Get Database Prices
GET/database/:vendor/:database/prices
Query the current prices of a single database by its vendor id and database id.
Request
vendor (path parameter, required): A Vendor's ID. database (path parameter, required): A Database's ID or API reference. countries (query parameter): Filter for regions in the provided list of countries. Values: AE, AT, AU, BE, BH, BR, CA, CH, CL, CN, CO, DE, DK, ES, FI, FR, GB, HK, ID, IE and 21 more. vendor_regions (query parameter): Identifier of the vendor and region, separated by a tilde. Values: alicloud~ap-northeast-1, alicloud~ap-northeast-2, alicloud~ap-southeast-1, alicloud~ap-southeast-3, alicloud~ap-southeast-5, alicloud~ap-southeast-6, alicloud~ap-southeast-7, alicloud~ap-southeast-8, alicloud~cn-beijing, alicloud~cn-chengdu, alicloud~cn-fuzhou, alicloud~cn-guangzhou, alicloud~cn-hangzhou, alicloud~cn-heyuan, alicloud~cn-hongkong, alicloud~cn-huhehaote, alicloud~cn-nanjing, alicloud~cn-qingdao, alicloud~cn-shanghai, alicloud~cn-shenzhen and 235 more. currency (query parameter): Currency used for prices.
Responses
- 200
- 422
Successful Response
Validation Error
200: Successful Response. vendor_id: Reference to the Vendor. region_id: Reference to the Region. database_id: Reference to the Database. allocation: Allocation method, e.g. on-demand or spot. Values: ondemand (On-demand server), reserved (Reserved server), spot (Spot/preemptible server). ha: HA level this price applies to. Values: none (No high availability), single-zone (Single-zone high availability, meaning multiple databases in the same zone with failover or multi-master), multi-zone (Multi-zone high availability, meaning multiple databases in multiple zones of the same region with failover or multi-master), multi-region (Multi-region high availability, meaning multiple databases in multiple regions with failover or multi-master). ha_strategy: HA strategy this price applies to. Values: none (No high availability strategy), passive-standby (Passive standby for failover, e.g. standard RDS Multi-AZ with block storage replication), readable-cluster (Readable cluster for read scaling and failover, e.g. RDS Multi-AZ Cluster / Aurora with engine replication), multi-master (True multi-master, e.g. CockroachDB / Spanner / DynamoDB Global Tables). unit: Billing unit of the pricing model. Values: year (Price per year), month (Price per month), hour (Price per hour), GiB (Price per gibibyte (GiB)), GB (Price per gigabyte (GB)), GB/month (Price per gigabyte (GB)/month). price: Actual price of a billing unit. price_upfront: Price to be paid when setting up the resource. price_tiered: List of pricing tiers with min/max thresholds and actual prices. lower: Lower. upper: Upper. price: Price. currency: Currency of the prices. status: Status of the resource (active or inactive). Values: active (Currently available), inactive (Currently not available, without a known retirement. May become available again), planned-for-retirement (Retirement was announced by the vendor, but can still be ordered. Only used for servers and databases), retired (Retired by the vendor and cannot be ordered anymore, but prices may still exist (e.g. for active multi-year contracts). Only used for servers and databases), archived (Kept only for historical reference: replaced by another record (e.g. renamed, merged or split) or dropped from the dataset). observed_at: Timestamp of the last observation. 422: Validation Error. detail: Detail. loc: Location. msg: Message. type: Error Type. input: Input. ctx: Context.