Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.tpu/v2.Node
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a node. Auto-naming is currently not supported for this resource.
Create Node Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Node(name: string, args: NodeArgs, opts?: CustomResourceOptions);
@overload
def Node(resource_name: str,
args: NodeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Node(resource_name: str,
opts: Optional[ResourceOptions] = None,
runtime_version: Optional[str] = None,
description: Optional[str] = None,
location: Optional[str] = None,
data_disks: Optional[Sequence[AttachedDiskArgs]] = None,
accelerator_config: Optional[AcceleratorConfigArgs] = None,
network_config: Optional[NetworkConfigArgs] = None,
labels: Optional[Mapping[str, str]] = None,
cidr_block: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
health: Optional[NodeHealth] = None,
node_id: Optional[str] = None,
project: Optional[str] = None,
accelerator_type: Optional[str] = None,
scheduling_config: Optional[SchedulingConfigArgs] = None,
service_account: Optional[ServiceAccountArgs] = None,
shielded_instance_config: Optional[ShieldedInstanceConfigArgs] = None,
tags: Optional[Sequence[str]] = None)
func NewNode(ctx *Context, name string, args NodeArgs, opts ...ResourceOption) (*Node, error)
public Node(string name, NodeArgs args, CustomResourceOptions? opts = null)
type: google-native:tpu/v2:Node
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplenodeResourceResourceFromTpuv2 = new GoogleNative.TPU.V2.Node("examplenodeResourceResourceFromTpuv2", new()
{
RuntimeVersion = "string",
Description = "string",
Location = "string",
DataDisks = new[]
{
new GoogleNative.TPU.V2.Inputs.AttachedDiskArgs
{
Mode = GoogleNative.TPU.V2.AttachedDiskMode.DiskModeUnspecified,
SourceDisk = "string",
},
},
AcceleratorConfig = new GoogleNative.TPU.V2.Inputs.AcceleratorConfigArgs
{
Topology = "string",
Type = GoogleNative.TPU.V2.AcceleratorConfigType.TypeUnspecified,
},
NetworkConfig = new GoogleNative.TPU.V2.Inputs.NetworkConfigArgs
{
CanIpForward = false,
EnableExternalIps = false,
Network = "string",
Subnetwork = "string",
},
Labels =
{
{ "string", "string" },
},
CidrBlock = "string",
Metadata =
{
{ "string", "string" },
},
Health = GoogleNative.TPU.V2.NodeHealth.HealthUnspecified,
NodeId = "string",
Project = "string",
AcceleratorType = "string",
SchedulingConfig = new GoogleNative.TPU.V2.Inputs.SchedulingConfigArgs
{
Preemptible = false,
Reserved = false,
},
ServiceAccount = new GoogleNative.TPU.V2.Inputs.ServiceAccountArgs
{
Email = "string",
Scope = new[]
{
"string",
},
},
ShieldedInstanceConfig = new GoogleNative.TPU.V2.Inputs.ShieldedInstanceConfigArgs
{
EnableSecureBoot = false,
},
Tags = new[]
{
"string",
},
});
example, err := tpuv2.NewNode(ctx, "examplenodeResourceResourceFromTpuv2", &tpuv2.NodeArgs{
RuntimeVersion: pulumi.String("string"),
Description: pulumi.String("string"),
Location: pulumi.String("string"),
DataDisks: tpu.AttachedDiskArray{
&tpu.AttachedDiskArgs{
Mode: tpuv2.AttachedDiskModeDiskModeUnspecified,
SourceDisk: pulumi.String("string"),
},
},
AcceleratorConfig: &tpu.AcceleratorConfigArgs{
Topology: pulumi.String("string"),
Type: tpuv2.AcceleratorConfigTypeTypeUnspecified,
},
NetworkConfig: &tpu.NetworkConfigArgs{
CanIpForward: pulumi.Bool(false),
EnableExternalIps: pulumi.Bool(false),
Network: pulumi.String("string"),
Subnetwork: pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
CidrBlock: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Health: tpuv2.NodeHealthHealthUnspecified,
NodeId: pulumi.String("string"),
Project: pulumi.String("string"),
AcceleratorType: pulumi.String("string"),
SchedulingConfig: &tpu.SchedulingConfigArgs{
Preemptible: pulumi.Bool(false),
Reserved: pulumi.Bool(false),
},
ServiceAccount: &tpu.ServiceAccountArgs{
Email: pulumi.String("string"),
Scope: pulumi.StringArray{
pulumi.String("string"),
},
},
ShieldedInstanceConfig: &tpu.ShieldedInstanceConfigArgs{
EnableSecureBoot: pulumi.Bool(false),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var examplenodeResourceResourceFromTpuv2 = new Node("examplenodeResourceResourceFromTpuv2", NodeArgs.builder()
.runtimeVersion("string")
.description("string")
.location("string")
.dataDisks(AttachedDiskArgs.builder()
.mode("DISK_MODE_UNSPECIFIED")
.sourceDisk("string")
.build())
.acceleratorConfig(AcceleratorConfigArgs.builder()
.topology("string")
.type("TYPE_UNSPECIFIED")
.build())
.networkConfig(NetworkConfigArgs.builder()
.canIpForward(false)
.enableExternalIps(false)
.network("string")
.subnetwork("string")
.build())
.labels(Map.of("string", "string"))
.cidrBlock("string")
.metadata(Map.of("string", "string"))
.health("HEALTH_UNSPECIFIED")
.nodeId("string")
.project("string")
.acceleratorType("string")
.schedulingConfig(SchedulingConfigArgs.builder()
.preemptible(false)
.reserved(false)
.build())
.serviceAccount(ServiceAccountArgs.builder()
.email("string")
.scope("string")
.build())
.shieldedInstanceConfig(ShieldedInstanceConfigArgs.builder()
.enableSecureBoot(false)
.build())
.tags("string")
.build());
examplenode_resource_resource_from_tpuv2 = google_native.tpu.v2.Node("examplenodeResourceResourceFromTpuv2",
runtime_version="string",
description="string",
location="string",
data_disks=[google_native.tpu.v2.AttachedDiskArgs(
mode=google_native.tpu.v2.AttachedDiskMode.DISK_MODE_UNSPECIFIED,
source_disk="string",
)],
accelerator_config=google_native.tpu.v2.AcceleratorConfigArgs(
topology="string",
type=google_native.tpu.v2.AcceleratorConfigType.TYPE_UNSPECIFIED,
),
network_config=google_native.tpu.v2.NetworkConfigArgs(
can_ip_forward=False,
enable_external_ips=False,
network="string",
subnetwork="string",
),
labels={
"string": "string",
},
cidr_block="string",
metadata={
"string": "string",
},
health=google_native.tpu.v2.NodeHealth.HEALTH_UNSPECIFIED,
node_id="string",
project="string",
accelerator_type="string",
scheduling_config=google_native.tpu.v2.SchedulingConfigArgs(
preemptible=False,
reserved=False,
),
service_account=google_native.tpu.v2.ServiceAccountArgs(
email="string",
scope=["string"],
),
shielded_instance_config=google_native.tpu.v2.ShieldedInstanceConfigArgs(
enable_secure_boot=False,
),
tags=["string"])
const examplenodeResourceResourceFromTpuv2 = new google_native.tpu.v2.Node("examplenodeResourceResourceFromTpuv2", {
runtimeVersion: "string",
description: "string",
location: "string",
dataDisks: [{
mode: google_native.tpu.v2.AttachedDiskMode.DiskModeUnspecified,
sourceDisk: "string",
}],
acceleratorConfig: {
topology: "string",
type: google_native.tpu.v2.AcceleratorConfigType.TypeUnspecified,
},
networkConfig: {
canIpForward: false,
enableExternalIps: false,
network: "string",
subnetwork: "string",
},
labels: {
string: "string",
},
cidrBlock: "string",
metadata: {
string: "string",
},
health: google_native.tpu.v2.NodeHealth.HealthUnspecified,
nodeId: "string",
project: "string",
acceleratorType: "string",
schedulingConfig: {
preemptible: false,
reserved: false,
},
serviceAccount: {
email: "string",
scope: ["string"],
},
shieldedInstanceConfig: {
enableSecureBoot: false,
},
tags: ["string"],
});
type: google-native:tpu/v2:Node
properties:
acceleratorConfig:
topology: string
type: TYPE_UNSPECIFIED
acceleratorType: string
cidrBlock: string
dataDisks:
- mode: DISK_MODE_UNSPECIFIED
sourceDisk: string
description: string
health: HEALTH_UNSPECIFIED
labels:
string: string
location: string
metadata:
string: string
networkConfig:
canIpForward: false
enableExternalIps: false
network: string
subnetwork: string
nodeId: string
project: string
runtimeVersion: string
schedulingConfig:
preemptible: false
reserved: false
serviceAccount:
email: string
scope:
- string
shieldedInstanceConfig:
enableSecureBoot: false
tags:
- string
Node Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Node resource accepts the following input properties:
- Runtime
Version string - The runtime version running in the Node.
- Accelerator
Config Pulumi.Google Native. TPU. V2. Inputs. Accelerator Config - The AccleratorConfig for the TPU Node.
- Accelerator
Type string - Optional. The type of hardware accelerators associated with this node.
- Cidr
Block string - 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.
- Data
Disks List<Pulumi.Google Native. TPU. V2. Inputs. Attached Disk> - The additional data disks for the Node.
- Description string
- The user-supplied description of the TPU. Maximum of 512 characters.
- Health
Pulumi.
Google Native. TPU. V2. Node Health - The health status of the TPU node.
- Labels Dictionary<string, string>
- Resource labels to represent user-provided metadata.
- Location string
- Metadata Dictionary<string, string>
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- Network
Config Pulumi.Google Native. TPU. V2. Inputs. Network Config - Network configurations for the TPU node.
- Node
Id string - The unqualified resource name.
- Project string
- Scheduling
Config Pulumi.Google Native. TPU. V2. Inputs. Scheduling Config - The scheduling options for this node.
- Service
Account Pulumi.Google Native. TPU. V2. Inputs. Service Account - 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.
- Shielded
Instance Pulumi.Config Google Native. TPU. V2. Inputs. Shielded Instance Config - Shielded Instance options.
- List<string>
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- Runtime
Version string - The runtime version running in the Node.
- Accelerator
Config AcceleratorConfig Args - The AccleratorConfig for the TPU Node.
- Accelerator
Type string - Optional. The type of hardware accelerators associated with this node.
- Cidr
Block string - 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.
- Data
Disks []AttachedDisk Args - The additional data disks for the Node.
- Description string
- The user-supplied description of the TPU. Maximum of 512 characters.
- Health
Node
Health - The health status of the TPU node.
- Labels map[string]string
- Resource labels to represent user-provided metadata.
- Location string
- Metadata map[string]string
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- Network
Config NetworkConfig Args - Network configurations for the TPU node.
- Node
Id string - The unqualified resource name.
- Project string
- Scheduling
Config SchedulingConfig Args - The scheduling options for this node.
- Service
Account ServiceAccount Args - 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.
- Shielded
Instance ShieldedConfig Instance Config Args - Shielded Instance options.
- []string
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- runtime
Version String - The runtime version running in the Node.
- accelerator
Config AcceleratorConfig - The AccleratorConfig for the TPU Node.
- accelerator
Type String - Optional. The type of hardware accelerators associated with this node.
- cidr
Block String - 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.
- data
Disks List<AttachedDisk> - The additional data disks for the Node.
- description String
- The user-supplied description of the TPU. Maximum of 512 characters.
- health
Node
Health - The health status of the TPU node.
- labels Map<String,String>
- Resource labels to represent user-provided metadata.
- location String
- metadata Map<String,String>
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- network
Config NetworkConfig - Network configurations for the TPU node.
- node
Id String - The unqualified resource name.
- project String
- scheduling
Config SchedulingConfig - The scheduling options for this node.
- service
Account ServiceAccount - 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.
- shielded
Instance ShieldedConfig Instance Config - Shielded Instance options.
- List<String>
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- runtime
Version string - The runtime version running in the Node.
- accelerator
Config AcceleratorConfig - The AccleratorConfig for the TPU Node.
- accelerator
Type string - Optional. The type of hardware accelerators associated with this node.
- cidr
Block string - 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.
- data
Disks AttachedDisk[] - The additional data disks for the Node.
- description string
- The user-supplied description of the TPU. Maximum of 512 characters.
- health
Node
Health - The health status of the TPU node.
- labels {[key: string]: string}
- Resource labels to represent user-provided metadata.
- location string
- metadata {[key: string]: string}
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- network
Config NetworkConfig - Network configurations for the TPU node.
- node
Id string - The unqualified resource name.
- project string
- scheduling
Config SchedulingConfig - The scheduling options for this node.
- service
Account ServiceAccount - 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.
- shielded
Instance ShieldedConfig Instance Config - Shielded Instance options.
- string[]
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- runtime_
version str - The runtime version running in the Node.
- accelerator_
config AcceleratorConfig Args - The AccleratorConfig for the TPU Node.
- accelerator_
type str - Optional. The type of hardware accelerators associated with this node.
- cidr_
block str - 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.
- data_
disks Sequence[AttachedDisk Args] - The additional data disks for the Node.
- description str
- The user-supplied description of the TPU. Maximum of 512 characters.
- health
Node
Health - The health status of the TPU node.
- labels Mapping[str, str]
- Resource labels to represent user-provided metadata.
- location str
- metadata Mapping[str, str]
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- network_
config NetworkConfig Args - Network configurations for the TPU node.
- node_
id str - The unqualified resource name.
- project str
- scheduling_
config SchedulingConfig Args - The scheduling options for this node.
- service_
account ServiceAccount Args - 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.
- shielded_
instance_ Shieldedconfig Instance Config Args - Shielded Instance options.
- Sequence[str]
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- runtime
Version String - The runtime version running in the Node.
- accelerator
Config Property Map - The AccleratorConfig for the TPU Node.
- accelerator
Type String - Optional. The type of hardware accelerators associated with this node.
- cidr
Block String - 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.
- data
Disks List<Property Map> - The additional data disks for the Node.
- description String
- The user-supplied description of the TPU. Maximum of 512 characters.
- health "HEALTH_UNSPECIFIED" | "HEALTHY" | "TIMEOUT" | "UNHEALTHY_TENSORFLOW" | "UNHEALTHY_MAINTENANCE"
- The health status of the TPU node.
- labels Map<String>
- Resource labels to represent user-provided metadata.
- location String
- metadata Map<String>
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- network
Config Property Map - Network configurations for the TPU node.
- node
Id String - The unqualified resource name.
- project String
- scheduling
Config Property Map - The scheduling options for this node.
- service
Account Property Map - 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.
- shielded
Instance Property MapConfig - Shielded Instance options.
- List<String>
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
Outputs
All input properties are implicitly available as output properties. Additionally, the Node resource produces the following output properties:
- Api
Version string - The API version that created this Node.
- Create
Time string - The time when the node was created.
- Health
Description string - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Multislice
Node bool - Whether the Node belongs to a Multislice group.
- Name string
- Immutable. The name of the TPU.
- Network
Endpoints List<Pulumi.Google Native. TPU. V2. Outputs. Network Endpoint Response> - 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.
- Queued
Resource string - The qualified name of the QueuedResource that requested this Node.
- State string
- The current state for the TPU Node.
- Symptoms
List<Pulumi.
Google Native. TPU. V2. Outputs. Symptom Response> - The Symptoms that have occurred to the TPU Node.
- Api
Version string - The API version that created this Node.
- Create
Time string - The time when the node was created.
- Health
Description string - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Multislice
Node bool - Whether the Node belongs to a Multislice group.
- Name string
- Immutable. The name of the TPU.
- Network
Endpoints []NetworkEndpoint Response - 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.
- Queued
Resource string - The qualified name of the QueuedResource that requested this Node.
- State string
- The current state for the TPU Node.
- Symptoms
[]Symptom
Response - The Symptoms that have occurred to the TPU Node.
- api
Version String - The API version that created this Node.
- create
Time String - The time when the node was created.
- health
Description String - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- id String
- The provider-assigned unique ID for this managed resource.
- multislice
Node Boolean - Whether the Node belongs to a Multislice group.
- name String
- Immutable. The name of the TPU.
- network
Endpoints List<NetworkEndpoint Response> - 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.
- queued
Resource String - The qualified name of the QueuedResource that requested this Node.
- state String
- The current state for the TPU Node.
- symptoms
List<Symptom
Response> - The Symptoms that have occurred to the TPU Node.
- api
Version string - The API version that created this Node.
- create
Time string - The time when the node was created.
- health
Description string - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- id string
- The provider-assigned unique ID for this managed resource.
- multislice
Node boolean - Whether the Node belongs to a Multislice group.
- name string
- Immutable. The name of the TPU.
- network
Endpoints NetworkEndpoint Response[] - 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.
- queued
Resource string - The qualified name of the QueuedResource that requested this Node.
- state string
- The current state for the TPU Node.
- symptoms
Symptom
Response[] - The Symptoms that have occurred to the TPU Node.
- api_
version str - The API version that created this Node.
- create_
time str - The time when the node was created.
- health_
description str - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- id str
- The provider-assigned unique ID for this managed resource.
- multislice_
node bool - Whether the Node belongs to a Multislice group.
- name str
- Immutable. The name of the TPU.
- network_
endpoints Sequence[NetworkEndpoint Response] - 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.
- queued_
resource str - The qualified name of the QueuedResource that requested this Node.
- state str
- The current state for the TPU Node.
- symptoms
Sequence[Symptom
Response] - The Symptoms that have occurred to the TPU Node.
- api
Version String - The API version that created this Node.
- create
Time String - The time when the node was created.
- health
Description String - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- id String
- The provider-assigned unique ID for this managed resource.
- multislice
Node Boolean - Whether the Node belongs to a Multislice group.
- name String
- Immutable. The name of the TPU.
- network
Endpoints List<Property Map> - 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.
- queued
Resource String - The qualified name of the QueuedResource that requested this Node.
- state String
- The current state for the TPU Node.
- symptoms List<Property Map>
- The Symptoms that have occurred to the TPU Node.
Supporting Types
AcceleratorConfig, AcceleratorConfigArgs
- Topology string
- Topology of TPU in chips.
- Type
Pulumi.
Google Native. TPU. V2. Accelerator Config Type - Type of TPU.
- Topology string
- Topology of TPU in chips.
- Type
Accelerator
Config Type - Type of TPU.
- topology String
- Topology of TPU in chips.
- type
Accelerator
Config Type - Type of TPU.
- topology string
- Topology of TPU in chips.
- type
Accelerator
Config Type - Type of TPU.
- topology str
- Topology of TPU in chips.
- type
Accelerator
Config Type - Type of TPU.
- topology String
- Topology of TPU in chips.
- type "TYPE_UNSPECIFIED" | "V2" | "V3" | "V4"
- Type of TPU.
AcceleratorConfigResponse, AcceleratorConfigResponseArgs
AcceleratorConfigType, AcceleratorConfigTypeArgs
- Type
Unspecified - TYPE_UNSPECIFIEDUnspecified version.
- V2
- V2TPU v2.
- V3
- V3TPU v3.
- V4
- V4TPU v4.
- Accelerator
Config Type Type Unspecified - TYPE_UNSPECIFIEDUnspecified version.
- Accelerator
Config Type V2 - V2TPU v2.
- Accelerator
Config Type V3 - V3TPU v3.
- Accelerator
Config Type V4 - V4TPU v4.
- Type
Unspecified - TYPE_UNSPECIFIEDUnspecified version.
- V2
- V2TPU v2.
- V3
- V3TPU v3.
- V4
- V4TPU v4.
- Type
Unspecified - TYPE_UNSPECIFIEDUnspecified version.
- V2
- V2TPU v2.
- V3
- V3TPU v3.
- V4
- V4TPU v4.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDUnspecified version.
- V2
- V2TPU v2.
- V3
- V3TPU v3.
- V4
- V4TPU v4.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDUnspecified version.
- "V2"
- V2TPU v2.
- "V3"
- V3TPU v3.
- "V4"
- V4TPU v4.
AccessConfigResponse, AccessConfigResponseArgs
- External
Ip string - An external IP address associated with the TPU worker.
- External
Ip string - An external IP address associated with the TPU worker.
- external
Ip String - An external IP address associated with the TPU worker.
- external
Ip string - An external IP address associated with the TPU worker.
- external_
ip str - An external IP address associated with the TPU worker.
- external
Ip String - An external IP address associated with the TPU worker.
AttachedDisk, AttachedDiskArgs
- Mode
Pulumi.
Google Native. TPU. V2. Attached Disk Mode - The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- Source
Disk string - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- Mode
Attached
Disk Mode - The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- Source
Disk string - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode
Attached
Disk Mode - The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source
Disk String - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode
Attached
Disk Mode - The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source
Disk string - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode
Attached
Disk Mode - The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source_
disk str - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode "DISK_MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY"
- The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source
Disk String - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
AttachedDiskMode, AttachedDiskModeArgs
- Disk
Mode Unspecified - DISK_MODE_UNSPECIFIEDThe disk mode is not known/set.
- Read
Write - READ_WRITEAttaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.
- Read
Only - READ_ONLYAttaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.
- Attached
Disk Mode Disk Mode Unspecified - DISK_MODE_UNSPECIFIEDThe disk mode is not known/set.
- Attached
Disk Mode Read Write - READ_WRITEAttaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.
- Attached
Disk Mode Read Only - READ_ONLYAttaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.
- Disk
Mode Unspecified - DISK_MODE_UNSPECIFIEDThe disk mode is not known/set.
- Read
Write - READ_WRITEAttaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.
- Read
Only - READ_ONLYAttaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.
- Disk
Mode Unspecified - DISK_MODE_UNSPECIFIEDThe disk mode is not known/set.
- Read
Write - READ_WRITEAttaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.
- Read
Only - READ_ONLYAttaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.
- DISK_MODE_UNSPECIFIED
- DISK_MODE_UNSPECIFIEDThe disk mode is not known/set.
- READ_WRITE
- READ_WRITEAttaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.
- READ_ONLY
- READ_ONLYAttaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.
- "DISK_MODE_UNSPECIFIED"
- DISK_MODE_UNSPECIFIEDThe disk mode is not known/set.
- "READ_WRITE"
- READ_WRITEAttaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.
- "READ_ONLY"
- READ_ONLYAttaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.
AttachedDiskResponse, AttachedDiskResponseArgs
- Mode string
- The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- Source
Disk string - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- Mode string
- The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- Source
Disk string - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode String
- The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source
Disk String - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode string
- The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source
Disk string - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode str
- The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source_
disk str - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
- mode String
- The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
- source
Disk String - Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
NetworkConfig, NetworkConfigArgs
- Can
Ip boolForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- Enable
External boolIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- Network string
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- Subnetwork string
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- Can
Ip boolForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- Enable
External boolIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- Network string
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- Subnetwork string
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can
Ip BooleanForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable
External BooleanIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network String
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork String
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can
Ip booleanForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable
External booleanIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network string
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork string
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can_
ip_ boolforward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable_
external_ boolips - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network str
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork str
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can
Ip BooleanForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable
External BooleanIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network String
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork String
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
NetworkConfigResponse, NetworkConfigResponseArgs
- Can
Ip boolForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- Enable
External boolIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- Network string
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- Subnetwork string
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- Can
Ip boolForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- Enable
External boolIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- Network string
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- Subnetwork string
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can
Ip BooleanForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable
External BooleanIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network String
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork String
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can
Ip booleanForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable
External booleanIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network string
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork string
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can_
ip_ boolforward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable_
external_ boolips - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network str
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork str
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
- can
Ip BooleanForward - Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
- enable
External BooleanIps - Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
- network String
- The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
- subnetwork String
- The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
NetworkEndpointResponse, NetworkEndpointResponseArgs
- Access
Config Pulumi.Google Native. TPU. V2. Inputs. Access Config Response - The access config for the TPU worker.
- Ip
Address string - The internal IP address of this network endpoint.
- Port int
- The port of this network endpoint.
- Access
Config AccessConfig Response - The access config for the TPU worker.
- Ip
Address string - The internal IP address of this network endpoint.
- Port int
- The port of this network endpoint.
- access
Config AccessConfig Response - The access config for the TPU worker.
- ip
Address String - The internal IP address of this network endpoint.
- port Integer
- The port of this network endpoint.
- access
Config AccessConfig Response - The access config for the TPU worker.
- ip
Address string - The internal IP address of this network endpoint.
- port number
- The port of this network endpoint.
- access_
config AccessConfig Response - The access config for the TPU worker.
- ip_
address str - The internal IP address of this network endpoint.
- port int
- The port of this network endpoint.
- access
Config Property Map - The access config for the TPU worker.
- ip
Address String - The internal IP address of this network endpoint.
- port Number
- The port of this network endpoint.
NodeHealth, NodeHealthArgs
- Health
Unspecified - HEALTH_UNSPECIFIEDHealth status is unknown: not initialized or failed to retrieve.
- Healthy
- HEALTHYThe resource is healthy.
- Timeout
- TIMEOUTThe resource is unresponsive.
- Unhealthy
Tensorflow - UNHEALTHY_TENSORFLOWThe in-guest ML stack is unhealthy.
- Unhealthy
Maintenance - UNHEALTHY_MAINTENANCEThe node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
- Node
Health Health Unspecified - HEALTH_UNSPECIFIEDHealth status is unknown: not initialized or failed to retrieve.
- Node
Health Healthy - HEALTHYThe resource is healthy.
- Node
Health Timeout - TIMEOUTThe resource is unresponsive.
- Node
Health Unhealthy Tensorflow - UNHEALTHY_TENSORFLOWThe in-guest ML stack is unhealthy.
- Node
Health Unhealthy Maintenance - UNHEALTHY_MAINTENANCEThe node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
- Health
Unspecified - HEALTH_UNSPECIFIEDHealth status is unknown: not initialized or failed to retrieve.
- Healthy
- HEALTHYThe resource is healthy.
- Timeout
- TIMEOUTThe resource is unresponsive.
- Unhealthy
Tensorflow - UNHEALTHY_TENSORFLOWThe in-guest ML stack is unhealthy.
- Unhealthy
Maintenance - UNHEALTHY_MAINTENANCEThe node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
- Health
Unspecified - HEALTH_UNSPECIFIEDHealth status is unknown: not initialized or failed to retrieve.
- Healthy
- HEALTHYThe resource is healthy.
- Timeout
- TIMEOUTThe resource is unresponsive.
- Unhealthy
Tensorflow - UNHEALTHY_TENSORFLOWThe in-guest ML stack is unhealthy.
- Unhealthy
Maintenance - UNHEALTHY_MAINTENANCEThe node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
- HEALTH_UNSPECIFIED
- HEALTH_UNSPECIFIEDHealth status is unknown: not initialized or failed to retrieve.
- HEALTHY
- HEALTHYThe resource is healthy.
- TIMEOUT
- TIMEOUTThe resource is unresponsive.
- UNHEALTHY_TENSORFLOW
- UNHEALTHY_TENSORFLOWThe in-guest ML stack is unhealthy.
- UNHEALTHY_MAINTENANCE
- UNHEALTHY_MAINTENANCEThe node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
- "HEALTH_UNSPECIFIED"
- HEALTH_UNSPECIFIEDHealth status is unknown: not initialized or failed to retrieve.
- "HEALTHY"
- HEALTHYThe resource is healthy.
- "TIMEOUT"
- TIMEOUTThe resource is unresponsive.
- "UNHEALTHY_TENSORFLOW"
- UNHEALTHY_TENSORFLOWThe in-guest ML stack is unhealthy.
- "UNHEALTHY_MAINTENANCE"
- UNHEALTHY_MAINTENANCEThe node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
SchedulingConfig, SchedulingConfigArgs
- Preemptible bool
- Defines whether the node is preemptible.
- Reserved bool
- Whether the node is created under a reservation.
- Preemptible bool
- Defines whether the node is preemptible.
- Reserved bool
- Whether the node is created under a reservation.
- preemptible Boolean
- Defines whether the node is preemptible.
- reserved Boolean
- Whether the node is created under a reservation.
- preemptible boolean
- Defines whether the node is preemptible.
- reserved boolean
- Whether the node is created under a reservation.
- preemptible bool
- Defines whether the node is preemptible.
- reserved bool
- Whether the node is created under a reservation.
- preemptible Boolean
- Defines whether the node is preemptible.
- reserved Boolean
- Whether the node is created under a reservation.
SchedulingConfigResponse, SchedulingConfigResponseArgs
- Preemptible bool
- Defines whether the node is preemptible.
- Reserved bool
- Whether the node is created under a reservation.
- Preemptible bool
- Defines whether the node is preemptible.
- Reserved bool
- Whether the node is created under a reservation.
- preemptible Boolean
- Defines whether the node is preemptible.
- reserved Boolean
- Whether the node is created under a reservation.
- preemptible boolean
- Defines whether the node is preemptible.
- reserved boolean
- Whether the node is created under a reservation.
- preemptible bool
- Defines whether the node is preemptible.
- reserved bool
- Whether the node is created under a reservation.
- preemptible Boolean
- Defines whether the node is preemptible.
- reserved Boolean
- Whether the node is created under a reservation.
ServiceAccount, ServiceAccountArgs
ServiceAccountResponse, ServiceAccountResponseArgs
ShieldedInstanceConfig, ShieldedInstanceConfigArgs
- Enable
Secure boolBoot - Defines whether the instance has Secure Boot enabled.
- Enable
Secure boolBoot - Defines whether the instance has Secure Boot enabled.
- enable
Secure BooleanBoot - Defines whether the instance has Secure Boot enabled.
- enable
Secure booleanBoot - Defines whether the instance has Secure Boot enabled.
- enable_
secure_ boolboot - Defines whether the instance has Secure Boot enabled.
- enable
Secure BooleanBoot - Defines whether the instance has Secure Boot enabled.
ShieldedInstanceConfigResponse, ShieldedInstanceConfigResponseArgs
- Enable
Secure boolBoot - Defines whether the instance has Secure Boot enabled.
- Enable
Secure boolBoot - Defines whether the instance has Secure Boot enabled.
- enable
Secure BooleanBoot - Defines whether the instance has Secure Boot enabled.
- enable
Secure booleanBoot - Defines whether the instance has Secure Boot enabled.
- enable_
secure_ boolboot - Defines whether the instance has Secure Boot enabled.
- enable
Secure BooleanBoot - Defines whether the instance has Secure Boot enabled.
SymptomResponse, SymptomResponseArgs
- Create
Time string - Timestamp when the Symptom is created.
- Details string
- Detailed information of the current Symptom.
- Symptom
Type string - Type of the Symptom.
- Worker
Id string - A string used to uniquely distinguish a worker within a TPU node.
- Create
Time string - Timestamp when the Symptom is created.
- Details string
- Detailed information of the current Symptom.
- Symptom
Type string - Type of the Symptom.
- Worker
Id string - A string used to uniquely distinguish a worker within a TPU node.
- create
Time String - Timestamp when the Symptom is created.
- details String
- Detailed information of the current Symptom.
- symptom
Type String - Type of the Symptom.
- worker
Id String - A string used to uniquely distinguish a worker within a TPU node.
- create
Time string - Timestamp when the Symptom is created.
- details string
- Detailed information of the current Symptom.
- symptom
Type string - Type of the Symptom.
- worker
Id string - A string used to uniquely distinguish a worker within a TPU node.
- create_
time str - Timestamp when the Symptom is created.
- details str
- Detailed information of the current Symptom.
- symptom_
type str - Type of the Symptom.
- worker_
id str - A string used to uniquely distinguish a worker within a TPU node.
- create
Time String - Timestamp when the Symptom is created.
- details String
- Detailed information of the current Symptom.
- symptom
Type String - Type of the Symptom.
- worker
Id String - A string used to uniquely distinguish a worker within a TPU node.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.