Share via


NotificationHubResource.Update Method

Definition

Patch a NotificationHub in a namespace.

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

Parameters

content
NotificationHubUpdateContent

Request content.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to