Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.tpu/v2.getNode
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets the details of a node.
Using getNode
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNode(args: GetNodeArgs, opts?: InvokeOptions): Promise<GetNodeResult>
function getNodeOutput(args: GetNodeOutputArgs, opts?: InvokeOptions): Output<GetNodeResult>
def get_node(location: Optional[str] = None,
node_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNodeResult
def get_node_output(location: Optional[pulumi.Input[str]] = None,
node_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNodeResult]
func LookupNode(ctx *Context, args *LookupNodeArgs, opts ...InvokeOption) (*LookupNodeResult, error)
func LookupNodeOutput(ctx *Context, args *LookupNodeOutputArgs, opts ...InvokeOption) LookupNodeResultOutput
> Note: This function is named LookupNode
in the Go SDK.
public static class GetNode
{
public static Task<GetNodeResult> InvokeAsync(GetNodeArgs args, InvokeOptions? opts = null)
public static Output<GetNodeResult> Invoke(GetNodeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNodeResult> getNode(GetNodeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:tpu/v2:getNode
arguments:
# arguments dictionary
The following arguments are supported:
getNode Result
The following output properties are available:
- Accelerator
Config Pulumi.Google Native. TPU. V2. Outputs. Accelerator Config Response - The AccleratorConfig for the TPU Node.
- Accelerator
Type string - Optional. The type of hardware accelerators associated with this node.
- Api
Version string - The API version that created 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.
- Create
Time string - The time when the node was created.
- Data
Disks List<Pulumi.Google Native. TPU. V2. Outputs. Attached Disk Response> - The additional data disks for the Node.
- Description string
- The user-supplied description of the TPU. Maximum of 512 characters.
- Health string
- The health status of the TPU node.
- Health
Description string - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- Labels Dictionary<string, string>
- Resource labels to represent user-provided metadata.
- Metadata Dictionary<string, string>
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- Multislice
Node bool - Whether the Node belongs to a Multislice group.
- Name string
- Immutable. The name of the TPU.
- Network
Config Pulumi.Google Native. TPU. V2. Outputs. Network Config Response - Network configurations for the TPU node.
- 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.
- Runtime
Version string - The runtime version running in the Node.
- Scheduling
Config Pulumi.Google Native. TPU. V2. Outputs. Scheduling Config Response - The scheduling options for this node.
- Service
Account Pulumi.Google Native. TPU. V2. Outputs. Service Account Response - 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. Outputs. Shielded Instance Config Response - Shielded Instance options.
- 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.
- List<string>
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- Accelerator
Config AcceleratorConfig Response - The AccleratorConfig for the TPU Node.
- Accelerator
Type string - Optional. The type of hardware accelerators associated with this node.
- Api
Version string - The API version that created 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.
- Create
Time string - The time when the node was created.
- Data
Disks []AttachedDisk Response - The additional data disks for the Node.
- Description string
- The user-supplied description of the TPU. Maximum of 512 characters.
- Health string
- The health status of the TPU node.
- Health
Description string - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- Labels map[string]string
- Resource labels to represent user-provided metadata.
- Metadata map[string]string
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- Multislice
Node bool - Whether the Node belongs to a Multislice group.
- Name string
- Immutable. The name of the TPU.
- Network
Config NetworkConfig Response - Network configurations for the TPU node.
- 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.
- Runtime
Version string - The runtime version running in the Node.
- Scheduling
Config SchedulingConfig Response - The scheduling options for this node.
- Service
Account ServiceAccount Response - 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 Response - Shielded Instance options.
- State string
- The current state for the TPU Node.
- Symptoms
[]Symptom
Response - The Symptoms that have occurred to the TPU Node.
- []string
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- accelerator
Config AcceleratorConfig Response - The AccleratorConfig for the TPU Node.
- accelerator
Type String - Optional. The type of hardware accelerators associated with this node.
- api
Version String - The API version that created 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.
- create
Time String - The time when the node was created.
- data
Disks List<AttachedDisk Response> - The additional data disks for the Node.
- description String
- The user-supplied description of the TPU. Maximum of 512 characters.
- health String
- The health status of the TPU node.
- health
Description String - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- labels Map<String,String>
- Resource labels to represent user-provided metadata.
- metadata Map<String,String>
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- multislice
Node Boolean - Whether the Node belongs to a Multislice group.
- name String
- Immutable. The name of the TPU.
- network
Config NetworkConfig Response - Network configurations for the TPU node.
- 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.
- runtime
Version String - The runtime version running in the Node.
- scheduling
Config SchedulingConfig Response - The scheduling options for this node.
- service
Account ServiceAccount Response - 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 Response - Shielded Instance options.
- state String
- The current state for the TPU Node.
- symptoms
List<Symptom
Response> - The Symptoms that have occurred to the TPU Node.
- List<String>
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- accelerator
Config AcceleratorConfig Response - The AccleratorConfig for the TPU Node.
- accelerator
Type string - Optional. The type of hardware accelerators associated with this node.
- api
Version string - The API version that created 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.
- create
Time string - The time when the node was created.
- data
Disks AttachedDisk Response[] - The additional data disks for the Node.
- description string
- The user-supplied description of the TPU. Maximum of 512 characters.
- health string
- The health status of the TPU node.
- health
Description string - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- labels {[key: string]: string}
- Resource labels to represent user-provided metadata.
- metadata {[key: string]: string}
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- multislice
Node boolean - Whether the Node belongs to a Multislice group.
- name string
- Immutable. The name of the TPU.
- network
Config NetworkConfig Response - Network configurations for the TPU node.
- 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.
- runtime
Version string - The runtime version running in the Node.
- scheduling
Config SchedulingConfig Response - The scheduling options for this node.
- service
Account ServiceAccount Response - 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 Response - Shielded Instance options.
- state string
- The current state for the TPU Node.
- symptoms
Symptom
Response[] - The Symptoms that have occurred to the TPU Node.
- string[]
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- accelerator_
config AcceleratorConfig Response - The AccleratorConfig for the TPU Node.
- accelerator_
type str - Optional. The type of hardware accelerators associated with this node.
- api_
version str - The API version that created 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.
- create_
time str - The time when the node was created.
- data_
disks Sequence[AttachedDisk Response] - The additional data disks for the Node.
- description str
- The user-supplied description of the TPU. Maximum of 512 characters.
- health str
- The health status of the TPU node.
- health_
description str - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- labels Mapping[str, str]
- Resource labels to represent user-provided metadata.
- metadata Mapping[str, str]
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- multislice_
node bool - Whether the Node belongs to a Multislice group.
- name str
- Immutable. The name of the TPU.
- network_
config NetworkConfig Response - Network configurations for the TPU node.
- 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.
- runtime_
version str - The runtime version running in the Node.
- scheduling_
config SchedulingConfig Response - The scheduling options for this node.
- service_
account ServiceAccount Response - 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 Response - Shielded Instance options.
- state str
- The current state for the TPU Node.
- symptoms
Sequence[Symptom
Response] - The Symptoms that have occurred to the TPU Node.
- Sequence[str]
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
- accelerator
Config Property Map - The AccleratorConfig for the TPU Node.
- accelerator
Type String - Optional. The type of hardware accelerators associated with this node.
- api
Version String - The API version that created 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.
- create
Time String - The time when the node was created.
- 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 String
- The health status of the TPU node.
- health
Description String - If this field is populated, it contains a description of why the TPU Node is unhealthy.
- labels Map<String>
- Resource labels to represent user-provided metadata.
- metadata Map<String>
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
- multislice
Node Boolean - Whether the Node belongs to a Multislice group.
- name String
- Immutable. The name of the TPU.
- network
Config Property Map - Network configurations for the TPU node.
- 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.
- runtime
Version String - The runtime version running in the Node.
- 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.
- state String
- The current state for the TPU Node.
- symptoms List<Property Map>
- The Symptoms that have occurred to the TPU Node.
- List<String>
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
Supporting Types
AcceleratorConfigResponse
AccessConfigResponse
- 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.
AttachedDiskResponse
- 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".
NetworkConfigResponse
- 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
- 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.
SchedulingConfigResponse
- 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.
ServiceAccountResponse
ShieldedInstanceConfigResponse
- 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
- 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi