Compartilhar via


HubRouteTableCollection.GetIfExists(String, CancellationToken) Método

Definição

Tenta obter detalhes desse recurso do serviço.

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