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

ValidateOperation interface

Interface representing a ValidateOperation.

Methods

beginTrigger(string, string, ValidateOperationRequestResource, ValidateOperationTriggerOptionalParams)

Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.

beginTriggerAndWait(string, string, ValidateOperationRequestResource, ValidateOperationTriggerOptionalParams)

Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.

Method Details

beginTrigger(string, string, ValidateOperationRequestResource, ValidateOperationTriggerOptionalParams)

Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.

function beginTrigger(vaultName: string, resourceGroupName: string, parameters: ValidateOperationRequestResource, options?: ValidateOperationTriggerOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

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.

parameters
ValidateOperationRequestResource

resource validate operation request

options
ValidateOperationTriggerOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginTriggerAndWait(string, string, ValidateOperationRequestResource, ValidateOperationTriggerOptionalParams)

Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.

function beginTriggerAndWait(vaultName: string, resourceGroupName: string, parameters: ValidateOperationRequestResource, options?: ValidateOperationTriggerOptionalParams): Promise<void>

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.

parameters
ValidateOperationRequestResource

resource validate operation request

options
ValidateOperationTriggerOptionalParams

The options parameters.

Returns

Promise<void>