ManagedNetworkFabricExtensions.GetNetworkFabricInternetGatewayRuleAsync Método

Definição

Obtém um recurso de Regra de Gateway de Internet.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/{internetGatewayRuleName}
  • Operação IdInternetGatewayRules_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>> GetNetworkFabricInternetGatewayRuleAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string internetGatewayRuleName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricInternetGatewayRuleAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayRuleResource>>
<Extension()>
Public Function GetNetworkFabricInternetGatewayRuleAsync (resourceGroupResource As ResourceGroupResource, internetGatewayRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricInternetGatewayRuleResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

internetGatewayRuleName
String

Nome da regra do Gateway de Internet.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

internetGatewayRuleName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

internetGatewayRuleName é nulo.

Aplica-se a