azure_core::lro::body_content

Function get_provisioning_state

source
pub fn get_provisioning_state<S>(
    status_code: StatusCode,
    body: &S,
) -> Result<LroStatus>
where S: Serialize,
Expand description

Extract the provisioning state based on the status code and response body

Ref: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/azure/core/polling/base_polling.py