Dela via


DomainEventSubscriptionsOperationsExtensions.DeleteAsync Method

Definition

Delete an event subscription for a domain.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.EventGrid.IDomainEventSubscriptionsOperations operations, string resourceGroupName, string domainName, string eventSubscriptionName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.EventGrid.IDomainEventSubscriptionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IDomainEventSubscriptionsOperations, resourceGroupName As String, domainName As String, eventSubscriptionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDomainEventSubscriptionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription.

domainName
String

Name of the domain.

eventSubscriptionName
String

Name of the event subscription to be deleted. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Delete an existing event subscription for a domain.

Applies to