Compartilhar via


ManagedNetworkFabricExtensions.GetNetworkRackAsync Método

Definição

Obter detalhes do recurso rack de rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}
  • Operação IdNetworkRacks_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>> GetNetworkRackAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkRackName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkRackAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>>
<Extension()>
Public Function GetNetworkRackAsync (resourceGroupResource As ResourceGroupResource, networkRackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkRackResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

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

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