Udostępnij za pośrednictwem


ChannelsOperationsExtensions.GetAsync Method

Definition

Get a channel.

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

Parameters

operations
IChannelsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the partners subscription.

partnerNamespaceName
String

Name of the partner namespace.

channelName
String

Name of the channel.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get properties of a channel.

Applies to