Partilhar via


NotificationHubResource.UpdateAsync Método

Definição

Patch de um NotificationHub em um namespace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
  • Operação IdNotificationHubs_Patch
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>> UpdateAsync (Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>>
override this.UpdateAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>>
Public Overridable Function UpdateAsync (patch As NotificationHubPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubResource))

Parâmetros

patch
NotificationHubPatch

Parâmetros fornecidos para corrigir um recurso do NotificationHub.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a