v1alpha1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Health status is unknown: not initialized or failed to retrieve.
	NodeHealthHealthUnspecified = NodeHealth("HEALTH_UNSPECIFIED")
	// The resource is healthy.
	NodeHealthHealthy = NodeHealth("HEALTHY")
	// The resource is unhealthy.
	NodeHealthDeprecatedUnhealthy = NodeHealth("DEPRECATED_UNHEALTHY")
	// The resource is unresponsive.
	NodeHealthTimeout = NodeHealth("TIMEOUT")
	// The in-guest ML stack is unhealthy.
	NodeHealthUnhealthyTensorflow = NodeHealth("UNHEALTHY_TENSORFLOW")
	// The node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
	NodeHealthUnhealthyMaintenance = NodeHealth("UNHEALTHY_MAINTENANCE")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupNodeArgs added in v0.4.0

type LookupNodeArgs struct {
	Location string  `pulumi:"location"`
	NodeId   string  `pulumi:"nodeId"`
	Project  *string `pulumi:"project"`
}

type LookupNodeOutputArgs added in v0.8.0

type LookupNodeOutputArgs struct {
	Location pulumi.StringInput    `pulumi:"location"`
	NodeId   pulumi.StringInput    `pulumi:"nodeId"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupNodeOutputArgs) ElementType added in v0.8.0

func (LookupNodeOutputArgs) ElementType() reflect.Type

type LookupNodeResult added in v0.4.0

type LookupNodeResult struct {
	// The type of hardware accelerators associated with this node.
	AcceleratorType string `pulumi:"acceleratorType"`
	// The API version that created this Node.
	ApiVersion string `pulumi:"apiVersion"`
	// 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.
	CidrBlock string `pulumi:"cidrBlock"`
	// The time when the node was created.
	CreateTime string `pulumi:"createTime"`
	// The user-supplied description of the TPU. Maximum of 512 characters.
	Description string `pulumi:"description"`
	// The health status of the TPU node.
	Health string `pulumi:"health"`
	// If this field is populated, it contains a description of why the TPU Node is unhealthy.
	HealthDescription string `pulumi:"healthDescription"`
	// DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
	//
	// Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
	IpAddress string `pulumi:"ipAddress"`
	// Resource labels to represent user-provided metadata.
	Labels map[string]string `pulumi:"labels"`
	// Immutable. The name of the TPU
	Name string `pulumi:"name"`
	// 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.
	Network string `pulumi:"network"`
	// 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.
	NetworkEndpoints []NetworkEndpointResponse `pulumi:"networkEndpoints"`
	// DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
	//
	// Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
	Port string `pulumi:"port"`
	// The scheduling options for this node.
	SchedulingConfig SchedulingConfigResponse `pulumi:"schedulingConfig"`
	// 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.
	ServiceAccount string `pulumi:"serviceAccount"`
	// The current state for the TPU Node.
	State string `pulumi:"state"`
	// The Symptoms that have occurred to the TPU Node.
	Symptoms []SymptomResponse `pulumi:"symptoms"`
	// The version of Tensorflow running in the Node.
	TensorflowVersion string `pulumi:"tensorflowVersion"`
	// 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.
	UseServiceNetworking bool `pulumi:"useServiceNetworking"`
}

func LookupNode added in v0.4.0

func LookupNode(ctx *pulumi.Context, args *LookupNodeArgs, opts ...pulumi.InvokeOption) (*LookupNodeResult, error)

Gets the details of a node.

type LookupNodeResultOutput added in v0.8.0

type LookupNodeResultOutput struct{ *pulumi.OutputState }

func LookupNodeOutput added in v0.8.0

func LookupNodeOutput(ctx *pulumi.Context, args LookupNodeOutputArgs, opts ...pulumi.InvokeOption) LookupNodeResultOutput

func (LookupNodeResultOutput) AcceleratorType added in v0.8.0

func (o LookupNodeResultOutput) AcceleratorType() pulumi.StringOutput

The type of hardware accelerators associated with this node.

func (LookupNodeResultOutput) ApiVersion added in v0.8.0

The API version that created this Node.

func (LookupNodeResultOutput) CidrBlock added in v0.8.0

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.

func (LookupNodeResultOutput) CreateTime added in v0.8.0

The time when the node was created.

func (LookupNodeResultOutput) Description added in v0.8.0

func (o LookupNodeResultOutput) Description() pulumi.StringOutput

The user-supplied description of the TPU. Maximum of 512 characters.

func (LookupNodeResultOutput) ElementType added in v0.8.0

func (LookupNodeResultOutput) ElementType() reflect.Type

func (LookupNodeResultOutput) Health added in v0.8.0

The health status of the TPU node.

func (LookupNodeResultOutput) HealthDescription added in v0.8.0

func (o LookupNodeResultOutput) HealthDescription() pulumi.StringOutput

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

func (LookupNodeResultOutput) IpAddress deprecated added in v0.17.0

DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.

Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.

func (LookupNodeResultOutput) Labels added in v0.8.0

Resource labels to represent user-provided metadata.

func (LookupNodeResultOutput) Name added in v0.8.0

Immutable. The name of the TPU

func (LookupNodeResultOutput) Network added in v0.8.0

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.

func (LookupNodeResultOutput) NetworkEndpoints added in v0.8.0

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.

func (LookupNodeResultOutput) Port deprecated added in v0.17.0

DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.

Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.

func (LookupNodeResultOutput) SchedulingConfig added in v0.8.0

The scheduling options for this node.

func (LookupNodeResultOutput) ServiceAccount added in v0.8.0

func (o LookupNodeResultOutput) ServiceAccount() pulumi.StringOutput

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.

func (LookupNodeResultOutput) State added in v0.8.0

The current state for the TPU Node.

func (LookupNodeResultOutput) Symptoms added in v0.8.0

The Symptoms that have occurred to the TPU Node.

func (LookupNodeResultOutput) TensorflowVersion added in v0.8.0

func (o LookupNodeResultOutput) TensorflowVersion() pulumi.StringOutput

The version of Tensorflow running in the Node.

func (LookupNodeResultOutput) ToLookupNodeResultOutput added in v0.8.0

func (o LookupNodeResultOutput) ToLookupNodeResultOutput() LookupNodeResultOutput

func (LookupNodeResultOutput) ToLookupNodeResultOutputWithContext added in v0.8.0

func (o LookupNodeResultOutput) ToLookupNodeResultOutputWithContext(ctx context.Context) LookupNodeResultOutput

func (LookupNodeResultOutput) UseServiceNetworking added in v0.8.0

func (o LookupNodeResultOutput) UseServiceNetworking() pulumi.BoolOutput

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.

type NetworkEndpointResponse

type NetworkEndpointResponse struct {
	// The IP address of this network endpoint.
	IpAddress string `pulumi:"ipAddress"`
	// The port of this network endpoint.
	Port int `pulumi:"port"`
}

A network endpoint over which a TPU worker can be reached.

type NetworkEndpointResponseArrayOutput

type NetworkEndpointResponseArrayOutput struct{ *pulumi.OutputState }

func (NetworkEndpointResponseArrayOutput) ElementType

func (NetworkEndpointResponseArrayOutput) Index

func (NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutput

func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutput() NetworkEndpointResponseArrayOutput

func (NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutputWithContext

func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutputWithContext(ctx context.Context) NetworkEndpointResponseArrayOutput

type NetworkEndpointResponseOutput

type NetworkEndpointResponseOutput struct{ *pulumi.OutputState }

A network endpoint over which a TPU worker can be reached.

func (NetworkEndpointResponseOutput) ElementType

func (NetworkEndpointResponseOutput) IpAddress

The IP address of this network endpoint.

func (NetworkEndpointResponseOutput) Port

The port of this network endpoint.

func (NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutput

func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutput() NetworkEndpointResponseOutput

func (NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutputWithContext

func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutputWithContext(ctx context.Context) NetworkEndpointResponseOutput

type Node

type Node struct {
	pulumi.CustomResourceState

	// The type of hardware accelerators associated with this node.
	AcceleratorType pulumi.StringOutput `pulumi:"acceleratorType"`
	// The API version that created this Node.
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// 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.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The time when the node was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The user-supplied description of the TPU. Maximum of 512 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The health status of the TPU node.
	Health pulumi.StringOutput `pulumi:"health"`
	// If this field is populated, it contains a description of why the TPU Node is unhealthy.
	HealthDescription pulumi.StringOutput `pulumi:"healthDescription"`
	// DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
	//
	// Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Resource labels to represent user-provided metadata.
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// Immutable. The name of the TPU
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	Network pulumi.StringOutput `pulumi:"network"`
	// 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.
	NetworkEndpoints NetworkEndpointResponseArrayOutput `pulumi:"networkEndpoints"`
	// The unqualified resource name.
	NodeId pulumi.StringPtrOutput `pulumi:"nodeId"`
	// DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
	//
	// Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.
	Port    pulumi.StringOutput `pulumi:"port"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Idempotent request UUID.
	RequestId pulumi.StringPtrOutput `pulumi:"requestId"`
	// The scheduling options for this node.
	SchedulingConfig SchedulingConfigResponseOutput `pulumi:"schedulingConfig"`
	// 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.
	ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"`
	// The current state for the TPU Node.
	State pulumi.StringOutput `pulumi:"state"`
	// The Symptoms that have occurred to the TPU Node.
	Symptoms SymptomResponseArrayOutput `pulumi:"symptoms"`
	// The version of Tensorflow running in the Node.
	TensorflowVersion pulumi.StringOutput `pulumi:"tensorflowVersion"`
	// 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.
	UseServiceNetworking pulumi.BoolOutput `pulumi:"useServiceNetworking"`
}

Creates a node. Auto-naming is currently not supported for this resource.

func GetNode

func GetNode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodeState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Node, error)

NewNode registers a new resource with the given unique name, arguments, and options.

func (*Node) ElementType

func (*Node) ElementType() reflect.Type

func (*Node) ToNodeOutput

func (i *Node) ToNodeOutput() NodeOutput

func (*Node) ToNodeOutputWithContext

func (i *Node) ToNodeOutputWithContext(ctx context.Context) NodeOutput

type NodeArgs

type NodeArgs struct {
	// The type of hardware accelerators associated with this node.
	AcceleratorType pulumi.StringInput
	// 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.
	CidrBlock pulumi.StringPtrInput
	// The user-supplied description of the TPU. Maximum of 512 characters.
	Description pulumi.StringPtrInput
	// The health status of the TPU node.
	Health NodeHealthPtrInput
	// Resource labels to represent user-provided metadata.
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// 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.
	Network pulumi.StringPtrInput
	// The unqualified resource name.
	NodeId  pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Idempotent request UUID.
	RequestId pulumi.StringPtrInput
	// The scheduling options for this node.
	SchedulingConfig SchedulingConfigPtrInput
	// The version of Tensorflow running in the Node.
	TensorflowVersion pulumi.StringInput
	// 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.
	UseServiceNetworking pulumi.BoolPtrInput
}

The set of arguments for constructing a Node resource.

func (NodeArgs) ElementType

func (NodeArgs) ElementType() reflect.Type

type NodeHealth added in v0.4.0

type NodeHealth string

The health status of the TPU node.

func (NodeHealth) ElementType added in v0.4.0

func (NodeHealth) ElementType() reflect.Type

func (NodeHealth) ToNodeHealthOutput added in v0.6.0

func (e NodeHealth) ToNodeHealthOutput() NodeHealthOutput

func (NodeHealth) ToNodeHealthOutputWithContext added in v0.6.0

func (e NodeHealth) ToNodeHealthOutputWithContext(ctx context.Context) NodeHealthOutput

func (NodeHealth) ToNodeHealthPtrOutput added in v0.6.0

func (e NodeHealth) ToNodeHealthPtrOutput() NodeHealthPtrOutput

func (NodeHealth) ToNodeHealthPtrOutputWithContext added in v0.6.0

func (e NodeHealth) ToNodeHealthPtrOutputWithContext(ctx context.Context) NodeHealthPtrOutput

func (NodeHealth) ToStringOutput added in v0.4.0

func (e NodeHealth) ToStringOutput() pulumi.StringOutput

func (NodeHealth) ToStringOutputWithContext added in v0.4.0

func (e NodeHealth) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (NodeHealth) ToStringPtrOutput added in v0.4.0

func (e NodeHealth) ToStringPtrOutput() pulumi.StringPtrOutput

func (NodeHealth) ToStringPtrOutputWithContext added in v0.4.0

func (e NodeHealth) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type NodeHealthInput added in v0.6.0

type NodeHealthInput interface {
	pulumi.Input

	ToNodeHealthOutput() NodeHealthOutput
	ToNodeHealthOutputWithContext(context.Context) NodeHealthOutput
}

NodeHealthInput is an input type that accepts NodeHealthArgs and NodeHealthOutput values. You can construct a concrete instance of `NodeHealthInput` via:

NodeHealthArgs{...}

type NodeHealthOutput added in v0.6.0

type NodeHealthOutput struct{ *pulumi.OutputState }

func (NodeHealthOutput) ElementType added in v0.6.0

func (NodeHealthOutput) ElementType() reflect.Type

func (NodeHealthOutput) ToNodeHealthOutput added in v0.6.0

func (o NodeHealthOutput) ToNodeHealthOutput() NodeHealthOutput

func (NodeHealthOutput) ToNodeHealthOutputWithContext added in v0.6.0

func (o NodeHealthOutput) ToNodeHealthOutputWithContext(ctx context.Context) NodeHealthOutput

func (NodeHealthOutput) ToNodeHealthPtrOutput added in v0.6.0

func (o NodeHealthOutput) ToNodeHealthPtrOutput() NodeHealthPtrOutput

func (NodeHealthOutput) ToNodeHealthPtrOutputWithContext added in v0.6.0

func (o NodeHealthOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) NodeHealthPtrOutput

func (NodeHealthOutput) ToStringOutput added in v0.6.0

func (o NodeHealthOutput) ToStringOutput() pulumi.StringOutput

func (NodeHealthOutput) ToStringOutputWithContext added in v0.6.0

func (o NodeHealthOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (NodeHealthOutput) ToStringPtrOutput added in v0.6.0

func (o NodeHealthOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (NodeHealthOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o NodeHealthOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type NodeHealthPtrInput added in v0.6.0

type NodeHealthPtrInput interface {
	pulumi.Input

	ToNodeHealthPtrOutput() NodeHealthPtrOutput
	ToNodeHealthPtrOutputWithContext(context.Context) NodeHealthPtrOutput
}

func NodeHealthPtr added in v0.6.0

func NodeHealthPtr(v string) NodeHealthPtrInput

type NodeHealthPtrOutput added in v0.6.0

type NodeHealthPtrOutput struct{ *pulumi.OutputState }

func (NodeHealthPtrOutput) Elem added in v0.6.0

func (NodeHealthPtrOutput) ElementType added in v0.6.0

func (NodeHealthPtrOutput) ElementType() reflect.Type

func (NodeHealthPtrOutput) ToNodeHealthPtrOutput added in v0.6.0

func (o NodeHealthPtrOutput) ToNodeHealthPtrOutput() NodeHealthPtrOutput

func (NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext added in v0.6.0

func (o NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) NodeHealthPtrOutput

func (NodeHealthPtrOutput) ToStringPtrOutput added in v0.6.0

func (o NodeHealthPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (NodeHealthPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o NodeHealthPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type NodeInput

type NodeInput interface {
	pulumi.Input

	ToNodeOutput() NodeOutput
	ToNodeOutputWithContext(ctx context.Context) NodeOutput
}

type NodeOutput

type NodeOutput struct{ *pulumi.OutputState }

func (NodeOutput) AcceleratorType added in v0.19.0

func (o NodeOutput) AcceleratorType() pulumi.StringOutput

The type of hardware accelerators associated with this node.

func (NodeOutput) ApiVersion added in v0.19.0

func (o NodeOutput) ApiVersion() pulumi.StringOutput

The API version that created this Node.

func (NodeOutput) CidrBlock added in v0.19.0

func (o NodeOutput) CidrBlock() pulumi.StringOutput

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.

func (NodeOutput) CreateTime added in v0.19.0

func (o NodeOutput) CreateTime() pulumi.StringOutput

The time when the node was created.

func (NodeOutput) Description added in v0.19.0

func (o NodeOutput) Description() pulumi.StringOutput

The user-supplied description of the TPU. Maximum of 512 characters.

func (NodeOutput) ElementType

func (NodeOutput) ElementType() reflect.Type

func (NodeOutput) Health added in v0.19.0

func (o NodeOutput) Health() pulumi.StringOutput

The health status of the TPU node.

func (NodeOutput) HealthDescription added in v0.19.0

func (o NodeOutput) HealthDescription() pulumi.StringOutput

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

func (NodeOutput) IpAddress deprecated added in v0.19.0

func (o NodeOutput) IpAddress() pulumi.StringOutput

DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.

Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network address for the TPU Node as visible to Compute Engine instances.

func (NodeOutput) Labels added in v0.19.0

func (o NodeOutput) Labels() pulumi.StringMapOutput

Resource labels to represent user-provided metadata.

func (NodeOutput) Location added in v0.21.0

func (o NodeOutput) Location() pulumi.StringOutput

func (NodeOutput) Name added in v0.19.0

func (o NodeOutput) Name() pulumi.StringOutput

Immutable. The name of the TPU

func (NodeOutput) Network added in v0.19.0

func (o NodeOutput) Network() pulumi.StringOutput

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.

func (NodeOutput) NetworkEndpoints added in v0.19.0

func (o NodeOutput) NetworkEndpoints() NetworkEndpointResponseArrayOutput

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.

func (NodeOutput) NodeId added in v0.21.0

func (o NodeOutput) NodeId() pulumi.StringPtrOutput

The unqualified resource name.

func (NodeOutput) Port deprecated added in v0.19.0

func (o NodeOutput) Port() pulumi.StringOutput

DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.

Deprecated: Output only. DEPRECATED! Use network_endpoints instead. The network port for the TPU Node as visible to Compute Engine instances.

func (NodeOutput) Project added in v0.21.0

func (o NodeOutput) Project() pulumi.StringOutput

func (NodeOutput) RequestId added in v0.21.0

func (o NodeOutput) RequestId() pulumi.StringPtrOutput

Idempotent request UUID.

func (NodeOutput) SchedulingConfig added in v0.19.0

func (o NodeOutput) SchedulingConfig() SchedulingConfigResponseOutput

The scheduling options for this node.

func (NodeOutput) ServiceAccount added in v0.19.0

func (o NodeOutput) ServiceAccount() pulumi.StringOutput

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.

func (NodeOutput) State added in v0.19.0

func (o NodeOutput) State() pulumi.StringOutput

The current state for the TPU Node.

func (NodeOutput) Symptoms added in v0.19.0

The Symptoms that have occurred to the TPU Node.

func (NodeOutput) TensorflowVersion added in v0.19.0

func (o NodeOutput) TensorflowVersion() pulumi.StringOutput

The version of Tensorflow running in the Node.

func (NodeOutput) ToNodeOutput

func (o NodeOutput) ToNodeOutput() NodeOutput

func (NodeOutput) ToNodeOutputWithContext

func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput

func (NodeOutput) UseServiceNetworking added in v0.19.0

func (o NodeOutput) UseServiceNetworking() pulumi.BoolOutput

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.

type NodeState

type NodeState struct {
}

func (NodeState) ElementType

func (NodeState) ElementType() reflect.Type

type SchedulingConfig

type SchedulingConfig struct {
	// Defines whether the node is preemptible.
	Preemptible *bool `pulumi:"preemptible"`
	// Whether the node is created under a reservation.
	Reserved *bool `pulumi:"reserved"`
}

Sets the scheduling options for this node.

type SchedulingConfigArgs

type SchedulingConfigArgs struct {
	// Defines whether the node is preemptible.
	Preemptible pulumi.BoolPtrInput `pulumi:"preemptible"`
	// Whether the node is created under a reservation.
	Reserved pulumi.BoolPtrInput `pulumi:"reserved"`
}

Sets the scheduling options for this node.

func (SchedulingConfigArgs) ElementType

func (SchedulingConfigArgs) ElementType() reflect.Type

func (SchedulingConfigArgs) ToSchedulingConfigOutput

func (i SchedulingConfigArgs) ToSchedulingConfigOutput() SchedulingConfigOutput

func (SchedulingConfigArgs) ToSchedulingConfigOutputWithContext

func (i SchedulingConfigArgs) ToSchedulingConfigOutputWithContext(ctx context.Context) SchedulingConfigOutput

func (SchedulingConfigArgs) ToSchedulingConfigPtrOutput

func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput

func (SchedulingConfigArgs) ToSchedulingConfigPtrOutputWithContext

func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutputWithContext(ctx context.Context) SchedulingConfigPtrOutput

type SchedulingConfigInput

type SchedulingConfigInput interface {
	pulumi.Input

	ToSchedulingConfigOutput() SchedulingConfigOutput
	ToSchedulingConfigOutputWithContext(context.Context) SchedulingConfigOutput
}

SchedulingConfigInput is an input type that accepts SchedulingConfigArgs and SchedulingConfigOutput values. You can construct a concrete instance of `SchedulingConfigInput` via:

SchedulingConfigArgs{...}

type SchedulingConfigOutput

type SchedulingConfigOutput struct{ *pulumi.OutputState }

Sets the scheduling options for this node.

func (SchedulingConfigOutput) ElementType

func (SchedulingConfigOutput) ElementType() reflect.Type

func (SchedulingConfigOutput) Preemptible

Defines whether the node is preemptible.

func (SchedulingConfigOutput) Reserved

Whether the node is created under a reservation.

func (SchedulingConfigOutput) ToSchedulingConfigOutput

func (o SchedulingConfigOutput) ToSchedulingConfigOutput() SchedulingConfigOutput

func (SchedulingConfigOutput) ToSchedulingConfigOutputWithContext

func (o SchedulingConfigOutput) ToSchedulingConfigOutputWithContext(ctx context.Context) SchedulingConfigOutput

func (SchedulingConfigOutput) ToSchedulingConfigPtrOutput

func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput

func (SchedulingConfigOutput) ToSchedulingConfigPtrOutputWithContext

func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutputWithContext(ctx context.Context) SchedulingConfigPtrOutput

type SchedulingConfigPtrInput

type SchedulingConfigPtrInput interface {
	pulumi.Input

	ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput
	ToSchedulingConfigPtrOutputWithContext(context.Context) SchedulingConfigPtrOutput
}

SchedulingConfigPtrInput is an input type that accepts SchedulingConfigArgs, SchedulingConfigPtr and SchedulingConfigPtrOutput values. You can construct a concrete instance of `SchedulingConfigPtrInput` via:

        SchedulingConfigArgs{...}

or:

        nil

type SchedulingConfigPtrOutput

type SchedulingConfigPtrOutput struct{ *pulumi.OutputState }

func (SchedulingConfigPtrOutput) Elem

func (SchedulingConfigPtrOutput) ElementType

func (SchedulingConfigPtrOutput) ElementType() reflect.Type

func (SchedulingConfigPtrOutput) Preemptible

Defines whether the node is preemptible.

func (SchedulingConfigPtrOutput) Reserved

Whether the node is created under a reservation.

func (SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutput

func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput

func (SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutputWithContext

func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutputWithContext(ctx context.Context) SchedulingConfigPtrOutput

type SchedulingConfigResponse

type SchedulingConfigResponse struct {
	// Defines whether the node is preemptible.
	Preemptible bool `pulumi:"preemptible"`
	// Whether the node is created under a reservation.
	Reserved bool `pulumi:"reserved"`
}

Sets the scheduling options for this node.

type SchedulingConfigResponseOutput

type SchedulingConfigResponseOutput struct{ *pulumi.OutputState }

Sets the scheduling options for this node.

func (SchedulingConfigResponseOutput) ElementType

func (SchedulingConfigResponseOutput) Preemptible

Defines whether the node is preemptible.

func (SchedulingConfigResponseOutput) Reserved

Whether the node is created under a reservation.

func (SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutput

func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutput() SchedulingConfigResponseOutput

func (SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutputWithContext

func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutputWithContext(ctx context.Context) SchedulingConfigResponseOutput

type SymptomResponse

type SymptomResponse struct {
	// Timestamp when the Symptom is created.
	CreateTime string `pulumi:"createTime"`
	// Detailed information of the current Symptom.
	Details string `pulumi:"details"`
	// Type of the Symptom.
	SymptomType string `pulumi:"symptomType"`
	// A string used to uniquely distinguish a worker within a TPU node.
	WorkerId string `pulumi:"workerId"`
}

A Symptom instance.

type SymptomResponseArrayOutput

type SymptomResponseArrayOutput struct{ *pulumi.OutputState }

func (SymptomResponseArrayOutput) ElementType

func (SymptomResponseArrayOutput) ElementType() reflect.Type

func (SymptomResponseArrayOutput) Index

func (SymptomResponseArrayOutput) ToSymptomResponseArrayOutput

func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutput() SymptomResponseArrayOutput

func (SymptomResponseArrayOutput) ToSymptomResponseArrayOutputWithContext

func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutputWithContext(ctx context.Context) SymptomResponseArrayOutput

type SymptomResponseOutput

type SymptomResponseOutput struct{ *pulumi.OutputState }

A Symptom instance.

func (SymptomResponseOutput) CreateTime

func (o SymptomResponseOutput) CreateTime() pulumi.StringOutput

Timestamp when the Symptom is created.

func (SymptomResponseOutput) Details

Detailed information of the current Symptom.

func (SymptomResponseOutput) ElementType

func (SymptomResponseOutput) ElementType() reflect.Type

func (SymptomResponseOutput) SymptomType

func (o SymptomResponseOutput) SymptomType() pulumi.StringOutput

Type of the Symptom.

func (SymptomResponseOutput) ToSymptomResponseOutput

func (o SymptomResponseOutput) ToSymptomResponseOutput() SymptomResponseOutput

func (SymptomResponseOutput) ToSymptomResponseOutputWithContext

func (o SymptomResponseOutput) ToSymptomResponseOutputWithContext(ctx context.Context) SymptomResponseOutput

func (SymptomResponseOutput) WorkerId

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

Jump to

Keyboard shortcuts

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