1. Registry
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. DmsRocketmqInstanceV2
Viewing docs for opentelekomcloud 1.37.11
published on Friday, Oct 23, 2026 by opentelekomcloud
opentelekomcloud
Viewing docs for opentelekomcloud 1.37.11
published on Friday, Oct 23, 2026 by opentelekomcloud

    Up-to-date reference of API arguments for DMS RocketMQ instance you can get at documentation portal

    Manages a DMS RocketMQ instance in the OpenTelekomCloud DMS Service.

    Example Usage

    Create a single-node RocketMQ instance

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const vpcId = config.requireObject<any>("vpcId");
    const subnetId = config.requireObject<any>("subnetId");
    const securityGroupId = config.requireObject<any>("securityGroupId");
    const az1 = opentelekomcloud.getDmsAzV1({});
    const test = new opentelekomcloud.DmsRocketmqInstanceV2("test", {
        name: "rocketmq_test",
        description: "rocketmq test",
        vpcId: vpcId,
        subnetId: subnetId,
        securityGroupId: securityGroupId,
        availableZones: [az1.then(az1 => az1.id)],
        engineVersion: "5.x",
        flavorId: "rocketmq.b1.large.1",
        storageSpecCode: "dms.physical.storage.ultra.v2",
        storageSpace: 300,
        brokerNum: 1,
        configs: [{
            name: "fileReservedTime",
            value: "72",
        }],
        tags: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    vpc_id = config.require_object("vpcId")
    subnet_id = config.require_object("subnetId")
    security_group_id = config.require_object("securityGroupId")
    az1 = opentelekomcloud.get_dms_az_v1()
    test = opentelekomcloud.DmsRocketmqInstanceV2("test",
        name="rocketmq_test",
        description="rocketmq test",
        vpc_id=vpc_id,
        subnet_id=subnet_id,
        security_group_id=security_group_id,
        available_zones=[az1.id],
        engine_version="5.x",
        flavor_id="rocketmq.b1.large.1",
        storage_spec_code="dms.physical.storage.ultra.v2",
        storage_space=300,
        broker_num=1,
        configs=[{
            "name": "fileReservedTime",
            "value": "72",
        }],
        tags={
            "foo": "bar",
        })
    
    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")
    		securityGroupId := cfg.RequireObject("securityGroupId")
    		az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = opentelekomcloud.NewDmsRocketmqInstanceV2(ctx, "test", &opentelekomcloud.DmsRocketmqInstanceV2Args{
    			Name:            pulumi.String("rocketmq_test"),
    			Description:     pulumi.String("rocketmq test"),
    			VpcId:           pulumi.Any(vpcId),
    			SubnetId:        pulumi.Any(subnetId),
    			SecurityGroupId: pulumi.Any(securityGroupId),
    			AvailableZones: pulumi.StringArray{
    				pulumi.String(az1.Id),
    			},
    			EngineVersion:   pulumi.String("5.x"),
    			FlavorId:        pulumi.String("rocketmq.b1.large.1"),
    			StorageSpecCode: pulumi.String("dms.physical.storage.ultra.v2"),
    			StorageSpace:    pulumi.Float64(300),
    			BrokerNum:       pulumi.Float64(1),
    			Configs: opentelekomcloud.DmsRocketmqInstanceV2ConfigArray{
    				&opentelekomcloud.DmsRocketmqInstanceV2ConfigArgs{
    					Name:  pulumi.String("fileReservedTime"),
    					Value: pulumi.String("72"),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    		})
    		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 securityGroupId = config.RequireObject<dynamic>("securityGroupId");
        var az1 = Opentelekomcloud.GetDmsAzV1.Invoke();
    
        var test = new Opentelekomcloud.DmsRocketmqInstanceV2("test", new()
        {
            Name = "rocketmq_test",
            Description = "rocketmq test",
            VpcId = vpcId,
            SubnetId = subnetId,
            SecurityGroupId = securityGroupId,
            AvailableZones = new[]
            {
                az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
            },
            EngineVersion = "5.x",
            FlavorId = "rocketmq.b1.large.1",
            StorageSpecCode = "dms.physical.storage.ultra.v2",
            StorageSpace = 300,
            BrokerNum = 1,
            Configs = new[]
            {
                new Opentelekomcloud.Inputs.DmsRocketmqInstanceV2ConfigArgs
                {
                    Name = "fileReservedTime",
                    Value = "72",
                },
            },
            Tags = 
            {
                { "foo", "bar" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
    import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2;
    import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2Args;
    import com.pulumi.opentelekomcloud.inputs.DmsRocketmqInstanceV2ConfigArgs;
    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 securityGroupId = config.get("securityGroupId");
            final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
                .build());
    
            var test = new DmsRocketmqInstanceV2("test", DmsRocketmqInstanceV2Args.builder()
                .name("rocketmq_test")
                .description("rocketmq test")
                .vpcId(vpcId)
                .subnetId(subnetId)
                .securityGroupId(securityGroupId)
                .availableZones(az1.id())
                .engineVersion("5.x")
                .flavorId("rocketmq.b1.large.1")
                .storageSpecCode("dms.physical.storage.ultra.v2")
                .storageSpace(300.0)
                .brokerNum(1.0)
                .configs(DmsRocketmqInstanceV2ConfigArgs.builder()
                    .name("fileReservedTime")
                    .value("72")
                    .build())
                .tags(Map.of("foo", "bar"))
                .build());
    
        }
    }
    
    configuration:
      vpcId:
        type: dynamic
      subnetId:
        type: dynamic
      securityGroupId:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:DmsRocketmqInstanceV2
        properties:
          name: rocketmq_test
          description: rocketmq test
          vpcId: ${vpcId}
          subnetId: ${subnetId}
          securityGroupId: ${securityGroupId}
          availableZones:
            - ${az1.id}
          engineVersion: 5.x
          flavorId: rocketmq.b1.large.1
          storageSpecCode: dms.physical.storage.ultra.v2
          storageSpace: 300
          brokerNum: 1
          configs:
            - name: fileReservedTime
              value: '72'
          tags:
            foo: bar
    variables:
      az1:
        fn::invoke:
          function: opentelekomcloud:getDmsAzV1
          arguments: {}
    
    Example coming soon!
    

    Create a RocketMQ instance with public access

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const vpcId = config.requireObject<any>("vpcId");
    const subnetId = config.requireObject<any>("subnetId");
    const securityGroupId = config.requireObject<any>("securityGroupId");
    const az1 = opentelekomcloud.getDmsAzV1({});
    const fip1 = new opentelekomcloud.NetworkingFloatingipV2("fip_1", {});
    const test = new opentelekomcloud.DmsRocketmqInstanceV2("test", {
        name: "rocketmq_public",
        vpcId: vpcId,
        subnetId: subnetId,
        securityGroupId: securityGroupId,
        availableZones: [az1.then(az1 => az1.id)],
        engineVersion: "5.x",
        flavorId: "rocketmq.b1.large.1",
        storageSpecCode: "dms.physical.storage.ultra.v2",
        storageSpace: 300,
        brokerNum: 1,
        enablePublicip: true,
        publicipIds: [fip1.networkingFloatingipV2Id],
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    vpc_id = config.require_object("vpcId")
    subnet_id = config.require_object("subnetId")
    security_group_id = config.require_object("securityGroupId")
    az1 = opentelekomcloud.get_dms_az_v1()
    fip1 = opentelekomcloud.NetworkingFloatingipV2("fip_1")
    test = opentelekomcloud.DmsRocketmqInstanceV2("test",
        name="rocketmq_public",
        vpc_id=vpc_id,
        subnet_id=subnet_id,
        security_group_id=security_group_id,
        available_zones=[az1.id],
        engine_version="5.x",
        flavor_id="rocketmq.b1.large.1",
        storage_spec_code="dms.physical.storage.ultra.v2",
        storage_space=300,
        broker_num=1,
        enable_publicip=True,
        publicip_ids=[fip1.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")
    		securityGroupId := cfg.RequireObject("securityGroupId")
    		az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{}, nil)
    		if err != nil {
    			return err
    		}
    		fip1, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip_1", nil)
    		if err != nil {
    			return err
    		}
    		_, err = opentelekomcloud.NewDmsRocketmqInstanceV2(ctx, "test", &opentelekomcloud.DmsRocketmqInstanceV2Args{
    			Name:            pulumi.String("rocketmq_public"),
    			VpcId:           pulumi.Any(vpcId),
    			SubnetId:        pulumi.Any(subnetId),
    			SecurityGroupId: pulumi.Any(securityGroupId),
    			AvailableZones: pulumi.StringArray{
    				pulumi.String(az1.Id),
    			},
    			EngineVersion:   pulumi.String("5.x"),
    			FlavorId:        pulumi.String("rocketmq.b1.large.1"),
    			StorageSpecCode: pulumi.String("dms.physical.storage.ultra.v2"),
    			StorageSpace:    pulumi.Float64(300),
    			BrokerNum:       pulumi.Float64(1),
    			EnablePublicip:  pulumi.Bool(true),
    			PublicipIds: pulumi.StringArray{
    				fip1.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 securityGroupId = config.RequireObject<dynamic>("securityGroupId");
        var az1 = Opentelekomcloud.GetDmsAzV1.Invoke();
    
        var fip1 = new Opentelekomcloud.NetworkingFloatingipV2("fip_1");
    
        var test = new Opentelekomcloud.DmsRocketmqInstanceV2("test", new()
        {
            Name = "rocketmq_public",
            VpcId = vpcId,
            SubnetId = subnetId,
            SecurityGroupId = securityGroupId,
            AvailableZones = new[]
            {
                az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
            },
            EngineVersion = "5.x",
            FlavorId = "rocketmq.b1.large.1",
            StorageSpecCode = "dms.physical.storage.ultra.v2",
            StorageSpace = 300,
            BrokerNum = 1,
            EnablePublicip = true,
            PublicipIds = new[]
            {
                fip1.NetworkingFloatingipV2Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
    import com.pulumi.opentelekomcloud.NetworkingFloatingipV2;
    import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2;
    import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2Args;
    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 securityGroupId = config.get("securityGroupId");
            final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
                .build());
    
            var fip1 = new NetworkingFloatingipV2("fip1");
    
            var test = new DmsRocketmqInstanceV2("test", DmsRocketmqInstanceV2Args.builder()
                .name("rocketmq_public")
                .vpcId(vpcId)
                .subnetId(subnetId)
                .securityGroupId(securityGroupId)
                .availableZones(az1.id())
                .engineVersion("5.x")
                .flavorId("rocketmq.b1.large.1")
                .storageSpecCode("dms.physical.storage.ultra.v2")
                .storageSpace(300.0)
                .brokerNum(1.0)
                .enablePublicip(true)
                .publicipIds(fip1.networkingFloatingipV2Id())
                .build());
    
        }
    }
    
    configuration:
      vpcId:
        type: dynamic
      subnetId:
        type: dynamic
      securityGroupId:
        type: dynamic
    resources:
      fip1:
        type: opentelekomcloud:NetworkingFloatingipV2
        name: fip_1
      test:
        type: opentelekomcloud:DmsRocketmqInstanceV2
        properties:
          name: rocketmq_public
          vpcId: ${vpcId}
          subnetId: ${subnetId}
          securityGroupId: ${securityGroupId}
          availableZones:
            - ${az1.id}
          engineVersion: 5.x
          flavorId: rocketmq.b1.large.1
          storageSpecCode: dms.physical.storage.ultra.v2
          storageSpace: 300
          brokerNum: 1
          enablePublicip: true
          publicipIds:
            - ${fip1.networkingFloatingipV2Id}
    variables:
      az1:
        fn::invoke:
          function: opentelekomcloud:getDmsAzV1
          arguments: {}
    
    Example coming soon!
    

    Create DmsRocketmqInstanceV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DmsRocketmqInstanceV2(name: string, args: DmsRocketmqInstanceV2Args, opts?: CustomResourceOptions);
    @overload
    def DmsRocketmqInstanceV2(resource_name: str,
                              args: DmsRocketmqInstanceV2Args,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def DmsRocketmqInstanceV2(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              storage_space: Optional[float] = None,
                              available_zones: Optional[Sequence[str]] = None,
                              broker_num: Optional[float] = None,
                              vpc_id: Optional[str] = None,
                              subnet_id: Optional[str] = None,
                              storage_spec_code: Optional[str] = None,
                              flavor_id: Optional[str] = None,
                              security_group_id: Optional[str] = None,
                              engine_version: Optional[str] = None,
                              enable_acl: Optional[bool] = None,
                              publicip_ids: Optional[Sequence[str]] = None,
                              name: Optional[str] = None,
                              enterprise_project_id: Optional[str] = None,
                              enable_publicip: Optional[bool] = None,
                              ssl_enable: Optional[bool] = None,
                              arch_type: Optional[str] = None,
                              dms_rocketmq_instance_v2_id: Optional[str] = None,
                              description: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              timeouts: Optional[DmsRocketmqInstanceV2TimeoutsArgs] = None,
                              tls_mode: Optional[str] = None,
                              configs: Optional[Sequence[DmsRocketmqInstanceV2ConfigArgs]] = None)
    func NewDmsRocketmqInstanceV2(ctx *Context, name string, args DmsRocketmqInstanceV2Args, opts ...ResourceOption) (*DmsRocketmqInstanceV2, error)
    public DmsRocketmqInstanceV2(string name, DmsRocketmqInstanceV2Args args, CustomResourceOptions? opts = null)
    public DmsRocketmqInstanceV2(String name, DmsRocketmqInstanceV2Args args)
    public DmsRocketmqInstanceV2(String name, DmsRocketmqInstanceV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:DmsRocketmqInstanceV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "opentelekomcloud_dms_rocketmq_instance_v2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DmsRocketmqInstanceV2Args
    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 DmsRocketmqInstanceV2Args
    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 DmsRocketmqInstanceV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DmsRocketmqInstanceV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DmsRocketmqInstanceV2Args
    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 dmsRocketmqInstanceV2Resource = new Opentelekomcloud.DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource", new()
    {
        StorageSpace = 0.0,
        AvailableZones = new[]
        {
            "string",
        },
        BrokerNum = 0.0,
        VpcId = "string",
        SubnetId = "string",
        StorageSpecCode = "string",
        FlavorId = "string",
        SecurityGroupId = "string",
        EngineVersion = "string",
        EnableAcl = false,
        PublicipIds = new[]
        {
            "string",
        },
        Name = "string",
        EnterpriseProjectId = "string",
        EnablePublicip = false,
        SslEnable = false,
        ArchType = "string",
        DmsRocketmqInstanceV2Id = "string",
        Description = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Opentelekomcloud.Inputs.DmsRocketmqInstanceV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        TlsMode = "string",
        Configs = new[]
        {
            new Opentelekomcloud.Inputs.DmsRocketmqInstanceV2ConfigArgs
            {
                Name = "string",
                Value = "string",
            },
        },
    });
    
    example, err := opentelekomcloud.NewDmsRocketmqInstanceV2(ctx, "dmsRocketmqInstanceV2Resource", &opentelekomcloud.DmsRocketmqInstanceV2Args{
    	StorageSpace: pulumi.Float64(0),
    	AvailableZones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BrokerNum:       pulumi.Float64(0),
    	VpcId:           pulumi.String("string"),
    	SubnetId:        pulumi.String("string"),
    	StorageSpecCode: pulumi.String("string"),
    	FlavorId:        pulumi.String("string"),
    	SecurityGroupId: pulumi.String("string"),
    	EngineVersion:   pulumi.String("string"),
    	EnableAcl:       pulumi.Bool(false),
    	PublicipIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:                    pulumi.String("string"),
    	EnterpriseProjectId:     pulumi.String("string"),
    	EnablePublicip:          pulumi.Bool(false),
    	SslEnable:               pulumi.Bool(false),
    	ArchType:                pulumi.String("string"),
    	DmsRocketmqInstanceV2Id: pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &opentelekomcloud.DmsRocketmqInstanceV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	TlsMode: pulumi.String("string"),
    	Configs: opentelekomcloud.DmsRocketmqInstanceV2ConfigArray{
    		&opentelekomcloud.DmsRocketmqInstanceV2ConfigArgs{
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    resource "opentelekomcloud_dms_rocketmq_instance_v2" "dmsRocketmqInstanceV2Resource" {
      lifecycle {
        create_before_destroy = true
      }
      storage_space               = 0
      available_zones             = ["string"]
      broker_num                  = 0
      vpc_id                      = "string"
      subnet_id                   = "string"
      storage_spec_code           = "string"
      flavor_id                   = "string"
      security_group_id           = "string"
      engine_version              = "string"
      enable_acl                  = false
      publicip_ids                = ["string"]
      name                        = "string"
      enterprise_project_id       = "string"
      enable_publicip             = false
      ssl_enable                  = false
      arch_type                   = "string"
      dms_rocketmq_instance_v2_id = "string"
      description                 = "string"
      tags = {
        "string" = "string"
      }
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
      tls_mode = "string"
      configs {
        name  = "string"
        value = "string"
      }
    }
    
    var dmsRocketmqInstanceV2Resource = new DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource", DmsRocketmqInstanceV2Args.builder()
        .storageSpace(0.0)
        .availableZones("string")
        .brokerNum(0.0)
        .vpcId("string")
        .subnetId("string")
        .storageSpecCode("string")
        .flavorId("string")
        .securityGroupId("string")
        .engineVersion("string")
        .enableAcl(false)
        .publicipIds("string")
        .name("string")
        .enterpriseProjectId("string")
        .enablePublicip(false)
        .sslEnable(false)
        .archType("string")
        .dmsRocketmqInstanceV2Id("string")
        .description("string")
        .tags(Map.of("string", "string"))
        .timeouts(DmsRocketmqInstanceV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .tlsMode("string")
        .configs(DmsRocketmqInstanceV2ConfigArgs.builder()
            .name("string")
            .value("string")
            .build())
        .build());
    
    dms_rocketmq_instance_v2_resource = opentelekomcloud.DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource",
        storage_space=float(0),
        available_zones=["string"],
        broker_num=float(0),
        vpc_id="string",
        subnet_id="string",
        storage_spec_code="string",
        flavor_id="string",
        security_group_id="string",
        engine_version="string",
        enable_acl=False,
        publicip_ids=["string"],
        name="string",
        enterprise_project_id="string",
        enable_publicip=False,
        ssl_enable=False,
        arch_type="string",
        dms_rocketmq_instance_v2_id="string",
        description="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        tls_mode="string",
        configs=[{
            "name": "string",
            "value": "string",
        }])
    
    const dmsRocketmqInstanceV2Resource = new opentelekomcloud.DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource", {
        storageSpace: 0,
        availableZones: ["string"],
        brokerNum: 0,
        vpcId: "string",
        subnetId: "string",
        storageSpecCode: "string",
        flavorId: "string",
        securityGroupId: "string",
        engineVersion: "string",
        enableAcl: false,
        publicipIds: ["string"],
        name: "string",
        enterpriseProjectId: "string",
        enablePublicip: false,
        sslEnable: false,
        archType: "string",
        dmsRocketmqInstanceV2Id: "string",
        description: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        tlsMode: "string",
        configs: [{
            name: "string",
            value: "string",
        }],
    });
    
    type: opentelekomcloud:DmsRocketmqInstanceV2
    properties:
        archType: string
        availableZones:
            - string
        brokerNum: 0
        configs:
            - name: string
              value: string
        description: string
        dmsRocketmqInstanceV2Id: string
        enableAcl: false
        enablePublicip: false
        engineVersion: string
        enterpriseProjectId: string
        flavorId: string
        name: string
        publicipIds:
            - string
        securityGroupId: string
        sslEnable: false
        storageSpace: 0
        storageSpecCode: string
        subnetId: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
        tlsMode: string
        vpcId: string
    

    DmsRocketmqInstanceV2 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 DmsRocketmqInstanceV2 resource accepts the following input properties:

    AvailableZones List<string>
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    BrokerNum double
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    FlavorId string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    SecurityGroupId string
    Specifies the ID of a security group.
    StorageSpace double
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    StorageSpecCode string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    SubnetId string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    VpcId string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    ArchType string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    Configs List<DmsRocketmqInstanceV2Config>
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    Description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    DmsRocketmqInstanceV2Id string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Specifies whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    EnterpriseProjectId string
    Specifies the enterprise project ID of the instance.
    Name string
    Specifies the configuration name, e.g. fileReservedTime.
    PublicipIds List<string>
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    SslEnable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    Tags Dictionary<string, string>

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    Timeouts DmsRocketmqInstanceV2Timeouts
    TlsMode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    AvailableZones []string
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    BrokerNum float64
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    FlavorId string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    SecurityGroupId string
    Specifies the ID of a security group.
    StorageSpace float64
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    StorageSpecCode string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    SubnetId string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    VpcId string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    ArchType string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    Configs []DmsRocketmqInstanceV2ConfigArgs
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    Description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    DmsRocketmqInstanceV2Id string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Specifies whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    EnterpriseProjectId string
    Specifies the enterprise project ID of the instance.
    Name string
    Specifies the configuration name, e.g. fileReservedTime.
    PublicipIds []string
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    SslEnable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    Tags map[string]string

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    Timeouts DmsRocketmqInstanceV2TimeoutsArgs
    TlsMode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    available_zones list(string)
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    broker_num number
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    engine_version string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    flavor_id string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    security_group_id string
    Specifies the ID of a security group.
    storage_space number
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storage_spec_code string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnet_id string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    vpc_id string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    arch_type string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    configs list(object)
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dms_rocketmq_instance_v2_id string
    Specifies a resource ID in UUID format.
    enable_acl bool
    Specifies whether access control is enabled.
    enable_publicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    enterprise_project_id string
    Specifies the enterprise project ID of the instance.
    name string
    Specifies the configuration name, e.g. fileReservedTime.
    publicip_ids list(string)
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    ssl_enable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    tags map(string)

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts object
    tls_mode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    availableZones List<String>
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    brokerNum Double
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    flavorId String
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    securityGroupId String
    Specifies the ID of a security group.
    storageSpace Double
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storageSpecCode String
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnetId String
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    vpcId String
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    archType String
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    configs List<DmsRocketmqInstanceV2Config>
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    description String
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dmsRocketmqInstanceV2Id String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Specifies whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled.
    enterpriseProjectId String
    Specifies the enterprise project ID of the instance.
    name String
    Specifies the configuration name, e.g. fileReservedTime.
    publicipIds List<String>
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    sslEnable Boolean
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    tags Map<String,String>

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts DmsRocketmqInstanceV2Timeouts
    tlsMode String
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    availableZones string[]
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    brokerNum number
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    engineVersion string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    flavorId string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    securityGroupId string
    Specifies the ID of a security group.
    storageSpace number
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storageSpecCode string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnetId string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    vpcId string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    archType string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    configs DmsRocketmqInstanceV2Config[]
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dmsRocketmqInstanceV2Id string
    Specifies a resource ID in UUID format.
    enableAcl boolean
    Specifies whether access control is enabled.
    enablePublicip boolean
    Specifies whether to enable public access. By default, public access is disabled.
    enterpriseProjectId string
    Specifies the enterprise project ID of the instance.
    name string
    Specifies the configuration name, e.g. fileReservedTime.
    publicipIds string[]
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    sslEnable boolean
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    tags {[key: string]: string}

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts DmsRocketmqInstanceV2Timeouts
    tlsMode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    available_zones Sequence[str]
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    broker_num float
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    engine_version str
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    flavor_id str
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    security_group_id str
    Specifies the ID of a security group.
    storage_space float
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storage_spec_code str
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnet_id str
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    vpc_id str
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    arch_type str
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    configs Sequence[DmsRocketmqInstanceV2ConfigArgs]
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    description str
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dms_rocketmq_instance_v2_id str
    Specifies a resource ID in UUID format.
    enable_acl bool
    Specifies whether access control is enabled.
    enable_publicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    enterprise_project_id str
    Specifies the enterprise project ID of the instance.
    name str
    Specifies the configuration name, e.g. fileReservedTime.
    publicip_ids Sequence[str]
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    ssl_enable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    tags Mapping[str, str]

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts DmsRocketmqInstanceV2TimeoutsArgs
    tls_mode str
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    availableZones List<String>
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    brokerNum Number
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    flavorId String
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    securityGroupId String
    Specifies the ID of a security group.
    storageSpace Number
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storageSpecCode String
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnetId String
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    vpcId String
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    archType String
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    configs List<Property Map>
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    description String
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dmsRocketmqInstanceV2Id String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Specifies whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled.
    enterpriseProjectId String
    Specifies the enterprise project ID of the instance.
    name String
    Specifies the configuration name, e.g. fileReservedTime.
    publicipIds List<String>
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    sslEnable Boolean
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    tags Map<String>

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts Property Map
    tlsMode String
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DmsRocketmqInstanceV2 resource produces the following output properties:

    BrokerAddress string
    Indicates the service data address.
    CreatedAt string
    Indicates the creation time, as a timestamp in milliseconds.
    CrossVpcAccesses List<DmsRocketmqInstanceV2CrossVpcAccess>
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    Engine string
    Indicates the message engine.
    GrpcAddress string
    Indicates the gRPC connection address.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6Enable bool
    Indicates whether IPv6 is enabled.
    MaintainBegin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    MaintainEnd string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    NamesrvAddress string
    Indicates the metadata address.
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicGrpcAddress string
    Indicates the public gRPC connection address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    Region string
    The region in which the DMS RocketMQ instance is created.
    ResourceSpecCode string
    Indicates the resource specification.
    Specification string
    Indicates the instance specification.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    Type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    UsedStorageSpace double
    Indicates the used message storage space. Unit: GB.
    BrokerAddress string
    Indicates the service data address.
    CreatedAt string
    Indicates the creation time, as a timestamp in milliseconds.
    CrossVpcAccesses []DmsRocketmqInstanceV2CrossVpcAccess
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    Engine string
    Indicates the message engine.
    GrpcAddress string
    Indicates the gRPC connection address.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv6Enable bool
    Indicates whether IPv6 is enabled.
    MaintainBegin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    MaintainEnd string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    NamesrvAddress string
    Indicates the metadata address.
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicGrpcAddress string
    Indicates the public gRPC connection address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    Region string
    The region in which the DMS RocketMQ instance is created.
    ResourceSpecCode string
    Indicates the resource specification.
    Specification string
    Indicates the instance specification.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    Type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    UsedStorageSpace float64
    Indicates the used message storage space. Unit: GB.
    broker_address string
    Indicates the service data address.
    created_at string
    Indicates the creation time, as a timestamp in milliseconds.
    cross_vpc_accesses list(object)
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    engine string
    Indicates the message engine.
    grpc_address string
    Indicates the gRPC connection address.
    id string
    The provider-assigned unique ID for this managed resource.
    ipv6_enable bool
    Indicates whether IPv6 is enabled.
    maintain_begin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintain_end string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    namesrv_address string
    Indicates the metadata address.
    public_broker_address string
    Indicates the public network service data address.
    public_grpc_address string
    Indicates the public gRPC connection address.
    public_namesrv_address string
    Indicates the public network metadata address.
    publicip_address string
    Indicates the public IP address.
    region string
    The region in which the DMS RocketMQ instance is created.
    resource_spec_code string
    Indicates the resource specification.
    specification string
    Indicates the instance specification.
    status string
    Indicates the status of the DMS RocketMQ instance.
    type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    used_storage_space number
    Indicates the used message storage space. Unit: GB.
    brokerAddress String
    Indicates the service data address.
    createdAt String
    Indicates the creation time, as a timestamp in milliseconds.
    crossVpcAccesses List<DmsRocketmqInstanceV2CrossVpcAccess>
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    engine String
    Indicates the message engine.
    grpcAddress String
    Indicates the gRPC connection address.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6Enable Boolean
    Indicates whether IPv6 is enabled.
    maintainBegin String
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintainEnd String
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    namesrvAddress String
    Indicates the metadata address.
    publicBrokerAddress String
    Indicates the public network service data address.
    publicGrpcAddress String
    Indicates the public gRPC connection address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    region String
    The region in which the DMS RocketMQ instance is created.
    resourceSpecCode String
    Indicates the resource specification.
    specification String
    Indicates the instance specification.
    status String
    Indicates the status of the DMS RocketMQ instance.
    type String
    Indicates the instance type. Values: single.basic, cluster.basic.
    usedStorageSpace Double
    Indicates the used message storage space. Unit: GB.
    brokerAddress string
    Indicates the service data address.
    createdAt string
    Indicates the creation time, as a timestamp in milliseconds.
    crossVpcAccesses DmsRocketmqInstanceV2CrossVpcAccess[]
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    engine string
    Indicates the message engine.
    grpcAddress string
    Indicates the gRPC connection address.
    id string
    The provider-assigned unique ID for this managed resource.
    ipv6Enable boolean
    Indicates whether IPv6 is enabled.
    maintainBegin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintainEnd string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    namesrvAddress string
    Indicates the metadata address.
    publicBrokerAddress string
    Indicates the public network service data address.
    publicGrpcAddress string
    Indicates the public gRPC connection address.
    publicNamesrvAddress string
    Indicates the public network metadata address.
    publicipAddress string
    Indicates the public IP address.
    region string
    The region in which the DMS RocketMQ instance is created.
    resourceSpecCode string
    Indicates the resource specification.
    specification string
    Indicates the instance specification.
    status string
    Indicates the status of the DMS RocketMQ instance.
    type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    usedStorageSpace number
    Indicates the used message storage space. Unit: GB.
    broker_address str
    Indicates the service data address.
    created_at str
    Indicates the creation time, as a timestamp in milliseconds.
    cross_vpc_accesses Sequence[DmsRocketmqInstanceV2CrossVpcAccess]
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    engine str
    Indicates the message engine.
    grpc_address str
    Indicates the gRPC connection address.
    id str
    The provider-assigned unique ID for this managed resource.
    ipv6_enable bool
    Indicates whether IPv6 is enabled.
    maintain_begin str
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintain_end str
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    namesrv_address str
    Indicates the metadata address.
    public_broker_address str
    Indicates the public network service data address.
    public_grpc_address str
    Indicates the public gRPC connection address.
    public_namesrv_address str
    Indicates the public network metadata address.
    publicip_address str
    Indicates the public IP address.
    region str
    The region in which the DMS RocketMQ instance is created.
    resource_spec_code str
    Indicates the resource specification.
    specification str
    Indicates the instance specification.
    status str
    Indicates the status of the DMS RocketMQ instance.
    type str
    Indicates the instance type. Values: single.basic, cluster.basic.
    used_storage_space float
    Indicates the used message storage space. Unit: GB.
    brokerAddress String
    Indicates the service data address.
    createdAt String
    Indicates the creation time, as a timestamp in milliseconds.
    crossVpcAccesses List<Property Map>
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    engine String
    Indicates the message engine.
    grpcAddress String
    Indicates the gRPC connection address.
    id String
    The provider-assigned unique ID for this managed resource.
    ipv6Enable Boolean
    Indicates whether IPv6 is enabled.
    maintainBegin String
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintainEnd String
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    namesrvAddress String
    Indicates the metadata address.
    publicBrokerAddress String
    Indicates the public network service data address.
    publicGrpcAddress String
    Indicates the public gRPC connection address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    region String
    The region in which the DMS RocketMQ instance is created.
    resourceSpecCode String
    Indicates the resource specification.
    specification String
    Indicates the instance specification.
    status String
    Indicates the status of the DMS RocketMQ instance.
    type String
    Indicates the instance type. Values: single.basic, cluster.basic.
    usedStorageSpace Number
    Indicates the used message storage space. Unit: GB.

    Look up Existing DmsRocketmqInstanceV2 Resource

    Get an existing DmsRocketmqInstanceV2 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?: DmsRocketmqInstanceV2State, opts?: CustomResourceOptions): DmsRocketmqInstanceV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arch_type: Optional[str] = None,
            available_zones: Optional[Sequence[str]] = None,
            broker_address: Optional[str] = None,
            broker_num: Optional[float] = None,
            configs: Optional[Sequence[DmsRocketmqInstanceV2ConfigArgs]] = None,
            created_at: Optional[str] = None,
            cross_vpc_accesses: Optional[Sequence[DmsRocketmqInstanceV2CrossVpcAccessArgs]] = None,
            description: Optional[str] = None,
            dms_rocketmq_instance_v2_id: Optional[str] = None,
            enable_acl: Optional[bool] = None,
            enable_publicip: Optional[bool] = None,
            engine: Optional[str] = None,
            engine_version: Optional[str] = None,
            enterprise_project_id: Optional[str] = None,
            flavor_id: Optional[str] = None,
            grpc_address: Optional[str] = None,
            ipv6_enable: Optional[bool] = None,
            maintain_begin: Optional[str] = None,
            maintain_end: Optional[str] = None,
            name: Optional[str] = None,
            namesrv_address: Optional[str] = None,
            public_broker_address: Optional[str] = None,
            public_grpc_address: Optional[str] = None,
            public_namesrv_address: Optional[str] = None,
            publicip_address: Optional[str] = None,
            publicip_ids: Optional[Sequence[str]] = None,
            region: Optional[str] = None,
            resource_spec_code: Optional[str] = None,
            security_group_id: Optional[str] = None,
            specification: Optional[str] = None,
            ssl_enable: Optional[bool] = None,
            status: Optional[str] = None,
            storage_space: Optional[float] = None,
            storage_spec_code: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[DmsRocketmqInstanceV2TimeoutsArgs] = None,
            tls_mode: Optional[str] = None,
            type: Optional[str] = None,
            used_storage_space: Optional[float] = None,
            vpc_id: Optional[str] = None) -> DmsRocketmqInstanceV2
    func GetDmsRocketmqInstanceV2(ctx *Context, name string, id IDInput, state *DmsRocketmqInstanceV2State, opts ...ResourceOption) (*DmsRocketmqInstanceV2, error)
    public static DmsRocketmqInstanceV2 Get(string name, Input<string> id, DmsRocketmqInstanceV2State? state, CustomResourceOptions? opts = null)
    public static DmsRocketmqInstanceV2 get(String name, Output<String> id, DmsRocketmqInstanceV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:DmsRocketmqInstanceV2    get:      id: ${id}
    import {
      to = opentelekomcloud_dms_rocketmq_instance_v2.example
      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:
    ArchType string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    AvailableZones List<string>
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    BrokerAddress string
    Indicates the service data address.
    BrokerNum double
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    Configs List<DmsRocketmqInstanceV2Config>
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    CreatedAt string
    Indicates the creation time, as a timestamp in milliseconds.
    CrossVpcAccesses List<DmsRocketmqInstanceV2CrossVpcAccess>
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    Description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    DmsRocketmqInstanceV2Id string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Specifies whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    Engine string
    Indicates the message engine.
    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    EnterpriseProjectId string
    Specifies the enterprise project ID of the instance.
    FlavorId string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    GrpcAddress string
    Indicates the gRPC connection address.
    Ipv6Enable bool
    Indicates whether IPv6 is enabled.
    MaintainBegin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    MaintainEnd string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    Name string
    Specifies the configuration name, e.g. fileReservedTime.
    NamesrvAddress string
    Indicates the metadata address.
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicGrpcAddress string
    Indicates the public gRPC connection address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    PublicipIds List<string>
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    Region string
    The region in which the DMS RocketMQ instance is created.
    ResourceSpecCode string
    Indicates the resource specification.
    SecurityGroupId string
    Specifies the ID of a security group.
    Specification string
    Indicates the instance specification.
    SslEnable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    StorageSpace double
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    StorageSpecCode string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    SubnetId string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    Tags Dictionary<string, string>

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    Timeouts DmsRocketmqInstanceV2Timeouts
    TlsMode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    Type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    UsedStorageSpace double
    Indicates the used message storage space. Unit: GB.
    VpcId string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    ArchType string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    AvailableZones []string
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    BrokerAddress string
    Indicates the service data address.
    BrokerNum float64
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    Configs []DmsRocketmqInstanceV2ConfigArgs
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    CreatedAt string
    Indicates the creation time, as a timestamp in milliseconds.
    CrossVpcAccesses []DmsRocketmqInstanceV2CrossVpcAccessArgs
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    Description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    DmsRocketmqInstanceV2Id string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Specifies whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    Engine string
    Indicates the message engine.
    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    EnterpriseProjectId string
    Specifies the enterprise project ID of the instance.
    FlavorId string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    GrpcAddress string
    Indicates the gRPC connection address.
    Ipv6Enable bool
    Indicates whether IPv6 is enabled.
    MaintainBegin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    MaintainEnd string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    Name string
    Specifies the configuration name, e.g. fileReservedTime.
    NamesrvAddress string
    Indicates the metadata address.
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicGrpcAddress string
    Indicates the public gRPC connection address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    PublicipIds []string
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    Region string
    The region in which the DMS RocketMQ instance is created.
    ResourceSpecCode string
    Indicates the resource specification.
    SecurityGroupId string
    Specifies the ID of a security group.
    Specification string
    Indicates the instance specification.
    SslEnable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    StorageSpace float64
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    StorageSpecCode string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    SubnetId string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    Tags map[string]string

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    Timeouts DmsRocketmqInstanceV2TimeoutsArgs
    TlsMode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    Type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    UsedStorageSpace float64
    Indicates the used message storage space. Unit: GB.
    VpcId string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    arch_type string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    available_zones list(string)
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    broker_address string
    Indicates the service data address.
    broker_num number
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    configs list(object)
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    created_at string
    Indicates the creation time, as a timestamp in milliseconds.
    cross_vpc_accesses list(object)
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dms_rocketmq_instance_v2_id string
    Specifies a resource ID in UUID format.
    enable_acl bool
    Specifies whether access control is enabled.
    enable_publicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    engine string
    Indicates the message engine.
    engine_version string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    enterprise_project_id string
    Specifies the enterprise project ID of the instance.
    flavor_id string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    grpc_address string
    Indicates the gRPC connection address.
    ipv6_enable bool
    Indicates whether IPv6 is enabled.
    maintain_begin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintain_end string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    name string
    Specifies the configuration name, e.g. fileReservedTime.
    namesrv_address string
    Indicates the metadata address.
    public_broker_address string
    Indicates the public network service data address.
    public_grpc_address string
    Indicates the public gRPC connection address.
    public_namesrv_address string
    Indicates the public network metadata address.
    publicip_address string
    Indicates the public IP address.
    publicip_ids list(string)
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    region string
    The region in which the DMS RocketMQ instance is created.
    resource_spec_code string
    Indicates the resource specification.
    security_group_id string
    Specifies the ID of a security group.
    specification string
    Indicates the instance specification.
    ssl_enable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    status string
    Indicates the status of the DMS RocketMQ instance.
    storage_space number
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storage_spec_code string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnet_id string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    tags map(string)

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts object
    tls_mode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    used_storage_space number
    Indicates the used message storage space. Unit: GB.
    vpc_id string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    archType String
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    availableZones List<String>
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    brokerAddress String
    Indicates the service data address.
    brokerNum Double
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    configs List<DmsRocketmqInstanceV2Config>
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    createdAt String
    Indicates the creation time, as a timestamp in milliseconds.
    crossVpcAccesses List<DmsRocketmqInstanceV2CrossVpcAccess>
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    description String
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dmsRocketmqInstanceV2Id String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Specifies whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled.
    engine String
    Indicates the message engine.
    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    enterpriseProjectId String
    Specifies the enterprise project ID of the instance.
    flavorId String
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    grpcAddress String
    Indicates the gRPC connection address.
    ipv6Enable Boolean
    Indicates whether IPv6 is enabled.
    maintainBegin String
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintainEnd String
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    name String
    Specifies the configuration name, e.g. fileReservedTime.
    namesrvAddress String
    Indicates the metadata address.
    publicBrokerAddress String
    Indicates the public network service data address.
    publicGrpcAddress String
    Indicates the public gRPC connection address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    publicipIds List<String>
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    region String
    The region in which the DMS RocketMQ instance is created.
    resourceSpecCode String
    Indicates the resource specification.
    securityGroupId String
    Specifies the ID of a security group.
    specification String
    Indicates the instance specification.
    sslEnable Boolean
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    status String
    Indicates the status of the DMS RocketMQ instance.
    storageSpace Double
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storageSpecCode String
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnetId String
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    tags Map<String,String>

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts DmsRocketmqInstanceV2Timeouts
    tlsMode String
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    type String
    Indicates the instance type. Values: single.basic, cluster.basic.
    usedStorageSpace Double
    Indicates the used message storage space. Unit: GB.
    vpcId String
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    archType string
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    availableZones string[]
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    brokerAddress string
    Indicates the service data address.
    brokerNum number
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    configs DmsRocketmqInstanceV2Config[]
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    createdAt string
    Indicates the creation time, as a timestamp in milliseconds.
    crossVpcAccesses DmsRocketmqInstanceV2CrossVpcAccess[]
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    description string
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dmsRocketmqInstanceV2Id string
    Specifies a resource ID in UUID format.
    enableAcl boolean
    Specifies whether access control is enabled.
    enablePublicip boolean
    Specifies whether to enable public access. By default, public access is disabled.
    engine string
    Indicates the message engine.
    engineVersion string
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    enterpriseProjectId string
    Specifies the enterprise project ID of the instance.
    flavorId string
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    grpcAddress string
    Indicates the gRPC connection address.
    ipv6Enable boolean
    Indicates whether IPv6 is enabled.
    maintainBegin string
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintainEnd string
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    name string
    Specifies the configuration name, e.g. fileReservedTime.
    namesrvAddress string
    Indicates the metadata address.
    publicBrokerAddress string
    Indicates the public network service data address.
    publicGrpcAddress string
    Indicates the public gRPC connection address.
    publicNamesrvAddress string
    Indicates the public network metadata address.
    publicipAddress string
    Indicates the public IP address.
    publicipIds string[]
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    region string
    The region in which the DMS RocketMQ instance is created.
    resourceSpecCode string
    Indicates the resource specification.
    securityGroupId string
    Specifies the ID of a security group.
    specification string
    Indicates the instance specification.
    sslEnable boolean
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    status string
    Indicates the status of the DMS RocketMQ instance.
    storageSpace number
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storageSpecCode string
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnetId string
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    tags {[key: string]: string}

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts DmsRocketmqInstanceV2Timeouts
    tlsMode string
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    type string
    Indicates the instance type. Values: single.basic, cluster.basic.
    usedStorageSpace number
    Indicates the used message storage space. Unit: GB.
    vpcId string
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    arch_type str
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    available_zones Sequence[str]
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    broker_address str
    Indicates the service data address.
    broker_num float
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    configs Sequence[DmsRocketmqInstanceV2ConfigArgs]
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    created_at str
    Indicates the creation time, as a timestamp in milliseconds.
    cross_vpc_accesses Sequence[DmsRocketmqInstanceV2CrossVpcAccessArgs]
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    description str
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dms_rocketmq_instance_v2_id str
    Specifies a resource ID in UUID format.
    enable_acl bool
    Specifies whether access control is enabled.
    enable_publicip bool
    Specifies whether to enable public access. By default, public access is disabled.
    engine str
    Indicates the message engine.
    engine_version str
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    enterprise_project_id str
    Specifies the enterprise project ID of the instance.
    flavor_id str
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    grpc_address str
    Indicates the gRPC connection address.
    ipv6_enable bool
    Indicates whether IPv6 is enabled.
    maintain_begin str
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintain_end str
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    name str
    Specifies the configuration name, e.g. fileReservedTime.
    namesrv_address str
    Indicates the metadata address.
    public_broker_address str
    Indicates the public network service data address.
    public_grpc_address str
    Indicates the public gRPC connection address.
    public_namesrv_address str
    Indicates the public network metadata address.
    publicip_address str
    Indicates the public IP address.
    publicip_ids Sequence[str]
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    region str
    The region in which the DMS RocketMQ instance is created.
    resource_spec_code str
    Indicates the resource specification.
    security_group_id str
    Specifies the ID of a security group.
    specification str
    Indicates the instance specification.
    ssl_enable bool
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    status str
    Indicates the status of the DMS RocketMQ instance.
    storage_space float
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storage_spec_code str
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnet_id str
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    tags Mapping[str, str]

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts DmsRocketmqInstanceV2TimeoutsArgs
    tls_mode str
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    type str
    Indicates the instance type. Values: single.basic, cluster.basic.
    used_storage_space float
    Indicates the used message storage space. Unit: GB.
    vpc_id str
    Specifies the ID of a VPC. Changing this creates a new instance resource.
    archType String
    Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
    availableZones List<String>
    Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
    brokerAddress String
    Indicates the service data address.
    brokerNum Number
    Specifies the number of brokers. The broker number can't be changed separately, the instance can only be scaled via flavor_id.
    configs List<Property Map>
    Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
    createdAt String
    Indicates the creation time, as a timestamp in milliseconds.
    crossVpcAccesses List<Property Map>
    Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
    description String
    Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
    dmsRocketmqInstanceV2Id String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Specifies whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled.
    engine String
    Indicates the message engine.
    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
    enterpriseProjectId String
    Specifies the enterprise project ID of the instance.
    flavorId String
    Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
    grpcAddress String
    Indicates the gRPC connection address.
    ipv6Enable Boolean
    Indicates whether IPv6 is enabled.
    maintainBegin String
    Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
    maintainEnd String
    Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
    name String
    Specifies the configuration name, e.g. fileReservedTime.
    namesrvAddress String
    Indicates the metadata address.
    publicBrokerAddress String
    Indicates the public network service data address.
    publicGrpcAddress String
    Indicates the public gRPC connection address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    publicipIds List<String>
    Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
    region String
    The region in which the DMS RocketMQ instance is created.
    resourceSpecCode String
    Indicates the resource specification.
    securityGroupId String
    Specifies the ID of a security group.
    specification String
    Indicates the instance specification.
    sslEnable Boolean
    Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
    status String
    Indicates the status of the DMS RocketMQ instance.
    storageSpace Number
    Specifies the message storage capacity, the unit is GB. The supported range depends on the flavor, see min_storage_per_node and max_storage_per_node of the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB.
    storageSpecCode String
    Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
    subnetId String
    Specifies the network ID of a subnet. Changing this creates a new instance resource.
    tags Map<String>

    The key/value pairs to associate with the instance. A maximum of 20 tags can be added.

    The configs block supports:

    timeouts Property Map
    tlsMode String
    Specifies the security protocol used by the instance. Changing this creates a new instance resource.
    type String
    Indicates the instance type. Values: single.basic, cluster.basic.
    usedStorageSpace Number
    Indicates the used message storage space. Unit: GB.
    vpcId String
    Specifies the ID of a VPC. Changing this creates a new instance resource.

    Supporting Types

    DmsRocketmqInstanceV2Config, DmsRocketmqInstanceV2ConfigArgs

    Name string
    Specifies the configuration name, e.g. fileReservedTime.
    Value string
    Specifies the configuration value.
    Name string
    Specifies the configuration name, e.g. fileReservedTime.
    Value string
    Specifies the configuration value.
    name string
    Specifies the configuration name, e.g. fileReservedTime.
    value string
    Specifies the configuration value.
    name String
    Specifies the configuration name, e.g. fileReservedTime.
    value String
    Specifies the configuration value.
    name string
    Specifies the configuration name, e.g. fileReservedTime.
    value string
    Specifies the configuration value.
    name str
    Specifies the configuration name, e.g. fileReservedTime.
    value str
    Specifies the configuration value.
    name String
    Specifies the configuration name, e.g. fileReservedTime.
    value String
    Specifies the configuration value.

    DmsRocketmqInstanceV2CrossVpcAccess, DmsRocketmqInstanceV2CrossVpcAccessArgs

    AdvertisedIp string
    The advertised IP address or domain name.
    ListenerIp string
    The listener IP address.
    Port double
    The port number.
    PortId string
    The port ID associated with the address.
    AdvertisedIp string
    The advertised IP address or domain name.
    ListenerIp string
    The listener IP address.
    Port float64
    The port number.
    PortId string
    The port ID associated with the address.
    advertised_ip string
    The advertised IP address or domain name.
    listener_ip string
    The listener IP address.
    port number
    The port number.
    port_id string
    The port ID associated with the address.
    advertisedIp String
    The advertised IP address or domain name.
    listenerIp String
    The listener IP address.
    port Double
    The port number.
    portId String
    The port ID associated with the address.
    advertisedIp string
    The advertised IP address or domain name.
    listenerIp string
    The listener IP address.
    port number
    The port number.
    portId string
    The port ID associated with the address.
    advertised_ip str
    The advertised IP address or domain name.
    listener_ip str
    The listener IP address.
    port float
    The port number.
    port_id str
    The port ID associated with the address.
    advertisedIp String
    The advertised IP address or domain name.
    listenerIp String
    The listener IP address.
    port Number
    The port number.
    portId String
    The port ID associated with the address.

    DmsRocketmqInstanceV2Timeouts, DmsRocketmqInstanceV2TimeoutsArgs

    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 string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    DMS RocketMQ instance can be imported using the instance id, e.g.

    $ pulumi import opentelekomcloud:index/dmsRocketmqInstanceV2:DmsRocketmqInstanceV2  opentelekomcloud_dms_rocketmq_instance_v2.test 8d3c7938-dc47-4937-a30f-c80de381c5e3
    

    Note that the imported state may not be identical to your resource definition, as only the configs

    listed in the resource definition are tracked. It is generally recommended running pulumi preview after importing

    a DMS RocketMQ instance. You can then decide if changes should be applied to the instance, or the resource definition

    should be updated to align with the instance. Also, you can ignore changes as below.

    hcl

    resource “opentelekomcloud_dms_rocketmq_instance_v2” “test” {

    lifecycle {

    ignore_changes = [
    
      configs,
    
    ]
    

    }

    }

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud
    Viewing docs for opentelekomcloud 1.37.11
    published on Friday, Oct 23, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial