共用方式為


HciClusterCollection.GetAll(CancellationToken) Method

Definition

List all HCI clusters in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters
  • Operation Id: Clusters_ListByResourceGroup
  • Default Api Version: 2024-04-01
  • Resource: HciClusterResource
public virtual Azure.Pageable<Azure.ResourceManager.Hci.HciClusterResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.HciClusterResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.HciClusterResource>
Public Overridable Function GetAll (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