NotificationHubResource.Update 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.
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.