published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
RocketMQ Message Queue is a distributed messaging middleware service built on Apache RocketMQ. It is fully compatible with all open-source RocketMQ components and concepts, offering low latency, high elasticity and high reliability, and high throughput. No changes to business code are required, enabling users to quickly migrate to the cloud.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
rocketMQInstanceDemo:
type: volcenginecc:rocketmq:Instance
name: RocketMQInstanceDemo
properties:
allowListIds:
- acl-5380876c62044b658c3c7da4xxxx
- acl-3e998a9ef43e48eda1d07e2exxxx
ipVersionType: IPv4
enableSsl: true
tags:
- key: env
value: test
version: 5.x
zoneId: cn-beijing-a,cn-beijing-c,cn-beijing-d
computeSpec: rocketmq.x2.2k
storageSpace: 300
vpcId: vpc-1a1vgeo93ycxxxxxxxjnuw
subnetId: subnet-ij9s4h4xxxxxxx95wx4p
fileReservedTime: 72
instanceName: RocketMQInstanceDemo
chargeDetail:
charge_type: PostPaid
sslMode: permissive
networkTypes: PrivateNetwork
projectName: default
instanceDescription: RocketMQInstanceDemo description
eipId: eip-bt6jb362txxxxx2zbpbo
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_id: Optional[str] = None,
network_types: Optional[str] = None,
charge_detail: Optional[InstanceChargeDetailArgs] = None,
compute_spec: Optional[str] = None,
zone_id: Optional[str] = None,
vpc_id: Optional[str] = None,
file_reserved_time: Optional[int] = None,
version: Optional[str] = None,
storage_space: Optional[int] = None,
auto_scale_queue: Optional[bool] = None,
project_name: Optional[str] = None,
product_info: Optional[InstanceProductInfoArgs] = None,
instance_name: Optional[str] = None,
ssl_mode: Optional[str] = None,
ip_version_type: Optional[str] = None,
allow_list_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
instance_description: Optional[str] = None,
enable_ssl: Optional[bool] = None,
eip_id: Optional[str] = None)func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: volcenginecc:rocketmq:Instance
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 InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Instance 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 Instance resource accepts the following input properties:
- Charge
Detail Volcengine.Instance Charge Detail - Billing method and related billing information for the instance.
- Compute
Spec string - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- File
Reserved intTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- Network
Types string - Instance network type, fixed as PrivateNetwork.
- Storage
Space int - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- Subnet
Id string - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- Version string
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- Vpc
Id string - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- Zone
Id string - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- Allow
List List<string>Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- Auto
Scale boolQueue - Whether to automatically create queues when the instance specification changes.
- Eip
Id string - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- Enable
Ssl bool - Whether to use SSL encryption.
- Instance
Description string - Brief description of the instance. Length range: 1–128 characters.
- Instance
Name string - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- Ip
Version stringType - IP version. Options are IPv4 or DualStack.
- Product
Info Volcengine.Instance Product Info - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- Project
Name string - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- Ssl
Mode string - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
-
List<Volcengine.
Instance Tag>
- Charge
Detail InstanceCharge Detail Args - Billing method and related billing information for the instance.
- Compute
Spec string - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- File
Reserved intTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- Network
Types string - Instance network type, fixed as PrivateNetwork.
- Storage
Space int - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- Subnet
Id string - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- Version string
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- Vpc
Id string - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- Zone
Id string - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- Allow
List []stringIds - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- Auto
Scale boolQueue - Whether to automatically create queues when the instance specification changes.
- Eip
Id string - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- Enable
Ssl bool - Whether to use SSL encryption.
- Instance
Description string - Brief description of the instance. Length range: 1–128 characters.
- Instance
Name string - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- Ip
Version stringType - IP version. Options are IPv4 or DualStack.
- Product
Info InstanceProduct Info Args - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- Project
Name string - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- Ssl
Mode string - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
-
[]Instance
Tag Args
- charge
Detail InstanceCharge Detail - Billing method and related billing information for the instance.
- compute
Spec String - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- file
Reserved IntegerTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- network
Types String - Instance network type, fixed as PrivateNetwork.
- storage
Space Integer - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet
Id String - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- version String
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc
Id String - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone
Id String - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- allow
List List<String>Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- auto
Scale BooleanQueue - Whether to automatically create queues when the instance specification changes.
- eip
Id String - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable
Ssl Boolean - Whether to use SSL encryption.
- instance
Description String - Brief description of the instance. Length range: 1–128 characters.
- instance
Name String - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- ip
Version StringType - IP version. Options are IPv4 or DualStack.
- product
Info InstanceProduct Info - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project
Name String - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- ssl
Mode String - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
-
List<Instance
Tag>
- charge
Detail InstanceCharge Detail - Billing method and related billing information for the instance.
- compute
Spec string - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- file
Reserved numberTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- network
Types string - Instance network type, fixed as PrivateNetwork.
- storage
Space number - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet
Id string - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- version string
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc
Id string - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone
Id string - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- allow
List string[]Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- auto
Scale booleanQueue - Whether to automatically create queues when the instance specification changes.
- eip
Id string - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable
Ssl boolean - Whether to use SSL encryption.
- instance
Description string - Brief description of the instance. Length range: 1–128 characters.
- instance
Name string - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- ip
Version stringType - IP version. Options are IPv4 or DualStack.
- product
Info InstanceProduct Info - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project
Name string - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- ssl
Mode string - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
-
Instance
Tag[]
- charge_
detail InstanceCharge Detail Args - Billing method and related billing information for the instance.
- compute_
spec str - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- file_
reserved_ inttime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- network_
types str - Instance network type, fixed as PrivateNetwork.
- storage_
space int - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet_
id str - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- version str
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc_
id str - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone_
id str - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- allow_
list_ Sequence[str]ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- auto_
scale_ boolqueue - Whether to automatically create queues when the instance specification changes.
- eip_
id str - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable_
ssl bool - Whether to use SSL encryption.
- instance_
description str - Brief description of the instance. Length range: 1–128 characters.
- instance_
name str - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- ip_
version_ strtype - IP version. Options are IPv4 or DualStack.
- product_
info InstanceProduct Info Args - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project_
name str - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- ssl_
mode str - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
-
Sequence[Instance
Tag Args]
- charge
Detail Property Map - Billing method and related billing information for the instance.
- compute
Spec String - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- file
Reserved NumberTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- network
Types String - Instance network type, fixed as PrivateNetwork.
- storage
Space Number - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet
Id String - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- version String
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc
Id String - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone
Id String - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- allow
List List<String>Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- auto
Scale BooleanQueue - Whether to automatically create queues when the instance specification changes.
- eip
Id String - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable
Ssl Boolean - Whether to use SSL encryption.
- instance
Description String - Brief description of the instance. Length range: 1–128 characters.
- instance
Name String - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- ip
Version StringType - IP version. Options are IPv4 or DualStack.
- product
Info Property Map - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project
Name String - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- ssl
Mode String - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Account
Id string - Account ID to which the instance belongs.
- Apply
Private boolDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- Available
Queue intNumber - Remaining number of partitions that can be created.
- Connection
Infos List<Volcengine.Instance Connection Info> - Create
Time string - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status.
- Region
Id string - Region ID where the instance is located.
- Used
Group intNumber - Number of consumer groups (Group) currently created for the instance.
- Used
Queue intNumber - Number of queues already used by the instance.
- Used
Storage intSpace - Used storage space for the instance, in GiB.
- Used
Topic intNumber - Number of topics created in the current instance.
- Account
Id string - Account ID to which the instance belongs.
- Apply
Private boolDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- Available
Queue intNumber - Remaining number of partitions that can be created.
- Connection
Infos []InstanceConnection Info - Create
Time string - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance ID.
- Instance
Status string - Instance status.
- Region
Id string - Region ID where the instance is located.
- Used
Group intNumber - Number of consumer groups (Group) currently created for the instance.
- Used
Queue intNumber - Number of queues already used by the instance.
- Used
Storage intSpace - Used storage space for the instance, in GiB.
- Used
Topic intNumber - Number of topics created in the current instance.
- account
Id String - Account ID to which the instance belongs.
- apply
Private BooleanDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- available
Queue IntegerNumber - Remaining number of partitions that can be created.
- connection
Infos List<InstanceConnection Info> - create
Time String - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status.
- region
Id String - Region ID where the instance is located.
- used
Group IntegerNumber - Number of consumer groups (Group) currently created for the instance.
- used
Queue IntegerNumber - Number of queues already used by the instance.
- used
Storage IntegerSpace - Used storage space for the instance, in GiB.
- used
Topic IntegerNumber - Number of topics created in the current instance.
- account
Id string - Account ID to which the instance belongs.
- apply
Private booleanDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- available
Queue numberNumber - Remaining number of partitions that can be created.
- connection
Infos InstanceConnection Info[] - create
Time string - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - Instance ID.
- instance
Status string - Instance status.
- region
Id string - Region ID where the instance is located.
- used
Group numberNumber - Number of consumer groups (Group) currently created for the instance.
- used
Queue numberNumber - Number of queues already used by the instance.
- used
Storage numberSpace - Used storage space for the instance, in GiB.
- used
Topic numberNumber - Number of topics created in the current instance.
- account_
id str - Account ID to which the instance belongs.
- apply_
private_ booldns_ to_ public - Whether private network domain name supports public resolution. true: enabled false: disabled
- available_
queue_ intnumber - Remaining number of partitions that can be created.
- connection_
infos Sequence[InstanceConnection Info] - create_
time str - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - Instance ID.
- instance_
status str - Instance status.
- region_
id str - Region ID where the instance is located.
- used_
group_ intnumber - Number of consumer groups (Group) currently created for the instance.
- used_
queue_ intnumber - Number of queues already used by the instance.
- used_
storage_ intspace - Used storage space for the instance, in GiB.
- used_
topic_ intnumber - Number of topics created in the current instance.
- account
Id String - Account ID to which the instance belongs.
- apply
Private BooleanDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- available
Queue NumberNumber - Remaining number of partitions that can be created.
- connection
Infos List<Property Map> - create
Time String - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance ID.
- instance
Status String - Instance status.
- region
Id String - Region ID where the instance is located.
- used
Group NumberNumber - Number of consumer groups (Group) currently created for the instance.
- used
Queue NumberNumber - Number of queues already used by the instance.
- used
Storage NumberSpace - Used storage space for the instance, in GiB.
- used
Topic NumberNumber - Number of topics created in the current instance.
Look up Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
allow_list_ids: Optional[Sequence[str]] = None,
apply_private_dns_to_public: Optional[bool] = None,
auto_scale_queue: Optional[bool] = None,
available_queue_number: Optional[int] = None,
charge_detail: Optional[InstanceChargeDetailArgs] = None,
compute_spec: Optional[str] = None,
connection_infos: Optional[Sequence[InstanceConnectionInfoArgs]] = None,
create_time: Optional[str] = None,
eip_id: Optional[str] = None,
enable_ssl: Optional[bool] = None,
file_reserved_time: Optional[int] = None,
instance_description: Optional[str] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
instance_status: Optional[str] = None,
ip_version_type: Optional[str] = None,
network_types: Optional[str] = None,
product_info: Optional[InstanceProductInfoArgs] = None,
project_name: Optional[str] = None,
region_id: Optional[str] = None,
ssl_mode: Optional[str] = None,
storage_space: Optional[int] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[InstanceTagArgs]] = None,
used_group_number: Optional[int] = None,
used_queue_number: Optional[int] = None,
used_storage_space: Optional[int] = None,
used_topic_number: Optional[int] = None,
version: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_id: Optional[str] = None) -> Instancefunc GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)resources: _: type: volcenginecc:rocketmq:Instance 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.
- Account
Id string - Account ID to which the instance belongs.
- Allow
List List<string>Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- Apply
Private boolDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- Auto
Scale boolQueue - Whether to automatically create queues when the instance specification changes.
- Available
Queue intNumber - Remaining number of partitions that can be created.
- Charge
Detail Volcengine.Instance Charge Detail - Billing method and related billing information for the instance.
- Compute
Spec string - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- Connection
Infos List<Volcengine.Instance Connection Info> - Create
Time string - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Eip
Id string - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- Enable
Ssl bool - Whether to use SSL encryption.
- File
Reserved intTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- Instance
Description string - Brief description of the instance. Length range: 1–128 characters.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- Instance
Status string - Instance status.
- Ip
Version stringType - IP version. Options are IPv4 or DualStack.
- Network
Types string - Instance network type, fixed as PrivateNetwork.
- Product
Info Volcengine.Instance Product Info - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- Project
Name string - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- Region
Id string - Region ID where the instance is located.
- Ssl
Mode string - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
- Storage
Space int - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- Subnet
Id string - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
-
List<Volcengine.
Instance Tag> - Used
Group intNumber - Number of consumer groups (Group) currently created for the instance.
- Used
Queue intNumber - Number of queues already used by the instance.
- Used
Storage intSpace - Used storage space for the instance, in GiB.
- Used
Topic intNumber - Number of topics created in the current instance.
- Version string
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- Vpc
Id string - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- Zone
Id string - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- Account
Id string - Account ID to which the instance belongs.
- Allow
List []stringIds - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- Apply
Private boolDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- Auto
Scale boolQueue - Whether to automatically create queues when the instance specification changes.
- Available
Queue intNumber - Remaining number of partitions that can be created.
- Charge
Detail InstanceCharge Detail Args - Billing method and related billing information for the instance.
- Compute
Spec string - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- Connection
Infos []InstanceConnection Info Args - Create
Time string - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Eip
Id string - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- Enable
Ssl bool - Whether to use SSL encryption.
- File
Reserved intTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- Instance
Description string - Brief description of the instance. Length range: 1–128 characters.
- Instance
Id string - Instance ID.
- Instance
Name string - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- Instance
Status string - Instance status.
- Ip
Version stringType - IP version. Options are IPv4 or DualStack.
- Network
Types string - Instance network type, fixed as PrivateNetwork.
- Product
Info InstanceProduct Info Args - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- Project
Name string - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- Region
Id string - Region ID where the instance is located.
- Ssl
Mode string - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
- Storage
Space int - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- Subnet
Id string - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
-
[]Instance
Tag Args - Used
Group intNumber - Number of consumer groups (Group) currently created for the instance.
- Used
Queue intNumber - Number of queues already used by the instance.
- Used
Storage intSpace - Used storage space for the instance, in GiB.
- Used
Topic intNumber - Number of topics created in the current instance.
- Version string
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- Vpc
Id string - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- Zone
Id string - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- account
Id String - Account ID to which the instance belongs.
- allow
List List<String>Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- apply
Private BooleanDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- auto
Scale BooleanQueue - Whether to automatically create queues when the instance specification changes.
- available
Queue IntegerNumber - Remaining number of partitions that can be created.
- charge
Detail InstanceCharge Detail - Billing method and related billing information for the instance.
- compute
Spec String - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- connection
Infos List<InstanceConnection Info> - create
Time String - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- eip
Id String - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable
Ssl Boolean - Whether to use SSL encryption.
- file
Reserved IntegerTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- instance
Description String - Brief description of the instance. Length range: 1–128 characters.
- instance
Id String - Instance ID.
- instance
Name String - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- instance
Status String - Instance status.
- ip
Version StringType - IP version. Options are IPv4 or DualStack.
- network
Types String - Instance network type, fixed as PrivateNetwork.
- product
Info InstanceProduct Info - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project
Name String - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- region
Id String - Region ID where the instance is located.
- ssl
Mode String - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
- storage
Space Integer - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet
Id String - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
-
List<Instance
Tag> - used
Group IntegerNumber - Number of consumer groups (Group) currently created for the instance.
- used
Queue IntegerNumber - Number of queues already used by the instance.
- used
Storage IntegerSpace - Used storage space for the instance, in GiB.
- used
Topic IntegerNumber - Number of topics created in the current instance.
- version String
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc
Id String - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone
Id String - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- account
Id string - Account ID to which the instance belongs.
- allow
List string[]Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- apply
Private booleanDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- auto
Scale booleanQueue - Whether to automatically create queues when the instance specification changes.
- available
Queue numberNumber - Remaining number of partitions that can be created.
- charge
Detail InstanceCharge Detail - Billing method and related billing information for the instance.
- compute
Spec string - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- connection
Infos InstanceConnection Info[] - create
Time string - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- eip
Id string - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable
Ssl boolean - Whether to use SSL encryption.
- file
Reserved numberTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- instance
Description string - Brief description of the instance. Length range: 1–128 characters.
- instance
Id string - Instance ID.
- instance
Name string - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- instance
Status string - Instance status.
- ip
Version stringType - IP version. Options are IPv4 or DualStack.
- network
Types string - Instance network type, fixed as PrivateNetwork.
- product
Info InstanceProduct Info - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project
Name string - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- region
Id string - Region ID where the instance is located.
- ssl
Mode string - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
- storage
Space number - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet
Id string - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
-
Instance
Tag[] - used
Group numberNumber - Number of consumer groups (Group) currently created for the instance.
- used
Queue numberNumber - Number of queues already used by the instance.
- used
Storage numberSpace - Used storage space for the instance, in GiB.
- used
Topic numberNumber - Number of topics created in the current instance.
- version string
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc
Id string - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone
Id string - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- account_
id str - Account ID to which the instance belongs.
- allow_
list_ Sequence[str]ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- apply_
private_ booldns_ to_ public - Whether private network domain name supports public resolution. true: enabled false: disabled
- auto_
scale_ boolqueue - Whether to automatically create queues when the instance specification changes.
- available_
queue_ intnumber - Remaining number of partitions that can be created.
- charge_
detail InstanceCharge Detail Args - Billing method and related billing information for the instance.
- compute_
spec str - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- connection_
infos Sequence[InstanceConnection Info Args] - create_
time str - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- eip_
id str - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable_
ssl bool - Whether to use SSL encryption.
- file_
reserved_ inttime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- instance_
description str - Brief description of the instance. Length range: 1–128 characters.
- instance_
id str - Instance ID.
- instance_
name str - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- instance_
status str - Instance status.
- ip_
version_ strtype - IP version. Options are IPv4 or DualStack.
- network_
types str - Instance network type, fixed as PrivateNetwork.
- product_
info InstanceProduct Info Args - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project_
name str - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- region_
id str - Region ID where the instance is located.
- ssl_
mode str - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
- storage_
space int - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet_
id str - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
-
Sequence[Instance
Tag Args] - used_
group_ intnumber - Number of consumer groups (Group) currently created for the instance.
- used_
queue_ intnumber - Number of queues already used by the instance.
- used_
storage_ intspace - Used storage space for the instance, in GiB.
- used_
topic_ intnumber - Number of topics created in the current instance.
- version str
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc_
id str - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone_
id str - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
- account
Id String - Account ID to which the instance belongs.
- allow
List List<String>Ids - List of allowlist IDs bound to the instance. After binding an allowlist, only IP addresses and address ranges configured in the allowlist can access this instance. If no allowlist is bound to the instance, all IP addresses are denied access to the instance.
- apply
Private BooleanDns To Public - Whether private network domain name supports public resolution. true: enabled false: disabled
- auto
Scale BooleanQueue - Whether to automatically create queues when the instance specification changes.
- available
Queue NumberNumber - Remaining number of partitions that can be created.
- charge
Detail Property Map - Billing method and related billing information for the instance.
- compute
Spec String - Instance compute specification. You can view the currently available compute specifications in the product specifications list.
- connection
Infos List<Property Map> - create
Time String - Instance creation time. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- eip
Id String - EIP ID. Specifying EipId enables public access for the instance. EIP provides independent public IP resources, including public IP addresses and outbound bandwidth services. After enabling public access by specifying this parameter, the public address will be bound to your Elastic IP (EIP), and fees will be charged for the EIP resource.
- enable
Ssl Boolean - Whether to use SSL encryption.
- file
Reserved NumberTime - Message retention period on the RocketMQ Message Queue server. Messages exceeding the retention period will be expired and cleaned up. Unit: hours. Value range: 1–72 hours.
- instance
Description String - Brief description of the instance. Length range: 1–128 characters.
- instance
Id String - Instance ID.
- instance
Name String - Instance name. Must meet the following requirements: can only contain Chinese characters, letters, numbers, underscores (_), and hyphens (-); cannot start with a number or hyphen (-); length must be 1–128 characters. If no name is specified when creating the instance, the instance ID will be used as the default name.
- instance
Status String - Instance status.
- ip
Version StringType - IP version. Options are IPv4 or DualStack.
- network
Types String - Instance network type, fixed as PrivateNetwork.
- product
Info Property Map - Product configuration information. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- project
Name String - The IAM project to which the newly created instance belongs. If not set, the new instance will be bound to the IAM project named 'default'.
- region
Id String - Region ID where the instance is located.
- ssl
Mode String - The instance's public network connection policy only needs to be set when public access is enabled. Supported settings are: enforcing: When accessing the instance via the public network, SSL authentication is required. SSL authentication enables encrypted data transmission, offering higher security compared to standard public access, but may reduce performance. permissive: When accessing the instance via the public network, SSL authentication is optional. After the instance is created and public access is enabled, the SSL connection policy cannot be modified. To change it, you must disable and re-enable public access for the instance, and set the SSL connection policy again when re-enabling. For details, see Setting Public Access and SSL Authentication Policy.
- storage
Space Number - Instance storage space, measured in GiB and must be specified in multiples of 100. The value range depends on the currently selected compute specification.
- subnet
Id String - VPC subnet ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- List<Property Map>
- used
Group NumberNumber - Number of consumer groups (Group) currently created for the instance.
- used
Queue NumberNumber - Number of queues already used by the instance.
- used
Storage NumberSpace - Used storage space for the instance, in GiB.
- used
Topic NumberNumber - Number of topics created in the current instance.
- version String
- Supported RocketMQ versions. Currently supported versions include: 4.8: compatible with RocketMQ 4.x series. 5.x: compatible with RocketMQ 5.x series. The 5.x version is currently available by whitelist application. To use it, contact technical support to apply for access.
- vpc
Id String - VPC ID where the instance resides. After the instance is created, the associated VPC and subnet cannot be modified. Please operate carefully when creating the instance. You can call the DescribeVpcs API of the VPC to query the available VPC and subnet list.
- zone
Id String - Availability zone ID where the instance is located. RocketMQ Message Queue instances support cross-AZ deployment. When viewing available compute specifications in a specified availability zone, you can specify multiple zones. Separate multiple availability zone IDs with commas (,). You can call DescribeAvailabilityZones to query the list of currently available zones.
Supporting Types
InstanceChargeDetail, InstanceChargeDetailArgs
- Auto
Renew bool - Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
- Charge
Expire stringTime - Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
- Charge
Start stringTime - Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Charge
Status string - Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
- Charge
Type string - Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
- Overdue
Reclaim stringTime - Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Overdue
Time string - Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Period int
- Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
- Period
Unit string - Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
- Auto
Renew bool - Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
- Charge
Expire stringTime - Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
- Charge
Start stringTime - Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Charge
Status string - Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
- Charge
Type string - Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
- Overdue
Reclaim stringTime - Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Overdue
Time string - Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- Period int
- Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
- Period
Unit string - Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
- auto
Renew Boolean - Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
- charge
Expire StringTime - Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
- charge
Start StringTime - Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- charge
Status String - Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
- charge
Type String - Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
- overdue
Reclaim StringTime - Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- overdue
Time String - Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- period Integer
- Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
- period
Unit String - Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
- auto
Renew boolean - Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
- charge
Expire stringTime - Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
- charge
Start stringTime - Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- charge
Status string - Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
- charge
Type string - Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
- overdue
Reclaim stringTime - Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- overdue
Time string - Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- period number
- Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
- period
Unit string - Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
- auto_
renew bool - Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
- charge_
expire_ strtime - Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
- charge_
start_ strtime - Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- charge_
status str - Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
- charge_
type str - Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
- overdue_
reclaim_ strtime - Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- overdue_
time str - Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- period int
- Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
- period_
unit str - Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
- auto
Renew Boolean - Whether the subscription instance is automatically renewed upon expiration. true: automatically renewed. false: not automatically renewed. Manual renewal is required after expiration; otherwise, the instance will be shut down.
- charge
Expire StringTime - Expiration time for yearly/monthly subscription instances. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'. For pay-as-you-go instances, this field defaults to 1970-01-01T00:00:00Z.
- charge
Start StringTime - Billing start time for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- charge
Status String - Instance billing status. Includes: Normal: normal Overdue: pay-as-you-go overdue Expired: subscription expired
- charge
Type String - Billing type for the instance. Supported types include: PostPaid: pay-as-you-go; PrePaid: yearly/monthly subscription
- overdue
Reclaim StringTime - Estimated release time after the instance is suspended due to overdue payment. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- overdue
Time String - Suspension time due to overdue payment for the instance. The time format is YYYY-MM-DD'T'HH:MM:SS'Z'.
- period Number
- Purchase duration for subscription instances. When PeriodUnit is set to Monthly, the value range is 1–9. When PeriodUnit is set to Yearly, the value range is 1–3. Only required for subscription instances, that is, when ChargeType is set to PrePaid.
- period
Unit String - Lifecycle unit for subscription-based instances, specifying whether to purchase by month or by year. Monthly: (default) monthly subscription Yearly: annual subscription
InstanceConnectionInfo, InstanceConnectionInfoArgs
- Endpoint
Address stringIp - Instance endpoint IP address.
- Endpoint
Type string - Instance access point type.
- Internal
Endpoint string - Private network endpoint address for the instance.
- Network
Type string - Instance access point type.
- Public
Endpoint string - Public access point address of the instance.
- Endpoint
Address stringIp - Instance endpoint IP address.
- Endpoint
Type string - Instance access point type.
- Internal
Endpoint string - Private network endpoint address for the instance.
- Network
Type string - Instance access point type.
- Public
Endpoint string - Public access point address of the instance.
- endpoint
Address StringIp - Instance endpoint IP address.
- endpoint
Type String - Instance access point type.
- internal
Endpoint String - Private network endpoint address for the instance.
- network
Type String - Instance access point type.
- public
Endpoint String - Public access point address of the instance.
- endpoint
Address stringIp - Instance endpoint IP address.
- endpoint
Type string - Instance access point type.
- internal
Endpoint string - Private network endpoint address for the instance.
- network
Type string - Instance access point type.
- public
Endpoint string - Public access point address of the instance.
- endpoint_
address_ strip - Instance endpoint IP address.
- endpoint_
type str - Instance access point type.
- internal_
endpoint str - Private network endpoint address for the instance.
- network_
type str - Instance access point type.
- public_
endpoint str - Public access point address of the instance.
- endpoint
Address StringIp - Instance endpoint IP address.
- endpoint
Type String - Instance access point type.
- internal
Endpoint String - Private network endpoint address for the instance.
- network
Type String - Instance access point type.
- public
Endpoint String - Public access point address of the instance.
InstanceProductInfo, InstanceProductInfoArgs
- Send
Receive intRatio - Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- Send
Receive intRatio - Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- send
Receive IntegerRatio - Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- send
Receive numberRatio - Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- send_
receive_ intratio - Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
- send
Receive NumberRatio - Edit the read/write throttling ratio. The default read/write ratio is 50% each. For example, if set to 40, the sending TPS ratio is 40% and the subscription ratio is 60%. Note: Only RocketMQ 5.x instances support adjusting the TPS ratio for the instance.
InstanceTag, InstanceTagArgs
Import
$ pulumi import volcenginecc:rocketmq/instance:Instance example "instance_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
