GetCapacityReservationsReservation

data class GetCapacityReservationsReservation(val capacityReservationId: String, val capacityReservationName: String, val description: String, val endTime: String, val endTimeType: String, val id: String, val instanceAmount: String, val instanceType: String, val matchCriteria: String, val paymentType: String, val platform: String, val resourceGroupId: String, val startTime: String, val startTimeType: String, val status: String, val tags: Map<String, String>? = null, val timeSlot: String, val zoneIds: List<String>)

Constructors

Link copied to clipboard
constructor(capacityReservationId: String, capacityReservationName: String, description: String, endTime: String, endTimeType: String, id: String, instanceAmount: String, instanceType: String, matchCriteria: String, paymentType: String, platform: String, resourceGroupId: String, startTime: String, startTimeType: String, status: String, tags: Map<String, String>? = null, timeSlot: String, zoneIds: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Capacity Reservation id

Link copied to clipboard

Capacity reservation service name.

Link copied to clipboard

description of the capacity reservation instance

Link copied to clipboard

end time of the capacity reservation. the capacity reservation will be released at the end time automatically if set. otherwise it will last until manually released

Link copied to clipboard

Release mode of capacity reservation service. Value range:Limited: release at specified time. The EndTime parameter must be specified at the same time.Unlimited: manual release. No time limit.

Link copied to clipboard
val id: String

The ID of the Capacity Reservation.

Link copied to clipboard

The total number of instances that need to be reserved within the capacity reservation

Link copied to clipboard

Instance type. Currently, you can only set the capacity reservation service for one instance type.

Link copied to clipboard

The type of private resource pool generated after the capacity reservation service takes effect. Value range:Open: Open mode.Target: dedicated mode.Default value: Open

Link copied to clipboard

The payment type of the resource. value range PostPaid, PrePaid.

Link copied to clipboard

platform of the capacity reservation , value range windows, linux, all.

Link copied to clipboard

The resource group id.

Link copied to clipboard

time of the capacity reservation which become active

Link copied to clipboard

The capacity is scheduled to take effect. Possible values:-Now: Effective immediately.-Later: the specified time takes effect.

Link copied to clipboard

The status of the capacity reservation. value range All, Pending, Preparing, Prepared, Active, Released.

Link copied to clipboard
val tags: Map<String, String>? = null

The tag of the resource.

Link copied to clipboard

This parameter is under test and is not yet open for use.

Link copied to clipboard

The ID of the zone in the region to which the capacity reservation service belongs. Currently, it is only supported to create a capacity reservation service in one zone.