Querying Product Information for Instance Specification Modification
Function
This API is used to query the product information for instance specification modification.
URI
GET /v2/{engine}/{project_id}/instances/{instance_id}/extend
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| engine | Yes | String | Definition Message engine type. rocketmq is available. Constraints N/A Range N/A Default Value N/A |
| project_id | Yes | String | Definition Project ID. For details about how to obtain it, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
| instance_id | Yes | String | Definition Instance ID. You can call the API for querying all instances to obtain the instance ID. The instance ID is in the response body. Constraints N/A Range N/A Default Value N/A |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| type | No | String | Definition Product type. advanced: premium edition. Constraints N/A Range N/A Default Value N/A |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| total | Number | Definition Total number. Constraints N/A Range N/A Default Value N/A |
| next_offset | Integer | Definition Offset of the next page. Constraints N/A Range N/A Default Value N/A |
| previous_offset | Integer | Definition Offset of the previous page. Constraints N/A Range N/A Default Value N/A |
| engine | String | Definition Message engine type. Constraints N/A Range Default Value N/A |
| versions | Array of strings | Definition Versions supported by the message engine. Constraints N/A Range N/A Default Value N/A |
| products | Array of RocketMQExtendProductInfoEntity objects | Definition Product information for specification modification. Constraints N/A Range N/A Default Value N/A |
| Parameter | Type | Description |
|---|---|---|
| type | String | Definition Instance type. Constraints N/A Range Default Value N/A |
| product_id | String | Definition RocketMQ instance flavors. Constraints N/A Range
Default Value N/A |
| ecs_flavor_id | String | Definition ID of an ECS flavor. The specifications list of ECS can be referred. DMS can be adapted with general computing-plus C6 series and later. RocketMQ 5.x CPU/memory ratio is 1:4. Constraints N/A Range N/A Default Value N/A |
| billing_code | String | Definition Billing mode. Constraints N/A Range
Default Value N/A |
| arch_types | Array of strings | Definition Supported CPU architectures. Constraints N/A Range N/A Default Value N/A |
| charging_mode | Array of strings | Definition Supported billing modes. Constraints N/A Range N/A Default Value N/A |
| ios | Array of RocketMQExtendProductIosEntity objects | Definition Disk I/O object information. Constraints N/A Range N/A Default Value N/A |
| properties | Definition Key-value pair of a feature. Constraints N/A Range N/A Default Value N/A | |
| available_zones | Array of strings | Definition AZ list. For RocketMQ 5.x basic edition: Select one AZ for a single-node instance and one or two AZs for a cluster one. Constraints N/A Range N/A Default Value N/A |
| unavailable_zones | Array of strings | Definition Unavailable AZ list. Constraints N/A Range N/A Default Value N/A |
| support_features | Array of RocketMQProductSupportFeaturesEntity objects | Definition Supported feature list. Constraints N/A Range N/A Default Value N/A |
| qingtian_incompatible | Boolean | Definition Whether the instance is a QingTian one. Constraints N/A Range Default Value N/A |
| Parameter | Type | Description |
|---|---|---|
| io_spec | String | Definition Storage I/O flavor. Constraints N/A Range N/A Default Value N/A |
| available_zones | Array of strings | Definition AZ list. For RocketMQ 5.x basic edition: Select one AZ for a single-node instance and one or two AZs for a cluster one. Constraints N/A Range N/A Default Value N/A |
| type | String | Definition I/O type. Constraints N/A Range Default Value N/A |
| unavailable_zones | Array of strings | Definition Unavailable AZ list. Constraints N/A Range N/A Default Value N/A |
| Parameter | Type | Description |
|---|---|---|
| max_broker | String | Definition Maximum number of brokers (displayed only for RocketMQ 4.8.0). Constraints N/A Range N/A Default Value N/A |
| max_topic_per_broker | String | Definition Maximum number of topics that can be created on each node (displayed only for RocketMQ 4.8.0). Constraints N/A Range N/A Default Value N/A |
| max_consumer_per_broker | String | Definition Maximum number of consumers on each node (displayed only for RocketMQ 4.8.0). Constraints N/A Range N/A Default Value N/A |
| min_broker | String | Definition Minimum number of brokers (displayed only for RocketMQ 4.8.0). Constraints N/A Range N/A Default Value N/A |
| engine_versions | String | Definition Message engine version. Constraints N/A Range Default Value N/A |
| max_storage_per_node | String | Definition Maximum storage space of each broker. Unit: GB. Constraints N/A Range N/A Default Value N/A |
| min_storage_per_node | String | Definition Minimum storage per node. Unit: GB. Constraints N/A Range N/A Default Value N/A |
| product_alias | String | Definition Alias of product_id. Constraints N/A Range N/A Default Value N/A |
| feature | String | Definition Feature switch of the specification. (This field is displayed only for RocketMQ 5.x.) Constraints N/A Range N/A Default Value N/A |
| max_topic | String | Definition Maximum number of topics in an instance (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| broker_num | String | Definition Number of brokers (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| core | String | Definition Number of billing cores in an instance (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| max_consumer | String | Definition Maximum number of consumers in an instance (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| rcu | String | Definition Traffic unit, rcu × max_tpc_per_rcu = Maximum flavor TPS (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| max_storage | String | Definition Maximum storage space (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| min_storage | String | Definition Minimum storage space (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| max_tps_per_rcu | String | Definition Maximum TPS per RCU (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
| elastic_tps | String | Definition Elastic TPS (displayed only for RocketMQ 5.x). Constraints N/A Range N/A Default Value N/A |
Example Requests
Querying the product information for instance modification
GET https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/extend Example Responses
Status code: 200
Product information for instance specification modification queried.
{
"total" : 5,
"next_offset" : -1,
"previous_offset" : -1,
"engine" : "rocketmq",
"versions" : [ "4.8.0" ],
"products" : [ {
"type" : "cluster.small",
"product_id" : "c6.4u8g.cluster.small",
"ecs_flavor_id" : "c6.xlarge.2",
"billing_code" : "dms.platinum.c6",
"arch_types" : [ "X86" ],
"charging_mode" : [ "monthly", "hourly" ],
"ios" : [ {
"io_spec" : "dms.physical.storage.high.v2",
"available_zones" : [ "xxx" ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
}, {
"io_spec" : "dms.physical.storage.ultra.v2",
"available_zones" : [ ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
} ],
"support_features" : [ ],
"properties" : {
"max_broker" : "2",
"max_topic_per_broker" : "2000",
"max_storage_per_node" : "30000",
"max_consumer_per_broker" : "2000",
"min_broker" : "1",
"product_alias" : "rocketmq.4u8g.cluster.small",
"engine_versions" : "4.8.0",
"min_storage_per_node" : "300"
},
"available_zones" : [ "xxx" ],
"unavailable_zones" : [ "xxx" ],
"qingtian_incompatible" : false
}, {
"type" : "cluster",
"product_id" : "c6.4u8g.cluster",
"ecs_flavor_id" : "c6.xlarge.2",
"billing_code" : "dms.platinum.c6",
"arch_types" : [ "X86" ],
"charging_mode" : [ "monthly", "hourly" ],
"ios" : [ {
"io_spec" : "dms.physical.storage.ultra.v2",
"available_zones" : [ ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
}, {
"io_spec" : "dms.physical.storage.high.v2",
"available_zones" : [ "xxx" ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
} ],
"support_features" : [ ],
"properties" : {
"max_broker" : "10",
"max_topic_per_broker" : "4000",
"max_storage_per_node" : "60000",
"max_consumer_per_broker" : "4000",
"min_broker" : "1",
"product_alias" : "rocketmq.4u8g.cluster",
"engine_versions" : "4.8.0",
"min_storage_per_node" : "300"
},
"available_zones" : [ "xxx" ],
"unavailable_zones" : [ "xxx" ],
"qingtian_incompatible" : false
}, {
"type" : "cluster",
"product_id" : "c6.8u16g.cluster",
"ecs_flavor_id" : "c6s.2xlarge.2",
"billing_code" : "dms.platinum.c6",
"arch_types" : [ "X86" ],
"charging_mode" : [ "monthly", "hourly" ],
"ios" : [ {
"io_spec" : "dms.physical.storage.high.v2",
"available_zones" : [ "xxx" ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
}, {
"io_spec" : "dms.physical.storage.ultra.v2",
"available_zones" : [ ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
} ],
"support_features" : [ ],
"properties" : {
"max_broker" : "10",
"max_topic_per_broker" : "8000",
"max_storage_per_node" : "90000",
"max_consumer_per_broker" : "8000",
"min_broker" : "1",
"product_alias" : "rocketmq.8u16g.cluster",
"engine_versions" : "4.8.0",
"min_storage_per_node" : "300"
},
"available_zones" : [ "xxx" ],
"unavailable_zones" : [ "xxx" ],
"qingtian_incompatible" : false
}, {
"type" : "cluster",
"product_id" : "c6.12u24g.cluster",
"ecs_flavor_id" : "c6s.3xlarge.2",
"billing_code" : "dms.platinum.c6",
"arch_types" : [ "X86" ],
"charging_mode" : [ "monthly", "hourly" ],
"ios" : [ {
"io_spec" : "dms.physical.storage.ultra.v2",
"available_zones" : [ ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
}, {
"io_spec" : "dms.physical.storage.high.v2",
"available_zones" : [ "xxx" ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
} ],
"support_features" : [ ],
"properties" : {
"max_broker" : "10",
"max_topic_per_broker" : "12000",
"max_storage_per_node" : "90000",
"max_consumer_per_broker" : "12000",
"min_broker" : "1",
"product_alias" : "rocketmq.12u24g.cluster",
"engine_versions" : "4.8.0",
"min_storage_per_node" : "300"
},
"available_zones" : [ "xxx" ],
"unavailable_zones" : [ "xxx" ],
"qingtian_incompatible" : false
}, {
"type" : "cluster",
"product_id" : "c6.16u32g.cluster",
"ecs_flavor_id" : "c6.4xlarge.2",
"billing_code" : "dms.platinum.c6",
"arch_types" : [ "X86" ],
"charging_mode" : [ "monthly", "hourly" ],
"ios" : [ {
"io_spec" : "dms.physical.storage.high.v2",
"available_zones" : [ "xxx" ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
}, {
"io_spec" : "dms.physical.storage.ultra.v2",
"available_zones" : [ ],
"type" : "evs",
"unavailable_zones" : [ "xxx" ]
} ],
"support_features" : [ ],
"properties" : {
"max_broker" : "10",
"max_topic_per_broker" : "16000",
"max_storage_per_node" : "90000",
"max_consumer_per_broker" : "16000",
"min_broker" : "1",
"product_alias" : "rocketmq.16u32g.cluster",
"engine_versions" : "4.8.0",
"min_storage_per_node" : "300"
},
"available_zones" : [ "xxx" ],
"unavailable_zones" : [ "xxx" ],
"qingtian_incompatible" : false
} ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Product information for instance specification modification queried. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.