Language

AvsHostCollection.GetAllAsync(CancellationToken) Method

Definition

List Host resources by Cluster

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts.
  • Operation Id. : Hosts_List.
  • Default Api Version. : 2025-09-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Avs.AvsHostResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Avs.AvsHostResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Avs.AvsHostResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvsHostResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to