import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a node. * Auto-naming is currently not supported for this resource. */ export declare class Node extends pulumi.CustomResource { /** * Get an existing Node resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Node; /** * Returns true if the given object is an instance of Node. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Node; /** * The AccleratorConfig for the TPU Node. */ readonly acceleratorConfig: pulumi.Output; /** * Optional. The type of hardware accelerators associated with this node. */ readonly acceleratorType: pulumi.Output; /** * The API version that created this Node. */ readonly apiVersion: pulumi.Output; /** * 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: pulumi.Output; /** * The time when the node was created. */ readonly createTime: pulumi.Output; /** * The additional data disks for the Node. */ readonly dataDisks: pulumi.Output; /** * The user-supplied description of the TPU. Maximum of 512 characters. */ readonly description: pulumi.Output; /** * The health status of the TPU node. */ readonly health: pulumi.Output; /** * If this field is populated, it contains a description of why the TPU Node is unhealthy. */ readonly healthDescription: pulumi.Output; /** * Resource labels to represent user-provided metadata. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * Whether the Node belongs to a Multislice group. */ readonly multisliceNode: pulumi.Output; /** * Immutable. The name of the TPU. */ readonly name: pulumi.Output; /** * Network configurations for the TPU node. */ readonly networkConfig: pulumi.Output; /** * 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: pulumi.Output; /** * The unqualified resource name. */ readonly nodeId: pulumi.Output; readonly project: pulumi.Output; /** * The qualified name of the QueuedResource that requested this Node. */ readonly queuedResource: pulumi.Output; /** * The runtime version running in the Node. */ readonly runtimeVersion: pulumi.Output; /** * The scheduling options for this node. */ readonly schedulingConfig: pulumi.Output; /** * 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: pulumi.Output; /** * Shielded Instance options. */ readonly shieldedInstanceConfig: pulumi.Output; /** * The current state for the TPU Node. */ readonly state: pulumi.Output; /** * The Symptoms that have occurred to the TPU Node. */ readonly symptoms: pulumi.Output; /** * Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls. */ readonly tags: pulumi.Output; /** * Create a Node resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NodeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Node resource. */ export interface NodeArgs { /** * The AccleratorConfig for the TPU Node. */ acceleratorConfig?: pulumi.Input; /** * Optional. The type of hardware accelerators associated with this node. */ acceleratorType?: pulumi.Input; /** * 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. */ cidrBlock?: pulumi.Input; /** * The additional data disks for the Node. */ dataDisks?: pulumi.Input[]>; /** * The user-supplied description of the TPU. Maximum of 512 characters. */ description?: pulumi.Input; /** * The health status of the TPU node. */ health?: pulumi.Input; /** * Resource labels to represent user-provided metadata. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Network configurations for the TPU node. */ networkConfig?: pulumi.Input; /** * The unqualified resource name. */ nodeId?: pulumi.Input; project?: pulumi.Input; /** * The runtime version running in the Node. */ runtimeVersion: pulumi.Input; /** * The scheduling options for this node. */ schedulingConfig?: pulumi.Input; /** * 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. */ serviceAccount?: pulumi.Input; /** * Shielded Instance options. */ shieldedInstanceConfig?: pulumi.Input; /** * Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls. */ tags?: pulumi.Input[]>; }