Get Server Prices
GET/server/:vendor/:server/prices
Query the prices of a single server by its vendor id and server id.
Request
vendor (path parameter, required): A Vendor's ID. server (path parameter, required): A Server'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. only_active (query parameter): Filter for active resources only.
Responses
- 200
- 422
Successful Response
Validation Error
200: Successful Response. vendor_id: Reference to the Vendor. region_id: Reference to the Region. zone_id: Reference to the Zone. server_id: Reference to the Server. operating_system: Operating System. allocation: Allocation method, e.g. on-demand or spot. Values: ondemand (On-demand server), reserved (Reserved server), spot (Spot/preemptible server). 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.