Partilhar via


NetworkRackCollection.GetIfExists(String, CancellationToken) Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}
  • Operação IdNetworkRacks_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource> GetIfExists (string networkRackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>
Public Overridable Function GetIfExists (networkRackName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkRackResource)

Parâmetros

networkRackName
String

Nome do Rack de Rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

networkRackName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

networkRackName é nulo.

Aplica-se a