azure.mgmt.recoveryservicesbackup.operations module

class azure.mgmt.recoveryservicesbackup.operations.BackupResourceVaultConfigsOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupResourceVaultConfigsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Fetches resource vault config.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

BackupResourceVaultConfigResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

update(vault_name, resource_group_name, parameters, custom_headers=None, raw=False, **operation_config)[source]

Updates vault security config.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • parameters (BackupResourceVaultConfigResource) – resource config request
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

BackupResourceVaultConfigResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupEnginesOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupEnginesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, backup_engine_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Returns backup management server registered to Recovery Services Vault.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • backup_engine_name (str) – Name of the backup management server.
  • filter (str) – OData filter options.
  • skip_token (str) – skipToken Filter.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

BackupEngineBaseResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

list(vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • skip_token (str) – skipToken Filter.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

BackupEngineBaseResourcePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectionContainerRefreshOperationResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectionContainerRefreshOperationResultsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, fabric_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Provides the result of the refresh operation triggered by the BeginRefresh operation.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the container.
  • operation_id (str) – Operation ID associated with the operation whose result needs to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectionContainersOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectionContainersOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, fabric_name, container_name, custom_headers=None, raw=False, **operation_config)[source]

Gets details of the specific container registered to your Recovery Services Vault.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Name of the fabric where the container belongs.
  • container_name (str) – Name of the container whose details need to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectionContainerResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

refresh(vault_name, resource_group_name, fabric_name, custom_headers=None, raw=False, **operation_config)[source]

Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated the container.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectionContainerOperationResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectionContainerOperationResultsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, fabric_name, container_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Fetches the result of any operation on the container.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the container.
  • container_name (str) – Container name whose information should be fetched.
  • operation_id (str) – Operation ID which represents the operation whose result needs to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectionContainerResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectedItemsOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectedItemsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

create_or_update(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers=None, raw=False, **operation_config)[source]

Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backup item.
  • container_name (str) – Container name associated with the backup item.
  • protected_item_name (str) – Item name to be backed up.
  • parameters (ProtectedItemResource) – resource backed up item
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

delete(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, custom_headers=None, raw=False, **operation_config)[source]

Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the request, call the GetItemOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backed up item.
  • container_name (str) – Container name associated with the backed up item.
  • protected_item_name (str) – Backed up item to be deleted.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

get(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

Provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backed up item.
  • container_name (str) – Container name associated with the backed up item.
  • protected_item_name (str) – Backed up item name whose details are to be fetched.
  • filter (str) – OData filter options.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectedItemResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupsOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

trigger(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers=None, raw=False, **operation_config)[source]

Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backup item.
  • container_name (str) – Container name associated with the backup item.
  • protected_item_name (str) – Backup item for which backup needs to be triggered.
  • parameters (BackupRequestResource) – resource backup request
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectedItemOperationResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectedItemOperationResultsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Fetches the result of any operation on the backup item.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backup item.
  • container_name (str) – Container name associated with the backup item.
  • protected_item_name (str) – Backup item name whose details are to be fetched.
  • operation_id (str) – OperationID which represents the operation whose result needs to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectedItemResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectedItemOperationStatusesOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectedItemOperationStatusesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Fetches the status of an operation such as triggering a backup, 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.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backup item.
  • container_name (str) – Container name associated with the backup item.
  • protected_item_name (str) – Backup item name whose details are to be fetched.
  • operation_id (str) – OperationID represents the operation whose status needs to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

OperationStatus

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.RecoveryPointsOperations(client, config, serializer, deserializer)[source]

Bases: object

RecoveryPointsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers=None, raw=False, **operation_config)[source]

Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation. To know the status of the operation, call the GetProtectedItemOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with backed up item.
  • container_name (str) – Container name associated with backed up item.
  • protected_item_name (str) – Backed up item name whose backup data needs to be fetched.
  • recovery_point_id (str) – RecoveryPointID represents the backed up data to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

RecoveryPointResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

list(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

Lists the backup copies for the backed up item.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backed up item.
  • container_name (str) – Container name associated with the backed up item.
  • protected_item_name (str) – Backed up item whose backup copies are to be fetched.
  • filter (str) – OData filter options.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

RecoveryPointResourcePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ItemLevelRecoveryConnectionsOperations(client, config, serializer, deserializer)[source]

Bases: object

ItemLevelRecoveryConnectionsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

provision(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, parameters, custom_headers=None, raw=False, **operation_config)[source]

Provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file explorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of provisioning, call GetProtectedItemOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backed up items.
  • container_name (str) – Container name associated with the backed up items.
  • protected_item_name (str) – Backed up item name whose files/folders are to be restored.
  • recovery_point_id (str) – Recovery point ID which represents backed up data. iSCSI connection will be provisioned for this backed up data.
  • parameters (ILRRequestResource) – resource ILR request
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

revoke(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers=None, raw=False, **operation_config)[source]

Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer displaying all recoverable files and folders. This is an asynchronous operation.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backed up items.
  • container_name (str) – Container name associated with the backed up items.
  • protected_item_name (str) – Backed up item name whose files/folders are to be restored.
  • recovery_point_id (str) – Recovery point ID which represents backed up data. iSCSI connection will be revoked for this backed up data.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.RestoresOperations(client, config, serializer, deserializer)[source]

Bases: object

RestoresOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

trigger(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, parameters, custom_headers=None, raw=False, **operation_config)[source]

Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • fabric_name (str) – Fabric name associated with the backed up items.
  • container_name (str) – Container name associated with the backed up items.
  • protected_item_name (str) – Backed up item to be restored.
  • recovery_point_id (str) – Recovery point ID which represents the backed up data to be restored.
  • parameters (RestoreRequestResource) – resource restore request
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupJobsOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupJobsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

list(vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Provides a pageable list of jobs.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • skip_token (str) – skipToken Filter.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

JobResourcePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.JobDetailsOperations(client, config, serializer, deserializer)[source]

Bases: object

JobDetailsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config)[source]

Gets exteded information associated with the job.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • job_name (str) – Name of the job whose details are to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

JobResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.JobCancellationsOperations(client, config, serializer, deserializer)[source]

Bases: object

JobCancellationsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

trigger(vault_name, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config)[source]

Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call GetCancelOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • job_name (str) – Name of the job to cancel.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.JobOperationResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

JobOperationResultsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, job_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Fetches the result of any operation. the operation.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • job_name (str) – Job name whose operation result has to be fetched.
  • operation_id (str) – OperationID which represents the operation whose result has to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ExportJobsOperationResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

ExportJobsOperationResultsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • operation_id (str) – OperationID which represents the export job.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

OperationResultInfoBaseResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.JobsOperations(client, config, serializer, deserializer)[source]

Bases: object

JobsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

export(vault_name, resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

Triggers export of jobs specified by filters and returns an OperationID to track.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupOperationResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupOperationResultsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Provides the status of the delete operations such as deleting backed up item. Once the operation has started, the status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is part of the Location header of the operation response.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • operation_id (str) – OperationID which represents the operation.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupOperationStatusesOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupOperationStatusesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs when the operation is complete.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • operation_id (str) – OperationID which represents the operation.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

OperationStatus

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupPoliciesOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupPoliciesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

list(vault_name, resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch scoped results.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectionPolicyResourcePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectionPoliciesOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectionPoliciesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

create_or_update(vault_name, resource_group_name, policy_name, parameters, custom_headers=None, raw=False, **operation_config)[source]

Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • policy_name (str) – Backup policy to be created.
  • parameters (ProtectionPolicyResource) – resource backup policy
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectionPolicyResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

delete(vault_name, resource_group_name, policy_name, custom_headers=None, raw=False, **operation_config)[source]

Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • policy_name (str) – Backup policy to be deleted.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

get(vault_name, resource_group_name, policy_name, custom_headers=None, raw=False, **operation_config)[source]

Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • policy_name (str) – Backup policy information to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectionPolicyResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectionPolicyOperationResultsOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectionPolicyOperationResultsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, policy_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Provides the result of an operation.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • policy_name (str) – Backup policy name whose operation’s result needs to be fetched.
  • operation_id (str) – Operation ID which represents the operation whose result needs to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectionPolicyResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.ProtectionPolicyOperationStatusesOperations(client, config, serializer, deserializer)[source]

Bases: object

ProtectionPolicyOperationStatusesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, policy_name, operation_id, custom_headers=None, raw=False, **operation_config)[source]

Provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs associated with operation.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • policy_name (str) – Backup policy name whose operation’s status needs to be fetched.
  • operation_id (str) – Operation ID which represents an operation whose status needs to be fetched.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

OperationStatus

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupProtectableItemsOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupProtectableItemsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

list(vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • skip_token (str) – skipToken Filter.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

WorkloadProtectableItemResourcePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupProtectedItemsOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupProtectedItemsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

list(vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Provides a pageable list of all items that can be backed up within a subscription.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • skip_token (str) – skipToken Filter.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectedItemResourcePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupProtectionContainersOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupProtectionContainersOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

list(vault_name, resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config)[source]

Lists the containers registered to Recovery Services Vault.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

ProtectionContainerResourcePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.SecurityPINsOperations(client, config, serializer, deserializer)[source]

Bases: object

SecurityPINsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Get the security PIN.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

TokenInformation

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupResourceStorageConfigsOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupResourceStorageConfigsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

get(vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Fetches resource storage config.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

BackupResourceConfigResource

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

update(vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config)[source]

Updates vault storage model type.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.BackupUsageSummariesOperations(client, config, serializer, deserializer)[source]

Bases: object

BackupUsageSummariesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-12-01”.

list(vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Fetches the backup management usage summaries of the vault.

Parameters:
  • vault_name (str) – The name of the recovery services vault.
  • resource_group_name (str) – The name of the resource group where the recovery services vault is present.
  • filter (str) – OData filter options.
  • skip_token (str) – skipToken Filter.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

BackupManagementUsagePaged

Raises:

CloudError

class azure.mgmt.recoveryservicesbackup.operations.Operations(client, config, serializer, deserializer)[source]

Bases: object

Operations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

api_version – Client Api Version. Constant value: “2016-08-10”.

list(custom_headers=None, raw=False, **operation_config)[source]

Returns the list of available operations.

Parameters:
Return type:

ClientDiscoveryValueForSingleApiPaged

Raises:

CloudError