flexibleengine.DmsRocketmqInstance
Explore with Pulumi AI
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:
- Availability
Zones 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.
- Engine
Version string - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- Flavor
Id 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.
- Security
Group stringId - Specifies the ID of a security group.
- Storage
Space double - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- Storage
Spec stringCode - 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 string - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- Vpc
Id string - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- Auto
Renew string - Broker
Num double - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- Charging
Mode string - Description string
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- Dms
Rocketmq stringInstance Id - 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 stringId - 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
- Period
Unit string - Publicip
Id 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.
- Retention
Policy bool - Specifies the ACL access control.
- Ssl
Enable bool - Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
- Dictionary<string, string>
- Timeouts
Dms
Rocketmq Instance Timeouts
- Availability
Zones []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.
- Engine
Version string - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- Flavor
Id 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.
- Security
Group stringId - Specifies the ID of a security group.
- Storage
Space float64 - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- Storage
Spec stringCode - 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 string - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- Vpc
Id string - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- Auto
Renew string - Broker
Num float64 - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- Charging
Mode string - Description string
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- Dms
Rocketmq stringInstance Id - 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 stringId - 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
- Period
Unit string - Publicip
Id 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.
- Retention
Policy bool - Specifies the ACL access control.
- Ssl
Enable bool - Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
- map[string]string
- Timeouts
Dms
Rocketmq Instance Timeouts Args
- availability
Zones 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.
- engine
Version String - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- flavor
Id 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.
- security
Group StringId - Specifies the ID of a security group.
- storage
Space Double - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- storage
Spec StringCode - 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 String - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- vpc
Id String - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- auto
Renew String - broker
Num Double - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- charging
Mode String - description String
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- dms
Rocketmq StringInstance Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Indicates whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
- enterprise
Project StringId - 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
- period
Unit String - publicip
Id 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.
- retention
Policy Boolean - Specifies the ACL access control.
- ssl
Enable Boolean - Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
- Map<String,String>
- timeouts
Dms
Rocketmq Instance Timeouts
- availability
Zones 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.
- engine
Version string - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- flavor
Id 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.
- security
Group stringId - Specifies the ID of a security group.
- storage
Space number - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- storage
Spec stringCode - 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 string - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- vpc
Id string - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- auto
Renew string - broker
Num number - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- charging
Mode string - description string
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- dms
Rocketmq stringInstance Id - Specifies a resource ID in UUID format.
- enable
Acl boolean - Indicates whether access control is enabled.
- enable
Publicip boolean - Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
- enterprise
Project stringId - 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
- period
Unit string - publicip
Id 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.
- retention
Policy boolean - Specifies the ACL access control.
- ssl
Enable boolean - Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
- {[key: string]: string}
- timeouts
Dms
Rocketmq Instance Timeouts
- 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_ strid - 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_ strcode - 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_ strinstance_ id - 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_ strid - 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.
- ssl_
enable bool - Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
- Mapping[str, str]
- timeouts
Dms
Rocketmq Instance Timeouts Args
- availability
Zones 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.
- engine
Version String - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- flavor
Id 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.
- security
Group StringId - Specifies the ID of a security group.
- storage
Space Number - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- storage
Spec StringCode - 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 String - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- vpc
Id String - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- auto
Renew String - broker
Num Number - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- charging
Mode String - description String
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- dms
Rocketmq StringInstance Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Indicates whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
- enterprise
Project StringId - 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
- period
Unit String - publicip
Id 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.
- retention
Policy Boolean - Specifies the ACL access control.
- ssl
Enable Boolean - Specifies whether the RocketMQ SASL_SSL is enabled. Defaults to false. Changing this parameter will create a new resource.
- Map<String>
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DmsRocketmqInstance resource produces the following output properties:
- Broker
Address string - Indicates the service data address.
- Cross
Vpc List<DmsAccesses Rocketmq Instance Cross Vpc Access> - Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- New
Spec boolBilling Enable - Indicates whether billing based on new specifications is enabled.
- Node
Num double - Indicates the node quantity.
- Public
Broker stringAddress - Indicates the public network service data address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Resource
Spec stringCode - 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.
- Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB.
- Broker
Address string - Indicates the service data address.
- Cross
Vpc []DmsAccesses Rocketmq Instance Cross Vpc Access - Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- New
Spec boolBilling Enable - Indicates whether billing based on new specifications is enabled.
- Node
Num float64 - Indicates the node quantity.
- Public
Broker stringAddress - Indicates the public network service data address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Resource
Spec stringCode - 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.
- Used
Storage float64Space - Indicates the used message storage space. Unit: GB.
- broker
Address String - Indicates the service data address.
- cross
Vpc List<DmsAccesses Rocketmq Instance Cross Vpc Access> - id String
- The provider-assigned unique ID for this managed resource.
- 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.
- new
Spec BooleanBilling Enable - Indicates whether billing based on new specifications is enabled.
- node
Num Double - Indicates the node quantity.
- public
Broker StringAddress - Indicates the public network service data address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- resource
Spec StringCode - 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.
- used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB.
- broker
Address string - Indicates the service data address.
- cross
Vpc DmsAccesses Rocketmq Instance Cross Vpc Access[] - id string
- The provider-assigned unique ID for this managed resource.
- 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.
- new
Spec booleanBilling Enable - Indicates whether billing based on new specifications is enabled.
- node
Num number - Indicates the node quantity.
- public
Broker stringAddress - Indicates the public network service data address.
- public
Namesrv stringAddress - Indicates the public network metadata address.
- publicip
Address string - Indicates the public IP address.
- resource
Spec stringCode - 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.
- used
Storage numberSpace - Indicates the used message storage space. Unit: GB.
- broker_
address str - Indicates the service data address.
- cross_
vpc_ Sequence[Dmsaccesses Rocketmq Instance Cross Vpc Access] - 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_ boolbilling_ enable - Indicates whether billing based on new specifications is enabled.
- node_
num float - Indicates the node quantity.
- public_
broker_ straddress - Indicates the public network service data address.
- public_
namesrv_ straddress - Indicates the public network metadata address.
- publicip_
address str - Indicates the public IP address.
- resource_
spec_ strcode - 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_ floatspace - Indicates the used message storage space. Unit: GB.
- broker
Address String - Indicates the service data address.
- cross
Vpc List<Property Map>Accesses - id String
- The provider-assigned unique ID for this managed resource.
- 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.
- new
Spec BooleanBilling Enable - Indicates whether billing based on new specifications is enabled.
- node
Num Number - Indicates the node quantity.
- public
Broker StringAddress - Indicates the public network service data address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- resource
Spec StringCode - 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.
- used
Storage NumberSpace - 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.
- Auto
Renew string - Availability
Zones 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.
- Broker
Address string - Indicates the service data address.
- Broker
Num double - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- Charging
Mode string - Cross
Vpc List<DmsAccesses Rocketmq Instance Cross Vpc Access> - Description string
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- Dms
Rocketmq stringInstance Id - 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 string - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- Enterprise
Project stringId - Specifies the enterprise project id of the instance.
- Flavor
Id 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.
- 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 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 string - Indicates the metadata address.
- New
Spec boolBilling Enable - Indicates whether billing based on new specifications is enabled.
- Node
Num double - Indicates the node quantity.
- Period double
- Period
Unit string - Public
Broker stringAddress - Indicates the public network service data address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Publicip
Id 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.
- Resource
Spec stringCode - Indicates the resource specifications.
- Retention
Policy bool - Specifies the ACL access control.
- Security
Group stringId - 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.
- Ssl
Enable 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.
- Storage
Space double - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- Storage
Spec stringCode - 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 string - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- Dictionary<string, string>
- Timeouts
Dms
Rocketmq Instance Timeouts - Type string
- Indicates the DMS RocketMQ instance type. Value: cluster.
- Used
Storage doubleSpace - Indicates the used message storage space. Unit: GB.
- Vpc
Id string - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- Auto
Renew string - Availability
Zones []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.
- Broker
Address string - Indicates the service data address.
- Broker
Num float64 - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- Charging
Mode string - Cross
Vpc []DmsAccesses Rocketmq Instance Cross Vpc Access Args - Description string
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- Dms
Rocketmq stringInstance Id - 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 string - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- Enterprise
Project stringId - Specifies the enterprise project id of the instance.
- Flavor
Id 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.
- 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 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 string - Indicates the metadata address.
- New
Spec boolBilling Enable - Indicates whether billing based on new specifications is enabled.
- Node
Num float64 - Indicates the node quantity.
- Period float64
- Period
Unit string - Public
Broker stringAddress - Indicates the public network service data address.
- Public
Namesrv stringAddress - Indicates the public network metadata address.
- Publicip
Address string - Indicates the public IP address.
- Publicip
Id 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.
- Resource
Spec stringCode - Indicates the resource specifications.
- Retention
Policy bool - Specifies the ACL access control.
- Security
Group stringId - 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.
- Ssl
Enable 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.
- Storage
Space float64 - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- Storage
Spec stringCode - 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 string - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- map[string]string
- Timeouts
Dms
Rocketmq Instance Timeouts Args - Type string
- Indicates the DMS RocketMQ instance type. Value: cluster.
- Used
Storage float64Space - Indicates the used message storage space. Unit: GB.
- Vpc
Id string - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- auto
Renew String - availability
Zones 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.
- broker
Address String - Indicates the service data address.
- broker
Num Double - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- charging
Mode String - cross
Vpc List<DmsAccesses Rocketmq Instance Cross Vpc Access> - description String
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- dms
Rocketmq StringInstance Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Indicates whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
- engine
Version String - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- enterprise
Project StringId - Specifies the enterprise project id of the instance.
- flavor
Id 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.
- 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 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 String - Indicates the metadata address.
- new
Spec BooleanBilling Enable - Indicates whether billing based on new specifications is enabled.
- node
Num Double - Indicates the node quantity.
- period Double
- period
Unit String - public
Broker StringAddress - Indicates the public network service data address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- publicip
Id 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.
- resource
Spec StringCode - Indicates the resource specifications.
- retention
Policy Boolean - Specifies the ACL access control.
- security
Group StringId - 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.
- ssl
Enable 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.
- storage
Space Double - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- storage
Spec StringCode - 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 String - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- Map<String,String>
- timeouts
Dms
Rocketmq Instance Timeouts - type String
- Indicates the DMS RocketMQ instance type. Value: cluster.
- used
Storage DoubleSpace - Indicates the used message storage space. Unit: GB.
- vpc
Id String - Specifies the ID of a VPC. Changing this parameter will create a new resource.
- auto
Renew string - availability
Zones 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.
- broker
Address string - Indicates the service data address.
- broker
Num number - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- charging
Mode string - cross
Vpc DmsAccesses Rocketmq Instance Cross Vpc Access[] - description string
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- dms
Rocketmq stringInstance Id - Specifies a resource ID in UUID format.
- enable
Acl boolean - Indicates whether access control is enabled.
- enable
Publicip boolean - Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
- engine
Version string - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- enterprise
Project stringId - Specifies the enterprise project id of the instance.
- flavor
Id 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.
- 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 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 string - Indicates the metadata address.
- new
Spec booleanBilling Enable - Indicates whether billing based on new specifications is enabled.
- node
Num number - Indicates the node quantity.
- period number
- period
Unit string - public
Broker stringAddress - Indicates the public network service data address.
- public
Namesrv stringAddress - Indicates the public network metadata address.
- publicip
Address string - Indicates the public IP address.
- publicip
Id 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.
- resource
Spec stringCode - Indicates the resource specifications.
- retention
Policy boolean - Specifies the ACL access control.
- security
Group stringId - 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.
- ssl
Enable 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.
- storage
Space number - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- storage
Spec stringCode - 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 string - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- {[key: string]: string}
- timeouts
Dms
Rocketmq Instance Timeouts - type string
- Indicates the DMS RocketMQ instance type. Value: cluster.
- used
Storage numberSpace - Indicates the used message storage space. Unit: GB.
- vpc
Id 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_ Sequence[Dmsaccesses Rocketmq Instance Cross Vpc Access Args] - description str
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- dms_
rocketmq_ strinstance_ id - 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_ strid - 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_ boolbilling_ enable - Indicates whether billing based on new specifications is enabled.
- node_
num float - Indicates the node quantity.
- period float
- period_
unit str - public_
broker_ straddress - Indicates the public network service data address.
- public_
namesrv_ straddress - 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_ strcode - Indicates the resource specifications.
- retention_
policy bool - Specifies the ACL access control.
- security_
group_ strid - 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_ strcode - 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.
- Mapping[str, str]
- timeouts
Dms
Rocketmq Instance Timeouts Args - type str
- Indicates the DMS RocketMQ instance type. Value: cluster.
- used_
storage_ floatspace - 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.
- auto
Renew String - availability
Zones 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.
- broker
Address String - Indicates the service data address.
- broker
Num Number - Specifies the broker numbers. Defaults to 1. Changing this parameter will create a new resource.
- charging
Mode String - cross
Vpc List<Property Map>Accesses - description String
- Specifies the description of the DMS RocketMQ instance. The description can contain a maximum of 1024 characters.
- dms
Rocketmq StringInstance Id - Specifies a resource ID in UUID format.
- enable
Acl Boolean - Indicates whether access control is enabled.
- enable
Publicip Boolean - Specifies whether to enable public access. By default, public access is disabled. Changing this parameter will create a new resource.
- engine
Version String - Specifies the version of the RocketMQ engine. Value: 4.8.0. Changing this parameter will create a new resource.
- enterprise
Project StringId - Specifies the enterprise project id of the instance.
- flavor
Id 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.
- 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 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 String - Indicates the metadata address.
- new
Spec BooleanBilling Enable - Indicates whether billing based on new specifications is enabled.
- node
Num Number - Indicates the node quantity.
- period Number
- period
Unit String - public
Broker StringAddress - Indicates the public network service data address.
- public
Namesrv StringAddress - Indicates the public network metadata address.
- publicip
Address String - Indicates the public IP address.
- publicip
Id 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.
- resource
Spec StringCode - Indicates the resource specifications.
- retention
Policy Boolean - Specifies the ACL access control.
- security
Group StringId - 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.
- ssl
Enable 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.
- storage
Space Number - Specifies the message storage capacity, Unit: GB. Value range: 300-3000. Changing this parameter will create a new resource.
- storage
Spec StringCode - 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 String - Specifies the ID of a subnet. Changing this parameter will create a new resource.
- Map<String>
- timeouts Property Map
- type String
- Indicates the DMS RocketMQ instance type. Value: cluster.
- used
Storage NumberSpace - Indicates the used message storage space. Unit: GB.
- vpc
Id String - Specifies the ID of a VPC. Changing this parameter will create a new resource.
Supporting Types
DmsRocketmqInstanceCrossVpcAccess, DmsRocketmqInstanceCrossVpcAccessArgs
- Advertised
Ip string - Lisenter
Ip string - Listener
Ip string - Port double
- Port
Id string
- Advertised
Ip string - Lisenter
Ip string - Listener
Ip string - Port float64
- Port
Id string
- advertised
Ip String - lisenter
Ip String - listener
Ip String - port Double
- port
Id String
- advertised
Ip string - lisenter
Ip string - listener
Ip string - port number
- port
Id string
- advertised_
ip str - lisenter_
ip str - listener_
ip str - port float
- port_
id str
- advertised
Ip String - lisenter
Ip String - listener
Ip String - port Number
- port
Id String
DmsRocketmqInstanceTimeouts, DmsRocketmqInstanceTimeoutsArgs
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.