v4

latestSwagger 2.0raw.githubusercontent.com2019-06-1833108139.7 KB
ProtectionPolicyOperationStatuses

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

get/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}/operations/{operationId}

Path parameters

vaultNamestring required

The name of the Recovery Services vault.

resourceGroupNamestring required

The name of the resource group associated with the Recovery Services vault.

subscriptionIdstring required

The subscription ID.

policyNamestring required

The backup policy name used in this GET operation.

operationIdstring required

The ID associated with this GET operation.

Query parameters

api-versionstring required

Client API version.

Response

OK.

idstring

ID of the operation.

namestring

Name of the operation.

status'Invalid' | 'InProgress' | 'Succeeded' | 'Failed' | 'Canceled'

Operation status.

startTimestring date-time

The operation start time. The format of the time is ISO-8601.

endTimestring date-time

The operation end time. The format of the time is ISO-8601.