Share via


ManagedNetworkFabricExtensions.GetNetworkFabricInternetGatewayRules Method

Definition

Overloads

GetNetworkFabricInternetGatewayRules(ResourceGroupResource)

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

GetNetworkFabricInternetGatewayRules(SubscriptionResource, CancellationToken)

List all Internet Gateway rules in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules
  • Operation Id: InternetGatewayRules_ListBySubscription
  • Default Api Version: 2023-06-15
  • Resource: NetworkFabricInternetGatewayRuleResource
<item>MockingTo mock this method, please mock GetNetworkFabricInternetGatewayRules(CancellationToken) instead.</item>

GetNetworkFabricInternetGatewayRules(ResourceGroupResource)

Source:
ManagedNetworkFabricExtensions.cs

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

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
  • Default Api Version: 2023-06-15
  • Resource: NetworkFabricInternetGatewayRuleResource
<item>MockingTo mock this method, please mock GetNetworkFabricInternetGatewayRules(CancellationToken) instead.</item>
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