Share via


RelayHybridConnectionAuthorizationRuleCollection.GetAllAsync Method

Definition

Authorization rules for a hybrid connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules
  • Operation Id: HybridConnections_ListAuthorizationRules
public virtual Azure.AsyncPageable<Azure.ResourceManager.Relay.RelayHybridConnectionAuthorizationRuleResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Relay.RelayHybridConnectionAuthorizationRuleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Relay.RelayHybridConnectionAuthorizationRuleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RelayHybridConnectionAuthorizationRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RelayHybridConnectionAuthorizationRuleResource that may take multiple service requests to iterate over.

Applies to