flexibleengine.DwsClusterV1
Explore with Pulumi AI
Manages a DWS cluster resource within FlexibleEngine.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const flavor = flexibleengine.getDwsFlavors({
availabilityZone: "eu-west-0a",
vcpus: 8,
});
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const exampleSubnet = new flexibleengine.VpcSubnetV1("exampleSubnet", {
cidr: "192.168.0.0/24",
gatewayIp: "192.168.0.1",
vpcId: exampleVpc.vpcV1Id,
});
const exampleSecgroup = new flexibleengine.NetworkingSecgroupV2("exampleSecgroup", {description: "My neutron security group"});
const cluster = new flexibleengine.DwsClusterV1("cluster", {
nodeType: data.flexibleengine_dws_flavors.test.flavors[0].flavor_id,
numberOfNode: 3,
userName: "cluster_admin",
userPwd: "Cluster123@!",
vpcId: exampleVpc.vpcV1Id,
subnetId: exampleSubnet.vpcSubnetV1Id,
securityGroupId: exampleSecgroup.networkingSecgroupV2Id,
availabilityZone: "eu-west-0a",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
flavor = flexibleengine.get_dws_flavors(availability_zone="eu-west-0a",
vcpus=8)
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
example_subnet = flexibleengine.VpcSubnetV1("exampleSubnet",
cidr="192.168.0.0/24",
gateway_ip="192.168.0.1",
vpc_id=example_vpc.vpc_v1_id)
example_secgroup = flexibleengine.NetworkingSecgroupV2("exampleSecgroup", description="My neutron security group")
cluster = flexibleengine.DwsClusterV1("cluster",
node_type=data["flexibleengine_dws_flavors"]["test"]["flavors"][0]["flavor_id"],
number_of_node=3,
user_name="cluster_admin",
user_pwd="Cluster123@!",
vpc_id=example_vpc.vpc_v1_id,
subnet_id=example_subnet.vpc_subnet_v1_id,
security_group_id=example_secgroup.networking_secgroup_v2_id,
availability_zone="eu-west-0a")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetDwsFlavors(ctx, &flexibleengine.GetDwsFlavorsArgs{
AvailabilityZone: pulumi.StringRef("eu-west-0a"),
Vcpus: pulumi.Float64Ref(8),
}, nil)
if err != nil {
return err
}
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
exampleSubnet, err := flexibleengine.NewVpcSubnetV1(ctx, "exampleSubnet", &flexibleengine.VpcSubnetV1Args{
Cidr: pulumi.String("192.168.0.0/24"),
GatewayIp: pulumi.String("192.168.0.1"),
VpcId: exampleVpc.VpcV1Id,
})
if err != nil {
return err
}
exampleSecgroup, err := flexibleengine.NewNetworkingSecgroupV2(ctx, "exampleSecgroup", &flexibleengine.NetworkingSecgroupV2Args{
Description: pulumi.String("My neutron security group"),
})
if err != nil {
return err
}
_, err = flexibleengine.NewDwsClusterV1(ctx, "cluster", &flexibleengine.DwsClusterV1Args{
NodeType: pulumi.Any(data.Flexibleengine_dws_flavors.Test.Flavors[0].Flavor_id),
NumberOfNode: pulumi.Float64(3),
UserName: pulumi.String("cluster_admin"),
UserPwd: pulumi.String("Cluster123@!"),
VpcId: exampleVpc.VpcV1Id,
SubnetId: exampleSubnet.VpcSubnetV1Id,
SecurityGroupId: exampleSecgroup.NetworkingSecgroupV2Id,
AvailabilityZone: pulumi.String("eu-west-0a"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var flavor = Flexibleengine.GetDwsFlavors.Invoke(new()
{
AvailabilityZone = "eu-west-0a",
Vcpus = 8,
});
var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
{
Cidr = "192.168.0.0/16",
});
var exampleSubnet = new Flexibleengine.VpcSubnetV1("exampleSubnet", new()
{
Cidr = "192.168.0.0/24",
GatewayIp = "192.168.0.1",
VpcId = exampleVpc.VpcV1Id,
});
var exampleSecgroup = new Flexibleengine.NetworkingSecgroupV2("exampleSecgroup", new()
{
Description = "My neutron security group",
});
var cluster = new Flexibleengine.DwsClusterV1("cluster", new()
{
NodeType = data.Flexibleengine_dws_flavors.Test.Flavors[0].Flavor_id,
NumberOfNode = 3,
UserName = "cluster_admin",
UserPwd = "Cluster123@!",
VpcId = exampleVpc.VpcV1Id,
SubnetId = exampleSubnet.VpcSubnetV1Id,
SecurityGroupId = exampleSecgroup.NetworkingSecgroupV2Id,
AvailabilityZone = "eu-west-0a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetDwsFlavorsArgs;
import com.pulumi.flexibleengine.VpcV1;
import com.pulumi.flexibleengine.VpcV1Args;
import com.pulumi.flexibleengine.VpcSubnetV1;
import com.pulumi.flexibleengine.VpcSubnetV1Args;
import com.pulumi.flexibleengine.NetworkingSecgroupV2;
import com.pulumi.flexibleengine.NetworkingSecgroupV2Args;
import com.pulumi.flexibleengine.DwsClusterV1;
import com.pulumi.flexibleengine.DwsClusterV1Args;
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 flavor = FlexibleengineFunctions.getDwsFlavors(GetDwsFlavorsArgs.builder()
.availabilityZone("eu-west-0a")
.vcpus(8)
.build());
var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
.cidr("192.168.0.0/16")
.build());
var exampleSubnet = new VpcSubnetV1("exampleSubnet", VpcSubnetV1Args.builder()
.cidr("192.168.0.0/24")
.gatewayIp("192.168.0.1")
.vpcId(exampleVpc.vpcV1Id())
.build());
var exampleSecgroup = new NetworkingSecgroupV2("exampleSecgroup", NetworkingSecgroupV2Args.builder()
.description("My neutron security group")
.build());
var cluster = new DwsClusterV1("cluster", DwsClusterV1Args.builder()
.nodeType(data.flexibleengine_dws_flavors().test().flavors()[0].flavor_id())
.numberOfNode(3)
.userName("cluster_admin")
.userPwd("Cluster123@!")
.vpcId(exampleVpc.vpcV1Id())
.subnetId(exampleSubnet.vpcSubnetV1Id())
.securityGroupId(exampleSecgroup.networkingSecgroupV2Id())
.availabilityZone("eu-west-0a")
.build());
}
}
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
exampleSubnet:
type: flexibleengine:VpcSubnetV1
properties:
cidr: 192.168.0.0/24
gatewayIp: 192.168.0.1
vpcId: ${exampleVpc.vpcV1Id}
exampleSecgroup:
type: flexibleengine:NetworkingSecgroupV2
properties:
description: My neutron security group
cluster:
type: flexibleengine:DwsClusterV1
properties:
nodeType: ${data.flexibleengine_dws_flavors.test.flavors[0].flavor_id}
numberOfNode: 3
userName: cluster_admin
userPwd: Cluster123@!
vpcId: ${exampleVpc.vpcV1Id}
subnetId: ${exampleSubnet.vpcSubnetV1Id}
securityGroupId: ${exampleSecgroup.networkingSecgroupV2Id}
availabilityZone: eu-west-0a
variables:
flavor:
fn::invoke:
function: flexibleengine:getDwsFlavors
arguments:
availabilityZone: eu-west-0a
vcpus: 8
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,
subnet_id: Optional[str] = None,
user_pwd: Optional[str] = None,
vpc_id: Optional[str] = None,
node_type: Optional[str] = None,
number_of_node: Optional[float] = None,
user_name: Optional[str] = None,
security_group_id: Optional[str] = None,
public_ip: Optional[DwsClusterV1PublicIpArgs] = None,
dws_cluster_v1_id: Optional[str] = None,
availability_zone: Optional[str] = None,
timeouts: Optional[DwsClusterV1TimeoutsArgs] = None,
port: Optional[float] = None,
region: Optional[str] = None,
name: Optional[str] = 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: flexibleengine: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 Flexibleengine.DwsClusterV1("dwsClusterV1Resource", new()
{
SubnetId = "string",
UserPwd = "string",
VpcId = "string",
NodeType = "string",
NumberOfNode = 0,
UserName = "string",
SecurityGroupId = "string",
PublicIp = new Flexibleengine.Inputs.DwsClusterV1PublicIpArgs
{
EipId = "string",
PublicBindType = "string",
},
DwsClusterV1Id = "string",
AvailabilityZone = "string",
Timeouts = new Flexibleengine.Inputs.DwsClusterV1TimeoutsArgs
{
Create = "string",
Delete = "string",
},
Port = 0,
Region = "string",
Name = "string",
});
example, err := flexibleengine.NewDwsClusterV1(ctx, "dwsClusterV1Resource", &flexibleengine.DwsClusterV1Args{
SubnetId: pulumi.String("string"),
UserPwd: pulumi.String("string"),
VpcId: pulumi.String("string"),
NodeType: pulumi.String("string"),
NumberOfNode: pulumi.Float64(0),
UserName: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
PublicIp: &flexibleengine.DwsClusterV1PublicIpArgs{
EipId: pulumi.String("string"),
PublicBindType: pulumi.String("string"),
},
DwsClusterV1Id: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
Timeouts: &flexibleengine.DwsClusterV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Port: pulumi.Float64(0),
Region: pulumi.String("string"),
Name: pulumi.String("string"),
})
var dwsClusterV1Resource = new DwsClusterV1("dwsClusterV1Resource", DwsClusterV1Args.builder()
.subnetId("string")
.userPwd("string")
.vpcId("string")
.nodeType("string")
.numberOfNode(0)
.userName("string")
.securityGroupId("string")
.publicIp(DwsClusterV1PublicIpArgs.builder()
.eipId("string")
.publicBindType("string")
.build())
.dwsClusterV1Id("string")
.availabilityZone("string")
.timeouts(DwsClusterV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.port(0)
.region("string")
.name("string")
.build());
dws_cluster_v1_resource = flexibleengine.DwsClusterV1("dwsClusterV1Resource",
subnet_id="string",
user_pwd="string",
vpc_id="string",
node_type="string",
number_of_node=0,
user_name="string",
security_group_id="string",
public_ip={
"eip_id": "string",
"public_bind_type": "string",
},
dws_cluster_v1_id="string",
availability_zone="string",
timeouts={
"create": "string",
"delete": "string",
},
port=0,
region="string",
name="string")
const dwsClusterV1Resource = new flexibleengine.DwsClusterV1("dwsClusterV1Resource", {
subnetId: "string",
userPwd: "string",
vpcId: "string",
nodeType: "string",
numberOfNode: 0,
userName: "string",
securityGroupId: "string",
publicIp: {
eipId: "string",
publicBindType: "string",
},
dwsClusterV1Id: "string",
availabilityZone: "string",
timeouts: {
create: "string",
"delete": "string",
},
port: 0,
region: "string",
name: "string",
});
type: flexibleengine:DwsClusterV1
properties:
availabilityZone: string
dwsClusterV1Id: string
name: string
nodeType: string
numberOfNode: 0
port: 0
publicIp:
eipId: string
publicBindType: string
region: string
securityGroupId: string
subnetId: string
timeouts:
create: string
delete: 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:
- Node
Type string - Node type.Changing this will create a new resource.
- Number
Of doubleNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- Security
Group stringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- Subnet
Id string - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- Vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- Availability
Zone string - AZ in a cluster.Changing this will create a new resource.
- Dws
Cluster stringV1Id - Cluster ID
- 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. Changing this will create a new resource.
- Port double
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- Public
Ip DwsCluster V1Public Ip Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- Region string
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- Timeouts
Dws
Cluster V1Timeouts
- Node
Type string - Node type.Changing this will create a new resource.
- Number
Of float64Node - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- Security
Group stringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- Subnet
Id string - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- Vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- Availability
Zone string - AZ in a cluster.Changing this will create a new resource.
- Dws
Cluster stringV1Id - Cluster ID
- 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. Changing this will create a new resource.
- Port float64
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- Public
Ip DwsCluster V1Public Ip Args Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- Region string
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- Timeouts
Dws
Cluster V1Timeouts Args
- node
Type String - Node type.Changing this will create a new resource.
- number
Of DoubleNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- security
Group StringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- subnet
Id String - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- vpc
Id String - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability
Zone String - AZ in a cluster.Changing this will create a new resource.
- dws
Cluster StringV1Id - Cluster ID
- 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. Changing this will create a new resource.
- port Double
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- public
Ip DwsCluster V1Public Ip Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region String
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- timeouts
Dws
Cluster V1Timeouts
- node
Type string - Node type.Changing this will create a new resource.
- number
Of numberNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- security
Group stringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- subnet
Id string - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability
Zone string - AZ in a cluster.Changing this will create a new resource.
- dws
Cluster stringV1Id - Cluster ID
- 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. Changing this will create a new resource.
- port number
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- public
Ip DwsCluster V1Public Ip Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region string
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- timeouts
Dws
Cluster V1Timeouts
- node_
type str - Node type.Changing this will create a new resource.
- number_
of_ floatnode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- security_
group_ strid - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- subnet_
id str - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- vpc_
id str - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability_
zone str - AZ in a cluster.Changing this will create a new resource.
- dws_
cluster_ strv1_ id - Cluster ID
- 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. Changing this will create a new resource.
- port float
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- public_
ip DwsCluster V1Public Ip Args Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region str
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- timeouts
Dws
Cluster V1Timeouts Args
- node
Type String - Node type.Changing this will create a new resource.
- number
Of NumberNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- security
Group StringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- subnet
Id String - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- vpc
Id String - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability
Zone String - AZ in a cluster.Changing this will create a new resource.
- dws
Cluster StringV1Id - Cluster ID
- 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. Changing this will create a new resource.
- port Number
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- public
Ip Property Map Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region String
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- 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.
- Endpoints
List<Dws
Cluster V1Endpoint> - The private network connection information about the cluster. The endpoints object structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ips List<string> - List of private network IP address.
- Public
Endpoints List<DwsCluster V1Public Endpoint> - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- Status string
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- Sub
Status string - Sub-status of clusters in the AVAILABLE state.
- Task
Status string - Cluster management task.
- 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.
- Endpoints
[]Dws
Cluster V1Endpoint - The private network connection information about the cluster. The endpoints object structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Ips []string - List of private network IP address.
- Public
Endpoints []DwsCluster V1Public Endpoint - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- Status string
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- Sub
Status string - Sub-status of clusters in the AVAILABLE state.
- Task
Status string - Cluster management task.
- 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.
- endpoints
List<Dws
Cluster V1Endpoint> - The private network connection information about the cluster. The endpoints object structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ips List<String> - List of private network IP address.
- public
Endpoints List<DwsCluster V1Public Endpoint> - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- status String
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub
Status String - Sub-status of clusters in the AVAILABLE state.
- task
Status String - Cluster management task.
- 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.
- endpoints
Dws
Cluster V1Endpoint[] - The private network connection information about the cluster. The endpoints object structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Ips string[] - List of private network IP address.
- public
Endpoints DwsCluster V1Public Endpoint[] - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- status string
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub
Status string - Sub-status of clusters in the AVAILABLE state.
- task
Status string - Cluster management task.
- 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.
- endpoints
Sequence[Dws
Cluster V1Endpoint] - The private network connection information about the cluster. The endpoints object structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
ips Sequence[str] - List of private network IP address.
- public_
endpoints Sequence[DwsCluster V1Public Endpoint] - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- status str
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub_
status str - Sub-status of clusters in the AVAILABLE state.
- task_
status str - Cluster management task.
- 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.
- endpoints List<Property Map>
- The private network connection information about the cluster. The endpoints object structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Ips List<String> - List of private network IP address.
- public
Endpoints List<Property Map> - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- status String
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub
Status String - Sub-status of clusters in the AVAILABLE state.
- task
Status String - Cluster management task.
- 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,
name: Optional[str] = None,
node_type: Optional[str] = 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,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
status: Optional[str] = None,
sub_status: Optional[str] = None,
subnet_id: 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: flexibleengine: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.Changing this will create a new resource.
- Created string
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
- Dws
Cluster stringV1Id - Cluster ID
- Endpoints
List<Dws
Cluster V1Endpoint> - The private network connection information about the cluster. The endpoints object structure is documented below.
- 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. Changing this will create a new resource.
- Node
Type string - Node type.Changing this will create a new resource.
- Number
Of doubleNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- Port double
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- Private
Ips List<string> - List of private network IP address.
- Public
Endpoints List<DwsCluster V1Public Endpoint> - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- Public
Ip DwsCluster V1Public Ip Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- Region string
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- Security
Group stringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- Status string
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- Sub
Status string - Sub-status of clusters in the AVAILABLE state.
- Subnet
Id string - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- Task
Status string - Cluster management task.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- Version string
- Data warehouse version
- Vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- Availability
Zone string - AZ in a cluster.Changing this will create a new resource.
- Created string
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
- Dws
Cluster stringV1Id - Cluster ID
- Endpoints
[]Dws
Cluster V1Endpoint Args - The private network connection information about the cluster. The endpoints object structure is documented below.
- 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. Changing this will create a new resource.
- Node
Type string - Node type.Changing this will create a new resource.
- Number
Of float64Node - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- Port float64
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- Private
Ips []string - List of private network IP address.
- Public
Endpoints []DwsCluster V1Public Endpoint Args - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- Public
Ip DwsCluster V1Public Ip Args Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- Region string
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- Security
Group stringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- Status string
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- Sub
Status string - Sub-status of clusters in the AVAILABLE state.
- Subnet
Id string - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- Task
Status string - Cluster management task.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- Version string
- Data warehouse version
- Vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability
Zone String - AZ in a cluster.Changing this will create a new resource.
- created String
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
- dws
Cluster StringV1Id - Cluster ID
- endpoints
List<Dws
Cluster V1Endpoint> - The private network connection information about the cluster. The endpoints object structure is documented below.
- 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. Changing this will create a new resource.
- node
Type String - Node type.Changing this will create a new resource.
- number
Of DoubleNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- port Double
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- private
Ips List<String> - List of private network IP address.
- public
Endpoints List<DwsCluster V1Public Endpoint> - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- public
Ip DwsCluster V1Public Ip Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region String
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- security
Group StringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- status String
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub
Status String - Sub-status of clusters in the AVAILABLE state.
- subnet
Id String - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- task
Status String - Cluster management task.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- version String
- Data warehouse version
- vpc
Id String - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability
Zone string - AZ in a cluster.Changing this will create a new resource.
- created string
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
- dws
Cluster stringV1Id - Cluster ID
- endpoints
Dws
Cluster V1Endpoint[] - The private network connection information about the cluster. The endpoints object structure is documented below.
- 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. Changing this will create a new resource.
- node
Type string - Node type.Changing this will create a new resource.
- number
Of numberNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- port number
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- private
Ips string[] - List of private network IP address.
- public
Endpoints DwsCluster V1Public Endpoint[] - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- public
Ip DwsCluster V1Public Ip Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region string
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- security
Group stringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- status string
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub
Status string - Sub-status of clusters in the AVAILABLE state.
- subnet
Id string - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- task
Status string - Cluster management task.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- version string
- Data warehouse version
- vpc
Id string - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability_
zone str - AZ in a cluster.Changing this will create a new resource.
- 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] - The private network connection information about the cluster. The endpoints object structure is documented below.
- 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. Changing this will create a new resource.
- node_
type str - Node type.Changing this will create a new resource.
- number_
of_ floatnode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- port float
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- private_
ips Sequence[str] - List of private network IP address.
- public_
endpoints Sequence[DwsCluster V1Public Endpoint Args] - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- public_
ip DwsCluster V1Public Ip Args Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region str
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- security_
group_ strid - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- status str
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub_
status str - Sub-status of clusters in the AVAILABLE state.
- subnet_
id str - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- task_
status str - Cluster management task.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- version str
- Data warehouse version
- vpc_
id str - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
- availability
Zone String - AZ in a cluster.Changing this will create a new resource.
- created String
- Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
- dws
Cluster StringV1Id - Cluster ID
- endpoints List<Property Map>
- The private network connection information about the cluster. The endpoints object structure is documented below.
- 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. Changing this will create a new resource.
- node
Type String - Node type.Changing this will create a new resource.
- number
Of NumberNode - Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
- port Number
- Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
- private
Ips List<String> - List of private network IP address.
- public
Endpoints List<Property Map> - The public network connection information about the cluster. The public_endpoints object structure is documented below.
- public
Ip Property Map Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.
The
public_ip
block supports:- region String
- Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
- security
Group StringId - ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
- status String
- Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
- sub
Status String - Sub-status of clusters in the AVAILABLE state.
- subnet
Id String - The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
- task
Status String - Cluster management task.
- 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. Changing this will create a new resource.
- 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 lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
- version String
- Data warehouse version
- vpc
Id String - VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
Supporting Types
DwsClusterV1Endpoint, DwsClusterV1EndpointArgs
- Connect
Info string - Private network connection information
- Jdbc
Url string - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- Connect
Info string - Private network connection information
- Jdbc
Url string - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- connect
Info String - Private network connection information
- jdbc
Url String - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- connect
Info string - Private network connection information
- jdbc
Url string - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- connect_
info str - Private network connection information
- jdbc_
url str - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- connect
Info String - Private network connection information
- jdbc
Url String - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
DwsClusterV1PublicEndpoint, DwsClusterV1PublicEndpointArgs
- Jdbc
Url string - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- Public
Connect stringInfo - Public network connection information
- Jdbc
Url string - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- Public
Connect stringInfo - Public network connection information
- jdbc
Url String - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- public
Connect StringInfo - Public network connection information
- jdbc
Url string - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- public
Connect stringInfo - Public network connection information
- jdbc_
url str - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- public_
connect_ strinfo - Public network connection information
- jdbc
Url String - JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
- public
Connect StringInfo - Public network connection information
DwsClusterV1PublicIp, DwsClusterV1PublicIpArgs
- Eip
Id string - EIP ID. Changing this will create a new resource.
- Public
Bind stringType - Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
- Eip
Id string - EIP ID. Changing this will create a new resource.
- Public
Bind stringType - Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
- eip
Id String - EIP ID. Changing this will create a new resource.
- public
Bind StringType - Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
- eip
Id string - EIP ID. Changing this will create a new resource.
- public
Bind stringType - Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
- eip_
id str - EIP ID. Changing this will create a new resource.
- public_
bind_ strtype - Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
- eip
Id String - EIP ID. Changing this will create a new resource.
- public
Bind StringType - Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
DwsClusterV1Timeouts, DwsClusterV1TimeoutsArgs
Import
DWS cluster can be imported using the id
, e.g.
$ pulumi import flexibleengine:index/dwsClusterV1:DwsClusterV1 cluster 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.