GetCapacityReservationResult

data class GetCapacityReservationResult(val availableInstanceCount: Int? = null, val endDate: String? = null, val endDateType: String? = null, val id: String? = null, val instanceCount: Int? = null, val instanceMatchCriteria: String? = null, val totalInstanceCount: Int? = null)

Constructors

Link copied to clipboard
constructor(availableInstanceCount: Int? = null, endDate: String? = null, endDateType: String? = null, id: String? = null, instanceCount: Int? = null, instanceMatchCriteria: String? = null, totalInstanceCount: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the remaining capacity, which indicates the number of instances that can be launched in the Capacity Reservation. For example: 9 .

Link copied to clipboard
val endDate: String? = null

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time. You must provide an EndDate value if EndDateType is limited . Omit EndDate if EndDateType is unlimited . If the EndDateType is limited , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

Link copied to clipboard
val endDateType: String? = null

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

Link copied to clipboard
val id: String? = null

The ID of the Capacity Reservation.

Link copied to clipboard
val instanceCount: Int? = null

The number of instances for which to reserve capacity. Valid range: 1 - 1000

Link copied to clipboard

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

Link copied to clipboard
val totalInstanceCount: Int? = null

Returns the total number of instances for which the Capacity Reservation reserves capacity. For example: 15 .