Show / Hide Table of Contents

Class GetClusters

Inheritance
System.Object
GetClusters
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Edas
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetClusters

Methods

View Source

InvokeAsync(GetClustersArgs, InvokeOptions)

This data source provides a list of EDAS clusters in an Alibaba Cloud account according to the specified filters.

NOTE: Available in 1.82.0+

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var clusters = Output.Create(AliCloud.Edas.GetClusters.InvokeAsync(new AliCloud.Edas.GetClustersArgs
    {
        LogicalRegionId = "cn-shenzhen:xxx",
        Ids = 
        {
            "addfs-dfsasd",
        },
        OutputFile = "clusters.txt",
    }));
    this.FirstClusterName = data.Alicloud_alikafka_consumer_groups.Clusters.Clusters[0].Cluster_name;
}

[Output("firstClusterName")]
public Output<string> FirstClusterName { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetClustersResult> InvokeAsync(GetClustersArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetClustersArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetClustersResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.