1. Packages
  2. Azure Native v2
  3. API Docs
  4. avs
  5. listClusterZones
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.avs.listClusterZones

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

List of all zones and associated hosts for a cluster Azure REST API version: 2022-05-01.

Other available API versions: 2023-03-01, 2023-09-01.

Using listClusterZones

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function listClusterZones(args: ListClusterZonesArgs, opts?: InvokeOptions): Promise<ListClusterZonesResult>
function listClusterZonesOutput(args: ListClusterZonesOutputArgs, opts?: InvokeOptions): Output<ListClusterZonesResult>
Copy
def list_cluster_zones(cluster_name: Optional[str] = None,
                       private_cloud_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> ListClusterZonesResult
def list_cluster_zones_output(cluster_name: Optional[pulumi.Input[str]] = None,
                       private_cloud_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[ListClusterZonesResult]
Copy
func ListClusterZones(ctx *Context, args *ListClusterZonesArgs, opts ...InvokeOption) (*ListClusterZonesResult, error)
func ListClusterZonesOutput(ctx *Context, args *ListClusterZonesOutputArgs, opts ...InvokeOption) ListClusterZonesResultOutput
Copy

> Note: This function is named ListClusterZones in the Go SDK.

public static class ListClusterZones 
{
    public static Task<ListClusterZonesResult> InvokeAsync(ListClusterZonesArgs args, InvokeOptions? opts = null)
    public static Output<ListClusterZonesResult> Invoke(ListClusterZonesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListClusterZonesResult> listClusterZones(ListClusterZonesArgs args, InvokeOptions options)
public static Output<ListClusterZonesResult> listClusterZones(ListClusterZonesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:avs:listClusterZones
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterName
This property is required.
Changes to this property will trigger replacement.
string
Name of the cluster in the private cloud
PrivateCloudName
This property is required.
Changes to this property will trigger replacement.
string
Name of the private cloud
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ClusterName
This property is required.
Changes to this property will trigger replacement.
string
Name of the cluster in the private cloud
PrivateCloudName
This property is required.
Changes to this property will trigger replacement.
string
Name of the private cloud
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
clusterName
This property is required.
Changes to this property will trigger replacement.
String
Name of the cluster in the private cloud
privateCloudName
This property is required.
Changes to this property will trigger replacement.
String
Name of the private cloud
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
clusterName
This property is required.
Changes to this property will trigger replacement.
string
Name of the cluster in the private cloud
privateCloudName
This property is required.
Changes to this property will trigger replacement.
string
Name of the private cloud
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
cluster_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the cluster in the private cloud
private_cloud_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the private cloud
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
clusterName
This property is required.
Changes to this property will trigger replacement.
String
Name of the cluster in the private cloud
privateCloudName
This property is required.
Changes to this property will trigger replacement.
String
Name of the private cloud
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

listClusterZones Result

The following output properties are available:

Zones []ClusterZoneResponse
Zone and associated hosts info
zones List<ClusterZoneResponse>
Zone and associated hosts info
zones ClusterZoneResponse[]
Zone and associated hosts info
zones Sequence[ClusterZoneResponse]
Zone and associated hosts info
zones List<Property Map>
Zone and associated hosts info

Supporting Types

ClusterZoneResponse

Hosts This property is required. List<string>
List of hosts belonging to the availability zone in a cluster
Zone This property is required. string
Availability zone identifier
Hosts This property is required. []string
List of hosts belonging to the availability zone in a cluster
Zone This property is required. string
Availability zone identifier
hosts This property is required. List<String>
List of hosts belonging to the availability zone in a cluster
zone This property is required. String
Availability zone identifier
hosts This property is required. string[]
List of hosts belonging to the availability zone in a cluster
zone This property is required. string
Availability zone identifier
hosts This property is required. Sequence[str]
List of hosts belonging to the availability zone in a cluster
zone This property is required. str
Availability zone identifier
hosts This property is required. List<String>
List of hosts belonging to the availability zone in a cluster
zone This property is required. String
Availability zone identifier

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi