1. Packages
  2. Azure Native
  3. API Docs
  4. avs
  5. listClusterZones
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.avs.listClusterZones

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    List hosts by zone in a cluster

    Uses Azure REST API version 2023-09-01.

    Other available API versions: 2022-05-01, 2023-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native avs [ApiVersion]. See the version guide for details.

    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>
    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]
    func ListClusterZones(ctx *Context, args *ListClusterZonesArgs, opts ...InvokeOption) (*ListClusterZonesResult, error)
    func ListClusterZonesOutput(ctx *Context, args *ListClusterZonesOutputArgs, opts ...InvokeOption) ListClusterZonesResultOutput

    > 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)
    }
    public static CompletableFuture<ListClusterZonesResult> listClusterZones(ListClusterZonesArgs args, InvokeOptions options)
    public static Output<ListClusterZonesResult> listClusterZones(ListClusterZonesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:avs:listClusterZones
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterName string
    Name of the cluster
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ClusterName string
    Name of the cluster
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    clusterName String
    Name of the cluster
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    clusterName string
    Name of the cluster
    privateCloudName string
    Name of the private cloud
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    cluster_name str
    Name of the cluster
    private_cloud_name str
    Name of the private cloud
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    clusterName String
    Name of the cluster
    privateCloudName String
    Name of the private cloud
    resourceGroupName 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 List<string>
    List of hosts belonging to the availability zone in a cluster
    Zone string
    Availability zone identifier
    Hosts []string
    List of hosts belonging to the availability zone in a cluster
    Zone string
    Availability zone identifier
    hosts List<String>
    List of hosts belonging to the availability zone in a cluster
    zone String
    Availability zone identifier
    hosts string[]
    List of hosts belonging to the availability zone in a cluster
    zone string
    Availability zone identifier
    hosts Sequence[str]
    List of hosts belonging to the availability zone in a cluster
    zone str
    Availability zone identifier
    hosts List<String>
    List of hosts belonging to the availability zone in a cluster
    zone String
    Availability zone identifier

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi