MockableNetworkCloudSubscriptionResource.GetNetworkCloudRacks 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.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource> GetNetworkCloudRacks (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudRacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>
override this.GetNetworkCloudRacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>
Public Overridable Function GetNetworkCloudRacks (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudRackResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to