Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.88 KB

File metadata and controls

51 lines (28 loc) · 1.88 KB

SpotConfiguration

Properties

Name Type Description Notes
Strategy string Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances). [default to "spot-only"]

Methods

NewSpotConfiguration

func NewSpotConfiguration(strategy string, ) *SpotConfiguration

NewSpotConfiguration instantiates a new SpotConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewSpotConfigurationWithDefaults

func NewSpotConfigurationWithDefaults() *SpotConfiguration

NewSpotConfigurationWithDefaults instantiates a new SpotConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetStrategy

func (o *SpotConfiguration) GetStrategy() string

GetStrategy returns the Strategy field if non-nil, zero value otherwise.

GetStrategyOk

func (o *SpotConfiguration) GetStrategyOk() (*string, bool)

GetStrategyOk returns a tuple with the Strategy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStrategy

func (o *SpotConfiguration) SetStrategy(v string)

SetStrategy sets Strategy field to given value.

[Back to Model list] [Back to API list] [Back to README]