Compartilhar via


ManagedNetworkFabricExtensions.GetNetworkRacks Método

Definição

Sobrecargas

GetNetworkRacks(SubscriptionResource, CancellationToken)

Listar todos os recursos do Rack de Rede na assinatura fornecida

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRacks
  • Operação IdNetworkRacks_ListBySubscription
GetNetworkRacks(ResourceGroupResource)

Obtém uma coleção de NetworkRackResources no ResourceGroupResource.

GetNetworkRacks(SubscriptionResource, CancellationToken)

Listar todos os recursos do Rack de Rede na assinatura fornecida

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRacks
  • Operação IdNetworkRacks_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource> GetNetworkRacks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkRacks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>
<Extension()>
Public Function GetNetworkRacks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkRackResource)

Parâmetros

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de NetworkRackResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetNetworkRacks(ResourceGroupResource)

Obtém uma coleção de NetworkRackResources no ResourceGroupResource.

public static Azure.ResourceManager.ManagedNetworkFabric.NetworkRackCollection GetNetworkRacks (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkRacks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ManagedNetworkFabric.NetworkRackCollection
<Extension()>
Public Function GetNetworkRacks (resourceGroupResource As ResourceGroupResource) As NetworkRackCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

Um objeto que representa a coleção de NetworkRackResources e suas operações em um NetworkRackResource.

Aplica-se a