opentelekomcloud.DmsInstanceV2
Explore with Pulumi AI
Up-to-date reference of API arguments for DMS instance you can get at documentation portal
Manages a DMS instance in the OpenTelekomCloud DMS Service (Kafka Premium/Platinum).
~>
Deprecated, use opentelekomcloud.DmsDedicatedInstanceV2 resource instead
Example Usage
Automatically detect the correct network
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const accessUser = config.requireObject("accessUser");
const password = config.requireObject("password");
const secgroup1 = new opentelekomcloud.NetworkingSecgroupV2("secgroup1", {description: "secgroup_1"});
const az1 = opentelekomcloud.getDmsAzV1({
    name: "eu-de-01",
});
const product1 = opentelekomcloud.getDmsProductV1({
    engine: "kafka",
    version: "2.3.0",
    instanceType: "cluster",
    partitionNum: "300",
    storage: "600",
    storageSpecCode: "dms.physical.storage.high",
});
const instance1 = new opentelekomcloud.DmsInstanceV2("instance1", {
    engine: "kafka",
    productId: product1.then(product1 => product1.id),
    engineVersion: product1.then(product1 => product1.version),
    specification: product1.then(product1 => product1.bandwidth),
    partitionNum: product1.then(product1 => product1.partitionNum),
    storageSpecCode: product1.then(product1 => product1.storageSpecCode),
    storageSpace: product1.then(product1 => product1.storage),
    availableZones: [az1.then(az1 => az1.id)],
    securityGroupId: secgroup1.networkingSecgroupV2Id,
    vpcId: vpcId,
    subnetId: subnetId,
    accessUser: accessUser,
    password: password,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
access_user = config.require_object("accessUser")
password = config.require_object("password")
secgroup1 = opentelekomcloud.NetworkingSecgroupV2("secgroup1", description="secgroup_1")
az1 = opentelekomcloud.get_dms_az_v1(name="eu-de-01")
product1 = opentelekomcloud.get_dms_product_v1(engine="kafka",
    version="2.3.0",
    instance_type="cluster",
    partition_num="300",
    storage="600",
    storage_spec_code="dms.physical.storage.high")
instance1 = opentelekomcloud.DmsInstanceV2("instance1",
    engine="kafka",
    product_id=product1.id,
    engine_version=product1.version,
    specification=product1.bandwidth,
    partition_num=product1.partition_num,
    storage_spec_code=product1.storage_spec_code,
    storage_space=product1.storage,
    available_zones=[az1.id],
    security_group_id=secgroup1.networking_secgroup_v2_id,
    vpc_id=vpc_id,
    subnet_id=subnet_id,
    access_user=access_user,
    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, "")
		vpcId := cfg.RequireObject("vpcId")
		subnetId := cfg.RequireObject("subnetId")
		accessUser := cfg.RequireObject("accessUser")
		password := cfg.RequireObject("password")
		secgroup1, err := opentelekomcloud.NewNetworkingSecgroupV2(ctx, "secgroup1", &opentelekomcloud.NetworkingSecgroupV2Args{
			Description: pulumi.String("secgroup_1"),
		})
		if err != nil {
			return err
		}
		az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{
			Name: pulumi.StringRef("eu-de-01"),
		}, nil)
		if err != nil {
			return err
		}
		product1, err := opentelekomcloud.GetDmsProductV1(ctx, &opentelekomcloud.GetDmsProductV1Args{
			Engine:          "kafka",
			Version:         pulumi.StringRef("2.3.0"),
			InstanceType:    "cluster",
			PartitionNum:    pulumi.StringRef("300"),
			Storage:         pulumi.StringRef("600"),
			StorageSpecCode: pulumi.StringRef("dms.physical.storage.high"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = opentelekomcloud.NewDmsInstanceV2(ctx, "instance1", &opentelekomcloud.DmsInstanceV2Args{
			Engine:          pulumi.String("kafka"),
			ProductId:       pulumi.String(product1.Id),
			EngineVersion:   pulumi.String(product1.Version),
			Specification:   pulumi.String(product1.Bandwidth),
			PartitionNum:    pulumi.String(product1.PartitionNum),
			StorageSpecCode: pulumi.String(product1.StorageSpecCode),
			StorageSpace:    pulumi.String(product1.Storage),
			AvailableZones: pulumi.StringArray{
				pulumi.String(az1.Id),
			},
			SecurityGroupId: secgroup1.NetworkingSecgroupV2Id,
			VpcId:           pulumi.Any(vpcId),
			SubnetId:        pulumi.Any(subnetId),
			AccessUser:      pulumi.Any(accessUser),
			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 vpcId = config.RequireObject<dynamic>("vpcId");
    var subnetId = config.RequireObject<dynamic>("subnetId");
    var accessUser = config.RequireObject<dynamic>("accessUser");
    var password = config.RequireObject<dynamic>("password");
    var secgroup1 = new Opentelekomcloud.NetworkingSecgroupV2("secgroup1", new()
    {
        Description = "secgroup_1",
    });
    var az1 = Opentelekomcloud.GetDmsAzV1.Invoke(new()
    {
        Name = "eu-de-01",
    });
    var product1 = Opentelekomcloud.GetDmsProductV1.Invoke(new()
    {
        Engine = "kafka",
        Version = "2.3.0",
        InstanceType = "cluster",
        PartitionNum = "300",
        Storage = "600",
        StorageSpecCode = "dms.physical.storage.high",
    });
    var instance1 = new Opentelekomcloud.DmsInstanceV2("instance1", new()
    {
        Engine = "kafka",
        ProductId = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Id),
        EngineVersion = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Version),
        Specification = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Bandwidth),
        PartitionNum = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.PartitionNum),
        StorageSpecCode = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.StorageSpecCode),
        StorageSpace = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Storage),
        AvailableZones = new[]
        {
            az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
        },
        SecurityGroupId = secgroup1.NetworkingSecgroupV2Id,
        VpcId = vpcId,
        SubnetId = subnetId,
        AccessUser = accessUser,
        Password = password,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2Args;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
import com.pulumi.opentelekomcloud.inputs.GetDmsProductV1Args;
import com.pulumi.opentelekomcloud.DmsInstanceV2;
import com.pulumi.opentelekomcloud.DmsInstanceV2Args;
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 vpcId = config.get("vpcId");
        final var subnetId = config.get("subnetId");
        final var accessUser = config.get("accessUser");
        final var password = config.get("password");
        var secgroup1 = new NetworkingSecgroupV2("secgroup1", NetworkingSecgroupV2Args.builder()
            .description("secgroup_1")
            .build());
        final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
            .name("eu-de-01")
            .build());
        final var product1 = OpentelekomcloudFunctions.getDmsProductV1(GetDmsProductV1Args.builder()
            .engine("kafka")
            .version("2.3.0")
            .instanceType("cluster")
            .partitionNum(300)
            .storage(600)
            .storageSpecCode("dms.physical.storage.high")
            .build());
        var instance1 = new DmsInstanceV2("instance1", DmsInstanceV2Args.builder()
            .engine("kafka")
            .productId(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.id()))
            .engineVersion(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.version()))
            .specification(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.bandwidth()))
            .partitionNum(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.partitionNum()))
            .storageSpecCode(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storageSpecCode()))
            .storageSpace(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storage()))
            .availableZones(az1.applyValue(getDmsAzV1Result -> getDmsAzV1Result.id()))
            .securityGroupId(secgroup1.networkingSecgroupV2Id())
            .vpcId(vpcId)
            .subnetId(subnetId)
            .accessUser(accessUser)
            .password(password)
            .build());
    }
}
configuration:
  vpcId:
    type: dynamic
  subnetId:
    type: dynamic
  accessUser:
    type: dynamic
  password:
    type: dynamic
resources:
  secgroup1:
    type: opentelekomcloud:NetworkingSecgroupV2
    properties:
      description: secgroup_1
  instance1:
    type: opentelekomcloud:DmsInstanceV2
    properties:
      engine: kafka
      productId: ${product1.id}
      engineVersion: ${product1.version}
      specification: ${product1.bandwidth}
      partitionNum: ${product1.partitionNum}
      storageSpecCode: ${product1.storageSpecCode}
      storageSpace: ${product1.storage}
      availableZones:
        - ${az1.id}
      securityGroupId: ${secgroup1.networkingSecgroupV2Id}
      vpcId: ${vpcId}
      subnetId: ${subnetId}
      accessUser: ${accessUser}
      password: ${password}
variables:
  az1:
    fn::invoke:
      function: opentelekomcloud:getDmsAzV1
      arguments:
        name: eu-de-01
  product1:
    fn::invoke:
      function: opentelekomcloud:getDmsProductV1
      arguments:
        engine: kafka
        version: 2.3.0
        instanceType: cluster
        partitionNum: 300
        storage: 600
        storageSpecCode: dms.physical.storage.high
DMS instance with assigned EIPs
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject("vpcId");
const subnetId = config.requireObject("subnetId");
const secgroup1 = new opentelekomcloud.NetworkingSecgroupV2("secgroup1", {description: "secgroup_1"});
const az1 = opentelekomcloud.getDmsAzV1({
    name: "eu-de-01",
});
const product1 = opentelekomcloud.getDmsProductV1({
    engine: "kafka",
    instanceType: "cluster",
    version: "2.7",
});
const fip1 = new opentelekomcloud.NetworkingFloatingipV2("fip1", {});
const fip2 = new opentelekomcloud.NetworkingFloatingipV2("fip2", {});
const fip3 = new opentelekomcloud.NetworkingFloatingipV2("fip3", {});
const instance1 = new opentelekomcloud.DmsInstanceV2("instance1", {
    engine: "kafka",
    storageSpace: product1.then(product1 => product1.storage),
    availableZones: [az1.then(az1 => az1.id)],
    productId: product1.then(product1 => product1.id),
    engineVersion: product1.then(product1 => product1.version),
    storageSpecCode: product1.then(product1 => product1.storageSpecCode),
    securityGroupId: resource.opentelekomcloud_networking_secgroup_v2.secgroup_1.id,
    vpcId: vpcId,
    subnetId: subnetId,
    enablePublicip: true,
    publicipIds: [
        fip1.networkingFloatingipV2Id,
        fip2.networkingFloatingipV2Id,
        fip3.networkingFloatingipV2Id,
    ],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
secgroup1 = opentelekomcloud.NetworkingSecgroupV2("secgroup1", description="secgroup_1")
az1 = opentelekomcloud.get_dms_az_v1(name="eu-de-01")
product1 = opentelekomcloud.get_dms_product_v1(engine="kafka",
    instance_type="cluster",
    version="2.7")
fip1 = opentelekomcloud.NetworkingFloatingipV2("fip1")
fip2 = opentelekomcloud.NetworkingFloatingipV2("fip2")
fip3 = opentelekomcloud.NetworkingFloatingipV2("fip3")
instance1 = opentelekomcloud.DmsInstanceV2("instance1",
    engine="kafka",
    storage_space=product1.storage,
    available_zones=[az1.id],
    product_id=product1.id,
    engine_version=product1.version,
    storage_spec_code=product1.storage_spec_code,
    security_group_id=resource["opentelekomcloud_networking_secgroup_v2"]["secgroup_1"]["id"],
    vpc_id=vpc_id,
    subnet_id=subnet_id,
    enable_publicip=True,
    publicip_ids=[
        fip1.networking_floatingip_v2_id,
        fip2.networking_floatingip_v2_id,
        fip3.networking_floatingip_v2_id,
    ])
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, "")
		vpcId := cfg.RequireObject("vpcId")
		subnetId := cfg.RequireObject("subnetId")
		_, err := opentelekomcloud.NewNetworkingSecgroupV2(ctx, "secgroup1", &opentelekomcloud.NetworkingSecgroupV2Args{
			Description: pulumi.String("secgroup_1"),
		})
		if err != nil {
			return err
		}
		az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{
			Name: pulumi.StringRef("eu-de-01"),
		}, nil)
		if err != nil {
			return err
		}
		product1, err := opentelekomcloud.GetDmsProductV1(ctx, &opentelekomcloud.GetDmsProductV1Args{
			Engine:       "kafka",
			InstanceType: "cluster",
			Version:      pulumi.StringRef("2.7"),
		}, nil)
		if err != nil {
			return err
		}
		fip1, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip1", nil)
		if err != nil {
			return err
		}
		fip2, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip2", nil)
		if err != nil {
			return err
		}
		fip3, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip3", nil)
		if err != nil {
			return err
		}
		_, err = opentelekomcloud.NewDmsInstanceV2(ctx, "instance1", &opentelekomcloud.DmsInstanceV2Args{
			Engine:       pulumi.String("kafka"),
			StorageSpace: pulumi.String(product1.Storage),
			AvailableZones: pulumi.StringArray{
				pulumi.String(az1.Id),
			},
			ProductId:       pulumi.String(product1.Id),
			EngineVersion:   pulumi.String(product1.Version),
			StorageSpecCode: pulumi.String(product1.StorageSpecCode),
			SecurityGroupId: pulumi.Any(resource.Opentelekomcloud_networking_secgroup_v2.Secgroup_1.Id),
			VpcId:           pulumi.Any(vpcId),
			SubnetId:        pulumi.Any(subnetId),
			EnablePublicip:  pulumi.Bool(true),
			PublicipIds: pulumi.StringArray{
				fip1.NetworkingFloatingipV2Id,
				fip2.NetworkingFloatingipV2Id,
				fip3.NetworkingFloatingipV2Id,
			},
		})
		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 vpcId = config.RequireObject<dynamic>("vpcId");
    var subnetId = config.RequireObject<dynamic>("subnetId");
    var secgroup1 = new Opentelekomcloud.NetworkingSecgroupV2("secgroup1", new()
    {
        Description = "secgroup_1",
    });
    var az1 = Opentelekomcloud.GetDmsAzV1.Invoke(new()
    {
        Name = "eu-de-01",
    });
    var product1 = Opentelekomcloud.GetDmsProductV1.Invoke(new()
    {
        Engine = "kafka",
        InstanceType = "cluster",
        Version = "2.7",
    });
    var fip1 = new Opentelekomcloud.NetworkingFloatingipV2("fip1");
    var fip2 = new Opentelekomcloud.NetworkingFloatingipV2("fip2");
    var fip3 = new Opentelekomcloud.NetworkingFloatingipV2("fip3");
    var instance1 = new Opentelekomcloud.DmsInstanceV2("instance1", new()
    {
        Engine = "kafka",
        StorageSpace = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Storage),
        AvailableZones = new[]
        {
            az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
        },
        ProductId = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Id),
        EngineVersion = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.Version),
        StorageSpecCode = product1.Apply(getDmsProductV1Result => getDmsProductV1Result.StorageSpecCode),
        SecurityGroupId = resource.Opentelekomcloud_networking_secgroup_v2.Secgroup_1.Id,
        VpcId = vpcId,
        SubnetId = subnetId,
        EnablePublicip = true,
        PublicipIds = new[]
        {
            fip1.NetworkingFloatingipV2Id,
            fip2.NetworkingFloatingipV2Id,
            fip3.NetworkingFloatingipV2Id,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2;
import com.pulumi.opentelekomcloud.NetworkingSecgroupV2Args;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
import com.pulumi.opentelekomcloud.inputs.GetDmsProductV1Args;
import com.pulumi.opentelekomcloud.NetworkingFloatingipV2;
import com.pulumi.opentelekomcloud.DmsInstanceV2;
import com.pulumi.opentelekomcloud.DmsInstanceV2Args;
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 vpcId = config.get("vpcId");
        final var subnetId = config.get("subnetId");
        var secgroup1 = new NetworkingSecgroupV2("secgroup1", NetworkingSecgroupV2Args.builder()
            .description("secgroup_1")
            .build());
        final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
            .name("eu-de-01")
            .build());
        final var product1 = OpentelekomcloudFunctions.getDmsProductV1(GetDmsProductV1Args.builder()
            .engine("kafka")
            .instanceType("cluster")
            .version("2.7")
            .build());
        var fip1 = new NetworkingFloatingipV2("fip1");
        var fip2 = new NetworkingFloatingipV2("fip2");
        var fip3 = new NetworkingFloatingipV2("fip3");
        var instance1 = new DmsInstanceV2("instance1", DmsInstanceV2Args.builder()
            .engine("kafka")
            .storageSpace(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storage()))
            .availableZones(az1.applyValue(getDmsAzV1Result -> getDmsAzV1Result.id()))
            .productId(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.id()))
            .engineVersion(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.version()))
            .storageSpecCode(product1.applyValue(getDmsProductV1Result -> getDmsProductV1Result.storageSpecCode()))
            .securityGroupId(resource.opentelekomcloud_networking_secgroup_v2().secgroup_1().id())
            .vpcId(vpcId)
            .subnetId(subnetId)
            .enablePublicip(true)
            .publicipIds(            
                fip1.networkingFloatingipV2Id(),
                fip2.networkingFloatingipV2Id(),
                fip3.networkingFloatingipV2Id())
            .build());
    }
}
configuration:
  vpcId:
    type: dynamic
  subnetId:
    type: dynamic
resources:
  secgroup1:
    type: opentelekomcloud:NetworkingSecgroupV2
    properties:
      description: secgroup_1
  fip1:
    type: opentelekomcloud:NetworkingFloatingipV2
  fip2:
    type: opentelekomcloud:NetworkingFloatingipV2
  fip3:
    type: opentelekomcloud:NetworkingFloatingipV2
  instance1:
    type: opentelekomcloud:DmsInstanceV2
    properties:
      engine: kafka
      storageSpace: ${product1.storage}
      availableZones:
        - ${az1.id}
      productId: ${product1.id}
      engineVersion: ${product1.version}
      storageSpecCode: ${product1.storageSpecCode}
      securityGroupId: ${resource.opentelekomcloud_networking_secgroup_v2.secgroup_1.id}
      vpcId: ${vpcId}
      subnetId: ${subnetId}
      enablePublicip: true
      publicipIds:
        - ${fip1.networkingFloatingipV2Id}
        - ${fip2.networkingFloatingipV2Id}
        - ${fip3.networkingFloatingipV2Id}
variables:
  az1:
    fn::invoke:
      function: opentelekomcloud:getDmsAzV1
      arguments:
        name: eu-de-01
  product1:
    fn::invoke:
      function: opentelekomcloud:getDmsProductV1
      arguments:
        engine: kafka
        instanceType: cluster
        version: '2.7'
Create DmsInstanceV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DmsInstanceV2(name: string, args: DmsInstanceV2Args, opts?: CustomResourceOptions);@overload
def DmsInstanceV2(resource_name: str,
                  args: DmsInstanceV2Args,
                  opts: Optional[ResourceOptions] = None)
@overload
def DmsInstanceV2(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  product_id: Optional[str] = None,
                  available_zones: Optional[Sequence[str]] = None,
                  vpc_id: Optional[str] = None,
                  subnet_id: Optional[str] = None,
                  storage_spec_code: Optional[str] = None,
                  storage_space: Optional[float] = None,
                  security_group_id: Optional[str] = None,
                  engine: Optional[str] = None,
                  engine_version: Optional[str] = None,
                  enable_publicip: Optional[bool] = None,
                  access_user: Optional[str] = None,
                  name: Optional[str] = None,
                  partition_num: Optional[float] = None,
                  password: Optional[str] = None,
                  maintain_begin: Optional[str] = None,
                  public_bandwidth: Optional[float] = None,
                  publicip_ids: Optional[Sequence[str]] = None,
                  retention_policy: Optional[str] = None,
                  maintain_end: Optional[str] = None,
                  specification: Optional[str] = None,
                  dms_instance_v2_id: Optional[str] = None,
                  disk_encrypted_key: Optional[str] = None,
                  disk_encrypted_enable: Optional[bool] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  timeouts: Optional[DmsInstanceV2TimeoutsArgs] = None,
                  description: Optional[str] = None)func NewDmsInstanceV2(ctx *Context, name string, args DmsInstanceV2Args, opts ...ResourceOption) (*DmsInstanceV2, error)public DmsInstanceV2(string name, DmsInstanceV2Args args, CustomResourceOptions? opts = null)
public DmsInstanceV2(String name, DmsInstanceV2Args args)
public DmsInstanceV2(String name, DmsInstanceV2Args args, CustomResourceOptions options)
type: opentelekomcloud:DmsInstanceV2
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 DmsInstanceV2Args
- 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 DmsInstanceV2Args
- 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 DmsInstanceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DmsInstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DmsInstanceV2Args
- 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 dmsInstanceV2Resource = new Opentelekomcloud.DmsInstanceV2("dmsInstanceV2Resource", new()
{
    ProductId = "string",
    AvailableZones = new[]
    {
        "string",
    },
    VpcId = "string",
    SubnetId = "string",
    StorageSpecCode = "string",
    StorageSpace = 0,
    SecurityGroupId = "string",
    Engine = "string",
    EngineVersion = "string",
    EnablePublicip = false,
    AccessUser = "string",
    Name = "string",
    PartitionNum = 0,
    Password = "string",
    MaintainBegin = "string",
    PublicBandwidth = 0,
    PublicipIds = new[]
    {
        "string",
    },
    RetentionPolicy = "string",
    MaintainEnd = "string",
    Specification = "string",
    DmsInstanceV2Id = "string",
    DiskEncryptedKey = "string",
    DiskEncryptedEnable = false,
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Opentelekomcloud.Inputs.DmsInstanceV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    Description = "string",
});
example, err := opentelekomcloud.NewDmsInstanceV2(ctx, "dmsInstanceV2Resource", &opentelekomcloud.DmsInstanceV2Args{
	ProductId: pulumi.String("string"),
	AvailableZones: pulumi.StringArray{
		pulumi.String("string"),
	},
	VpcId:           pulumi.String("string"),
	SubnetId:        pulumi.String("string"),
	StorageSpecCode: pulumi.String("string"),
	StorageSpace:    pulumi.Float64(0),
	SecurityGroupId: pulumi.String("string"),
	Engine:          pulumi.String("string"),
	EngineVersion:   pulumi.String("string"),
	EnablePublicip:  pulumi.Bool(false),
	AccessUser:      pulumi.String("string"),
	Name:            pulumi.String("string"),
	PartitionNum:    pulumi.Float64(0),
	Password:        pulumi.String("string"),
	MaintainBegin:   pulumi.String("string"),
	PublicBandwidth: pulumi.Float64(0),
	PublicipIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	RetentionPolicy:     pulumi.String("string"),
	MaintainEnd:         pulumi.String("string"),
	Specification:       pulumi.String("string"),
	DmsInstanceV2Id:     pulumi.String("string"),
	DiskEncryptedKey:    pulumi.String("string"),
	DiskEncryptedEnable: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &opentelekomcloud.DmsInstanceV2TimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	Description: pulumi.String("string"),
})
var dmsInstanceV2Resource = new DmsInstanceV2("dmsInstanceV2Resource", DmsInstanceV2Args.builder()
    .productId("string")
    .availableZones("string")
    .vpcId("string")
    .subnetId("string")
    .storageSpecCode("string")
    .storageSpace(0.0)
    .securityGroupId("string")
    .engine("string")
    .engineVersion("string")
    .enablePublicip(false)
    .accessUser("string")
    .name("string")
    .partitionNum(0.0)
    .password("string")
    .maintainBegin("string")
    .publicBandwidth(0.0)
    .publicipIds("string")
    .retentionPolicy("string")
    .maintainEnd("string")
    .specification("string")
    .dmsInstanceV2Id("string")
    .diskEncryptedKey("string")
    .diskEncryptedEnable(false)
    .tags(Map.of("string", "string"))
    .timeouts(DmsInstanceV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .description("string")
    .build());
dms_instance_v2_resource = opentelekomcloud.DmsInstanceV2("dmsInstanceV2Resource",
    product_id="string",
    available_zones=["string"],
    vpc_id="string",
    subnet_id="string",
    storage_spec_code="string",
    storage_space=0,
    security_group_id="string",
    engine="string",
    engine_version="string",
    enable_publicip=False,
    access_user="string",
    name="string",
    partition_num=0,
    password="string",
    maintain_begin="string",
    public_bandwidth=0,
    publicip_ids=["string"],
    retention_policy="string",
    maintain_end="string",
    specification="string",
    dms_instance_v2_id="string",
    disk_encrypted_key="string",
    disk_encrypted_enable=False,
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    description="string")
const dmsInstanceV2Resource = new opentelekomcloud.DmsInstanceV2("dmsInstanceV2Resource", {
    productId: "string",
    availableZones: ["string"],
    vpcId: "string",
    subnetId: "string",
    storageSpecCode: "string",
    storageSpace: 0,
    securityGroupId: "string",
    engine: "string",
    engineVersion: "string",
    enablePublicip: false,
    accessUser: "string",
    name: "string",
    partitionNum: 0,
    password: "string",
    maintainBegin: "string",
    publicBandwidth: 0,
    publicipIds: ["string"],
    retentionPolicy: "string",
    maintainEnd: "string",
    specification: "string",
    dmsInstanceV2Id: "string",
    diskEncryptedKey: "string",
    diskEncryptedEnable: false,
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    description: "string",
});
type: opentelekomcloud:DmsInstanceV2
properties:
    accessUser: string
    availableZones:
        - string
    description: string
    diskEncryptedEnable: false
    diskEncryptedKey: string
    dmsInstanceV2Id: string
    enablePublicip: false
    engine: string
    engineVersion: string
    maintainBegin: string
    maintainEnd: string
    name: string
    partitionNum: 0
    password: string
    productId: string
    publicBandwidth: 0
    publicipIds:
        - string
    retentionPolicy: string
    securityGroupId: string
    specification: string
    storageSpace: 0
    storageSpecCode: string
    subnetId: string
    tags:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
    vpcId: string
DmsInstanceV2 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 DmsInstanceV2 resource accepts the following input properties:
- AvailableZones List<string>
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- Engine string
- Indicates a message engine. Only kafkais supported now.
- EngineVersion string
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- ProductId string
- Indicates a product ID.
- SecurityGroup stringId 
- Indicates the ID of a security group.
- StorageSpace double
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- StorageSpec stringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- SubnetId string
- Indicates the ID of the subnet (OpenStack network ID).
- VpcId string
- Indicates the ID of a VPC (OpenStack router ID).
- AccessUser string
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- DiskEncrypted boolEnable 
- Indicates whether disk encryption is enabled.
- DiskEncrypted stringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- DmsInstance stringV2Id 
- EnablePublicip bool
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- MaintainBegin string
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- MaintainEnd string
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- PartitionNum double
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- PublicBandwidth double
- PublicipIds List<string>
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- RetentionPolicy string
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- Specification string
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Timeouts
DmsInstance V2Timeouts 
- AvailableZones []string
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- Engine string
- Indicates a message engine. Only kafkais supported now.
- EngineVersion string
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- ProductId string
- Indicates a product ID.
- SecurityGroup stringId 
- Indicates the ID of a security group.
- StorageSpace float64
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- StorageSpec stringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- SubnetId string
- Indicates the ID of the subnet (OpenStack network ID).
- VpcId string
- Indicates the ID of a VPC (OpenStack router ID).
- AccessUser string
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- DiskEncrypted boolEnable 
- Indicates whether disk encryption is enabled.
- DiskEncrypted stringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- DmsInstance stringV2Id 
- EnablePublicip bool
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- MaintainBegin string
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- MaintainEnd string
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- PartitionNum float64
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- PublicBandwidth float64
- PublicipIds []string
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- RetentionPolicy string
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- Specification string
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- map[string]string
- Tags key/value pairs to associate with the instance.
- Timeouts
DmsInstance V2Timeouts Args 
- availableZones List<String>
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine String
- Indicates a message engine. Only kafkais supported now.
- engineVersion String
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- productId String
- Indicates a product ID.
- securityGroup StringId 
- Indicates the ID of a security group.
- storageSpace Double
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storageSpec StringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnetId String
- Indicates the ID of the subnet (OpenStack network ID).
- vpcId String
- Indicates the ID of a VPC (OpenStack router ID).
- accessUser String
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- diskEncrypted BooleanEnable 
- Indicates whether disk encryption is enabled.
- diskEncrypted StringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dmsInstance StringV2Id 
- enablePublicip Boolean
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- maintainBegin String
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintainEnd String
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partitionNum Double
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- publicBandwidth Double
- publicipIds List<String>
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- retentionPolicy String
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification String
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- Map<String,String>
- Tags key/value pairs to associate with the instance.
- timeouts
DmsInstance V2Timeouts 
- availableZones string[]
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine string
- Indicates a message engine. Only kafkais supported now.
- engineVersion string
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- productId string
- Indicates a product ID.
- securityGroup stringId 
- Indicates the ID of a security group.
- storageSpace number
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storageSpec stringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnetId string
- Indicates the ID of the subnet (OpenStack network ID).
- vpcId string
- Indicates the ID of a VPC (OpenStack router ID).
- accessUser string
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- diskEncrypted booleanEnable 
- Indicates whether disk encryption is enabled.
- diskEncrypted stringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dmsInstance stringV2Id 
- enablePublicip boolean
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- maintainBegin string
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintainEnd string
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partitionNum number
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- publicBandwidth number
- publicipIds string[]
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- retentionPolicy string
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification string
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- timeouts
DmsInstance V2Timeouts 
- available_zones Sequence[str]
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine str
- Indicates a message engine. Only kafkais supported now.
- engine_version str
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- product_id str
- Indicates a product ID.
- security_group_ strid 
- Indicates the ID of a security group.
- storage_space float
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storage_spec_ strcode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnet_id str
- Indicates the ID of the subnet (OpenStack network ID).
- vpc_id str
- Indicates the ID of a VPC (OpenStack router ID).
- access_user str
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- description str
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk_encrypted_ boolenable 
- Indicates whether disk encryption is enabled.
- disk_encrypted_ strkey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms_instance_ strv2_ id 
- enable_publicip bool
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- maintain_begin str
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintain_end str
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name str
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partition_num float
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password str
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- public_bandwidth float
- publicip_ids Sequence[str]
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- retention_policy str
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification str
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- timeouts
DmsInstance V2Timeouts Args 
- availableZones List<String>
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- engine String
- Indicates a message engine. Only kafkais supported now.
- engineVersion String
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- productId String
- Indicates a product ID.
- securityGroup StringId 
- Indicates the ID of a security group.
- storageSpace Number
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storageSpec StringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnetId String
- Indicates the ID of the subnet (OpenStack network ID).
- vpcId String
- Indicates the ID of a VPC (OpenStack router ID).
- accessUser String
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- diskEncrypted BooleanEnable 
- Indicates whether disk encryption is enabled.
- diskEncrypted StringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dmsInstance StringV2Id 
- enablePublicip Boolean
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- maintainBegin String
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintainEnd String
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- partitionNum Number
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- publicBandwidth Number
- publicipIds List<String>
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- retentionPolicy String
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- specification String
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- Map<String>
- Tags key/value pairs to associate with the instance.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DmsInstanceV2 resource produces the following output properties:
- ConnectAddress string
- Indicates the IP address of an instance.
- CreatedAt string
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Id string
- The provider-assigned unique ID for this managed resource.
- NodeNum double
- Node quantity.
- Port double
- Indicates the port number of an instance.
- PublicAccess stringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- PublicConnect List<string>Addresses 
- List of Public IPs bound to DMS instance with specified port.
- ResourceSpec stringCode 
- Indicates a resource specifications identifier.
- SecurityGroup stringName 
- Indicates the name of a security group.
- SslEnable bool
- Indicates whether security authentication is enabled.
Possible values: true,false.
- Status string
- Indicates the status of an instance. For details, see section Instance Status.
- StorageResource stringId 
- Storage resource ID.
- SubnetCidr string
- Indicates subnet CIDR block.
- SubnetName string
- Indicates the name of a subnet.
- TotalStorage doubleSpace 
- Total message storage space in GB.
- Type string
- Indicates an instance type. Options: singleandcluster.
- UsedStorage doubleSpace 
- Indicates the used message storage space. Unit: GB
- UserId string
- Indicates a user ID.
- UserName string
- Indicates a username.
- VpcName string
- ConnectAddress string
- Indicates the IP address of an instance.
- CreatedAt string
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Id string
- The provider-assigned unique ID for this managed resource.
- NodeNum float64
- Node quantity.
- Port float64
- Indicates the port number of an instance.
- PublicAccess stringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- PublicConnect []stringAddresses 
- List of Public IPs bound to DMS instance with specified port.
- ResourceSpec stringCode 
- Indicates a resource specifications identifier.
- SecurityGroup stringName 
- Indicates the name of a security group.
- SslEnable bool
- Indicates whether security authentication is enabled.
Possible values: true,false.
- Status string
- Indicates the status of an instance. For details, see section Instance Status.
- StorageResource stringId 
- Storage resource ID.
- SubnetCidr string
- Indicates subnet CIDR block.
- SubnetName string
- Indicates the name of a subnet.
- TotalStorage float64Space 
- Total message storage space in GB.
- Type string
- Indicates an instance type. Options: singleandcluster.
- UsedStorage float64Space 
- Indicates the used message storage space. Unit: GB
- UserId string
- Indicates a user ID.
- UserName string
- Indicates a username.
- VpcName string
- connectAddress String
- Indicates the IP address of an instance.
- createdAt String
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id String
- The provider-assigned unique ID for this managed resource.
- nodeNum Double
- Node quantity.
- port Double
- Indicates the port number of an instance.
- publicAccess StringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- publicConnect List<String>Addresses 
- List of Public IPs bound to DMS instance with specified port.
- resourceSpec StringCode 
- Indicates a resource specifications identifier.
- securityGroup StringName 
- Indicates the name of a security group.
- sslEnable Boolean
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status String
- Indicates the status of an instance. For details, see section Instance Status.
- storageResource StringId 
- Storage resource ID.
- subnetCidr String
- Indicates subnet CIDR block.
- subnetName String
- Indicates the name of a subnet.
- totalStorage DoubleSpace 
- Total message storage space in GB.
- type String
- Indicates an instance type. Options: singleandcluster.
- usedStorage DoubleSpace 
- Indicates the used message storage space. Unit: GB
- userId String
- Indicates a user ID.
- userName String
- Indicates a username.
- vpcName String
- connectAddress string
- Indicates the IP address of an instance.
- createdAt string
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id string
- The provider-assigned unique ID for this managed resource.
- nodeNum number
- Node quantity.
- port number
- Indicates the port number of an instance.
- publicAccess stringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- publicConnect string[]Addresses 
- List of Public IPs bound to DMS instance with specified port.
- resourceSpec stringCode 
- Indicates a resource specifications identifier.
- securityGroup stringName 
- Indicates the name of a security group.
- sslEnable boolean
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status string
- Indicates the status of an instance. For details, see section Instance Status.
- storageResource stringId 
- Storage resource ID.
- subnetCidr string
- Indicates subnet CIDR block.
- subnetName string
- Indicates the name of a subnet.
- totalStorage numberSpace 
- Total message storage space in GB.
- type string
- Indicates an instance type. Options: singleandcluster.
- usedStorage numberSpace 
- Indicates the used message storage space. Unit: GB
- userId string
- Indicates a user ID.
- userName string
- Indicates a username.
- vpcName string
- connect_address str
- Indicates the IP address of an instance.
- created_at str
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id str
- The provider-assigned unique ID for this managed resource.
- node_num float
- Node quantity.
- port float
- Indicates the port number of an instance.
- public_access_ strenabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- public_connect_ Sequence[str]addresses 
- List of Public IPs bound to DMS instance with specified port.
- resource_spec_ strcode 
- Indicates a resource specifications identifier.
- security_group_ strname 
- Indicates the name of a security group.
- ssl_enable bool
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status str
- Indicates the status of an instance. For details, see section Instance Status.
- storage_resource_ strid 
- Storage resource ID.
- subnet_cidr str
- Indicates subnet CIDR block.
- subnet_name str
- Indicates the name of a subnet.
- total_storage_ floatspace 
- Total message storage space in GB.
- type str
- Indicates an instance type. Options: singleandcluster.
- used_storage_ floatspace 
- Indicates the used message storage space. Unit: GB
- user_id str
- Indicates a user ID.
- user_name str
- Indicates a username.
- vpc_name str
- connectAddress String
- Indicates the IP address of an instance.
- createdAt String
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- id String
- The provider-assigned unique ID for this managed resource.
- nodeNum Number
- Node quantity.
- port Number
- Indicates the port number of an instance.
- publicAccess StringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- publicConnect List<String>Addresses 
- List of Public IPs bound to DMS instance with specified port.
- resourceSpec StringCode 
- Indicates a resource specifications identifier.
- securityGroup StringName 
- Indicates the name of a security group.
- sslEnable Boolean
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status String
- Indicates the status of an instance. For details, see section Instance Status.
- storageResource StringId 
- Storage resource ID.
- subnetCidr String
- Indicates subnet CIDR block.
- subnetName String
- Indicates the name of a subnet.
- totalStorage NumberSpace 
- Total message storage space in GB.
- type String
- Indicates an instance type. Options: singleandcluster.
- usedStorage NumberSpace 
- Indicates the used message storage space. Unit: GB
- userId String
- Indicates a user ID.
- userName String
- Indicates a username.
- vpcName String
Look up Existing DmsInstanceV2 Resource
Get an existing DmsInstanceV2 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?: DmsInstanceV2State, opts?: CustomResourceOptions): DmsInstanceV2@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_user: Optional[str] = None,
        available_zones: Optional[Sequence[str]] = None,
        connect_address: Optional[str] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        disk_encrypted_enable: Optional[bool] = None,
        disk_encrypted_key: Optional[str] = None,
        dms_instance_v2_id: Optional[str] = None,
        enable_publicip: Optional[bool] = None,
        engine: Optional[str] = None,
        engine_version: Optional[str] = None,
        maintain_begin: Optional[str] = None,
        maintain_end: Optional[str] = None,
        name: Optional[str] = None,
        node_num: Optional[float] = None,
        partition_num: Optional[float] = None,
        password: Optional[str] = None,
        port: Optional[float] = None,
        product_id: Optional[str] = None,
        public_access_enabled: Optional[str] = None,
        public_bandwidth: Optional[float] = None,
        public_connect_addresses: Optional[Sequence[str]] = None,
        publicip_ids: Optional[Sequence[str]] = None,
        resource_spec_code: Optional[str] = None,
        retention_policy: Optional[str] = None,
        security_group_id: Optional[str] = None,
        security_group_name: Optional[str] = None,
        specification: Optional[str] = None,
        ssl_enable: Optional[bool] = None,
        status: Optional[str] = None,
        storage_resource_id: Optional[str] = None,
        storage_space: Optional[float] = None,
        storage_spec_code: Optional[str] = None,
        subnet_cidr: Optional[str] = None,
        subnet_id: Optional[str] = None,
        subnet_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        timeouts: Optional[DmsInstanceV2TimeoutsArgs] = None,
        total_storage_space: Optional[float] = None,
        type: Optional[str] = None,
        used_storage_space: Optional[float] = None,
        user_id: Optional[str] = None,
        user_name: Optional[str] = None,
        vpc_id: Optional[str] = None,
        vpc_name: Optional[str] = None) -> DmsInstanceV2func GetDmsInstanceV2(ctx *Context, name string, id IDInput, state *DmsInstanceV2State, opts ...ResourceOption) (*DmsInstanceV2, error)public static DmsInstanceV2 Get(string name, Input<string> id, DmsInstanceV2State? state, CustomResourceOptions? opts = null)public static DmsInstanceV2 get(String name, Output<String> id, DmsInstanceV2State state, CustomResourceOptions options)resources:  _:    type: opentelekomcloud:DmsInstanceV2    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.
- AccessUser string
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- AvailableZones List<string>
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- ConnectAddress string
- Indicates the IP address of an instance.
- CreatedAt string
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- DiskEncrypted boolEnable 
- Indicates whether disk encryption is enabled.
- DiskEncrypted stringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- DmsInstance stringV2Id 
- EnablePublicip bool
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- Engine string
- Indicates a message engine. Only kafkais supported now.
- EngineVersion string
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- MaintainBegin string
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- MaintainEnd string
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- NodeNum double
- Node quantity.
- PartitionNum double
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- Port double
- Indicates the port number of an instance.
- ProductId string
- Indicates a product ID.
- PublicAccess stringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- PublicBandwidth double
- PublicConnect List<string>Addresses 
- List of Public IPs bound to DMS instance with specified port.
- PublicipIds List<string>
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- ResourceSpec stringCode 
- Indicates a resource specifications identifier.
- RetentionPolicy string
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- SecurityGroup stringId 
- Indicates the ID of a security group.
- SecurityGroup stringName 
- Indicates the name of a security group.
- Specification string
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- SslEnable bool
- Indicates whether security authentication is enabled.
Possible values: true,false.
- Status string
- Indicates the status of an instance. For details, see section Instance Status.
- StorageResource stringId 
- Storage resource ID.
- StorageSpace double
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- StorageSpec stringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- SubnetCidr string
- Indicates subnet CIDR block.
- SubnetId string
- Indicates the ID of the subnet (OpenStack network ID).
- SubnetName string
- Indicates the name of a subnet.
- Dictionary<string, string>
- Tags key/value pairs to associate with the instance.
- Timeouts
DmsInstance V2Timeouts 
- TotalStorage doubleSpace 
- Total message storage space in GB.
- Type string
- Indicates an instance type. Options: singleandcluster.
- UsedStorage doubleSpace 
- Indicates the used message storage space. Unit: GB
- UserId string
- Indicates a user ID.
- UserName string
- Indicates a username.
- VpcId string
- Indicates the ID of a VPC (OpenStack router ID).
- VpcName string
- AccessUser string
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- AvailableZones []string
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- ConnectAddress string
- Indicates the IP address of an instance.
- CreatedAt string
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- Description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- DiskEncrypted boolEnable 
- Indicates whether disk encryption is enabled.
- DiskEncrypted stringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- DmsInstance stringV2Id 
- EnablePublicip bool
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- Engine string
- Indicates a message engine. Only kafkais supported now.
- EngineVersion string
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- MaintainBegin string
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- MaintainEnd string
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- Name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- NodeNum float64
- Node quantity.
- PartitionNum float64
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- Password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- Port float64
- Indicates the port number of an instance.
- ProductId string
- Indicates a product ID.
- PublicAccess stringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- PublicBandwidth float64
- PublicConnect []stringAddresses 
- List of Public IPs bound to DMS instance with specified port.
- PublicipIds []string
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- ResourceSpec stringCode 
- Indicates a resource specifications identifier.
- RetentionPolicy string
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- SecurityGroup stringId 
- Indicates the ID of a security group.
- SecurityGroup stringName 
- Indicates the name of a security group.
- Specification string
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- SslEnable bool
- Indicates whether security authentication is enabled.
Possible values: true,false.
- Status string
- Indicates the status of an instance. For details, see section Instance Status.
- StorageResource stringId 
- Storage resource ID.
- StorageSpace float64
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- StorageSpec stringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- SubnetCidr string
- Indicates subnet CIDR block.
- SubnetId string
- Indicates the ID of the subnet (OpenStack network ID).
- SubnetName string
- Indicates the name of a subnet.
- map[string]string
- Tags key/value pairs to associate with the instance.
- Timeouts
DmsInstance V2Timeouts Args 
- TotalStorage float64Space 
- Total message storage space in GB.
- Type string
- Indicates an instance type. Options: singleandcluster.
- UsedStorage float64Space 
- Indicates the used message storage space. Unit: GB
- UserId string
- Indicates a user ID.
- UserName string
- Indicates a username.
- VpcId string
- Indicates the ID of a VPC (OpenStack router ID).
- VpcName string
- accessUser String
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- availableZones List<String>
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connectAddress String
- Indicates the IP address of an instance.
- createdAt String
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- diskEncrypted BooleanEnable 
- Indicates whether disk encryption is enabled.
- diskEncrypted StringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dmsInstance StringV2Id 
- enablePublicip Boolean
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- engine String
- Indicates a message engine. Only kafkais supported now.
- engineVersion String
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- maintainBegin String
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintainEnd String
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- nodeNum Double
- Node quantity.
- partitionNum Double
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- port Double
- Indicates the port number of an instance.
- productId String
- Indicates a product ID.
- publicAccess StringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- publicBandwidth Double
- publicConnect List<String>Addresses 
- List of Public IPs bound to DMS instance with specified port.
- publicipIds List<String>
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- resourceSpec StringCode 
- Indicates a resource specifications identifier.
- retentionPolicy String
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- securityGroup StringId 
- Indicates the ID of a security group.
- securityGroup StringName 
- Indicates the name of a security group.
- specification String
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- sslEnable Boolean
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status String
- Indicates the status of an instance. For details, see section Instance Status.
- storageResource StringId 
- Storage resource ID.
- storageSpace Double
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storageSpec StringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnetCidr String
- Indicates subnet CIDR block.
- subnetId String
- Indicates the ID of the subnet (OpenStack network ID).
- subnetName String
- Indicates the name of a subnet.
- Map<String,String>
- Tags key/value pairs to associate with the instance.
- timeouts
DmsInstance V2Timeouts 
- totalStorage DoubleSpace 
- Total message storage space in GB.
- type String
- Indicates an instance type. Options: singleandcluster.
- usedStorage DoubleSpace 
- Indicates the used message storage space. Unit: GB
- userId String
- Indicates a user ID.
- userName String
- Indicates a username.
- vpcId String
- Indicates the ID of a VPC (OpenStack router ID).
- vpcName String
- accessUser string
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- availableZones string[]
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connectAddress string
- Indicates the IP address of an instance.
- createdAt string
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description string
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- diskEncrypted booleanEnable 
- Indicates whether disk encryption is enabled.
- diskEncrypted stringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dmsInstance stringV2Id 
- enablePublicip boolean
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- engine string
- Indicates a message engine. Only kafkais supported now.
- engineVersion string
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- maintainBegin string
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintainEnd string
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name string
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- nodeNum number
- Node quantity.
- partitionNum number
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password string
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- port number
- Indicates the port number of an instance.
- productId string
- Indicates a product ID.
- publicAccess stringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- publicBandwidth number
- publicConnect string[]Addresses 
- List of Public IPs bound to DMS instance with specified port.
- publicipIds string[]
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- resourceSpec stringCode 
- Indicates a resource specifications identifier.
- retentionPolicy string
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- securityGroup stringId 
- Indicates the ID of a security group.
- securityGroup stringName 
- Indicates the name of a security group.
- specification string
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- sslEnable boolean
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status string
- Indicates the status of an instance. For details, see section Instance Status.
- storageResource stringId 
- Storage resource ID.
- storageSpace number
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storageSpec stringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnetCidr string
- Indicates subnet CIDR block.
- subnetId string
- Indicates the ID of the subnet (OpenStack network ID).
- subnetName string
- Indicates the name of a subnet.
- {[key: string]: string}
- Tags key/value pairs to associate with the instance.
- timeouts
DmsInstance V2Timeouts 
- totalStorage numberSpace 
- Total message storage space in GB.
- type string
- Indicates an instance type. Options: singleandcluster.
- usedStorage numberSpace 
- Indicates the used message storage space. Unit: GB
- userId string
- Indicates a user ID.
- userName string
- Indicates a username.
- vpcId string
- Indicates the ID of a VPC (OpenStack router ID).
- vpcName string
- access_user str
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- available_zones Sequence[str]
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connect_address str
- Indicates the IP address of an instance.
- created_at str
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description str
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- disk_encrypted_ boolenable 
- Indicates whether disk encryption is enabled.
- disk_encrypted_ strkey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dms_instance_ strv2_ id 
- enable_publicip bool
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- engine str
- Indicates a message engine. Only kafkais supported now.
- engine_version str
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- maintain_begin str
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintain_end str
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name str
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- node_num float
- Node quantity.
- partition_num float
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password str
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- port float
- Indicates the port number of an instance.
- product_id str
- Indicates a product ID.
- public_access_ strenabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- public_bandwidth float
- public_connect_ Sequence[str]addresses 
- List of Public IPs bound to DMS instance with specified port.
- publicip_ids Sequence[str]
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- resource_spec_ strcode 
- Indicates a resource specifications identifier.
- retention_policy str
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- security_group_ strid 
- Indicates the ID of a security group.
- security_group_ strname 
- Indicates the name of a security group.
- specification str
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- ssl_enable bool
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status str
- Indicates the status of an instance. For details, see section Instance Status.
- storage_resource_ strid 
- Storage resource ID.
- storage_space float
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storage_spec_ strcode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnet_cidr str
- Indicates subnet CIDR block.
- subnet_id str
- Indicates the ID of the subnet (OpenStack network ID).
- subnet_name str
- Indicates the name of a subnet.
- Mapping[str, str]
- Tags key/value pairs to associate with the instance.
- timeouts
DmsInstance V2Timeouts Args 
- total_storage_ floatspace 
- Total message storage space in GB.
- type str
- Indicates an instance type. Options: singleandcluster.
- used_storage_ floatspace 
- Indicates the used message storage space. Unit: GB
- user_id str
- Indicates a user ID.
- user_name str
- Indicates a username.
- vpc_id str
- Indicates the ID of a VPC (OpenStack router ID).
- vpc_name str
- accessUser String
- Indicates a username. A username consists of 4 to 64 characters
and supports only letters, digits, and hyphens (-).- Providing access_userandpasswordenablessslfor the instance.
 
- Providing 
- availableZones List<String>
- Indicates the ID of an AZ. The parameter value can not be left blank or an empty array. For details, see section Querying AZ Information.
- connectAddress String
- Indicates the IP address of an instance.
- createdAt String
- Indicates the time when an instance is created. The time is in the format of timestamp, that is, the offset milliseconds from 1970-01-01 00:00:00 UTC to the specified time.
- description String
- Indicates the description of an instance. It is a character string containing not more than 1024 characters.
- diskEncrypted BooleanEnable 
- Indicates whether disk encryption is enabled.
- diskEncrypted StringKey 
- Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
- dmsInstance StringV2Id 
- enablePublicip Boolean
- Whether to enable public access. By default, public access is disabled.- Possible values: true,false.
- Default: false.
 
- Possible values: 
- engine String
- Indicates a message engine. Only kafkais supported now.
- engineVersion String
- Indicates the version of a message engine.
Options: 2.3.0,2.7.
- maintainBegin String
- Indicates the time at which a maintenance time window starts.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The start time must be set to 22:00,02:00,06:00,10:00,14:00, or18:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_beginis left blank, parametermaintain_endis also blank. In this case, the system automatically allocates the default start time02:00.
 
- maintainEnd String
- Indicates the time at which a maintenance time window ends.
Format: HH:mm.- The start time and end time of a maintenance time window must indicate the time segment of a supported maintenance time window.
- The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is02:00.
- Parameters maintain_beginandmaintain_endmust be set in pairs. If parametermaintain_endis left blank, parametermaintain_beginis also blank. In this case, the system automatically allocates the default end time06:00.
 
- name String
- Indicates the name of an instance. An instance name starts with a letter, consists of 4 to 64 characters, and supports only letters, digits, and hyphens (-).
- nodeNum Number
- Node quantity.
- partitionNum Number
- This parameter is mandatory when a kafkainstance is created. Indicates the maximum number of topics in a Kafka instance.- When specificationis100MB:300
- When specificationis300MB:900
- When specificationis600MB:1800
- When specificationis1200MB:1800
 
- When 
- password String
- Indicates the password of an instance. An instance password
must meet the following complexity requirements: Must be 8 to 32 characters long.
Must contain at least 2 of the following character types: lowercase letters, uppercase
letters, digits, and special characters (~!@#$%^&*()-_=+\|[{}]:'",<.>/?).
- port Number
- Indicates the port number of an instance.
- productId String
- Indicates a product ID.
- publicAccess StringEnabled 
- Time when public access was enabled for an instance.
The value can be true,actived,closed, orfalse.
- publicBandwidth Number
- publicConnect List<String>Addresses 
- List of Public IPs bound to DMS instance with specified port.
- publicipIds List<String>
- List of public ipIDs to be bound to DMS instance nodes.- Provided ip amount should be same as amount of DMS cluster nodes.
- Example: ["0f2a51dc-93ce-42af","d967d49b-6659-4052","002872f4-82a4-4f6e-9a4e"].
 
- resourceSpec StringCode 
- Indicates a resource specifications identifier.
- retentionPolicy String
- Indicates the action to be taken when the memory usage reaches the disk capacity threshold. The possible values are:
- securityGroup StringId 
- Indicates the ID of a security group.
- securityGroup StringName 
- Indicates the name of a security group.
- specification String
- This parameter is mandatory if the engine is kafka. Indicates the baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit:byte/s. Options:100MB,300MB,600MB,1200MB.
- sslEnable Boolean
- Indicates whether security authentication is enabled.
Possible values: true,false.
- status String
- Indicates the status of an instance. For details, see section Instance Status.
- storageResource StringId 
- Storage resource ID.
- storageSpace Number
- Indicates the message storage space. Value range:- Kafka instance with specificationbeing100MB:600–90000GB
- Kafka instance with specificationbeing300MB:1200–90000GB
- Kafka instance with specificationbeing600MB:2400–90000GB
- Kafka instance with specificationbeing1200MB:4800–90000GB
 
- Kafka instance with 
- storageSpec StringCode 
- Indicates the storage I/O specification. Options for a Kafka instance:- When specificationis100MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis300MB:dms.physical.storage.highordms.physical.storage.ultra
- When specificationis600MB:dms.physical.storage.ultra
- When specificationis1200MB:dms.physical.storage.ultra
 
- When 
- subnetCidr String
- Indicates subnet CIDR block.
- subnetId String
- Indicates the ID of the subnet (OpenStack network ID).
- subnetName String
- Indicates the name of a subnet.
- Map<String>
- Tags key/value pairs to associate with the instance.
- timeouts Property Map
- totalStorage NumberSpace 
- Total message storage space in GB.
- type String
- Indicates an instance type. Options: singleandcluster.
- usedStorage NumberSpace 
- Indicates the used message storage space. Unit: GB
- userId String
- Indicates a user ID.
- userName String
- Indicates a username.
- vpcId String
- Indicates the ID of a VPC (OpenStack router ID).
- vpcName String
Supporting Types
DmsInstanceV2Timeouts, DmsInstanceV2TimeoutsArgs      
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the opentelekomcloudTerraform Provider.