Skip to main content

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

(empty)

Schema

    spotPricefloat64

    Spot price of a resource for a particular cloud

Loading...