MockableHciSubscriptionResource.GetHciClusters(CancellationToken) Method

Definition

List all HCI clusters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/clusters
  • Operation Id: Clusters_ListBySubscription
  • Default Api Version: 2024-04-01
  • Resource: HciClusterResource
public virtual Azure.Pageable<Azure.ResourceManager.Hci.HciClusterResource> GetHciClusters (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.HciClusterResource>
override this.GetHciClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.HciClusterResource>
Public Overridable Function GetHciClusters (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HciClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to