Partager via


BackupPoliciesOperationsExtensions.BeginCreateOrUpdateAsync Méthode

Définition

Crée ou met à jour la stratégie de sauvegarde.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy> BeginCreateOrUpdateAsync (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 BeginCreateOrUpdateAsync : 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 BeginCreateOrUpdateAsync (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)

Paramètres

operations
IBackupPoliciesOperations

Groupe d’opérations pour cette méthode d’extension.

deviceName
String

Le nom de l’appareil

backupPolicyName
String

Nom de la stratégie de sauvegarde à créer/mettre à jour.

parameters
BackupPolicy

La stratégie de sauvegarde.

resourceGroupName
String

Nom du groupe de ressources

managerName
String

Nom du responsable

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à