1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. DwsClusterV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.DwsClusterV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for DWS cluster you can get at documentation portal

    Manages Cluster in the Data Warehouse Service.

    Example Usage

    Dws Cluster Example

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const availabilityZone = config.requireObject("availabilityZone");
    const networkId = config.requireObject("networkId");
    const vpcId = config.requireObject("vpcId");
    const securityGroupId = config.requireObject("securityGroupId");
    const cluster1 = new opentelekomcloud.DwsClusterV1("cluster1", {
        userName: "dbadmin",
        userPwd: "#dbadmin123",
        nodeType: "dws.m3.xlarge",
        numberOfNode: 3,
        networkId: networkId,
        securityGroupId: securityGroupId,
        vpcId: vpcId,
        availabilityZone: availabilityZone,
        port: 8899,
        publicIp: {
            publicBindType: "auto_assign",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    availability_zone = config.require_object("availabilityZone")
    network_id = config.require_object("networkId")
    vpc_id = config.require_object("vpcId")
    security_group_id = config.require_object("securityGroupId")
    cluster1 = opentelekomcloud.DwsClusterV1("cluster1",
        user_name="dbadmin",
        user_pwd="#dbadmin123",
        node_type="dws.m3.xlarge",
        number_of_node=3,
        network_id=network_id,
        security_group_id=security_group_id,
        vpc_id=vpc_id,
        availability_zone=availability_zone,
        port=8899,
        public_ip={
            "public_bind_type": "auto_assign",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		availabilityZone := cfg.RequireObject("availabilityZone")
    		networkId := cfg.RequireObject("networkId")
    		vpcId := cfg.RequireObject("vpcId")
    		securityGroupId := cfg.RequireObject("securityGroupId")
    		_, err := opentelekomcloud.NewDwsClusterV1(ctx, "cluster1", &opentelekomcloud.DwsClusterV1Args{
    			UserName:         pulumi.String("dbadmin"),
    			UserPwd:          pulumi.String("#dbadmin123"),
    			NodeType:         pulumi.String("dws.m3.xlarge"),
    			NumberOfNode:     pulumi.Float64(3),
    			NetworkId:        pulumi.Any(networkId),
    			SecurityGroupId:  pulumi.Any(securityGroupId),
    			VpcId:            pulumi.Any(vpcId),
    			AvailabilityZone: pulumi.Any(availabilityZone),
    			Port:             pulumi.Float64(8899),
    			PublicIp: &opentelekomcloud.DwsClusterV1PublicIpArgs{
    				PublicBindType: pulumi.String("auto_assign"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
        var networkId = config.RequireObject<dynamic>("networkId");
        var vpcId = config.RequireObject<dynamic>("vpcId");
        var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
        var cluster1 = new Opentelekomcloud.DwsClusterV1("cluster1", new()
        {
            UserName = "dbadmin",
            UserPwd = "#dbadmin123",
            NodeType = "dws.m3.xlarge",
            NumberOfNode = 3,
            NetworkId = networkId,
            SecurityGroupId = securityGroupId,
            VpcId = vpcId,
            AvailabilityZone = availabilityZone,
            Port = 8899,
            PublicIp = new Opentelekomcloud.Inputs.DwsClusterV1PublicIpArgs
            {
                PublicBindType = "auto_assign",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.DwsClusterV1;
    import com.pulumi.opentelekomcloud.DwsClusterV1Args;
    import com.pulumi.opentelekomcloud.inputs.DwsClusterV1PublicIpArgs;
    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) {
            final var config = ctx.config();
            final var availabilityZone = config.get("availabilityZone");
            final var networkId = config.get("networkId");
            final var vpcId = config.get("vpcId");
            final var securityGroupId = config.get("securityGroupId");
            var cluster1 = new DwsClusterV1("cluster1", DwsClusterV1Args.builder()
                .userName("dbadmin")
                .userPwd("#dbadmin123")
                .nodeType("dws.m3.xlarge")
                .numberOfNode(3)
                .networkId(networkId)
                .securityGroupId(securityGroupId)
                .vpcId(vpcId)
                .availabilityZone(availabilityZone)
                .port(8899)
                .publicIp(DwsClusterV1PublicIpArgs.builder()
                    .publicBindType("auto_assign")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      availabilityZone:
        type: dynamic
      networkId:
        type: dynamic
      vpcId:
        type: dynamic
      securityGroupId:
        type: dynamic
    resources:
      cluster1:
        type: opentelekomcloud:DwsClusterV1
        properties:
          userName: dbadmin
          userPwd: '#dbadmin123'
          nodeType: dws.m3.xlarge
          numberOfNode: 3
          networkId: ${networkId}
          securityGroupId: ${securityGroupId}
          vpcId: ${vpcId}
          availabilityZone: ${availabilityZone}
          port: 8899
          publicIp:
            publicBindType: auto_assign
    

    Create DwsClusterV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DwsClusterV1(name: string, args: DwsClusterV1Args, opts?: CustomResourceOptions);
    @overload
    def DwsClusterV1(resource_name: str,
                     args: DwsClusterV1Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def DwsClusterV1(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     security_group_id: Optional[str] = None,
                     number_of_node: Optional[float] = None,
                     vpc_id: Optional[str] = None,
                     user_pwd: Optional[str] = None,
                     user_name: Optional[str] = None,
                     network_id: Optional[str] = None,
                     node_type: Optional[str] = None,
                     port: Optional[float] = None,
                     dws_cluster_v1_id: Optional[str] = None,
                     public_endpoints: Optional[Sequence[DwsClusterV1PublicEndpointArgs]] = None,
                     number_of_cn: Optional[float] = None,
                     public_ip: Optional[DwsClusterV1PublicIpArgs] = None,
                     availability_zone: Optional[str] = None,
                     timeouts: Optional[DwsClusterV1TimeoutsArgs] = None,
                     name: Optional[str] = None,
                     keep_last_manual_snapshot: Optional[float] = None,
                     endpoints: Optional[Sequence[DwsClusterV1EndpointArgs]] = None)
    func NewDwsClusterV1(ctx *Context, name string, args DwsClusterV1Args, opts ...ResourceOption) (*DwsClusterV1, error)
    public DwsClusterV1(string name, DwsClusterV1Args args, CustomResourceOptions? opts = null)
    public DwsClusterV1(String name, DwsClusterV1Args args)
    public DwsClusterV1(String name, DwsClusterV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:DwsClusterV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DwsClusterV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DwsClusterV1Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DwsClusterV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DwsClusterV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DwsClusterV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dwsClusterV1Resource = new Opentelekomcloud.DwsClusterV1("dwsClusterV1Resource", new()
    {
        SecurityGroupId = "string",
        NumberOfNode = 0,
        VpcId = "string",
        UserPwd = "string",
        UserName = "string",
        NetworkId = "string",
        NodeType = "string",
        Port = 0,
        DwsClusterV1Id = "string",
        PublicEndpoints = new[]
        {
            new Opentelekomcloud.Inputs.DwsClusterV1PublicEndpointArgs
            {
                JdbcUrl = "string",
                PublicConnectInfo = "string",
            },
        },
        NumberOfCn = 0,
        PublicIp = new Opentelekomcloud.Inputs.DwsClusterV1PublicIpArgs
        {
            EipId = "string",
            PublicBindType = "string",
        },
        AvailabilityZone = "string",
        Timeouts = new Opentelekomcloud.Inputs.DwsClusterV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Name = "string",
        KeepLastManualSnapshot = 0,
        Endpoints = new[]
        {
            new Opentelekomcloud.Inputs.DwsClusterV1EndpointArgs
            {
                ConnectInfo = "string",
                JdbcUrl = "string",
            },
        },
    });
    
    example, err := opentelekomcloud.NewDwsClusterV1(ctx, "dwsClusterV1Resource", &opentelekomcloud.DwsClusterV1Args{
    	SecurityGroupId: pulumi.String("string"),
    	NumberOfNode:    pulumi.Float64(0),
    	VpcId:           pulumi.String("string"),
    	UserPwd:         pulumi.String("string"),
    	UserName:        pulumi.String("string"),
    	NetworkId:       pulumi.String("string"),
    	NodeType:        pulumi.String("string"),
    	Port:            pulumi.Float64(0),
    	DwsClusterV1Id:  pulumi.String("string"),
    	PublicEndpoints: opentelekomcloud.DwsClusterV1PublicEndpointArray{
    		&opentelekomcloud.DwsClusterV1PublicEndpointArgs{
    			JdbcUrl:           pulumi.String("string"),
    			PublicConnectInfo: pulumi.String("string"),
    		},
    	},
    	NumberOfCn: pulumi.Float64(0),
    	PublicIp: &opentelekomcloud.DwsClusterV1PublicIpArgs{
    		EipId:          pulumi.String("string"),
    		PublicBindType: pulumi.String("string"),
    	},
    	AvailabilityZone: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.DwsClusterV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Name:                   pulumi.String("string"),
    	KeepLastManualSnapshot: pulumi.Float64(0),
    	Endpoints: opentelekomcloud.DwsClusterV1EndpointArray{
    		&opentelekomcloud.DwsClusterV1EndpointArgs{
    			ConnectInfo: pulumi.String("string"),
    			JdbcUrl:     pulumi.String("string"),
    		},
    	},
    })
    
    var dwsClusterV1Resource = new DwsClusterV1("dwsClusterV1Resource", DwsClusterV1Args.builder()
        .securityGroupId("string")
        .numberOfNode(0)
        .vpcId("string")
        .userPwd("string")
        .userName("string")
        .networkId("string")
        .nodeType("string")
        .port(0)
        .dwsClusterV1Id("string")
        .publicEndpoints(DwsClusterV1PublicEndpointArgs.builder()
            .jdbcUrl("string")
            .publicConnectInfo("string")
            .build())
        .numberOfCn(0)
        .publicIp(DwsClusterV1PublicIpArgs.builder()
            .eipId("string")
            .publicBindType("string")
            .build())
        .availabilityZone("string")
        .timeouts(DwsClusterV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .name("string")
        .keepLastManualSnapshot(0)
        .endpoints(DwsClusterV1EndpointArgs.builder()
            .connectInfo("string")
            .jdbcUrl("string")
            .build())
        .build());
    
    dws_cluster_v1_resource = opentelekomcloud.DwsClusterV1("dwsClusterV1Resource",
        security_group_id="string",
        number_of_node=0,
        vpc_id="string",
        user_pwd="string",
        user_name="string",
        network_id="string",
        node_type="string",
        port=0,
        dws_cluster_v1_id="string",
        public_endpoints=[{
            "jdbc_url": "string",
            "public_connect_info": "string",
        }],
        number_of_cn=0,
        public_ip={
            "eip_id": "string",
            "public_bind_type": "string",
        },
        availability_zone="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        name="string",
        keep_last_manual_snapshot=0,
        endpoints=[{
            "connect_info": "string",
            "jdbc_url": "string",
        }])
    
    const dwsClusterV1Resource = new opentelekomcloud.DwsClusterV1("dwsClusterV1Resource", {
        securityGroupId: "string",
        numberOfNode: 0,
        vpcId: "string",
        userPwd: "string",
        userName: "string",
        networkId: "string",
        nodeType: "string",
        port: 0,
        dwsClusterV1Id: "string",
        publicEndpoints: [{
            jdbcUrl: "string",
            publicConnectInfo: "string",
        }],
        numberOfCn: 0,
        publicIp: {
            eipId: "string",
            publicBindType: "string",
        },
        availabilityZone: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        name: "string",
        keepLastManualSnapshot: 0,
        endpoints: [{
            connectInfo: "string",
            jdbcUrl: "string",
        }],
    });
    
    type: opentelekomcloud:DwsClusterV1
    properties:
        availabilityZone: string
        dwsClusterV1Id: string
        endpoints:
            - connectInfo: string
              jdbcUrl: string
        keepLastManualSnapshot: 0
        name: string
        networkId: string
        nodeType: string
        numberOfCn: 0
        numberOfNode: 0
        port: 0
        publicEndpoints:
            - jdbcUrl: string
              publicConnectInfo: string
        publicIp:
            eipId: string
            publicBindType: string
        securityGroupId: string
        timeouts:
            create: string
            delete: string
            update: string
        userName: string
        userPwd: string
        vpcId: string
    

    DwsClusterV1 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DwsClusterV1 resource accepts the following input properties:

    NetworkId string
    Network ID, which is used for configuring cluster network.
    NodeType string
    Node type.
    NumberOfNode double
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network.
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    VpcId string
    VPC ID, which is used for configuring cluster network.
    AvailabilityZone string
    AZ in a cluster.
    DwsClusterV1Id string
    Cluster ID
    Endpoints List<DwsClusterV1Endpoint>
    View the private network connection information about the cluster. Structure is documented below.
    KeepLastManualSnapshot double
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    NumberOfCn double
    Port double
    Service port of a cluster (8000 to 10000). The default value is 8000.
    PublicEndpoints List<DwsClusterV1PublicEndpoint>
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    PublicIp DwsClusterV1PublicIp
    A nested object resource Structure is documented below.
    Timeouts DwsClusterV1Timeouts
    NetworkId string
    Network ID, which is used for configuring cluster network.
    NodeType string
    Node type.
    NumberOfNode float64
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network.
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    VpcId string
    VPC ID, which is used for configuring cluster network.
    AvailabilityZone string
    AZ in a cluster.
    DwsClusterV1Id string
    Cluster ID
    Endpoints []DwsClusterV1EndpointArgs
    View the private network connection information about the cluster. Structure is documented below.
    KeepLastManualSnapshot float64
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    NumberOfCn float64
    Port float64
    Service port of a cluster (8000 to 10000). The default value is 8000.
    PublicEndpoints []DwsClusterV1PublicEndpointArgs
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    PublicIp DwsClusterV1PublicIpArgs
    A nested object resource Structure is documented below.
    Timeouts DwsClusterV1TimeoutsArgs
    networkId String
    Network ID, which is used for configuring cluster network.
    nodeType String
    Node type.
    numberOfNode Double
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network.
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    userPwd String
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    vpcId String
    VPC ID, which is used for configuring cluster network.
    availabilityZone String
    AZ in a cluster.
    dwsClusterV1Id String
    Cluster ID
    endpoints List<DwsClusterV1Endpoint>
    View the private network connection information about the cluster. Structure is documented below.
    keepLastManualSnapshot Double
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    numberOfCn Double
    port Double
    Service port of a cluster (8000 to 10000). The default value is 8000.
    publicEndpoints List<DwsClusterV1PublicEndpoint>
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    publicIp DwsClusterV1PublicIp
    A nested object resource Structure is documented below.
    timeouts DwsClusterV1Timeouts
    networkId string
    Network ID, which is used for configuring cluster network.
    nodeType string
    Node type.
    numberOfNode number
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    securityGroupId string
    ID of a security group. The ID is used for configuring cluster network.
    userName string
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    userPwd string
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    vpcId string
    VPC ID, which is used for configuring cluster network.
    availabilityZone string
    AZ in a cluster.
    dwsClusterV1Id string
    Cluster ID
    endpoints DwsClusterV1Endpoint[]
    View the private network connection information about the cluster. Structure is documented below.
    keepLastManualSnapshot number
    name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    numberOfCn number
    port number
    Service port of a cluster (8000 to 10000). The default value is 8000.
    publicEndpoints DwsClusterV1PublicEndpoint[]
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    publicIp DwsClusterV1PublicIp
    A nested object resource Structure is documented below.
    timeouts DwsClusterV1Timeouts
    network_id str
    Network ID, which is used for configuring cluster network.
    node_type str
    Node type.
    number_of_node float
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    security_group_id str
    ID of a security group. The ID is used for configuring cluster network.
    user_name str
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    user_pwd str
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    vpc_id str
    VPC ID, which is used for configuring cluster network.
    availability_zone str
    AZ in a cluster.
    dws_cluster_v1_id str
    Cluster ID
    endpoints Sequence[DwsClusterV1EndpointArgs]
    View the private network connection information about the cluster. Structure is documented below.
    keep_last_manual_snapshot float
    name str
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    number_of_cn float
    port float
    Service port of a cluster (8000 to 10000). The default value is 8000.
    public_endpoints Sequence[DwsClusterV1PublicEndpointArgs]
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    public_ip DwsClusterV1PublicIpArgs
    A nested object resource Structure is documented below.
    timeouts DwsClusterV1TimeoutsArgs
    networkId String
    Network ID, which is used for configuring cluster network.
    nodeType String
    Node type.
    numberOfNode Number
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network.
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    userPwd String
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    vpcId String
    VPC ID, which is used for configuring cluster network.
    availabilityZone String
    AZ in a cluster.
    dwsClusterV1Id String
    Cluster ID
    endpoints List<Property Map>
    View the private network connection information about the cluster. Structure is documented below.
    keepLastManualSnapshot Number
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    numberOfCn Number
    port Number
    Service port of a cluster (8000 to 10000). The default value is 8000.
    publicEndpoints List<Property Map>
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    publicIp Property Map
    A nested object resource Structure is documented below.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DwsClusterV1 resource produces the following output properties:

    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIps List<string>
    List of private network IP address.
    RecentEvent double
    The recent event number.
    Status string
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    TaskStatus string
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Version string
    Data warehouse version.
    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIps []string
    List of private network IP address.
    RecentEvent float64
    The recent event number.
    Status string
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    TaskStatus string
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Version string
    Data warehouse version.
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id String
    The provider-assigned unique ID for this managed resource.
    privateIps List<String>
    List of private network IP address.
    recentEvent Double
    The recent event number.
    status String
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    taskStatus String
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    version String
    Data warehouse version.
    created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id string
    The provider-assigned unique ID for this managed resource.
    privateIps string[]
    List of private network IP address.
    recentEvent number
    The recent event number.
    status string
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    subStatus string
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    taskStatus string
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    version string
    Data warehouse version.
    created str
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id str
    The provider-assigned unique ID for this managed resource.
    private_ips Sequence[str]
    List of private network IP address.
    recent_event float
    The recent event number.
    status str
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    sub_status str
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    task_status str
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    updated str
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    version str
    Data warehouse version.
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id String
    The provider-assigned unique ID for this managed resource.
    privateIps List<String>
    List of private network IP address.
    recentEvent Number
    The recent event number.
    status String
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    taskStatus String
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    version String
    Data warehouse version.

    Look up Existing DwsClusterV1 Resource

    Get an existing DwsClusterV1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DwsClusterV1State, opts?: CustomResourceOptions): DwsClusterV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zone: Optional[str] = None,
            created: Optional[str] = None,
            dws_cluster_v1_id: Optional[str] = None,
            endpoints: Optional[Sequence[DwsClusterV1EndpointArgs]] = None,
            keep_last_manual_snapshot: Optional[float] = None,
            name: Optional[str] = None,
            network_id: Optional[str] = None,
            node_type: Optional[str] = None,
            number_of_cn: Optional[float] = None,
            number_of_node: Optional[float] = None,
            port: Optional[float] = None,
            private_ips: Optional[Sequence[str]] = None,
            public_endpoints: Optional[Sequence[DwsClusterV1PublicEndpointArgs]] = None,
            public_ip: Optional[DwsClusterV1PublicIpArgs] = None,
            recent_event: Optional[float] = None,
            security_group_id: Optional[str] = None,
            status: Optional[str] = None,
            sub_status: Optional[str] = None,
            task_status: Optional[str] = None,
            timeouts: Optional[DwsClusterV1TimeoutsArgs] = None,
            updated: Optional[str] = None,
            user_name: Optional[str] = None,
            user_pwd: Optional[str] = None,
            version: Optional[str] = None,
            vpc_id: Optional[str] = None) -> DwsClusterV1
    func GetDwsClusterV1(ctx *Context, name string, id IDInput, state *DwsClusterV1State, opts ...ResourceOption) (*DwsClusterV1, error)
    public static DwsClusterV1 Get(string name, Input<string> id, DwsClusterV1State? state, CustomResourceOptions? opts = null)
    public static DwsClusterV1 get(String name, Output<String> id, DwsClusterV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:DwsClusterV1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityZone string
    AZ in a cluster.
    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    DwsClusterV1Id string
    Cluster ID
    Endpoints List<DwsClusterV1Endpoint>
    View the private network connection information about the cluster. Structure is documented below.
    KeepLastManualSnapshot double
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    NetworkId string
    Network ID, which is used for configuring cluster network.
    NodeType string
    Node type.
    NumberOfCn double
    NumberOfNode double
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    Port double
    Service port of a cluster (8000 to 10000). The default value is 8000.
    PrivateIps List<string>
    List of private network IP address.
    PublicEndpoints List<DwsClusterV1PublicEndpoint>
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    PublicIp DwsClusterV1PublicIp
    A nested object resource Structure is documented below.
    RecentEvent double
    The recent event number.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network.
    Status string
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    TaskStatus string
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    Timeouts DwsClusterV1Timeouts
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    Version string
    Data warehouse version.
    VpcId string
    VPC ID, which is used for configuring cluster network.
    AvailabilityZone string
    AZ in a cluster.
    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    DwsClusterV1Id string
    Cluster ID
    Endpoints []DwsClusterV1EndpointArgs
    View the private network connection information about the cluster. Structure is documented below.
    KeepLastManualSnapshot float64
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    NetworkId string
    Network ID, which is used for configuring cluster network.
    NodeType string
    Node type.
    NumberOfCn float64
    NumberOfNode float64
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    Port float64
    Service port of a cluster (8000 to 10000). The default value is 8000.
    PrivateIps []string
    List of private network IP address.
    PublicEndpoints []DwsClusterV1PublicEndpointArgs
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    PublicIp DwsClusterV1PublicIpArgs
    A nested object resource Structure is documented below.
    RecentEvent float64
    The recent event number.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network.
    Status string
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    TaskStatus string
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    Timeouts DwsClusterV1TimeoutsArgs
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    Version string
    Data warehouse version.
    VpcId string
    VPC ID, which is used for configuring cluster network.
    availabilityZone String
    AZ in a cluster.
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    dwsClusterV1Id String
    Cluster ID
    endpoints List<DwsClusterV1Endpoint>
    View the private network connection information about the cluster. Structure is documented below.
    keepLastManualSnapshot Double
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    networkId String
    Network ID, which is used for configuring cluster network.
    nodeType String
    Node type.
    numberOfCn Double
    numberOfNode Double
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    port Double
    Service port of a cluster (8000 to 10000). The default value is 8000.
    privateIps List<String>
    List of private network IP address.
    publicEndpoints List<DwsClusterV1PublicEndpoint>
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    publicIp DwsClusterV1PublicIp
    A nested object resource Structure is documented below.
    recentEvent Double
    The recent event number.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network.
    status String
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    taskStatus String
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    timeouts DwsClusterV1Timeouts
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    userPwd String
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    version String
    Data warehouse version.
    vpcId String
    VPC ID, which is used for configuring cluster network.
    availabilityZone string
    AZ in a cluster.
    created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    dwsClusterV1Id string
    Cluster ID
    endpoints DwsClusterV1Endpoint[]
    View the private network connection information about the cluster. Structure is documented below.
    keepLastManualSnapshot number
    name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    networkId string
    Network ID, which is used for configuring cluster network.
    nodeType string
    Node type.
    numberOfCn number
    numberOfNode number
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    port number
    Service port of a cluster (8000 to 10000). The default value is 8000.
    privateIps string[]
    List of private network IP address.
    publicEndpoints DwsClusterV1PublicEndpoint[]
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    publicIp DwsClusterV1PublicIp
    A nested object resource Structure is documented below.
    recentEvent number
    The recent event number.
    securityGroupId string
    ID of a security group. The ID is used for configuring cluster network.
    status string
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    subStatus string
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    taskStatus string
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    timeouts DwsClusterV1Timeouts
    updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    userName string
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    userPwd string
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    version string
    Data warehouse version.
    vpcId string
    VPC ID, which is used for configuring cluster network.
    availability_zone str
    AZ in a cluster.
    created str
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    dws_cluster_v1_id str
    Cluster ID
    endpoints Sequence[DwsClusterV1EndpointArgs]
    View the private network connection information about the cluster. Structure is documented below.
    keep_last_manual_snapshot float
    name str
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    network_id str
    Network ID, which is used for configuring cluster network.
    node_type str
    Node type.
    number_of_cn float
    number_of_node float
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    port float
    Service port of a cluster (8000 to 10000). The default value is 8000.
    private_ips Sequence[str]
    List of private network IP address.
    public_endpoints Sequence[DwsClusterV1PublicEndpointArgs]
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    public_ip DwsClusterV1PublicIpArgs
    A nested object resource Structure is documented below.
    recent_event float
    The recent event number.
    security_group_id str
    ID of a security group. The ID is used for configuring cluster network.
    status str
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    sub_status str
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    task_status str
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    timeouts DwsClusterV1TimeoutsArgs
    updated str
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    user_name str
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    user_pwd str
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    version str
    Data warehouse version.
    vpc_id str
    VPC ID, which is used for configuring cluster network.
    availabilityZone String
    AZ in a cluster.
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    dwsClusterV1Id String
    Cluster ID
    endpoints List<Property Map>
    View the private network connection information about the cluster. Structure is documented below.
    keepLastManualSnapshot Number
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens(-), or underscores(_) only and must start with a letter.
    networkId String
    Network ID, which is used for configuring cluster network.
    nodeType String
    Node type.
    numberOfCn Number
    numberOfNode Number
    Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
    port Number
    Service port of a cluster (8000 to 10000). The default value is 8000.
    privateIps List<String>
    List of private network IP address.
    publicEndpoints List<Property Map>
    Public network connection information about the cluster. If the value is not specified, the public network connection information is not used by default Structure is documented below.
    publicIp Property Map
    A nested object resource Structure is documented below.
    recentEvent Number
    The recent event number.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network.
    status String
    Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state. The value can be one of the following: NORMAL READONLY REDISTRIBUTING REDISTRIBUTION-FAILURE UNBALANCED UNBALANCED | READONLY DEGRADED DEGRADED | READONLY DEGRADED | UNBALANCED UNBALANCED | REDISTRIBUTING UNBALANCED | REDISTRIBUTION-FAILURE READONLY | REDISTRIBUTION-FAILURE UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE DEGRADED | UNBALANCED | READONLY
    taskStatus String
    Cluster management task. The value can be one of the following: RESTORING SNAPSHOTTING GROWING REBOOTING SETTING_CONFIGURATION CONFIGURING_EXT_DATASOURCE DELETING_EXT_DATASOURCE REBOOT_FAILURE RESIZE_FAILURE
    timeouts Property Map
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must: Consist of lowercase letters, digits, or underscores. Start with a lowercase letter or an underscore. Contain 1 to 63 characters. Cannot be a keyword of the DWS database.
    userPwd String
    Administrator password for logging in to a data warehouse cluster A password must conform to the following rules: Contains 8 to 32 characters. Cannot be the same as the username or the username written in reverse order. Contains three types of the following: Lowercase letters Uppercase letters Digits Special characters ~!@#%^&*()-_=+|[{}];:,<.>/?
    version String
    Data warehouse version.
    vpcId String
    VPC ID, which is used for configuring cluster network.

    Supporting Types

    DwsClusterV1Endpoint, DwsClusterV1EndpointArgs

    ConnectInfo string
    (Optional, String) Private network connection information.
    JdbcUrl string
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    ConnectInfo string
    (Optional, String) Private network connection information.
    JdbcUrl string
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connectInfo String
    (Optional, String) Private network connection information.
    jdbcUrl String
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connectInfo string
    (Optional, String) Private network connection information.
    jdbcUrl string
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connect_info str
    (Optional, String) Private network connection information.
    jdbc_url str
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connectInfo String
    (Optional, String) Private network connection information.
    jdbcUrl String
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>

    DwsClusterV1PublicEndpoint, DwsClusterV1PublicEndpointArgs

    JdbcUrl string
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    PublicConnectInfo string
    (Optional, String) Public network connection information.
    JdbcUrl string
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    PublicConnectInfo string
    (Optional, String) Public network connection information.
    jdbcUrl String
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    publicConnectInfo String
    (Optional, String) Public network connection information.
    jdbcUrl string
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    publicConnectInfo string
    (Optional, String) Public network connection information.
    jdbc_url str
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    public_connect_info str
    (Optional, String) Public network connection information.
    jdbcUrl String
    (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    publicConnectInfo String
    (Optional, String) Public network connection information.

    DwsClusterV1PublicIp, DwsClusterV1PublicIpArgs

    EipId string
    EIP ID.
    PublicBindType string
    Binding type of an EIP. The value can be either of the following: auto_assign not_use bind_existing The default value is not_use.
    EipId string
    EIP ID.
    PublicBindType string
    Binding type of an EIP. The value can be either of the following: auto_assign not_use bind_existing The default value is not_use.
    eipId String
    EIP ID.
    publicBindType String
    Binding type of an EIP. The value can be either of the following: auto_assign not_use bind_existing The default value is not_use.
    eipId string
    EIP ID.
    publicBindType string
    Binding type of an EIP. The value can be either of the following: auto_assign not_use bind_existing The default value is not_use.
    eip_id str
    EIP ID.
    public_bind_type str
    Binding type of an EIP. The value can be either of the following: auto_assign not_use bind_existing The default value is not_use.
    eipId String
    EIP ID.
    publicBindType String
    Binding type of an EIP. The value can be either of the following: auto_assign not_use bind_existing The default value is not_use.

    DwsClusterV1Timeouts, DwsClusterV1TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    Cluster can be imported using the following format:

    $ pulumi import opentelekomcloud:index/dwsClusterV1:DwsClusterV1 cluster_1 4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90
    

    Note that the imported state may not be identical to your resource definition, due to some attributes missing from the

    API response, security or some other reason. The missing attributes include: user_pwd, number_of_cn.

    It is generally recommended running pulumi preview after importing a cluster.

    You can then decide if changes should be applied to the cluster, or the resource definition

    should be updated to align with the cluster. Also you can ignore changes as below.

    resource “opentelekomcloud_dws_cluster_v1” “cluster_1” {

    ...
    

    lifecycle {

    ignore_changes = [
    
      user_pwd, number_of_cn,
    
    ]
    

    }

    }

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud