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: &.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:
- AvailabilityZones List<string>
- Specifies the list of availability zones.
- EngineId string
- Specifies the Engine ID of the instance.
- FlavorId string
- Specifies the flavor ID of the instance nodes.
- NodeNum double
- Specifies the disk encryption ID of the instance.
- SecurityGroup stringId 
- Specifies the security group ID of the DDM instance.
- SubnetId string
- Specifies the subnet Network ID.
- VpcId string
- Specifies the VPC ID.
- DdmInstance 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 (-).
- ParamGroup 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.
- PurgeRds boolOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- TimeZone 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
DdmInstance 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.
- AvailabilityZones []string
- Specifies the list of availability zones.
- EngineId string
- Specifies the Engine ID of the instance.
- FlavorId string
- Specifies the flavor ID of the instance nodes.
- NodeNum float64
- Specifies the disk encryption ID of the instance.
- SecurityGroup stringId 
- Specifies the security group ID of the DDM instance.
- SubnetId string
- Specifies the subnet Network ID.
- VpcId string
- Specifies the VPC ID.
- DdmInstance 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 (-).
- ParamGroup 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.
- PurgeRds boolOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- TimeZone 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
DdmInstance 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.
- availabilityZones List<String>
- Specifies the list of availability zones.
- engineId String
- Specifies the Engine ID of the instance.
- flavorId String
- Specifies the flavor ID of the instance nodes.
- nodeNum Double
- Specifies the disk encryption ID of the instance.
- securityGroup StringId 
- Specifies the security group ID of the DDM instance.
- subnetId String
- Specifies the subnet Network ID.
- vpcId String
- Specifies the VPC ID.
- ddmInstance 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 (-).
- paramGroup 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.
- purgeRds BooleanOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- timeZone 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
DdmInstance 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.
- availabilityZones string[]
- Specifies the list of availability zones.
- engineId string
- Specifies the Engine ID of the instance.
- flavorId string
- Specifies the flavor ID of the instance nodes.
- nodeNum number
- Specifies the disk encryption ID of the instance.
- securityGroup stringId 
- Specifies the security group ID of the DDM instance.
- subnetId string
- Specifies the subnet Network ID.
- vpcId string
- Specifies the VPC ID.
- ddmInstance 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 (-).
- paramGroup 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.
- purgeRds booleanOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- timeZone 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
DdmInstance 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: trueorfalse(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
DdmInstance 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.
- availabilityZones List<String>
- Specifies the list of availability zones.
- engineId String
- Specifies the Engine ID of the instance.
- flavorId String
- Specifies the flavor ID of the instance nodes.
- nodeNum Number
- Specifies the disk encryption ID of the instance.
- securityGroup StringId 
- Specifies the security group ID of the DDM instance.
- subnetId String
- Specifies the subnet Network ID.
- vpcId String
- Specifies the VPC ID.
- ddmInstance 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 (-).
- paramGroup 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.
- purgeRds BooleanOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- timeZone 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:
- AccessIp string
- AccessPort string
- Indicates the DDM access port.
- AvailabilityZone string
- Indicates the availability zone of DDM instance.
- CreatedAt string
- Indicates the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- NodeStatus string
- Indicates the DDM nodes status.
- Nodes
List<DdmInstance V1Node> 
- Indicates the instance nodes information. Structure is documented below.
- Region string
- The region of the DDM instance.
- Status string
- Indicates the node status.
- UpdatedAt string
- Indicates the update time.
- AccessIp string
- AccessPort string
- Indicates the DDM access port.
- AvailabilityZone string
- Indicates the availability zone of DDM instance.
- CreatedAt string
- Indicates the creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- NodeStatus string
- Indicates the DDM nodes status.
- Nodes
[]DdmInstance V1Node 
- Indicates the instance nodes information. Structure is documented below.
- Region string
- The region of the DDM instance.
- Status string
- Indicates the node status.
- UpdatedAt string
- Indicates the update time.
- accessIp String
- accessPort String
- Indicates the DDM access port.
- availabilityZone String
- Indicates the availability zone of DDM instance.
- createdAt String
- Indicates the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- nodeStatus String
- Indicates the DDM nodes status.
- nodes
List<DdmInstance V1Node> 
- Indicates the instance nodes information. Structure is documented below.
- region String
- The region of the DDM instance.
- status String
- Indicates the node status.
- updatedAt String
- Indicates the update time.
- accessIp string
- accessPort string
- Indicates the DDM access port.
- availabilityZone string
- Indicates the availability zone of DDM instance.
- createdAt string
- Indicates the creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- nodeStatus string
- Indicates the DDM nodes status.
- nodes
DdmInstance V1Node[] 
- Indicates the instance nodes information. Structure is documented below.
- region string
- The region of the DDM instance.
- status string
- Indicates the node status.
- updatedAt 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[DdmInstance 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.
- accessIp String
- accessPort String
- Indicates the DDM access port.
- availabilityZone String
- Indicates the availability zone of DDM instance.
- createdAt String
- Indicates the creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- nodeStatus 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.
- updatedAt 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) -> DdmInstanceV1func 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.
- AccessIp string
- AccessPort string
- Indicates the DDM access port.
- AvailabilityZone string
- Indicates the availability zone of DDM instance.
- AvailabilityZones List<string>
- Specifies the list of availability zones.
- CreatedAt string
- Indicates the creation time.
- DdmInstance stringV1Id 
- EngineId string
- Specifies the Engine ID of the instance.
- FlavorId 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 (-).
- NodeNum double
- Specifies the disk encryption ID of the instance.
- NodeStatus string
- Indicates the DDM nodes status.
- Nodes
List<DdmInstance V1Node> 
- Indicates the instance nodes information. Structure is documented below.
- ParamGroup 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.
- PurgeRds boolOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- Region string
- The region of the DDM instance.
- SecurityGroup stringId 
- Specifies the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- SubnetId string
- Specifies the subnet Network ID.
- TimeZone 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
DdmInstance V1Timeouts 
- UpdatedAt 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.
- VpcId string
- Specifies the VPC ID.
- AccessIp string
- AccessPort string
- Indicates the DDM access port.
- AvailabilityZone string
- Indicates the availability zone of DDM instance.
- AvailabilityZones []string
- Specifies the list of availability zones.
- CreatedAt string
- Indicates the creation time.
- DdmInstance stringV1Id 
- EngineId string
- Specifies the Engine ID of the instance.
- FlavorId 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 (-).
- NodeNum float64
- Specifies the disk encryption ID of the instance.
- NodeStatus string
- Indicates the DDM nodes status.
- Nodes
[]DdmInstance V1Node Args 
- Indicates the instance nodes information. Structure is documented below.
- ParamGroup 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.
- PurgeRds boolOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- Region string
- The region of the DDM instance.
- SecurityGroup stringId 
- Specifies the security group ID of the DDM instance.
- Status string
- Indicates the node status.
- SubnetId string
- Specifies the subnet Network ID.
- TimeZone 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
DdmInstance V1Timeouts Args 
- UpdatedAt 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.
- VpcId string
- Specifies the VPC ID.
- accessIp String
- accessPort String
- Indicates the DDM access port.
- availabilityZone String
- Indicates the availability zone of DDM instance.
- availabilityZones List<String>
- Specifies the list of availability zones.
- createdAt String
- Indicates the creation time.
- ddmInstance StringV1Id 
- engineId String
- Specifies the Engine ID of the instance.
- flavorId 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 (-).
- nodeNum Double
- Specifies the disk encryption ID of the instance.
- nodeStatus String
- Indicates the DDM nodes status.
- nodes
List<DdmInstance V1Node> 
- Indicates the instance nodes information. Structure is documented below.
- paramGroup 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.
- purgeRds BooleanOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- region String
- The region of the DDM instance.
- securityGroup StringId 
- Specifies the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnetId String
- Specifies the subnet Network ID.
- timeZone 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
DdmInstance V1Timeouts 
- updatedAt 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.
- vpcId String
- Specifies the VPC ID.
- accessIp string
- accessPort string
- Indicates the DDM access port.
- availabilityZone string
- Indicates the availability zone of DDM instance.
- availabilityZones string[]
- Specifies the list of availability zones.
- createdAt string
- Indicates the creation time.
- ddmInstance stringV1Id 
- engineId string
- Specifies the Engine ID of the instance.
- flavorId 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 (-).
- nodeNum number
- Specifies the disk encryption ID of the instance.
- nodeStatus string
- Indicates the DDM nodes status.
- nodes
DdmInstance V1Node[] 
- Indicates the instance nodes information. Structure is documented below.
- paramGroup 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.
- purgeRds booleanOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- region string
- The region of the DDM instance.
- securityGroup stringId 
- Specifies the security group ID of the DDM instance.
- status string
- Indicates the node status.
- subnetId string
- Specifies the subnet Network ID.
- timeZone 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
DdmInstance V1Timeouts 
- updatedAt 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.
- vpcId 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[DdmInstance 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: trueorfalse(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
DdmInstance 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.
- accessIp String
- accessPort String
- Indicates the DDM access port.
- availabilityZone String
- Indicates the availability zone of DDM instance.
- availabilityZones List<String>
- Specifies the list of availability zones.
- createdAt String
- Indicates the creation time.
- ddmInstance StringV1Id 
- engineId String
- Specifies the Engine ID of the instance.
- flavorId 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 (-).
- nodeNum Number
- Specifies the disk encryption ID of the instance.
- nodeStatus String
- Indicates the DDM nodes status.
- nodes List<Property Map>
- Indicates the instance nodes information. Structure is documented below.
- paramGroup 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.
- purgeRds BooleanOn Delete 
- Specifies whether data stored on the associated DB instances is deleted. The value can be: trueorfalse(default).
- region String
- The region of the DDM instance.
- securityGroup StringId 
- Specifies the security group ID of the DDM instance.
- status String
- Indicates the node status.
- subnetId String
- Specifies the subnet Network ID.
- timeZone 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
- updatedAt 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.
- vpcId 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 opentelekomcloudTerraform Provider.