- JSON representation
- ReservationData
- FutureReservation
- SpecificSKUProperties
- AllocatedInstanceProperties
- AcceleratorConfig
- AllocatedDisk
- DiskInterface
- TimeWindow
- ShareSettings
- ShareType
- Status
- ProcurementStatus
- Allocation
- SpecificSKUAllocation
- Status
The QueryReservations
response.
JSON representation |
---|
{
"reservations": [
{
object ( |
Fields | |
---|---|
reservations[] |
The reservations data that match the request. |
ReservationData
Response entity for reservations data.
JSON representation |
---|
{ "name": string, "timeSeries": { object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the connection in the form of: |
timeSeries |
The collection of data points that represent the aggregated reserved value for reservations filtered by the criteria. |
usedReservationValues |
The collection of data points that represent the aggregated used value for reservations filtered by the criteria. |
futureReservations[] |
Future reservations filtered by the criteria. |
allocations[] |
Allocations filtered by the criteria. |
FutureReservation
Repesents Future Reservation request which is part of aggregated reservations data response of "QueryReservations".
JSON representation |
---|
{ "id": string, "createTime": string, "zone": string, "description": string, "futureReservation": string, "ownerProjectId": string, "timeWindow": { object ( |
Fields | |
---|---|
id |
A unique identifier for this future reservation. The server defines this identifier. |
createTime |
The creation timestamp for this future reservation. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
zone |
URL of the Zone where this future reservation resides. |
description |
Description of the future reservation provided by user. |
futureReservation |
The future reservation resource name. |
ownerProjectId |
|
timeWindow |
Time window for this Future Reservation. |
shareSettings |
List of Projects/Folders to share with. |
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 |
status |
Status of the Future Reservation |
autoCreatedReservationsDeleteTime |
Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid RFC3339 value. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
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, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false. |
Union field type . The type of the future reservation which can only be for a specific SKU for now. type can be only one of the following: |
|
specificSkuProperties |
Future Reservation configuration to indicate instance properties and total count. |
SpecificSKUProperties
Represents specific SKU properties for the Future Reservation.
JSON representation |
---|
{
"instanceProperties": {
object ( |
Fields | |
---|---|
instanceProperties |
Properties of the SKU instances being reserved. |
totalCount |
Total number of instances for which capacity assurance is requested at a future time period. |
AllocatedInstanceProperties
Properties of the SKU instances being reserved.
JSON representation |
---|
{ "machineType": string, "guestAccelerator": [ { object ( |
Fields | |
---|---|
machineType |
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern. |
guestAccelerator[] |
Specifies accelerator type and count. |
minCpuPlatform |
Minimum cpu platform the reservation. |
localSsd[] |
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd. |
AcceleratorConfig
A specification of the type and number of accelerator cards attached to the instance.
JSON representation |
---|
{ "type": string, "count": integer } |
Fields | |
---|---|
type |
Accelerator name. See https://cloud.google.com/compute/docs/gpus/#introduction for a full list of accelerator types. |
count |
The number of the guest accelerator cards exposed to this instance. |
AllocatedDisk
A specification of the interface and size of disk attached to the instance.
JSON representation |
---|
{
"diskSizeGb": string,
"diskInterface": enum ( |
Fields | |
---|---|
diskSizeGb |
Specifies the size of the disk in base-2 GB. |
diskInterface |
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. |
DiskInterface
guest device interface options to use for the disk.
Enums | |
---|---|
DISK_INTERFACE_UNSPECIFIED |
Default value. This value is unused. |
SCSI |
SCSI disk interface. |
NVME |
NVME disk interface. |
NVDIMM |
NVDIMM disk interface. |
ISCSI |
ISCSI disk interface. |
TimeWindow
Represents time window for the Future Reservation.
JSON representation |
---|
{ "startTime": string, "endTime": string } |
Fields | |
---|---|
startTime |
Start time of the Future Reservation. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
End time of the Future Reservation. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Status
Represents status related to the future reservation.
JSON representation |
---|
{
"procurementStatus": enum ( |
Fields | |
---|---|
procurementStatus |
Current state of this Future Reservation |
lockTime |
Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lockTime is an RFC3339 string. The procurementStatus will transition to PROCURING state at this time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
autoCreatedReservations[] |
Fully qualified urls of the automatically created reservations at startTime. |
fulfilledCount |
This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations. |
ProcurementStatus
Represents procurement status of the Future Reservation.
Enums | |
---|---|
PROCUREMENT_STATUS_UNSPECIFIED |
This is unused status value. |
PENDING_APPROVAL |
Future reservation is pending approval by Google Cloud Platform. |
APPROVED |
Future reservation is approved by Google Cloud Platform. |
COMMITTED |
Future reservation is committed by the customer. |
DECLINED |
Future reservation is rejected by Google Cloud Platform. |
CANCELLED |
Future reservation is cancelled by the customer. |
PROCURING |
Future reservation is being procured by Google Cloud Platform. Beyond this point, Future reservation is locked and no further modifications are allowed. |
PROVISIONING |
Future reservation capacity is being provisioned. This state will be entered after startTime, while reservations are being created to provide totalCount reserved instance slots. This state will not persist past startTime + 24h. |
FULFILLED |
Future reservation is fulfilled completely. |
FAILED |
Future reservation failed. No additional reservations were provided. |
FAILED_PARTIALLY_FULFILLED |
Future reservation is partially fulfilled. Additional reservations were provided but did not reach totalCount reserved instance slots. |
DRAFTING |
Related status for PlanningStatus.Draft. Transitions to PENDING_APPROVAL upon user submitting FR. |
PENDING_AMENDMENT_APPROVAL |
An Amendment to the Future Reservation has been requested. If the Amendment is declined, the Future Reservation will be restored to the last known good state. |
Allocation
Repesents Allocation which is part of aggregated reservations data response of "QueryReservations".
JSON representation |
---|
{ "id": string, "createTime": string, "zone": string, "description": string, "allocation": string, "ownerProjectId": string, "status": enum ( |
Fields | |
---|---|
id |
The unique identifier for the resource. This identifier is defined by the server. |
createTime |
The creation timestamp for this allocation. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
zone |
Zone in which the reservation resides. |
description |
A description while creating reservation. |
allocation |
The reservation resource name. |
ownerProjectId |
|
status |
The status of the reservation. |
shareSettings |
Specify share-settings to create a shared reservation. |
autoDeleteTime |
Absolute time in future when the reservation will be auto-deleted by Compute Engine. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Union field type . The type of the reservation which can only be for a specific SKU for now. type can be only one of the following: |
|
specificAllocation |
Reservation for instances with specific machine shapes. |
SpecificSKUAllocation
This reservation type allows to pre allocate specific instance configuration.
JSON representation |
---|
{
"instanceProperties": {
object ( |
Fields | |
---|---|
instanceProperties |
The instance properties for the reservation. |
count |
Specifies the number of resources that are allocated. |
usedCount |
Indicates how many instances are in use. |
assuredCount |
Indicates how many instances are actually usable currently. |
Status
The status of the reservation.
Enums | |
---|---|
STATUS_UNSPECIFIED |
Default value. This value is unused. |
INVALID |
Invalid Reservation |
CREATING |
Resources are being allocated for the reservation. |
READY |
Reservation has allocated all its resources. |
DELETING |
Reservation is currently being deleted. |
UPDATING |
Reservation is currently being resized. |