Пример #1
0
 /// <summary>
 /// Initiate an asynchronous data share job
 /// </summary>
 /// <remarks>
 /// Initiate a copy
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='accountName'>
 /// The name of the share account.
 /// </param>
 /// <param name='shareSubscriptionName'>
 /// The name of share subscription
 /// </param>
 /// <param name='synchronize'>
 /// Synchronize payload
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ShareSubscriptionSynchronization> BeginSynchronizeMethodAsync(this IShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string shareSubscriptionName, Synchronize synchronize, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginSynchronizeMethodWithHttpMessagesAsync(resourceGroupName, accountName, shareSubscriptionName, synchronize, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }