ProtectedItemOperationStatuses interface

Interface representing a ProtectedItemOperationStatuses.

Methods

get(string, string, string, string, string, string, ProtectedItemOperationStatusesGetOptionalParams)

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.

Method Details

get(string, string, string, string, string, string, ProtectedItemOperationStatusesGetOptionalParams)

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.

function get(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, operationId: string, options?: ProtectedItemOperationStatusesGetOptionalParams): 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.

fabricName

string

Fabric name associated with the backup item.

containerName

string

Container name associated with the backup item.

protectedItemName

string

Backup item name whose details are to be fetched.

operationId

string

OperationID represents the operation whose status needs to be fetched.

options
ProtectedItemOperationStatusesGetOptionalParams

The options parameters.

Returns

Promise<OperationStatus>