/// <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> public static ShareSubscriptionSynchronization BeginSynchronizeMethod(this IShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string shareSubscriptionName, Synchronize synchronize) { return(operations.BeginSynchronizeMethodAsync(resourceGroupName, accountName, shareSubscriptionName, synchronize).GetAwaiter().GetResult()); }