EventChannelsOperationsExtensions.GetAsync Method

Definition

Get an event channel.

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

Parameters

operations
IEventChannelsOperations

The operations group for this extension method.

resourceGroupName
System.String

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

partnerNamespaceName
System.String

Name of the partner namespace.

eventChannelName
System.String

Name of the event channel.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<EventChannel>

Remarks

Get properties of an event channel.

Applies to