Method: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::ProtectedItemOperationStatuses#get_with_http_info

Defined in:
lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb

#get_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, operation_id, custom_headers: nil) ⇒ MsRestAzure::AzureOperationResponse

Gets the status of an operation such as triggering a backup or restore. The status can be: In progress, Completed, or Failed. You can refer to the OperationStatus enum for all the possible states of the operation. Some operations create jobs. This method returns the list of jobs associated with the operation.

with the Recovery Services vault. item. operation. will be added to the HTTP request.

Parameters:

  • vault_name (String)

    The name of the Recovery Services vault.

  • resource_group_name (String)

    The name of the resource group associated

  • fabric_name (String)

    The fabric name associated with the backup item.

  • container_name (String)

    The container name associated with the backup

  • protected_item_name (String)

    The name of backup item used in this GET

  • operation_id (String)

    The OperationID used in this GET operation.

  • custom_headers (Hash{String => String}) (defaults to: nil)

    A hash of custom headers that

Returns:

  • (MsRestAzure::AzureOperationResponse)

    HTTP response information.



75
76
77
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb', line 75

def get_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, operation_id, custom_headers:nil)
  get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, operation_id, custom_headers:custom_headers).value!
end