Partilhar via


ManagedNetworkFabricExtensions.GetNetworkFabricInternetGatewayRulesAsync Método

Definição

Liste todas as regras do Gateway de Internet na assinatura fornecida.

  • Caminho da solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules
  • IdInternetGatewayRules_ListBySubscription de operação
public static Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource> GetNetworkFabricInternetGatewayRulesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricInternetGatewayRulesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>
<Extension()>
Public Function GetNetworkFabricInternetGatewayRulesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkFabricInternetGatewayRuleResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de NetworkFabricInternetGatewayRuleResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a