Freigeben über


NotificationHubResource.Update Methode

Definition

Patchen sie einen NotificationHub in einem Namespace.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
  • Vorgangs-IdNotificationHubs_Patch
public virtual Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource> Update (Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>
override this.Update : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>
Public Overridable Function Update (patch As NotificationHubPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NotificationHubResource)

Parameter

patch
NotificationHubPatch

Parameter, die zum Patchen einer NotificationHub-Ressource bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: