v2alpha1

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The disk mode is not known/set.
	AttachedDiskModeDiskModeUnspecified = AttachedDiskMode("DISK_MODE_UNSPECIFIED")
	// Attaches the disk in read-write mode. Only one TPU node can attach a disk in read-write mode at a time.
	AttachedDiskModeReadWrite = AttachedDiskMode("READ_WRITE")
	// Attaches the disk in read-only mode. Multiple TPU nodes can attach a disk in read-only mode at a time.
	AttachedDiskModeReadOnly = AttachedDiskMode("READ_ONLY")
)
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 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 AccessConfigResponse

type AccessConfigResponse struct {
	// An external IP address associated with the TPU worker.
	ExternalIp string `pulumi:"externalIp"`
}

An access config attached to the TPU worker.

type AccessConfigResponseOutput

type AccessConfigResponseOutput struct{ *pulumi.OutputState }

An access config attached to the TPU worker.

func (AccessConfigResponseOutput) ElementType

func (AccessConfigResponseOutput) ElementType() reflect.Type

func (AccessConfigResponseOutput) ExternalIp

An external IP address associated with the TPU worker.

func (AccessConfigResponseOutput) ToAccessConfigResponseOutput

func (o AccessConfigResponseOutput) ToAccessConfigResponseOutput() AccessConfigResponseOutput

func (AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext

func (o AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext(ctx context.Context) AccessConfigResponseOutput

type AttachedDisk

type AttachedDisk struct {
	// The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
	Mode *AttachedDiskMode `pulumi:"mode"`
	// Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
	SourceDisk *string `pulumi:"sourceDisk"`
}

A node-attached disk resource. Next ID: 8;

type AttachedDiskArgs

type AttachedDiskArgs struct {
	// The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
	Mode AttachedDiskModePtrInput `pulumi:"mode"`
	// Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
	SourceDisk pulumi.StringPtrInput `pulumi:"sourceDisk"`
}

A node-attached disk resource. Next ID: 8;

func (AttachedDiskArgs) ElementType

func (AttachedDiskArgs) ElementType() reflect.Type

func (AttachedDiskArgs) ToAttachedDiskOutput

func (i AttachedDiskArgs) ToAttachedDiskOutput() AttachedDiskOutput

func (AttachedDiskArgs) ToAttachedDiskOutputWithContext

func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) AttachedDiskOutput

type AttachedDiskArray

type AttachedDiskArray []AttachedDiskInput

func (AttachedDiskArray) ElementType

func (AttachedDiskArray) ElementType() reflect.Type

func (AttachedDiskArray) ToAttachedDiskArrayOutput

func (i AttachedDiskArray) ToAttachedDiskArrayOutput() AttachedDiskArrayOutput

func (AttachedDiskArray) ToAttachedDiskArrayOutputWithContext

func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Context) AttachedDiskArrayOutput

type AttachedDiskArrayInput

type AttachedDiskArrayInput interface {
	pulumi.Input

	ToAttachedDiskArrayOutput() AttachedDiskArrayOutput
	ToAttachedDiskArrayOutputWithContext(context.Context) AttachedDiskArrayOutput
}

AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. You can construct a concrete instance of `AttachedDiskArrayInput` via:

AttachedDiskArray{ AttachedDiskArgs{...} }

type AttachedDiskArrayOutput

type AttachedDiskArrayOutput struct{ *pulumi.OutputState }

func (AttachedDiskArrayOutput) ElementType

func (AttachedDiskArrayOutput) ElementType() reflect.Type

func (AttachedDiskArrayOutput) Index

func (AttachedDiskArrayOutput) ToAttachedDiskArrayOutput

func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutput() AttachedDiskArrayOutput

func (AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext

func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx context.Context) AttachedDiskArrayOutput

type AttachedDiskInput

type AttachedDiskInput interface {
	pulumi.Input

	ToAttachedDiskOutput() AttachedDiskOutput
	ToAttachedDiskOutputWithContext(context.Context) AttachedDiskOutput
}

AttachedDiskInput is an input type that accepts AttachedDiskArgs and AttachedDiskOutput values. You can construct a concrete instance of `AttachedDiskInput` via:

AttachedDiskArgs{...}

type AttachedDiskMode

type AttachedDiskMode string

The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.

func (AttachedDiskMode) ElementType

func (AttachedDiskMode) ElementType() reflect.Type

func (AttachedDiskMode) ToAttachedDiskModeOutput

func (e AttachedDiskMode) ToAttachedDiskModeOutput() AttachedDiskModeOutput

func (AttachedDiskMode) ToAttachedDiskModeOutputWithContext

func (e AttachedDiskMode) ToAttachedDiskModeOutputWithContext(ctx context.Context) AttachedDiskModeOutput

func (AttachedDiskMode) ToAttachedDiskModePtrOutput

func (e AttachedDiskMode) ToAttachedDiskModePtrOutput() AttachedDiskModePtrOutput

func (AttachedDiskMode) ToAttachedDiskModePtrOutputWithContext

func (e AttachedDiskMode) ToAttachedDiskModePtrOutputWithContext(ctx context.Context) AttachedDiskModePtrOutput

func (AttachedDiskMode) ToStringOutput

func (e AttachedDiskMode) ToStringOutput() pulumi.StringOutput

func (AttachedDiskMode) ToStringOutputWithContext

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

func (AttachedDiskMode) ToStringPtrOutput

func (e AttachedDiskMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (AttachedDiskMode) ToStringPtrOutputWithContext

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

type AttachedDiskModeInput

type AttachedDiskModeInput interface {
	pulumi.Input

	ToAttachedDiskModeOutput() AttachedDiskModeOutput
	ToAttachedDiskModeOutputWithContext(context.Context) AttachedDiskModeOutput
}

AttachedDiskModeInput is an input type that accepts AttachedDiskModeArgs and AttachedDiskModeOutput values. You can construct a concrete instance of `AttachedDiskModeInput` via:

AttachedDiskModeArgs{...}

type AttachedDiskModeOutput

type AttachedDiskModeOutput struct{ *pulumi.OutputState }

func (AttachedDiskModeOutput) ElementType

func (AttachedDiskModeOutput) ElementType() reflect.Type

func (AttachedDiskModeOutput) ToAttachedDiskModeOutput

func (o AttachedDiskModeOutput) ToAttachedDiskModeOutput() AttachedDiskModeOutput

func (AttachedDiskModeOutput) ToAttachedDiskModeOutputWithContext

func (o AttachedDiskModeOutput) ToAttachedDiskModeOutputWithContext(ctx context.Context) AttachedDiskModeOutput

func (AttachedDiskModeOutput) ToAttachedDiskModePtrOutput

func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutput() AttachedDiskModePtrOutput

func (AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext

func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext(ctx context.Context) AttachedDiskModePtrOutput

func (AttachedDiskModeOutput) ToStringOutput

func (o AttachedDiskModeOutput) ToStringOutput() pulumi.StringOutput

func (AttachedDiskModeOutput) ToStringOutputWithContext

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

func (AttachedDiskModeOutput) ToStringPtrOutput

func (o AttachedDiskModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AttachedDiskModeOutput) ToStringPtrOutputWithContext

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

type AttachedDiskModePtrInput

type AttachedDiskModePtrInput interface {
	pulumi.Input

	ToAttachedDiskModePtrOutput() AttachedDiskModePtrOutput
	ToAttachedDiskModePtrOutputWithContext(context.Context) AttachedDiskModePtrOutput
}

func AttachedDiskModePtr

func AttachedDiskModePtr(v string) AttachedDiskModePtrInput

type AttachedDiskModePtrOutput

type AttachedDiskModePtrOutput struct{ *pulumi.OutputState }

func (AttachedDiskModePtrOutput) Elem

func (AttachedDiskModePtrOutput) ElementType

func (AttachedDiskModePtrOutput) ElementType() reflect.Type

func (AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutput

func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutput() AttachedDiskModePtrOutput

func (AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext

func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext(ctx context.Context) AttachedDiskModePtrOutput

func (AttachedDiskModePtrOutput) ToStringPtrOutput

func (o AttachedDiskModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AttachedDiskModePtrOutput) ToStringPtrOutputWithContext

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

type AttachedDiskOutput

type AttachedDiskOutput struct{ *pulumi.OutputState }

A node-attached disk resource. Next ID: 8;

func (AttachedDiskOutput) ElementType

func (AttachedDiskOutput) ElementType() reflect.Type

func (AttachedDiskOutput) Mode

The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.

func (AttachedDiskOutput) SourceDisk

func (o AttachedDiskOutput) SourceDisk() pulumi.StringPtrOutput

Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".

func (AttachedDiskOutput) ToAttachedDiskOutput

func (o AttachedDiskOutput) ToAttachedDiskOutput() AttachedDiskOutput

func (AttachedDiskOutput) ToAttachedDiskOutputWithContext

func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) AttachedDiskOutput

type AttachedDiskResponse

type AttachedDiskResponse struct {
	// The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.
	Mode string `pulumi:"mode"`
	// Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
	SourceDisk string `pulumi:"sourceDisk"`
}

A node-attached disk resource. Next ID: 8;

type AttachedDiskResponseArrayOutput

type AttachedDiskResponseArrayOutput struct{ *pulumi.OutputState }

func (AttachedDiskResponseArrayOutput) ElementType

func (AttachedDiskResponseArrayOutput) Index

func (AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutput

func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutput() AttachedDiskResponseArrayOutput

func (AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithContext

func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithContext(ctx context.Context) AttachedDiskResponseArrayOutput

type AttachedDiskResponseOutput

type AttachedDiskResponseOutput struct{ *pulumi.OutputState }

A node-attached disk resource. Next ID: 8;

func (AttachedDiskResponseOutput) ElementType

func (AttachedDiskResponseOutput) ElementType() reflect.Type

func (AttachedDiskResponseOutput) Mode

The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.

func (AttachedDiskResponseOutput) SourceDisk

Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".

func (AttachedDiskResponseOutput) ToAttachedDiskResponseOutput

func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutput() AttachedDiskResponseOutput

func (AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext

func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx context.Context) AttachedDiskResponseOutput

type LookupNodeArgs

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

type LookupNodeOutputArgs

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

func (LookupNodeOutputArgs) ElementType

func (LookupNodeOutputArgs) ElementType() reflect.Type

type LookupNodeResult

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 additional data disks for the Node.
	DataDisks []AttachedDiskResponse `pulumi:"dataDisks"`
	// 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"`
	// Resource labels to represent user-provided metadata.
	Labels map[string]string `pulumi:"labels"`
	// Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
	Metadata map[string]string `pulumi:"metadata"`
	// Immutable. The name of the TPU.
	Name string `pulumi:"name"`
	// Network configurations for the TPU node.
	NetworkConfig NetworkConfigResponse `pulumi:"networkConfig"`
	// The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
	NetworkEndpoints []NetworkEndpointResponse `pulumi:"networkEndpoints"`
	// The runtime version running in the Node.
	RuntimeVersion string `pulumi:"runtimeVersion"`
	// The scheduling options for this node.
	SchedulingConfig SchedulingConfigResponse `pulumi:"schedulingConfig"`
	// The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
	ServiceAccount ServiceAccountResponse `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"`
	// Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
	Tags []string `pulumi:"tags"`
}

func LookupNode

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

Gets the details of a node.

type LookupNodeResultOutput

type LookupNodeResultOutput struct{ *pulumi.OutputState }

func (LookupNodeResultOutput) AcceleratorType

func (o LookupNodeResultOutput) AcceleratorType() pulumi.StringOutput

The type of hardware accelerators associated with this node.

func (LookupNodeResultOutput) ApiVersion

The API version that created this Node.

func (LookupNodeResultOutput) CidrBlock

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

The time when the node was created.

func (LookupNodeResultOutput) DataDisks

The additional data disks for the Node.

func (LookupNodeResultOutput) Description

func (o LookupNodeResultOutput) Description() pulumi.StringOutput

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

func (LookupNodeResultOutput) ElementType

func (LookupNodeResultOutput) ElementType() reflect.Type

func (LookupNodeResultOutput) Health

The health status of the TPU node.

func (LookupNodeResultOutput) HealthDescription

func (o LookupNodeResultOutput) HealthDescription() pulumi.StringOutput

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

func (LookupNodeResultOutput) Labels

Resource labels to represent user-provided metadata.

func (LookupNodeResultOutput) Metadata

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

func (LookupNodeResultOutput) Name

Immutable. The name of the TPU.

func (LookupNodeResultOutput) NetworkConfig

Network configurations for the TPU node.

func (LookupNodeResultOutput) NetworkEndpoints

The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.

func (LookupNodeResultOutput) RuntimeVersion

func (o LookupNodeResultOutput) RuntimeVersion() pulumi.StringOutput

The runtime version running in the Node.

func (LookupNodeResultOutput) SchedulingConfig

The scheduling options for this node.

func (LookupNodeResultOutput) ServiceAccount

The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.

func (LookupNodeResultOutput) State

The current state for the TPU Node.

func (LookupNodeResultOutput) Symptoms

The Symptoms that have occurred to the TPU Node.

func (LookupNodeResultOutput) Tags

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

func (LookupNodeResultOutput) ToLookupNodeResultOutput

func (o LookupNodeResultOutput) ToLookupNodeResultOutput() LookupNodeResultOutput

func (LookupNodeResultOutput) ToLookupNodeResultOutputWithContext

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

type NetworkConfig

type NetworkConfig struct {
	// Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
	CanIpForward *bool `pulumi:"canIpForward"`
	// Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
	EnableExternalIps *bool `pulumi:"enableExternalIps"`
	// The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
	Network *string `pulumi:"network"`
	// The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
	Subnetwork *string `pulumi:"subnetwork"`
}

Network related configurations.

type NetworkConfigArgs

type NetworkConfigArgs struct {
	// Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
	CanIpForward pulumi.BoolPtrInput `pulumi:"canIpForward"`
	// Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
	EnableExternalIps pulumi.BoolPtrInput `pulumi:"enableExternalIps"`
	// The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
	Network pulumi.StringPtrInput `pulumi:"network"`
	// The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
	Subnetwork pulumi.StringPtrInput `pulumi:"subnetwork"`
}

Network related configurations.

func (NetworkConfigArgs) ElementType

func (NetworkConfigArgs) ElementType() reflect.Type

func (NetworkConfigArgs) ToNetworkConfigOutput

func (i NetworkConfigArgs) ToNetworkConfigOutput() NetworkConfigOutput

func (NetworkConfigArgs) ToNetworkConfigOutputWithContext

func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput

func (NetworkConfigArgs) ToNetworkConfigPtrOutput

func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext

func (i NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigInput

type NetworkConfigInput interface {
	pulumi.Input

	ToNetworkConfigOutput() NetworkConfigOutput
	ToNetworkConfigOutputWithContext(context.Context) NetworkConfigOutput
}

NetworkConfigInput is an input type that accepts NetworkConfigArgs and NetworkConfigOutput values. You can construct a concrete instance of `NetworkConfigInput` via:

NetworkConfigArgs{...}

type NetworkConfigOutput

type NetworkConfigOutput struct{ *pulumi.OutputState }

Network related configurations.

func (NetworkConfigOutput) CanIpForward

func (o NetworkConfigOutput) CanIpForward() pulumi.BoolPtrOutput

Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.

func (NetworkConfigOutput) ElementType

func (NetworkConfigOutput) ElementType() reflect.Type

func (NetworkConfigOutput) EnableExternalIps

func (o NetworkConfigOutput) EnableExternalIps() pulumi.BoolPtrOutput

Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.

func (NetworkConfigOutput) Network

The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.

func (NetworkConfigOutput) Subnetwork

The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.

func (NetworkConfigOutput) ToNetworkConfigOutput

func (o NetworkConfigOutput) ToNetworkConfigOutput() NetworkConfigOutput

func (NetworkConfigOutput) ToNetworkConfigOutputWithContext

func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput

func (NetworkConfigOutput) ToNetworkConfigPtrOutput

func (o NetworkConfigOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext

func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigPtrInput

type NetworkConfigPtrInput interface {
	pulumi.Input

	ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
	ToNetworkConfigPtrOutputWithContext(context.Context) NetworkConfigPtrOutput
}

NetworkConfigPtrInput is an input type that accepts NetworkConfigArgs, NetworkConfigPtr and NetworkConfigPtrOutput values. You can construct a concrete instance of `NetworkConfigPtrInput` via:

        NetworkConfigArgs{...}

or:

        nil

type NetworkConfigPtrOutput

type NetworkConfigPtrOutput struct{ *pulumi.OutputState }

func (NetworkConfigPtrOutput) CanIpForward

func (o NetworkConfigPtrOutput) CanIpForward() pulumi.BoolPtrOutput

Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.

func (NetworkConfigPtrOutput) Elem

func (NetworkConfigPtrOutput) ElementType

func (NetworkConfigPtrOutput) ElementType() reflect.Type

func (NetworkConfigPtrOutput) EnableExternalIps

func (o NetworkConfigPtrOutput) EnableExternalIps() pulumi.BoolPtrOutput

Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.

func (NetworkConfigPtrOutput) Network

The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.

func (NetworkConfigPtrOutput) Subnetwork

The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.

func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutput

func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext

func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigResponse

type NetworkConfigResponse struct {
	// Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.
	CanIpForward bool `pulumi:"canIpForward"`
	// Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
	EnableExternalIps bool `pulumi:"enableExternalIps"`
	// The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
	Network string `pulumi:"network"`
	// The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
	Subnetwork string `pulumi:"subnetwork"`
}

Network related configurations.

type NetworkConfigResponseOutput

type NetworkConfigResponseOutput struct{ *pulumi.OutputState }

Network related configurations.

func (NetworkConfigResponseOutput) CanIpForward

Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.

func (NetworkConfigResponseOutput) ElementType

func (NetworkConfigResponseOutput) EnableExternalIps

func (o NetworkConfigResponseOutput) EnableExternalIps() pulumi.BoolOutput

Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.

func (NetworkConfigResponseOutput) Network

The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.

func (NetworkConfigResponseOutput) Subnetwork

The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.

func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutput

func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutput() NetworkConfigResponseOutput

func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext

func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ctx context.Context) NetworkConfigResponseOutput

type NetworkEndpointResponse

type NetworkEndpointResponse struct {
	// The access config for the TPU worker.
	AccessConfig AccessConfigResponse `pulumi:"accessConfig"`
	// The internal 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) AccessConfig

The access config for the TPU worker.

func (NetworkEndpointResponseOutput) ElementType

func (NetworkEndpointResponseOutput) IpAddress

The internal 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 additional data disks for the Node.
	DataDisks AttachedDiskResponseArrayOutput `pulumi:"dataDisks"`
	// 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"`
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// Immutable. The name of the TPU.
	Name pulumi.StringOutput `pulumi:"name"`
	// Network configurations for the TPU node.
	NetworkConfig NetworkConfigResponseOutput `pulumi:"networkConfig"`
	// The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
	NetworkEndpoints NetworkEndpointResponseArrayOutput `pulumi:"networkEndpoints"`
	// The runtime version running in the Node.
	RuntimeVersion pulumi.StringOutput `pulumi:"runtimeVersion"`
	// The scheduling options for this node.
	SchedulingConfig SchedulingConfigResponseOutput `pulumi:"schedulingConfig"`
	// The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
	ServiceAccount ServiceAccountResponseOutput `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"`
	// Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

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 additional data disks for the Node.
	DataDisks AttachedDiskArrayInput
	// 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
	// Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
	Metadata pulumi.StringMapInput
	// Network configurations for the TPU node.
	NetworkConfig NetworkConfigPtrInput
	// The unqualified resource name.
	NodeId  pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Idempotent request UUID.
	RequestId pulumi.StringPtrInput
	// The runtime version running in the Node.
	RuntimeVersion pulumi.StringInput
	// The scheduling options for this node.
	SchedulingConfig SchedulingConfigPtrInput
	// The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.
	ServiceAccount ServiceAccountPtrInput
	// Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Node resource.

func (NodeArgs) ElementType

func (NodeArgs) ElementType() reflect.Type

type NodeHealth

type NodeHealth string

The health status of the TPU node.

func (NodeHealth) ElementType

func (NodeHealth) ElementType() reflect.Type

func (NodeHealth) ToNodeHealthOutput

func (e NodeHealth) ToNodeHealthOutput() NodeHealthOutput

func (NodeHealth) ToNodeHealthOutputWithContext

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

func (NodeHealth) ToNodeHealthPtrOutput

func (e NodeHealth) ToNodeHealthPtrOutput() NodeHealthPtrOutput

func (NodeHealth) ToNodeHealthPtrOutputWithContext

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

func (NodeHealth) ToStringOutput

func (e NodeHealth) ToStringOutput() pulumi.StringOutput

func (NodeHealth) ToStringOutputWithContext

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

func (NodeHealth) ToStringPtrOutput

func (e NodeHealth) ToStringPtrOutput() pulumi.StringPtrOutput

func (NodeHealth) ToStringPtrOutputWithContext

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

type NodeHealthInput

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

type NodeHealthOutput struct{ *pulumi.OutputState }

func (NodeHealthOutput) ElementType

func (NodeHealthOutput) ElementType() reflect.Type

func (NodeHealthOutput) ToNodeHealthOutput

func (o NodeHealthOutput) ToNodeHealthOutput() NodeHealthOutput

func (NodeHealthOutput) ToNodeHealthOutputWithContext

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

func (NodeHealthOutput) ToNodeHealthPtrOutput

func (o NodeHealthOutput) ToNodeHealthPtrOutput() NodeHealthPtrOutput

func (NodeHealthOutput) ToNodeHealthPtrOutputWithContext

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

func (NodeHealthOutput) ToStringOutput

func (o NodeHealthOutput) ToStringOutput() pulumi.StringOutput

func (NodeHealthOutput) ToStringOutputWithContext

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

func (NodeHealthOutput) ToStringPtrOutput

func (o NodeHealthOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (NodeHealthOutput) ToStringPtrOutputWithContext

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

type NodeHealthPtrInput

type NodeHealthPtrInput interface {
	pulumi.Input

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

func NodeHealthPtr

func NodeHealthPtr(v string) NodeHealthPtrInput

type NodeHealthPtrOutput

type NodeHealthPtrOutput struct{ *pulumi.OutputState }

func (NodeHealthPtrOutput) Elem

func (NodeHealthPtrOutput) ElementType

func (NodeHealthPtrOutput) ElementType() reflect.Type

func (NodeHealthPtrOutput) ToNodeHealthPtrOutput

func (o NodeHealthPtrOutput) ToNodeHealthPtrOutput() NodeHealthPtrOutput

func (NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext

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

func (NodeHealthPtrOutput) ToStringPtrOutput

func (o NodeHealthPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (NodeHealthPtrOutput) ToStringPtrOutputWithContext

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

func (NodeOutput) ElementType() reflect.Type

func (NodeOutput) ToNodeOutput

func (o NodeOutput) ToNodeOutput() NodeOutput

func (NodeOutput) ToNodeOutputWithContext

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

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 ServiceAccount

type ServiceAccount struct {
	// Email address of the service account. If empty, default Compute service account will be used.
	Email *string `pulumi:"email"`
	// The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
	Scope []string `pulumi:"scope"`
}

A service account.

type ServiceAccountArgs

type ServiceAccountArgs struct {
	// Email address of the service account. If empty, default Compute service account will be used.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
	Scope pulumi.StringArrayInput `pulumi:"scope"`
}

A service account.

func (ServiceAccountArgs) ElementType

func (ServiceAccountArgs) ElementType() reflect.Type

func (ServiceAccountArgs) ToServiceAccountOutput

func (i ServiceAccountArgs) ToServiceAccountOutput() ServiceAccountOutput

func (ServiceAccountArgs) ToServiceAccountOutputWithContext

func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput

func (ServiceAccountArgs) ToServiceAccountPtrOutput

func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput

func (ServiceAccountArgs) ToServiceAccountPtrOutputWithContext

func (i ServiceAccountArgs) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput

type ServiceAccountInput

type ServiceAccountInput interface {
	pulumi.Input

	ToServiceAccountOutput() ServiceAccountOutput
	ToServiceAccountOutputWithContext(context.Context) ServiceAccountOutput
}

ServiceAccountInput is an input type that accepts ServiceAccountArgs and ServiceAccountOutput values. You can construct a concrete instance of `ServiceAccountInput` via:

ServiceAccountArgs{...}

type ServiceAccountOutput

type ServiceAccountOutput struct{ *pulumi.OutputState }

A service account.

func (ServiceAccountOutput) ElementType

func (ServiceAccountOutput) ElementType() reflect.Type

func (ServiceAccountOutput) Email

Email address of the service account. If empty, default Compute service account will be used.

func (ServiceAccountOutput) Scope

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

func (ServiceAccountOutput) ToServiceAccountOutput

func (o ServiceAccountOutput) ToServiceAccountOutput() ServiceAccountOutput

func (ServiceAccountOutput) ToServiceAccountOutputWithContext

func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput

func (ServiceAccountOutput) ToServiceAccountPtrOutput

func (o ServiceAccountOutput) ToServiceAccountPtrOutput() ServiceAccountPtrOutput

func (ServiceAccountOutput) ToServiceAccountPtrOutputWithContext

func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput

type ServiceAccountPtrInput

type ServiceAccountPtrInput interface {
	pulumi.Input

	ToServiceAccountPtrOutput() ServiceAccountPtrOutput
	ToServiceAccountPtrOutputWithContext(context.Context) ServiceAccountPtrOutput
}

ServiceAccountPtrInput is an input type that accepts ServiceAccountArgs, ServiceAccountPtr and ServiceAccountPtrOutput values. You can construct a concrete instance of `ServiceAccountPtrInput` via:

        ServiceAccountArgs{...}

or:

        nil

type ServiceAccountPtrOutput

type ServiceAccountPtrOutput struct{ *pulumi.OutputState }

func (ServiceAccountPtrOutput) Elem

func (ServiceAccountPtrOutput) ElementType

func (ServiceAccountPtrOutput) ElementType() reflect.Type

func (ServiceAccountPtrOutput) Email

Email address of the service account. If empty, default Compute service account will be used.

func (ServiceAccountPtrOutput) Scope

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

func (ServiceAccountPtrOutput) ToServiceAccountPtrOutput

func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutput() ServiceAccountPtrOutput

func (ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext

func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput

type ServiceAccountResponse

type ServiceAccountResponse struct {
	// Email address of the service account. If empty, default Compute service account will be used.
	Email string `pulumi:"email"`
	// The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
	Scope []string `pulumi:"scope"`
}

A service account.

type ServiceAccountResponseOutput

type ServiceAccountResponseOutput struct{ *pulumi.OutputState }

A service account.

func (ServiceAccountResponseOutput) ElementType

func (ServiceAccountResponseOutput) Email

Email address of the service account. If empty, default Compute service account will be used.

func (ServiceAccountResponseOutput) Scope

The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

func (ServiceAccountResponseOutput) ToServiceAccountResponseOutput

func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutput() ServiceAccountResponseOutput

func (ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext

func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext(ctx context.Context) ServiceAccountResponseOutput

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