Class State (1.18.2)

State(value)

Output only state of the request

Values: STATE_UNSPECIFIED (0): State of the QueuedResource request is not known/set. CREATING (1): The QueuedResource request has been received. We're still working on determining if we will be able to honor this request. ACCEPTED (2): The QueuedResource request has passed initial validation/admission control and has been persisted in the queue. PROVISIONING (3): The QueuedResource request has been selected. The associated resources are currently being provisioned (or very soon will begin provisioning). FAILED (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). DELETING (5): The QueuedResource is being deleted. ACTIVE (6): The resources specified in the QueuedResource request have been provisioned and are ready for use by the end-user/consumer. SUSPENDING (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. SUSPENDED (8): The resources specified in the QueuedResource request have been deleted. WAITING_FOR_RESOURCES (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 <https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time>__.