Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkRacks Method

Definition

List all Network Rack resources in the given subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRacks
  • Operation Id: NetworkRacks_ListBySubscription
public virtual Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource> GetNetworkRacks (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkRacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>
override this.GetNetworkRacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>
Public Overridable Function GetNetworkRacks (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkRackResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of NetworkRackResource that may take multiple service requests to iterate over.

Applies to