NotificationHubAuthorizationRuleResource.GetKeys(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubResourceKeys> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubResourceKeys>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubResourceKeys>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of NotificationHubResourceKeys)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.