Reservation class

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. (== resource_for beta.reservations ==) (== resource_for v1.reservations ==) (== NextID: 13 ==)

Constructors

Reservation()
Reservation.fromJson(Map _json)

Properties

commitment ↔ String
OutputOnly Full or partial url for parent commitment for reservations which are tied to a commitment.
read / write
creationTimestamp ↔ String
Output Only Creation timestamp in RFC3339 text format.
read / write
description ↔ String
An optional description of this resource. Provide this property when you create the resource.
read / write
id ↔ String
Output Only The unique identifier for the resource. This identifier is defined by the server.
read / write
kind ↔ String
Output Only Type of the resource. Always compute#reservations for reservations.
read / write
name ↔ String
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.
read / write
Output Only Server-defined fully-qualified URL for this resource.
read / write
specificReservation AllocationSpecificSKUReservation
Reservation for instances with specific machine shapes.
read / write
specificReservationRequired ↔ bool
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.
read / write
status ↔ String
Output Only The status of the reservation. Possible string values are: [...]
read / write
zone ↔ String
Zone in which the reservation resides, must be provided if reservation is created with commitment creation.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited