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

Node

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

A TPU instance.

interface Node {
acceleratorConfig?: AcceleratorConfig;
acceleratorType?: string;
readonly apiVersion?:
| "API_VERSION_UNSPECIFIED"
| "V1_ALPHA1"
| "V1"
| "V2_ALPHA1"
| "V2";
cidrBlock?: string;
readonly createTime?: Date;
dataDisks?: AttachedDisk[];
description?: string;
health?:
| "HEALTH_UNSPECIFIED"
| "HEALTHY"
| "TIMEOUT"
| "UNHEALTHY_TENSORFLOW"
| "UNHEALTHY_MAINTENANCE";
readonly healthDescription?: string;
readonly id?: bigint;
labels?: {
[key: string]: string;
}
;
metadata?: {
[key: string]: string;
}
;
readonly multisliceNode?: boolean;
readonly name?: string;
networkConfig?: NetworkConfig;
readonly networkEndpoints?: NetworkEndpoint[];
readonly queuedResource?: string;
runtimeVersion?: string;
schedulingConfig?: SchedulingConfig;
serviceAccount?: ServiceAccount;
shieldedInstanceConfig?: ShieldedInstanceConfig;
readonly state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "READY"
| "RESTARTING"
| "REIMAGING"
| "DELETING"
| "REPAIRING"
| "STOPPED"
| "STOPPING"
| "STARTING"
| "PREEMPTED"
| "TERMINATED"
| "HIDING"
| "HIDDEN"
| "UNHIDING";
readonly symptoms?: Symptom[];
tags?: string[];
}

§Properties

§
acceleratorConfig?: AcceleratorConfig
[src]

The AccleratorConfig for the TPU Node.

§
acceleratorType?: string
[src]

Optional. The type of hardware accelerators associated with this node.

§
readonly apiVersion?: "API_VERSION_UNSPECIFIED" | "V1_ALPHA1" | "V1" | "V2_ALPHA1" | "V2"
[src]

Output only. The API version that created this Node.

§
cidrBlock?: string
[src]

The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.

§
readonly createTime?: Date
[src]

Output only. The time when the node was created.

§
dataDisks?: AttachedDisk[]
[src]

The additional data disks for the Node.

§
description?: string
[src]

The user-supplied description of the TPU. Maximum of 512 characters.

§
health?: "HEALTH_UNSPECIFIED" | "HEALTHY" | "TIMEOUT" | "UNHEALTHY_TENSORFLOW" | "UNHEALTHY_MAINTENANCE"
[src]

The health status of the TPU node.

§
readonly healthDescription?: string
[src]

Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.

§
readonly id?: bigint
[src]

Output only. The unique identifier for the TPU Node.

§
labels?: {
[key: string]: string;
}
[src]

Resource labels to represent user-provided metadata.

§
metadata?: {
[key: string]: string;
}
[src]

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

§
readonly multisliceNode?: boolean
[src]

Output only. Whether the Node belongs to a Multislice group.

§
readonly name?: string
[src]

Output only. Immutable. The name of the TPU.

§
networkConfig?: NetworkConfig
[src]

Network configurations for the TPU node.

§
readonly networkEndpoints?: NetworkEndpoint[]
[src]

Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.

§
readonly queuedResource?: string
[src]

Output only. The qualified name of the QueuedResource that requested this Node.

§
runtimeVersion?: string
[src]

Required. The runtime version running in the Node.

§
schedulingConfig?: SchedulingConfig
[src]

The scheduling options for this node.

§
serviceAccount?: ServiceAccount
[src]

The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.

§
shieldedInstanceConfig?: ShieldedInstanceConfig
[src]

Shielded Instance options.

§
readonly state?: "STATE_UNSPECIFIED" | "CREATING" | "READY" | "RESTARTING" | "REIMAGING" | "DELETING" | "REPAIRING" | "STOPPED" | "STOPPING" | "STARTING" | "PREEMPTED" | "TERMINATED" | "HIDING" | "HIDDEN" | "UNHIDING"
[src]

Output only. The current state for the TPU Node.

§
readonly symptoms?: Symptom[]
[src]

Output only. The Symptoms that have occurred to the TPU Node.

§
tags?: string[]
[src]

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.