1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. mse
  5. getClusters
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.mse.getClusters

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

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

    NOTE: Available since v1.94.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    // Create resource
    const example = alicloud.getZones({
        availableResourceCreation: "VSwitch",
    });
    const exampleNetwork = new alicloud.vpc.Network("example", {
        vpcName: "terraform-example",
        cidrBlock: "172.17.3.0/24",
    });
    const exampleSwitch = new alicloud.vpc.Switch("example", {
        vswitchName: "terraform-example",
        cidrBlock: "172.17.3.0/24",
        vpcId: exampleNetwork.id,
        zoneId: example.then(example => example.zones?.[0]?.id),
    });
    const exampleCluster = new alicloud.mse.Cluster("example", {
        clusterSpecification: "MSE_SC_1_2_60_c",
        clusterType: "Nacos-Ans",
        clusterVersion: "NACOS_2_0_0",
        instanceCount: 3,
        netType: "privatenet",
        pubNetworkFlow: "1",
        connectionType: "slb",
        clusterAliasName: "terraform-example",
        mseVersion: "mse_pro",
        vswitchId: exampleSwitch.id,
        vpcId: exampleNetwork.id,
    });
    // Declare the data source
    const exampleGetClusters = pulumi.all([exampleCluster.id, exampleCluster.clusterAliasName]).apply(([id, clusterAliasName]) => alicloud.mse.getClustersOutput({
        enableDetails: true,
        ids: [id],
        status: "INIT_SUCCESS",
        nameRegex: clusterAliasName,
    }));
    export const instanceId = exampleGetClusters.apply(exampleGetClusters => exampleGetClusters.clusters?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    # Create resource
    example = alicloud.get_zones(available_resource_creation="VSwitch")
    example_network = alicloud.vpc.Network("example",
        vpc_name="terraform-example",
        cidr_block="172.17.3.0/24")
    example_switch = alicloud.vpc.Switch("example",
        vswitch_name="terraform-example",
        cidr_block="172.17.3.0/24",
        vpc_id=example_network.id,
        zone_id=example.zones[0].id)
    example_cluster = alicloud.mse.Cluster("example",
        cluster_specification="MSE_SC_1_2_60_c",
        cluster_type="Nacos-Ans",
        cluster_version="NACOS_2_0_0",
        instance_count=3,
        net_type="privatenet",
        pub_network_flow="1",
        connection_type="slb",
        cluster_alias_name="terraform-example",
        mse_version="mse_pro",
        vswitch_id=example_switch.id,
        vpc_id=example_network.id)
    # Declare the data source
    example_get_clusters = pulumi.Output.all(
        id=example_cluster.id,
        cluster_alias_name=example_cluster.cluster_alias_name
    ).apply(lambda resolved_outputs: alicloud.mse.get_clusters_output(enable_details=True,
        ids=[resolved_outputs['id']],
        status="INIT_SUCCESS",
        name_regex=resolved_outputs['cluster_alias_name']))
    
    pulumi.export("instanceId", example_get_clusters.clusters[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/mse"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create resource
    		example, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
    			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleNetwork, err := vpc.NewNetwork(ctx, "example", &vpc.NetworkArgs{
    			VpcName:   pulumi.String("terraform-example"),
    			CidrBlock: pulumi.String("172.17.3.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleSwitch, err := vpc.NewSwitch(ctx, "example", &vpc.SwitchArgs{
    			VswitchName: pulumi.String("terraform-example"),
    			CidrBlock:   pulumi.String("172.17.3.0/24"),
    			VpcId:       exampleNetwork.ID(),
    			ZoneId:      pulumi.String(example.Zones[0].Id),
    		})
    		if err != nil {
    			return err
    		}
    		exampleCluster, err := mse.NewCluster(ctx, "example", &mse.ClusterArgs{
    			ClusterSpecification: pulumi.String("MSE_SC_1_2_60_c"),
    			ClusterType:          pulumi.String("Nacos-Ans"),
    			ClusterVersion:       pulumi.String("NACOS_2_0_0"),
    			InstanceCount:        pulumi.Int(3),
    			NetType:              pulumi.String("privatenet"),
    			PubNetworkFlow:       pulumi.String("1"),
    			ConnectionType:       pulumi.String("slb"),
    			ClusterAliasName:     pulumi.String("terraform-example"),
    			MseVersion:           pulumi.String("mse_pro"),
    			VswitchId:            exampleSwitch.ID(),
    			VpcId:                exampleNetwork.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		// Declare the data source
    		exampleGetClusters := pulumi.All(exampleCluster.ID(), exampleCluster.ClusterAliasName).ApplyT(func(_args []interface{}) (mse.GetClustersResult, error) {
    			id := _args[0].(string)
    			clusterAliasName := _args[1].(string)
    			return mse.GetClustersResult(interface{}(mse.GetClustersOutput(ctx, mse.GetClustersOutputArgs{
    				EnableDetails: true,
    				Ids: []string{
    					id,
    				},
    				Status:    "INIT_SUCCESS",
    				NameRegex: clusterAliasName,
    			}, nil))), nil
    		}).(mse.GetClustersResultOutput)
    		ctx.Export("instanceId", exampleGetClusters.ApplyT(func(exampleGetClusters mse.GetClustersResult) (*string, error) {
    			return &exampleGetClusters.Clusters[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        // Create resource
        var example = AliCloud.GetZones.Invoke(new()
        {
            AvailableResourceCreation = "VSwitch",
        });
    
        var exampleNetwork = new AliCloud.Vpc.Network("example", new()
        {
            VpcName = "terraform-example",
            CidrBlock = "172.17.3.0/24",
        });
    
        var exampleSwitch = new AliCloud.Vpc.Switch("example", new()
        {
            VswitchName = "terraform-example",
            CidrBlock = "172.17.3.0/24",
            VpcId = exampleNetwork.Id,
            ZoneId = example.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        });
    
        var exampleCluster = new AliCloud.Mse.Cluster("example", new()
        {
            ClusterSpecification = "MSE_SC_1_2_60_c",
            ClusterType = "Nacos-Ans",
            ClusterVersion = "NACOS_2_0_0",
            InstanceCount = 3,
            NetType = "privatenet",
            PubNetworkFlow = "1",
            ConnectionType = "slb",
            ClusterAliasName = "terraform-example",
            MseVersion = "mse_pro",
            VswitchId = exampleSwitch.Id,
            VpcId = exampleNetwork.Id,
        });
    
        // Declare the data source
        var exampleGetClusters = AliCloud.Mse.GetClusters.Invoke(new()
        {
            EnableDetails = true,
            Ids = new[]
            {
                exampleCluster.Id,
            },
            Status = "INIT_SUCCESS",
            NameRegex = exampleCluster.ClusterAliasName,
        });
    
        return new Dictionary<string, object?>
        {
            ["instanceId"] = exampleGetClusters.Apply(getClustersResult => getClustersResult.Clusters[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.inputs.GetZonesArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.mse.Cluster;
    import com.pulumi.alicloud.mse.ClusterArgs;
    import com.pulumi.alicloud.mse.MseFunctions;
    import com.pulumi.alicloud.mse.inputs.GetClustersArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Create resource
            final var example = AlicloudFunctions.getZones(GetZonesArgs.builder()
                .availableResourceCreation("VSwitch")
                .build());
    
            var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
                .vpcName("terraform-example")
                .cidrBlock("172.17.3.0/24")
                .build());
    
            var exampleSwitch = new Switch("exampleSwitch", SwitchArgs.builder()
                .vswitchName("terraform-example")
                .cidrBlock("172.17.3.0/24")
                .vpcId(exampleNetwork.id())
                .zoneId(example.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
                .build());
    
            var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
                .clusterSpecification("MSE_SC_1_2_60_c")
                .clusterType("Nacos-Ans")
                .clusterVersion("NACOS_2_0_0")
                .instanceCount(3)
                .netType("privatenet")
                .pubNetworkFlow("1")
                .connectionType("slb")
                .clusterAliasName("terraform-example")
                .mseVersion("mse_pro")
                .vswitchId(exampleSwitch.id())
                .vpcId(exampleNetwork.id())
                .build());
    
            // Declare the data source
            final var exampleGetClusters = MseFunctions.getClusters(GetClustersArgs.builder()
                .enableDetails("true")
                .ids(exampleCluster.id())
                .status("INIT_SUCCESS")
                .nameRegex(exampleCluster.clusterAliasName())
                .build());
    
            ctx.export("instanceId", exampleGetClusters.applyValue(getClustersResult -> getClustersResult).applyValue(exampleGetClusters -> exampleGetClusters.applyValue(getClustersResult -> getClustersResult.clusters()[0].id())));
        }
    }
    
    resources:
      exampleNetwork:
        type: alicloud:vpc:Network
        name: example
        properties:
          vpcName: terraform-example
          cidrBlock: 172.17.3.0/24
      exampleSwitch:
        type: alicloud:vpc:Switch
        name: example
        properties:
          vswitchName: terraform-example
          cidrBlock: 172.17.3.0/24
          vpcId: ${exampleNetwork.id}
          zoneId: ${example.zones[0].id}
      exampleCluster:
        type: alicloud:mse:Cluster
        name: example
        properties:
          clusterSpecification: MSE_SC_1_2_60_c
          clusterType: Nacos-Ans
          clusterVersion: NACOS_2_0_0
          instanceCount: 3
          netType: privatenet
          pubNetworkFlow: '1'
          connectionType: slb
          clusterAliasName: terraform-example
          mseVersion: mse_pro
          vswitchId: ${exampleSwitch.id}
          vpcId: ${exampleNetwork.id}
    variables:
      # Create resource
      example:
        fn::invoke:
          Function: alicloud:getZones
          Arguments:
            availableResourceCreation: VSwitch
      # Declare the data source
      exampleGetClusters:
        fn::invoke:
          Function: alicloud:mse:getClusters
          Arguments:
            enableDetails: 'true'
            ids:
              - ${exampleCluster.id}
            status: INIT_SUCCESS
            nameRegex: ${exampleCluster.clusterAliasName}
    outputs:
      instanceId: ${exampleGetClusters.clusters[0].id}
    

    Using getClusters

    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 getClusters(args: GetClustersArgs, opts?: InvokeOptions): Promise<GetClustersResult>
    function getClustersOutput(args: GetClustersOutputArgs, opts?: InvokeOptions): Output<GetClustersResult>
    def get_clusters(cluster_alias_name: Optional[str] = None,
                     enable_details: Optional[bool] = None,
                     ids: Optional[Sequence[str]] = None,
                     name_regex: Optional[str] = None,
                     output_file: Optional[str] = None,
                     request_pars: Optional[str] = None,
                     status: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetClustersResult
    def get_clusters_output(cluster_alias_name: Optional[pulumi.Input[str]] = None,
                     enable_details: Optional[pulumi.Input[bool]] = None,
                     ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     name_regex: Optional[pulumi.Input[str]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     request_pars: Optional[pulumi.Input[str]] = None,
                     status: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetClustersResult]
    func GetClusters(ctx *Context, args *GetClustersArgs, opts ...InvokeOption) (*GetClustersResult, error)
    func GetClustersOutput(ctx *Context, args *GetClustersOutputArgs, opts ...InvokeOption) GetClustersResultOutput

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

    public static class GetClusters 
    {
        public static Task<GetClustersResult> InvokeAsync(GetClustersArgs args, InvokeOptions? opts = null)
        public static Output<GetClustersResult> Invoke(GetClustersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetClustersResult> getClusters(GetClustersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:mse/getClusters:getClusters
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterAliasName string
    The alias name of MSE Cluster.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids List<string>
    A list of MSE Cluster ids. It is formatted to <instance_id>
    NameRegex string
    A regex string to filter the results by the cluster alias name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    RequestPars string
    The extended request parameters. The JSON format is supported.
    Status string
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    ClusterAliasName string
    The alias name of MSE Cluster.
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids []string
    A list of MSE Cluster ids. It is formatted to <instance_id>
    NameRegex string
    A regex string to filter the results by the cluster alias name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    RequestPars string
    The extended request parameters. The JSON format is supported.
    Status string
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    clusterAliasName String
    The alias name of MSE Cluster.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of MSE Cluster ids. It is formatted to <instance_id>
    nameRegex String
    A regex string to filter the results by the cluster alias name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    requestPars String
    The extended request parameters. The JSON format is supported.
    status String
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    clusterAliasName string
    The alias name of MSE Cluster.
    enableDetails boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids string[]
    A list of MSE Cluster ids. It is formatted to <instance_id>
    nameRegex string
    A regex string to filter the results by the cluster alias name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    requestPars string
    The extended request parameters. The JSON format is supported.
    status string
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    cluster_alias_name str
    The alias name of MSE Cluster.
    enable_details bool
    Default to false. Set it to true can output more details about resource attributes.
    ids Sequence[str]
    A list of MSE Cluster ids. It is formatted to <instance_id>
    name_regex str
    A regex string to filter the results by the cluster alias name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    request_pars str
    The extended request parameters. The JSON format is supported.
    status str
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    clusterAliasName String
    The alias name of MSE Cluster.
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of MSE Cluster ids. It is formatted to <instance_id>
    nameRegex String
    A regex string to filter the results by the cluster alias name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    requestPars String
    The extended request parameters. The JSON format is supported.
    status String
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS

    getClusters Result

    The following output properties are available:

    Clusters List<Pulumi.AliCloud.Mse.Outputs.GetClustersCluster>
    A list of MSE Clusters. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of MSE Cluster ids.
    Names List<string>
    A list of MSE Cluster names.
    ClusterAliasName string
    EnableDetails bool
    NameRegex string
    OutputFile string
    RequestPars string
    Status string
    The status of MSE Cluster.
    Clusters []GetClustersCluster
    A list of MSE Clusters. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of MSE Cluster ids.
    Names []string
    A list of MSE Cluster names.
    ClusterAliasName string
    EnableDetails bool
    NameRegex string
    OutputFile string
    RequestPars string
    Status string
    The status of MSE Cluster.
    clusters List<GetClustersCluster>
    A list of MSE Clusters. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of MSE Cluster ids.
    names List<String>
    A list of MSE Cluster names.
    clusterAliasName String
    enableDetails Boolean
    nameRegex String
    outputFile String
    requestPars String
    status String
    The status of MSE Cluster.
    clusters GetClustersCluster[]
    A list of MSE Clusters. Each element contains the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of MSE Cluster ids.
    names string[]
    A list of MSE Cluster names.
    clusterAliasName string
    enableDetails boolean
    nameRegex string
    outputFile string
    requestPars string
    status string
    The status of MSE Cluster.
    clusters Sequence[GetClustersCluster]
    A list of MSE Clusters. Each element contains the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of MSE Cluster ids.
    names Sequence[str]
    A list of MSE Cluster names.
    cluster_alias_name str
    enable_details bool
    name_regex str
    output_file str
    request_pars str
    status str
    The status of MSE Cluster.
    clusters List<Property Map>
    A list of MSE Clusters. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of MSE Cluster ids.
    names List<String>
    A list of MSE Cluster names.
    clusterAliasName String
    enableDetails Boolean
    nameRegex String
    outputFile String
    requestPars String
    status String
    The status of MSE Cluster.

    Supporting Types

    GetClustersCluster

    AclId string
    The id of acl.
    AppVersion string
    The version of app.
    ClusterId string
    ID of the MSE Cluster.
    ClusterName string
    ID of the OOS Executions.
    ClusterType string
    The type of MSE Cluster.
    Cpu int
    The num of cpu.
    HealthStatus string
    The health status of the instance.
    Id string
    ID of the MSE Cluster.
    InitCostTime int
    Time-consuming to create.
    InstanceCount int
    The count of instance.
    InstanceId string
    ID of the MSE Cluster.
    InstanceModels List<Pulumi.AliCloud.Mse.Inputs.GetClustersClusterInstanceModel>
    The list of instance nodes.
    InternetAddress string
    The address of public network.
    InternetDomain string
    The domain of public network.
    InternetPort string
    The port of public network.
    IntranetAddress string
    The address of private network.
    IntranetDomain string
    The domain of private network.
    IntranetPort string
    The port of private network.
    MemoryCapacity int
    The memory size.
    PayInfo string
    The type of payment.
    PubNetworkFlow string
    The public network bandwidth.
    Status string
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    AclId string
    The id of acl.
    AppVersion string
    The version of app.
    ClusterId string
    ID of the MSE Cluster.
    ClusterName string
    ID of the OOS Executions.
    ClusterType string
    The type of MSE Cluster.
    Cpu int
    The num of cpu.
    HealthStatus string
    The health status of the instance.
    Id string
    ID of the MSE Cluster.
    InitCostTime int
    Time-consuming to create.
    InstanceCount int
    The count of instance.
    InstanceId string
    ID of the MSE Cluster.
    InstanceModels []GetClustersClusterInstanceModel
    The list of instance nodes.
    InternetAddress string
    The address of public network.
    InternetDomain string
    The domain of public network.
    InternetPort string
    The port of public network.
    IntranetAddress string
    The address of private network.
    IntranetDomain string
    The domain of private network.
    IntranetPort string
    The port of private network.
    MemoryCapacity int
    The memory size.
    PayInfo string
    The type of payment.
    PubNetworkFlow string
    The public network bandwidth.
    Status string
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    aclId String
    The id of acl.
    appVersion String
    The version of app.
    clusterId String
    ID of the MSE Cluster.
    clusterName String
    ID of the OOS Executions.
    clusterType String
    The type of MSE Cluster.
    cpu Integer
    The num of cpu.
    healthStatus String
    The health status of the instance.
    id String
    ID of the MSE Cluster.
    initCostTime Integer
    Time-consuming to create.
    instanceCount Integer
    The count of instance.
    instanceId String
    ID of the MSE Cluster.
    instanceModels List<GetClustersClusterInstanceModel>
    The list of instance nodes.
    internetAddress String
    The address of public network.
    internetDomain String
    The domain of public network.
    internetPort String
    The port of public network.
    intranetAddress String
    The address of private network.
    intranetDomain String
    The domain of private network.
    intranetPort String
    The port of private network.
    memoryCapacity Integer
    The memory size.
    payInfo String
    The type of payment.
    pubNetworkFlow String
    The public network bandwidth.
    status String
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    aclId string
    The id of acl.
    appVersion string
    The version of app.
    clusterId string
    ID of the MSE Cluster.
    clusterName string
    ID of the OOS Executions.
    clusterType string
    The type of MSE Cluster.
    cpu number
    The num of cpu.
    healthStatus string
    The health status of the instance.
    id string
    ID of the MSE Cluster.
    initCostTime number
    Time-consuming to create.
    instanceCount number
    The count of instance.
    instanceId string
    ID of the MSE Cluster.
    instanceModels GetClustersClusterInstanceModel[]
    The list of instance nodes.
    internetAddress string
    The address of public network.
    internetDomain string
    The domain of public network.
    internetPort string
    The port of public network.
    intranetAddress string
    The address of private network.
    intranetDomain string
    The domain of private network.
    intranetPort string
    The port of private network.
    memoryCapacity number
    The memory size.
    payInfo string
    The type of payment.
    pubNetworkFlow string
    The public network bandwidth.
    status string
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    acl_id str
    The id of acl.
    app_version str
    The version of app.
    cluster_id str
    ID of the MSE Cluster.
    cluster_name str
    ID of the OOS Executions.
    cluster_type str
    The type of MSE Cluster.
    cpu int
    The num of cpu.
    health_status str
    The health status of the instance.
    id str
    ID of the MSE Cluster.
    init_cost_time int
    Time-consuming to create.
    instance_count int
    The count of instance.
    instance_id str
    ID of the MSE Cluster.
    instance_models Sequence[GetClustersClusterInstanceModel]
    The list of instance nodes.
    internet_address str
    The address of public network.
    internet_domain str
    The domain of public network.
    internet_port str
    The port of public network.
    intranet_address str
    The address of private network.
    intranet_domain str
    The domain of private network.
    intranet_port str
    The port of private network.
    memory_capacity int
    The memory size.
    pay_info str
    The type of payment.
    pub_network_flow str
    The public network bandwidth.
    status str
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS
    aclId String
    The id of acl.
    appVersion String
    The version of app.
    clusterId String
    ID of the MSE Cluster.
    clusterName String
    ID of the OOS Executions.
    clusterType String
    The type of MSE Cluster.
    cpu Number
    The num of cpu.
    healthStatus String
    The health status of the instance.
    id String
    ID of the MSE Cluster.
    initCostTime Number
    Time-consuming to create.
    instanceCount Number
    The count of instance.
    instanceId String
    ID of the MSE Cluster.
    instanceModels List<Property Map>
    The list of instance nodes.
    internetAddress String
    The address of public network.
    internetDomain String
    The domain of public network.
    internetPort String
    The port of public network.
    intranetAddress String
    The address of private network.
    intranetDomain String
    The domain of private network.
    intranetPort String
    The port of private network.
    memoryCapacity Number
    The memory size.
    payInfo String
    The type of payment.
    pubNetworkFlow String
    The public network bandwidth.
    status String
    The status of MSE Cluster. Valid: DESTROY_FAILED, DESTROY_ING, DESTROY_SUCCESS, INIT_FAILED, INIT_ING, INIT_SUCCESS, INIT_TIME_OUT, RESTART_FAILED, RESTART_ING, RESTART_SUCCESS, SCALE_FAILED, SCALE_ING, SCALE_SUCCESS

    GetClustersClusterInstanceModel

    HealthStatus string
    The health status of the instance.
    InstanceType string
    (Deprecated from version 1.232.0)
    InternetIp string
    The public IP address.
    Ip string
    The IP address of the instance.
    PodName string
    The name of the pod.
    Role string
    The role.
    SingleTunnelVip string
    The single-thread IP address.
    Vip string
    (Deprecated from version 1.232.0)
    HealthStatus string
    The health status of the instance.
    InstanceType string
    (Deprecated from version 1.232.0)
    InternetIp string
    The public IP address.
    Ip string
    The IP address of the instance.
    PodName string
    The name of the pod.
    Role string
    The role.
    SingleTunnelVip string
    The single-thread IP address.
    Vip string
    (Deprecated from version 1.232.0)
    healthStatus String
    The health status of the instance.
    instanceType String
    (Deprecated from version 1.232.0)
    internetIp String
    The public IP address.
    ip String
    The IP address of the instance.
    podName String
    The name of the pod.
    role String
    The role.
    singleTunnelVip String
    The single-thread IP address.
    vip String
    (Deprecated from version 1.232.0)
    healthStatus string
    The health status of the instance.
    instanceType string
    (Deprecated from version 1.232.0)
    internetIp string
    The public IP address.
    ip string
    The IP address of the instance.
    podName string
    The name of the pod.
    role string
    The role.
    singleTunnelVip string
    The single-thread IP address.
    vip string
    (Deprecated from version 1.232.0)
    health_status str
    The health status of the instance.
    instance_type str
    (Deprecated from version 1.232.0)
    internet_ip str
    The public IP address.
    ip str
    The IP address of the instance.
    pod_name str
    The name of the pod.
    role str
    The role.
    single_tunnel_vip str
    The single-thread IP address.
    vip str
    (Deprecated from version 1.232.0)
    healthStatus String
    The health status of the instance.
    instanceType String
    (Deprecated from version 1.232.0)
    internetIp String
    The public IP address.
    ip String
    The IP address of the instance.
    podName String
    The name of the pod.
    role String
    The role.
    singleTunnelVip String
    The single-thread IP address.
    vip String
    (Deprecated from version 1.232.0)

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi