PartnerNamespaceChannelResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Channel update information.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.