Partilhar via


VirtualHubResource.GetHubRouteTableAsync(String, CancellationToken) Método

Definição

Recupera os detalhes de uma RouteTable.

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

Parâmetros

routeTableName
String

O nome da RouteTable.

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