Resource: Zone
Represents a Zone resource.
A zone is a deployment area. These deployment areas are subsets of a region. For example the zone
us-east1-b
is located in the
us-east1
region. For more information, read Regions and Zones.
| JSON representation |
|---|
{ "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "status": enum ( |
| Fields | |
|---|---|
kind |
Output only. Type of the resource. Always
for zones. |
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. |
name |
Output only. Name of the resource. |
description |
Output only. Textual description of the resource. |
status |
Output only. Status of the zone, either
or
. |
deprecated |
Output only. The deprecation status associated with this zone. |
region |
Output only. Full URL reference to the region which hosts the zone. |
selfLink |
Output only. Server-defined URL for the resource. |
availableCpuPlatforms[] |
Output only. Available cpu/platform selections for the zone. |
supportsPzs |
Output only. Reserved for future use. Available from 2026-03-01.. |
resourceStatus |
|
ZoneStatus
| Enums | |
|---|---|
UP |
|
DOWN |
|
ResourceStatus
| JSON representation |
|---|
{
"upcomingMaintenances": [
{
object ( |
| Fields | |
|---|---|
upcomingMaintenances[] |
Output only. The upcoming maintenance schedule. |
PeriodicPartialMaintenanceSchedule
The periodic partial maintenance schedule includes 52 weeks worth of maintenance windows. LINT.IfChange(PeriodicPartialMaintenanceSchedule)
| JSON representation |
|---|
{ "type": enum ( |
| Fields | |
|---|---|
type |
|
subType |
The maintenance type in which the zone is during the given window. |
targetResource |
The target resource that the maintenance window is for. For example, "projects/my-project/zones/us-central1-a". |
windowStartTime |
The start civil timestamp of the window. This contains a time zone. |
windowEndTime |
The end civil timestamp of the window (not inclusive). This contains a time zone. |
Type
The type of maintenance window.
| Enums | |
|---|---|
MAINTENANCE_TYPE_UNSPECIFIED |
Default value. |
PRIVATE_ZONE_MAINTENANCE |
The zone is in a private maintenance window. |
SubType
State of the maintenance window.
| Enums | |
|---|---|
MAINTENANCE_SUBTYPE_UNSPECIFIED |
Default value. |
MAINTENANCE_TYPE_TRANSITION |
For preliminary, non-disruptive tasks such as key rotations. |
MAINTENANCE_TYPE_DISRUPTIVE_UPGRADE |
For disruptive updates, including host machine kernel or firmware upgrades. |
MAINTENANCE_TYPE_CUSTOMER_MAINTENANCE |
A dedicated window for customers to perform their own maintenance. This often runs concurrently with a DISRUPTIVE_UPGRADE. |
MAINTENANCE_TYPE_STABLE |
A post-maintenance window for customers to conduct final testing and performance validation before resuming full business operations. |
Methods |
|
|---|---|
|
Returns the specified Zone resource. |
|
Retrieves the list of Zone resources available to the specified project. |