Resource: ZoneOperation
Represents an operation on a zone.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "type": enum ( |
| Fields | |
|---|---|
name |
Identifier. Name of the operation. Format: "projects/{project}/locations/{location}/zones/{zone}/ops/{zoneOperation}" |
createTime |
Output only. Time when this operation was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Time when this operation was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Optional. Labels associated with this operation as key value pairs. An object containing a list of |
type |
Required. Immutable. The type of this operation. |
impactedHardware[] |
Optional. The hardware impacted by this zone operation. |
state |
Output only. The state of the operation. |
currentStep |
Output only. The current step of the operation. |
stepHistory[] |
Output only. History of steps for the operation. |
etag |
Optional. Adding an etag based on go/ccfe-etag. |
Type
The type of operation.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Type not set. |
EXPANSION |
Zone expansion operation. |
State
Valid states for a zone operation.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
State not set. |
RUNNING |
The operation is in progress. |
SUCCEEDED |
The operation completed successfully. |
FAILED |
The operation failed. |
CANCELLED |
The operation was cancelled. |
ZoneOperationStep
Represents a workflow step.
| JSON representation |
|---|
{ "state": enum ( |
| Fields | |
|---|---|
state |
Output only. The state of the workflow step. |
startTime |
Output only. The time when the workflow step started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Output only. The time when the workflow step ended. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
error |
Output only. The error message for the workflow step if it failed. |
Union field step_type. The type of step. step_type can be only one of the following: |
|
expansionStep |
Step for the EXPANSION operation type. |
ExpansionStep
Valid steps of an EXPANSION workflow.
| Enums | |
|---|---|
EXPANSION_STEP_UNSPECIFIED |
Step unspecified. |
PREPARING_ZONE |
Updates the zone intent for logical turnup. |
HW_ID_UPDATE |
Updates the hardware list with identifiers. |
StepState
Valid states of a workflow step.
| Enums | |
|---|---|
STEP_STATE_UNSPECIFIED |
Unspecified workflow step state. |
PENDING |
The step is waiting to start. |
RUNNING |
The step is in progress. |
SUCCEEDED |
The step completed successfully. |
FAILED |
The step failed. |
SKIPPED |
The step was skipped. |
Methods |
|
|---|---|
|
Creates a new ZoneOperation in a given Zone. |
|
Deletes a single ZoneOperation. |
|
Gets details of a single ZoneOperation. |
|
Lists ZoneOperations in a given project and location. |
|
Updates the parameters of a single ZoneOperation. |