共用方式為


ServiceBusNamespaceAuthorizationRuleResource.GetKeys Method

Definition

Gets the primary and secondary connection strings for the namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/listKeys
  • Operation Id: NamespaceAuthorizationRules_ListKeys
  • Default Api Version: 2024-01-01
  • Resource: ServiceBusNamespaceAuthorizationRuleResource
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