Compute Engine Reservation

Compute Engine Reservation in Google Cloud lets you reserve a specific amount of Compute Engine VM capacity in a chosen zone. This ensures that the required resources are always available for your workloads, even during peak demand. Reservations can be tailored to specific machine types, GPUs, or local SSDs, providing predictable availability and cost management for critical applications.

gcp.compute_reservation

Fields

TitleIDTypeData TypeDescription
_keycorestring
aggregate_reservationcorejsonReservation for aggregated resources, providing shape flexibility.
ancestorscorearray<string>
commitmentcorestring[Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
creation_timestampcoretimestamp[Output Only] Creation timestamp in RFC3339 text format.
datadog_display_namecorestring
deployment_typecorestringSpecifies the deployment strategy for this reservation.
descriptioncorestringAn optional description of this resource. Provide this property when you create the resource.
gcp_statuscorestring[Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. Possible values: ['CREATING', 'DELETING', 'INVALID', 'READY', 'UPDATING']. Values descriptions: ['Reservation resources are being allocated.', 'Reservation deletion is in progress.', '', 'Reservation resources have been allocated, and the reservation is ready for use.', 'Reservation update is in progress.']
idcorestring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kindcorestring[Output Only] Type of the resource. Always compute#reservations for reservations.
labelscorearray<string>
linked_commitmentscorearray<string>[Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.
namecorestringThe name of the resource, provided by the client when initially creating the resource. The resource 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]([-a-z0-9]*[a-z0-9])?` 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.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
reservation_sharing_policycorejsonSpecify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services.
resource_namecorestring
resource_statuscorejson[Output Only] Status information for Reservation resource.
satisfies_pzscorebool[Output Only] Reserved for future use.
self_linkcorestring[Output Only] Server-defined fully-qualified URL for this resource.
share_settingscorejsonSpecify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
specific_reservationcorejsonReservation for instances with specific machine shapes.
specific_reservation_requiredcoreboolIndicates whether the 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 this reservation.
tagscorehstore
zonecorestringZone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.