Updated on 2022-08-15 GMT+08:00

Querying Product Specifications

Function

This API is used to query the product ID (parameter product_id) which indicates the specifications of the service you purchased.

URI

GET /v1.0/products?engine={engine}

Table 1 describes the parameter.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

engine

String

No

Indicates the message engine.

Request

Request parameters

None.

Example Request

None.

Response

Response parameters

Table 2 describes the response parameters.

Table 2 Parameter description

Parameter

Type

Description

name

String

Indicates the name of a message engine.

version

String

Indicates the version of the message engine.

values

Array

Indicates product specifications.

Table 3 values parameter description

Parameter

Type

Description

detail

Array

Indicates the details of specifications.

name

String

Indicates an instance type, which can be single-node or cluster.

Table 4 detail parameter description of single-node RabbitMQ instances

Parameter

Type

Description

storage

String

Indicates the message storage space.

io

Array

Indicates the I/O information.

vm_specification

String

Indicates VM specifications.

product_id

String

Indicates the product ID.

spec_code

String

Indicates the specification ID.

Table 5 detail parameter description of cluster RabbitMQ instances

Parameter

Type

Description

vm_specification

String

Indicates VM specifications.

product_info

Array

Indicates the product information.

Table 6 product_info parameter description

Parameter

Type

Description

storage

String

Indicates the message storage space.

io

Array

Indicates the I/O information.

node_num

Integer

Indicates the number of nodes in a cluster.

product_id

String

Indicates the product ID.

spec_code

String

Indicates the specification ID.

Table 7 io parameter description

Parameter

Type

Description

io_type

String

Indicates the I/O type.

storage_spec_code

String

Indicates the I/O specification.

Example response

List of RabbitMQ instance specifications:

{
  "Hourly": [
    {
      "name": "RabbitMQ",
      "version": "3.7.17",
      "values": [
        {
          "detail": [
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "2vCPUs 4GB",
              "product_id": "00300-30109-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.2u4g"
            },
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "4vCPUs 8GB",
              "product_id": "00300-30111-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.4u8g"
            },
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "8vCPUs 16GB",
              "product_id": "00300-30113-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.8u16g"
            },
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "16vCPUs 32GB",
              "product_id": "00300-30115-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.16u32g"
            }
          ],
          "name": "single"
        },
        {
          "detail": [
            {
              "vm_specification": "4vCPUs 8GB",
              "product_info": [
                {
                  "storage": "300",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "3",
                  "product_id": "00300-30209-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.4u8g.3"
                },
                {
                  "storage": "500",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "5",
                  "product_id": "00300-30211-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.4u8g.5"
                },
                {
                  "storage": "700",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "7",
                  "product_id": "00300-30213-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.4u8g.7"
                }
              ]
            },
            {
              "vm_specification": "8vCPUs 16GB",
              "product_info": [
                {
                  "storage": "300",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "3",
                  "product_id": "00300-30215-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.8u16g.3"
                },
                {
                  "storage": "500",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "5",
                  "product_id": "00300-30217-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.8u16g.5"
                },
                {
                  "storage": "700",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "7",
                  "product_id": "00300-30219-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.8u16g.7"
                }
              ]
            },
            {
              "vm_specification": "16vCPUs 32GB",
              "product_info": [
                {
                  "storage": "300",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "3",
                  "product_id": "00300-30221-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.16u32g.3"
                },
                {
                  "storage": "500",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "5",
                  "product_id": "00300-30223-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.16u32g.5"
                },
                {
                  "storage": "700",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "7",
                  "product_id": "00300-30225-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.16u32g.7"
                }
              ]
            }
          ],
          "name": "cluster"
        }
      ]
    }
  ],
  "Monthly": [
    {
      "name": "RabbitMQ",
      "version": "3.7.17",
      "values": [
        {
          "detail": [
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "2vCPUs 4GB",
              "product_id": "00300-30110-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.2u4g"
            },
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "4vCPUs 8GB",
              "product_id": "00300-30112-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.4u8g"
            },
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "8vCPUs 16GB",
              "product_id": "00300-30114-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.8u16g"
            },
            {
              "storage": "100",
              "io": [
                {
                  "io_type": "normal",
                  "storage_spec_code": "dms.physical.storage.normal"
                },
                {
                  "io_type": "high",
                  "storage_spec_code": "dms.physical.storage.high"
                },
                {
                  "io_type": "ultra",
                  "storage_spec_code": "dms.physical.storage.ultra"
                }
              ],
              "vm_specification": "16vCPUs 32GB",
              "product_id": "00300-30116-0--0",
              "spec_code": "dms.instance.rabbitmq.single.c3.16u32g"
            }
          ],
          "name": "single"
        },
        {
          "detail": [
            {
              "vm_specification": "4vCPUs 8GB",
              "product_info": [
                {
                  "storage": "300",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "3",
                  "product_id": "00300-30210-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.4u8g.3"
                },
                {
                  "storage": "500",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "5",
                  "product_id": "00300-30212-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.4u8g.5"
                },
                {
                  "storage": "700",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "7",
                  "product_id": "00300-30214-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.4u8g.7"
                }
              ]
            },
            {
              "vm_specification": "8vCPUs 16GB",
              "product_info": [
                {
                  "storage": "300",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "3",
                  "product_id": "00300-30216-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.8u16g.3"
                },
                {
                  "storage": "500",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "5",
                  "product_id": "00300-30218-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.8u16g.5"
                },
                {
                  "storage": "700",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "7",
                  "product_id": "00300-30220-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.8u16g.7"
                }
              ]
            },
            {
              "vm_specification": "16vCPUs 32GB",
              "product_info": [
                {
                  "storage": "300",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "3",
                  "product_id": "00300-30222-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.16u32g.3"
                },
                {
                  "storage": "500",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "5",
                  "product_id": "00300-30224-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.16u32g.5"
                },
                {
                  "storage": "700",
                  "io": [
                    {
                      "io_type": "normal",
                      "storage_spec_code": "dms.physical.storage.normal"
                    },
                    {
                      "io_type": "high",
                      "storage_spec_code": "dms.physical.storage.high"
                    },
                    {
                      "io_type": "ultra",
                      "storage_spec_code": "dms.physical.storage.ultra"
                    }
                  ],
                  "node_num": "7",
                  "product_id": "00300-30226-0--0",
                  "spec_code": "dms.instance.rabbitmq.cluster.c3.16u32g.7"
                }
              ]
            }
          ],
          "name": "cluster"
        }
      ]
    }
  ]
}

Status Code

Table 8 describes the status code of successful operations. For details about other status codes, see Status Code.

Table 8 Status code

Status Code

Description

200

Product specifications queried successfully.