Partilhar via


NetworkExtensions.GetRouteTableAsync Método

Definição

Obtém a tabela de rotas especificada.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

routeTableName
String

O nome da tabela de rotas.

expand
String

Expande os recursos referenciados.

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