Documentation
¶
Index ¶
- Constants
- type AccessConfigResponse
- type AccessConfigResponseOutput
- func (AccessConfigResponseOutput) ElementType() reflect.Type
- func (o AccessConfigResponseOutput) ExternalIp() pulumi.StringOutput
- func (o AccessConfigResponseOutput) ToAccessConfigResponseOutput() AccessConfigResponseOutput
- func (o AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext(ctx context.Context) AccessConfigResponseOutput
- type AttachedDisk
- type AttachedDiskArgs
- type AttachedDiskArray
- type AttachedDiskArrayInput
- type AttachedDiskArrayOutput
- func (AttachedDiskArrayOutput) ElementType() reflect.Type
- func (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput
- func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutput() AttachedDiskArrayOutput
- func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx context.Context) AttachedDiskArrayOutput
- type AttachedDiskInput
- type AttachedDiskMode
- func (AttachedDiskMode) ElementType() reflect.Type
- func (e AttachedDiskMode) ToAttachedDiskModeOutput() AttachedDiskModeOutput
- func (e AttachedDiskMode) ToAttachedDiskModeOutputWithContext(ctx context.Context) AttachedDiskModeOutput
- func (e AttachedDiskMode) ToAttachedDiskModePtrOutput() AttachedDiskModePtrOutput
- func (e AttachedDiskMode) ToAttachedDiskModePtrOutputWithContext(ctx context.Context) AttachedDiskModePtrOutput
- func (e AttachedDiskMode) ToStringOutput() pulumi.StringOutput
- func (e AttachedDiskMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e AttachedDiskMode) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e AttachedDiskMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AttachedDiskModeInput
- type AttachedDiskModeOutput
- func (AttachedDiskModeOutput) ElementType() reflect.Type
- func (o AttachedDiskModeOutput) ToAttachedDiskModeOutput() AttachedDiskModeOutput
- func (o AttachedDiskModeOutput) ToAttachedDiskModeOutputWithContext(ctx context.Context) AttachedDiskModeOutput
- func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutput() AttachedDiskModePtrOutput
- func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext(ctx context.Context) AttachedDiskModePtrOutput
- func (o AttachedDiskModeOutput) ToStringOutput() pulumi.StringOutput
- func (o AttachedDiskModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o AttachedDiskModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AttachedDiskModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AttachedDiskModePtrInput
- type AttachedDiskModePtrOutput
- func (o AttachedDiskModePtrOutput) Elem() AttachedDiskModeOutput
- func (AttachedDiskModePtrOutput) ElementType() reflect.Type
- func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutput() AttachedDiskModePtrOutput
- func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext(ctx context.Context) AttachedDiskModePtrOutput
- func (o AttachedDiskModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o AttachedDiskModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type AttachedDiskOutput
- func (AttachedDiskOutput) ElementType() reflect.Type
- func (o AttachedDiskOutput) Mode() AttachedDiskModePtrOutput
- func (o AttachedDiskOutput) SourceDisk() pulumi.StringPtrOutput
- func (o AttachedDiskOutput) ToAttachedDiskOutput() AttachedDiskOutput
- func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) AttachedDiskOutput
- type AttachedDiskResponse
- type AttachedDiskResponseArrayOutput
- func (AttachedDiskResponseArrayOutput) ElementType() reflect.Type
- func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput
- func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutput() AttachedDiskResponseArrayOutput
- func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithContext(ctx context.Context) AttachedDiskResponseArrayOutput
- type AttachedDiskResponseOutput
- func (AttachedDiskResponseOutput) ElementType() reflect.Type
- func (o AttachedDiskResponseOutput) Mode() pulumi.StringOutput
- func (o AttachedDiskResponseOutput) SourceDisk() pulumi.StringOutput
- func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutput() AttachedDiskResponseOutput
- func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx context.Context) AttachedDiskResponseOutput
- type LookupNodeArgs
- type LookupNodeOutputArgs
- type LookupNodeResult
- type LookupNodeResultOutput
- func (o LookupNodeResultOutput) AcceleratorType() pulumi.StringOutput
- func (o LookupNodeResultOutput) ApiVersion() pulumi.StringOutput
- func (o LookupNodeResultOutput) CidrBlock() pulumi.StringOutput
- func (o LookupNodeResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupNodeResultOutput) DataDisks() AttachedDiskResponseArrayOutput
- func (o LookupNodeResultOutput) Description() pulumi.StringOutput
- func (LookupNodeResultOutput) ElementType() reflect.Type
- func (o LookupNodeResultOutput) Health() pulumi.StringOutput
- func (o LookupNodeResultOutput) HealthDescription() pulumi.StringOutput
- func (o LookupNodeResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupNodeResultOutput) Metadata() pulumi.StringMapOutput
- func (o LookupNodeResultOutput) Name() pulumi.StringOutput
- func (o LookupNodeResultOutput) NetworkConfig() NetworkConfigResponseOutput
- func (o LookupNodeResultOutput) NetworkEndpoints() NetworkEndpointResponseArrayOutput
- func (o LookupNodeResultOutput) RuntimeVersion() pulumi.StringOutput
- func (o LookupNodeResultOutput) SchedulingConfig() SchedulingConfigResponseOutput
- func (o LookupNodeResultOutput) ServiceAccount() ServiceAccountResponseOutput
- func (o LookupNodeResultOutput) State() pulumi.StringOutput
- func (o LookupNodeResultOutput) Symptoms() SymptomResponseArrayOutput
- func (o LookupNodeResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupNodeResultOutput) ToLookupNodeResultOutput() LookupNodeResultOutput
- func (o LookupNodeResultOutput) ToLookupNodeResultOutputWithContext(ctx context.Context) LookupNodeResultOutput
- type NetworkConfig
- type NetworkConfigArgs
- func (NetworkConfigArgs) ElementType() reflect.Type
- func (i NetworkConfigArgs) ToNetworkConfigOutput() NetworkConfigOutput
- func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput
- func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
- func (i NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
- type NetworkConfigInput
- type NetworkConfigOutput
- func (o NetworkConfigOutput) CanIpForward() pulumi.BoolPtrOutput
- func (NetworkConfigOutput) ElementType() reflect.Type
- func (o NetworkConfigOutput) EnableExternalIps() pulumi.BoolPtrOutput
- func (o NetworkConfigOutput) Network() pulumi.StringPtrOutput
- func (o NetworkConfigOutput) Subnetwork() pulumi.StringPtrOutput
- func (o NetworkConfigOutput) ToNetworkConfigOutput() NetworkConfigOutput
- func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput
- func (o NetworkConfigOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
- func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
- type NetworkConfigPtrInput
- type NetworkConfigPtrOutput
- func (o NetworkConfigPtrOutput) CanIpForward() pulumi.BoolPtrOutput
- func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput
- func (NetworkConfigPtrOutput) ElementType() reflect.Type
- func (o NetworkConfigPtrOutput) EnableExternalIps() pulumi.BoolPtrOutput
- func (o NetworkConfigPtrOutput) Network() pulumi.StringPtrOutput
- func (o NetworkConfigPtrOutput) Subnetwork() pulumi.StringPtrOutput
- func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
- func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput
- type NetworkConfigResponse
- type NetworkConfigResponseOutput
- func (o NetworkConfigResponseOutput) CanIpForward() pulumi.BoolOutput
- func (NetworkConfigResponseOutput) ElementType() reflect.Type
- func (o NetworkConfigResponseOutput) EnableExternalIps() pulumi.BoolOutput
- func (o NetworkConfigResponseOutput) Network() pulumi.StringOutput
- func (o NetworkConfigResponseOutput) Subnetwork() pulumi.StringOutput
- func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutput() NetworkConfigResponseOutput
- func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ctx context.Context) NetworkConfigResponseOutput
- type NetworkEndpointResponse
- type NetworkEndpointResponseArrayOutput
- func (NetworkEndpointResponseArrayOutput) ElementType() reflect.Type
- func (o NetworkEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkEndpointResponseOutput
- func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutput() NetworkEndpointResponseArrayOutput
- func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutputWithContext(ctx context.Context) NetworkEndpointResponseArrayOutput
- type NetworkEndpointResponseOutput
- func (o NetworkEndpointResponseOutput) AccessConfig() AccessConfigResponseOutput
- func (NetworkEndpointResponseOutput) ElementType() reflect.Type
- func (o NetworkEndpointResponseOutput) IpAddress() pulumi.StringOutput
- func (o NetworkEndpointResponseOutput) Port() pulumi.IntOutput
- func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutput() NetworkEndpointResponseOutput
- func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutputWithContext(ctx context.Context) NetworkEndpointResponseOutput
- type Node
- type NodeArgs
- type NodeHealth
- func (NodeHealth) ElementType() reflect.Type
- func (e NodeHealth) ToNodeHealthOutput() NodeHealthOutput
- func (e NodeHealth) ToNodeHealthOutputWithContext(ctx context.Context) NodeHealthOutput
- func (e NodeHealth) ToNodeHealthPtrOutput() NodeHealthPtrOutput
- func (e NodeHealth) ToNodeHealthPtrOutputWithContext(ctx context.Context) NodeHealthPtrOutput
- func (e NodeHealth) ToStringOutput() pulumi.StringOutput
- func (e NodeHealth) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e NodeHealth) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e NodeHealth) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NodeHealthInput
- type NodeHealthOutput
- func (NodeHealthOutput) ElementType() reflect.Type
- func (o NodeHealthOutput) ToNodeHealthOutput() NodeHealthOutput
- func (o NodeHealthOutput) ToNodeHealthOutputWithContext(ctx context.Context) NodeHealthOutput
- func (o NodeHealthOutput) ToNodeHealthPtrOutput() NodeHealthPtrOutput
- func (o NodeHealthOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) NodeHealthPtrOutput
- func (o NodeHealthOutput) ToStringOutput() pulumi.StringOutput
- func (o NodeHealthOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o NodeHealthOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NodeHealthOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NodeHealthPtrInput
- type NodeHealthPtrOutput
- func (o NodeHealthPtrOutput) Elem() NodeHealthOutput
- func (NodeHealthPtrOutput) ElementType() reflect.Type
- func (o NodeHealthPtrOutput) ToNodeHealthPtrOutput() NodeHealthPtrOutput
- func (o NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) NodeHealthPtrOutput
- func (o NodeHealthPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NodeHealthPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NodeInput
- type NodeOutput
- type NodeState
- type SchedulingConfig
- type SchedulingConfigArgs
- func (SchedulingConfigArgs) ElementType() reflect.Type
- func (i SchedulingConfigArgs) ToSchedulingConfigOutput() SchedulingConfigOutput
- func (i SchedulingConfigArgs) ToSchedulingConfigOutputWithContext(ctx context.Context) SchedulingConfigOutput
- func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput
- func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutputWithContext(ctx context.Context) SchedulingConfigPtrOutput
- type SchedulingConfigInput
- type SchedulingConfigOutput
- func (SchedulingConfigOutput) ElementType() reflect.Type
- func (o SchedulingConfigOutput) Preemptible() pulumi.BoolPtrOutput
- func (o SchedulingConfigOutput) Reserved() pulumi.BoolPtrOutput
- func (o SchedulingConfigOutput) ToSchedulingConfigOutput() SchedulingConfigOutput
- func (o SchedulingConfigOutput) ToSchedulingConfigOutputWithContext(ctx context.Context) SchedulingConfigOutput
- func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput
- func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutputWithContext(ctx context.Context) SchedulingConfigPtrOutput
- type SchedulingConfigPtrInput
- type SchedulingConfigPtrOutput
- func (o SchedulingConfigPtrOutput) Elem() SchedulingConfigOutput
- func (SchedulingConfigPtrOutput) ElementType() reflect.Type
- func (o SchedulingConfigPtrOutput) Preemptible() pulumi.BoolPtrOutput
- func (o SchedulingConfigPtrOutput) Reserved() pulumi.BoolPtrOutput
- func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput
- func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutputWithContext(ctx context.Context) SchedulingConfigPtrOutput
- type SchedulingConfigResponse
- type SchedulingConfigResponseOutput
- func (SchedulingConfigResponseOutput) ElementType() reflect.Type
- func (o SchedulingConfigResponseOutput) Preemptible() pulumi.BoolOutput
- func (o SchedulingConfigResponseOutput) Reserved() pulumi.BoolOutput
- func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutput() SchedulingConfigResponseOutput
- func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutputWithContext(ctx context.Context) SchedulingConfigResponseOutput
- type ServiceAccount
- type ServiceAccountArgs
- func (ServiceAccountArgs) ElementType() reflect.Type
- func (i ServiceAccountArgs) ToServiceAccountOutput() ServiceAccountOutput
- func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput
- func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput
- func (i ServiceAccountArgs) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput
- type ServiceAccountInput
- type ServiceAccountOutput
- func (ServiceAccountOutput) ElementType() reflect.Type
- func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput
- func (o ServiceAccountOutput) Scope() pulumi.StringArrayOutput
- func (o ServiceAccountOutput) ToServiceAccountOutput() ServiceAccountOutput
- func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput
- func (o ServiceAccountOutput) ToServiceAccountPtrOutput() ServiceAccountPtrOutput
- func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput
- type ServiceAccountPtrInput
- type ServiceAccountPtrOutput
- func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput
- func (ServiceAccountPtrOutput) ElementType() reflect.Type
- func (o ServiceAccountPtrOutput) Email() pulumi.StringPtrOutput
- func (o ServiceAccountPtrOutput) Scope() pulumi.StringArrayOutput
- func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutput() ServiceAccountPtrOutput
- func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx context.Context) ServiceAccountPtrOutput
- type ServiceAccountResponse
- type ServiceAccountResponseOutput
- func (ServiceAccountResponseOutput) ElementType() reflect.Type
- func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput
- func (o ServiceAccountResponseOutput) Scope() pulumi.StringArrayOutput
- func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutput() ServiceAccountResponseOutput
- func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext(ctx context.Context) ServiceAccountResponseOutput
- type SymptomResponse
- type SymptomResponseArrayOutput
- func (SymptomResponseArrayOutput) ElementType() reflect.Type
- func (o SymptomResponseArrayOutput) Index(i pulumi.IntInput) SymptomResponseOutput
- func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutput() SymptomResponseArrayOutput
- func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutputWithContext(ctx context.Context) SymptomResponseArrayOutput
- type SymptomResponseOutput
- func (o SymptomResponseOutput) CreateTime() pulumi.StringOutput
- func (o SymptomResponseOutput) Details() pulumi.StringOutput
- func (SymptomResponseOutput) ElementType() reflect.Type
- func (o SymptomResponseOutput) SymptomType() pulumi.StringOutput
- func (o SymptomResponseOutput) ToSymptomResponseOutput() SymptomResponseOutput
- func (o SymptomResponseOutput) ToSymptomResponseOutputWithContext(ctx context.Context) SymptomResponseOutput
- func (o SymptomResponseOutput) WorkerId() pulumi.StringOutput
Constants ¶
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") )
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 ¶
func (o AccessConfigResponseOutput) ExternalIp() pulumi.StringOutput
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 (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput
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 (o AttachedDiskModePtrOutput) Elem() AttachedDiskModeOutput
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 ¶
func (o AttachedDiskOutput) Mode() AttachedDiskModePtrOutput
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) ElementType() reflect.Type
func (AttachedDiskResponseArrayOutput) Index ¶
func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput
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 ¶
func (o AttachedDiskResponseOutput) Mode() pulumi.StringOutput
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 ¶
func (o AttachedDiskResponseOutput) SourceDisk() pulumi.StringOutput
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 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 LookupNodeOutput ¶
func LookupNodeOutput(ctx *pulumi.Context, args LookupNodeOutputArgs, opts ...pulumi.InvokeOption) LookupNodeResultOutput
func (LookupNodeResultOutput) AcceleratorType ¶
func (o LookupNodeResultOutput) AcceleratorType() pulumi.StringOutput
The type of hardware accelerators associated with this node.
func (LookupNodeResultOutput) ApiVersion ¶
func (o LookupNodeResultOutput) ApiVersion() pulumi.StringOutput
The API version that created this Node.
func (LookupNodeResultOutput) CidrBlock ¶
func (o LookupNodeResultOutput) 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 (LookupNodeResultOutput) CreateTime ¶
func (o LookupNodeResultOutput) CreateTime() pulumi.StringOutput
The time when the node was created.
func (LookupNodeResultOutput) DataDisks ¶
func (o LookupNodeResultOutput) DataDisks() AttachedDiskResponseArrayOutput
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 ¶
func (o LookupNodeResultOutput) Health() pulumi.StringOutput
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 ¶
func (o LookupNodeResultOutput) Labels() pulumi.StringMapOutput
Resource labels to represent user-provided metadata.
func (LookupNodeResultOutput) Metadata ¶
func (o LookupNodeResultOutput) Metadata() pulumi.StringMapOutput
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
func (LookupNodeResultOutput) Name ¶
func (o LookupNodeResultOutput) Name() pulumi.StringOutput
Immutable. The name of the TPU.
func (LookupNodeResultOutput) NetworkConfig ¶
func (o LookupNodeResultOutput) NetworkConfig() NetworkConfigResponseOutput
Network configurations for the TPU node.
func (LookupNodeResultOutput) NetworkEndpoints ¶
func (o LookupNodeResultOutput) NetworkEndpoints() NetworkEndpointResponseArrayOutput
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 ¶
func (o LookupNodeResultOutput) SchedulingConfig() SchedulingConfigResponseOutput
The scheduling options for this node.
func (LookupNodeResultOutput) ServiceAccount ¶
func (o LookupNodeResultOutput) ServiceAccount() ServiceAccountResponseOutput
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 ¶
func (o LookupNodeResultOutput) State() pulumi.StringOutput
The current state for the TPU Node.
func (LookupNodeResultOutput) Symptoms ¶
func (o LookupNodeResultOutput) Symptoms() SymptomResponseArrayOutput
The Symptoms that have occurred to the TPU Node.
func (LookupNodeResultOutput) Tags ¶
func (o LookupNodeResultOutput) Tags() pulumi.StringArrayOutput
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 ¶
func (o NetworkConfigOutput) Network() pulumi.StringPtrOutput
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 ¶
func (o NetworkConfigOutput) Subnetwork() pulumi.StringPtrOutput
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
func NetworkConfigPtr ¶
func NetworkConfigPtr(v *NetworkConfigArgs) NetworkConfigPtrInput
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 (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput
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 ¶
func (o NetworkConfigPtrOutput) Network() pulumi.StringPtrOutput
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 ¶
func (o NetworkConfigPtrOutput) Subnetwork() pulumi.StringPtrOutput
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 ¶
func (o NetworkConfigResponseOutput) CanIpForward() pulumi.BoolOutput
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) ElementType() reflect.Type
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 ¶
func (o NetworkConfigResponseOutput) Network() pulumi.StringOutput
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 ¶
func (o NetworkConfigResponseOutput) Subnetwork() pulumi.StringOutput
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) ElementType() reflect.Type
func (NetworkEndpointResponseArrayOutput) Index ¶
func (o NetworkEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkEndpointResponseOutput
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 ¶
func (o NetworkEndpointResponseOutput) AccessConfig() AccessConfigResponseOutput
The access config for the TPU worker.
func (NetworkEndpointResponseOutput) ElementType ¶
func (NetworkEndpointResponseOutput) ElementType() reflect.Type
func (NetworkEndpointResponseOutput) IpAddress ¶
func (o NetworkEndpointResponseOutput) IpAddress() pulumi.StringOutput
The internal IP address of this network endpoint.
func (NetworkEndpointResponseOutput) Port ¶
func (o NetworkEndpointResponseOutput) Port() pulumi.IntOutput
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) 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 ¶
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 (o NodeHealthPtrOutput) Elem() NodeHealthOutput
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 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 ¶
func (o SchedulingConfigOutput) Preemptible() pulumi.BoolPtrOutput
Defines whether the node is preemptible.
func (SchedulingConfigOutput) Reserved ¶
func (o SchedulingConfigOutput) Reserved() pulumi.BoolPtrOutput
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
func SchedulingConfigPtr ¶
func SchedulingConfigPtr(v *SchedulingConfigArgs) SchedulingConfigPtrInput
type SchedulingConfigPtrOutput ¶
type SchedulingConfigPtrOutput struct{ *pulumi.OutputState }
func (SchedulingConfigPtrOutput) Elem ¶
func (o SchedulingConfigPtrOutput) Elem() SchedulingConfigOutput
func (SchedulingConfigPtrOutput) ElementType ¶
func (SchedulingConfigPtrOutput) ElementType() reflect.Type
func (SchedulingConfigPtrOutput) Preemptible ¶
func (o SchedulingConfigPtrOutput) Preemptible() pulumi.BoolPtrOutput
Defines whether the node is preemptible.
func (SchedulingConfigPtrOutput) Reserved ¶
func (o SchedulingConfigPtrOutput) Reserved() pulumi.BoolPtrOutput
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) ElementType() reflect.Type
func (SchedulingConfigResponseOutput) Preemptible ¶
func (o SchedulingConfigResponseOutput) Preemptible() pulumi.BoolOutput
Defines whether the node is preemptible.
func (SchedulingConfigResponseOutput) Reserved ¶
func (o SchedulingConfigResponseOutput) Reserved() pulumi.BoolOutput
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 ¶
func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput
Email address of the service account. If empty, default Compute service account will be used.
func (ServiceAccountOutput) Scope ¶
func (o ServiceAccountOutput) Scope() pulumi.StringArrayOutput
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
func ServiceAccountPtr ¶
func ServiceAccountPtr(v *ServiceAccountArgs) ServiceAccountPtrInput
type ServiceAccountPtrOutput ¶
type ServiceAccountPtrOutput struct{ *pulumi.OutputState }
func (ServiceAccountPtrOutput) Elem ¶
func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput
func (ServiceAccountPtrOutput) ElementType ¶
func (ServiceAccountPtrOutput) ElementType() reflect.Type
func (ServiceAccountPtrOutput) Email ¶
func (o ServiceAccountPtrOutput) Email() pulumi.StringPtrOutput
Email address of the service account. If empty, default Compute service account will be used.
func (ServiceAccountPtrOutput) Scope ¶
func (o ServiceAccountPtrOutput) Scope() pulumi.StringArrayOutput
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) ElementType() reflect.Type
func (ServiceAccountResponseOutput) Email ¶
func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput
Email address of the service account. If empty, default Compute service account will be used.
func (ServiceAccountResponseOutput) Scope ¶
func (o ServiceAccountResponseOutput) Scope() pulumi.StringArrayOutput
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 (o SymptomResponseArrayOutput) Index(i pulumi.IntInput) SymptomResponseOutput
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 ¶
func (o SymptomResponseOutput) Details() pulumi.StringOutput
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 ¶
func (o SymptomResponseOutput) WorkerId() pulumi.StringOutput
A string used to uniquely distinguish a worker within a TPU node.