- Resource: Reservation
- JSON representation
- SpecificSKUReservation
- ReservedInstanceProperties
- ReservedDisk
- DiskInterface
- AggregateReservation
- VMFamily
- ReservedResourceInfo
- Accelerator
- WorkloadType
- Status
- ResourceStatus
- SpecificSKUAllocation
- HealthInfo
- HealthStatus
- ReservationSharingPolicy
- ServiceShareType
- DeploymentType
- AdvancedDeploymentControl
- ReservationOperationalMode
- ReservationMode
- ProtectionTier
- ReservationParams
- ConfidentialComputeType
- EarlyAccessMaintenance
- Methods
Resource: Reservation
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.
| JSON representation |
|---|
{ "kind": string, "id": string, "creationTimestamp": string, "selfLink": string, "zone": string, "description": string, "name": string, "commitment": string, "linkedCommitments": [ string ], "specificReservationRequired": boolean, "status": enum ( |
| Fields | |
|---|---|
kind |
Output only. Type of the resource. Always
for reservations. |
id |
Output only. The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
Output only. Creation timestamp in RFC3339 text format. |
selfLink |
Output only. Server-defined fully-qualified URL for this resource. |
zone |
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment. |
description |
An optional description of this resource. Provide this property when you create the resource. |
name |
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 |
commitment |
Output only. Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. |
linkedCommitments[] |
Output only. Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments. |
specificReservationRequired |
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. |
status |
Output only. The status of the reservation.
|
shareSettings |
Specify 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. |
satisfiesPzs |
Output only. Reserved for future use. |
resourcePolicies |
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. |
resourceStatus |
Output only. Status information for Reservation resource. |
reservationSharingPolicy |
Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Cloud de Confiance managed services. |
deploymentType |
Specifies the deployment strategy for this reservation. |
advancedDeploymentControl |
Advanced control for cluster management, applicable only to DENSE deployment type reservations. |
enableEmergentMaintenance |
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors. |
reservationMode |
Output only. Indicates the reservation mode of the reservation. |
protectionTier |
Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures). |
schedulingType |
The type of maintenance for the reservation. |
params |
Input only. Additional params passed with the request, but not persisted as part of resource payload. |
confidentialComputeType |
|
earlyAccessMaintenance |
Indicates the early access maintenance for the reservation. If this field is absent or set to NO_EARLY_ACCESS, the reservation is not enrolled in early access maintenance and the standard notice applies. |
Union field
|
|
specificReservation |
Reservation for instances with specific machine shapes. |
aggregateReservation |
Reservation for aggregated resources, providing shape flexibility. |
Union field
|
|
deleteAtTime |
Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format. |
deleteAfterDuration |
Duration time relative to reservation creation when Compute Engine will automatically delete this resource. |
SpecificSKUReservation
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. |
inUseCount |
Output only. Indicates how many instances are in use. |
assuredCount |
Output only. Indicates how many instances are actually usable currently. |
sourceInstanceTemplate |
Specifies the instance template to create the reservation. If you use this field, you must exclude the
field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template:
|
ReservedInstanceProperties
Properties of the SKU instances being reserved. Next ID: 10
| JSON representation |
|---|
{ "machineType": string, "guestAccelerators": [ { 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. |
guestAccelerators[] |
Specifies accelerator type and count. |
minCpuPlatform |
Minimum cpu platform the reservation. |
localSsds[] |
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd. |
maintenanceFreezeDurationHours |
Specifies the number of hours after reservation creation where instances using the reservation won't be scheduled for maintenance. |
locationHint |
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API. |
maintenanceInterval |
Specifies the frequency of planned maintenance events. The accepted values are: |
ReservedDisk
| JSON representation |
|---|
{
"diskSizeGb": string,
"interface": enum ( |
| Fields | |
|---|---|
diskSizeGb |
Specifies the size of the disk in base-2 GB. |
interface |
Specifies the disk interface to use for attaching this disk, which is either
or
. The default is
. For performance characteristics of SCSI over NVMe, see Local SSD performance. |
DiskInterface
| Enums | |
|---|---|
SCSI |
|
NVME |
|
AggregateReservation
This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation.
| JSON representation |
|---|
{ "vmFamily": enum ( |
| Fields | |
|---|---|
vmFamily |
The VM family that all instances scheduled against this reservation must belong to. |
reservedResources[] |
reservations.list of reserved resources (CPUs, memory, accelerators). |
inUseResources[] |
Output only. reservations.list of resources currently in use. |
workloadType |
The workload type of the instances that will target this reservation. |
hostCount |
Count of reserved hosts of specified VM family. The host has fixed number of accelerators based on the accelerator/vm-family selected. |
inUseHostCount |
Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use. |
inUseInstanceCount |
Output only. Number of instances currently in use in this reservation. |
VMFamily
reservations.list of compute machine families and series for use with aggregate reservations. LINT.IfChange
| Enums | |
|---|---|
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P |
|
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L |
|
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP |
|
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P |
|
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E |
|
VM_FAMILY_CLOUD_TPU_DEVICE_CT3 |
|
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P |
|
VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X |
|
ReservedResourceInfo
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
accelerator |
Properties of accelerator resources in this reservation. |
Accelerator
| JSON representation |
|---|
{ "acceleratorCount": integer, "acceleratorType": string } |
| Fields | |
|---|---|
acceleratorCount |
Number of accelerators of specified type. |
acceleratorType |
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l" |
WorkloadType
| Enums | |
|---|---|
UNSPECIFIED |
|
SERVING |
Reserved resources will be optimized for SERVING workloads, such as ML inference. |
BATCH |
Reserved resources will be optimized for BATCH workloads, such as ML training. |
Status
| Enums | |
|---|---|
INVALID |
|
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. |
ResourceStatus
Output only. Contains output only fields.
| JSON representation |
|---|
{ "specificSkuAllocation": { object ( |
| Fields | |
|---|---|
specificSkuAllocation |
Allocation Properties of this reservation. |
reservationMaintenance |
Maintenance information for this reservation |
reservationBlockCount |
The number of reservation blocks associated with this reservation. |
healthInfo |
Output only. Health information for the reservation. |
SpecificSKUAllocation
Contains Properties set for the reservation.
| JSON representation |
|---|
{ "sourceInstanceTemplateId": string, "utilizations": { string: string, ... } } |
| Fields | |
|---|---|
sourceInstanceTemplateId |
ID of the instance template used to populate reservation properties. |
utilizations |
Per service utilization breakdown. The Key is the Cloud de Confiance managed service name. |
HealthInfo
Health information for the reservation.
| JSON representation |
|---|
{
"healthStatus": enum ( |
| Fields | |
|---|---|
healthStatus |
The health status of the reservation. |
healthyBlockCount |
The number of reservation blocks that are healthy. |
degradedBlockCount |
The number of reservation blocks that are degraded. |
HealthStatus
| Enums | |
|---|---|
HEALTH_STATUS_UNSPECIFIED |
The health status of the reservation is unspecified. |
HEALTHY |
The reservation is healthy. |
DEGRADED |
The reservation is degraded. |
ReservationSharingPolicy
| JSON representation |
|---|
{
"serviceShareType": enum ( |
| Fields | |
|---|---|
serviceShareType |
Sharing config for all Cloud de Confiance services. |
DeploymentType
Indicates if the reservation allocation strategy is static or dynamic. Inherited from the future reservation which delivered this reservation.
| Enums | |
|---|---|
DEPLOYMENT_TYPE_UNSPECIFIED |
|
DENSE |
The reserved capacity is made up of densely deployed reservation blocks. |
FLEXIBLE |
The reserved capacity is made up of highly flexible, logical reservation blocks. |
AdvancedDeploymentControl
Advance control for cluster management, applicable only to DENSE deployment type reservations.
| JSON representation |
|---|
{
"reservationOperationalMode": enum ( |
| Fields | |
|---|---|
reservationOperationalMode |
Indicates chosen reservation operational mode for the reservation. |
ReservationOperationalMode
Defines the reservation operational mode for the reservation. This determines how Cloud de Confiance manages the failure of machines and provides capacity.
| Enums | |
|---|---|
RESERVATION_OPERATIONAL_MODE_UNSPECIFIED |
|
HIGHLY_AVAILABLE_CAPACITY |
Cloud de Confiance manages the failure of machines to provide high availability. |
ALL_CAPACITY |
Cloud de Confiance does not manage the failure of machines, but provides additional capacity, which is not guaranteed to be available. |
ReservationMode
Determines behavior and fate of requested reservation
| Enums | |
|---|---|
RESERVATION_MODE_UNSPECIFIED |
|
CALENDAR |
The delivered reservations terminate at specified endtime along with terminating VMs running on it. The price for this reservation is different from on-demand. Currently offered for A3+ GPUs and TPUs only. |
DEFAULT |
The delivered reservations do not terminate VMs at the end of reservations. On-demand pricing and available for all VM families. This is default mode. |
ProtectionTier
Protection tier for the workload. LINT.IfChange
| Enums | |
|---|---|
PROTECTION_TIER_UNSPECIFIED |
Unspecified protection tier. |
STANDARD |
STANDARD protection for workload that should be protected by redundancies (e.g. power, cooling) at the data center level. In the event of infrastructure failures at data center (e.g. power and/or cooling failures), this workload is expected to continue as normal using the redundancies. |
CAPACITY_OPTIMIZED |
CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling) at the data center during normal operating conditions. In the event of infrastructure failures at data center (e.g. power and/or cooling failures), this workload may be disrupted. As a consequence, it has a weaker availability SLO than STANDARD. |
ReservationParams
Additional reservation params.
| JSON representation |
|---|
{ "resourceManagerTags": { string: string, ... } } |
| Fields | |
|---|---|
resourceManagerTags |
Input only. Resource manager tags to be bound to the reservation. Tag keys and values have the same definition as resource manager tags. Keys and values can be either in numeric format, such as |
ConfidentialComputeType
The type of confidential compute for a reservation.
| Enums | |
|---|---|
CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED |
|
CONFIDENTIAL_COMPUTE_TYPE_TDX |
Intel Trust Domain Extensions. |
EarlyAccessMaintenance
Enum to represent the early access maintenance
| Enums | |
|---|---|
NO_EARLY_ACCESS |
No early access. |
WAVE1 |
Wave 1: Fastest notification period |
WAVE2 |
Wave 2: Medium notification period |
Methods |
|
|---|---|
|
The method compute.beta.AllocationsService.AggregatedList is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.Delete is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.Get is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.GetPolicy is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.Insert is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.List is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.PerformMaintenance is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.Resize is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.SetPolicy is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.TestPermissions is not available in Cloud de Confiance by S3NS. |
|
The method compute.beta.AllocationsService.Update is not available in Cloud de Confiance by S3NS. |