1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. DmsInstanceV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.DmsInstanceV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    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)
        .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(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 kafka is supported now.
    EngineVersion string
    Indicates the version of a message engine. Options: 1.1.0, 2.3.0, 2.7.
    ProductId string
    Indicates a product ID.
    SecurityGroupId string
    Indicates the ID of a security group.
    StorageSpace double
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    StorageSpecCode string
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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_user and password enables ssl for the instance.
    Description string
    Indicates the description of an instance. It is a character string containing not more than 1024 characters.
    DiskEncryptedEnable bool
    Indicates whether disk encryption is enabled.
    DiskEncryptedKey string
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    DmsInstanceV2Id string
    EnablePublicip bool
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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 ip IDs 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.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the instance.
    Timeouts DmsInstanceV2Timeouts
    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 kafka is supported now.
    EngineVersion string
    Indicates the version of a message engine. Options: 1.1.0, 2.3.0, 2.7.
    ProductId string
    Indicates a product ID.
    SecurityGroupId string
    Indicates the ID of a security group.
    StorageSpace float64
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    StorageSpecCode string
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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_user and password enables ssl for the instance.
    Description string
    Indicates the description of an instance. It is a character string containing not more than 1024 characters.
    DiskEncryptedEnable bool
    Indicates whether disk encryption is enabled.
    DiskEncryptedKey string
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    DmsInstanceV2Id string
    EnablePublicip bool
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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 ip IDs 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.
    Tags map[string]string
    Tags key/value pairs to associate with the instance.
    Timeouts DmsInstanceV2TimeoutsArgs
    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 kafka is supported now.
    engineVersion String
    Indicates the version of a message engine. Options: 1.1.0, 2.3.0, 2.7.
    productId String
    Indicates a product ID.
    securityGroupId String
    Indicates the ID of a security group.
    storageSpace Double
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storageSpecCode String
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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_user and password enables ssl for the instance.
    description String
    Indicates the description of an instance. It is a character string containing not more than 1024 characters.
    diskEncryptedEnable Boolean
    Indicates whether disk encryption is enabled.
    diskEncryptedKey String
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dmsInstanceV2Id String
    enablePublicip Boolean
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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 ip IDs 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.
    tags Map<String,String>
    Tags key/value pairs to associate with the instance.
    timeouts DmsInstanceV2Timeouts
    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 kafka is supported now.
    engineVersion string
    Indicates the version of a message engine. Options: 1.1.0, 2.3.0, 2.7.
    productId string
    Indicates a product ID.
    securityGroupId string
    Indicates the ID of a security group.
    storageSpace number
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storageSpecCode string
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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_user and password enables ssl for the instance.
    description string
    Indicates the description of an instance. It is a character string containing not more than 1024 characters.
    diskEncryptedEnable boolean
    Indicates whether disk encryption is enabled.
    diskEncryptedKey string
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dmsInstanceV2Id string
    enablePublicip boolean
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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 ip IDs 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.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the instance.
    timeouts DmsInstanceV2Timeouts
    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 kafka is supported now.
    engine_version str
    Indicates the version of a message engine. Options: 1.1.0, 2.3.0, 2.7.
    product_id str
    Indicates a product ID.
    security_group_id str
    Indicates the ID of a security group.
    storage_space float
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storage_spec_code str
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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_user and password enables ssl for the instance.
    description str
    Indicates the description of an instance. It is a character string containing not more than 1024 characters.
    disk_encrypted_enable bool
    Indicates whether disk encryption is enabled.
    disk_encrypted_key str
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dms_instance_v2_id str
    enable_publicip bool
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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 ip IDs 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.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the instance.
    timeouts DmsInstanceV2TimeoutsArgs
    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 kafka is supported now.
    engineVersion String
    Indicates the version of a message engine. Options: 1.1.0, 2.3.0, 2.7.
    productId String
    Indicates a product ID.
    securityGroupId String
    Indicates the ID of a security group.
    storageSpace Number
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storageSpecCode String
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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_user and password enables ssl for the instance.
    description String
    Indicates the description of an instance. It is a character string containing not more than 1024 characters.
    diskEncryptedEnable Boolean
    Indicates whether disk encryption is enabled.
    diskEncryptedKey String
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dmsInstanceV2Id String
    enablePublicip Boolean
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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 ip IDs 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.
    tags 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.
    PublicAccessEnabled string
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    PublicConnectAddresses List<string>
    List of Public IPs bound to DMS instance with specified port.
    ResourceSpecCode string
    Indicates a resource specifications identifier.
    SecurityGroupName string
    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.
    StorageResourceId string
    Storage resource ID.
    SubnetCidr string
    Indicates subnet CIDR block.
    SubnetName string
    Indicates the name of a subnet.
    TotalStorageSpace double
    Total message storage space in GB.
    Type string
    Indicates an instance type. Options: single and cluster.
    UsedStorageSpace double
    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.
    PublicAccessEnabled string
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    PublicConnectAddresses []string
    List of Public IPs bound to DMS instance with specified port.
    ResourceSpecCode string
    Indicates a resource specifications identifier.
    SecurityGroupName string
    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.
    StorageResourceId string
    Storage resource ID.
    SubnetCidr string
    Indicates subnet CIDR block.
    SubnetName string
    Indicates the name of a subnet.
    TotalStorageSpace float64
    Total message storage space in GB.
    Type string
    Indicates an instance type. Options: single and cluster.
    UsedStorageSpace float64
    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.
    publicAccessEnabled String
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    publicConnectAddresses List<String>
    List of Public IPs bound to DMS instance with specified port.
    resourceSpecCode String
    Indicates a resource specifications identifier.
    securityGroupName String
    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.
    storageResourceId String
    Storage resource ID.
    subnetCidr String
    Indicates subnet CIDR block.
    subnetName String
    Indicates the name of a subnet.
    totalStorageSpace Double
    Total message storage space in GB.
    type String
    Indicates an instance type. Options: single and cluster.
    usedStorageSpace Double
    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.
    publicAccessEnabled string
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    publicConnectAddresses string[]
    List of Public IPs bound to DMS instance with specified port.
    resourceSpecCode string
    Indicates a resource specifications identifier.
    securityGroupName string
    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.
    storageResourceId string
    Storage resource ID.
    subnetCidr string
    Indicates subnet CIDR block.
    subnetName string
    Indicates the name of a subnet.
    totalStorageSpace number
    Total message storage space in GB.
    type string
    Indicates an instance type. Options: single and cluster.
    usedStorageSpace number
    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_enabled str
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    public_connect_addresses Sequence[str]
    List of Public IPs bound to DMS instance with specified port.
    resource_spec_code str
    Indicates a resource specifications identifier.
    security_group_name str
    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_id str
    Storage resource ID.
    subnet_cidr str
    Indicates subnet CIDR block.
    subnet_name str
    Indicates the name of a subnet.
    total_storage_space float
    Total message storage space in GB.
    type str
    Indicates an instance type. Options: single and cluster.
    used_storage_space float
    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.
    publicAccessEnabled String
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    publicConnectAddresses List<String>
    List of Public IPs bound to DMS instance with specified port.
    resourceSpecCode String
    Indicates a resource specifications identifier.
    securityGroupName String
    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.
    storageResourceId String
    Storage resource ID.
    subnetCidr String
    Indicates subnet CIDR block.
    subnetName String
    Indicates the name of a subnet.
    totalStorageSpace Number
    Total message storage space in GB.
    type String
    Indicates an instance type. Options: single and cluster.
    usedStorageSpace Number
    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) -> DmsInstanceV2
    func 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.
    The following state arguments are supported:
    AccessUser string
    Indicates a username. A username consists of 4 to 64 characters and supports only letters, digits, and hyphens (-).

    • Providing access_user and password enables ssl for the instance.
    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.
    DiskEncryptedEnable bool
    Indicates whether disk encryption is enabled.
    DiskEncryptedKey string
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    DmsInstanceV2Id string
    EnablePublicip bool
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    Engine string
    Indicates a message engine. Only kafka is supported now.
    EngineVersion string
    Indicates the version of a message engine. Options: 1.1.0, 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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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.
    PublicAccessEnabled string
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    PublicBandwidth double
    PublicConnectAddresses List<string>
    List of Public IPs bound to DMS instance with specified port.
    PublicipIds List<string>
    List of public ip IDs 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"].
    ResourceSpecCode string
    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:
    SecurityGroupId string
    Indicates the ID of a security group.
    SecurityGroupName string
    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.
    StorageResourceId string
    Storage resource ID.
    StorageSpace double
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    StorageSpecCode string
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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.
    Tags Dictionary<string, string>
    Tags key/value pairs to associate with the instance.
    Timeouts DmsInstanceV2Timeouts
    TotalStorageSpace double
    Total message storage space in GB.
    Type string
    Indicates an instance type. Options: single and cluster.
    UsedStorageSpace double
    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_user and password enables ssl for the instance.
    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.
    DiskEncryptedEnable bool
    Indicates whether disk encryption is enabled.
    DiskEncryptedKey string
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    DmsInstanceV2Id string
    EnablePublicip bool
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    Engine string
    Indicates a message engine. Only kafka is supported now.
    EngineVersion string
    Indicates the version of a message engine. Options: 1.1.0, 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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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.
    PublicAccessEnabled string
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    PublicBandwidth float64
    PublicConnectAddresses []string
    List of Public IPs bound to DMS instance with specified port.
    PublicipIds []string
    List of public ip IDs 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"].
    ResourceSpecCode string
    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:
    SecurityGroupId string
    Indicates the ID of a security group.
    SecurityGroupName string
    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.
    StorageResourceId string
    Storage resource ID.
    StorageSpace float64
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    StorageSpecCode string
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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.
    Tags map[string]string
    Tags key/value pairs to associate with the instance.
    Timeouts DmsInstanceV2TimeoutsArgs
    TotalStorageSpace float64
    Total message storage space in GB.
    Type string
    Indicates an instance type. Options: single and cluster.
    UsedStorageSpace float64
    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_user and password enables ssl for the instance.
    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.
    diskEncryptedEnable Boolean
    Indicates whether disk encryption is enabled.
    diskEncryptedKey String
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dmsInstanceV2Id String
    enablePublicip Boolean
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    engine String
    Indicates a message engine. Only kafka is supported now.
    engineVersion String
    Indicates the version of a message engine. Options: 1.1.0, 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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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.
    publicAccessEnabled String
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    publicBandwidth Double
    publicConnectAddresses List<String>
    List of Public IPs bound to DMS instance with specified port.
    publicipIds List<String>
    List of public ip IDs 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"].
    resourceSpecCode String
    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:
    securityGroupId String
    Indicates the ID of a security group.
    securityGroupName String
    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.
    storageResourceId String
    Storage resource ID.
    storageSpace Double
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storageSpecCode String
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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.
    tags Map<String,String>
    Tags key/value pairs to associate with the instance.
    timeouts DmsInstanceV2Timeouts
    totalStorageSpace Double
    Total message storage space in GB.
    type String
    Indicates an instance type. Options: single and cluster.
    usedStorageSpace Double
    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_user and password enables ssl for the instance.
    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.
    diskEncryptedEnable boolean
    Indicates whether disk encryption is enabled.
    diskEncryptedKey string
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dmsInstanceV2Id string
    enablePublicip boolean
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    engine string
    Indicates a message engine. Only kafka is supported now.
    engineVersion string
    Indicates the version of a message engine. Options: 1.1.0, 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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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.
    publicAccessEnabled string
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    publicBandwidth number
    publicConnectAddresses string[]
    List of Public IPs bound to DMS instance with specified port.
    publicipIds string[]
    List of public ip IDs 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"].
    resourceSpecCode string
    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:
    securityGroupId string
    Indicates the ID of a security group.
    securityGroupName string
    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.
    storageResourceId string
    Storage resource ID.
    storageSpace number
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storageSpecCode string
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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.
    tags {[key: string]: string}
    Tags key/value pairs to associate with the instance.
    timeouts DmsInstanceV2Timeouts
    totalStorageSpace number
    Total message storage space in GB.
    type string
    Indicates an instance type. Options: single and cluster.
    usedStorageSpace number
    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_user and password enables ssl for the instance.
    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_enable bool
    Indicates whether disk encryption is enabled.
    disk_encrypted_key str
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dms_instance_v2_id str
    enable_publicip bool
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    engine str
    Indicates a message engine. Only kafka is supported now.
    engine_version str
    Indicates the version of a message engine. Options: 1.1.0, 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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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_enabled str
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    public_bandwidth float
    public_connect_addresses Sequence[str]
    List of Public IPs bound to DMS instance with specified port.
    publicip_ids Sequence[str]
    List of public ip IDs 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_code str
    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_id str
    Indicates the ID of a security group.
    security_group_name str
    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_id str
    Storage resource ID.
    storage_space float
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storage_spec_code str
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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.
    tags Mapping[str, str]
    Tags key/value pairs to associate with the instance.
    timeouts DmsInstanceV2TimeoutsArgs
    total_storage_space float
    Total message storage space in GB.
    type str
    Indicates an instance type. Options: single and cluster.
    used_storage_space float
    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_user and password enables ssl for the instance.
    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.
    diskEncryptedEnable Boolean
    Indicates whether disk encryption is enabled.
    diskEncryptedKey String
    Disk encryption key. If disk encryption is not enabled, this parameter is left blank.
    dmsInstanceV2Id String
    enablePublicip Boolean
    Whether to enable public access. By default, public access is disabled.

    • Possible values: true, false.
    • Default: false.
    engine String
    Indicates a message engine. Only kafka is supported now.
    engineVersion String
    Indicates the version of a message engine. Options: 1.1.0, 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, or 18:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_begin is left blank, parameter maintain_end is also blank. In this case, the system automatically allocates the default start time 02: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 is 02:00.
    • Parameters maintain_begin and maintain_end must be set in pairs. If parameter maintain_end is left blank, parameter maintain_begin is also blank. In this case, the system automatically allocates the default end time 06: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 kafka instance is created. Indicates the maximum number of topics in a Kafka instance.

    • When specification is 100MB: 300
    • When specification is 300MB: 900
    • When specification is 600MB: 1800
    • When specification is 1200MB: 1800
    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.
    publicAccessEnabled String
    Time when public access was enabled for an instance. The value can be true, actived, closed, or false.
    publicBandwidth Number
    publicConnectAddresses List<String>
    List of Public IPs bound to DMS instance with specified port.
    publicipIds List<String>
    List of public ip IDs 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"].
    resourceSpecCode String
    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:
    securityGroupId String
    Indicates the ID of a security group.
    securityGroupName String
    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.
    storageResourceId String
    Storage resource ID.
    storageSpace Number
    Indicates the message storage space. Value range:

    • Kafka instance with specification being 100MB: 60090000 GB
    • Kafka instance with specification being 300MB: 120090000 GB
    • Kafka instance with specification being 600MB: 240090000 GB
    • Kafka instance with specification being 1200MB: 480090000 GB
    storageSpecCode String
    Indicates the storage I/O specification. Options for a Kafka instance:

    • When specification is 100MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 300MB: dms.physical.storage.high or dms.physical.storage.ultra
    • When specification is 600MB: dms.physical.storage.ultra
    • When specification is 1200MB: dms.physical.storage.ultra
    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.
    tags Map<String>
    Tags key/value pairs to associate with the instance.
    timeouts Property Map
    totalStorageSpace Number
    Total message storage space in GB.
    type String
    Indicates an instance type. Options: single and cluster.
    usedStorageSpace Number
    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

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud