published on Friday, Oct 23, 2026 by opentelekomcloud
published on Friday, Oct 23, 2026 by opentelekomcloud
Up-to-date reference of API arguments for DMS RocketMQ instance you can get at documentation portal
Manages a DMS RocketMQ instance in the OpenTelekomCloud DMS Service.
Example Usage
Create a single-node RocketMQ instance
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject<any>("vpcId");
const subnetId = config.requireObject<any>("subnetId");
const securityGroupId = config.requireObject<any>("securityGroupId");
const az1 = opentelekomcloud.getDmsAzV1({});
const test = new opentelekomcloud.DmsRocketmqInstanceV2("test", {
name: "rocketmq_test",
description: "rocketmq test",
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: securityGroupId,
availableZones: [az1.then(az1 => az1.id)],
engineVersion: "5.x",
flavorId: "rocketmq.b1.large.1",
storageSpecCode: "dms.physical.storage.ultra.v2",
storageSpace: 300,
brokerNum: 1,
configs: [{
name: "fileReservedTime",
value: "72",
}],
tags: {
foo: "bar",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
az1 = opentelekomcloud.get_dms_az_v1()
test = opentelekomcloud.DmsRocketmqInstanceV2("test",
name="rocketmq_test",
description="rocketmq test",
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=security_group_id,
available_zones=[az1.id],
engine_version="5.x",
flavor_id="rocketmq.b1.large.1",
storage_spec_code="dms.physical.storage.ultra.v2",
storage_space=300,
broker_num=1,
configs=[{
"name": "fileReservedTime",
"value": "72",
}],
tags={
"foo": "bar",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{}, nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewDmsRocketmqInstanceV2(ctx, "test", &opentelekomcloud.DmsRocketmqInstanceV2Args{
Name: pulumi.String("rocketmq_test"),
Description: pulumi.String("rocketmq test"),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(securityGroupId),
AvailableZones: pulumi.StringArray{
pulumi.String(az1.Id),
},
EngineVersion: pulumi.String("5.x"),
FlavorId: pulumi.String("rocketmq.b1.large.1"),
StorageSpecCode: pulumi.String("dms.physical.storage.ultra.v2"),
StorageSpace: pulumi.Float64(300),
BrokerNum: pulumi.Float64(1),
Configs: opentelekomcloud.DmsRocketmqInstanceV2ConfigArray{
&opentelekomcloud.DmsRocketmqInstanceV2ConfigArgs{
Name: pulumi.String("fileReservedTime"),
Value: pulumi.String("72"),
},
},
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var az1 = Opentelekomcloud.GetDmsAzV1.Invoke();
var test = new Opentelekomcloud.DmsRocketmqInstanceV2("test", new()
{
Name = "rocketmq_test",
Description = "rocketmq test",
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = securityGroupId,
AvailableZones = new[]
{
az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
},
EngineVersion = "5.x",
FlavorId = "rocketmq.b1.large.1",
StorageSpecCode = "dms.physical.storage.ultra.v2",
StorageSpace = 300,
BrokerNum = 1,
Configs = new[]
{
new Opentelekomcloud.Inputs.DmsRocketmqInstanceV2ConfigArgs
{
Name = "fileReservedTime",
Value = "72",
},
},
Tags =
{
{ "foo", "bar" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2;
import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2Args;
import com.pulumi.opentelekomcloud.inputs.DmsRocketmqInstanceV2ConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
.build());
var test = new DmsRocketmqInstanceV2("test", DmsRocketmqInstanceV2Args.builder()
.name("rocketmq_test")
.description("rocketmq test")
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(securityGroupId)
.availableZones(az1.id())
.engineVersion("5.x")
.flavorId("rocketmq.b1.large.1")
.storageSpecCode("dms.physical.storage.ultra.v2")
.storageSpace(300.0)
.brokerNum(1.0)
.configs(DmsRocketmqInstanceV2ConfigArgs.builder()
.name("fileReservedTime")
.value("72")
.build())
.tags(Map.of("foo", "bar"))
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
resources:
test:
type: opentelekomcloud:DmsRocketmqInstanceV2
properties:
name: rocketmq_test
description: rocketmq test
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${securityGroupId}
availableZones:
- ${az1.id}
engineVersion: 5.x
flavorId: rocketmq.b1.large.1
storageSpecCode: dms.physical.storage.ultra.v2
storageSpace: 300
brokerNum: 1
configs:
- name: fileReservedTime
value: '72'
tags:
foo: bar
variables:
az1:
fn::invoke:
function: opentelekomcloud:getDmsAzV1
arguments: {}
Example coming soon!
Create a RocketMQ instance with public access
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const vpcId = config.requireObject<any>("vpcId");
const subnetId = config.requireObject<any>("subnetId");
const securityGroupId = config.requireObject<any>("securityGroupId");
const az1 = opentelekomcloud.getDmsAzV1({});
const fip1 = new opentelekomcloud.NetworkingFloatingipV2("fip_1", {});
const test = new opentelekomcloud.DmsRocketmqInstanceV2("test", {
name: "rocketmq_public",
vpcId: vpcId,
subnetId: subnetId,
securityGroupId: securityGroupId,
availableZones: [az1.then(az1 => az1.id)],
engineVersion: "5.x",
flavorId: "rocketmq.b1.large.1",
storageSpecCode: "dms.physical.storage.ultra.v2",
storageSpace: 300,
brokerNum: 1,
enablePublicip: true,
publicipIds: [fip1.networkingFloatingipV2Id],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
vpc_id = config.require_object("vpcId")
subnet_id = config.require_object("subnetId")
security_group_id = config.require_object("securityGroupId")
az1 = opentelekomcloud.get_dms_az_v1()
fip1 = opentelekomcloud.NetworkingFloatingipV2("fip_1")
test = opentelekomcloud.DmsRocketmqInstanceV2("test",
name="rocketmq_public",
vpc_id=vpc_id,
subnet_id=subnet_id,
security_group_id=security_group_id,
available_zones=[az1.id],
engine_version="5.x",
flavor_id="rocketmq.b1.large.1",
storage_spec_code="dms.physical.storage.ultra.v2",
storage_space=300,
broker_num=1,
enable_publicip=True,
publicip_ids=[fip1.networking_floatingip_v2_id])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
vpcId := cfg.RequireObject("vpcId")
subnetId := cfg.RequireObject("subnetId")
securityGroupId := cfg.RequireObject("securityGroupId")
az1, err := opentelekomcloud.GetDmsAzV1(ctx, &opentelekomcloud.GetDmsAzV1Args{}, nil)
if err != nil {
return err
}
fip1, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip_1", nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewDmsRocketmqInstanceV2(ctx, "test", &opentelekomcloud.DmsRocketmqInstanceV2Args{
Name: pulumi.String("rocketmq_public"),
VpcId: pulumi.Any(vpcId),
SubnetId: pulumi.Any(subnetId),
SecurityGroupId: pulumi.Any(securityGroupId),
AvailableZones: pulumi.StringArray{
pulumi.String(az1.Id),
},
EngineVersion: pulumi.String("5.x"),
FlavorId: pulumi.String("rocketmq.b1.large.1"),
StorageSpecCode: pulumi.String("dms.physical.storage.ultra.v2"),
StorageSpace: pulumi.Float64(300),
BrokerNum: pulumi.Float64(1),
EnablePublicip: pulumi.Bool(true),
PublicipIds: pulumi.StringArray{
fip1.NetworkingFloatingipV2Id,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var vpcId = config.RequireObject<dynamic>("vpcId");
var subnetId = config.RequireObject<dynamic>("subnetId");
var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
var az1 = Opentelekomcloud.GetDmsAzV1.Invoke();
var fip1 = new Opentelekomcloud.NetworkingFloatingipV2("fip_1");
var test = new Opentelekomcloud.DmsRocketmqInstanceV2("test", new()
{
Name = "rocketmq_public",
VpcId = vpcId,
SubnetId = subnetId,
SecurityGroupId = securityGroupId,
AvailableZones = new[]
{
az1.Apply(getDmsAzV1Result => getDmsAzV1Result.Id),
},
EngineVersion = "5.x",
FlavorId = "rocketmq.b1.large.1",
StorageSpecCode = "dms.physical.storage.ultra.v2",
StorageSpace = 300,
BrokerNum = 1,
EnablePublicip = true,
PublicipIds = new[]
{
fip1.NetworkingFloatingipV2Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetDmsAzV1Args;
import com.pulumi.opentelekomcloud.NetworkingFloatingipV2;
import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2;
import com.pulumi.opentelekomcloud.DmsRocketmqInstanceV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var vpcId = config.get("vpcId");
final var subnetId = config.get("subnetId");
final var securityGroupId = config.get("securityGroupId");
final var az1 = OpentelekomcloudFunctions.getDmsAzV1(GetDmsAzV1Args.builder()
.build());
var fip1 = new NetworkingFloatingipV2("fip1");
var test = new DmsRocketmqInstanceV2("test", DmsRocketmqInstanceV2Args.builder()
.name("rocketmq_public")
.vpcId(vpcId)
.subnetId(subnetId)
.securityGroupId(securityGroupId)
.availableZones(az1.id())
.engineVersion("5.x")
.flavorId("rocketmq.b1.large.1")
.storageSpecCode("dms.physical.storage.ultra.v2")
.storageSpace(300.0)
.brokerNum(1.0)
.enablePublicip(true)
.publicipIds(fip1.networkingFloatingipV2Id())
.build());
}
}
configuration:
vpcId:
type: dynamic
subnetId:
type: dynamic
securityGroupId:
type: dynamic
resources:
fip1:
type: opentelekomcloud:NetworkingFloatingipV2
name: fip_1
test:
type: opentelekomcloud:DmsRocketmqInstanceV2
properties:
name: rocketmq_public
vpcId: ${vpcId}
subnetId: ${subnetId}
securityGroupId: ${securityGroupId}
availableZones:
- ${az1.id}
engineVersion: 5.x
flavorId: rocketmq.b1.large.1
storageSpecCode: dms.physical.storage.ultra.v2
storageSpace: 300
brokerNum: 1
enablePublicip: true
publicipIds:
- ${fip1.networkingFloatingipV2Id}
variables:
az1:
fn::invoke:
function: opentelekomcloud:getDmsAzV1
arguments: {}
Example coming soon!
Create DmsRocketmqInstanceV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DmsRocketmqInstanceV2(name: string, args: DmsRocketmqInstanceV2Args, opts?: CustomResourceOptions);@overload
def DmsRocketmqInstanceV2(resource_name: str,
args: DmsRocketmqInstanceV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def DmsRocketmqInstanceV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
storage_space: Optional[float] = None,
available_zones: Optional[Sequence[str]] = None,
broker_num: Optional[float] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
storage_spec_code: Optional[str] = None,
flavor_id: Optional[str] = None,
security_group_id: Optional[str] = None,
engine_version: Optional[str] = None,
enable_acl: Optional[bool] = None,
publicip_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
enable_publicip: Optional[bool] = None,
ssl_enable: Optional[bool] = None,
arch_type: Optional[str] = None,
dms_rocketmq_instance_v2_id: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DmsRocketmqInstanceV2TimeoutsArgs] = None,
tls_mode: Optional[str] = None,
configs: Optional[Sequence[DmsRocketmqInstanceV2ConfigArgs]] = None)func NewDmsRocketmqInstanceV2(ctx *Context, name string, args DmsRocketmqInstanceV2Args, opts ...ResourceOption) (*DmsRocketmqInstanceV2, error)public DmsRocketmqInstanceV2(string name, DmsRocketmqInstanceV2Args args, CustomResourceOptions? opts = null)
public DmsRocketmqInstanceV2(String name, DmsRocketmqInstanceV2Args args)
public DmsRocketmqInstanceV2(String name, DmsRocketmqInstanceV2Args args, CustomResourceOptions options)
type: opentelekomcloud:DmsRocketmqInstanceV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "opentelekomcloud_dms_rocketmq_instance_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DmsRocketmqInstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DmsRocketmqInstanceV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DmsRocketmqInstanceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DmsRocketmqInstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DmsRocketmqInstanceV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dmsRocketmqInstanceV2Resource = new Opentelekomcloud.DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource", new()
{
StorageSpace = 0.0,
AvailableZones = new[]
{
"string",
},
BrokerNum = 0.0,
VpcId = "string",
SubnetId = "string",
StorageSpecCode = "string",
FlavorId = "string",
SecurityGroupId = "string",
EngineVersion = "string",
EnableAcl = false,
PublicipIds = new[]
{
"string",
},
Name = "string",
EnterpriseProjectId = "string",
EnablePublicip = false,
SslEnable = false,
ArchType = "string",
DmsRocketmqInstanceV2Id = "string",
Description = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.DmsRocketmqInstanceV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
TlsMode = "string",
Configs = new[]
{
new Opentelekomcloud.Inputs.DmsRocketmqInstanceV2ConfigArgs
{
Name = "string",
Value = "string",
},
},
});
example, err := opentelekomcloud.NewDmsRocketmqInstanceV2(ctx, "dmsRocketmqInstanceV2Resource", &opentelekomcloud.DmsRocketmqInstanceV2Args{
StorageSpace: pulumi.Float64(0),
AvailableZones: pulumi.StringArray{
pulumi.String("string"),
},
BrokerNum: pulumi.Float64(0),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
StorageSpecCode: pulumi.String("string"),
FlavorId: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
EngineVersion: pulumi.String("string"),
EnableAcl: pulumi.Bool(false),
PublicipIds: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
EnterpriseProjectId: pulumi.String("string"),
EnablePublicip: pulumi.Bool(false),
SslEnable: pulumi.Bool(false),
ArchType: pulumi.String("string"),
DmsRocketmqInstanceV2Id: pulumi.String("string"),
Description: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.DmsRocketmqInstanceV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
TlsMode: pulumi.String("string"),
Configs: opentelekomcloud.DmsRocketmqInstanceV2ConfigArray{
&opentelekomcloud.DmsRocketmqInstanceV2ConfigArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
resource "opentelekomcloud_dms_rocketmq_instance_v2" "dmsRocketmqInstanceV2Resource" {
lifecycle {
create_before_destroy = true
}
storage_space = 0
available_zones = ["string"]
broker_num = 0
vpc_id = "string"
subnet_id = "string"
storage_spec_code = "string"
flavor_id = "string"
security_group_id = "string"
engine_version = "string"
enable_acl = false
publicip_ids = ["string"]
name = "string"
enterprise_project_id = "string"
enable_publicip = false
ssl_enable = false
arch_type = "string"
dms_rocketmq_instance_v2_id = "string"
description = "string"
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
tls_mode = "string"
configs {
name = "string"
value = "string"
}
}
var dmsRocketmqInstanceV2Resource = new DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource", DmsRocketmqInstanceV2Args.builder()
.storageSpace(0.0)
.availableZones("string")
.brokerNum(0.0)
.vpcId("string")
.subnetId("string")
.storageSpecCode("string")
.flavorId("string")
.securityGroupId("string")
.engineVersion("string")
.enableAcl(false)
.publicipIds("string")
.name("string")
.enterpriseProjectId("string")
.enablePublicip(false)
.sslEnable(false)
.archType("string")
.dmsRocketmqInstanceV2Id("string")
.description("string")
.tags(Map.of("string", "string"))
.timeouts(DmsRocketmqInstanceV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.tlsMode("string")
.configs(DmsRocketmqInstanceV2ConfigArgs.builder()
.name("string")
.value("string")
.build())
.build());
dms_rocketmq_instance_v2_resource = opentelekomcloud.DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource",
storage_space=float(0),
available_zones=["string"],
broker_num=float(0),
vpc_id="string",
subnet_id="string",
storage_spec_code="string",
flavor_id="string",
security_group_id="string",
engine_version="string",
enable_acl=False,
publicip_ids=["string"],
name="string",
enterprise_project_id="string",
enable_publicip=False,
ssl_enable=False,
arch_type="string",
dms_rocketmq_instance_v2_id="string",
description="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
tls_mode="string",
configs=[{
"name": "string",
"value": "string",
}])
const dmsRocketmqInstanceV2Resource = new opentelekomcloud.DmsRocketmqInstanceV2("dmsRocketmqInstanceV2Resource", {
storageSpace: 0,
availableZones: ["string"],
brokerNum: 0,
vpcId: "string",
subnetId: "string",
storageSpecCode: "string",
flavorId: "string",
securityGroupId: "string",
engineVersion: "string",
enableAcl: false,
publicipIds: ["string"],
name: "string",
enterpriseProjectId: "string",
enablePublicip: false,
sslEnable: false,
archType: "string",
dmsRocketmqInstanceV2Id: "string",
description: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
tlsMode: "string",
configs: [{
name: "string",
value: "string",
}],
});
type: opentelekomcloud:DmsRocketmqInstanceV2
properties:
archType: string
availableZones:
- string
brokerNum: 0
configs:
- name: string
value: string
description: string
dmsRocketmqInstanceV2Id: string
enableAcl: false
enablePublicip: false
engineVersion: string
enterpriseProjectId: string
flavorId: string
name: string
publicipIds:
- string
securityGroupId: string
sslEnable: false
storageSpace: 0
storageSpecCode: string
subnetId: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
tlsMode: string
vpcId: string
DmsRocketmqInstanceV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DmsRocketmqInstanceV2 resource accepts the following input properties:
- Available
Zones List<string> - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- Broker
Num double - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - Engine
Version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- Flavor
Id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- Security
Group stringId - Specifies the ID of a security group.
- Storage
Space double - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - Storage
Spec stringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- Arch
Type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- Configs
List<Dms
Rocketmq Instance V2Config> - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- Description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- Dms
Rocketmq stringInstance V2Id - Specifies a resource ID in UUID format.
- Enable
Acl bool - Specifies whether access control is enabled.
- Enable
Publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- Enterprise
Project stringId - Specifies the enterprise project ID of the instance.
- Name string
- Specifies the configuration name, e.g. fileReservedTime.
- Publicip
Ids List<string> - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- Ssl
Enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- Dictionary<string, string>
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- Timeouts
Dms
Rocketmq Instance V2Timeouts - Tls
Mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- Available
Zones []string - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- Broker
Num float64 - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - Engine
Version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- Flavor
Id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- Security
Group stringId - Specifies the ID of a security group.
- Storage
Space float64 - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - Storage
Spec stringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- Arch
Type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- Configs
[]Dms
Rocketmq Instance V2Config Args - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- Description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- Dms
Rocketmq stringInstance V2Id - Specifies a resource ID in UUID format.
- Enable
Acl bool - Specifies whether access control is enabled.
- Enable
Publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- Enterprise
Project stringId - Specifies the enterprise project ID of the instance.
- Name string
- Specifies the configuration name, e.g. fileReservedTime.
- Publicip
Ids []string - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- Ssl
Enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- map[string]string
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- Timeouts
Dms
Rocketmq Instance V2Timeouts Args - Tls
Mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- available_
zones list(string) - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker_
num number - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - engine_
version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- flavor_
id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- security_
group_ stringid - Specifies the ID of a security group.
- storage_
space number - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage_
spec_ stringcode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet_
id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- vpc_
id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch_
type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- configs list(object)
- Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms_
rocketmq_ stringinstance_ v2_ id - Specifies a resource ID in UUID format.
- enable_
acl bool - Specifies whether access control is enabled.
- enable_
publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- enterprise_
project_ stringid - Specifies the enterprise project ID of the instance.
- name string
- Specifies the configuration name, e.g. fileReservedTime.
- publicip_
ids list(string) - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- ssl_
enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- map(string)
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts object
- tls_
mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- available
Zones List<String> - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker
Num Double - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - engine
Version String - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- flavor
Id String - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- security
Group StringId - Specifies the ID of a security group.
- storage
Space Double - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage
Spec StringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet
Id String - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- configs
List<Dms
Rocketmq Instance V2Config> - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- description String
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms
Rocketmq StringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Specifies whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled.
- enterprise
Project StringId - Specifies the enterprise project ID of the instance.
- name String
- Specifies the configuration name, e.g. fileReservedTime.
- publicip
Ids List<String> - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- ssl
Enable Boolean - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- Map<String,String>
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts
Dms
Rocketmq Instance V2Timeouts - tls
Mode String - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- available
Zones string[] - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker
Num number - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - engine
Version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- flavor
Id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- security
Group stringId - Specifies the ID of a security group.
- storage
Space number - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage
Spec stringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet
Id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch
Type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- configs
Dms
Rocketmq Instance V2Config[] - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms
Rocketmq stringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Acl boolean - Specifies whether access control is enabled.
- enable
Publicip boolean - Specifies whether to enable public access. By default, public access is disabled.
- enterprise
Project stringId - Specifies the enterprise project ID of the instance.
- name string
- Specifies the configuration name, e.g. fileReservedTime.
- publicip
Ids string[] - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- ssl
Enable boolean - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- {[key: string]: string}
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts
Dms
Rocketmq Instance V2Timeouts - tls
Mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- available_
zones Sequence[str] - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker_
num float - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - engine_
version str - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- flavor_
id str - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- security_
group_ strid - Specifies the ID of a security group.
- storage_
space float - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage_
spec_ strcode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet_
id str - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- vpc_
id str - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch_
type str - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- configs
Sequence[Dms
Rocketmq Instance V2Config Args] - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- description str
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms_
rocketmq_ strinstance_ v2_ id - Specifies a resource ID in UUID format.
- enable_
acl bool - Specifies whether access control is enabled.
- enable_
publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- enterprise_
project_ strid - Specifies the enterprise project ID of the instance.
- name str
- Specifies the configuration name, e.g. fileReservedTime.
- publicip_
ids Sequence[str] - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- ssl_
enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- Mapping[str, str]
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts
Dms
Rocketmq Instance V2Timeouts Args - tls_
mode str - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- available
Zones List<String> - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker
Num Number - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - engine
Version String - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- flavor
Id String - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- security
Group StringId - Specifies the ID of a security group.
- storage
Space Number - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage
Spec StringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet
Id String - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- configs List<Property Map>
- Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- description String
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms
Rocketmq StringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Specifies whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled.
- enterprise
Project StringId - Specifies the enterprise project ID of the instance.
- name String
- Specifies the configuration name, e.g. fileReservedTime.
- publicip
Ids List<String> - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- ssl
Enable Boolean - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- Map<String>
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts Property Map
- tls
Mode String - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DmsRocketmqInstanceV2 resource produces the following output properties:
- Broker
Address string - Indicates the service data address.
- Created
At string - Indicates the creation time, as a timestamp in milliseconds.
- Cross
Vpc List<DmsAccesses Rocketmq Instance V2Cross Vpc Access> - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- Engine string
- Indicates the message engine.
- Grpc
Address string - Indicates the gRPC connection address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Enable bool
- Indicates whether IPv6 is enabled.
- Maintain
Begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- Maintain
End string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- Namesrv
Address string - Indicates the metadata address.
- Public
Broker stringAddress - Indicates the public network service data address.
- Public
Grpc stringAddress - Indicates the public gRPC connection address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Region string
- The region in which the DMS RocketMQ instance is created.
- Resource
Spec stringCode - Indicates the resource specification.
- Specification string
- Indicates the instance specification.
- Status string
- Indicates the status of the DMS RocketMQ instance.
- Type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB.
- Broker
Address string - Indicates the service data address.
- Created
At string - Indicates the creation time, as a timestamp in milliseconds.
- Cross
Vpc []DmsAccesses Rocketmq Instance V2Cross Vpc Access - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- Engine string
- Indicates the message engine.
- Grpc
Address string - Indicates the gRPC connection address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Enable bool
- Indicates whether IPv6 is enabled.
- Maintain
Begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- Maintain
End string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- Namesrv
Address string - Indicates the metadata address.
- Public
Broker stringAddress - Indicates the public network service data address.
- Public
Grpc stringAddress - Indicates the public gRPC connection address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Region string
- The region in which the DMS RocketMQ instance is created.
- Resource
Spec stringCode - Indicates the resource specification.
- Specification string
- Indicates the instance specification.
- Status string
- Indicates the status of the DMS RocketMQ instance.
- Type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- Used
Storage float64Space - Indicates the used message storage space. Unit: GB.
- broker_
address string - Indicates the service data address.
- created_
at string - Indicates the creation time, as a timestamp in milliseconds.
- cross_
vpc_ list(object)accesses - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- engine string
- Indicates the message engine.
- grpc_
address string - Indicates the gRPC connection address.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6_
enable bool - Indicates whether IPv6 is enabled.
- maintain_
begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain_
end string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- namesrv_
address string - Indicates the metadata address.
- public_
broker_ stringaddress - Indicates the public network service data address.
- public_
grpc_ stringaddress - Indicates the public gRPC connection address.
- public_
namesrv_ stringaddress - Indicates the public network metadata address.
- publicip_
address string - Indicates the public IP address.
- region string
- The region in which the DMS RocketMQ instance is created.
- resource_
spec_ stringcode - Indicates the resource specification.
- specification string
- Indicates the instance specification.
- status string
- Indicates the status of the DMS RocketMQ instance.
- type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- used_
storage_ numberspace - Indicates the used message storage space. Unit: GB.
- broker
Address String - Indicates the service data address.
- created
At String - Indicates the creation time, as a timestamp in milliseconds.
- cross
Vpc List<DmsAccesses Rocketmq Instance V2Cross Vpc Access> - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- engine String
- Indicates the message engine.
- grpc
Address String - Indicates the gRPC connection address.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Enable Boolean
- Indicates whether IPv6 is enabled.
- maintain
Begin String - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain
End String - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- namesrv
Address String - Indicates the metadata address.
- public
Broker StringAddress - Indicates the public network service data address.
- public
Grpc StringAddress - Indicates the public gRPC connection address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- region String
- The region in which the DMS RocketMQ instance is created.
- resource
Spec StringCode - Indicates the resource specification.
- specification String
- Indicates the instance specification.
- status String
- Indicates the status of the DMS RocketMQ instance.
- type String
- Indicates the instance type. Values: single.basic, cluster.basic.
- used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB.
- broker
Address string - Indicates the service data address.
- created
At string - Indicates the creation time, as a timestamp in milliseconds.
- cross
Vpc DmsAccesses Rocketmq Instance V2Cross Vpc Access[] - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- engine string
- Indicates the message engine.
- grpc
Address string - Indicates the gRPC connection address.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Enable boolean
- Indicates whether IPv6 is enabled.
- maintain
Begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain
End string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- namesrv
Address string - Indicates the metadata address.
- public
Broker stringAddress - Indicates the public network service data address.
- public
Grpc stringAddress - Indicates the public gRPC connection address.
- public
Namesrv stringAddress - Indicates the public network metadata address.
- publicip
Address string - Indicates the public IP address.
- region string
- The region in which the DMS RocketMQ instance is created.
- resource
Spec stringCode - Indicates the resource specification.
- specification string
- Indicates the instance specification.
- status string
- Indicates the status of the DMS RocketMQ instance.
- type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- used
Storage numberSpace - Indicates the used message storage space. Unit: GB.
- broker_
address str - Indicates the service data address.
- created_
at str - Indicates the creation time, as a timestamp in milliseconds.
- cross_
vpc_ Sequence[Dmsaccesses Rocketmq Instance V2Cross Vpc Access] - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- engine str
- Indicates the message engine.
- grpc_
address str - Indicates the gRPC connection address.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
enable bool - Indicates whether IPv6 is enabled.
- maintain_
begin str - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain_
end str - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- namesrv_
address str - Indicates the metadata address.
- public_
broker_ straddress - Indicates the public network service data address.
- public_
grpc_ straddress - Indicates the public gRPC connection address.
- public_
namesrv_ straddress - Indicates the public network metadata address.
- publicip_
address str - Indicates the public IP address.
- region str
- The region in which the DMS RocketMQ instance is created.
- resource_
spec_ strcode - Indicates the resource specification.
- specification str
- Indicates the instance specification.
- status str
- Indicates the status of the DMS RocketMQ instance.
- type str
- Indicates the instance type. Values: single.basic, cluster.basic.
- used_
storage_ floatspace - Indicates the used message storage space. Unit: GB.
- broker
Address String - Indicates the service data address.
- created
At String - Indicates the creation time, as a timestamp in milliseconds.
- cross
Vpc List<Property Map>Accesses - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- engine String
- Indicates the message engine.
- grpc
Address String - Indicates the gRPC connection address.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Enable Boolean
- Indicates whether IPv6 is enabled.
- maintain
Begin String - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain
End String - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- namesrv
Address String - Indicates the metadata address.
- public
Broker StringAddress - Indicates the public network service data address.
- public
Grpc StringAddress - Indicates the public gRPC connection address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- region String
- The region in which the DMS RocketMQ instance is created.
- resource
Spec StringCode - Indicates the resource specification.
- specification String
- Indicates the instance specification.
- status String
- Indicates the status of the DMS RocketMQ instance.
- type String
- Indicates the instance type. Values: single.basic, cluster.basic.
- used
Storage NumberSpace - Indicates the used message storage space. Unit: GB.
Look up Existing DmsRocketmqInstanceV2 Resource
Get an existing DmsRocketmqInstanceV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DmsRocketmqInstanceV2State, opts?: CustomResourceOptions): DmsRocketmqInstanceV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arch_type: Optional[str] = None,
available_zones: Optional[Sequence[str]] = None,
broker_address: Optional[str] = None,
broker_num: Optional[float] = None,
configs: Optional[Sequence[DmsRocketmqInstanceV2ConfigArgs]] = None,
created_at: Optional[str] = None,
cross_vpc_accesses: Optional[Sequence[DmsRocketmqInstanceV2CrossVpcAccessArgs]] = None,
description: Optional[str] = None,
dms_rocketmq_instance_v2_id: Optional[str] = None,
enable_acl: Optional[bool] = None,
enable_publicip: Optional[bool] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
flavor_id: Optional[str] = None,
grpc_address: Optional[str] = None,
ipv6_enable: Optional[bool] = None,
maintain_begin: Optional[str] = None,
maintain_end: Optional[str] = None,
name: Optional[str] = None,
namesrv_address: Optional[str] = None,
public_broker_address: Optional[str] = None,
public_grpc_address: Optional[str] = None,
public_namesrv_address: Optional[str] = None,
publicip_address: Optional[str] = None,
publicip_ids: Optional[Sequence[str]] = None,
region: Optional[str] = None,
resource_spec_code: Optional[str] = None,
security_group_id: Optional[str] = None,
specification: Optional[str] = None,
ssl_enable: Optional[bool] = None,
status: Optional[str] = None,
storage_space: Optional[float] = None,
storage_spec_code: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[DmsRocketmqInstanceV2TimeoutsArgs] = None,
tls_mode: Optional[str] = None,
type: Optional[str] = None,
used_storage_space: Optional[float] = None,
vpc_id: Optional[str] = None) -> DmsRocketmqInstanceV2func GetDmsRocketmqInstanceV2(ctx *Context, name string, id IDInput, state *DmsRocketmqInstanceV2State, opts ...ResourceOption) (*DmsRocketmqInstanceV2, error)public static DmsRocketmqInstanceV2 Get(string name, Input<string> id, DmsRocketmqInstanceV2State? state, CustomResourceOptions? opts = null)public static DmsRocketmqInstanceV2 get(String name, Output<String> id, DmsRocketmqInstanceV2State state, CustomResourceOptions options)resources: _: type: opentelekomcloud:DmsRocketmqInstanceV2 get: id: ${id}import {
to = opentelekomcloud_dms_rocketmq_instance_v2.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arch
Type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- Available
Zones List<string> - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- Broker
Address string - Indicates the service data address.
- Broker
Num double - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - Configs
List<Dms
Rocketmq Instance V2Config> - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- Created
At string - Indicates the creation time, as a timestamp in milliseconds.
- Cross
Vpc List<DmsAccesses Rocketmq Instance V2Cross Vpc Access> - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- Description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- Dms
Rocketmq stringInstance V2Id - Specifies a resource ID in UUID format.
- Enable
Acl bool - Specifies whether access control is enabled.
- Enable
Publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- Engine string
- Indicates the message engine.
- Engine
Version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- Enterprise
Project stringId - Specifies the enterprise project ID of the instance.
- Flavor
Id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- Grpc
Address string - Indicates the gRPC connection address.
- Ipv6Enable bool
- Indicates whether IPv6 is enabled.
- Maintain
Begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- Maintain
End string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- Name string
- Specifies the configuration name, e.g. fileReservedTime.
- Namesrv
Address string - Indicates the metadata address.
- Public
Broker stringAddress - Indicates the public network service data address.
- Public
Grpc stringAddress - Indicates the public gRPC connection address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Publicip
Ids List<string> - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- Region string
- The region in which the DMS RocketMQ instance is created.
- Resource
Spec stringCode - Indicates the resource specification.
- Security
Group stringId - Specifies the ID of a security group.
- Specification string
- Indicates the instance specification.
- Ssl
Enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- Status string
- Indicates the status of the DMS RocketMQ instance.
- Storage
Space double - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - Storage
Spec stringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- Dictionary<string, string>
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- Timeouts
Dms
Rocketmq Instance V2Timeouts - Tls
Mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- Type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB.
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- Arch
Type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- Available
Zones []string - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- Broker
Address string - Indicates the service data address.
- Broker
Num float64 - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - Configs
[]Dms
Rocketmq Instance V2Config Args - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- Created
At string - Indicates the creation time, as a timestamp in milliseconds.
- Cross
Vpc []DmsAccesses Rocketmq Instance V2Cross Vpc Access Args - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- Description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- Dms
Rocketmq stringInstance V2Id - Specifies a resource ID in UUID format.
- Enable
Acl bool - Specifies whether access control is enabled.
- Enable
Publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- Engine string
- Indicates the message engine.
- Engine
Version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- Enterprise
Project stringId - Specifies the enterprise project ID of the instance.
- Flavor
Id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- Grpc
Address string - Indicates the gRPC connection address.
- Ipv6Enable bool
- Indicates whether IPv6 is enabled.
- Maintain
Begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- Maintain
End string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- Name string
- Specifies the configuration name, e.g. fileReservedTime.
- Namesrv
Address string - Indicates the metadata address.
- Public
Broker stringAddress - Indicates the public network service data address.
- Public
Grpc stringAddress - Indicates the public gRPC connection address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Publicip
Ids []string - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- Region string
- The region in which the DMS RocketMQ instance is created.
- Resource
Spec stringCode - Indicates the resource specification.
- Security
Group stringId - Specifies the ID of a security group.
- Specification string
- Indicates the instance specification.
- Ssl
Enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- Status string
- Indicates the status of the DMS RocketMQ instance.
- Storage
Space float64 - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - Storage
Spec stringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- Subnet
Id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- map[string]string
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- Timeouts
Dms
Rocketmq Instance V2Timeouts Args - Tls
Mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- Type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- Used
Storage float64Space - Indicates the used message storage space. Unit: GB.
- Vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch_
type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- available_
zones list(string) - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker_
address string - Indicates the service data address.
- broker_
num number - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - configs list(object)
- Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- created_
at string - Indicates the creation time, as a timestamp in milliseconds.
- cross_
vpc_ list(object)accesses - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms_
rocketmq_ stringinstance_ v2_ id - Specifies a resource ID in UUID format.
- enable_
acl bool - Specifies whether access control is enabled.
- enable_
publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- engine string
- Indicates the message engine.
- engine_
version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- enterprise_
project_ stringid - Specifies the enterprise project ID of the instance.
- flavor_
id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- grpc_
address string - Indicates the gRPC connection address.
- ipv6_
enable bool - Indicates whether IPv6 is enabled.
- maintain_
begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain_
end string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- name string
- Specifies the configuration name, e.g. fileReservedTime.
- namesrv_
address string - Indicates the metadata address.
- public_
broker_ stringaddress - Indicates the public network service data address.
- public_
grpc_ stringaddress - Indicates the public gRPC connection address.
- public_
namesrv_ stringaddress - Indicates the public network metadata address.
- publicip_
address string - Indicates the public IP address.
- publicip_
ids list(string) - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- region string
- The region in which the DMS RocketMQ instance is created.
- resource_
spec_ stringcode - Indicates the resource specification.
- security_
group_ stringid - Specifies the ID of a security group.
- specification string
- Indicates the instance specification.
- ssl_
enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- status string
- Indicates the status of the DMS RocketMQ instance.
- storage_
space number - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage_
spec_ stringcode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet_
id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- map(string)
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts object
- tls_
mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- used_
storage_ numberspace - Indicates the used message storage space. Unit: GB.
- vpc_
id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- available
Zones List<String> - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker
Address String - Indicates the service data address.
- broker
Num Double - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - configs
List<Dms
Rocketmq Instance V2Config> - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- created
At String - Indicates the creation time, as a timestamp in milliseconds.
- cross
Vpc List<DmsAccesses Rocketmq Instance V2Cross Vpc Access> - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- description String
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms
Rocketmq StringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Specifies whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled.
- engine String
- Indicates the message engine.
- engine
Version String - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- enterprise
Project StringId - Specifies the enterprise project ID of the instance.
- flavor
Id String - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- grpc
Address String - Indicates the gRPC connection address.
- ipv6Enable Boolean
- Indicates whether IPv6 is enabled.
- maintain
Begin String - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain
End String - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- name String
- Specifies the configuration name, e.g. fileReservedTime.
- namesrv
Address String - Indicates the metadata address.
- public
Broker StringAddress - Indicates the public network service data address.
- public
Grpc StringAddress - Indicates the public gRPC connection address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- publicip
Ids List<String> - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- region String
- The region in which the DMS RocketMQ instance is created.
- resource
Spec StringCode - Indicates the resource specification.
- security
Group StringId - Specifies the ID of a security group.
- specification String
- Indicates the instance specification.
- ssl
Enable Boolean - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- status String
- Indicates the status of the DMS RocketMQ instance.
- storage
Space Double - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage
Spec StringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet
Id String - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- Map<String,String>
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts
Dms
Rocketmq Instance V2Timeouts - tls
Mode String - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- type String
- Indicates the instance type. Values: single.basic, cluster.basic.
- used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB.
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch
Type string - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- available
Zones string[] - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker
Address string - Indicates the service data address.
- broker
Num number - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - configs
Dms
Rocketmq Instance V2Config[] - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- created
At string - Indicates the creation time, as a timestamp in milliseconds.
- cross
Vpc DmsAccesses Rocketmq Instance V2Cross Vpc Access[] - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- description string
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms
Rocketmq stringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Acl boolean - Specifies whether access control is enabled.
- enable
Publicip boolean - Specifies whether to enable public access. By default, public access is disabled.
- engine string
- Indicates the message engine.
- engine
Version string - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- enterprise
Project stringId - Specifies the enterprise project ID of the instance.
- flavor
Id string - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- grpc
Address string - Indicates the gRPC connection address.
- ipv6Enable boolean
- Indicates whether IPv6 is enabled.
- maintain
Begin string - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain
End string - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- name string
- Specifies the configuration name, e.g. fileReservedTime.
- namesrv
Address string - Indicates the metadata address.
- public
Broker stringAddress - Indicates the public network service data address.
- public
Grpc stringAddress - Indicates the public gRPC connection address.
- public
Namesrv stringAddress - Indicates the public network metadata address.
- publicip
Address string - Indicates the public IP address.
- publicip
Ids string[] - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- region string
- The region in which the DMS RocketMQ instance is created.
- resource
Spec stringCode - Indicates the resource specification.
- security
Group stringId - Specifies the ID of a security group.
- specification string
- Indicates the instance specification.
- ssl
Enable boolean - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- status string
- Indicates the status of the DMS RocketMQ instance.
- storage
Space number - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage
Spec stringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet
Id string - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- {[key: string]: string}
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts
Dms
Rocketmq Instance V2Timeouts - tls
Mode string - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- type string
- Indicates the instance type. Values: single.basic, cluster.basic.
- used
Storage numberSpace - Indicates the used message storage space. Unit: GB.
- vpc
Id string - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch_
type str - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- available_
zones Sequence[str] - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker_
address str - Indicates the service data address.
- broker_
num float - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - configs
Sequence[Dms
Rocketmq Instance V2Config Args] - Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- created_
at str - Indicates the creation time, as a timestamp in milliseconds.
- cross_
vpc_ Sequence[Dmsaccesses Rocketmq Instance V2Cross Vpc Access Args] - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- description str
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms_
rocketmq_ strinstance_ v2_ id - Specifies a resource ID in UUID format.
- enable_
acl bool - Specifies whether access control is enabled.
- enable_
publicip bool - Specifies whether to enable public access. By default, public access is disabled.
- engine str
- Indicates the message engine.
- engine_
version str - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- enterprise_
project_ strid - Specifies the enterprise project ID of the instance.
- flavor_
id str - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- grpc_
address str - Indicates the gRPC connection address.
- ipv6_
enable bool - Indicates whether IPv6 is enabled.
- maintain_
begin str - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain_
end str - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- name str
- Specifies the configuration name, e.g. fileReservedTime.
- namesrv_
address str - Indicates the metadata address.
- public_
broker_ straddress - Indicates the public network service data address.
- public_
grpc_ straddress - Indicates the public gRPC connection address.
- public_
namesrv_ straddress - Indicates the public network metadata address.
- publicip_
address str - Indicates the public IP address.
- publicip_
ids Sequence[str] - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- region str
- The region in which the DMS RocketMQ instance is created.
- resource_
spec_ strcode - Indicates the resource specification.
- security_
group_ strid - Specifies the ID of a security group.
- specification str
- Indicates the instance specification.
- ssl_
enable bool - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- status str
- Indicates the status of the DMS RocketMQ instance.
- storage_
space float - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage_
spec_ strcode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet_
id str - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- Mapping[str, str]
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts
Dms
Rocketmq Instance V2Timeouts Args - tls_
mode str - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- type str
- Indicates the instance type. Values: single.basic, cluster.basic.
- used_
storage_ floatspace - Indicates the used message storage space. Unit: GB.
- vpc_
id str - Specifies the ID of a VPC. Changing this creates a new instance resource.
- arch
Type String - Specifies the CPU architecture. Value options: X86, ARM. Changing this creates a new instance resource.
- available
Zones List<String> - Specifies the IDs of the AZs where the brokers reside. A RocketMQ instance can be deployed in 1 AZ or at least 3 AZs. Changing this creates a new instance resource.
- broker
Address String - Indicates the service data address.
- broker
Num Number - Specifies the number of brokers.
The broker number can't be changed separately, the instance can only be scaled via
flavor_id. - configs List<Property Map>
- Specifies the RocketMQ configurations of the instance. The configs structure is documented below.
- created
At String - Indicates the creation time, as a timestamp in milliseconds.
- cross
Vpc List<Property Map>Accesses - Indicates the cross-VPC access information. The cross_vpc_accesses structure is documented below.
- description String
- Specifies the description of the DMS RocketMQ instance. It is a character string containing not more than 1,024 characters.
- dms
Rocketmq StringInstance V2Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Specifies whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled.
- engine String
- Indicates the message engine.
- engine
Version String - Specifies the version of the RocketMQ engine. Value: 5.x. Changing this creates a new instance resource.
- enterprise
Project StringId - Specifies the enterprise project ID of the instance.
- flavor
Id String - Specifies the RocketMQ flavor ID, e.g. rocketmq.b1.large.1 (single-node) or rocketmq.b2.large.4 (cluster). The flavor of a cluster instance can be changed, the flavor of a single-node instance can't.
- grpc
Address String - Indicates the gRPC connection address.
- ipv6Enable Boolean
- Indicates whether IPv6 is enabled.
- maintain
Begin String - Indicates the time at which the maintenance window starts. The format is HH:mm:ss.
- maintain
End String - Indicates the time at which the maintenance window ends. The format is HH:mm:ss.
- name String
- Specifies the configuration name, e.g. fileReservedTime.
- namesrv
Address String - Indicates the metadata address.
- public
Broker StringAddress - Indicates the public network service data address.
- public
Grpc StringAddress - Indicates the public gRPC connection address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- publicip
Ids List<String> - Specifies the IDs of the EIPs bound to the instance. This parameter is mandatory if public access is enabled.
- region String
- The region in which the DMS RocketMQ instance is created.
- resource
Spec StringCode - Indicates the resource specification.
- security
Group StringId - Specifies the ID of a security group.
- specification String
- Indicates the instance specification.
- ssl
Enable Boolean - Specifies whether to enable SSL-encrypted access. Defaults to false. Changing this creates a new instance resource.
- status String
- Indicates the status of the DMS RocketMQ instance.
- storage
Space Number - Specifies the message storage capacity, the unit is GB.
The supported range depends on the flavor, see
min_storage_per_nodeandmax_storage_per_nodeof the flavor. The storage space can only be expanded, the storage space of each broker must be expanded by at least 100 GB. - storage
Spec StringCode - Specifies the storage I/O specification. Value options: dms.physical.storage.high.v2, dms.physical.storage.ultra.v2, dms.physical.storage.general and dms.physical.storage.extreme. Changing this creates a new instance resource.
- subnet
Id String - Specifies the network ID of a subnet. Changing this creates a new instance resource.
- Map<String>
The key/value pairs to associate with the instance. A maximum of 20 tags can be added.
The
configsblock supports:- timeouts Property Map
- tls
Mode String - Specifies the security protocol used by the instance. Changing this creates a new instance resource.
- type String
- Indicates the instance type. Values: single.basic, cluster.basic.
- used
Storage NumberSpace - Indicates the used message storage space. Unit: GB.
- vpc
Id String - Specifies the ID of a VPC. Changing this creates a new instance resource.
Supporting Types
DmsRocketmqInstanceV2Config, DmsRocketmqInstanceV2ConfigArgs
DmsRocketmqInstanceV2CrossVpcAccess, DmsRocketmqInstanceV2CrossVpcAccessArgs
- Advertised
Ip string - The advertised IP address or domain name.
- Listener
Ip string - The listener IP address.
- Port double
- The port number.
- Port
Id string - The port ID associated with the address.
- Advertised
Ip string - The advertised IP address or domain name.
- Listener
Ip string - The listener IP address.
- Port float64
- The port number.
- Port
Id string - The port ID associated with the address.
- advertised_
ip string - The advertised IP address or domain name.
- listener_
ip string - The listener IP address.
- port number
- The port number.
- port_
id string - The port ID associated with the address.
- advertised
Ip String - The advertised IP address or domain name.
- listener
Ip String - The listener IP address.
- port Double
- The port number.
- port
Id String - The port ID associated with the address.
- advertised
Ip string - The advertised IP address or domain name.
- listener
Ip string - The listener IP address.
- port number
- The port number.
- port
Id string - The port ID associated with the address.
- advertised_
ip str - The advertised IP address or domain name.
- listener_
ip str - The listener IP address.
- port float
- The port number.
- port_
id str - The port ID associated with the address.
- advertised
Ip String - The advertised IP address or domain name.
- listener
Ip String - The listener IP address.
- port Number
- The port number.
- port
Id String - The port ID associated with the address.
DmsRocketmqInstanceV2Timeouts, DmsRocketmqInstanceV2TimeoutsArgs
Import
DMS RocketMQ instance can be imported using the instance id, e.g.
$ pulumi import opentelekomcloud:index/dmsRocketmqInstanceV2:DmsRocketmqInstanceV2 opentelekomcloud_dms_rocketmq_instance_v2.test 8d3c7938-dc47-4937-a30f-c80de381c5e3
Note that the imported state may not be identical to your resource definition, as only the configs
listed in the resource definition are tracked. It is generally recommended running pulumi preview after importing
a DMS RocketMQ instance. You can then decide if changes should be applied to the instance, or the resource definition
should be updated to align with the instance. Also, you can ignore changes as below.
hcl
resource “opentelekomcloud_dms_rocketmq_instance_v2” “test” {
lifecycle {
ignore_changes = [
configs,
]
}
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
published on Friday, Oct 23, 2026 by opentelekomcloud