describe_available_classes
Retrieve the purchasable RDS instance class codes and storage space ranges for a given region, zone, engine, and payment type.
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 |
|---|---|---|---|
| region_id | Yes | ||
| zone_id | Yes | ||
| instance_charge_type | Yes | ||
| engine | Yes | ||
| engine_version | Yes | ||
| dbinstance_storage_type | Yes | ||
| category | Yes | ||
| dbinstance_id | No | ||
| order_type | No | ||
| commodity_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |