Reference documentation and code samples for the Google Cloud Tpu V2 Client class State.
Output only state of the request
Protobuf type google.cloud.tpu.v2.QueuedResourceState.State
Namespace
Google \ Cloud \ Tpu \ V2 \ QueuedResourceStateMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0
State of the QueuedResource request is not known/set.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
CREATING
Value: 1
The QueuedResource request has been received. We're still working on determining if we will be able to honor this request.
Generated from protobuf enum CREATING = 1;
ACCEPTED
Value: 2
The QueuedResource request has passed initial validation/admission control and has been persisted in the queue.
Generated from protobuf enum ACCEPTED = 2;
PROVISIONING
Value: 3
The QueuedResource request has been selected. The associated resources are currently being provisioned (or very soon will begin provisioning).
Generated from protobuf enum PROVISIONING = 3;
FAILED
Value: 4
The request could not be completed. This may be due to some late-discovered problem with the request itself, or due to unavailability of resources within the constraints of the request (e.g., the 'valid until' start timing constraint expired).
Generated from protobuf enum FAILED = 4;
DELETING
Value: 5
The QueuedResource is being deleted.
Generated from protobuf enum DELETING = 5;
ACTIVE
Value: 6
The resources specified in the QueuedResource request have been provisioned and are ready for use by the end-user/consumer.
Generated from protobuf enum ACTIVE = 6;
SUSPENDING
Value: 7
The resources specified in the QueuedResource request are being deleted. This may have been initiated by the user, or the Cloud TPU service. Inspect the state data for more details.
Generated from protobuf enum SUSPENDING = 7;
SUSPENDED
Value: 8
The resources specified in the QueuedResource request have been deleted.
Generated from protobuf enum SUSPENDED = 8;
WAITING_FOR_RESOURCES
Value: 9
The QueuedResource request has passed initial validation and has been persisted in the queue. It will remain in this state until there are sufficient free resources to begin provisioning your request. Wait times will vary significantly depending on demand levels. When demand is high, not all requests can be immediately provisioned. If you need more reliable obtainability of TPUs consider purchasing a reservation. To put a limit on how long you are willing to wait, use timing constraints.
Generated from protobuf enum WAITING_FOR_RESOURCES = 9;