你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProtectionPolicyOperationStatuses interface

Interface representing a ProtectionPolicyOperationStatuses.

Methods

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.

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.

options
ProtectionPolicyOperationStatusesGetOptionalParams

The options parameters.

Returns

Promise<OperationStatus>