opentelekomcloud.DdmInstanceV1
Explore with Pulumi AI
Up-to-date reference of API arguments for DDM instance you can get at documentation portal
Manages DDM instance resource within OpenTelekomCloud
Example Usage
Creating A Basic DDM Instance With 2 Nodes
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const flavorId = config.requireObject("flavorId");
const engineId = config.requireObject("engineId");
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const securityGroupId = config.requireObject("securityGroupId");
const instance1 = new opentelekomcloud.DdmInstanceV1("instance1", {
availabilityZones: [
"eu-de-01",
"eu-de-02",
"eu-de-03",
],
flavorId: flavorId,
nodeNum: 2,
engineId: engineId,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: _var.security_group.id,
purgeRdsOnDelete: true,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
flavor_id = config.require_object("flavorId")
engine_id = config.require_object("engineId")
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
instance1 = opentelekomcloud.DdmInstanceV1("instance1",
availability_zones=[
"eu-de-01",
"eu-de-02",
"eu-de-03",
],
flavor_id=flavor_id,
node_num=2,
engine_id=engine_id,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=var["security_group"]["id"],
purge_rds_on_delete=True)
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, "")
flavorId := cfg.RequireObject("flavorId")
engineId := cfg.RequireObject("engineId")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
_, err := opentelekomcloud.NewDdmInstanceV1(ctx, "instance1", &opentelekomcloud.DdmInstanceV1Args{
AvailabilityZones: pulumi.StringArray{
pulumi.String("eu-de-01"),
pulumi.String("eu-de-02"),
pulumi.String("eu-de-03"),
},
FlavorId: pulumi.Any(flavorId),
NodeNum: pulumi.Float64(2),
EngineId: pulumi.Any(engineId),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(_var.Security_group.Id),
PurgeRdsOnDelete: pulumi.Bool(true),
})
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 flavorId = config.RequireObject<dynamic>("flavorId");
var engineId = config.RequireObject<dynamic>("engineId");
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var instance1 = new Opentelekomcloud.DdmInstanceV1("instance1", new()
{
AvailabilityZones = new[]
{
"eu-de-01",
"eu-de-02",
"eu-de-03",
},
FlavorId = flavorId,
NodeNum = 2,
EngineId = engineId,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = @var.Security_group.Id,
PurgeRdsOnDelete = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DdmInstanceV1;
import com.pulumi.opentelekomcloud.DdmInstanceV1Args;
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 flavorId = config.get("flavorId");
final var engineId = config.get("engineId");
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
var instance1 = new DdmInstanceV1("instance1", DdmInstanceV1Args.builder()
.availabilityZones(
"eu-de-01",
"eu-de-02",
"eu-de-03")
.flavorId(flavorId)
.nodeNum(2)
.engineId(engineId)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(var_.security_group().id())
.purgeRdsOnDelete(true)
.build());
}
}
configuration:
flavorId:
type: dynamic
engineId:
type: dynamic
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
resources:
instance1:
type: opentelekomcloud:DdmInstanceV1
properties:
availabilityZones:
- eu-de-01
- eu-de-02
- eu-de-03
flavorId: ${flavorId}
nodeNum: 2
engineId: ${engineId}
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${var.security_group.id}
purgeRdsOnDelete: true
Creating A DDM Instance With Custom Credentials
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const flavorId = config.requireObject("flavorId");
const engineId = config.requireObject("engineId");
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const securityGroupId = config.requireObject("securityGroupId");
const username = config.requireObject("username");
const password = config.requireObject("password");
const instance1 = new opentelekomcloud.DdmInstanceV1("instance1", {
availabilityZones: [
"eu-de-01",
"eu-de-02",
"eu-de-03",
],
flavorId: flavorId,
nodeNum: 2,
engineId: engineId,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: _var.security_group.id,
purgeRdsOnDelete: true,
username: username,
password: password,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
flavor_id = config.require_object("flavorId")
engine_id = config.require_object("engineId")
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
username = config.require_object("username")
password = config.require_object("password")
instance1 = opentelekomcloud.DdmInstanceV1("instance1",
availability_zones=[
"eu-de-01",
"eu-de-02",
"eu-de-03",
],
flavor_id=flavor_id,
node_num=2,
engine_id=engine_id,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=var["security_group"]["id"],
purge_rds_on_delete=True,
username=username,
password=password)
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, "")
flavorId := cfg.RequireObject("flavorId")
engineId := cfg.RequireObject("engineId")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
username := cfg.RequireObject("username")
password := cfg.RequireObject("password")
_, err := opentelekomcloud.NewDdmInstanceV1(ctx, "instance1", &opentelekomcloud.DdmInstanceV1Args{
AvailabilityZones: pulumi.StringArray{
pulumi.String("eu-de-01"),
pulumi.String("eu-de-02"),
pulumi.String("eu-de-03"),
},
FlavorId: pulumi.Any(flavorId),
NodeNum: pulumi.Float64(2),
EngineId: pulumi.Any(engineId),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(_var.Security_group.Id),
PurgeRdsOnDelete: pulumi.Bool(true),
Username: pulumi.Any(username),
Password: pulumi.Any(password),
})
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 flavorId = config.RequireObject<dynamic>("flavorId");
var engineId = config.RequireObject<dynamic>("engineId");
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var username = config.RequireObject<dynamic>("username");
var password = config.RequireObject<dynamic>("password");
var instance1 = new Opentelekomcloud.DdmInstanceV1("instance1", new()
{
AvailabilityZones = new[]
{
"eu-de-01",
"eu-de-02",
"eu-de-03",
},
FlavorId = flavorId,
NodeNum = 2,
EngineId = engineId,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = @var.Security_group.Id,
PurgeRdsOnDelete = true,
Username = username,
Password = password,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DdmInstanceV1;
import com.pulumi.opentelekomcloud.DdmInstanceV1Args;
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 flavorId = config.get("flavorId");
final var engineId = config.get("engineId");
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
final var username = config.get("username");
final var password = config.get("password");
var instance1 = new DdmInstanceV1("instance1", DdmInstanceV1Args.builder()
.availabilityZones(
"eu-de-01",
"eu-de-02",
"eu-de-03")
.flavorId(flavorId)
.nodeNum(2)
.engineId(engineId)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(var_.security_group().id())
.purgeRdsOnDelete(true)
.username(username)
.password(password)
.build());
}
}
configuration:
flavorId:
type: dynamic
engineId:
type: dynamic
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
username:
type: dynamic
password:
type: dynamic
resources:
instance1:
type: opentelekomcloud:DdmInstanceV1
properties:
availabilityZones:
- eu-de-01
- eu-de-02
- eu-de-03
flavorId: ${flavorId}
nodeNum: 2
engineId: ${engineId}
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${var.security_group.id}
purgeRdsOnDelete: true
username: ${username}
password: ${password}
Creating A DDM Instance With Custom Time Zone
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const flavorId = config.requireObject("flavorId");
const engineId = config.requireObject("engineId");
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const securityGroupId = config.requireObject("securityGroupId");
const instance1 = new opentelekomcloud.DdmInstanceV1("instance1", {
availabilityZones: [
"eu-de-01",
"eu-de-02",
"eu-de-03",
],
flavorId: flavorId,
nodeNum: 2,
engineId: engineId,
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: _var.security_group.id,
purgeRdsOnDelete: true,
timeZone: "UTC+01:00",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
flavor_id = config.require_object("flavorId")
engine_id = config.require_object("engineId")
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
instance1 = opentelekomcloud.DdmInstanceV1("instance1",
availability_zones=[
"eu-de-01",
"eu-de-02",
"eu-de-03",
],
flavor_id=flavor_id,
node_num=2,
engine_id=engine_id,
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=var["security_group"]["id"],
purge_rds_on_delete=True,
time_zone="UTC+01:00")
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, "")
flavorId := cfg.RequireObject("flavorId")
engineId := cfg.RequireObject("engineId")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
_, err := opentelekomcloud.NewDdmInstanceV1(ctx, "instance1", &opentelekomcloud.DdmInstanceV1Args{
AvailabilityZones: pulumi.StringArray{
pulumi.String("eu-de-01"),
pulumi.String("eu-de-02"),
pulumi.String("eu-de-03"),
},
FlavorId: pulumi.Any(flavorId),
NodeNum: pulumi.Float64(2),
EngineId: pulumi.Any(engineId),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(_var.Security_group.Id),
PurgeRdsOnDelete: pulumi.Bool(true),
TimeZone: pulumi.String("UTC+01:00"),
})
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 flavorId = config.RequireObject<dynamic>("flavorId");
var engineId = config.RequireObject<dynamic>("engineId");
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var instance1 = new Opentelekomcloud.DdmInstanceV1("instance1", new()
{
AvailabilityZones = new[]
{
"eu-de-01",
"eu-de-02",
"eu-de-03",
},
FlavorId = flavorId,
NodeNum = 2,
EngineId = engineId,
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = @var.Security_group.Id,
PurgeRdsOnDelete = true,
TimeZone = "UTC+01:00",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DdmInstanceV1;
import com.pulumi.opentelekomcloud.DdmInstanceV1Args;
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 flavorId = config.get("flavorId");
final var engineId = config.get("engineId");
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
var instance1 = new DdmInstanceV1("instance1", DdmInstanceV1Args.builder()
.availabilityZones(
"eu-de-01",
"eu-de-02",
"eu-de-03")
.flavorId(flavorId)
.nodeNum(2)
.engineId(engineId)
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(var_.security_group().id())
.purgeRdsOnDelete(true)
.timeZone("UTC+01:00")
.build());
}
}
configuration:
flavorId:
type: dynamic
engineId:
type: dynamic
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
resources:
instance1:
type: opentelekomcloud:DdmInstanceV1
properties:
availabilityZones:
- eu-de-01
- eu-de-02
- eu-de-03
flavorId: ${flavorId}
nodeNum: 2
engineId: ${engineId}
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${var.security_group.id}
purgeRdsOnDelete: true
timeZone: UTC+01:00
Notes
But due to some attributes missing from the API response, it’s required to ignore changes as below:
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
// ...
const instance1 = new opentelekomcloud.DdmInstanceV1("instance1", {});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
# ...
instance1 = opentelekomcloud.DdmInstanceV1("instance1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// ...
_, err := opentelekomcloud.NewDdmInstanceV1(ctx, "instance1", nil)
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 instance1 = new Opentelekomcloud.DdmInstanceV1("instance1");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DdmInstanceV1;
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) {
// ...
var instance1 = new DdmInstanceV1("instance1");
}
}
resources:
instance1:
type: opentelekomcloud:DdmInstanceV1
Create DdmInstanceV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DdmInstanceV1(name: string, args: DdmInstanceV1Args, opts?: CustomResourceOptions);
@overload
def DdmInstanceV1(resource_name: str,
args: DdmInstanceV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def DdmInstanceV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
security_group_id: Optional[str] = None,
subnet_id: Optional[str] = None,
engine_id: Optional[str] = None,
flavor_id: Optional[str] = None,
vpc_id: Optional[str] = None,
node_num: Optional[float] = None,
availability_zones: Optional[Sequence[str]] = None,
name: Optional[str] = None,
param_group_id: Optional[str] = None,
ddm_instance_v1_id: Optional[str] = None,
password: Optional[str] = None,
time_zone: Optional[str] = None,
timeouts: Optional[DdmInstanceV1TimeoutsArgs] = None,
username: Optional[str] = None,
purge_rds_on_delete: Optional[bool] = None)
func NewDdmInstanceV1(ctx *Context, name string, args DdmInstanceV1Args, opts ...ResourceOption) (*DdmInstanceV1, error)
public DdmInstanceV1(string name, DdmInstanceV1Args args, CustomResourceOptions? opts = null)
public DdmInstanceV1(String name, DdmInstanceV1Args args)
public DdmInstanceV1(String name, DdmInstanceV1Args args, CustomResourceOptions options)
type: opentelekomcloud:DdmInstanceV1
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 DdmInstanceV1Args
- 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 DdmInstanceV1Args
- 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 DdmInstanceV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DdmInstanceV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DdmInstanceV1Args
- 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 ddmInstanceV1Resource = new Opentelekomcloud.DdmInstanceV1("ddmInstanceV1Resource", new()
{
SecurityGroupId = "string",
SubnetId = "string",
EngineId = "string",
FlavorId = "string",
VpcId = "string",
NodeNum = 0,
AvailabilityZones = new[]
{
"string",
},
Name = "string",
ParamGroupId = "string",
DdmInstanceV1Id = "string",
Password = "string",
TimeZone = "string",
Timeouts = new Opentelekomcloud.Inputs.DdmInstanceV1TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Username = "string",
PurgeRdsOnDelete = false,
});
example, err := opentelekomcloud.NewDdmInstanceV1(ctx, "ddmInstanceV1Resource", &opentelekomcloud.DdmInstanceV1Args{
SecurityGroupId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
EngineId: pulumi.String("string"),
FlavorId: pulumi.String("string"),
VpcId: pulumi.String("string"),
NodeNum: pulumi.Float64(0),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
ParamGroupId: pulumi.String("string"),
DdmInstanceV1Id: pulumi.String("string"),
Password: pulumi.String("string"),
TimeZone: pulumi.String("string"),
Timeouts: &opentelekomcloud.DdmInstanceV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Username: pulumi.String("string"),
PurgeRdsOnDelete: pulumi.Bool(false),
})
var ddmInstanceV1Resource = new DdmInstanceV1("ddmInstanceV1Resource", DdmInstanceV1Args.builder()
.securityGroupId("string")
.subnetId("string")
.engineId("string")
.flavorId("string")
.vpcId("string")
.nodeNum(0)
.availabilityZones("string")
.name("string")
.paramGroupId("string")
.ddmInstanceV1Id("string")
.password("string")
.timeZone("string")
.timeouts(DdmInstanceV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.username("string")
.purgeRdsOnDelete(false)
.build());
ddm_instance_v1_resource = opentelekomcloud.DdmInstanceV1("ddmInstanceV1Resource",
security_group_id="string",
subnet_id="string",
engine_id="string",
flavor_id="string",
vpc_id="string",
node_num=0,
availability_zones=["string"],
name="string",
param_group_id="string",
ddm_instance_v1_id="string",
password="string",
time_zone="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
username="string",
purge_rds_on_delete=False)
const ddmInstanceV1Resource = new opentelekomcloud.DdmInstanceV1("ddmInstanceV1Resource", {
securityGroupId: "string",
subnetId: "string",
engineId: "string",
flavorId: "string",
vpcId: "string",
nodeNum: 0,
availabilityZones: ["string"],
name: "string",
paramGroupId: "string",
ddmInstanceV1Id: "string",
password: "string",
timeZone: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
username: "string",
purgeRdsOnDelete: false,
});
type: opentelekomcloud:DdmInstanceV1
properties:
availabilityZones:
- string
ddmInstanceV1Id: string
engineId: string
flavorId: string
name: string
nodeNum: 0
paramGroupId: string
password: string
purgeRdsOnDelete: false
securityGroupId: string
subnetId: string
timeZone: string
timeouts:
create: string
delete: string
update: string
username: string
vpcId: string
DdmInstanceV1 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 DdmInstanceV1 resource accepts the following input properties:
- Availability
Zones List<string> - Specifies the list of availability zones.
- Engine
Id string - Specifies the Engine ID of the instance.
- Flavor
Id string - Specifies the flavor ID of the instance nodes.
- Node
Num double - Specifies the disk encryption ID of the instance.
- Security
Group stringId - Specifies the security group ID of the DDM instance.
- Subnet
Id string - Specifies the subnet Network ID.
- Vpc
Id string - Specifies the VPC ID.
- Ddm
Instance stringV1Id - Name string
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- Param
Group stringId - Specifies the parameters group ID.
- Password string
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - Purge
Rds boolOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - Time
Zone string - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- Timeouts
Ddm
Instance V1Timeouts - Username string
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- Availability
Zones []string - Specifies the list of availability zones.
- Engine
Id string - Specifies the Engine ID of the instance.
- Flavor
Id string - Specifies the flavor ID of the instance nodes.
- Node
Num float64 - Specifies the disk encryption ID of the instance.
- Security
Group stringId - Specifies the security group ID of the DDM instance.
- Subnet
Id string - Specifies the subnet Network ID.
- Vpc
Id string - Specifies the VPC ID.
- Ddm
Instance stringV1Id - Name string
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- Param
Group stringId - Specifies the parameters group ID.
- Password string
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - Purge
Rds boolOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - Time
Zone string - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- Timeouts
Ddm
Instance V1Timeouts Args - Username string
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- availability
Zones List<String> - Specifies the list of availability zones.
- engine
Id String - Specifies the Engine ID of the instance.
- flavor
Id String - Specifies the flavor ID of the instance nodes.
- node
Num Double - Specifies the disk encryption ID of the instance.
- security
Group StringId - Specifies the security group ID of the DDM instance.
- subnet
Id String - Specifies the subnet Network ID.
- vpc
Id String - Specifies the VPC ID.
- ddm
Instance StringV1Id - name String
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- param
Group StringId - Specifies the parameters group ID.
- password String
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge
Rds BooleanOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - time
Zone String - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts
Ddm
Instance V1Timeouts - username String
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- availability
Zones string[] - Specifies the list of availability zones.
- engine
Id string - Specifies the Engine ID of the instance.
- flavor
Id string - Specifies the flavor ID of the instance nodes.
- node
Num number - Specifies the disk encryption ID of the instance.
- security
Group stringId - Specifies the security group ID of the DDM instance.
- subnet
Id string - Specifies the subnet Network ID.
- vpc
Id string - Specifies the VPC ID.
- ddm
Instance stringV1Id - name string
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- param
Group stringId - Specifies the parameters group ID.
- password string
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge
Rds booleanOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - time
Zone string - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts
Ddm
Instance V1Timeouts - username string
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- availability_
zones Sequence[str] - Specifies the list of availability zones.
- engine_
id str - Specifies the Engine ID of the instance.
- flavor_
id str - Specifies the flavor ID of the instance nodes.
- node_
num float - Specifies the disk encryption ID of the instance.
- security_
group_ strid - Specifies the security group ID of the DDM instance.
- subnet_
id str - Specifies the subnet Network ID.
- vpc_
id str - Specifies the VPC ID.
- ddm_
instance_ strv1_ id - name str
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- param_
group_ strid - Specifies the parameters group ID.
- password str
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge_
rds_ boolon_ delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - time_
zone str - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts
Ddm
Instance V1Timeouts Args - username str
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- availability
Zones List<String> - Specifies the list of availability zones.
- engine
Id String - Specifies the Engine ID of the instance.
- flavor
Id String - Specifies the flavor ID of the instance nodes.
- node
Num Number - Specifies the disk encryption ID of the instance.
- security
Group StringId - Specifies the security group ID of the DDM instance.
- subnet
Id String - Specifies the subnet Network ID.
- vpc
Id String - Specifies the VPC ID.
- ddm
Instance StringV1Id - name String
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- param
Group StringId - Specifies the parameters group ID.
- password String
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge
Rds BooleanOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - time
Zone String - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts Property Map
- username String
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
Outputs
All input properties are implicitly available as output properties. Additionally, the DdmInstanceV1 resource produces the following output properties:
- Access
Ip string - Access
Port string - Indicates the DDM access port.
- Availability
Zone string - Indicates the availability zone of DDM instance.
- Created
At string - Indicates the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Status string - Indicates the DDM nodes status.
- Nodes
List<Ddm
Instance V1Node> - Indicates the instance nodes information. Structure is documented below.
- Region string
- The region of the DDM instance.
- Status string
- Indicates the node status.
- Updated
At string - Indicates the update time.
- Access
Ip string - Access
Port string - Indicates the DDM access port.
- Availability
Zone string - Indicates the availability zone of DDM instance.
- Created
At string - Indicates the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Status string - Indicates the DDM nodes status.
- Nodes
[]Ddm
Instance V1Node - Indicates the instance nodes information. Structure is documented below.
- Region string
- The region of the DDM instance.
- Status string
- Indicates the node status.
- Updated
At string - Indicates the update time.
- access
Ip String - access
Port String - Indicates the DDM access port.
- availability
Zone String - Indicates the availability zone of DDM instance.
- created
At String - Indicates the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Status String - Indicates the DDM nodes status.
- nodes
List<Ddm
Instance V1Node> - Indicates the instance nodes information. Structure is documented below.
- region String
- The region of the DDM instance.
- status String
- Indicates the node status.
- updated
At String - Indicates the update time.
- access
Ip string - access
Port string - Indicates the DDM access port.
- availability
Zone string - Indicates the availability zone of DDM instance.
- created
At string - Indicates the creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- node
Status string - Indicates the DDM nodes status.
- nodes
Ddm
Instance V1Node[] - Indicates the instance nodes information. Structure is documented below.
- region string
- The region of the DDM instance.
- status string
- Indicates the node status.
- updated
At string - Indicates the update time.
- access_
ip str - access_
port str - Indicates the DDM access port.
- availability_
zone str - Indicates the availability zone of DDM instance.
- created_
at str - Indicates the creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- node_
status str - Indicates the DDM nodes status.
- nodes
Sequence[Ddm
Instance V1Node] - Indicates the instance nodes information. Structure is documented below.
- region str
- The region of the DDM instance.
- status str
- Indicates the node status.
- updated_
at str - Indicates the update time.
- access
Ip String - access
Port String - Indicates the DDM access port.
- availability
Zone String - Indicates the availability zone of DDM instance.
- created
At String - Indicates the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- node
Status String - Indicates the DDM nodes status.
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- region String
- The region of the DDM instance.
- status String
- Indicates the node status.
- updated
At String - Indicates the update time.
Look up Existing DdmInstanceV1 Resource
Get an existing DdmInstanceV1 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?: DdmInstanceV1State, opts?: CustomResourceOptions): DdmInstanceV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_ip: Optional[str] = None,
access_port: Optional[str] = None,
availability_zone: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
created_at: Optional[str] = None,
ddm_instance_v1_id: Optional[str] = None,
engine_id: Optional[str] = None,
flavor_id: Optional[str] = None,
name: Optional[str] = None,
node_num: Optional[float] = None,
node_status: Optional[str] = None,
nodes: Optional[Sequence[DdmInstanceV1NodeArgs]] = None,
param_group_id: Optional[str] = None,
password: Optional[str] = None,
purge_rds_on_delete: Optional[bool] = None,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
time_zone: Optional[str] = None,
timeouts: Optional[DdmInstanceV1TimeoutsArgs] = None,
updated_at: Optional[str] = None,
username: Optional[str] = None,
vpc_id: Optional[str] = None) -> DdmInstanceV1
func GetDdmInstanceV1(ctx *Context, name string, id IDInput, state *DdmInstanceV1State, opts ...ResourceOption) (*DdmInstanceV1, error)
public static DdmInstanceV1 Get(string name, Input<string> id, DdmInstanceV1State? state, CustomResourceOptions? opts = null)
public static DdmInstanceV1 get(String name, Output<String> id, DdmInstanceV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:DdmInstanceV1 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.
- Access
Ip string - Access
Port string - Indicates the DDM access port.
- Availability
Zone string - Indicates the availability zone of DDM instance.
- Availability
Zones List<string> - Specifies the list of availability zones.
- Created
At string - Indicates the creation time.
- Ddm
Instance stringV1Id - Engine
Id string - Specifies the Engine ID of the instance.
- Flavor
Id string - Specifies the flavor ID of the instance nodes.
- Name string
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- Node
Num double - Specifies the disk encryption ID of the instance.
- Node
Status string - Indicates the DDM nodes status.
- Nodes
List<Ddm
Instance V1Node> - Indicates the instance nodes information. Structure is documented below.
- Param
Group stringId - Specifies the parameters group ID.
- Password string
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - Purge
Rds boolOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - Region string
- The region of the DDM instance.
- Security
Group stringId - Specifies the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the subnet Network ID.
- Time
Zone string - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- Timeouts
Ddm
Instance V1Timeouts - Updated
At string - Indicates the update time.
- Username string
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- Vpc
Id string - Specifies the VPC ID.
- Access
Ip string - Access
Port string - Indicates the DDM access port.
- Availability
Zone string - Indicates the availability zone of DDM instance.
- Availability
Zones []string - Specifies the list of availability zones.
- Created
At string - Indicates the creation time.
- Ddm
Instance stringV1Id - Engine
Id string - Specifies the Engine ID of the instance.
- Flavor
Id string - Specifies the flavor ID of the instance nodes.
- Name string
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- Node
Num float64 - Specifies the disk encryption ID of the instance.
- Node
Status string - Indicates the DDM nodes status.
- Nodes
[]Ddm
Instance V1Node Args - Indicates the instance nodes information. Structure is documented below.
- Param
Group stringId - Specifies the parameters group ID.
- Password string
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - Purge
Rds boolOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - Region string
- The region of the DDM instance.
- Security
Group stringId - Specifies the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- Subnet
Id string - Specifies the subnet Network ID.
- Time
Zone string - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- Timeouts
Ddm
Instance V1Timeouts Args - Updated
At string - Indicates the update time.
- Username string
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- Vpc
Id string - Specifies the VPC ID.
- access
Ip String - access
Port String - Indicates the DDM access port.
- availability
Zone String - Indicates the availability zone of DDM instance.
- availability
Zones List<String> - Specifies the list of availability zones.
- created
At String - Indicates the creation time.
- ddm
Instance StringV1Id - engine
Id String - Specifies the Engine ID of the instance.
- flavor
Id String - Specifies the flavor ID of the instance nodes.
- name String
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- node
Num Double - Specifies the disk encryption ID of the instance.
- node
Status String - Indicates the DDM nodes status.
- nodes
List<Ddm
Instance V1Node> - Indicates the instance nodes information. Structure is documented below.
- param
Group StringId - Specifies the parameters group ID.
- password String
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge
Rds BooleanOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - region String
- The region of the DDM instance.
- security
Group StringId - Specifies the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the subnet Network ID.
- time
Zone String - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts
Ddm
Instance V1Timeouts - updated
At String - Indicates the update time.
- username String
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- vpc
Id String - Specifies the VPC ID.
- access
Ip string - access
Port string - Indicates the DDM access port.
- availability
Zone string - Indicates the availability zone of DDM instance.
- availability
Zones string[] - Specifies the list of availability zones.
- created
At string - Indicates the creation time.
- ddm
Instance stringV1Id - engine
Id string - Specifies the Engine ID of the instance.
- flavor
Id string - Specifies the flavor ID of the instance nodes.
- name string
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- node
Num number - Specifies the disk encryption ID of the instance.
- node
Status string - Indicates the DDM nodes status.
- nodes
Ddm
Instance V1Node[] - Indicates the instance nodes information. Structure is documented below.
- param
Group stringId - Specifies the parameters group ID.
- password string
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge
Rds booleanOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - region string
- The region of the DDM instance.
- security
Group stringId - Specifies the security group ID of the DDM instance.
- status string
- Indicates the node status.
- subnet
Id string - Specifies the subnet Network ID.
- time
Zone string - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts
Ddm
Instance V1Timeouts - updated
At string - Indicates the update time.
- username string
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- vpc
Id string - Specifies the VPC ID.
- access_
ip str - access_
port str - Indicates the DDM access port.
- availability_
zone str - Indicates the availability zone of DDM instance.
- availability_
zones Sequence[str] - Specifies the list of availability zones.
- created_
at str - Indicates the creation time.
- ddm_
instance_ strv1_ id - engine_
id str - Specifies the Engine ID of the instance.
- flavor_
id str - Specifies the flavor ID of the instance nodes.
- name str
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- node_
num float - Specifies the disk encryption ID of the instance.
- node_
status str - Indicates the DDM nodes status.
- nodes
Sequence[Ddm
Instance V1Node Args] - Indicates the instance nodes information. Structure is documented below.
- param_
group_ strid - Specifies the parameters group ID.
- password str
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge_
rds_ boolon_ delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - region str
- The region of the DDM instance.
- security_
group_ strid - Specifies the security group ID of the DDM instance.
- status str
- Indicates the node status.
- subnet_
id str - Specifies the subnet Network ID.
- time_
zone str - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts
Ddm
Instance V1Timeouts Args - updated_
at str - Indicates the update time.
- username str
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- vpc_
id str - Specifies the VPC ID.
- access
Ip String - access
Port String - Indicates the DDM access port.
- availability
Zone String - Indicates the availability zone of DDM instance.
- availability
Zones List<String> - Specifies the list of availability zones.
- created
At String - Indicates the creation time.
- ddm
Instance StringV1Id - engine
Id String - Specifies the Engine ID of the instance.
- flavor
Id String - Specifies the flavor ID of the instance nodes.
- name String
- Specifies the DDM instance name. The DDM instance name of the same type is unique in the same tenant. It can be 4 to 64 characters long. It must start with a letter and it can only contain etters, digits, and hyphens (-).
- node
Num Number - Specifies the disk encryption ID of the instance.
- node
Status String - Indicates the DDM nodes status.
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- param
Group StringId - Specifies the parameters group ID.
- password String
- Specifies the Administrator password of the DDM instance. it can be 8 to 32 characters long. It must be a combination of uppercase letters, lowercase letters, digits, and the following special characters:
~ ! @ # % ^ * - _ = + ?
. It must be a strong password to improve security and prevent security risks such as brute force cracking. - purge
Rds BooleanOn Delete - Specifies whether data stored on the associated DB instances is deleted. The value can be:
true
orfalse
(default). - region String
- The region of the DDM instance.
- security
Group StringId - Specifies the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnet
Id String - Specifies the subnet Network ID.
- time
Zone String - Specifies the timezone. Valid formats are
UTC+12:00
,UTC+11:00
, ... ,UTC+01:00
,UTC
,UTC-01:00
, ... ,UTC-11:00
,UTC-12:00
- timeouts Property Map
- updated
At String - Indicates the update time.
- username String
- Specifies the Administrator username of the DDM instance. It can be 1 to 32 characters long and can contain letters, digits, and underscores (_). It must start with a letter.
- vpc
Id String - Specifies the VPC ID.
Supporting Types
DdmInstanceV1Node, DdmInstanceV1NodeArgs
DdmInstanceV1Timeouts, DdmInstanceV1TimeoutsArgs
Import
DDMv1 Instance can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/ddmInstanceV1:DdmInstanceV1 instance_1 c1851195-cdcb-4d23-96cb-032e6a3ee667
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.