Compartilhar via


NetworkCloudExtensions.GetNetworkCloudRackAsync 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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>> GetNetworkCloudRackAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string rackName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudRackAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>>
<Extension()>
Public Function GetNetworkCloudRackAsync (resourceGroupResource As ResourceGroupResource, rackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudRackResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

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