Partilhar via


RouteTableCollection.GetAsync(String, String, CancellationToken) 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.RouteTableResource>> GetAsync (string routeTableName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.RouteTableResource>>
override this.GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.RouteTableResource>>
Public Overridable Function GetAsync (routeTableName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RouteTableResource))

Parâmetros

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