Backups interface

Interface representing a Backups.

Methods

trigger(string, string, string, string, string, BackupRequestResource, BackupsTriggerOptionalParams)

Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API.

Method Details

trigger(string, string, string, string, string, BackupRequestResource, BackupsTriggerOptionalParams)

Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API.

function trigger(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, parameters: BackupRequestResource, options?: BackupsTriggerOptionalParams): 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.

fabricName

string

Fabric name associated with the backup item.

containerName

string

Container name associated with the backup item.

protectedItemName

string

Backup item for which backup needs to be triggered.

parameters
BackupRequestResource

resource backup request

options
BackupsTriggerOptionalParams

The options parameters.

Returns

Promise<void>