import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the details of a node. */ export declare function getNode(args: GetNodeArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetNodeArgs { location: string; nodeId: string; project?: string; } export interface GetNodeResult { /** * The AccleratorConfig for the TPU Node. */ readonly acceleratorConfig: outputs.tpu.v2alpha1.AcceleratorConfigResponse; /** * The type of hardware accelerators associated with this node. */ readonly acceleratorType: string; /** * The API version that created this Node. */ readonly apiVersion: string; /** * Optional. Whether Autocheckpoint is enabled. */ readonly autocheckpointEnabled: boolean; /** * Optional. Boot disk configuration. */ readonly bootDiskConfig: outputs.tpu.v2alpha1.BootDiskConfigResponse; /** * 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 cidrBlock: string; /** * The time when the node was created. */ readonly createTime: string; /** * The additional data disks for the Node. */ readonly dataDisks: outputs.tpu.v2alpha1.AttachedDiskResponse[]; /** * The user-supplied description of the TPU. Maximum of 512 characters. */ readonly description: string; /** * The health status of the TPU node. */ readonly health: string; /** * If this field is populated, it contains a description of why the TPU Node is unhealthy. */ readonly healthDescription: string; /** * Resource labels to represent user-provided metadata. */ readonly labels: { [key: string]: string; }; /** * Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script */ readonly metadata: { [key: string]: string; }; /** * Whether the Node belongs to a Multislice group. */ readonly multisliceNode: boolean; /** * Immutable. The name of the TPU. */ readonly name: string; /** * Network configurations for the TPU node. */ readonly networkConfig: outputs.tpu.v2alpha1.NetworkConfigResponse; /** * 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 networkEndpoints: outputs.tpu.v2alpha1.NetworkEndpointResponse[]; /** * The qualified name of the QueuedResource that requested this Node. */ readonly queuedResource: string; /** * The runtime version running in the Node. */ readonly runtimeVersion: string; /** * The scheduling options for this node. */ readonly schedulingConfig: outputs.tpu.v2alpha1.SchedulingConfigResponse; /** * 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. */ readonly serviceAccount: outputs.tpu.v2alpha1.ServiceAccountResponse; /** * Shielded Instance options. */ readonly shieldedInstanceConfig: outputs.tpu.v2alpha1.ShieldedInstanceConfigResponse; /** * The current state for the TPU Node. */ readonly state: string; /** * The Symptoms that have occurred to the TPU Node. */ readonly symptoms: outputs.tpu.v2alpha1.SymptomResponse[]; /** * Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls. */ readonly tags: string[]; } /** * Gets the details of a node. */ export declare function getNodeOutput(args: GetNodeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetNodeOutputArgs { location: pulumi.Input; nodeId: pulumi.Input; project?: pulumi.Input; }