Share via


MockableNetworkCloudSubscriptionResource.GetNetworkCloudRacksAsync Method

Definition

Get a list of racks in the provided subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/racks
  • Operation Id: Racks_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource> GetNetworkCloudRacksAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudRacksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>
override this.GetNetworkCloudRacksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>
Public Overridable Function GetNetworkCloudRacksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkCloudRackResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to