Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkFabricInternetGatewayRules 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.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource> GetNetworkFabricInternetGatewayRules (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkFabricInternetGatewayRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>
override this.GetNetworkFabricInternetGatewayRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>
Public Overridable Function GetNetworkFabricInternetGatewayRules (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkFabricInternetGatewayRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to