Partilhar via


ManagedNetworkFabricExtensions.GetNetworkFabricInternetGatewayAsync Método

Definição

Implementa o método GET do Gateway.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

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

internetGatewayName
String

Nome do Gateway de Internet.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

internetGatewayName é nulo.

Aplica-se a