Compartilhar via


NetworkFabricInternetGatewayCollection.Get(String, CancellationToken) 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 virtual Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource> Get (string internetGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternetGatewayResource>
Public Overridable Function Get (internetGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperava-se que não estivesse vazia.

internetGatewayName é nulo.

Aplica-se a