共用方式為


EventHubsDisasterRecoveryAuthorizationRuleResource.Get Method

Definition

Gets an AuthorizationRule for a Namespace by rule name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}
  • Operation Id: DisasterRecoveryConfigs_GetAuthorizationRule
  • Default Api Version: 2024-01-01
  • Resource: EventHubsDisasterRecoveryAuthorizationRuleResource
public virtual Azure.Response<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryAuthorizationRuleResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryAuthorizationRuleResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryAuthorizationRuleResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubsDisasterRecoveryAuthorizationRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to