Dela via


AvsPrivateCloudClusterResource.GetZonesAsync(CancellationToken) Method

Definition

List hosts by zone in a cluster

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to