1. Registry
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. DmsRocketmqTopicV2
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 topic you can get at documentation portal

    Manages a DMS RocketMQ topic in the OpenTelekomCloud DMS Service.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const instanceId = config.requireObject<any>("instanceId");
    const test = new opentelekomcloud.DmsRocketmqTopicV2("test", {
        instanceId: instanceId,
        name: "topic_test",
        queueNum: 4,
        messageType: "NORMAL",
        description: "topic description",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    test = opentelekomcloud.DmsRocketmqTopicV2("test",
        instance_id=instance_id,
        name="topic_test",
        queue_num=4,
        message_type="NORMAL",
        description="topic description")
    
    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, "")
    		instanceId := cfg.RequireObject("instanceId")
    		_, err := opentelekomcloud.NewDmsRocketmqTopicV2(ctx, "test", &opentelekomcloud.DmsRocketmqTopicV2Args{
    			InstanceId:  pulumi.Any(instanceId),
    			Name:        pulumi.String("topic_test"),
    			QueueNum:    pulumi.Float64(4),
    			MessageType: pulumi.String("NORMAL"),
    			Description: pulumi.String("topic description"),
    		})
    		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 instanceId = config.RequireObject<dynamic>("instanceId");
        var test = new Opentelekomcloud.DmsRocketmqTopicV2("test", new()
        {
            InstanceId = instanceId,
            Name = "topic_test",
            QueueNum = 4,
            MessageType = "NORMAL",
            Description = "topic description",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.DmsRocketmqTopicV2;
    import com.pulumi.opentelekomcloud.DmsRocketmqTopicV2Args;
    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 instanceId = config.get("instanceId");
            var test = new DmsRocketmqTopicV2("test", DmsRocketmqTopicV2Args.builder()
                .instanceId(instanceId)
                .name("topic_test")
                .queueNum(4.0)
                .messageType("NORMAL")
                .description("topic description")
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:DmsRocketmqTopicV2
        properties:
          instanceId: ${instanceId}
          name: topic_test
          queueNum: 4
          messageType: NORMAL
          description: topic description
    
    Example coming soon!
    

    Create DmsRocketmqTopicV2 Resource

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

    Constructor syntax

    new DmsRocketmqTopicV2(name: string, args: DmsRocketmqTopicV2Args, opts?: CustomResourceOptions);
    @overload
    def DmsRocketmqTopicV2(resource_name: str,
                           args: DmsRocketmqTopicV2Args,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def DmsRocketmqTopicV2(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           instance_id: Optional[str] = None,
                           description: Optional[str] = None,
                           dms_rocketmq_topic_v2_id: Optional[str] = None,
                           message_type: Optional[str] = None,
                           name: Optional[str] = None,
                           queue_num: Optional[float] = None)
    func NewDmsRocketmqTopicV2(ctx *Context, name string, args DmsRocketmqTopicV2Args, opts ...ResourceOption) (*DmsRocketmqTopicV2, error)
    public DmsRocketmqTopicV2(string name, DmsRocketmqTopicV2Args args, CustomResourceOptions? opts = null)
    public DmsRocketmqTopicV2(String name, DmsRocketmqTopicV2Args args)
    public DmsRocketmqTopicV2(String name, DmsRocketmqTopicV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:DmsRocketmqTopicV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "opentelekomcloud_dms_rocketmq_topic_v2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DmsRocketmqTopicV2Args
    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 DmsRocketmqTopicV2Args
    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 DmsRocketmqTopicV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DmsRocketmqTopicV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DmsRocketmqTopicV2Args
    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 dmsRocketmqTopicV2Resource = new Opentelekomcloud.DmsRocketmqTopicV2("dmsRocketmqTopicV2Resource", new()
    {
        InstanceId = "string",
        Description = "string",
        DmsRocketmqTopicV2Id = "string",
        MessageType = "string",
        Name = "string",
        QueueNum = 0.0,
    });
    
    example, err := opentelekomcloud.NewDmsRocketmqTopicV2(ctx, "dmsRocketmqTopicV2Resource", &opentelekomcloud.DmsRocketmqTopicV2Args{
    	InstanceId:           pulumi.String("string"),
    	Description:          pulumi.String("string"),
    	DmsRocketmqTopicV2Id: pulumi.String("string"),
    	MessageType:          pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	QueueNum:             pulumi.Float64(0),
    })
    
    resource "opentelekomcloud_dms_rocketmq_topic_v2" "dmsRocketmqTopicV2Resource" {
      lifecycle {
        create_before_destroy = true
      }
      instance_id              = "string"
      description              = "string"
      dms_rocketmq_topic_v2_id = "string"
      message_type             = "string"
      name                     = "string"
      queue_num                = 0
    }
    
    var dmsRocketmqTopicV2Resource = new DmsRocketmqTopicV2("dmsRocketmqTopicV2Resource", DmsRocketmqTopicV2Args.builder()
        .instanceId("string")
        .description("string")
        .dmsRocketmqTopicV2Id("string")
        .messageType("string")
        .name("string")
        .queueNum(0.0)
        .build());
    
    dms_rocketmq_topic_v2_resource = opentelekomcloud.DmsRocketmqTopicV2("dmsRocketmqTopicV2Resource",
        instance_id="string",
        description="string",
        dms_rocketmq_topic_v2_id="string",
        message_type="string",
        name="string",
        queue_num=float(0))
    
    const dmsRocketmqTopicV2Resource = new opentelekomcloud.DmsRocketmqTopicV2("dmsRocketmqTopicV2Resource", {
        instanceId: "string",
        description: "string",
        dmsRocketmqTopicV2Id: "string",
        messageType: "string",
        name: "string",
        queueNum: 0,
    });
    
    type: opentelekomcloud:DmsRocketmqTopicV2
    properties:
        description: string
        dmsRocketmqTopicV2Id: string
        instanceId: string
        messageType: string
        name: string
        queueNum: 0
    

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

    InstanceId string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    Description string
    Specifies the description of the topic.
    DmsRocketmqTopicV2Id string
    The resource ID in format <instance_id>/<name>.
    MessageType string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    Name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    QueueNum double
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    InstanceId string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    Description string
    Specifies the description of the topic.
    DmsRocketmqTopicV2Id string
    The resource ID in format <instance_id>/<name>.
    MessageType string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    Name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    QueueNum float64
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    instance_id string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    description string
    Specifies the description of the topic.
    dms_rocketmq_topic_v2_id string
    The resource ID in format <instance_id>/<name>.
    message_type string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    queue_num number
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    instanceId String
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    description String
    Specifies the description of the topic.
    dmsRocketmqTopicV2Id String
    The resource ID in format <instance_id>/<name>.
    messageType String
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name String
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    queueNum Double
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    instanceId string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    description string
    Specifies the description of the topic.
    dmsRocketmqTopicV2Id string
    The resource ID in format <instance_id>/<name>.
    messageType string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    queueNum number
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    instance_id str
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    description str
    Specifies the description of the topic.
    dms_rocketmq_topic_v2_id str
    The resource ID in format <instance_id>/<name>.
    message_type str
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name str
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    queue_num float
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    instanceId String
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    description String
    Specifies the description of the topic.
    dmsRocketmqTopicV2Id String
    The resource ID in format <instance_id>/<name>.
    messageType String
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name String
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    queueNum Number
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    TotalReadQueueNum double
    Indicates the total number of read queues.
    TotalWriteQueueNum double
    Indicates the total number of write queues.
    Id string
    The provider-assigned unique ID for this managed resource.
    Permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    TotalReadQueueNum float64
    Indicates the total number of read queues.
    TotalWriteQueueNum float64
    Indicates the total number of write queues.
    id string
    The provider-assigned unique ID for this managed resource.
    permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    total_read_queue_num number
    Indicates the total number of read queues.
    total_write_queue_num number
    Indicates the total number of write queues.
    id String
    The provider-assigned unique ID for this managed resource.
    permission String
    Indicates the permission of the topic. Values: sub, pub, all.
    totalReadQueueNum Double
    Indicates the total number of read queues.
    totalWriteQueueNum Double
    Indicates the total number of write queues.
    id string
    The provider-assigned unique ID for this managed resource.
    permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    totalReadQueueNum number
    Indicates the total number of read queues.
    totalWriteQueueNum number
    Indicates the total number of write queues.
    id str
    The provider-assigned unique ID for this managed resource.
    permission str
    Indicates the permission of the topic. Values: sub, pub, all.
    total_read_queue_num float
    Indicates the total number of read queues.
    total_write_queue_num float
    Indicates the total number of write queues.
    id String
    The provider-assigned unique ID for this managed resource.
    permission String
    Indicates the permission of the topic. Values: sub, pub, all.
    totalReadQueueNum Number
    Indicates the total number of read queues.
    totalWriteQueueNum Number
    Indicates the total number of write queues.

    Look up Existing DmsRocketmqTopicV2 Resource

    Get an existing DmsRocketmqTopicV2 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?: DmsRocketmqTopicV2State, opts?: CustomResourceOptions): DmsRocketmqTopicV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            dms_rocketmq_topic_v2_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            message_type: Optional[str] = None,
            name: Optional[str] = None,
            permission: Optional[str] = None,
            queue_num: Optional[float] = None,
            total_read_queue_num: Optional[float] = None,
            total_write_queue_num: Optional[float] = None) -> DmsRocketmqTopicV2
    func GetDmsRocketmqTopicV2(ctx *Context, name string, id IDInput, state *DmsRocketmqTopicV2State, opts ...ResourceOption) (*DmsRocketmqTopicV2, error)
    public static DmsRocketmqTopicV2 Get(string name, Input<string> id, DmsRocketmqTopicV2State? state, CustomResourceOptions? opts = null)
    public static DmsRocketmqTopicV2 get(String name, Output<String> id, DmsRocketmqTopicV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:DmsRocketmqTopicV2    get:      id: ${id}
    import {
      to = opentelekomcloud_dms_rocketmq_topic_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:
    Description string
    Specifies the description of the topic.
    DmsRocketmqTopicV2Id string
    The resource ID in format <instance_id>/<name>.
    InstanceId string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    MessageType string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    Name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    Permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    QueueNum double
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    TotalReadQueueNum double
    Indicates the total number of read queues.
    TotalWriteQueueNum double
    Indicates the total number of write queues.
    Description string
    Specifies the description of the topic.
    DmsRocketmqTopicV2Id string
    The resource ID in format <instance_id>/<name>.
    InstanceId string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    MessageType string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    Name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    Permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    QueueNum float64
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    TotalReadQueueNum float64
    Indicates the total number of read queues.
    TotalWriteQueueNum float64
    Indicates the total number of write queues.
    description string
    Specifies the description of the topic.
    dms_rocketmq_topic_v2_id string
    The resource ID in format <instance_id>/<name>.
    instance_id string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    message_type string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    queue_num number
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    total_read_queue_num number
    Indicates the total number of read queues.
    total_write_queue_num number
    Indicates the total number of write queues.
    description String
    Specifies the description of the topic.
    dmsRocketmqTopicV2Id String
    The resource ID in format <instance_id>/<name>.
    instanceId String
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    messageType String
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name String
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    permission String
    Indicates the permission of the topic. Values: sub, pub, all.
    queueNum Double
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    totalReadQueueNum Double
    Indicates the total number of read queues.
    totalWriteQueueNum Double
    Indicates the total number of write queues.
    description string
    Specifies the description of the topic.
    dmsRocketmqTopicV2Id string
    The resource ID in format <instance_id>/<name>.
    instanceId string
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    messageType string
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name string
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    permission string
    Indicates the permission of the topic. Values: sub, pub, all.
    queueNum number
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    totalReadQueueNum number
    Indicates the total number of read queues.
    totalWriteQueueNum number
    Indicates the total number of write queues.
    description str
    Specifies the description of the topic.
    dms_rocketmq_topic_v2_id str
    The resource ID in format <instance_id>/<name>.
    instance_id str
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    message_type str
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name str
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    permission str
    Indicates the permission of the topic. Values: sub, pub, all.
    queue_num float
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    total_read_queue_num float
    Indicates the total number of read queues.
    total_write_queue_num float
    Indicates the total number of write queues.
    description String
    Specifies the description of the topic.
    dmsRocketmqTopicV2Id String
    The resource ID in format <instance_id>/<name>.
    instanceId String
    Specifies the ID of the RocketMQ instance. Changing this creates a new resource.
    messageType String
    Specifies the message type. Value options: NORMAL, FIFO (ordered), DELAY (scheduled) and TRANSACTION. Changing this creates a new resource.
    name String
    Specifies the name of the topic. Enter 3 to 64 characters. Use only letters, digits, percent (%), vertical bars (|), hyphens (-), and underscores (_). Changing this creates a new resource.
    permission String
    Indicates the permission of the topic. Values: sub, pub, all.
    queueNum Number
    Specifies the total number of queues. Value range: 1–50. Changing this creates a new resource.
    totalReadQueueNum Number
    Indicates the total number of read queues.
    totalWriteQueueNum Number
    Indicates the total number of write queues.

    Import

    DMS RocketMQ topic can be imported using the instance ID and topic name separated by a slash, e.g.

    $ pulumi import opentelekomcloud:index/dmsRocketmqTopicV2:DmsRocketmqTopicV2  opentelekomcloud_dms_rocketmq_topic_v2.test 8d3c7938-dc47-4937-a30f-c80de381c5e3/topic_test
    

    Note that queue_num and description are not returned by the API, so they are missing in the imported state.

    You can ignore changes as below.

    hcl

    resource “opentelekomcloud_dms_rocketmq_topic_v2” “test” {

    lifecycle {

    ignore_changes = [
    
      queue_num,
    
      description,
    
    ]
    

    }

    }

    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