ManagedNetworkFabricExtensions.GetNetworkFabricInternetGatewayRules Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
|
GetNetworkFabricInternetGatewayRules(ResourceGroupResource)
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)
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
Azure SDK for .NET