1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. DmsRocketmqInstance
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.DmsRocketmqInstance

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manage DMS RocketMQ instance resources within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const vpcId = config.requireObject("vpcId");
    const subnetId = config.requireObject("subnetId");
    const securityGroupId = config.requireObject("securityGroupId");
    const availabilityZones = config.requireObject<Array<string>>("availabilityZones");
    const test = new flexibleengine.DmsRocketmqInstance("test", {
        description: "this is a rocketmq instance",
        engineVersion: "4.8.0",
        storageSpace: 300,
        vpcId: vpcId,
        subnetId: subnetId,
        securityGroupId: securityGroupId,
        availabilityZones: availabilityZones,
        flavorId: "c6.4u8g.cluster",
        storageSpecCode: "dms.physical.storage.high.v2",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    vpc_id = config.require_object("vpcId")
    subnet_id = config.require_object("subnetId")
    security_group_id = config.require_object("securityGroupId")
    availability_zones = config.require_object("availabilityZones")
    test = flexibleengine.DmsRocketmqInstance("test",
        description="this is a rocketmq instance",
        engine_version="4.8.0",
        storage_space=300,
        vpc_id=vpc_id,
        subnet_id=subnet_id,
        security_group_id=security_group_id,
        availability_zones=availability_zones,
        flavor_id="c6.4u8g.cluster",
        storage_spec_code="dms.physical.storage.high.v2")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"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")
    		availabilityZones := cfg.Require("availabilityZones")
    		_, err := flexibleengine.NewDmsRocketmqInstance(ctx, "test", &flexibleengine.DmsRocketmqInstanceArgs{
    			Description:       pulumi.String("this is a rocketmq instance"),
    			EngineVersion:     pulumi.String("4.8.0"),
    			StorageSpace:      pulumi.Float64(300),
    			VpcId:             pulumi.Any(vpcId),
    			SubnetId:          pulumi.Any(subnetId),
    			SecurityGroupId:   pulumi.Any(securityGroupId),
    			AvailabilityZones: availabilityZones,
    			FlavorId:          pulumi.String("c6.4u8g.cluster"),
    			StorageSpecCode:   pulumi.String("dms.physical.storage.high.v2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    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 availabilityZones = config.RequireObject<string[]>("availabilityZones");
        var test = new Flexibleengine.DmsRocketmqInstance("test", new()
        {
            Description = "this is a rocketmq instance",
            EngineVersion = "4.8.0",
            StorageSpace = 300,
            VpcId = vpcId,
            SubnetId = subnetId,
            SecurityGroupId = securityGroupId,
            AvailabilityZones = availabilityZones,
            FlavorId = "c6.4u8g.cluster",
            StorageSpecCode = "dms.physical.storage.high.v2",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.DmsRocketmqInstance;
    import com.pulumi.flexibleengine.DmsRocketmqInstanceArgs;
    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 availabilityZones = config.get("availabilityZones");
            var test = new DmsRocketmqInstance("test", DmsRocketmqInstanceArgs.builder()
                .description("this is a rocketmq instance")
                .engineVersion("4.8.0")
                .storageSpace(300)
                .vpcId(vpcId)
                .subnetId(subnetId)
                .securityGroupId(securityGroupId)
                .availabilityZones(availabilityZones)
                .flavorId("c6.4u8g.cluster")
                .storageSpecCode("dms.physical.storage.high.v2")
                .build());
    
        }
    }
    
    configuration:
      vpcId:
        type: dynamic
      subnetId:
        type: dynamic
      securityGroupId:
        type: dynamic
      availabilityZones:
        type: list(string)
    resources:
      test:
        type: flexibleengine:DmsRocketmqInstance
        properties:
          description: this is a rocketmq instance
          engineVersion: 4.8.0
          storageSpace: 300
          vpcId: ${vpcId}
          subnetId: ${subnetId}
          securityGroupId: ${securityGroupId}
          availabilityZones: ${availabilityZones}
          flavorId: c6.4u8g.cluster
          storageSpecCode: dms.physical.storage.high.v2
    

    Create DmsRocketmqInstance Resource

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

    Constructor syntax

    new DmsRocketmqInstance(name: string, args: DmsRocketmqInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def DmsRocketmqInstance(resource_name: str,
                            args: DmsRocketmqInstanceArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DmsRocketmqInstance(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            engine_version: Optional[str] = None,
                            availability_zones: Optional[Sequence[str]] = None,
                            vpc_id: Optional[str] = None,
                            subnet_id: Optional[str] = None,
                            storage_spec_code: Optional[str] = None,
                            storage_space: Optional[float] = None,
                            security_group_id: Optional[str] = None,
                            flavor_id: Optional[str] = None,
                            enable_acl: Optional[bool] = None,
                            retention_policy: Optional[bool] = None,
                            enable_publicip: Optional[bool] = None,
                            ipv6_enable: Optional[bool] = None,
                            name: Optional[str] = None,
                            period: Optional[float] = None,
                            period_unit: Optional[str] = None,
                            publicip_id: Optional[str] = None,
                            region: Optional[str] = None,
                            enterprise_project_id: Optional[str] = None,
                            auto_renew: Optional[str] = None,
                            ssl_enable: Optional[bool] = None,
                            dms_rocketmq_instance_id: Optional[str] = None,
                            description: Optional[str] = None,
                            charging_mode: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            timeouts: Optional[DmsRocketmqInstanceTimeoutsArgs] = None,
                            broker_num: Optional[float] = None)
    func NewDmsRocketmqInstance(ctx *Context, name string, args DmsRocketmqInstanceArgs, opts ...ResourceOption) (*DmsRocketmqInstance, error)
    public DmsRocketmqInstance(string name, DmsRocketmqInstanceArgs args, CustomResourceOptions? opts = null)
    public DmsRocketmqInstance(String name, DmsRocketmqInstanceArgs args)
    public DmsRocketmqInstance(String name, DmsRocketmqInstanceArgs args, CustomResourceOptions options)
    
    type: flexibleengine:DmsRocketmqInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DmsRocketmqInstanceArgs
    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 DmsRocketmqInstanceArgs
    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 DmsRocketmqInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DmsRocketmqInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DmsRocketmqInstanceArgs
    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 dmsRocketmqInstanceResource = new Flexibleengine.DmsRocketmqInstance("dmsRocketmqInstanceResource", new()
    {
        EngineVersion = "string",
        AvailabilityZones = new[]
        {
            "string",
        },
        VpcId = "string",
        SubnetId = "string",
        StorageSpecCode = "string",
        StorageSpace = 0,
        SecurityGroupId = "string",
        FlavorId = "string",
        EnableAcl = false,
        EnablePublicip = false,
        Ipv6Enable = false,
        Name = "string",
        Period = 0,
        PeriodUnit = "string",
        PublicipId = "string",
        Region = "string",
        EnterpriseProjectId = "string",
        AutoRenew = "string",
        SslEnable = false,
        DmsRocketmqInstanceId = "string",
        Description = "string",
        ChargingMode = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Flexibleengine.Inputs.DmsRocketmqInstanceTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        BrokerNum = 0,
    });
    
    example, err := flexibleengine.NewDmsRocketmqInstance(ctx, "dmsRocketmqInstanceResource", &flexibleengine.DmsRocketmqInstanceArgs{
    	EngineVersion: pulumi.String("string"),
    	AvailabilityZones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VpcId:                 pulumi.String("string"),
    	SubnetId:              pulumi.String("string"),
    	StorageSpecCode:       pulumi.String("string"),
    	StorageSpace:          pulumi.Float64(0),
    	SecurityGroupId:       pulumi.String("string"),
    	FlavorId:              pulumi.String("string"),
    	EnableAcl:             pulumi.Bool(false),
    	EnablePublicip:        pulumi.Bool(false),
    	Ipv6Enable:            pulumi.Bool(false),
    	Name:                  pulumi.String("string"),
    	Period:                pulumi.Float64(0),
    	PeriodUnit:            pulumi.String("string"),
    	PublicipId:            pulumi.String("string"),
    	Region:                pulumi.String("string"),
    	EnterpriseProjectId:   pulumi.String("string"),
    	AutoRenew:             pulumi.String("string"),
    	SslEnable:             pulumi.Bool(false),
    	DmsRocketmqInstanceId: pulumi.String("string"),
    	Description:           pulumi.String("string"),
    	ChargingMode:          pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &flexibleengine.DmsRocketmqInstanceTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	BrokerNum: pulumi.Float64(0),
    })
    
    var dmsRocketmqInstanceResource = new DmsRocketmqInstance("dmsRocketmqInstanceResource", DmsRocketmqInstanceArgs.builder()
        .engineVersion("string")
        .availabilityZones("string")
        .vpcId("string")
        .subnetId("string")
        .storageSpecCode("string")
        .storageSpace(0)
        .securityGroupId("string")
        .flavorId("string")
        .enableAcl(false)
        .enablePublicip(false)
        .ipv6Enable(false)
        .name("string")
        .period(0)
        .periodUnit("string")
        .publicipId("string")
        .region("string")
        .enterpriseProjectId("string")
        .autoRenew("string")
        .sslEnable(false)
        .dmsRocketmqInstanceId("string")
        .description("string")
        .chargingMode("string")
        .tags(Map.of("string", "string"))
        .timeouts(DmsRocketmqInstanceTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .brokerNum(0)
        .build());
    
    dms_rocketmq_instance_resource = flexibleengine.DmsRocketmqInstance("dmsRocketmqInstanceResource",
        engine_version="string",
        availability_zones=["string"],
        vpc_id="string",
        subnet_id="string",
        storage_spec_code="string",
        storage_space=0,
        security_group_id="string",
        flavor_id="string",
        enable_acl=False,
        enable_publicip=False,
        ipv6_enable=False,
        name="string",
        period=0,
        period_unit="string",
        publicip_id="string",
        region="string",
        enterprise_project_id="string",
        auto_renew="string",
        ssl_enable=False,
        dms_rocketmq_instance_id="string",
        description="string",
        charging_mode="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        broker_num=0)
    
    const dmsRocketmqInstanceResource = new flexibleengine.DmsRocketmqInstance("dmsRocketmqInstanceResource", {
        engineVersion: "string",
        availabilityZones: ["string"],
        vpcId: "string",
        subnetId: "string",
        storageSpecCode: "string",
        storageSpace: 0,
        securityGroupId: "string",
        flavorId: "string",
        enableAcl: false,
        enablePublicip: false,
        ipv6Enable: false,
        name: "string",
        period: 0,
        periodUnit: "string",
        publicipId: "string",
        region: "string",
        enterpriseProjectId: "string",
        autoRenew: "string",
        sslEnable: false,
        dmsRocketmqInstanceId: "string",
        description: "string",
        chargingMode: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        brokerNum: 0,
    });
    
    type: flexibleengine:DmsRocketmqInstance
    properties:
        autoRenew: string
        availabilityZones:
            - string
        brokerNum: 0
        chargingMode: string
        description: string
        dmsRocketmqInstanceId: string
        enableAcl: false
        enablePublicip: false
        engineVersion: string
        enterpriseProjectId: string
        flavorId: string
        ipv6Enable: false
        name: string
        period: 0
        periodUnit: string
        publicipId: string
        region: string
        securityGroupId: string
        sslEnable: false
        storageSpace: 0
        storageSpecCode: string
        subnetId: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
        vpcId: string
    

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

    AvailabilityZones List<string>

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    FlavorId string
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    SecurityGroupId string
    Specifies the ID of a security group.
    StorageSpace double
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    StorageSpecCode string
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    SubnetId string
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    VpcId string
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    AutoRenew string
    BrokerNum double
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    ChargingMode string
    Description string
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    DmsRocketmqInstanceId string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Indicates whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id of the instance.
    Ipv6Enable bool
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    Name string
    Specifies the name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    Period double
    PeriodUnit string
    PublicipId string
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    RetentionPolicy bool
    Specifies the ACL access control.

    Deprecated: Deprecated

    SslEnable bool
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    Tags Dictionary<string, string>
    Timeouts DmsRocketmqInstanceTimeouts
    AvailabilityZones []string

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    FlavorId string
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    SecurityGroupId string
    Specifies the ID of a security group.
    StorageSpace float64
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    StorageSpecCode string
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    SubnetId string
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    VpcId string
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    AutoRenew string
    BrokerNum float64
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    ChargingMode string
    Description string
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    DmsRocketmqInstanceId string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Indicates whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id of the instance.
    Ipv6Enable bool
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    Name string
    Specifies the name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    Period float64
    PeriodUnit string
    PublicipId string
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    RetentionPolicy bool
    Specifies the ACL access control.

    Deprecated: Deprecated

    SslEnable bool
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    Tags map[string]string
    Timeouts DmsRocketmqInstanceTimeoutsArgs
    availabilityZones List<String>

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    flavorId String
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    securityGroupId String
    Specifies the ID of a security group.
    storageSpace Double
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storageSpecCode String
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnetId String
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    vpcId String
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    autoRenew String
    brokerNum Double
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    chargingMode String
    description String
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dmsRocketmqInstanceId String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Indicates whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id of the instance.
    ipv6Enable Boolean
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    name String
    Specifies the name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    period Double
    periodUnit String
    publicipId String
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    retentionPolicy Boolean
    Specifies the ACL access control.

    Deprecated: Deprecated

    sslEnable Boolean
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    tags Map<String,String>
    timeouts DmsRocketmqInstanceTimeouts
    availabilityZones string[]

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    engineVersion string
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    flavorId string
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    securityGroupId string
    Specifies the ID of a security group.
    storageSpace number
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storageSpecCode string
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnetId string
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    vpcId string
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    autoRenew string
    brokerNum number
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    chargingMode string
    description string
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dmsRocketmqInstanceId string
    Specifies a resource ID in UUID format.
    enableAcl boolean
    Indicates whether access control is enabled.
    enablePublicip boolean
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    enterpriseProjectId string
    Specifies the enterprise project id of the instance.
    ipv6Enable boolean
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    name string
    Specifies the name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    period number
    periodUnit string
    publicipId string
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    retentionPolicy boolean
    Specifies the ACL access control.

    Deprecated: Deprecated

    sslEnable boolean
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    tags {[key: string]: string}
    timeouts DmsRocketmqInstanceTimeouts
    availability_zones Sequence[str]

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    engine_version str
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    flavor_id str
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    security_group_id str
    Specifies the ID of a security group.
    storage_space float
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storage_spec_code str
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnet_id str
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    vpc_id str
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    auto_renew str
    broker_num float
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    charging_mode str
    description str
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dms_rocketmq_instance_id str
    Specifies a resource ID in UUID format.
    enable_acl bool
    Indicates whether access control is enabled.
    enable_publicip bool
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    enterprise_project_id str
    Specifies the enterprise project id of the instance.
    ipv6_enable bool
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    name str
    Specifies the name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    period float
    period_unit str
    publicip_id str
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    retention_policy bool
    Specifies the ACL access control.

    Deprecated: Deprecated

    ssl_enable bool
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    tags Mapping[str, str]
    timeouts DmsRocketmqInstanceTimeoutsArgs
    availabilityZones List<String>

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    flavorId String
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    securityGroupId String
    Specifies the ID of a security group.
    storageSpace Number
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storageSpecCode String
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnetId String
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    vpcId String
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    autoRenew String
    brokerNum Number
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    chargingMode String
    description String
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dmsRocketmqInstanceId String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Indicates whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id of the instance.
    ipv6Enable Boolean
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    name String
    Specifies the name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    period Number
    periodUnit String
    publicipId String
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    retentionPolicy Boolean
    Specifies the ACL access control.

    Deprecated: Deprecated

    sslEnable Boolean
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    tags Map<String>
    timeouts Property Map

    Outputs

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

    BrokerAddress string
    Indicates the service data address.
    CrossVpcAccesses List<DmsRocketmqInstanceCrossVpcAccess>
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    NewSpecBillingEnable bool
    Indicates whether billing based on new specifications is enabled.
    NodeNum double
    Indicates the node quantity.
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    ResourceSpecCode string
    Indicates the resource specifications.
    Specification string
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    Type string
    Indicates the DMS RocketMQ instance type. Value: cluster.
    UsedStorageSpace double
    Indicates the used message storage space. Unit: GB.
    BrokerAddress string
    Indicates the service data address.
    CrossVpcAccesses []DmsRocketmqInstanceCrossVpcAccess
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    NewSpecBillingEnable bool
    Indicates whether billing based on new specifications is enabled.
    NodeNum float64
    Indicates the node quantity.
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    ResourceSpecCode string
    Indicates the resource specifications.
    Specification string
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    Type string
    Indicates the DMS RocketMQ instance type. Value: cluster.
    UsedStorageSpace float64
    Indicates the used message storage space. Unit: GB.
    brokerAddress String
    Indicates the service data address.
    crossVpcAccesses List<DmsRocketmqInstanceCrossVpcAccess>
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    newSpecBillingEnable Boolean
    Indicates whether billing based on new specifications is enabled.
    nodeNum Double
    Indicates the node quantity.
    publicBrokerAddress String
    Indicates the public network service data address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    resourceSpecCode String
    Indicates the resource specifications.
    specification String
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    status String
    Indicates the status of the DMS RocketMQ instance.
    type String
    Indicates the DMS RocketMQ instance type. Value: cluster.
    usedStorageSpace Double
    Indicates the used message storage space. Unit: GB.
    brokerAddress string
    Indicates the service data address.
    crossVpcAccesses DmsRocketmqInstanceCrossVpcAccess[]
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    newSpecBillingEnable boolean
    Indicates whether billing based on new specifications is enabled.
    nodeNum number
    Indicates the node quantity.
    publicBrokerAddress string
    Indicates the public network service data address.
    publicNamesrvAddress string
    Indicates the public network metadata address.
    publicipAddress string
    Indicates the public IP address.
    resourceSpecCode string
    Indicates the resource specifications.
    specification string
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    status string
    Indicates the status of the DMS RocketMQ instance.
    type string
    Indicates the DMS RocketMQ instance type. Value: cluster.
    usedStorageSpace number
    Indicates the used message storage space. Unit: GB.
    broker_address str
    Indicates the service data address.
    cross_vpc_accesses Sequence[DmsRocketmqInstanceCrossVpcAccess]
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    new_spec_billing_enable bool
    Indicates whether billing based on new specifications is enabled.
    node_num float
    Indicates the node quantity.
    public_broker_address str
    Indicates the public network service data address.
    public_namesrv_address str
    Indicates the public network metadata address.
    publicip_address str
    Indicates the public IP address.
    resource_spec_code str
    Indicates the resource specifications.
    specification str
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    status str
    Indicates the status of the DMS RocketMQ instance.
    type str
    Indicates the DMS RocketMQ instance type. Value: cluster.
    used_storage_space float
    Indicates the used message storage space. Unit: GB.
    brokerAddress String
    Indicates the service data address.
    crossVpcAccesses List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    newSpecBillingEnable Boolean
    Indicates whether billing based on new specifications is enabled.
    nodeNum Number
    Indicates the node quantity.
    publicBrokerAddress String
    Indicates the public network service data address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    resourceSpecCode String
    Indicates the resource specifications.
    specification String
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    status String
    Indicates the status of the DMS RocketMQ instance.
    type String
    Indicates the DMS RocketMQ instance type. Value: cluster.
    usedStorageSpace Number
    Indicates the used message storage space. Unit: GB.

    Look up Existing DmsRocketmqInstance Resource

    Get an existing DmsRocketmqInstance 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?: DmsRocketmqInstanceState, opts?: CustomResourceOptions): DmsRocketmqInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew: Optional[str] = None,
            availability_zones: Optional[Sequence[str]] = None,
            broker_address: Optional[str] = None,
            broker_num: Optional[float] = None,
            charging_mode: Optional[str] = None,
            cross_vpc_accesses: Optional[Sequence[DmsRocketmqInstanceCrossVpcAccessArgs]] = None,
            description: Optional[str] = None,
            dms_rocketmq_instance_id: Optional[str] = None,
            enable_acl: Optional[bool] = None,
            enable_publicip: Optional[bool] = None,
            engine_version: Optional[str] = None,
            enterprise_project_id: Optional[str] = None,
            flavor_id: 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,
            new_spec_billing_enable: Optional[bool] = None,
            node_num: Optional[float] = None,
            period: Optional[float] = None,
            period_unit: Optional[str] = None,
            public_broker_address: Optional[str] = None,
            public_namesrv_address: Optional[str] = None,
            publicip_address: Optional[str] = None,
            publicip_id: Optional[str] = None,
            region: Optional[str] = None,
            resource_spec_code: Optional[str] = None,
            retention_policy: Optional[bool] = 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[DmsRocketmqInstanceTimeoutsArgs] = None,
            type: Optional[str] = None,
            used_storage_space: Optional[float] = None,
            vpc_id: Optional[str] = None) -> DmsRocketmqInstance
    func GetDmsRocketmqInstance(ctx *Context, name string, id IDInput, state *DmsRocketmqInstanceState, opts ...ResourceOption) (*DmsRocketmqInstance, error)
    public static DmsRocketmqInstance Get(string name, Input<string> id, DmsRocketmqInstanceState? state, CustomResourceOptions? opts = null)
    public static DmsRocketmqInstance get(String name, Output<String> id, DmsRocketmqInstanceState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:DmsRocketmqInstance    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoRenew string
    AvailabilityZones List<string>

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    BrokerAddress string
    Indicates the service data address.
    BrokerNum double
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    ChargingMode string
    CrossVpcAccesses List<DmsRocketmqInstanceCrossVpcAccess>
    Description string
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    DmsRocketmqInstanceId string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Indicates whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id of the instance.
    FlavorId string
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    Ipv6Enable bool
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    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 name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    NamesrvAddress string
    Indicates the metadata address.
    NewSpecBillingEnable bool
    Indicates whether billing based on new specifications is enabled.
    NodeNum double
    Indicates the node quantity.
    Period double
    PeriodUnit string
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    PublicipId string
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    ResourceSpecCode string
    Indicates the resource specifications.
    RetentionPolicy bool
    Specifies the ACL access control.

    Deprecated: Deprecated

    SecurityGroupId string
    Specifies the ID of a security group.
    Specification string
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    SslEnable bool
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    StorageSpace double
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    StorageSpecCode string
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    SubnetId string
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    Tags Dictionary<string, string>
    Timeouts DmsRocketmqInstanceTimeouts
    Type string
    Indicates the DMS RocketMQ instance type. Value: cluster.
    UsedStorageSpace double
    Indicates the used message storage space. Unit: GB.
    VpcId string
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    AutoRenew string
    AvailabilityZones []string

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    BrokerAddress string
    Indicates the service data address.
    BrokerNum float64
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    ChargingMode string
    CrossVpcAccesses []DmsRocketmqInstanceCrossVpcAccessArgs
    Description string
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    DmsRocketmqInstanceId string
    Specifies a resource ID in UUID format.
    EnableAcl bool
    Indicates whether access control is enabled.
    EnablePublicip bool
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    EngineVersion string
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    EnterpriseProjectId string
    Specifies the enterprise project id of the instance.
    FlavorId string
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    Ipv6Enable bool
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    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 name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    NamesrvAddress string
    Indicates the metadata address.
    NewSpecBillingEnable bool
    Indicates whether billing based on new specifications is enabled.
    NodeNum float64
    Indicates the node quantity.
    Period float64
    PeriodUnit string
    PublicBrokerAddress string
    Indicates the public network service data address.
    PublicNamesrvAddress string
    Indicates the public network metadata address.
    PublicipAddress string
    Indicates the public IP address.
    PublicipId string
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    ResourceSpecCode string
    Indicates the resource specifications.
    RetentionPolicy bool
    Specifies the ACL access control.

    Deprecated: Deprecated

    SecurityGroupId string
    Specifies the ID of a security group.
    Specification string
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    SslEnable bool
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    Status string
    Indicates the status of the DMS RocketMQ instance.
    StorageSpace float64
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    StorageSpecCode string
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    SubnetId string
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    Tags map[string]string
    Timeouts DmsRocketmqInstanceTimeoutsArgs
    Type string
    Indicates the DMS RocketMQ instance type. Value: cluster.
    UsedStorageSpace float64
    Indicates the used message storage space. Unit: GB.
    VpcId string
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    autoRenew String
    availabilityZones List<String>

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    brokerAddress String
    Indicates the service data address.
    brokerNum Double
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    chargingMode String
    crossVpcAccesses List<DmsRocketmqInstanceCrossVpcAccess>
    description String
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dmsRocketmqInstanceId String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Indicates whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id of the instance.
    flavorId String
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    ipv6Enable Boolean
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    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 name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    namesrvAddress String
    Indicates the metadata address.
    newSpecBillingEnable Boolean
    Indicates whether billing based on new specifications is enabled.
    nodeNum Double
    Indicates the node quantity.
    period Double
    periodUnit String
    publicBrokerAddress String
    Indicates the public network service data address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    publicipId String
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    resourceSpecCode String
    Indicates the resource specifications.
    retentionPolicy Boolean
    Specifies the ACL access control.

    Deprecated: Deprecated

    securityGroupId String
    Specifies the ID of a security group.
    specification String
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    sslEnable Boolean
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    status String
    Indicates the status of the DMS RocketMQ instance.
    storageSpace Double
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storageSpecCode String
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnetId String
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    tags Map<String,String>
    timeouts DmsRocketmqInstanceTimeouts
    type String
    Indicates the DMS RocketMQ instance type. Value: cluster.
    usedStorageSpace Double
    Indicates the used message storage space. Unit: GB.
    vpcId String
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    autoRenew string
    availabilityZones string[]

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    brokerAddress string
    Indicates the service data address.
    brokerNum number
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    chargingMode string
    crossVpcAccesses DmsRocketmqInstanceCrossVpcAccess[]
    description string
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dmsRocketmqInstanceId string
    Specifies a resource ID in UUID format.
    enableAcl boolean
    Indicates whether access control is enabled.
    enablePublicip boolean
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    engineVersion string
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    enterpriseProjectId string
    Specifies the enterprise project id of the instance.
    flavorId string
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    ipv6Enable boolean
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    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 name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    namesrvAddress string
    Indicates the metadata address.
    newSpecBillingEnable boolean
    Indicates whether billing based on new specifications is enabled.
    nodeNum number
    Indicates the node quantity.
    period number
    periodUnit string
    publicBrokerAddress string
    Indicates the public network service data address.
    publicNamesrvAddress string
    Indicates the public network metadata address.
    publicipAddress string
    Indicates the public IP address.
    publicipId string
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    resourceSpecCode string
    Indicates the resource specifications.
    retentionPolicy boolean
    Specifies the ACL access control.

    Deprecated: Deprecated

    securityGroupId string
    Specifies the ID of a security group.
    specification string
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    sslEnable boolean
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    status string
    Indicates the status of the DMS RocketMQ instance.
    storageSpace number
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storageSpecCode string
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnetId string
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    tags {[key: string]: string}
    timeouts DmsRocketmqInstanceTimeouts
    type string
    Indicates the DMS RocketMQ instance type. Value: cluster.
    usedStorageSpace number
    Indicates the used message storage space. Unit: GB.
    vpcId string
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    auto_renew str
    availability_zones Sequence[str]

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    broker_address str
    Indicates the service data address.
    broker_num float
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    charging_mode str
    cross_vpc_accesses Sequence[DmsRocketmqInstanceCrossVpcAccessArgs]
    description str
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dms_rocketmq_instance_id str
    Specifies a resource ID in UUID format.
    enable_acl bool
    Indicates whether access control is enabled.
    enable_publicip bool
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    engine_version str
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    enterprise_project_id str
    Specifies the enterprise project id of the instance.
    flavor_id str
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    ipv6_enable bool
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    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 name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    namesrv_address str
    Indicates the metadata address.
    new_spec_billing_enable bool
    Indicates whether billing based on new specifications is enabled.
    node_num float
    Indicates the node quantity.
    period float
    period_unit str
    public_broker_address str
    Indicates the public network service data address.
    public_namesrv_address str
    Indicates the public network metadata address.
    publicip_address str
    Indicates the public IP address.
    publicip_id str
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    resource_spec_code str
    Indicates the resource specifications.
    retention_policy bool
    Specifies the ACL access control.

    Deprecated: Deprecated

    security_group_id str
    Specifies the ID of a security group.
    specification str
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    ssl_enable bool
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    status str
    Indicates the status of the DMS RocketMQ instance.
    storage_space float
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storage_spec_code str
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnet_id str
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    tags Mapping[str, str]
    timeouts DmsRocketmqInstanceTimeoutsArgs
    type str
    Indicates the DMS RocketMQ instance type. Value: cluster.
    used_storage_space float
    Indicates the used message storage space. Unit: GB.
    vpc_id str
    Specifies the ID of a VPC. Changing this parameter will create a new resource.
    autoRenew String
    availabilityZones List<String>

    Specifies the list of availability zone names, where instance brokers reside and which has available resources.

    Changing this parameter will create a new resource.

    brokerAddress String
    Indicates the service data address.
    brokerNum Number
    Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
    chargingMode String
    crossVpcAccesses List<Property Map>
    description String
    Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
    dmsRocketmqInstanceId String
    Specifies a resource ID in UUID format.
    enableAcl Boolean
    Indicates whether access control is enabled.
    enablePublicip Boolean
    Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
    engineVersion String
    Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
    enterpriseProjectId String
    Specifies the enterprise project id of the instance.
    flavorId String
    Specifies a product ID. The options are as follows:

    • c6.4u8g.cluster: maximum number of topics on each broker: 4000; maximum number of consumer groups on each broker: 4000
    • c6.8u16g.cluster: maximum number of topics on each broker: 8000; maximum number of consumer groups on each broker: 8000
    • c6.12u24g.cluster: maximum number of topics on each broker: 12,000; maximum number of consumer groups on each broker: 12,000
    • c6.16u32g.cluster: maximum number of topics on each broker: 16,000; maximum number of consumer groups on each broker: 16,000 Changing this parameter will create a new resource.
    ipv6Enable Boolean
    Specifies whether to support IPv6. Defaults to false. Changing this parameter will create a new resource.
    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 name of the DMS RocketMQ instance. An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).
    namesrvAddress String
    Indicates the metadata address.
    newSpecBillingEnable Boolean
    Indicates whether billing based on new specifications is enabled.
    nodeNum Number
    Indicates the node quantity.
    period Number
    periodUnit String
    publicBrokerAddress String
    Indicates the public network service data address.
    publicNamesrvAddress String
    Indicates the public network metadata address.
    publicipAddress String
    Indicates the public IP address.
    publicipId String
    Specifies the ID of the EIP bound to the instance. Use commas (,) to separate multiple EIP IDs. This parameter is mandatory if public access is enabled (that is, enable_publicip is set to true). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    resourceSpecCode String
    Indicates the resource specifications.
    retentionPolicy Boolean
    Specifies the ACL access control.

    Deprecated: Deprecated

    securityGroupId String
    Specifies the ID of a security group.
    specification String
    Indicates the instance specification. For a cluster DMS RocketMQ instance, VM specifications and the number of nodes are returned.
    sslEnable Boolean
    Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
    status String
    Indicates the status of the DMS RocketMQ instance.
    storageSpace Number
    Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
    storageSpecCode String
    Specifies the storage I/O specification. The options are as follows:

    • dms.physical.storage.high.v2: high I/O disk
    • dms.physical.storage.ultra.v2: ultra-high I/O disk Changing this parameter will create a new resource.
    subnetId String
    Specifies the ID of a subnet. Changing this parameter will create a new resource.
    tags Map<String>
    timeouts Property Map
    type String
    Indicates the DMS RocketMQ instance type. Value: cluster.
    usedStorageSpace Number
    Indicates the used message storage space. Unit: GB.
    vpcId String
    Specifies the ID of a VPC. Changing this parameter will create a new resource.

    Supporting Types

    DmsRocketmqInstanceCrossVpcAccess, DmsRocketmqInstanceCrossVpcAccessArgs

    AdvertisedIp string
    LisenterIp string
    ListenerIp string
    Port double
    PortId string
    AdvertisedIp string
    LisenterIp string
    ListenerIp string
    Port float64
    PortId string
    advertisedIp String
    lisenterIp String
    listenerIp String
    port Double
    portId String
    advertisedIp string
    lisenterIp string
    listenerIp string
    port number
    portId string
    advertisedIp String
    lisenterIp String
    listenerIp String
    port Number
    portId String

    DmsRocketmqInstanceTimeouts, DmsRocketmqInstanceTimeoutsArgs

    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

    The rocketmq instance can be imported using the id, e.g.

    $ pulumi import flexibleengine:index/dmsRocketmqInstance:DmsRocketmqInstance test 8d3c7938-dc47-4937-a30f-c80de381c5e3
    

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

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud