Documentation
¶
Index ¶
- func GoogleTpuV2Vm_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GoogleTpuV2Vm_IsConstruct(x interface{}) *bool
- func GoogleTpuV2Vm_IsTerraformElement(x interface{}) *bool
- func GoogleTpuV2Vm_IsTerraformResource(x interface{}) *bool
- func GoogleTpuV2Vm_TfResourceType() *string
- func NewGoogleTpuV2VmAcceleratorConfigOutputReference_Override(g GoogleTpuV2VmAcceleratorConfigOutputReference, ...)
- func NewGoogleTpuV2VmDataDisksList_Override(g GoogleTpuV2VmDataDisksList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewGoogleTpuV2VmDataDisksOutputReference_Override(g GoogleTpuV2VmDataDisksOutputReference, ...)
- func NewGoogleTpuV2VmNetworkConfigOutputReference_Override(g GoogleTpuV2VmNetworkConfigOutputReference, ...)
- func NewGoogleTpuV2VmNetworkEndpointsAccessConfigList_Override(g GoogleTpuV2VmNetworkEndpointsAccessConfigList, ...)
- func NewGoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference_Override(g GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference, ...)
- func NewGoogleTpuV2VmNetworkEndpointsList_Override(g GoogleTpuV2VmNetworkEndpointsList, ...)
- func NewGoogleTpuV2VmNetworkEndpointsOutputReference_Override(g GoogleTpuV2VmNetworkEndpointsOutputReference, ...)
- func NewGoogleTpuV2VmSchedulingConfigOutputReference_Override(g GoogleTpuV2VmSchedulingConfigOutputReference, ...)
- func NewGoogleTpuV2VmServiceAccountOutputReference_Override(g GoogleTpuV2VmServiceAccountOutputReference, ...)
- func NewGoogleTpuV2VmShieldedInstanceConfigOutputReference_Override(g GoogleTpuV2VmShieldedInstanceConfigOutputReference, ...)
- func NewGoogleTpuV2VmSymptomsList_Override(g GoogleTpuV2VmSymptomsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewGoogleTpuV2VmSymptomsOutputReference_Override(g GoogleTpuV2VmSymptomsOutputReference, ...)
- func NewGoogleTpuV2VmTimeoutsOutputReference_Override(g GoogleTpuV2VmTimeoutsOutputReference, ...)
- func NewGoogleTpuV2Vm_Override(g GoogleTpuV2Vm, scope constructs.Construct, id *string, ...)
- type GoogleTpuV2Vm
- type GoogleTpuV2VmAcceleratorConfig
- type GoogleTpuV2VmAcceleratorConfigOutputReference
- type GoogleTpuV2VmConfig
- type GoogleTpuV2VmDataDisks
- type GoogleTpuV2VmDataDisksList
- type GoogleTpuV2VmDataDisksOutputReference
- type GoogleTpuV2VmNetworkConfig
- type GoogleTpuV2VmNetworkConfigOutputReference
- type GoogleTpuV2VmNetworkEndpoints
- type GoogleTpuV2VmNetworkEndpointsAccessConfig
- type GoogleTpuV2VmNetworkEndpointsAccessConfigList
- type GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference
- type GoogleTpuV2VmNetworkEndpointsList
- type GoogleTpuV2VmNetworkEndpointsOutputReference
- type GoogleTpuV2VmSchedulingConfig
- type GoogleTpuV2VmSchedulingConfigOutputReference
- type GoogleTpuV2VmServiceAccount
- type GoogleTpuV2VmServiceAccountOutputReference
- type GoogleTpuV2VmShieldedInstanceConfig
- type GoogleTpuV2VmShieldedInstanceConfigOutputReference
- type GoogleTpuV2VmSymptoms
- type GoogleTpuV2VmSymptomsList
- type GoogleTpuV2VmSymptomsOutputReference
- type GoogleTpuV2VmTimeouts
- type GoogleTpuV2VmTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleTpuV2Vm_GenerateConfigForImport ¶
func GoogleTpuV2Vm_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GoogleTpuV2Vm resource upon running "cdktf plan <stack-name>".
func GoogleTpuV2Vm_IsConstruct ¶
func GoogleTpuV2Vm_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func GoogleTpuV2Vm_IsTerraformElement ¶
func GoogleTpuV2Vm_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleTpuV2Vm_IsTerraformResource ¶
func GoogleTpuV2Vm_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleTpuV2Vm_TfResourceType ¶
func GoogleTpuV2Vm_TfResourceType() *string
func NewGoogleTpuV2VmAcceleratorConfigOutputReference_Override ¶
func NewGoogleTpuV2VmAcceleratorConfigOutputReference_Override(g GoogleTpuV2VmAcceleratorConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleTpuV2VmDataDisksList_Override ¶
func NewGoogleTpuV2VmDataDisksList_Override(g GoogleTpuV2VmDataDisksList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleTpuV2VmDataDisksOutputReference_Override ¶
func NewGoogleTpuV2VmDataDisksOutputReference_Override(g GoogleTpuV2VmDataDisksOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleTpuV2VmNetworkConfigOutputReference_Override ¶
func NewGoogleTpuV2VmNetworkConfigOutputReference_Override(g GoogleTpuV2VmNetworkConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigList_Override ¶
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigList_Override(g GoogleTpuV2VmNetworkEndpointsAccessConfigList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference_Override ¶
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference_Override(g GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleTpuV2VmNetworkEndpointsList_Override ¶
func NewGoogleTpuV2VmNetworkEndpointsList_Override(g GoogleTpuV2VmNetworkEndpointsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleTpuV2VmNetworkEndpointsOutputReference_Override ¶
func NewGoogleTpuV2VmNetworkEndpointsOutputReference_Override(g GoogleTpuV2VmNetworkEndpointsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleTpuV2VmSchedulingConfigOutputReference_Override ¶
func NewGoogleTpuV2VmSchedulingConfigOutputReference_Override(g GoogleTpuV2VmSchedulingConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleTpuV2VmServiceAccountOutputReference_Override ¶
func NewGoogleTpuV2VmServiceAccountOutputReference_Override(g GoogleTpuV2VmServiceAccountOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleTpuV2VmShieldedInstanceConfigOutputReference_Override ¶
func NewGoogleTpuV2VmShieldedInstanceConfigOutputReference_Override(g GoogleTpuV2VmShieldedInstanceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleTpuV2VmSymptomsList_Override ¶
func NewGoogleTpuV2VmSymptomsList_Override(g GoogleTpuV2VmSymptomsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleTpuV2VmSymptomsOutputReference_Override ¶
func NewGoogleTpuV2VmSymptomsOutputReference_Override(g GoogleTpuV2VmSymptomsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleTpuV2VmTimeoutsOutputReference_Override ¶
func NewGoogleTpuV2VmTimeoutsOutputReference_Override(g GoogleTpuV2VmTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleTpuV2Vm_Override ¶
func NewGoogleTpuV2Vm_Override(g GoogleTpuV2Vm, scope constructs.Construct, id *string, config *GoogleTpuV2VmConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm google_tpu_v2_vm} Resource.
Types ¶
type GoogleTpuV2Vm ¶
type GoogleTpuV2Vm interface {
cdktf.TerraformResource
AcceleratorConfig() GoogleTpuV2VmAcceleratorConfigOutputReference
AcceleratorConfigInput() *GoogleTpuV2VmAcceleratorConfig
AcceleratorType() *string
SetAcceleratorType(val *string)
AcceleratorTypeInput() *string
ApiVersion() *string
// Experimental.
CdktfStack() cdktf.TerraformStack
CidrBlock() *string
SetCidrBlock(val *string)
CidrBlockInput() *string
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
// Experimental.
Count() interface{}
// Experimental.
SetCount(val interface{})
DataDisks() GoogleTpuV2VmDataDisksList
DataDisksInput() interface{}
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
Description() *string
SetDescription(val *string)
DescriptionInput() *string
EffectiveLabels() cdktf.StringMap
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
Health() *string
HealthDescription() *string
Id() *string
SetId(val *string)
IdInput() *string
Labels() *map[string]*string
SetLabels(val *map[string]*string)
LabelsInput() *map[string]*string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
Metadata() *map[string]*string
SetMetadata(val *map[string]*string)
MetadataInput() *map[string]*string
MultisliceNode() cdktf.IResolvable
Name() *string
SetName(val *string)
NameInput() *string
NetworkConfig() GoogleTpuV2VmNetworkConfigOutputReference
NetworkConfigInput() *GoogleTpuV2VmNetworkConfig
NetworkEndpoints() GoogleTpuV2VmNetworkEndpointsList
// The tree node.
Node() constructs.Node
Project() *string
SetProject(val *string)
ProjectInput() *string
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
QueuedResource() *string
// Experimental.
RawOverrides() interface{}
RuntimeVersion() *string
SetRuntimeVersion(val *string)
RuntimeVersionInput() *string
SchedulingConfig() GoogleTpuV2VmSchedulingConfigOutputReference
SchedulingConfigInput() *GoogleTpuV2VmSchedulingConfig
ServiceAccount() GoogleTpuV2VmServiceAccountOutputReference
ServiceAccountInput() *GoogleTpuV2VmServiceAccount
ShieldedInstanceConfig() GoogleTpuV2VmShieldedInstanceConfigOutputReference
ShieldedInstanceConfigInput() *GoogleTpuV2VmShieldedInstanceConfig
State() *string
Symptoms() GoogleTpuV2VmSymptomsList
Tags() *[]*string
SetTags(val *[]*string)
TagsInput() *[]*string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
TerraformLabels() cdktf.StringMap
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Timeouts() GoogleTpuV2VmTimeoutsOutputReference
TimeoutsInput() interface{}
Zone() *string
SetZone(val *string)
ZoneInput() *string
// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
// Experimental.
AddMoveTarget(moveTarget *string)
// Experimental.
AddOverride(path *string, value interface{})
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
HasResourceMove() interface{}
// Experimental.
ImportFrom(id *string, provider cdktf.TerraformProvider)
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Move the resource corresponding to "id" to this resource.
//
// Note that the resource being moved from must be marked as moved using it's instance function.
// Experimental.
MoveFromId(id *string)
// Moves this resource to the target resource given by moveTarget.
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Moves this resource to the resource corresponding to "id".
// Experimental.
MoveToId(id *string)
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutAcceleratorConfig(value *GoogleTpuV2VmAcceleratorConfig)
PutDataDisks(value interface{})
PutNetworkConfig(value *GoogleTpuV2VmNetworkConfig)
PutSchedulingConfig(value *GoogleTpuV2VmSchedulingConfig)
PutServiceAccount(value *GoogleTpuV2VmServiceAccount)
PutShieldedInstanceConfig(value *GoogleTpuV2VmShieldedInstanceConfig)
PutTimeouts(value *GoogleTpuV2VmTimeouts)
ResetAcceleratorConfig()
ResetAcceleratorType()
ResetCidrBlock()
ResetDataDisks()
ResetDescription()
ResetId()
ResetLabels()
ResetMetadata()
ResetNetworkConfig()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetProject()
ResetSchedulingConfig()
ResetServiceAccount()
ResetShieldedInstanceConfig()
ResetTags()
ResetTimeouts()
ResetZone()
SynthesizeAttributes() *map[string]interface{}
SynthesizeHclAttributes() *map[string]interface{}
// Experimental.
ToHclTerraform() interface{}
// Experimental.
ToMetadata() interface{}
// Returns a string representation of this construct.
ToString() *string
// Adds this resource to the terraform JSON output.
// Experimental.
ToTerraform() interface{}
}
Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm google_tpu_v2_vm}.
func NewGoogleTpuV2Vm ¶
func NewGoogleTpuV2Vm(scope constructs.Construct, id *string, config *GoogleTpuV2VmConfig) GoogleTpuV2Vm
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm google_tpu_v2_vm} Resource.
type GoogleTpuV2VmAcceleratorConfig ¶
type GoogleTpuV2VmAcceleratorConfig struct {
// Topology of TPU in chips.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#topology GoogleTpuV2Vm#topology}
Topology *string `field:"required" json:"topology" yaml:"topology"`
// Type of TPU. Possible values: ["V2", "V3", "V4", "V5P"].
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#type GoogleTpuV2Vm#type}
Type *string `field:"required" json:"type" yaml:"type"`
}
type GoogleTpuV2VmAcceleratorConfigOutputReference ¶
type GoogleTpuV2VmAcceleratorConfigOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmAcceleratorConfig
SetInternalValue(val *GoogleTpuV2VmAcceleratorConfig)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Topology() *string
SetTopology(val *string)
TopologyInput() *string
Type() *string
SetType(val *string)
TypeInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmAcceleratorConfigOutputReference ¶
func NewGoogleTpuV2VmAcceleratorConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleTpuV2VmAcceleratorConfigOutputReference
type GoogleTpuV2VmConfig ¶
type GoogleTpuV2VmConfig struct {
// Experimental.
Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
// Experimental.
Count interface{} `field:"optional" json:"count" yaml:"count"`
// Experimental.
DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
// Experimental.
ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
// Experimental.
Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
// Experimental.
Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
// Experimental.
Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
// The immutable name of the TPU.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#name GoogleTpuV2Vm#name}
Name *string `field:"required" json:"name" yaml:"name"`
// Runtime version for the TPU.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#runtime_version GoogleTpuV2Vm#runtime_version}
RuntimeVersion *string `field:"required" json:"runtimeVersion" yaml:"runtimeVersion"`
// accelerator_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#accelerator_config GoogleTpuV2Vm#accelerator_config}
AcceleratorConfig *GoogleTpuV2VmAcceleratorConfig `field:"optional" json:"acceleratorConfig" yaml:"acceleratorConfig"`
// TPU accelerator type for the TPU.
//
// 'accelerator_type' cannot be used at the same time as
// 'accelerator_config'. If neither is specified, 'accelerator_type' defaults to 'v2-8'.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#accelerator_type GoogleTpuV2Vm#accelerator_type}
AcceleratorType *string `field:"optional" json:"acceleratorType" yaml:"acceleratorType"`
// 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.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#cidr_block GoogleTpuV2Vm#cidr_block}
CidrBlock *string `field:"optional" json:"cidrBlock" yaml:"cidrBlock"`
// data_disks block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#data_disks GoogleTpuV2Vm#data_disks}
DataDisks interface{} `field:"optional" json:"dataDisks" yaml:"dataDisks"`
// Text description of the TPU.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#description GoogleTpuV2Vm#description}
Description *string `field:"optional" json:"description" yaml:"description"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#id GoogleTpuV2Vm#id}.
//
// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
Id *string `field:"optional" json:"id" yaml:"id"`
// Resource labels to represent user-provided metadata.
//
// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
// Please refer to the field 'effective_labels' for all of the labels present on the resource.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#labels GoogleTpuV2Vm#labels}
Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"`
// Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#metadata GoogleTpuV2Vm#metadata}
Metadata *map[string]*string `field:"optional" json:"metadata" yaml:"metadata"`
// network_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#network_config GoogleTpuV2Vm#network_config}
NetworkConfig *GoogleTpuV2VmNetworkConfig `field:"optional" json:"networkConfig" yaml:"networkConfig"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#project GoogleTpuV2Vm#project}.
Project *string `field:"optional" json:"project" yaml:"project"`
// scheduling_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#scheduling_config GoogleTpuV2Vm#scheduling_config}
SchedulingConfig *GoogleTpuV2VmSchedulingConfig `field:"optional" json:"schedulingConfig" yaml:"schedulingConfig"`
// service_account block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#service_account GoogleTpuV2Vm#service_account}
ServiceAccount *GoogleTpuV2VmServiceAccount `field:"optional" json:"serviceAccount" yaml:"serviceAccount"`
// shielded_instance_config block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#shielded_instance_config GoogleTpuV2Vm#shielded_instance_config}
ShieldedInstanceConfig *GoogleTpuV2VmShieldedInstanceConfig `field:"optional" json:"shieldedInstanceConfig" yaml:"shieldedInstanceConfig"`
// Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#tags GoogleTpuV2Vm#tags}
Tags *[]*string `field:"optional" json:"tags" yaml:"tags"`
// timeouts block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#timeouts GoogleTpuV2Vm#timeouts}
Timeouts *GoogleTpuV2VmTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"`
// The GCP location for the TPU. If it is not provided, the provider zone is used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#zone GoogleTpuV2Vm#zone}
Zone *string `field:"optional" json:"zone" yaml:"zone"`
}
type GoogleTpuV2VmDataDisks ¶
type GoogleTpuV2VmDataDisks struct {
// Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#source_disk GoogleTpuV2Vm#source_disk}
SourceDisk *string `field:"required" json:"sourceDisk" yaml:"sourceDisk"`
// The mode in which to attach this disk.
//
// If not specified, the default is READ_WRITE
// mode. Only applicable to dataDisks. Default value: "READ_WRITE" Possible values: ["READ_WRITE", "READ_ONLY"]
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#mode GoogleTpuV2Vm#mode}
Mode *string `field:"optional" json:"mode" yaml:"mode"`
}
type GoogleTpuV2VmDataDisksList ¶
type GoogleTpuV2VmDataDisksList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleTpuV2VmDataDisksOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmDataDisksList ¶
func NewGoogleTpuV2VmDataDisksList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleTpuV2VmDataDisksList
type GoogleTpuV2VmDataDisksOutputReference ¶
type GoogleTpuV2VmDataDisksOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
Mode() *string
SetMode(val *string)
ModeInput() *string
SourceDisk() *string
SetSourceDisk(val *string)
SourceDiskInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetMode()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmDataDisksOutputReference ¶
func NewGoogleTpuV2VmDataDisksOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleTpuV2VmDataDisksOutputReference
type GoogleTpuV2VmNetworkConfig ¶
type GoogleTpuV2VmNetworkConfig 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.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#can_ip_forward GoogleTpuV2Vm#can_ip_forward}
CanIpForward interface{} `field:"optional" json:"canIpForward" yaml:"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.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#enable_external_ips GoogleTpuV2Vm#enable_external_ips}
EnableExternalIps interface{} `field:"optional" json:"enableExternalIps" yaml:"enableExternalIps"`
// The name of the network for the TPU node.
//
// It must be a preexisting Google Compute Engine
// network. If both network and subnetwork are specified, the given subnetwork must belong
// to the given network. If network is not specified, it will be looked up from the
// subnetwork if one is provided, or otherwise use "default".
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#network GoogleTpuV2Vm#network}
Network *string `field:"optional" json:"network" yaml:"network"`
// The name of the subnetwork for the TPU node.
//
// It must be a preexisting Google Compute
// Engine subnetwork. If both network and subnetwork are specified, the given subnetwork
// must belong to the given network. If subnetwork is not specified, the subnetwork with the
// same name as the network will be used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#subnetwork GoogleTpuV2Vm#subnetwork}
Subnetwork *string `field:"optional" json:"subnetwork" yaml:"subnetwork"`
}
type GoogleTpuV2VmNetworkConfigOutputReference ¶
type GoogleTpuV2VmNetworkConfigOutputReference interface {
cdktf.ComplexObject
CanIpForward() interface{}
SetCanIpForward(val interface{})
CanIpForwardInput() interface{}
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
EnableExternalIps() interface{}
SetEnableExternalIps(val interface{})
EnableExternalIpsInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmNetworkConfig
SetInternalValue(val *GoogleTpuV2VmNetworkConfig)
Network() *string
SetNetwork(val *string)
NetworkInput() *string
Subnetwork() *string
SetSubnetwork(val *string)
SubnetworkInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetCanIpForward()
ResetEnableExternalIps()
ResetNetwork()
ResetSubnetwork()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmNetworkConfigOutputReference ¶
func NewGoogleTpuV2VmNetworkConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleTpuV2VmNetworkConfigOutputReference
type GoogleTpuV2VmNetworkEndpoints ¶
type GoogleTpuV2VmNetworkEndpoints struct {
}
type GoogleTpuV2VmNetworkEndpointsAccessConfig ¶
type GoogleTpuV2VmNetworkEndpointsAccessConfig struct {
}
type GoogleTpuV2VmNetworkEndpointsAccessConfigList ¶
type GoogleTpuV2VmNetworkEndpointsAccessConfigList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigList ¶
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleTpuV2VmNetworkEndpointsAccessConfigList
type GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference ¶
type GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
ExternalIp() *string
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmNetworkEndpointsAccessConfig
SetInternalValue(val *GoogleTpuV2VmNetworkEndpointsAccessConfig)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference ¶
func NewGoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference
type GoogleTpuV2VmNetworkEndpointsList ¶
type GoogleTpuV2VmNetworkEndpointsList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleTpuV2VmNetworkEndpointsOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmNetworkEndpointsList ¶
func NewGoogleTpuV2VmNetworkEndpointsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleTpuV2VmNetworkEndpointsList
type GoogleTpuV2VmNetworkEndpointsOutputReference ¶
type GoogleTpuV2VmNetworkEndpointsOutputReference interface {
cdktf.ComplexObject
AccessConfig() GoogleTpuV2VmNetworkEndpointsAccessConfigList
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmNetworkEndpoints
SetInternalValue(val *GoogleTpuV2VmNetworkEndpoints)
IpAddress() *string
Port() *float64
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmNetworkEndpointsOutputReference ¶
func NewGoogleTpuV2VmNetworkEndpointsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleTpuV2VmNetworkEndpointsOutputReference
type GoogleTpuV2VmSchedulingConfig ¶
type GoogleTpuV2VmSchedulingConfig struct {
// Defines whether the node is preemptible.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#preemptible GoogleTpuV2Vm#preemptible}
Preemptible interface{} `field:"optional" json:"preemptible" yaml:"preemptible"`
// Whether the node is created under a reservation.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#reserved GoogleTpuV2Vm#reserved}
Reserved interface{} `field:"optional" json:"reserved" yaml:"reserved"`
}
type GoogleTpuV2VmSchedulingConfigOutputReference ¶
type GoogleTpuV2VmSchedulingConfigOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmSchedulingConfig
SetInternalValue(val *GoogleTpuV2VmSchedulingConfig)
Preemptible() interface{}
SetPreemptible(val interface{})
PreemptibleInput() interface{}
Reserved() interface{}
SetReserved(val interface{})
ReservedInput() interface{}
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetPreemptible()
ResetReserved()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmSchedulingConfigOutputReference ¶
func NewGoogleTpuV2VmSchedulingConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleTpuV2VmSchedulingConfigOutputReference
type GoogleTpuV2VmServiceAccount ¶
type GoogleTpuV2VmServiceAccount struct {
// Email address of the service account. If empty, default Compute service account will be used.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#email GoogleTpuV2Vm#email}
Email *string `field:"optional" json:"email" yaml:"email"`
// The list of scopes to be made available for this service account.
//
// If empty, access to all
// Cloud APIs will be allowed.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#scope GoogleTpuV2Vm#scope}
Scope *[]*string `field:"optional" json:"scope" yaml:"scope"`
}
type GoogleTpuV2VmServiceAccountOutputReference ¶
type GoogleTpuV2VmServiceAccountOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
Email() *string
SetEmail(val *string)
EmailInput() *string
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmServiceAccount
SetInternalValue(val *GoogleTpuV2VmServiceAccount)
Scope() *[]*string
SetScope(val *[]*string)
ScopeInput() *[]*string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetEmail()
ResetScope()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmServiceAccountOutputReference ¶
func NewGoogleTpuV2VmServiceAccountOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleTpuV2VmServiceAccountOutputReference
type GoogleTpuV2VmShieldedInstanceConfig ¶
type GoogleTpuV2VmShieldedInstanceConfig struct {
// Defines whether the instance has Secure Boot enabled.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#enable_secure_boot GoogleTpuV2Vm#enable_secure_boot}
EnableSecureBoot interface{} `field:"required" json:"enableSecureBoot" yaml:"enableSecureBoot"`
}
type GoogleTpuV2VmShieldedInstanceConfigOutputReference ¶
type GoogleTpuV2VmShieldedInstanceConfigOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
EnableSecureBoot() interface{}
SetEnableSecureBoot(val interface{})
EnableSecureBootInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmShieldedInstanceConfig
SetInternalValue(val *GoogleTpuV2VmShieldedInstanceConfig)
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmShieldedInstanceConfigOutputReference ¶
func NewGoogleTpuV2VmShieldedInstanceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleTpuV2VmShieldedInstanceConfigOutputReference
type GoogleTpuV2VmSymptoms ¶
type GoogleTpuV2VmSymptoms struct {
}
type GoogleTpuV2VmSymptomsList ¶
type GoogleTpuV2VmSymptomsList interface {
cdktf.ComplexList
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) GoogleTpuV2VmSymptomsOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmSymptomsList ¶
func NewGoogleTpuV2VmSymptomsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleTpuV2VmSymptomsList
type GoogleTpuV2VmSymptomsOutputReference ¶
type GoogleTpuV2VmSymptomsOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
CreateTime() *string
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
Details() *string
// Experimental.
Fqn() *string
InternalValue() *GoogleTpuV2VmSymptoms
SetInternalValue(val *GoogleTpuV2VmSymptoms)
SymptomType() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
WorkerId() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmSymptomsOutputReference ¶
func NewGoogleTpuV2VmSymptomsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleTpuV2VmSymptomsOutputReference
type GoogleTpuV2VmTimeouts ¶
type GoogleTpuV2VmTimeouts struct {
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#create GoogleTpuV2Vm#create}.
Create *string `field:"optional" json:"create" yaml:"create"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#delete GoogleTpuV2Vm#delete}.
Delete *string `field:"optional" json:"delete" yaml:"delete"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/5.43.1/docs/resources/google_tpu_v2_vm#update GoogleTpuV2Vm#update}.
Update *string `field:"optional" json:"update" yaml:"update"`
}
type GoogleTpuV2VmTimeoutsOutputReference ¶
type GoogleTpuV2VmTimeoutsOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
Create() *string
SetCreate(val *string)
CreateInput() *string
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
Delete() *string
SetDelete(val *string)
DeleteInput() *string
// Experimental.
Fqn() *string
InternalValue() interface{}
SetInternalValue(val interface{})
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Update() *string
SetUpdate(val *string)
UpdateInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetCreate()
ResetDelete()
ResetUpdate()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewGoogleTpuV2VmTimeoutsOutputReference ¶
func NewGoogleTpuV2VmTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleTpuV2VmTimeoutsOutputReference
Source Files
¶
- GoogleTpuV2Vm.go
- GoogleTpuV2VmAcceleratorConfig.go
- GoogleTpuV2VmAcceleratorConfigOutputReference.go
- GoogleTpuV2VmAcceleratorConfigOutputReference__checks.go
- GoogleTpuV2VmConfig.go
- GoogleTpuV2VmDataDisks.go
- GoogleTpuV2VmDataDisksList.go
- GoogleTpuV2VmDataDisksList__checks.go
- GoogleTpuV2VmDataDisksOutputReference.go
- GoogleTpuV2VmDataDisksOutputReference__checks.go
- GoogleTpuV2VmNetworkConfig.go
- GoogleTpuV2VmNetworkConfigOutputReference.go
- GoogleTpuV2VmNetworkConfigOutputReference__checks.go
- GoogleTpuV2VmNetworkEndpoints.go
- GoogleTpuV2VmNetworkEndpointsAccessConfig.go
- GoogleTpuV2VmNetworkEndpointsAccessConfigList.go
- GoogleTpuV2VmNetworkEndpointsAccessConfigList__checks.go
- GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference.go
- GoogleTpuV2VmNetworkEndpointsAccessConfigOutputReference__checks.go
- GoogleTpuV2VmNetworkEndpointsList.go
- GoogleTpuV2VmNetworkEndpointsList__checks.go
- GoogleTpuV2VmNetworkEndpointsOutputReference.go
- GoogleTpuV2VmNetworkEndpointsOutputReference__checks.go
- GoogleTpuV2VmSchedulingConfig.go
- GoogleTpuV2VmSchedulingConfigOutputReference.go
- GoogleTpuV2VmSchedulingConfigOutputReference__checks.go
- GoogleTpuV2VmServiceAccount.go
- GoogleTpuV2VmServiceAccountOutputReference.go
- GoogleTpuV2VmServiceAccountOutputReference__checks.go
- GoogleTpuV2VmShieldedInstanceConfig.go
- GoogleTpuV2VmShieldedInstanceConfigOutputReference.go
- GoogleTpuV2VmShieldedInstanceConfigOutputReference__checks.go
- GoogleTpuV2VmSymptoms.go
- GoogleTpuV2VmSymptomsList.go
- GoogleTpuV2VmSymptomsList__checks.go
- GoogleTpuV2VmSymptomsOutputReference.go
- GoogleTpuV2VmSymptomsOutputReference__checks.go
- GoogleTpuV2VmTimeouts.go
- GoogleTpuV2VmTimeoutsOutputReference.go
- GoogleTpuV2VmTimeoutsOutputReference__checks.go
- GoogleTpuV2Vm__checks.go
- main.go