describe_available_classes
Query available RDS instance classes and storage options based on region, zone, engine type, and payment model to make informed purchase decisions for Alibaba Cloud RDS.
Instructions
Query the RDS instance class_code and storage space that can be purchased in the inventory.
Args:
region_id: The region ID of the RDS instance.
zone_id: The zone ID of the RDS instance. Query available zones by `describe_available_zones`.
instance_charge_type: Instance payment type. Values: Prepaid, Postpaid, Serverless.
engine: Database engine type. Values: MySQL, SQLServer, PostgreSQL, MariaDB.
engine_version: Database version.
dbinstance_storage_type: Storage type. Values: local_ssd,general_essd,cloud_essd,cloud_essd2,cloud_essd3
category: Instance category. Values: Basic, HighAvailability, cluster, AlwaysOn, Finance, serverless_basic, serverless_standard, serverless_ha.
dbinstance_id: The ID of the RDS instance.
order_type: Order type. Currently only supports "BUY".
commodity_code: Commodity code for read-only instances.
Returns:
Dict[str, Any]: The response containing available instance classes and storage ranges.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
category | Yes | ||
commodity_code | No | ||
dbinstance_id | No | ||
dbinstance_storage_type | Yes | ||
engine | Yes | ||
engine_version | Yes | ||
instance_charge_type | Yes | ||
order_type | No | ||
region_id | Yes | ||
zone_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"category": {
"title": "Category",
"type": "string"
},
"commodity_code": {
"default": null,
"title": "Commodity Code",
"type": "string"
},
"dbinstance_id": {
"default": null,
"title": "Dbinstance Id",
"type": "string"
},
"dbinstance_storage_type": {
"title": "Dbinstance Storage Type",
"type": "string"
},
"engine": {
"title": "Engine",
"type": "string"
},
"engine_version": {
"title": "Engine Version",
"type": "string"
},
"instance_charge_type": {
"title": "Instance Charge Type",
"type": "string"
},
"order_type": {
"default": null,
"title": "Order Type",
"type": "string"
},
"region_id": {
"title": "Region Id",
"type": "string"
},
"zone_id": {
"title": "Zone Id",
"type": "string"
}
},
"required": [
"region_id",
"zone_id",
"instance_charge_type",
"engine",
"engine_version",
"dbinstance_storage_type",
"category"
],
"title": "describe_available_classesArguments",
"type": "object"
}