Google Native

Pulumi Official
Package maintained by Pulumi
v0.19.1 published on Tuesday, May 24, 2022 by Pulumi

getNode

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/v2alpha1:getNode
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Location string
NodeId string
Project string
Location string
NodeId string
Project string
location String
nodeId String
project String
location string
nodeId string
project string
location String
nodeId String
project String

getNode Result

The following output properties are available:

AcceleratorType string

The type of hardware accelerators associated with this node.

ApiVersion string

The API version that created this Node.

CidrBlock 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.

CreateTime string

The time when the node was created.

DataDisks List<Pulumi.GoogleNative.TPU.V2Alpha1.Outputs.AttachedDiskResponse>

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.

HealthDescription 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

Name string

Immutable. The name of the TPU.

NetworkConfig Pulumi.GoogleNative.TPU.V2Alpha1.Outputs.NetworkConfigResponse

Network configurations for the TPU node.

NetworkEndpoints List<Pulumi.GoogleNative.TPU.V2Alpha1.Outputs.NetworkEndpointResponse>

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.

RuntimeVersion string

The runtime version running in the Node.

SchedulingConfig Pulumi.GoogleNative.TPU.V2Alpha1.Outputs.SchedulingConfigResponse

The scheduling options for this node.

ServiceAccount Pulumi.GoogleNative.TPU.V2Alpha1.Outputs.ServiceAccountResponse

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.

State string

The current state for the TPU Node.

Symptoms List<Pulumi.GoogleNative.TPU.V2Alpha1.Outputs.SymptomResponse>

The Symptoms that have occurred to the TPU Node.

Tags List<string>

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

AcceleratorType string

The type of hardware accelerators associated with this node.

ApiVersion string

The API version that created this Node.

CidrBlock 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.

CreateTime string

The time when the node was created.

DataDisks []AttachedDiskResponse

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.

HealthDescription 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

Name string

Immutable. The name of the TPU.

NetworkConfig NetworkConfigResponse

Network configurations for the TPU node.

NetworkEndpoints []NetworkEndpointResponse

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.

RuntimeVersion string

The runtime version running in the Node.

SchedulingConfig SchedulingConfigResponse

The scheduling options for this node.

ServiceAccount ServiceAccountResponse

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.

State string

The current state for the TPU Node.

Symptoms []SymptomResponse

The Symptoms that have occurred to the TPU Node.

Tags []string

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

acceleratorType String

The type of hardware accelerators associated with this node.

apiVersion String

The API version that created this Node.

cidrBlock 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.

createTime String

The time when the node was created.

dataDisks ListDiskResponse>

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.

healthDescription String

If this field is populated, it contains a description of why the TPU Node is unhealthy.

labels Map

Resource labels to represent user-provided metadata.

metadata Map

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

name String

Immutable. The name of the TPU.

networkConfig NetworkConfigResponse

Network configurations for the TPU node.

networkEndpoints ListEndpointResponse>

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.

runtimeVersion String

The runtime version running in the Node.

schedulingConfig SchedulingConfigResponse

The scheduling options for this node.

serviceAccount ServiceAccountResponse

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.

state String

The current state for the TPU Node.

symptoms ListResponse>

The Symptoms that have occurred to the TPU Node.

tags List

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

acceleratorType string

The type of hardware accelerators associated with this node.

apiVersion string

The API version that created this Node.

cidrBlock 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.

createTime string

The time when the node was created.

dataDisks AttachedDiskResponse[]

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.

healthDescription 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

name string

Immutable. The name of the TPU.

networkConfig NetworkConfigResponse

Network configurations for the TPU node.

networkEndpoints NetworkEndpointResponse[]

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.

runtimeVersion string

The runtime version running in the Node.

schedulingConfig SchedulingConfigResponse

The scheduling options for this node.

serviceAccount ServiceAccountResponse

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.

state string

The current state for the TPU Node.

symptoms SymptomResponse[]

The Symptoms that have occurred to the TPU Node.

tags string[]

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

accelerator_type str

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[AttachedDiskResponse]

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

name str

Immutable. The name of the TPU.

network_config NetworkConfigResponse

Network configurations for the TPU node.

network_endpoints Sequence[NetworkEndpointResponse]

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.

runtime_version str

The runtime version running in the Node.

scheduling_config SchedulingConfigResponse

The scheduling options for this node.

service_account ServiceAccountResponse

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.

state str

The current state for the TPU Node.

symptoms Sequence[SymptomResponse]

The Symptoms that have occurred to the TPU Node.

tags Sequence[str]

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

acceleratorType String

The type of hardware accelerators associated with this node.

apiVersion String

The API version that created this Node.

cidrBlock 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.

createTime String

The time when the node was created.

dataDisks List

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.

healthDescription String

If this field is populated, it contains a description of why the TPU Node is unhealthy.

labels Map

Resource labels to represent user-provided metadata.

metadata Map

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

name String

Immutable. The name of the TPU.

networkConfig Property Map

Network configurations for the TPU node.

networkEndpoints List

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.

runtimeVersion String

The runtime version running in the Node.

schedulingConfig Property Map

The scheduling options for this node.

serviceAccount 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.

state String

The current state for the TPU Node.

symptoms List

The Symptoms that have occurred to the TPU Node.

tags List

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

Supporting Types

AccessConfigResponse

ExternalIp string

An external IP address associated with the TPU worker.

ExternalIp string

An external IP address associated with the TPU worker.

externalIp String

An external IP address associated with the TPU worker.

externalIp string

An external IP address associated with the TPU worker.

external_ip str

An external IP address associated with the TPU worker.

externalIp 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.

SourceDisk 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.

SourceDisk 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.

sourceDisk 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.

sourceDisk 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.

sourceDisk String

Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".

NetworkConfigResponse

CanIpForward bool

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.

EnableExternalIps bool

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.

CanIpForward bool

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.

EnableExternalIps bool

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.

canIpForward Boolean

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.

enableExternalIps Boolean

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.

canIpForward boolean

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.

enableExternalIps boolean

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_forward bool

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_ips bool

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.

canIpForward Boolean

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.

enableExternalIps Boolean

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

AccessConfig Pulumi.GoogleNative.TPU.V2Alpha1.Inputs.AccessConfigResponse

The access config for the TPU worker.

IpAddress string

The internal IP address of this network endpoint.

Port int

The port of this network endpoint.

AccessConfig AccessConfigResponse

The access config for the TPU worker.

IpAddress string

The internal IP address of this network endpoint.

Port int

The port of this network endpoint.

accessConfig AccessConfigResponse

The access config for the TPU worker.

ipAddress String

The internal IP address of this network endpoint.

port Integer

The port of this network endpoint.

accessConfig AccessConfigResponse

The access config for the TPU worker.

ipAddress string

The internal IP address of this network endpoint.

port number

The port of this network endpoint.

access_config AccessConfigResponse

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.

accessConfig Property Map

The access config for the TPU worker.

ipAddress 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

Email string

Email address of the service account. If empty, default Compute service account will be used.

Scope List<string>

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

Email string

Email address of the service account. If empty, default Compute service account will be used.

Scope []string

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

email String

Email address of the service account. If empty, default Compute service account will be used.

scope List

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

email string

Email address of the service account. If empty, default Compute service account will be used.

scope string[]

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

email str

Email address of the service account. If empty, default Compute service account will be used.

scope Sequence[str]

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

email String

Email address of the service account. If empty, default Compute service account will be used.

scope List

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

SymptomResponse

CreateTime string

Timestamp when the Symptom is created.

Details string

Detailed information of the current Symptom.

SymptomType string

Type of the Symptom.

WorkerId string

A string used to uniquely distinguish a worker within a TPU node.

CreateTime string

Timestamp when the Symptom is created.

Details string

Detailed information of the current Symptom.

SymptomType string

Type of the Symptom.

WorkerId string

A string used to uniquely distinguish a worker within a TPU node.

createTime String

Timestamp when the Symptom is created.

details String

Detailed information of the current Symptom.

symptomType String

Type of the Symptom.

workerId String

A string used to uniquely distinguish a worker within a TPU node.

createTime string

Timestamp when the Symptom is created.

details string

Detailed information of the current Symptom.

symptomType string

Type of the Symptom.

workerId 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.

createTime String

Timestamp when the Symptom is created.

details String

Detailed information of the current Symptom.

symptomType String

Type of the Symptom.

workerId String

A string used to uniquely distinguish a worker within a TPU node.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0