共用方式為


PartnerNamespaceChannelResource.Update 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 Azure.Response Update (Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelPatch * System.Threading.CancellationToken -> Azure.Response
override this.Update : Azure.ResourceManager.EventGrid.Models.PartnerNamespaceChannelPatch * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Update (patch As PartnerNamespaceChannelPatch, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

patch
PartnerNamespaceChannelPatch

Channel update information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to