ProtectionPolicyOperationStatuses interface
Interface representing a ProtectionPolicyOperationStatuses.
Methods
get(string, string, string, string, Protection |
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. |
Method Details
get(string, string, string, string, ProtectionPolicyOperationStatusesGetOptionalParams)
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.
function get(vaultName: string, resourceGroupName: string, policyName: string, operationId: string, options?: ProtectionPolicyOperationStatusesGetOptionalParams): Promise<OperationStatus>
Parameters
- vaultName
-
string
The name of the recovery services vault.
- resourceGroupName
-
string
The name of the resource group where the recovery services vault is present.
- policyName
-
string
Backup policy name whose operation's status needs to be fetched.
- operationId
-
string
Operation ID which represents an operation whose status needs to be fetched.
The options parameters.
Returns
Promise<OperationStatus>