Exemple #1
0
 /// <summary>
 /// Delete an event subscription of a partner topic.
 /// </summary>
 /// <remarks>
 /// Delete an existing event subscription of a partner topic.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription.
 /// </param>
 /// <param name='partnerTopicName'>
 /// Name of the partner topic.
 /// </param>
 /// <param name='eventSubscriptionName'>
 /// Name of the event subscription to be created. Event subscription names must
 /// be between 3 and 100 characters in length and use alphanumeric letters
 /// only.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDeleteAsync(this IPartnerTopicEventSubscriptionsOperations operations, string resourceGroupName, string partnerTopicName, string eventSubscriptionName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, partnerTopicName, eventSubscriptionName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }