NotificationHubNamespaceResource.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.
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
Request content.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.