Google Cloud Tpu V2 Client - Class State (1.2.0)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class State.

Represents the different states of a TPU node during its lifecycle.

Protobuf type google.cloud.tpu.v2.Node.State

Namespace

Google \ Cloud \ Tpu \ V2 \ Node

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

TPU node state is not known/set.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

CREATING

Value: 1

TPU node is being created.

Generated from protobuf enum CREATING = 1;

READY

Value: 2

TPU node has been created.

Generated from protobuf enum READY = 2;

RESTARTING

Value: 3

TPU node is restarting.

Generated from protobuf enum RESTARTING = 3;

REIMAGING

Value: 4

TPU node is undergoing reimaging.

Generated from protobuf enum REIMAGING = 4;

DELETING

Value: 5

TPU node is being deleted.

Generated from protobuf enum DELETING = 5;

REPAIRING

Value: 6

TPU node is being repaired and may be unusable. Details can be found in the 'help_description' field.

Generated from protobuf enum REPAIRING = 6;

STOPPED

Value: 8

TPU node is stopped.

Generated from protobuf enum STOPPED = 8;

STOPPING

Value: 9

TPU node is currently stopping.

Generated from protobuf enum STOPPING = 9;

STARTING

Value: 10

TPU node is currently starting.

Generated from protobuf enum STARTING = 10;

PREEMPTED

Value: 11

TPU node has been preempted. Only applies to Preemptible TPU Nodes.

Generated from protobuf enum PREEMPTED = 11;

TERMINATED

Value: 12

TPU node has been terminated due to maintenance or has reached the end of its life cycle (for preemptible nodes).

Generated from protobuf enum TERMINATED = 12;

HIDING

Value: 13

TPU node is currently hiding.

Generated from protobuf enum HIDING = 13;

HIDDEN

Value: 14

TPU node has been hidden.

Generated from protobuf enum HIDDEN = 14;

UNHIDING

Value: 15

TPU node is currently unhiding.

Generated from protobuf enum UNHIDING = 15;