Documentation ¶
Index ¶
- func ComputeNodeTemplate_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeNodeTemplate_IsConstruct(x interface{}) *bool
- func ComputeNodeTemplate_IsTerraformElement(x interface{}) *bool
- func ComputeNodeTemplate_IsTerraformResource(x interface{}) *bool
- func ComputeNodeTemplate_TfResourceType() *string
- func NewComputeNodeTemplateAcceleratorsList_Override(c ComputeNodeTemplateAcceleratorsList, ...)
- func NewComputeNodeTemplateAcceleratorsOutputReference_Override(c ComputeNodeTemplateAcceleratorsOutputReference, ...)
- func NewComputeNodeTemplateDisksList_Override(c ComputeNodeTemplateDisksList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewComputeNodeTemplateDisksOutputReference_Override(c ComputeNodeTemplateDisksOutputReference, ...)
- func NewComputeNodeTemplateNodeTypeFlexibilityOutputReference_Override(c ComputeNodeTemplateNodeTypeFlexibilityOutputReference, ...)
- func NewComputeNodeTemplateServerBindingOutputReference_Override(c ComputeNodeTemplateServerBindingOutputReference, ...)
- func NewComputeNodeTemplateTimeoutsOutputReference_Override(c ComputeNodeTemplateTimeoutsOutputReference, ...)
- func NewComputeNodeTemplate_Override(c ComputeNodeTemplate, scope constructs.Construct, id *string, ...)
- type ComputeNodeTemplate
- type ComputeNodeTemplateAccelerators
- type ComputeNodeTemplateAcceleratorsList
- type ComputeNodeTemplateAcceleratorsOutputReference
- type ComputeNodeTemplateConfig
- type ComputeNodeTemplateDisks
- type ComputeNodeTemplateDisksList
- type ComputeNodeTemplateDisksOutputReference
- type ComputeNodeTemplateNodeTypeFlexibility
- type ComputeNodeTemplateNodeTypeFlexibilityOutputReference
- type ComputeNodeTemplateServerBinding
- type ComputeNodeTemplateServerBindingOutputReference
- type ComputeNodeTemplateTimeouts
- type ComputeNodeTemplateTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeNodeTemplate_GenerateConfigForImport ¶
func ComputeNodeTemplate_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeNodeTemplate resource upon running "cdktf plan <stack-name>".
func ComputeNodeTemplate_IsConstruct ¶
func ComputeNodeTemplate_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 ComputeNodeTemplate_IsTerraformElement ¶
func ComputeNodeTemplate_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeNodeTemplate_IsTerraformResource ¶
func ComputeNodeTemplate_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeNodeTemplate_TfResourceType ¶
func ComputeNodeTemplate_TfResourceType() *string
func NewComputeNodeTemplateAcceleratorsList_Override ¶
func NewComputeNodeTemplateAcceleratorsList_Override(c ComputeNodeTemplateAcceleratorsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeNodeTemplateAcceleratorsOutputReference_Override ¶
func NewComputeNodeTemplateAcceleratorsOutputReference_Override(c ComputeNodeTemplateAcceleratorsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeNodeTemplateDisksList_Override ¶ added in v14.10.0
func NewComputeNodeTemplateDisksList_Override(c ComputeNodeTemplateDisksList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeNodeTemplateDisksOutputReference_Override ¶ added in v14.10.0
func NewComputeNodeTemplateDisksOutputReference_Override(c ComputeNodeTemplateDisksOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeNodeTemplateNodeTypeFlexibilityOutputReference_Override ¶
func NewComputeNodeTemplateNodeTypeFlexibilityOutputReference_Override(c ComputeNodeTemplateNodeTypeFlexibilityOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeNodeTemplateServerBindingOutputReference_Override ¶
func NewComputeNodeTemplateServerBindingOutputReference_Override(c ComputeNodeTemplateServerBindingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeNodeTemplateTimeoutsOutputReference_Override ¶
func NewComputeNodeTemplateTimeoutsOutputReference_Override(c ComputeNodeTemplateTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeNodeTemplate_Override ¶
func NewComputeNodeTemplate_Override(c ComputeNodeTemplate, scope constructs.Construct, id *string, config *ComputeNodeTemplateConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template google_compute_node_template} Resource.
Types ¶
type ComputeNodeTemplate ¶
type ComputeNodeTemplate interface { cdktf.TerraformResource Accelerators() ComputeNodeTemplateAcceleratorsList AcceleratorsInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CpuOvercommitType() *string SetCpuOvercommitType(val *string) CpuOvercommitTypeInput() *string CreationTimestamp() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string Disks() ComputeNodeTemplateDisksList DisksInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node NodeAffinityLabels() *map[string]*string SetNodeAffinityLabels(val *map[string]*string) NodeAffinityLabelsInput() *map[string]*string NodeType() *string SetNodeType(val *string) NodeTypeFlexibility() ComputeNodeTemplateNodeTypeFlexibilityOutputReference NodeTypeFlexibilityInput() *ComputeNodeTemplateNodeTypeFlexibility NodeTypeInput() *string Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string SelfLink() *string ServerBinding() ComputeNodeTemplateServerBindingOutputReference ServerBindingInput() *ComputeNodeTemplateServerBinding // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeNodeTemplateTimeoutsOutputReference TimeoutsInput() interface{} // 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) PutAccelerators(value interface{}) PutDisks(value interface{}) PutNodeTypeFlexibility(value *ComputeNodeTemplateNodeTypeFlexibility) PutServerBinding(value *ComputeNodeTemplateServerBinding) PutTimeouts(value *ComputeNodeTemplateTimeouts) ResetAccelerators() ResetCpuOvercommitType() ResetDescription() ResetDisks() ResetId() ResetName() ResetNodeAffinityLabels() ResetNodeType() ResetNodeTypeFlexibility() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetRegion() ResetServerBinding() ResetTimeouts() 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/6.11.1/docs/resources/compute_node_template google_compute_node_template}.
func NewComputeNodeTemplate ¶
func NewComputeNodeTemplate(scope constructs.Construct, id *string, config *ComputeNodeTemplateConfig) ComputeNodeTemplate
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template google_compute_node_template} Resource.
type ComputeNodeTemplateAccelerators ¶
type ComputeNodeTemplateAccelerators struct { // The number of the guest accelerator cards exposed to this node template. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#accelerator_count ComputeNodeTemplate#accelerator_count} AcceleratorCount *float64 `field:"optional" json:"acceleratorCount" yaml:"acceleratorCount"` // Full or partial URL of the accelerator type resource to expose to this node template. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#accelerator_type ComputeNodeTemplate#accelerator_type} AcceleratorType *string `field:"optional" json:"acceleratorType" yaml:"acceleratorType"` }
type ComputeNodeTemplateAcceleratorsList ¶
type ComputeNodeTemplateAcceleratorsList 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) ComputeNodeTemplateAcceleratorsOutputReference // 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 NewComputeNodeTemplateAcceleratorsList ¶
func NewComputeNodeTemplateAcceleratorsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeNodeTemplateAcceleratorsList
type ComputeNodeTemplateAcceleratorsOutputReference ¶
type ComputeNodeTemplateAcceleratorsOutputReference interface { cdktf.ComplexObject AcceleratorCount() *float64 SetAcceleratorCount(val *float64) AcceleratorCountInput() *float64 AcceleratorType() *string SetAcceleratorType(val *string) AcceleratorTypeInput() *string // 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{}) // 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 ResetAcceleratorCount() ResetAcceleratorType() // 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 NewComputeNodeTemplateAcceleratorsOutputReference ¶
func NewComputeNodeTemplateAcceleratorsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeNodeTemplateAcceleratorsOutputReference
type ComputeNodeTemplateConfig ¶
type ComputeNodeTemplateConfig 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"` // accelerators block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#accelerators ComputeNodeTemplate#accelerators} Accelerators interface{} `field:"optional" json:"accelerators" yaml:"accelerators"` // CPU overcommit. Default value: "NONE" Possible values: ["ENABLED", "NONE"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#cpu_overcommit_type ComputeNodeTemplate#cpu_overcommit_type} CpuOvercommitType *string `field:"optional" json:"cpuOvercommitType" yaml:"cpuOvercommitType"` // An optional textual description of the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#description ComputeNodeTemplate#description} Description *string `field:"optional" json:"description" yaml:"description"` // disks block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#disks ComputeNodeTemplate#disks} Disks interface{} `field:"optional" json:"disks" yaml:"disks"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#id ComputeNodeTemplate#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"` // Name of the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#name ComputeNodeTemplate#name} Name *string `field:"optional" json:"name" yaml:"name"` // Labels to use for node affinity, which will be used in instance scheduling. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#node_affinity_labels ComputeNodeTemplate#node_affinity_labels} NodeAffinityLabels *map[string]*string `field:"optional" json:"nodeAffinityLabels" yaml:"nodeAffinityLabels"` // Node type to use for nodes group that are created from this template. // // Only one of nodeTypeFlexibility and nodeType can be specified. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#node_type ComputeNodeTemplate#node_type} NodeType *string `field:"optional" json:"nodeType" yaml:"nodeType"` // node_type_flexibility block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#node_type_flexibility ComputeNodeTemplate#node_type_flexibility} NodeTypeFlexibility *ComputeNodeTemplateNodeTypeFlexibility `field:"optional" json:"nodeTypeFlexibility" yaml:"nodeTypeFlexibility"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#project ComputeNodeTemplate#project}. Project *string `field:"optional" json:"project" yaml:"project"` // Region where nodes using the node template will be created. If it is not provided, the provider region is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#region ComputeNodeTemplate#region} Region *string `field:"optional" json:"region" yaml:"region"` // server_binding block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#server_binding ComputeNodeTemplate#server_binding} ServerBinding *ComputeNodeTemplateServerBinding `field:"optional" json:"serverBinding" yaml:"serverBinding"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#timeouts ComputeNodeTemplate#timeouts} Timeouts *ComputeNodeTemplateTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeNodeTemplateDisks ¶ added in v14.10.0
type ComputeNodeTemplateDisks struct { // Specifies the number of such disks. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#disk_count ComputeNodeTemplate#disk_count} DiskCount *float64 `field:"optional" json:"diskCount" yaml:"diskCount"` // Specifies the size of the disk in base-2 GB. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#disk_size_gb ComputeNodeTemplate#disk_size_gb} DiskSizeGb *float64 `field:"optional" json:"diskSizeGb" yaml:"diskSizeGb"` // Specifies the desired disk type on the node. // // This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#disk_type ComputeNodeTemplate#disk_type} DiskType *string `field:"optional" json:"diskType" yaml:"diskType"` }
type ComputeNodeTemplateDisksList ¶ added in v14.10.0
type ComputeNodeTemplateDisksList 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) ComputeNodeTemplateDisksOutputReference // 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 NewComputeNodeTemplateDisksList ¶ added in v14.10.0
func NewComputeNodeTemplateDisksList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeNodeTemplateDisksList
type ComputeNodeTemplateDisksOutputReference ¶ added in v14.10.0
type ComputeNodeTemplateDisksOutputReference 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 DiskCount() *float64 SetDiskCount(val *float64) DiskCountInput() *float64 DiskSizeGb() *float64 SetDiskSizeGb(val *float64) DiskSizeGbInput() *float64 DiskType() *string SetDiskType(val *string) DiskTypeInput() *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) // 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 ResetDiskCount() ResetDiskSizeGb() ResetDiskType() // 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 NewComputeNodeTemplateDisksOutputReference ¶ added in v14.10.0
func NewComputeNodeTemplateDisksOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeNodeTemplateDisksOutputReference
type ComputeNodeTemplateNodeTypeFlexibility ¶
type ComputeNodeTemplateNodeTypeFlexibility struct { // Number of virtual CPUs to use. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#cpus ComputeNodeTemplate#cpus} Cpus *string `field:"optional" json:"cpus" yaml:"cpus"` // Physical memory available to the node, defined in MB. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#memory ComputeNodeTemplate#memory} Memory *string `field:"optional" json:"memory" yaml:"memory"` }
type ComputeNodeTemplateNodeTypeFlexibilityOutputReference ¶
type ComputeNodeTemplateNodeTypeFlexibilityOutputReference 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) Cpus() *string SetCpus(val *string) CpusInput() *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 // Experimental. Fqn() *string InternalValue() *ComputeNodeTemplateNodeTypeFlexibility SetInternalValue(val *ComputeNodeTemplateNodeTypeFlexibility) LocalSsd() *string Memory() *string SetMemory(val *string) MemoryInput() *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 ResetCpus() ResetMemory() // 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 NewComputeNodeTemplateNodeTypeFlexibilityOutputReference ¶
func NewComputeNodeTemplateNodeTypeFlexibilityOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeNodeTemplateNodeTypeFlexibilityOutputReference
type ComputeNodeTemplateServerBinding ¶
type ComputeNodeTemplateServerBinding struct { // Type of server binding policy. If 'RESTART_NODE_ON_ANY_SERVER', nodes using this template will restart on any physical server following a maintenance event. // // If 'RESTART_NODE_ON_MINIMAL_SERVER', nodes using this template // will restart on the same physical server following a maintenance // event, instead of being live migrated to or restarted on a new // physical server. This option may be useful if you are using // software licenses tied to the underlying server characteristics // such as physical sockets or cores, to avoid the need for // additional licenses when maintenance occurs. However, VMs on such // nodes will experience outages while maintenance is applied. Possible values: ["RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#type ComputeNodeTemplate#type} Type *string `field:"required" json:"type" yaml:"type"` }
type ComputeNodeTemplateServerBindingOutputReference ¶
type ComputeNodeTemplateServerBindingOutputReference 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() *ComputeNodeTemplateServerBinding SetInternalValue(val *ComputeNodeTemplateServerBinding) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) 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 NewComputeNodeTemplateServerBindingOutputReference ¶
func NewComputeNodeTemplateServerBindingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeNodeTemplateServerBindingOutputReference
type ComputeNodeTemplateTimeouts ¶
type ComputeNodeTemplateTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#create ComputeNodeTemplate#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.1/docs/resources/compute_node_template#delete ComputeNodeTemplate#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` }
type ComputeNodeTemplateTimeoutsOutputReference ¶
type ComputeNodeTemplateTimeoutsOutputReference 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) // 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() // 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 NewComputeNodeTemplateTimeoutsOutputReference ¶
func NewComputeNodeTemplateTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeNodeTemplateTimeoutsOutputReference
Source Files ¶
- ComputeNodeTemplate.go
- ComputeNodeTemplateAccelerators.go
- ComputeNodeTemplateAcceleratorsList.go
- ComputeNodeTemplateAcceleratorsList__checks.go
- ComputeNodeTemplateAcceleratorsOutputReference.go
- ComputeNodeTemplateAcceleratorsOutputReference__checks.go
- ComputeNodeTemplateConfig.go
- ComputeNodeTemplateDisks.go
- ComputeNodeTemplateDisksList.go
- ComputeNodeTemplateDisksList__checks.go
- ComputeNodeTemplateDisksOutputReference.go
- ComputeNodeTemplateDisksOutputReference__checks.go
- ComputeNodeTemplateNodeTypeFlexibility.go
- ComputeNodeTemplateNodeTypeFlexibilityOutputReference.go
- ComputeNodeTemplateNodeTypeFlexibilityOutputReference__checks.go
- ComputeNodeTemplateServerBinding.go
- ComputeNodeTemplateServerBindingOutputReference.go
- ComputeNodeTemplateServerBindingOutputReference__checks.go
- ComputeNodeTemplateTimeouts.go
- ComputeNodeTemplateTimeoutsOutputReference.go
- ComputeNodeTemplateTimeoutsOutputReference__checks.go
- ComputeNodeTemplate__checks.go
- main.go