InstanceInstanceMarketOptionsSpotOptions class
Constructors
-
InstanceInstanceMarketOptionsSpotOptions({Input<String?>? instanceInterruptionBehavior, Input<String?>? maxPrice, Input<String?>? spotInstanceType, Input<String?>? validUntil})
-
Creates a new InstanceInstanceMarketOptionsSpotOptions.
instanceInterruptionBehavior The behavior when a Spot Instance is interrupted. Valid values include hibernate, stop, terminate . The default is terminate.
maxPrice The maximum hourly price that you're willing to pay for a Spot Instance.
spotInstanceType The Spot Instance request type. Valid values include one-time, persistent. Persistent Spot Instance requests are only supported when the instance interruption behavior is either hibernate or stop. The default is one-time.
validUntil The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.
const
-
InstanceInstanceMarketOptionsSpotOptions.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
instanceInterruptionBehavior
→ Input<String?>?
-
The behavior when a Spot Instance is interrupted. Valid values include
hibernate, stop, terminate . The default is terminate.
final
-
maxPrice
→ Input<String?>?
-
The maximum hourly price that you're willing to pay for a Spot Instance.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
spotInstanceType
→ Input<String?>?
-
The Spot Instance request type. Valid values include
one-time, persistent. Persistent Spot Instance requests are only supported when the instance interruption behavior is either hibernate or stop. The default is one-time.
final
-
validUntil
→ Input<String?>?
-
The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.
final