tpu

package
v0.18.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

<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) ID

func (r *Node) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Node) Labels

func (r *Node) Labels() *pulumi.MapOutput

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 (r *Node) SchedulingConfig() *pulumi.Output

func (*Node) ServiceAccount

func (r *Node) ServiceAccount() *pulumi.StringOutput

func (*Node) TensorflowVersion

func (r *Node) TensorflowVersion() *pulumi.StringOutput

func (*Node) URN

func (r *Node) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL