Esempio n. 1
0
 /// <summary>
 /// Request cancellation of a data share snapshot
 /// </summary>
 /// <remarks>
 /// Request to cancel a synchronization.
 /// </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 the shareSubscription.
 /// </param>
 /// <param name='shareSubscriptionSynchronization'>
 /// Share Subscription Synchronization payload.
 /// </param>
 public static ShareSubscriptionSynchronization CancelSynchronization(this IShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string shareSubscriptionName, ShareSubscriptionSynchronization shareSubscriptionSynchronization)
 {
     return(operations.CancelSynchronizationAsync(resourceGroupName, accountName, shareSubscriptionName, shareSubscriptionSynchronization).GetAwaiter().GetResult());
 }