Partilhar via


EventHubsDisasterRecoveryAuthorizationRuleResource.GetKeys Método

Definição

Obtém as cadeias de conexão primária e secundária para o Namespace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys
  • Operação IdDisasterRecoveryConfigs_ListKeys
public virtual Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubsAccessKeys)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a