Reservation
import type { Reservation } from "https://googleapis.deno.dev/v1/compute:v1.ts";
Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.
§Properties
Reservation for aggregated resources, providing shape flexibility.
[Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format.
Specifies the deployment strategy for this reservation.
An optional description of this resource. Provide this property when you create the resource.
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
[Output Only] Type of the resource. Always compute#reservations for reservations.
[Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.
The 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.
Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services.
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
[Output Only] Status information for Reservation resource.
Reservation for instances with specific machine shapes.
Indicates 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.
[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.