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 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 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; /** * DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances. * * @deprecated Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances. */ readonly ipAddress: pulumi.Output; /** * Resource labels to represent user-provided metadata. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Immutable. The name of the TPU */ readonly name: pulumi.Output; /** * The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used. */ readonly network: pulumi.Output; /** * The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow 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; /** * DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances. * * @deprecated Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances. */ readonly port: pulumi.Output; readonly project: pulumi.Output; /** * The scheduling options for this node. */ readonly schedulingConfig: pulumi.Output; /** * The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data. */ readonly serviceAccount: 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; /** * The version of Tensorflow running in the Node. */ readonly tensorflowVersion: pulumi.Output; /** * Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled. */ readonly useServiceNetworking: 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 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 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; /** * The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used. */ network?: pulumi.Input; /** * The unqualified resource name. */ nodeId?: pulumi.Input; project?: pulumi.Input; /** * The scheduling options for this node. */ schedulingConfig?: pulumi.Input; /** * The version of Tensorflow running in the Node. */ tensorflowVersion: pulumi.Input; /** * Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled. */ useServiceNetworking?: pulumi.Input; }