Udostępnij za pośrednictwem


BackupPoliciesOperationsExtensions.BackupNowAsync Method

Definition

Backup the backup policy now.

public static System.Threading.Tasks.Task BackupNowAsync (this Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations operations, string deviceName, string backupPolicyName, string backupType, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member BackupNowAsync : Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BackupNowAsync (operations As IBackupPoliciesOperations, deviceName As String, backupPolicyName As String, backupType As String, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IBackupPoliciesOperations

The operations group for this extension method.

deviceName
String

The device name

backupPolicyName
String

The backup policy name.

backupType
String

The backup Type. This can be cloudSnapshot or localSnapshot.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to