Retrieves the cloud instance spot price based on zone and timestamp for a specific cloud
GET/v1/clouds/:cloudType/instance/spotprice
Retrieves the cloud instance spot price based on zone and timestamp for a specific cloud
Request
Path Parameters
cloudType stringrequired
Cloud type [aws/azure/gcp/tencent]
Query Parameters
instanceType stringrequired
Instance type for a specific cloud type
zone stringrequired
Availability zone for a specific cloud type
timestamp date-time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
spotPricefloat64
Spot price of a resource for a particular cloud
{
"spotPrice": 0
}
Loading...