SystemTopicEventSubscriptionsOperationsExtensions.GetAsync Method

Definition

Get an event subscription of a system topic.

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

Parameters

operations
ISystemTopicEventSubscriptionsOperations

The operations group for this extension method.

resourceGroupName
System.String

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

systemTopicName
System.String

Name of the system topic.

eventSubscriptionName
System.String

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.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<EventSubscription>

Remarks

Get an event subscription.

Applies to