Share via


MockableManagedNetworkFabricSubscriptionResource.GetNetworkRacksAsync 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.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource> GetNetworkRacksAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkRacksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>
override this.GetNetworkRacksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>
Public Overridable Function GetNetworkRacksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkRackResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to