FutureReservationState class
Input properties used for looking up and filtering FutureReservation resources.
Constructors
-
FutureReservationState({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, Input<FutureReservationStatus> ?>FutureReservationTimeWindow?> ? timeWindow, Input<String?> ? zone}) -
Creates a new FutureReservationState.
aggregateReservationAggregate reservation details for the future reservation.autoCreatedReservationsDeleteTimeFuture timestamp when the FR auto-created reservations will be deleted by Compute Engine.autoCreatedReservationsDurationSpecifies 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.autoDeleteAutoCreatedReservationsSetting 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 theautoCreatedReservationsDeleteTime, autoCreatedReservationsDurationvalues is specified. For keeping auto-created reservation indefinitely, this value should be set to false.commitmentInfoIf not present, then FR will not deliver a new commitment or update an existing commitment.creationTimestampThe creation timestamp for this future reservation in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deploymentTypeType of the deployment requested as part of future reservation.descriptionAn optional description of this resource.nameName of the resource. Provided by the client when the resource isnamePrefixName 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-####.paramsAdditional params passed with the request, but not persisted as part of resource payloadplanningStatusPlanning state before being submitted for evaluationprojectThe ID of the project in which the resource belongs.reservationModeThe reservation mode which determines reservation-termination behavior and expected pricing.reservationNameName 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.schedulingTypeMaintenance information for this reservationselfLinkThe URI of the created resource.selfLinkWithIdServer-defined URL for this resource with the resource id.shareSettingsSettings for sharing the future reservationspecificReservationRequiredIndicates 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.specificSkuPropertiesFuture Reservation configuration to indicate instance properties and total count. statusesOutput onlyStatus of the Future ReservationtimeWindowTime window for this Future Reservation.zoneThe zone where the future reservation is located.const -
FutureReservationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
aggregateReservation
→ Input<
FutureReservationAggregateReservation?> ? -
Aggregate reservation details for the future reservation.
Structure is documented below.
final
-
autoCreatedReservationsDeleteTime
→ Input<
String?> ? -
Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.
final
-
autoCreatedReservationsDuration
→ Input<
FutureReservationAutoCreatedReservationsDuration?> ? -
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.
Structure is documented below.
final
-
autoDeleteAutoCreatedReservations
→ Input<
bool?> ? -
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, autoCreatedReservationsDurationvalues is specified. For keeping auto-created reservation indefinitely, this value should be set to false.final -
commitmentInfo
→ Input<
FutureReservationCommitmentInfo?> ? -
If not present, then FR will not deliver a new commitment or update an existing commitment.
Structure is documented below.
final
-
creationTimestamp
→ Input<
String?> ? -
The creation timestamp for this future reservation in RFC3339 text format.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
deploymentType
→ Input<
String?> ? -
Type of the deployment requested as part of future reservation.
Possible values are:
DENSE,FLEXIBLE.final -
description
→ Input<
String?> ? -
An optional description of this resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.final -
namePrefix
→ Input<
String?> ? -
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-####.
final
-
params
→ Input<
FutureReservationParams?> ? -
Additional params passed with the request, but not persisted as part of resource payload
Structure is documented below.
final
-
planningStatus
→ Input<
String?> ? -
Planning state before being submitted for evaluation
Possible values are:
DRAFT,SUBMITTED.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
reservationMode
→ Input<
String?> ? -
The reservation mode which determines reservation-termination behavior and expected pricing.
Possible values are:
CALENDAR,DEFAULT.final -
reservationName
→ Input<
String?> ? -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schedulingType
→ Input<
String?> ? -
Maintenance information for this reservation
Possible values are:
GROUPED,INDEPENDENT.final -
selfLink
→ Input<
String?> ? -
The URI of the created resource.
final
-
selfLinkWithId
→ Input<
String?> ? -
Server-defined URL for this resource with the resource id.
final
-
Settings for sharing the future reservation
Structure is documented below.
final
-
specificReservationRequired
→ Input<
bool?> ? -
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.
final
-
specificSkuProperties
→ Input<
FutureReservationSpecificSkuProperties?> ? -
Future Reservation configuration to indicate instance properties and total count.
Structure is documented below.
final
-
statuses
→ Input<
List< ?FutureReservationStatus> ?> -
Output onlyStatus of the Future Reservation Structure is documented below.final -
timeWindow
→ Input<
FutureReservationTimeWindow?> ? -
Time window for this Future Reservation.
Structure is documented below.
final
-
zone
→ Input<
String?> ? -
The zone where the future reservation is located.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited