Share via


ServiceBusDisasterRecoveryAuthorizationRuleResource.GetKeys Method

Definition

Gets the primary and secondary connection strings for the namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys
  • Operation Id: DisasterRecoveryAuthorizationRules_ListKeys
  • Default Api Version: 2022-10-01-preview
  • Resource: ServiceBusDisasterRecoveryAuthorizationRuleResource
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