public
sealed
class
Node
:
IMessage<Node>
,
IEquatable<Node>
,
IDeepCloneable<Node>
,
IBufferMessage
,
IMessage
Reference documentation and code samples for the Cloud TPU v1 API class Node.
A TPU instance.
Namespace
Google.Cloud.Tpu.V1Assembly
Google.Cloud.Tpu.V1.dll
Constructors
Node()
public
Node
()
Node(Node)
public
Node
(
Node
other
)
Properties
AcceleratorType
public
string
AcceleratorType
{
get
;
set
;
}
Required. The type of hardware accelerators associated with this node.
ApiVersion
public
Node
.
Types
.
ApiVersion
ApiVersion
{
get
;
set
;
}
Output only. The API version that created this Node.
CidrBlock
public
string
CidrBlock
{
get
;
set
;
}
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
public
Timestamp
CreateTime
{
get
;
set
;
}
Output only. The time when the node was created.
Description
public
string
Description
{
get
;
set
;
}
The user-supplied description of the TPU. Maximum of 512 characters.
Health
public
Node
.
Types
.
Health
Health
{
get
;
set
;
}
The health status of the TPU node.
HealthDescription
public
string
HealthDescription
{
get
;
set
;
}
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
IpAddress
[
Obsolete
]
public
string
IpAddress
{
get
;
set
;
}
Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
Labels
public
MapField<string
,
string
>
Labels
{
get
;
}
Resource labels to represent user-provided metadata.
Name
public
string
Name
{
get
;
set
;
}
Output only. Immutable. The name of the TPU
Network
public
string
Network
{
get
;
set
;
}
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
NetworkEndpoints
public
RepeatedField<NetworkEndpoint>
NetworkEndpoints
{
get
;
}
Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that Tensorflow clients of the node reach out to the 0th entry in this map first.
NodeName
public
NodeName
NodeName
{
get
;
set
;
}
Port
[
Obsolete
]
public
string
Port
{
get
;
set
;
}
Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
SchedulingConfig
public
SchedulingConfig
SchedulingConfig
{
get
;
set
;
}
The scheduling options for this node.
ServiceAccount
public
string
ServiceAccount
{
get
;
set
;
}
Output only. The service account used to run the tensor flow services within the node. To share resources, including Google Cloud Storage data, with the Tensorflow job running in the Node, this account must have permissions to that data.
State
public
Node
.
Types
.
State
State
{
get
;
set
;
}
Output only. The current state for the TPU Node.
Symptoms
public
RepeatedField<Symptom>
Symptoms
{
get
;
}
Output only. The Symptoms that have occurred to the TPU Node.
TensorflowVersion
public
string
TensorflowVersion
{
get
;
set
;
}
Required. The version of Tensorflow running in the Node.
UseServiceNetworking
public
bool
UseServiceNetworking
{
get
;
set
;
}
Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.