Documentation
¶
Index ¶
- type Node
- func (r *Node) AcceleratorType() *pulumi.StringOutput
- func (r *Node) CidrBlock() *pulumi.StringOutput
- func (r *Node) Description() *pulumi.StringOutput
- func (r *Node) ID() *pulumi.IDOutput
- func (r *Node) Labels() *pulumi.MapOutput
- func (r *Node) Name() *pulumi.StringOutput
- func (r *Node) Network() *pulumi.StringOutput
- func (r *Node) NetworkEndpoints() *pulumi.ArrayOutput
- func (r *Node) Project() *pulumi.StringOutput
- func (r *Node) SchedulingConfig() *pulumi.Output
- func (r *Node) ServiceAccount() *pulumi.StringOutput
- func (r *Node) TensorflowVersion() *pulumi.StringOutput
- func (r *Node) URN() *pulumi.URNOutput
- func (r *Node) Zone() *pulumi.StringOutput
- type NodeArgs
- type NodeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
A Cloud TPU instance.
To get more information about Node, see:
* [API documentation](https://cloud.google.com/tpu/docs/reference/rest/) * How-to Guides
- [Official Documentation](https://cloud.google.com/tpu/docs/)
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=tpu_node_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank"> <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;"> </a>
</div>
func GetNode ¶
func GetNode(ctx *pulumi.Context, name string, id pulumi.ID, state *NodeState, opts ...pulumi.ResourceOpt) (*Node, error)
GetNode gets an existing Node resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNode ¶
func NewNode(ctx *pulumi.Context, name string, args *NodeArgs, opts ...pulumi.ResourceOpt) (*Node, error)
NewNode registers a new resource with the given unique name, arguments, and options.
func (*Node) AcceleratorType ¶
func (r *Node) AcceleratorType() *pulumi.StringOutput
func (*Node) CidrBlock ¶
func (r *Node) CidrBlock() *pulumi.StringOutput
func (*Node) Description ¶
func (r *Node) Description() *pulumi.StringOutput
func (*Node) Name ¶
func (r *Node) Name() *pulumi.StringOutput
func (*Node) Network ¶
func (r *Node) Network() *pulumi.StringOutput
func (*Node) NetworkEndpoints ¶
func (r *Node) NetworkEndpoints() *pulumi.ArrayOutput
func (*Node) Project ¶
func (r *Node) Project() *pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (*Node) SchedulingConfig ¶
func (*Node) ServiceAccount ¶
func (r *Node) ServiceAccount() *pulumi.StringOutput
func (*Node) TensorflowVersion ¶
func (r *Node) TensorflowVersion() *pulumi.StringOutput
func (*Node) Zone ¶
func (r *Node) Zone() *pulumi.StringOutput
type NodeArgs ¶
type NodeArgs struct { AcceleratorType interface{} CidrBlock interface{} Description interface{} Labels interface{} Name interface{} Network interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} SchedulingConfig interface{} TensorflowVersion interface{} Zone interface{} }
The set of arguments for constructing a Node resource.
type NodeState ¶
type NodeState struct { AcceleratorType interface{} CidrBlock interface{} Description interface{} Labels interface{} Name interface{} Network interface{} NetworkEndpoints interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} SchedulingConfig interface{} ServiceAccount interface{} TensorflowVersion interface{} Zone interface{} }
Input properties used for looking up and filtering Node resources.