Share via


EventHubsNamespaceAuthorizationRuleResource.Get(CancellationToken) Method

Definition

Gets an AuthorizationRule for a Namespace by rule name.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to