Partilhar via


NotificationHubResource.GetPnsCredentialsAsync(CancellationToken) Método

Definição

Lista as credenciais PNS associadas a um hub de notificação.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials
  • IdNotificationHubs_GetPnsCredentials de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubPnsCredentials>> GetPnsCredentialsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPnsCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubPnsCredentials>>
override this.GetPnsCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubPnsCredentials>>
Public Overridable Function GetPnsCredentialsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubPnsCredentials))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a