DomainEventSubscriptionsOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get an event subscription of a domain.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.EventSubscription> GetAsync (this Microsoft.Azure.Management.EventGrid.IDomainEventSubscriptionsOperations operations, string resourceGroupName, string domainName, string eventSubscriptionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EventGrid.IDomainEventSubscriptionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.EventSubscription>
<Extension()>
Public Function GetAsync (operations As IDomainEventSubscriptionsOperations, resourceGroupName As String, domainName As String, eventSubscriptionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventSubscription)
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 partner topic.
- eventSubscriptionName
- String
Name of the event subscription to be found. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Get properties of an event subscription of a domain.
Applies to
Azure SDK for .NET