AvsPrivateCloudClusterResource.GetZones(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.Pageable<Azure.ResourceManager.Avs.Models.AvsClusterZone> GetZones (System.Threading.CancellationToken cancellationToken = default);
abstract member GetZones : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Avs.Models.AvsClusterZone>
override this.GetZones : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Avs.Models.AvsClusterZone>
Public Overridable Function GetZones (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AvsClusterZone)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to