Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueuedResourceState

import type { QueuedResourceState } from "https://googleapis.deno.dev/v1/tpu:v2.ts";

QueuedResourceState defines the details of the QueuedResource request.

interface QueuedResourceState {
readonly acceptedData?: AcceptedData;
readonly activeData?: ActiveData;
readonly creatingData?: CreatingData;
readonly deletingData?: DeletingData;
readonly failedData?: FailedData;
readonly provisioningData?: ProvisioningData;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "ACCEPTED"
| "PROVISIONING"
| "FAILED"
| "DELETING"
| "ACTIVE"
| "SUSPENDING"
| "SUSPENDED"
| "WAITING_FOR_RESOURCES";
readonly stateInitiator?: "STATE_INITIATOR_UNSPECIFIED" | "USER" | "SERVICE";
readonly suspendedData?: SuspendedData;
readonly suspendingData?: SuspendingData;
}

§Properties

§
readonly acceptedData?: AcceptedData
[src]

Output only. Further data for the accepted state.

§
readonly activeData?: ActiveData
[src]

Output only. Further data for the active state.

§
readonly creatingData?: CreatingData
[src]

Output only. Further data for the creating state.

§
readonly deletingData?: DeletingData
[src]

Output only. Further data for the deleting state.

§
readonly failedData?: FailedData
[src]

Output only. Further data for the failed state.

§
readonly provisioningData?: ProvisioningData
[src]

Output only. Further data for the provisioning state.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "ACCEPTED" | "PROVISIONING" | "FAILED" | "DELETING" | "ACTIVE" | "SUSPENDING" | "SUSPENDED" | "WAITING_FOR_RESOURCES"
[src]

Output only. State of the QueuedResource request.

§
readonly stateInitiator?: "STATE_INITIATOR_UNSPECIFIED" | "USER" | "SERVICE"
[src]

Output only. The initiator of the QueuedResources's current state. Used to indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or the service.

§
readonly suspendedData?: SuspendedData
[src]

Output only. Further data for the suspended state.

§
readonly suspendingData?: SuspendingData
[src]

Output only. Further data for the suspending state.