Freigeben über


EventHubsDisasterRecoveryAuthorizationRuleResource.GetKeys Methode

Definition

Ruft die primäre und sekundäre Verbindungszeichenfolge für den Namespace ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys
  • Vorgang 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)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: