Partilhar via


NetworkCloudRackCollection.GetAsync(String, CancellationToken) Método

Definição

Obter propriedades do rack fornecido.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/racks/{rackName}
  • Operação IdRacks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>> GetAsync (string rackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>>
Public Overridable Function GetAsync (rackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudRackResource))

Parâmetros

rackName
String

O nome do rack.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

rackName é nulo.

Aplica-se a