Share via


NotificationHubNamespaceResource.UpdateAsync Method

Definition

Patches the existing namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
  • Operation Id: Namespaces_Update
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubNamespaceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource>> UpdateAsync (Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource>>
override this.UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubNamespacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubNamespaceResource>>
Public Overridable Function UpdateAsync (patch As NotificationHubNamespacePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubNamespaceResource))

Parameters

patch
NotificationHubNamespacePatch

Request content.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to