SynchronizationSettingsOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new synchronization setting to an existing share.
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)
Parameters
- operations
- ISynchronizationSettingsOperations
The operations group for this extension method.
- resourceGroupName
- String
The resource group name.
- accountName
- String
The name of the share account.
- shareName
- String
The name of the share to add the synchronization setting to.
- synchronizationSettingName
- String
The name of the synchronizationSetting.
- synchronizationSetting
- SynchronizationSetting
The new synchronization setting information.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Create a synchronizationSetting
Applies to
Azure SDK for .NET