update_redfish_endpoint

Function update_redfish_endpoint 

Source
pub async fn update_redfish_endpoint(
    infra: &InfraContext<'_>,
    token: &str,
    params: UpdateRedfishEndpointParams,
) -> Result<(), Error>
Expand description

Update an existing Redfish endpoint’s properties.

All fields on UpdateRedfishEndpointParams are written; partial updates aren’t supported by the backend contract.

§Errors

  • [Error::BadRequest] when the caller cannot reach params.id.
  • [Error::NetError] / [Error::CsmError] from the backend update_redfish_endpoint call.