/// <summary> /// Delete an event subscription of a system topic. /// </summary> /// <remarks> /// Delete an existing event subscription of a system 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='systemTopicName'> /// Name of the system 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> public static void BeginDelete(this ISystemTopicEventSubscriptionsOperations operations, string resourceGroupName, string systemTopicName, string eventSubscriptionName) { operations.BeginDeleteAsync(resourceGroupName, systemTopicName, eventSubscriptionName).GetAwaiter().GetResult(); }