Partilhar via


VirtualHubRouteTableV2Collection.GetIfExists 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}/routeTables/{routeTableName}
  • Operação IdVirtualHubRouteTableV2s_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource> GetIfExists (string routeTableName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource>
Public Overridable Function GetIfExists (routeTableName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(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