Share via


ManagedNetworkFabricExtensions.GetNetworkFabricInternetGatewayRules Method

Definition

Overloads

GetNetworkFabricInternetGatewayRules(ResourceGroupResource)

Gets a collection of NetworkFabricInternetGatewayRuleResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricInternetGatewayRules() instead.

GetNetworkFabricInternetGatewayRules(SubscriptionResource, CancellationToken)

List all Internet Gateway rules in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules
  • Operation Id: InternetGatewayRules_ListBySubscription

GetNetworkFabricInternetGatewayRules(ResourceGroupResource)

Source:
ManagedNetworkFabricExtensions.cs

Gets a collection of NetworkFabricInternetGatewayRuleResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkFabricInternetGatewayRules() instead.

public static Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleCollection GetNetworkFabricInternetGatewayRules (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkFabricInternetGatewayRules : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleCollection
<Extension()>
Public Function GetNetworkFabricInternetGatewayRules (resourceGroupResource As ResourceGroupResource) As NetworkFabricInternetGatewayRuleCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetworkFabricInternetGatewayRuleResources and their operations over a NetworkFabricInternetGatewayRuleResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetworkFabricInternetGatewayRules(SubscriptionResource, CancellationToken)

Source:
ManagedNetworkFabricExtensions.cs

List all Internet Gateway rules in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules
  • Operation Id: InternetGatewayRules_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource> GetNetworkFabricInternetGatewayRules (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricInternetGatewayRules : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>
<Extension()>
Public Function GetNetworkFabricInternetGatewayRules (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkFabricInternetGatewayRuleResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to