Resource: Operation
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
JSON representation | |
---|---|
{ "name": string, "zone": string, "operationType": enum ( |
Fields | |
---|---|
name |
The server-assigned ID for the operation. |
zone |
The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead. |
operationType |
The operation type. |
status |
The current status of the operation. |
detail |
Detailed operation progress, if available. |
statusMessage |
If an error has occurred, a textual description of the error. |
selfLink |
Server-defined URL for the resource. |
targetLink |
Server-defined URL for the target of the operation. |
location |
[Output only] The name of the Google Compute Engine zone or region in which the cluster resides. |
startTime |
[Output only] The time the operation started, in RFC3339 text format. |
endTime |
[Output only] The time the operation completed, in RFC3339 text format. |
clusterConditions[] |
Which conditions caused the current cluster state. |
nodepoolConditions[] |
Which conditions caused the current node pool state. |
Type
Operation type.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Not set. |
CREATE_CLUSTER |
Cluster create. |
DELETE_CLUSTER |
Cluster delete. |
UPGRADE_MASTER |
A master upgrade. |
UPGRADE_NODES |
A node upgrade. |
REPAIR_CLUSTER |
Cluster repair. |
UPDATE_CLUSTER |
Cluster update. |
CREATE_NODE_POOL |
Node pool create. |
DELETE_NODE_POOL |
Node pool delete. |
SET_NODE_POOL_MANAGEMENT |
Set node pool management. |
AUTO_REPAIR_NODES |
Automatic node pool repair. |
AUTO_UPGRADE_NODES |
Automatic node upgrade. |
SET_LABELS |
Set labels. |
SET_MASTER_AUTH |
Set/generate master auth materials |
SET_NODE_POOL_SIZE |
Set node pool size. |
SET_NETWORK_POLICY |
Updates network policy for a cluster. |
SET_MAINTENANCE_POLICY |
Set the maintenance policy. |
Status
Current status of the operation.
Enums | |
---|---|
STATUS_UNSPECIFIED |
Not set. |
PENDING |
The operation has been created. |
RUNNING |
The operation is currently running. |
DONE |
The operation is done, either cancelled or completed. |
ABORTING |
The operation is aborting. |
Methods |
|
---|---|
|
Cancels the specified operation. |
|
Gets the specified operation. |
|
Lists all operations in a project in a specific zone or all zones. |