Compartilhar via


NotificationHubAuthorizationRuleResource.GetKeysAsync Método

Definição

Obtém o ConnectionStrings primário e secundário para o NotificationHub

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a