Partilhar via


NetworkFabricInternetGatewayCollection.GetAsync Método

Definição

Implementa o método GET do Gateway.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGateways/{internetGatewayName}
  • IdInternetGateways_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource>> GetAsync (string internetGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource>>
Public Overridable Function GetAsync (internetGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricInternetGatewayResource))

Parâmetros

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 era esperado que não estivesse vazio.

internetGatewayName é nulo.

Aplica-se a