Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkFabricInternetGatewayRulesAsync Method

Definition

List all Internet Gateway rules in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules
  • Operation Id: InternetGatewayRules_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource> GetNetworkFabricInternetGatewayRulesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkFabricInternetGatewayRulesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>
override this.GetNetworkFabricInternetGatewayRulesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>
Public Overridable Function GetNetworkFabricInternetGatewayRulesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkFabricInternetGatewayRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to