Sdílet prostřednictvím


PartnerNamespaceChannelResource.UpdateAsync Method

Definition

Synchronously updates a channel with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/channels/{channelName}
  • Operation Id: Channels_Update
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerNamespaceChannelResource
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateAsync (Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateAsync : Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateAsync (patch As PartnerNamespaceChannelPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

patch
PartnerNamespaceChannelPatch

Channel update information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to