Udostępnij za pośrednictwem


ChannelsOperationsExtensions.UpdateAsync Method

Definition

Update a Channel.

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

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.

channelUpdateParameters
ChannelUpdateParameters

Channel update information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Synchronously updates a channel with the specified parameters.

Applies to