Compartilhar via


VirtualHubRouteTableV2Collection.GetAsync(String, CancellationToken) Método

Definição

Recupera os detalhes de um VirtualHubRouteTableV2.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}
  • Operação IdVirtualHubRouteTableV2s_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource>> GetAsync (string routeTableName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource>>
Public Overridable Function GetAsync (routeTableName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualHubRouteTableV2Resource))

Parâmetros

routeTableName
String

O nome do VirtualHubRouteTableV2.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

routeTableName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

routeTableName é nulo.

Aplica-se a