Udostępnij za pośrednictwem


NotificationHubAuthorizationRuleResource.GetKeysAsync Method

Definition

Gets the Primary and Secondary ConnectionStrings to the NotificationHub

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys
  • Operation Id: NotificationHubs_ListKeys
  • Default Api Version: 2023-10-01-preview
  • Resource: NotificationHubAuthorizationRuleResource
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))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to