Compartilhar via


ProviderRegistrationResource.GetNotificationRegistrationAsync Método

Definição

Obtém os detalhes do registro de notificação.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}/notificationRegistrations/{notificationRegistrationName}
  • IdNotificationRegistrations_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.NotificationRegistrationResource>> GetNotificationRegistrationAsync (string notificationRegistrationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNotificationRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.NotificationRegistrationResource>>
override this.GetNotificationRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ProviderHub.NotificationRegistrationResource>>
Public Overridable Function GetNotificationRegistrationAsync (notificationRegistrationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationRegistrationResource))

Parâmetros

notificationRegistrationName
String

O registro de notificação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

notificationRegistrationName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

notificationRegistrationName é nulo.

Aplica-se a