Partilhar via


NetworkRackCollection.GetAsync(String, CancellationToken) Método

Definição

Obter detalhes do recurso rack de rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}
  • IdNetworkRacks_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>> GetAsync (string networkRackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>>
Public Overridable Function GetAsync (networkRackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(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 era esperado que não estivesse vazio.

networkRackName é nulo.

Aplica-se a