Compartilhar via


BackupPoliciesOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza a política de backup.

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

Parâmetros

operations
IBackupPoliciesOperations

O grupo de operações para esse método de extensão.

deviceName
String

O nome do dispositivo

backupPolicyName
String

O nome da política de backup a ser criada/atualizada.

parameters
BackupPolicy

A política de backup.

resourceGroupName
String

O nome do grupo de recursos

managerName
String

O nome do gerente

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a