Partager via


SynchronizationSettingsOperationsExtensions.CreateAsync Méthode

Définition

Ajoute un nouveau paramètre de synchronisation à un partage existant.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.SynchronizationSetting> CreateAsync (this Microsoft.Azure.Management.DataShare.ISynchronizationSettingsOperations operations, string resourceGroupName, string accountName, string shareName, string synchronizationSettingName, Microsoft.Azure.Management.DataShare.Models.SynchronizationSetting synchronizationSetting, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.DataShare.ISynchronizationSettingsOperations * string * string * string * string * Microsoft.Azure.Management.DataShare.Models.SynchronizationSetting * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.SynchronizationSetting>
<Extension()>
Public Function CreateAsync (operations As ISynchronizationSettingsOperations, resourceGroupName As String, accountName As String, shareName As String, synchronizationSettingName As String, synchronizationSetting As SynchronizationSetting, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SynchronizationSetting)

Paramètres

operations
ISynchronizationSettingsOperations

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

resourceGroupName
String

Nom du groupe de ressources.

accountName
String

Nom du compte de partage.

shareName
String

Nom du partage à lequel ajouter le paramètre de synchronisation.

synchronizationSettingName
String

Nom de la synchronisationSetting.

synchronizationSetting
SynchronizationSetting

Nouvelles informations de paramètre de synchronisation.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Créer une synchronisationSetting

S’applique à