Share via


ServiceBusQueueAuthorizationRuleResource.GetKeys(CancellationToken) Method

Definition

Primary and secondary connection strings to the queue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/queues/{queueName}/authorizationRules/{authorizationRuleName}/ListKeys
  • Operation Id: QueueAuthorizationRules_ListKeys
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusQueueAuthorizationRuleResource
public virtual Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceBusAccessKeys)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to