FutureReservationState constructor
- Input<
FutureReservationAggregateReservation?> ? aggregateReservation, - Input<
String?> ? autoCreatedReservationsDeleteTime, - Input<
FutureReservationAutoCreatedReservationsDuration?> ? autoCreatedReservationsDuration, - Input<
bool?> ? autoDeleteAutoCreatedReservations, - Input<
FutureReservationCommitmentInfo?> ? commitmentInfo, - Input<
String?> ? creationTimestamp, - Input<
String?> ? deletionPolicy, - Input<
String?> ? deploymentType, - Input<
String?> ? description, - Input<
String?> ? name, - Input<
String?> ? namePrefix, - Input<
FutureReservationParams?> ? params, - Input<
String?> ? planningStatus, - Input<
String?> ? project, - Input<
String?> ? reservationMode, - Input<
String?> ? reservationName, - Input<
String?> ? schedulingType, - Input<
String?> ? selfLink, - Input<
String?> ? selfLinkWithId, - Input<
bool?> ? specificReservationRequired, - Input<
FutureReservationSpecificSkuProperties?> ? specificSkuProperties, - Input<
List< ? statuses,FutureReservationStatus> ?> - Input<
FutureReservationTimeWindow?> ? timeWindow, - Input<
String?> ? zone,
Creates a new FutureReservationState.
aggregateReservation Aggregate reservation details for the future reservation.
autoCreatedReservationsDeleteTime Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.
autoCreatedReservationsDuration Specifies the duration of auto-created reservations. It represents relative time to future reservation startTime when auto-created reservations will be automatically deleted by Compute Engine. Duration time unit is represented as a count of seconds and fractions of seconds at nanosecond resolution.
autoDeleteAutoCreatedReservations Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the autoCreatedReservationsDeleteTime, autoCreatedReservationsDuration values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.
commitmentInfo If not present, then FR will not deliver a new commitment or update an existing commitment.
creationTimestamp The creation timestamp for this future reservation in RFC3339 text format.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
deploymentType Type of the deployment requested as part of future reservation.
description An optional description of this resource.
name Name of the resource. Provided by the client when the resource is
namePrefix Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.
params Additional params passed with the request, but not persisted as part of resource payload
planningStatus Planning state before being submitted for evaluation
project The ID of the project in which the resource belongs.
reservationMode The reservation mode which determines reservation-termination behavior and expected pricing.
reservationName Name of reservations where the capacity is provisioned at the time of delivery of future reservations. If the reservation with the given name does not exist already, it is created automatically at the time of Approval with INACTIVE state till specified start-time. Either provide the reservationName or a namePrefix.
schedulingType Maintenance information for this reservation
selfLink The URI of the created resource.
selfLinkWithId Server-defined URL for this resource with the resource id.
shareSettings Settings for sharing the future reservation
specificReservationRequired Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation.
specificSkuProperties Future Reservation configuration to indicate instance properties and total count.
statuses Output only Status of the Future Reservation
timeWindow Time window for this Future Reservation.
zone The zone where the future reservation is located.
Implementation
const FutureReservationState({
this.aggregateReservation,
this.autoCreatedReservationsDeleteTime,
this.autoCreatedReservationsDuration,
this.autoDeleteAutoCreatedReservations,
this.commitmentInfo,
this.creationTimestamp,
this.deletionPolicy,
this.deploymentType,
this.description,
this.name,
this.namePrefix,
this.params,
this.planningStatus,
this.project,
this.reservationMode,
this.reservationName,
this.schedulingType,
this.selfLink,
this.selfLinkWithId,
this.shareSettings,
this.specificReservationRequired,
this.specificSkuProperties,
this.statuses,
this.timeWindow,
this.zone,
});