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)
Parameter | |
---|---|
Name | Description |
other |
Node |
Properties
AcceleratorType
public string AcceleratorType { get; set; }
Required. The type of hardware accelerators associated with this node.
Property Value | |
---|---|
Type | Description |
string |
ApiVersion
public Node.Types.ApiVersion ApiVersion { get; set; }
Output only. The API version that created this Node.
Property Value | |
---|---|
Type | Description |
NodeTypesApiVersion |
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.
Property Value | |
---|---|
Type | Description |
string |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the node was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
The user-supplied description of the TPU. Maximum of 512 characters.
Property Value | |
---|---|
Type | Description |
string |
Health
public Node.Types.Health Health { get; set; }
The health status of the TPU node.
Property Value | |
---|---|
Type | Description |
NodeTypesHealth |
HealthDescription
public string HealthDescription { get; set; }
Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.
Property Value | |
---|---|
Type | Description |
string |
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.
Property Value | |
---|---|
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Resource labels to represent user-provided metadata.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Output only. Immutable. The name of the TPU
Property Value | |
---|---|
Type | Description |
string |
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.
Property Value | |
---|---|
Type | Description |
string |
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldNetworkEndpoint |
NodeName
public NodeName NodeName { get; set; }
Property Value | |
---|---|
Type | Description |
NodeName |
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.
Property Value | |
---|---|
Type | Description |
string |
SchedulingConfig
public SchedulingConfig SchedulingConfig { get; set; }
The scheduling options for this node.
Property Value | |
---|---|
Type | Description |
SchedulingConfig |
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.
Property Value | |
---|---|
Type | Description |
string |
State
public Node.Types.State State { get; set; }
Output only. The current state for the TPU Node.
Property Value | |
---|---|
Type | Description |
NodeTypesState |
Symptoms
public RepeatedField<Symptom> Symptoms { get; }
Output only. The Symptoms that have occurred to the TPU Node.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSymptom |
TensorflowVersion
public string TensorflowVersion { get; set; }
Required. The version of Tensorflow running in the Node.
Property Value | |
---|---|
Type | Description |
string |
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.
Property Value | |
---|---|
Type | Description |
bool |