opentelekomcloud.DwsClusterV1
Explore with Pulumi AI
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:
- Network
Id string - Network ID, which is used for configuring cluster network.
- Node
Type string - Node type.
- Number
Of doubleNode - Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
- Security
Group stringId - ID of a security group. The ID is used for configuring cluster network.
- User
Name 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.
- User
Pwd 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 ~!@#%^&*()-_=+|[{}];:,<.>/?
- Vpc
Id string - VPC ID, which is used for configuring cluster network.
- Availability
Zone string - AZ in a cluster.
- Dws
Cluster stringV1Id - Cluster ID
- Endpoints
List<Dws
Cluster V1Endpoint> - View the private network connection information about the cluster. Structure is documented below.
- Keep
Last doubleManual Snapshot - 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.
- Number
Of doubleCn - Port double
- Service port of a cluster (8000 to 10000). The default value is 8000.
- Public
Endpoints List<DwsCluster V1Public Endpoint> - 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 DwsCluster V1Public Ip - A nested object resource Structure is documented below.
- Timeouts
Dws
Cluster V1Timeouts
- Network
Id string - Network ID, which is used for configuring cluster network.
- Node
Type string - Node type.
- Number
Of float64Node - Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
- Security
Group stringId - ID of a security group. The ID is used for configuring cluster network.
- User
Name 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.
- User
Pwd 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 ~!@#%^&*()-_=+|[{}];:,<.>/?
- Vpc
Id string - VPC ID, which is used for configuring cluster network.
- Availability
Zone string - AZ in a cluster.
- Dws
Cluster stringV1Id - Cluster ID
- Endpoints
[]Dws
Cluster V1Endpoint Args - View the private network connection information about the cluster. Structure is documented below.
- Keep
Last float64Manual Snapshot - 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.
- Number
Of float64Cn - Port float64
- Service port of a cluster (8000 to 10000). The default value is 8000.
- Public
Endpoints []DwsCluster V1Public Endpoint Args - 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 DwsCluster V1Public Ip Args - A nested object resource Structure is documented below.
- Timeouts
Dws
Cluster V1Timeouts Args
- network
Id String - Network ID, which is used for configuring cluster network.
- node
Type String - Node type.
- number
Of DoubleNode - Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
- security
Group StringId - ID of a security group. The ID is used for configuring cluster network.
- user
Name 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.
- user
Pwd 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 ~!@#%^&*()-_=+|[{}];:,<.>/?
- vpc
Id String - VPC ID, which is used for configuring cluster network.
- availability
Zone String - AZ in a cluster.
- dws
Cluster StringV1Id - Cluster ID
- endpoints
List<Dws
Cluster V1Endpoint> - View the private network connection information about the cluster. Structure is documented below.
- keep
Last DoubleManual Snapshot - 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.
- number
Of DoubleCn - port Double
- Service port of a cluster (8000 to 10000). The default value is 8000.
- public
Endpoints List<DwsCluster V1Public Endpoint> - 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 DwsCluster V1Public Ip - A nested object resource Structure is documented below.
- timeouts
Dws
Cluster V1Timeouts
- network
Id string - Network ID, which is used for configuring cluster network.
- node
Type string - Node type.
- number
Of numberNode - Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
- security
Group stringId - ID of a security group. The ID is used for configuring cluster network.
- user
Name 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.
- user
Pwd 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 ~!@#%^&*()-_=+|[{}];:,<.>/?
- vpc
Id string - VPC ID, which is used for configuring cluster network.
- availability
Zone string - AZ in a cluster.
- dws
Cluster stringV1Id - Cluster ID
- endpoints
Dws
Cluster V1Endpoint[] - View the private network connection information about the cluster. Structure is documented below.
- keep
Last numberManual Snapshot - 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.
- number
Of numberCn - port number
- Service port of a cluster (8000 to 10000). The default value is 8000.
- public
Endpoints DwsCluster V1Public Endpoint[] - 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 DwsCluster V1Public Ip - A nested object resource Structure is documented below.
- timeouts
Dws
Cluster V1Timeouts
- network_
id str - Network ID, which is used for configuring cluster network.
- node_
type str - Node type.
- number_
of_ floatnode - Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
- security_
group_ strid - 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_ strv1_ id - Cluster ID
- endpoints
Sequence[Dws
Cluster V1Endpoint Args] - View the private network connection information about the cluster. Structure is documented below.
- keep_
last_ floatmanual_ snapshot - 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_ floatcn - port float
- Service port of a cluster (8000 to 10000). The default value is 8000.
- public_
endpoints Sequence[DwsCluster V1Public Endpoint Args] - 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 DwsCluster V1Public Ip Args - A nested object resource Structure is documented below.
- timeouts
Dws
Cluster V1Timeouts Args
- network
Id String - Network ID, which is used for configuring cluster network.
- node
Type String - Node type.
- number
Of NumberNode - Number of nodes in a cluster. The value ranges from 3 to 32. When expanding, add at least 3 nodes.
- security
Group StringId - ID of a security group. The ID is used for configuring cluster network.
- user
Name 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.
- user
Pwd 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 ~!@#%^&*()-_=+|[{}];:,<.>/?
- vpc
Id String - VPC ID, which is used for configuring cluster network.
- availability
Zone String - AZ in a cluster.
- dws
Cluster StringV1Id - Cluster ID
- endpoints List<Property Map>
- View the private network connection information about the cluster. Structure is documented below.
- keep
Last NumberManual Snapshot - 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.
- number
Of NumberCn - port Number
- Service port of a cluster (8000 to 10000). The default value is 8000.
- public
Endpoints 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.
- public
Ip 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.
- Private
Ips List<string> - List of private network IP address.
- Recent
Event double - The recent event number.
- Status string
- Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
- Sub
Status 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
- Task
Status 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.
- Private
Ips []string - List of private network IP address.
- Recent
Event float64 - The recent event number.
- Status string
- Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
- Sub
Status 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
- Task
Status 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.
- private
Ips List<String> - List of private network IP address.
- recent
Event Double - The recent event number.
- status String
- Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
- sub
Status 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
- task
Status 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.
- private
Ips string[] - List of private network IP address.
- recent
Event number - The recent event number.
- status string
- Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
- sub
Status 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
- task
Status 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.
- private
Ips List<String> - List of private network IP address.
- recent
Event Number - The recent event number.
- status String
- Cluster status, which can be one of the following: CREATING AVAILABLE UNAVAILABLE CREATION FAILED.
- sub
Status 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
- task
Status 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.
- Availability
Zone string - AZ in a cluster.
- Created string
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- Dws
Cluster stringV1Id - Cluster ID
- Endpoints
List<Dws
Cluster V1Endpoint> - View the private network connection information about the cluster. Structure is documented below.
- Keep
Last doubleManual Snapshot - 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.
- Network
Id string - Network ID, which is used for configuring cluster network.
- Node
Type string - Node type.
- Number
Of doubleCn - Number
Of doubleNode - 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.
- Private
Ips List<string> - List of private network IP address.
- Public
Endpoints List<DwsCluster V1Public Endpoint> - 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 DwsCluster V1Public Ip - A nested object resource Structure is documented below.
- Recent
Event double - The recent event number.
- Security
Group stringId - 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.
- Sub
Status 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
- Task
Status 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
Dws
Cluster V1Timeouts - Updated string
- Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- User
Name 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.
- User
Pwd 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.
- Vpc
Id string - VPC ID, which is used for configuring cluster network.
- Availability
Zone string - AZ in a cluster.
- Created string
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- Dws
Cluster stringV1Id - Cluster ID
- Endpoints
[]Dws
Cluster V1Endpoint Args - View the private network connection information about the cluster. Structure is documented below.
- Keep
Last float64Manual Snapshot - 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.
- Network
Id string - Network ID, which is used for configuring cluster network.
- Node
Type string - Node type.
- Number
Of float64Cn - Number
Of float64Node - 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.
- Private
Ips []string - List of private network IP address.
- Public
Endpoints []DwsCluster V1Public Endpoint Args - 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 DwsCluster V1Public Ip Args - A nested object resource Structure is documented below.
- Recent
Event float64 - The recent event number.
- Security
Group stringId - 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.
- Sub
Status 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
- Task
Status 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
Dws
Cluster V1Timeouts Args - Updated string
- Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- User
Name 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.
- User
Pwd 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.
- Vpc
Id string - VPC ID, which is used for configuring cluster network.
- availability
Zone String - AZ in a cluster.
- created String
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- dws
Cluster StringV1Id - Cluster ID
- endpoints
List<Dws
Cluster V1Endpoint> - View the private network connection information about the cluster. Structure is documented below.
- keep
Last DoubleManual Snapshot - 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.
- network
Id String - Network ID, which is used for configuring cluster network.
- node
Type String - Node type.
- number
Of DoubleCn - number
Of DoubleNode - 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.
- private
Ips List<String> - List of private network IP address.
- public
Endpoints List<DwsCluster V1Public Endpoint> - 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 DwsCluster V1Public Ip - A nested object resource Structure is documented below.
- recent
Event Double - The recent event number.
- security
Group StringId - 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.
- sub
Status 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
- task
Status 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
Dws
Cluster V1Timeouts - updated String
- Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- user
Name 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.
- user
Pwd 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.
- vpc
Id String - VPC ID, which is used for configuring cluster network.
- availability
Zone string - AZ in a cluster.
- created string
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- dws
Cluster stringV1Id - Cluster ID
- endpoints
Dws
Cluster V1Endpoint[] - View the private network connection information about the cluster. Structure is documented below.
- keep
Last numberManual Snapshot - 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.
- network
Id string - Network ID, which is used for configuring cluster network.
- node
Type string - Node type.
- number
Of numberCn - number
Of numberNode - 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.
- private
Ips string[] - List of private network IP address.
- public
Endpoints DwsCluster V1Public Endpoint[] - 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 DwsCluster V1Public Ip - A nested object resource Structure is documented below.
- recent
Event number - The recent event number.
- security
Group stringId - 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.
- sub
Status 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
- task
Status 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
Dws
Cluster V1Timeouts - updated string
- Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- user
Name 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.
- user
Pwd 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.
- vpc
Id 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_ strv1_ id - Cluster ID
- endpoints
Sequence[Dws
Cluster V1Endpoint Args] - View the private network connection information about the cluster. Structure is documented below.
- keep_
last_ floatmanual_ snapshot - 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_ floatcn - number_
of_ floatnode - 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[DwsCluster V1Public Endpoint Args] - 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 DwsCluster V1Public Ip Args - A nested object resource Structure is documented below.
- recent_
event float - The recent event number.
- security_
group_ strid - 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
Dws
Cluster V1Timeouts Args - 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.
- availability
Zone String - AZ in a cluster.
- created String
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
- dws
Cluster StringV1Id - Cluster ID
- endpoints List<Property Map>
- View the private network connection information about the cluster. Structure is documented below.
- keep
Last NumberManual Snapshot - 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.
- network
Id String - Network ID, which is used for configuring cluster network.
- node
Type String - Node type.
- number
Of NumberCn - number
Of NumberNode - 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.
- private
Ips List<String> - List of private network IP address.
- public
Endpoints 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.
- public
Ip Property Map - A nested object resource Structure is documented below.
- recent
Event Number - The recent event number.
- security
Group StringId - 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.
- sub
Status 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
- task
Status 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
- user
Name 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.
- user
Pwd 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.
- vpc
Id String - VPC ID, which is used for configuring cluster network.
Supporting Types
DwsClusterV1Endpoint, DwsClusterV1EndpointArgs
- Connect
Info string - (Optional, String) Private network connection information.
- Jdbc
Url string - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- Connect
Info string - (Optional, String) Private network connection information.
- Jdbc
Url string - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- connect
Info String - (Optional, String) Private network connection information.
- jdbc
Url String - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- connect
Info string - (Optional, String) Private network connection information.
- jdbc
Url 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>
- connect
Info String - (Optional, String) Private network connection information.
- jdbc
Url String - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
DwsClusterV1PublicEndpoint, DwsClusterV1PublicEndpointArgs
- Jdbc
Url string - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- Public
Connect stringInfo - (Optional, String) Public network connection information.
- Jdbc
Url string - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- Public
Connect stringInfo - (Optional, String) Public network connection information.
- jdbc
Url String - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- public
Connect StringInfo - (Optional, String) Public network connection information.
- jdbc
Url string - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- public
Connect stringInfo - (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_ strinfo - (Optional, String) Public network connection information.
- jdbc
Url String - (Optional, String) JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- public
Connect StringInfo - (Optional, String) Public network connection information.
DwsClusterV1PublicIp, DwsClusterV1PublicIpArgs
- Eip
Id string - EIP ID.
- Public
Bind stringType - Binding type of an EIP. The value can be either of the following:
auto_assign
not_use
bind_existing
The default value isnot_use
.
- Eip
Id string - EIP ID.
- Public
Bind stringType - Binding type of an EIP. The value can be either of the following:
auto_assign
not_use
bind_existing
The default value isnot_use
.
- eip
Id String - EIP ID.
- public
Bind StringType - Binding type of an EIP. The value can be either of the following:
auto_assign
not_use
bind_existing
The default value isnot_use
.
- eip
Id string - EIP ID.
- public
Bind stringType - Binding type of an EIP. The value can be either of the following:
auto_assign
not_use
bind_existing
The default value isnot_use
.
- eip_
id str - EIP ID.
- public_
bind_ strtype - Binding type of an EIP. The value can be either of the following:
auto_assign
not_use
bind_existing
The default value isnot_use
.
- eip
Id String - EIP ID.
- public
Bind StringType - Binding type of an EIP. The value can be either of the following:
auto_assign
not_use
bind_existing
The default value isnot_use
.
DwsClusterV1Timeouts, DwsClusterV1TimeoutsArgs
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.