Documentation ¶
Index ¶
- func ComputeInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeInstance_IsConstruct(x interface{}) *bool
- func ComputeInstance_IsTerraformElement(x interface{}) *bool
- func ComputeInstance_IsTerraformResource(x interface{}) *bool
- func ComputeInstance_TfResourceType() *string
- func NewComputeInstanceAdvancedMachineFeaturesOutputReference_Override(c ComputeInstanceAdvancedMachineFeaturesOutputReference, ...)
- func NewComputeInstanceAttachedDiskList_Override(c ComputeInstanceAttachedDiskList, ...)
- func NewComputeInstanceAttachedDiskOutputReference_Override(c ComputeInstanceAttachedDiskOutputReference, ...)
- func NewComputeInstanceBootDiskInitializeParamsOutputReference_Override(c ComputeInstanceBootDiskInitializeParamsOutputReference, ...)
- func NewComputeInstanceBootDiskOutputReference_Override(c ComputeInstanceBootDiskOutputReference, ...)
- func NewComputeInstanceConfidentialInstanceConfigOutputReference_Override(c ComputeInstanceConfidentialInstanceConfigOutputReference, ...)
- func NewComputeInstanceGuestAcceleratorList_Override(c ComputeInstanceGuestAcceleratorList, ...)
- func NewComputeInstanceGuestAcceleratorOutputReference_Override(c ComputeInstanceGuestAcceleratorOutputReference, ...)
- func NewComputeInstanceNetworkInterfaceAccessConfigList_Override(c ComputeInstanceNetworkInterfaceAccessConfigList, ...)
- func NewComputeInstanceNetworkInterfaceAccessConfigOutputReference_Override(c ComputeInstanceNetworkInterfaceAccessConfigOutputReference, ...)
- func NewComputeInstanceNetworkInterfaceAliasIpRangeList_Override(c ComputeInstanceNetworkInterfaceAliasIpRangeList, ...)
- func NewComputeInstanceNetworkInterfaceAliasIpRangeOutputReference_Override(c ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference, ...)
- func NewComputeInstanceNetworkInterfaceIpv6AccessConfigList_Override(c ComputeInstanceNetworkInterfaceIpv6AccessConfigList, ...)
- func NewComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference_Override(c ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference, ...)
- func NewComputeInstanceNetworkInterfaceList_Override(c ComputeInstanceNetworkInterfaceList, ...)
- func NewComputeInstanceNetworkInterfaceOutputReference_Override(c ComputeInstanceNetworkInterfaceOutputReference, ...)
- func NewComputeInstanceNetworkPerformanceConfigOutputReference_Override(c ComputeInstanceNetworkPerformanceConfigOutputReference, ...)
- func NewComputeInstanceParamsOutputReference_Override(c ComputeInstanceParamsOutputReference, ...)
- func NewComputeInstanceReservationAffinityOutputReference_Override(c ComputeInstanceReservationAffinityOutputReference, ...)
- func NewComputeInstanceReservationAffinitySpecificReservationOutputReference_Override(c ComputeInstanceReservationAffinitySpecificReservationOutputReference, ...)
- func NewComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference_Override(c ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference, ...)
- func NewComputeInstanceSchedulingMaxRunDurationOutputReference_Override(c ComputeInstanceSchedulingMaxRunDurationOutputReference, ...)
- func NewComputeInstanceSchedulingNodeAffinitiesList_Override(c ComputeInstanceSchedulingNodeAffinitiesList, ...)
- func NewComputeInstanceSchedulingNodeAffinitiesOutputReference_Override(c ComputeInstanceSchedulingNodeAffinitiesOutputReference, ...)
- func NewComputeInstanceSchedulingOnInstanceStopActionOutputReference_Override(c ComputeInstanceSchedulingOnInstanceStopActionOutputReference, ...)
- func NewComputeInstanceSchedulingOutputReference_Override(c ComputeInstanceSchedulingOutputReference, ...)
- func NewComputeInstanceScratchDiskList_Override(c ComputeInstanceScratchDiskList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewComputeInstanceScratchDiskOutputReference_Override(c ComputeInstanceScratchDiskOutputReference, ...)
- func NewComputeInstanceServiceAccountOutputReference_Override(c ComputeInstanceServiceAccountOutputReference, ...)
- func NewComputeInstanceShieldedInstanceConfigOutputReference_Override(c ComputeInstanceShieldedInstanceConfigOutputReference, ...)
- func NewComputeInstanceTimeoutsOutputReference_Override(c ComputeInstanceTimeoutsOutputReference, ...)
- func NewComputeInstance_Override(c ComputeInstance, scope constructs.Construct, id *string, ...)
- type ComputeInstance
- type ComputeInstanceAdvancedMachineFeatures
- type ComputeInstanceAdvancedMachineFeaturesOutputReference
- type ComputeInstanceAttachedDisk
- type ComputeInstanceAttachedDiskList
- type ComputeInstanceAttachedDiskOutputReference
- type ComputeInstanceBootDisk
- type ComputeInstanceBootDiskInitializeParams
- type ComputeInstanceBootDiskInitializeParamsOutputReference
- type ComputeInstanceBootDiskOutputReference
- type ComputeInstanceConfidentialInstanceConfig
- type ComputeInstanceConfidentialInstanceConfigOutputReference
- type ComputeInstanceConfig
- type ComputeInstanceGuestAccelerator
- type ComputeInstanceGuestAcceleratorList
- type ComputeInstanceGuestAcceleratorOutputReference
- type ComputeInstanceNetworkInterface
- type ComputeInstanceNetworkInterfaceAccessConfig
- type ComputeInstanceNetworkInterfaceAccessConfigList
- type ComputeInstanceNetworkInterfaceAccessConfigOutputReference
- type ComputeInstanceNetworkInterfaceAliasIpRange
- type ComputeInstanceNetworkInterfaceAliasIpRangeList
- type ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference
- type ComputeInstanceNetworkInterfaceIpv6AccessConfig
- type ComputeInstanceNetworkInterfaceIpv6AccessConfigList
- type ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference
- type ComputeInstanceNetworkInterfaceList
- type ComputeInstanceNetworkInterfaceOutputReference
- type ComputeInstanceNetworkPerformanceConfig
- type ComputeInstanceNetworkPerformanceConfigOutputReference
- type ComputeInstanceParams
- type ComputeInstanceParamsOutputReference
- type ComputeInstanceReservationAffinity
- type ComputeInstanceReservationAffinityOutputReference
- type ComputeInstanceReservationAffinitySpecificReservation
- type ComputeInstanceReservationAffinitySpecificReservationOutputReference
- type ComputeInstanceScheduling
- type ComputeInstanceSchedulingLocalSsdRecoveryTimeout
- type ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference
- type ComputeInstanceSchedulingMaxRunDuration
- type ComputeInstanceSchedulingMaxRunDurationOutputReference
- type ComputeInstanceSchedulingNodeAffinities
- type ComputeInstanceSchedulingNodeAffinitiesList
- type ComputeInstanceSchedulingNodeAffinitiesOutputReference
- type ComputeInstanceSchedulingOnInstanceStopAction
- type ComputeInstanceSchedulingOnInstanceStopActionOutputReference
- type ComputeInstanceSchedulingOutputReference
- type ComputeInstanceScratchDisk
- type ComputeInstanceScratchDiskList
- type ComputeInstanceScratchDiskOutputReference
- type ComputeInstanceServiceAccount
- type ComputeInstanceServiceAccountOutputReference
- type ComputeInstanceShieldedInstanceConfig
- type ComputeInstanceShieldedInstanceConfigOutputReference
- type ComputeInstanceTimeouts
- type ComputeInstanceTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeInstance_GenerateConfigForImport ¶
func ComputeInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeInstance resource upon running "cdktf plan <stack-name>".
func ComputeInstance_IsConstruct ¶
func ComputeInstance_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 ComputeInstance_IsTerraformElement ¶
func ComputeInstance_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeInstance_IsTerraformResource ¶
func ComputeInstance_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeInstance_TfResourceType ¶
func ComputeInstance_TfResourceType() *string
func NewComputeInstanceAdvancedMachineFeaturesOutputReference_Override ¶
func NewComputeInstanceAdvancedMachineFeaturesOutputReference_Override(c ComputeInstanceAdvancedMachineFeaturesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceAttachedDiskList_Override ¶
func NewComputeInstanceAttachedDiskList_Override(c ComputeInstanceAttachedDiskList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceAttachedDiskOutputReference_Override ¶
func NewComputeInstanceAttachedDiskOutputReference_Override(c ComputeInstanceAttachedDiskOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceBootDiskInitializeParamsOutputReference_Override ¶
func NewComputeInstanceBootDiskInitializeParamsOutputReference_Override(c ComputeInstanceBootDiskInitializeParamsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceBootDiskOutputReference_Override ¶
func NewComputeInstanceBootDiskOutputReference_Override(c ComputeInstanceBootDiskOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceConfidentialInstanceConfigOutputReference_Override ¶
func NewComputeInstanceConfidentialInstanceConfigOutputReference_Override(c ComputeInstanceConfidentialInstanceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceGuestAcceleratorList_Override ¶
func NewComputeInstanceGuestAcceleratorList_Override(c ComputeInstanceGuestAcceleratorList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceGuestAcceleratorOutputReference_Override ¶
func NewComputeInstanceGuestAcceleratorOutputReference_Override(c ComputeInstanceGuestAcceleratorOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceNetworkInterfaceAccessConfigList_Override ¶
func NewComputeInstanceNetworkInterfaceAccessConfigList_Override(c ComputeInstanceNetworkInterfaceAccessConfigList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceNetworkInterfaceAccessConfigOutputReference_Override ¶
func NewComputeInstanceNetworkInterfaceAccessConfigOutputReference_Override(c ComputeInstanceNetworkInterfaceAccessConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceNetworkInterfaceAliasIpRangeList_Override ¶
func NewComputeInstanceNetworkInterfaceAliasIpRangeList_Override(c ComputeInstanceNetworkInterfaceAliasIpRangeList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceNetworkInterfaceAliasIpRangeOutputReference_Override ¶
func NewComputeInstanceNetworkInterfaceAliasIpRangeOutputReference_Override(c ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceNetworkInterfaceIpv6AccessConfigList_Override ¶
func NewComputeInstanceNetworkInterfaceIpv6AccessConfigList_Override(c ComputeInstanceNetworkInterfaceIpv6AccessConfigList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference_Override ¶
func NewComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference_Override(c ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceNetworkInterfaceList_Override ¶
func NewComputeInstanceNetworkInterfaceList_Override(c ComputeInstanceNetworkInterfaceList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceNetworkInterfaceOutputReference_Override ¶
func NewComputeInstanceNetworkInterfaceOutputReference_Override(c ComputeInstanceNetworkInterfaceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceNetworkPerformanceConfigOutputReference_Override ¶
func NewComputeInstanceNetworkPerformanceConfigOutputReference_Override(c ComputeInstanceNetworkPerformanceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceParamsOutputReference_Override ¶
func NewComputeInstanceParamsOutputReference_Override(c ComputeInstanceParamsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceReservationAffinityOutputReference_Override ¶
func NewComputeInstanceReservationAffinityOutputReference_Override(c ComputeInstanceReservationAffinityOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceReservationAffinitySpecificReservationOutputReference_Override ¶
func NewComputeInstanceReservationAffinitySpecificReservationOutputReference_Override(c ComputeInstanceReservationAffinitySpecificReservationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference_Override ¶
func NewComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference_Override(c ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceSchedulingMaxRunDurationOutputReference_Override ¶
func NewComputeInstanceSchedulingMaxRunDurationOutputReference_Override(c ComputeInstanceSchedulingMaxRunDurationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceSchedulingNodeAffinitiesList_Override ¶
func NewComputeInstanceSchedulingNodeAffinitiesList_Override(c ComputeInstanceSchedulingNodeAffinitiesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceSchedulingNodeAffinitiesOutputReference_Override ¶
func NewComputeInstanceSchedulingNodeAffinitiesOutputReference_Override(c ComputeInstanceSchedulingNodeAffinitiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceSchedulingOnInstanceStopActionOutputReference_Override ¶
func NewComputeInstanceSchedulingOnInstanceStopActionOutputReference_Override(c ComputeInstanceSchedulingOnInstanceStopActionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceSchedulingOutputReference_Override ¶
func NewComputeInstanceSchedulingOutputReference_Override(c ComputeInstanceSchedulingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceScratchDiskList_Override ¶
func NewComputeInstanceScratchDiskList_Override(c ComputeInstanceScratchDiskList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeInstanceScratchDiskOutputReference_Override ¶
func NewComputeInstanceScratchDiskOutputReference_Override(c ComputeInstanceScratchDiskOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeInstanceServiceAccountOutputReference_Override ¶
func NewComputeInstanceServiceAccountOutputReference_Override(c ComputeInstanceServiceAccountOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceShieldedInstanceConfigOutputReference_Override ¶
func NewComputeInstanceShieldedInstanceConfigOutputReference_Override(c ComputeInstanceShieldedInstanceConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstanceTimeoutsOutputReference_Override ¶
func NewComputeInstanceTimeoutsOutputReference_Override(c ComputeInstanceTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeInstance_Override ¶
func NewComputeInstance_Override(c ComputeInstance, scope constructs.Construct, id *string, config *ComputeInstanceConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance google_compute_instance} Resource.
Types ¶
type ComputeInstance ¶
type ComputeInstance interface { cdktf.TerraformResource AdvancedMachineFeatures() ComputeInstanceAdvancedMachineFeaturesOutputReference AdvancedMachineFeaturesInput() *ComputeInstanceAdvancedMachineFeatures AllowStoppingForUpdate() interface{} SetAllowStoppingForUpdate(val interface{}) AllowStoppingForUpdateInput() interface{} AttachedDisk() ComputeInstanceAttachedDiskList AttachedDiskInput() interface{} BootDisk() ComputeInstanceBootDiskOutputReference BootDiskInput() *ComputeInstanceBootDisk CanIpForward() interface{} SetCanIpForward(val interface{}) CanIpForwardInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack ConfidentialInstanceConfig() ComputeInstanceConfidentialInstanceConfigOutputReference ConfidentialInstanceConfigInput() *ComputeInstanceConfidentialInstanceConfig // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CpuPlatform() *string CreationTimestamp() *string CurrentStatus() *string DeletionProtection() interface{} SetDeletionProtection(val interface{}) DeletionProtectionInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DesiredStatus() *string SetDesiredStatus(val *string) DesiredStatusInput() *string EffectiveLabels() cdktf.StringMap EnableDisplay() interface{} SetEnableDisplay(val interface{}) EnableDisplayInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GuestAccelerator() ComputeInstanceGuestAcceleratorList GuestAcceleratorInput() interface{} Hostname() *string SetHostname(val *string) HostnameInput() *string Id() *string SetId(val *string) IdInput() *string InstanceId() *string KeyRevocationActionType() *string SetKeyRevocationActionType(val *string) KeyRevocationActionTypeInput() *string LabelFingerprint() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MachineType() *string SetMachineType(val *string) MachineTypeInput() *string Metadata() *map[string]*string SetMetadata(val *map[string]*string) MetadataFingerprint() *string MetadataInput() *map[string]*string MetadataStartupScript() *string SetMetadataStartupScript(val *string) MetadataStartupScriptInput() *string MinCpuPlatform() *string SetMinCpuPlatform(val *string) MinCpuPlatformInput() *string Name() *string SetName(val *string) NameInput() *string NetworkInterface() ComputeInstanceNetworkInterfaceList NetworkInterfaceInput() interface{} NetworkPerformanceConfig() ComputeInstanceNetworkPerformanceConfigOutputReference NetworkPerformanceConfigInput() *ComputeInstanceNetworkPerformanceConfig // The tree node. Node() constructs.Node Params() ComputeInstanceParamsOutputReference ParamsInput() *ComputeInstanceParams 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{} ReservationAffinity() ComputeInstanceReservationAffinityOutputReference ReservationAffinityInput() *ComputeInstanceReservationAffinity ResourcePolicies() *[]*string SetResourcePolicies(val *[]*string) ResourcePoliciesInput() *[]*string Scheduling() ComputeInstanceSchedulingOutputReference SchedulingInput() *ComputeInstanceScheduling ScratchDisk() ComputeInstanceScratchDiskList ScratchDiskInput() interface{} SelfLink() *string ServiceAccount() ComputeInstanceServiceAccountOutputReference ServiceAccountInput() *ComputeInstanceServiceAccount ShieldedInstanceConfig() ComputeInstanceShieldedInstanceConfigOutputReference ShieldedInstanceConfigInput() *ComputeInstanceShieldedInstanceConfig Tags() *[]*string SetTags(val *[]*string) TagsFingerprint() *string TagsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformLabels() cdktf.StringMap // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeInstanceTimeoutsOutputReference 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) PutAdvancedMachineFeatures(value *ComputeInstanceAdvancedMachineFeatures) PutAttachedDisk(value interface{}) PutBootDisk(value *ComputeInstanceBootDisk) PutConfidentialInstanceConfig(value *ComputeInstanceConfidentialInstanceConfig) PutGuestAccelerator(value interface{}) PutNetworkInterface(value interface{}) PutNetworkPerformanceConfig(value *ComputeInstanceNetworkPerformanceConfig) PutParams(value *ComputeInstanceParams) PutReservationAffinity(value *ComputeInstanceReservationAffinity) PutScheduling(value *ComputeInstanceScheduling) PutScratchDisk(value interface{}) PutServiceAccount(value *ComputeInstanceServiceAccount) PutShieldedInstanceConfig(value *ComputeInstanceShieldedInstanceConfig) PutTimeouts(value *ComputeInstanceTimeouts) ResetAdvancedMachineFeatures() ResetAllowStoppingForUpdate() ResetAttachedDisk() ResetCanIpForward() ResetConfidentialInstanceConfig() ResetDeletionProtection() ResetDescription() ResetDesiredStatus() ResetEnableDisplay() ResetGuestAccelerator() ResetHostname() ResetId() ResetKeyRevocationActionType() ResetLabels() ResetMetadata() ResetMetadataStartupScript() ResetMinCpuPlatform() ResetNetworkPerformanceConfig() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetParams() ResetProject() ResetReservationAffinity() ResetResourcePolicies() ResetScheduling() ResetScratchDisk() 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/6.9.0/docs/resources/compute_instance google_compute_instance}.
func NewComputeInstance ¶
func NewComputeInstance(scope constructs.Construct, id *string, config *ComputeInstanceConfig) ComputeInstance
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance google_compute_instance} Resource.
type ComputeInstanceAdvancedMachineFeatures ¶
type ComputeInstanceAdvancedMachineFeatures struct { // Whether to enable nested virtualization or not. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#enable_nested_virtualization ComputeInstance#enable_nested_virtualization} EnableNestedVirtualization interface{} `field:"optional" json:"enableNestedVirtualization" yaml:"enableNestedVirtualization"` // The number of threads per physical core. // // To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#threads_per_core ComputeInstance#threads_per_core} ThreadsPerCore *float64 `field:"optional" json:"threadsPerCore" yaml:"threadsPerCore"` // The number of physical cores to expose to an instance. // // Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance\'s nominal CPU count and the underlying platform\'s SMT width. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#visible_core_count ComputeInstance#visible_core_count} VisibleCoreCount *float64 `field:"optional" json:"visibleCoreCount" yaml:"visibleCoreCount"` }
type ComputeInstanceAdvancedMachineFeaturesOutputReference ¶
type ComputeInstanceAdvancedMachineFeaturesOutputReference 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 EnableNestedVirtualization() interface{} SetEnableNestedVirtualization(val interface{}) EnableNestedVirtualizationInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeInstanceAdvancedMachineFeatures SetInternalValue(val *ComputeInstanceAdvancedMachineFeatures) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) ThreadsPerCore() *float64 SetThreadsPerCore(val *float64) ThreadsPerCoreInput() *float64 VisibleCoreCount() *float64 SetVisibleCoreCount(val *float64) VisibleCoreCountInput() *float64 // 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 ResetEnableNestedVirtualization() ResetThreadsPerCore() ResetVisibleCoreCount() // 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 NewComputeInstanceAdvancedMachineFeaturesOutputReference ¶
func NewComputeInstanceAdvancedMachineFeaturesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceAdvancedMachineFeaturesOutputReference
type ComputeInstanceAttachedDisk ¶
type ComputeInstanceAttachedDisk struct { // The name or self_link of the disk attached to this instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#source ComputeInstance#source} Source *string `field:"required" json:"source" yaml:"source"` // Name with which the attached disk is accessible under /dev/disk/by-id/. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#device_name ComputeInstance#device_name} DeviceName *string `field:"optional" json:"deviceName" yaml:"deviceName"` // A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. // // Only one of kms_key_self_link and disk_encryption_key_raw may be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#disk_encryption_key_raw ComputeInstance#disk_encryption_key_raw} DiskEncryptionKeyRaw *string `field:"optional" json:"diskEncryptionKeyRaw" yaml:"diskEncryptionKeyRaw"` // The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. // // Only one of kms_key_self_link and disk_encryption_key_raw may be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#kms_key_self_link ComputeInstance#kms_key_self_link} KmsKeySelfLink *string `field:"optional" json:"kmsKeySelfLink" yaml:"kmsKeySelfLink"` // Read/write mode for the disk. One of "READ_ONLY" or "READ_WRITE". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#mode ComputeInstance#mode} Mode *string `field:"optional" json:"mode" yaml:"mode"` }
type ComputeInstanceAttachedDiskList ¶
type ComputeInstanceAttachedDiskList 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) ComputeInstanceAttachedDiskOutputReference // 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 NewComputeInstanceAttachedDiskList ¶
func NewComputeInstanceAttachedDiskList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceAttachedDiskList
type ComputeInstanceAttachedDiskOutputReference ¶
type ComputeInstanceAttachedDiskOutputReference 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 DeviceName() *string SetDeviceName(val *string) DeviceNameInput() *string DiskEncryptionKeyRaw() *string SetDiskEncryptionKeyRaw(val *string) DiskEncryptionKeyRawInput() *string DiskEncryptionKeySha256() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) KmsKeySelfLink() *string SetKmsKeySelfLink(val *string) KmsKeySelfLinkInput() *string Mode() *string SetMode(val *string) ModeInput() *string Source() *string SetSource(val *string) SourceInput() *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 ResetDeviceName() ResetDiskEncryptionKeyRaw() ResetKmsKeySelfLink() 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 NewComputeInstanceAttachedDiskOutputReference ¶
func NewComputeInstanceAttachedDiskOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceAttachedDiskOutputReference
type ComputeInstanceBootDisk ¶
type ComputeInstanceBootDisk struct { // Whether the disk will be auto-deleted when the instance is deleted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#auto_delete ComputeInstance#auto_delete} AutoDelete interface{} `field:"optional" json:"autoDelete" yaml:"autoDelete"` // Name with which attached disk will be accessible under /dev/disk/by-id/. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#device_name ComputeInstance#device_name} DeviceName *string `field:"optional" json:"deviceName" yaml:"deviceName"` // A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. // // Only one of kms_key_self_link and disk_encryption_key_raw may be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#disk_encryption_key_raw ComputeInstance#disk_encryption_key_raw} DiskEncryptionKeyRaw *string `field:"optional" json:"diskEncryptionKeyRaw" yaml:"diskEncryptionKeyRaw"` // initialize_params block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#initialize_params ComputeInstance#initialize_params} InitializeParams *ComputeInstanceBootDiskInitializeParams `field:"optional" json:"initializeParams" yaml:"initializeParams"` // The disk interface used for attaching this disk. // // One of SCSI or NVME. (This field is shared with attached_disk and only used for specific cases, please don't specify this field without advice from Google.) // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#interface ComputeInstance#interface} Interface *string `field:"optional" json:"interface" yaml:"interface"` // The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. // // Only one of kms_key_self_link and disk_encryption_key_raw may be set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#kms_key_self_link ComputeInstance#kms_key_self_link} KmsKeySelfLink *string `field:"optional" json:"kmsKeySelfLink" yaml:"kmsKeySelfLink"` // Read/write mode for the disk. One of "READ_ONLY" or "READ_WRITE". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#mode ComputeInstance#mode} Mode *string `field:"optional" json:"mode" yaml:"mode"` // The name or self_link of the disk attached to this instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#source ComputeInstance#source} Source *string `field:"optional" json:"source" yaml:"source"` }
type ComputeInstanceBootDiskInitializeParams ¶
type ComputeInstanceBootDiskInitializeParams struct { // A flag to enable confidential compute mode on boot disk. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#enable_confidential_compute ComputeInstance#enable_confidential_compute} EnableConfidentialCompute interface{} `field:"optional" json:"enableConfidentialCompute" yaml:"enableConfidentialCompute"` // The image from which this disk was initialised. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#image ComputeInstance#image} Image *string `field:"optional" json:"image" yaml:"image"` // A set of key/value label pairs assigned to the disk. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#labels ComputeInstance#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Indicates how many IOPS to provision for the disk. // // This sets the number of I/O operations per second that the disk can handle. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#provisioned_iops ComputeInstance#provisioned_iops} ProvisionedIops *float64 `field:"optional" json:"provisionedIops" yaml:"provisionedIops"` // Indicates how much throughput to provision for the disk. // // This sets the number of throughput mb per second that the disk can handle. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#provisioned_throughput ComputeInstance#provisioned_throughput} ProvisionedThroughput *float64 `field:"optional" json:"provisionedThroughput" yaml:"provisionedThroughput"` // A map of resource manager tags. // // Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#resource_manager_tags ComputeInstance#resource_manager_tags} ResourceManagerTags *map[string]*string `field:"optional" json:"resourceManagerTags" yaml:"resourceManagerTags"` // A list of self_links of resource policies to attach to the instance's boot disk. // // Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#resource_policies ComputeInstance#resource_policies} ResourcePolicies *[]*string `field:"optional" json:"resourcePolicies" yaml:"resourcePolicies"` // The size of the image in gigabytes. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#size ComputeInstance#size} Size *float64 `field:"optional" json:"size" yaml:"size"` // The URL of the storage pool in which the new disk is created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#storage_pool ComputeInstance#storage_pool} StoragePool *string `field:"optional" json:"storagePool" yaml:"storagePool"` // The Google Compute Engine disk type. Such as pd-standard, pd-ssd or pd-balanced. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#type ComputeInstance#type} Type *string `field:"optional" json:"type" yaml:"type"` }
type ComputeInstanceBootDiskInitializeParamsOutputReference ¶
type ComputeInstanceBootDiskInitializeParamsOutputReference 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 EnableConfidentialCompute() interface{} SetEnableConfidentialCompute(val interface{}) EnableConfidentialComputeInput() interface{} // Experimental. Fqn() *string Image() *string SetImage(val *string) ImageInput() *string InternalValue() *ComputeInstanceBootDiskInitializeParams SetInternalValue(val *ComputeInstanceBootDiskInitializeParams) Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string ProvisionedIops() *float64 SetProvisionedIops(val *float64) ProvisionedIopsInput() *float64 ProvisionedThroughput() *float64 SetProvisionedThroughput(val *float64) ProvisionedThroughputInput() *float64 ResourceManagerTags() *map[string]*string SetResourceManagerTags(val *map[string]*string) ResourceManagerTagsInput() *map[string]*string ResourcePolicies() *[]*string SetResourcePolicies(val *[]*string) ResourcePoliciesInput() *[]*string Size() *float64 SetSize(val *float64) SizeInput() *float64 StoragePool() *string SetStoragePool(val *string) StoragePoolInput() *string // 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 ResetEnableConfidentialCompute() ResetImage() ResetLabels() ResetProvisionedIops() ResetProvisionedThroughput() ResetResourceManagerTags() ResetResourcePolicies() ResetSize() ResetStoragePool() ResetType() // 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 NewComputeInstanceBootDiskInitializeParamsOutputReference ¶
func NewComputeInstanceBootDiskInitializeParamsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceBootDiskInitializeParamsOutputReference
type ComputeInstanceBootDiskOutputReference ¶
type ComputeInstanceBootDiskOutputReference interface { cdktf.ComplexObject AutoDelete() interface{} SetAutoDelete(val interface{}) AutoDeleteInput() 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 DeviceName() *string SetDeviceName(val *string) DeviceNameInput() *string DiskEncryptionKeyRaw() *string SetDiskEncryptionKeyRaw(val *string) DiskEncryptionKeyRawInput() *string DiskEncryptionKeySha256() *string // Experimental. Fqn() *string InitializeParams() ComputeInstanceBootDiskInitializeParamsOutputReference InitializeParamsInput() *ComputeInstanceBootDiskInitializeParams Interface() *string SetInterface(val *string) InterfaceInput() *string InternalValue() *ComputeInstanceBootDisk SetInternalValue(val *ComputeInstanceBootDisk) KmsKeySelfLink() *string SetKmsKeySelfLink(val *string) KmsKeySelfLinkInput() *string Mode() *string SetMode(val *string) ModeInput() *string Source() *string SetSource(val *string) SourceInput() *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 PutInitializeParams(value *ComputeInstanceBootDiskInitializeParams) ResetAutoDelete() ResetDeviceName() ResetDiskEncryptionKeyRaw() ResetInitializeParams() ResetInterface() ResetKmsKeySelfLink() ResetMode() ResetSource() // 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 NewComputeInstanceBootDiskOutputReference ¶
func NewComputeInstanceBootDiskOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceBootDiskOutputReference
type ComputeInstanceConfidentialInstanceConfig ¶
type ComputeInstanceConfidentialInstanceConfig struct { // The confidential computing technology the instance uses. // // SEV is an AMD feature. TDX is an Intel feature. One of the following // values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = // "AMD Milan" is currently required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#confidential_instance_type ComputeInstance#confidential_instance_type} ConfidentialInstanceType *string `field:"optional" json:"confidentialInstanceType" yaml:"confidentialInstanceType"` // Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#enable_confidential_compute ComputeInstance#enable_confidential_compute} EnableConfidentialCompute interface{} `field:"optional" json:"enableConfidentialCompute" yaml:"enableConfidentialCompute"` }
type ComputeInstanceConfidentialInstanceConfigOutputReference ¶
type ComputeInstanceConfidentialInstanceConfigOutputReference 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) ConfidentialInstanceType() *string SetConfidentialInstanceType(val *string) ConfidentialInstanceTypeInput() *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 EnableConfidentialCompute() interface{} SetEnableConfidentialCompute(val interface{}) EnableConfidentialComputeInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeInstanceConfidentialInstanceConfig SetInternalValue(val *ComputeInstanceConfidentialInstanceConfig) // 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 ResetConfidentialInstanceType() ResetEnableConfidentialCompute() // 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 NewComputeInstanceConfidentialInstanceConfigOutputReference ¶
func NewComputeInstanceConfidentialInstanceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceConfidentialInstanceConfigOutputReference
type ComputeInstanceConfig ¶
type ComputeInstanceConfig 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"` // boot_disk block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#boot_disk ComputeInstance#boot_disk} BootDisk *ComputeInstanceBootDisk `field:"required" json:"bootDisk" yaml:"bootDisk"` // The machine type to create. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#machine_type ComputeInstance#machine_type} MachineType *string `field:"required" json:"machineType" yaml:"machineType"` // The name of the instance. One of name or self_link must be provided. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#name ComputeInstance#name} Name *string `field:"required" json:"name" yaml:"name"` // network_interface block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#network_interface ComputeInstance#network_interface} NetworkInterface interface{} `field:"required" json:"networkInterface" yaml:"networkInterface"` // advanced_machine_features block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#advanced_machine_features ComputeInstance#advanced_machine_features} AdvancedMachineFeatures *ComputeInstanceAdvancedMachineFeatures `field:"optional" json:"advancedMachineFeatures" yaml:"advancedMachineFeatures"` // If true, allows Terraform to stop the instance to update its properties. // // If you try to update a property that requires stopping the instance without setting this field, the update will fail. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#allow_stopping_for_update ComputeInstance#allow_stopping_for_update} AllowStoppingForUpdate interface{} `field:"optional" json:"allowStoppingForUpdate" yaml:"allowStoppingForUpdate"` // attached_disk block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#attached_disk ComputeInstance#attached_disk} AttachedDisk interface{} `field:"optional" json:"attachedDisk" yaml:"attachedDisk"` // Whether sending and receiving of packets with non-matching source or destination IPs is allowed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#can_ip_forward ComputeInstance#can_ip_forward} CanIpForward interface{} `field:"optional" json:"canIpForward" yaml:"canIpForward"` // confidential_instance_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#confidential_instance_config ComputeInstance#confidential_instance_config} ConfidentialInstanceConfig *ComputeInstanceConfidentialInstanceConfig `field:"optional" json:"confidentialInstanceConfig" yaml:"confidentialInstanceConfig"` // Whether deletion protection is enabled on this instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#deletion_protection ComputeInstance#deletion_protection} DeletionProtection interface{} `field:"optional" json:"deletionProtection" yaml:"deletionProtection"` // A brief description of the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#description ComputeInstance#description} Description *string `field:"optional" json:"description" yaml:"description"` // Desired status of the instance. Either "RUNNING", "SUSPENDED" or "TERMINATED". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#desired_status ComputeInstance#desired_status} DesiredStatus *string `field:"optional" json:"desiredStatus" yaml:"desiredStatus"` // Whether the instance has virtual displays enabled. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#enable_display ComputeInstance#enable_display} EnableDisplay interface{} `field:"optional" json:"enableDisplay" yaml:"enableDisplay"` // guest_accelerator block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#guest_accelerator ComputeInstance#guest_accelerator} GuestAccelerator interface{} `field:"optional" json:"guestAccelerator" yaml:"guestAccelerator"` // A custom hostname for the instance. // // Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#hostname ComputeInstance#hostname} Hostname *string `field:"optional" json:"hostname" yaml:"hostname"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#id ComputeInstance#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"` // Action to be taken when a customer's encryption key is revoked. // // Supports "STOP" and "NONE", with "NONE" being the default. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#key_revocation_action_type ComputeInstance#key_revocation_action_type} KeyRevocationActionType *string `field:"optional" json:"keyRevocationActionType" yaml:"keyRevocationActionType"` // A set of key/value label pairs assigned to the instance. // // **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/6.9.0/docs/resources/compute_instance#labels ComputeInstance#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Metadata key/value pairs made available within the instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#metadata ComputeInstance#metadata} Metadata *map[string]*string `field:"optional" json:"metadata" yaml:"metadata"` // Metadata startup scripts made available within the instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#metadata_startup_script ComputeInstance#metadata_startup_script} MetadataStartupScript *string `field:"optional" json:"metadataStartupScript" yaml:"metadataStartupScript"` // The minimum CPU platform specified for the VM instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#min_cpu_platform ComputeInstance#min_cpu_platform} MinCpuPlatform *string `field:"optional" json:"minCpuPlatform" yaml:"minCpuPlatform"` // network_performance_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#network_performance_config ComputeInstance#network_performance_config} NetworkPerformanceConfig *ComputeInstanceNetworkPerformanceConfig `field:"optional" json:"networkPerformanceConfig" yaml:"networkPerformanceConfig"` // params block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#params ComputeInstance#params} Params *ComputeInstanceParams `field:"optional" json:"params" yaml:"params"` // The ID of the project in which the resource belongs. // // If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#project ComputeInstance#project} Project *string `field:"optional" json:"project" yaml:"project"` // reservation_affinity block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#reservation_affinity ComputeInstance#reservation_affinity} ReservationAffinity *ComputeInstanceReservationAffinity `field:"optional" json:"reservationAffinity" yaml:"reservationAffinity"` // A list of self_links of resource policies to attach to the instance. // // Currently a max of 1 resource policy is supported. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#resource_policies ComputeInstance#resource_policies} ResourcePolicies *[]*string `field:"optional" json:"resourcePolicies" yaml:"resourcePolicies"` // scheduling block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#scheduling ComputeInstance#scheduling} Scheduling *ComputeInstanceScheduling `field:"optional" json:"scheduling" yaml:"scheduling"` // scratch_disk block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#scratch_disk ComputeInstance#scratch_disk} ScratchDisk interface{} `field:"optional" json:"scratchDisk" yaml:"scratchDisk"` // service_account block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#service_account ComputeInstance#service_account} ServiceAccount *ComputeInstanceServiceAccount `field:"optional" json:"serviceAccount" yaml:"serviceAccount"` // shielded_instance_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#shielded_instance_config ComputeInstance#shielded_instance_config} ShieldedInstanceConfig *ComputeInstanceShieldedInstanceConfig `field:"optional" json:"shieldedInstanceConfig" yaml:"shieldedInstanceConfig"` // The list of tags attached to the instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#tags ComputeInstance#tags} Tags *[]*string `field:"optional" json:"tags" yaml:"tags"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#timeouts ComputeInstance#timeouts} Timeouts *ComputeInstanceTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // The zone of the instance. // // If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#zone ComputeInstance#zone} Zone *string `field:"optional" json:"zone" yaml:"zone"` }
type ComputeInstanceGuestAccelerator ¶
type ComputeInstanceGuestAccelerator struct { // The number of the guest accelerator cards exposed to this instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#count ComputeInstance#count} Count *float64 `field:"required" json:"count" yaml:"count"` // The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#type ComputeInstance#type} Type *string `field:"required" json:"type" yaml:"type"` }
type ComputeInstanceGuestAcceleratorList ¶
type ComputeInstanceGuestAcceleratorList 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) ComputeInstanceGuestAcceleratorOutputReference // 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 NewComputeInstanceGuestAcceleratorList ¶
func NewComputeInstanceGuestAcceleratorList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceGuestAcceleratorList
type ComputeInstanceGuestAcceleratorOutputReference ¶
type ComputeInstanceGuestAcceleratorOutputReference 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) Count() *float64 SetCount(val *float64) CountInput() *float64 // 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) 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 NewComputeInstanceGuestAcceleratorOutputReference ¶
func NewComputeInstanceGuestAcceleratorOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceGuestAcceleratorOutputReference
type ComputeInstanceNetworkInterface ¶
type ComputeInstanceNetworkInterface struct { // access_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#access_config ComputeInstance#access_config} AccessConfig interface{} `field:"optional" json:"accessConfig" yaml:"accessConfig"` // alias_ip_range block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#alias_ip_range ComputeInstance#alias_ip_range} AliasIpRange interface{} `field:"optional" json:"aliasIpRange" yaml:"aliasIpRange"` // The prefix length of the primary internal IPv6 range. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#internal_ipv6_prefix_length ComputeInstance#internal_ipv6_prefix_length} InternalIpv6PrefixLength *float64 `field:"optional" json:"internalIpv6PrefixLength" yaml:"internalIpv6PrefixLength"` // ipv6_access_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#ipv6_access_config ComputeInstance#ipv6_access_config} Ipv6AccessConfig interface{} `field:"optional" json:"ipv6AccessConfig" yaml:"ipv6AccessConfig"` // An IPv6 internal network address for this network interface. // // If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#ipv6_address ComputeInstance#ipv6_address} Ipv6Address *string `field:"optional" json:"ipv6Address" yaml:"ipv6Address"` // The name or self_link of the network attached to this interface. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#network ComputeInstance#network} Network *string `field:"optional" json:"network" yaml:"network"` // The private IP address assigned to the instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#network_ip ComputeInstance#network_ip} NetworkIp *string `field:"optional" json:"networkIp" yaml:"networkIp"` // The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#nic_type ComputeInstance#nic_type} NicType *string `field:"optional" json:"nicType" yaml:"nicType"` // The networking queue count that's specified by users for the network interface. // // Both Rx and Tx queues will be set to this number. It will be empty if not specified. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#queue_count ComputeInstance#queue_count} QueueCount *float64 `field:"optional" json:"queueCount" yaml:"queueCount"` // The stack type for this network interface to identify whether the IPv6 feature is enabled or not. // // If not specified, IPV4_ONLY will be used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#stack_type ComputeInstance#stack_type} StackType *string `field:"optional" json:"stackType" yaml:"stackType"` // The name or self_link of the subnetwork attached to this interface. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#subnetwork ComputeInstance#subnetwork} Subnetwork *string `field:"optional" json:"subnetwork" yaml:"subnetwork"` // The project in which the subnetwork belongs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#subnetwork_project ComputeInstance#subnetwork_project} SubnetworkProject *string `field:"optional" json:"subnetworkProject" yaml:"subnetworkProject"` }
type ComputeInstanceNetworkInterfaceAccessConfig ¶
type ComputeInstanceNetworkInterfaceAccessConfig struct { // The IP address that is be 1:1 mapped to the instance's network ip. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#nat_ip ComputeInstance#nat_ip} NatIp *string `field:"optional" json:"natIp" yaml:"natIp"` // The networking tier used for configuring this instance. One of PREMIUM or STANDARD. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#network_tier ComputeInstance#network_tier} NetworkTier *string `field:"optional" json:"networkTier" yaml:"networkTier"` // The DNS domain name for the public PTR record. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#public_ptr_domain_name ComputeInstance#public_ptr_domain_name} PublicPtrDomainName *string `field:"optional" json:"publicPtrDomainName" yaml:"publicPtrDomainName"` }
type ComputeInstanceNetworkInterfaceAccessConfigList ¶
type ComputeInstanceNetworkInterfaceAccessConfigList 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) ComputeInstanceNetworkInterfaceAccessConfigOutputReference // 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 NewComputeInstanceNetworkInterfaceAccessConfigList ¶
func NewComputeInstanceNetworkInterfaceAccessConfigList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceNetworkInterfaceAccessConfigList
type ComputeInstanceNetworkInterfaceAccessConfigOutputReference ¶
type ComputeInstanceNetworkInterfaceAccessConfigOutputReference 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{}) NatIp() *string SetNatIp(val *string) NatIpInput() *string NetworkTier() *string SetNetworkTier(val *string) NetworkTierInput() *string PublicPtrDomainName() *string SetPublicPtrDomainName(val *string) PublicPtrDomainNameInput() *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 ResetNatIp() ResetNetworkTier() ResetPublicPtrDomainName() // 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 NewComputeInstanceNetworkInterfaceAccessConfigOutputReference ¶
func NewComputeInstanceNetworkInterfaceAccessConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceNetworkInterfaceAccessConfigOutputReference
type ComputeInstanceNetworkInterfaceAliasIpRange ¶
type ComputeInstanceNetworkInterfaceAliasIpRange struct { // The IP CIDR range represented by this alias IP range. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#ip_cidr_range ComputeInstance#ip_cidr_range} IpCidrRange *string `field:"required" json:"ipCidrRange" yaml:"ipCidrRange"` // The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#subnetwork_range_name ComputeInstance#subnetwork_range_name} SubnetworkRangeName *string `field:"optional" json:"subnetworkRangeName" yaml:"subnetworkRangeName"` }
type ComputeInstanceNetworkInterfaceAliasIpRangeList ¶
type ComputeInstanceNetworkInterfaceAliasIpRangeList 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) ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference // 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 NewComputeInstanceNetworkInterfaceAliasIpRangeList ¶
func NewComputeInstanceNetworkInterfaceAliasIpRangeList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceNetworkInterfaceAliasIpRangeList
type ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference ¶
type ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference 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{}) IpCidrRange() *string SetIpCidrRange(val *string) IpCidrRangeInput() *string SubnetworkRangeName() *string SetSubnetworkRangeName(val *string) SubnetworkRangeNameInput() *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 ResetSubnetworkRangeName() // 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 NewComputeInstanceNetworkInterfaceAliasIpRangeOutputReference ¶
func NewComputeInstanceNetworkInterfaceAliasIpRangeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference
type ComputeInstanceNetworkInterfaceIpv6AccessConfig ¶
type ComputeInstanceNetworkInterfaceIpv6AccessConfig struct { // The service-level to be provided for IPv6 traffic when the subnet has an external subnet. // // Only PREMIUM tier is valid for IPv6 // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#network_tier ComputeInstance#network_tier} NetworkTier *string `field:"required" json:"networkTier" yaml:"networkTier"` // The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. // // To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#external_ipv6 ComputeInstance#external_ipv6} ExternalIpv6 *string `field:"optional" json:"externalIpv6" yaml:"externalIpv6"` // The prefix length of the external IPv6 range. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#external_ipv6_prefix_length ComputeInstance#external_ipv6_prefix_length} ExternalIpv6PrefixLength *string `field:"optional" json:"externalIpv6PrefixLength" yaml:"externalIpv6PrefixLength"` // The name of this access configuration. In ipv6AccessConfigs, the recommended name is External IPv6. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#name ComputeInstance#name} Name *string `field:"optional" json:"name" yaml:"name"` // The domain name to be used when creating DNSv6 records for the external IPv6 ranges. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#public_ptr_domain_name ComputeInstance#public_ptr_domain_name} PublicPtrDomainName *string `field:"optional" json:"publicPtrDomainName" yaml:"publicPtrDomainName"` }
type ComputeInstanceNetworkInterfaceIpv6AccessConfigList ¶
type ComputeInstanceNetworkInterfaceIpv6AccessConfigList 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) ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference // 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 NewComputeInstanceNetworkInterfaceIpv6AccessConfigList ¶
func NewComputeInstanceNetworkInterfaceIpv6AccessConfigList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceNetworkInterfaceIpv6AccessConfigList
type ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference ¶
type ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference 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 ExternalIpv6() *string SetExternalIpv6(val *string) ExternalIpv6Input() *string ExternalIpv6PrefixLength() *string SetExternalIpv6PrefixLength(val *string) ExternalIpv6PrefixLengthInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string NetworkTier() *string SetNetworkTier(val *string) NetworkTierInput() *string PublicPtrDomainName() *string SetPublicPtrDomainName(val *string) PublicPtrDomainNameInput() *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 ResetExternalIpv6() ResetExternalIpv6PrefixLength() ResetName() ResetPublicPtrDomainName() // 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 NewComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference ¶
func NewComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference
type ComputeInstanceNetworkInterfaceList ¶
type ComputeInstanceNetworkInterfaceList 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) ComputeInstanceNetworkInterfaceOutputReference // 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 NewComputeInstanceNetworkInterfaceList ¶
func NewComputeInstanceNetworkInterfaceList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceNetworkInterfaceList
type ComputeInstanceNetworkInterfaceOutputReference ¶
type ComputeInstanceNetworkInterfaceOutputReference interface { cdktf.ComplexObject AccessConfig() ComputeInstanceNetworkInterfaceAccessConfigList AccessConfigInput() interface{} AliasIpRange() ComputeInstanceNetworkInterfaceAliasIpRangeList AliasIpRangeInput() 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 // Experimental. Fqn() *string InternalIpv6PrefixLength() *float64 SetInternalIpv6PrefixLength(val *float64) InternalIpv6PrefixLengthInput() *float64 InternalValue() interface{} SetInternalValue(val interface{}) Ipv6AccessConfig() ComputeInstanceNetworkInterfaceIpv6AccessConfigList Ipv6AccessConfigInput() interface{} Ipv6AccessType() *string Ipv6Address() *string SetIpv6Address(val *string) Ipv6AddressInput() *string Name() *string Network() *string SetNetwork(val *string) NetworkInput() *string NetworkIp() *string SetNetworkIp(val *string) NetworkIpInput() *string NicType() *string SetNicType(val *string) NicTypeInput() *string QueueCount() *float64 SetQueueCount(val *float64) QueueCountInput() *float64 StackType() *string SetStackType(val *string) StackTypeInput() *string Subnetwork() *string SetSubnetwork(val *string) SubnetworkInput() *string SubnetworkProject() *string SetSubnetworkProject(val *string) SubnetworkProjectInput() *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 PutAccessConfig(value interface{}) PutAliasIpRange(value interface{}) PutIpv6AccessConfig(value interface{}) ResetAccessConfig() ResetAliasIpRange() ResetInternalIpv6PrefixLength() ResetIpv6AccessConfig() ResetIpv6Address() ResetNetwork() ResetNetworkIp() ResetNicType() ResetQueueCount() ResetStackType() ResetSubnetwork() ResetSubnetworkProject() // 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 NewComputeInstanceNetworkInterfaceOutputReference ¶
func NewComputeInstanceNetworkInterfaceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceNetworkInterfaceOutputReference
type ComputeInstanceNetworkPerformanceConfig ¶
type ComputeInstanceNetworkPerformanceConfig struct { // The egress bandwidth tier to enable. Possible values:TIER_1, DEFAULT. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#total_egress_bandwidth_tier ComputeInstance#total_egress_bandwidth_tier} TotalEgressBandwidthTier *string `field:"required" json:"totalEgressBandwidthTier" yaml:"totalEgressBandwidthTier"` }
type ComputeInstanceNetworkPerformanceConfigOutputReference ¶
type ComputeInstanceNetworkPerformanceConfigOutputReference 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() *ComputeInstanceNetworkPerformanceConfig SetInternalValue(val *ComputeInstanceNetworkPerformanceConfig) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TotalEgressBandwidthTier() *string SetTotalEgressBandwidthTier(val *string) TotalEgressBandwidthTierInput() *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 NewComputeInstanceNetworkPerformanceConfigOutputReference ¶
func NewComputeInstanceNetworkPerformanceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceNetworkPerformanceConfigOutputReference
type ComputeInstanceParams ¶
type ComputeInstanceParams struct { // A map of resource manager tags. // // Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#resource_manager_tags ComputeInstance#resource_manager_tags} ResourceManagerTags *map[string]*string `field:"optional" json:"resourceManagerTags" yaml:"resourceManagerTags"` }
type ComputeInstanceParamsOutputReference ¶
type ComputeInstanceParamsOutputReference 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() *ComputeInstanceParams SetInternalValue(val *ComputeInstanceParams) ResourceManagerTags() *map[string]*string SetResourceManagerTags(val *map[string]*string) ResourceManagerTagsInput() *map[string]*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 ResetResourceManagerTags() // 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 NewComputeInstanceParamsOutputReference ¶
func NewComputeInstanceParamsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceParamsOutputReference
type ComputeInstanceReservationAffinity ¶
type ComputeInstanceReservationAffinity struct { // The type of reservation from which this instance can consume resources. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#type ComputeInstance#type} Type *string `field:"required" json:"type" yaml:"type"` // specific_reservation block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#specific_reservation ComputeInstance#specific_reservation} SpecificReservation *ComputeInstanceReservationAffinitySpecificReservation `field:"optional" json:"specificReservation" yaml:"specificReservation"` }
type ComputeInstanceReservationAffinityOutputReference ¶
type ComputeInstanceReservationAffinityOutputReference 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() *ComputeInstanceReservationAffinity SetInternalValue(val *ComputeInstanceReservationAffinity) SpecificReservation() ComputeInstanceReservationAffinitySpecificReservationOutputReference SpecificReservationInput() *ComputeInstanceReservationAffinitySpecificReservation // 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 PutSpecificReservation(value *ComputeInstanceReservationAffinitySpecificReservation) ResetSpecificReservation() // 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 NewComputeInstanceReservationAffinityOutputReference ¶
func NewComputeInstanceReservationAffinityOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceReservationAffinityOutputReference
type ComputeInstanceReservationAffinitySpecificReservation ¶
type ComputeInstanceReservationAffinitySpecificReservation struct { // Corresponds to the label key of a reservation resource. // // To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#key ComputeInstance#key} Key *string `field:"required" json:"key" yaml:"key"` // Corresponds to the label values of a reservation resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#values ComputeInstance#values} Values *[]*string `field:"required" json:"values" yaml:"values"` }
type ComputeInstanceReservationAffinitySpecificReservationOutputReference ¶
type ComputeInstanceReservationAffinitySpecificReservationOutputReference 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() *ComputeInstanceReservationAffinitySpecificReservation SetInternalValue(val *ComputeInstanceReservationAffinitySpecificReservation) Key() *string SetKey(val *string) KeyInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 NewComputeInstanceReservationAffinitySpecificReservationOutputReference ¶
func NewComputeInstanceReservationAffinitySpecificReservationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceReservationAffinitySpecificReservationOutputReference
type ComputeInstanceScheduling ¶
type ComputeInstanceScheduling struct { // Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#automatic_restart ComputeInstance#automatic_restart} AutomaticRestart interface{} `field:"optional" json:"automaticRestart" yaml:"automaticRestart"` // Specifies the action GCE should take when SPOT VM is preempted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#instance_termination_action ComputeInstance#instance_termination_action} InstanceTerminationAction *string `field:"optional" json:"instanceTerminationAction" yaml:"instanceTerminationAction"` // local_ssd_recovery_timeout block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#local_ssd_recovery_timeout ComputeInstance#local_ssd_recovery_timeout} LocalSsdRecoveryTimeout *ComputeInstanceSchedulingLocalSsdRecoveryTimeout `field:"optional" json:"localSsdRecoveryTimeout" yaml:"localSsdRecoveryTimeout"` // max_run_duration block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#max_run_duration ComputeInstance#max_run_duration} MaxRunDuration *ComputeInstanceSchedulingMaxRunDuration `field:"optional" json:"maxRunDuration" yaml:"maxRunDuration"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#min_node_cpus ComputeInstance#min_node_cpus}. MinNodeCpus *float64 `field:"optional" json:"minNodeCpus" yaml:"minNodeCpus"` // node_affinities block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#node_affinities ComputeInstance#node_affinities} NodeAffinities interface{} `field:"optional" json:"nodeAffinities" yaml:"nodeAffinities"` // Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE,. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#on_host_maintenance ComputeInstance#on_host_maintenance} OnHostMaintenance *string `field:"optional" json:"onHostMaintenance" yaml:"onHostMaintenance"` // on_instance_stop_action block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#on_instance_stop_action ComputeInstance#on_instance_stop_action} OnInstanceStopAction *ComputeInstanceSchedulingOnInstanceStopAction `field:"optional" json:"onInstanceStopAction" yaml:"onInstanceStopAction"` // Whether the instance is preemptible. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#preemptible ComputeInstance#preemptible} Preemptible interface{} `field:"optional" json:"preemptible" yaml:"preemptible"` // Whether the instance is spot. If this is set as SPOT. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#provisioning_model ComputeInstance#provisioning_model} ProvisioningModel *string `field:"optional" json:"provisioningModel" yaml:"provisioningModel"` }
type ComputeInstanceSchedulingLocalSsdRecoveryTimeout ¶
type ComputeInstanceSchedulingLocalSsdRecoveryTimeout struct { // Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#seconds ComputeInstance#seconds} Seconds *float64 `field:"required" json:"seconds" yaml:"seconds"` // Span of time that's a fraction of a second at nanosecond resolution. // // Durations less than one second are represented // with a 0 seconds field and a positive nanos field. Must // be from 0 to 999,999,999 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#nanos ComputeInstance#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference ¶
type ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference 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() *ComputeInstanceSchedulingLocalSsdRecoveryTimeout SetInternalValue(val *ComputeInstanceSchedulingLocalSsdRecoveryTimeout) Nanos() *float64 SetNanos(val *float64) NanosInput() *float64 Seconds() *float64 SetSeconds(val *float64) SecondsInput() *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 ResetNanos() // 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 NewComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference ¶
func NewComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference
type ComputeInstanceSchedulingMaxRunDuration ¶
type ComputeInstanceSchedulingMaxRunDuration struct { // Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#seconds ComputeInstance#seconds} Seconds *float64 `field:"required" json:"seconds" yaml:"seconds"` // Span of time that's a fraction of a second at nanosecond resolution. // // Durations less than one second are represented // with a 0 seconds field and a positive nanos field. Must // be from 0 to 999,999,999 inclusive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#nanos ComputeInstance#nanos} Nanos *float64 `field:"optional" json:"nanos" yaml:"nanos"` }
type ComputeInstanceSchedulingMaxRunDurationOutputReference ¶
type ComputeInstanceSchedulingMaxRunDurationOutputReference 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() *ComputeInstanceSchedulingMaxRunDuration SetInternalValue(val *ComputeInstanceSchedulingMaxRunDuration) Nanos() *float64 SetNanos(val *float64) NanosInput() *float64 Seconds() *float64 SetSeconds(val *float64) SecondsInput() *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 ResetNanos() // 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 NewComputeInstanceSchedulingMaxRunDurationOutputReference ¶
func NewComputeInstanceSchedulingMaxRunDurationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceSchedulingMaxRunDurationOutputReference
type ComputeInstanceSchedulingNodeAffinities ¶
type ComputeInstanceSchedulingNodeAffinities struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#key ComputeInstance#key}. Key *string `field:"required" json:"key" yaml:"key"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#operator ComputeInstance#operator}. Operator *string `field:"required" json:"operator" yaml:"operator"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#values ComputeInstance#values}. Values *[]*string `field:"required" json:"values" yaml:"values"` }
type ComputeInstanceSchedulingNodeAffinitiesList ¶
type ComputeInstanceSchedulingNodeAffinitiesList 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) ComputeInstanceSchedulingNodeAffinitiesOutputReference // 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 NewComputeInstanceSchedulingNodeAffinitiesList ¶
func NewComputeInstanceSchedulingNodeAffinitiesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceSchedulingNodeAffinitiesList
type ComputeInstanceSchedulingNodeAffinitiesOutputReference ¶
type ComputeInstanceSchedulingNodeAffinitiesOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 NewComputeInstanceSchedulingNodeAffinitiesOutputReference ¶
func NewComputeInstanceSchedulingNodeAffinitiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceSchedulingNodeAffinitiesOutputReference
type ComputeInstanceSchedulingOnInstanceStopAction ¶
type ComputeInstanceSchedulingOnInstanceStopAction struct { // If true, the contents of any attached Local SSD disks will be discarded. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#discard_local_ssd ComputeInstance#discard_local_ssd} DiscardLocalSsd interface{} `field:"optional" json:"discardLocalSsd" yaml:"discardLocalSsd"` }
type ComputeInstanceSchedulingOnInstanceStopActionOutputReference ¶
type ComputeInstanceSchedulingOnInstanceStopActionOutputReference 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 DiscardLocalSsd() interface{} SetDiscardLocalSsd(val interface{}) DiscardLocalSsdInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeInstanceSchedulingOnInstanceStopAction SetInternalValue(val *ComputeInstanceSchedulingOnInstanceStopAction) // 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 ResetDiscardLocalSsd() // 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 NewComputeInstanceSchedulingOnInstanceStopActionOutputReference ¶
func NewComputeInstanceSchedulingOnInstanceStopActionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceSchedulingOnInstanceStopActionOutputReference
type ComputeInstanceSchedulingOutputReference ¶
type ComputeInstanceSchedulingOutputReference interface { cdktf.ComplexObject AutomaticRestart() interface{} SetAutomaticRestart(val interface{}) AutomaticRestartInput() 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 // Experimental. Fqn() *string InstanceTerminationAction() *string SetInstanceTerminationAction(val *string) InstanceTerminationActionInput() *string InternalValue() *ComputeInstanceScheduling SetInternalValue(val *ComputeInstanceScheduling) LocalSsdRecoveryTimeout() ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference LocalSsdRecoveryTimeoutInput() *ComputeInstanceSchedulingLocalSsdRecoveryTimeout MaxRunDuration() ComputeInstanceSchedulingMaxRunDurationOutputReference MaxRunDurationInput() *ComputeInstanceSchedulingMaxRunDuration MinNodeCpus() *float64 SetMinNodeCpus(val *float64) MinNodeCpusInput() *float64 NodeAffinities() ComputeInstanceSchedulingNodeAffinitiesList NodeAffinitiesInput() interface{} OnHostMaintenance() *string SetOnHostMaintenance(val *string) OnHostMaintenanceInput() *string OnInstanceStopAction() ComputeInstanceSchedulingOnInstanceStopActionOutputReference OnInstanceStopActionInput() *ComputeInstanceSchedulingOnInstanceStopAction Preemptible() interface{} SetPreemptible(val interface{}) PreemptibleInput() interface{} ProvisioningModel() *string SetProvisioningModel(val *string) ProvisioningModelInput() *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 PutLocalSsdRecoveryTimeout(value *ComputeInstanceSchedulingLocalSsdRecoveryTimeout) PutMaxRunDuration(value *ComputeInstanceSchedulingMaxRunDuration) PutNodeAffinities(value interface{}) PutOnInstanceStopAction(value *ComputeInstanceSchedulingOnInstanceStopAction) ResetAutomaticRestart() ResetInstanceTerminationAction() ResetLocalSsdRecoveryTimeout() ResetMaxRunDuration() ResetMinNodeCpus() ResetNodeAffinities() ResetOnHostMaintenance() ResetOnInstanceStopAction() ResetPreemptible() ResetProvisioningModel() // 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 NewComputeInstanceSchedulingOutputReference ¶
func NewComputeInstanceSchedulingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceSchedulingOutputReference
type ComputeInstanceScratchDisk ¶
type ComputeInstanceScratchDisk struct { // The disk interface used for attaching this disk. One of SCSI or NVME. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#interface ComputeInstance#interface} Interface *string `field:"required" json:"interface" yaml:"interface"` // Name with which the attached disk is accessible under /dev/disk/by-id/. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#device_name ComputeInstance#device_name} DeviceName *string `field:"optional" json:"deviceName" yaml:"deviceName"` // The size of the disk in gigabytes. One of 375 or 3000. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#size ComputeInstance#size} Size *float64 `field:"optional" json:"size" yaml:"size"` }
type ComputeInstanceScratchDiskList ¶
type ComputeInstanceScratchDiskList 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) ComputeInstanceScratchDiskOutputReference // 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 NewComputeInstanceScratchDiskList ¶
func NewComputeInstanceScratchDiskList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeInstanceScratchDiskList
type ComputeInstanceScratchDiskOutputReference ¶
type ComputeInstanceScratchDiskOutputReference 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 DeviceName() *string SetDeviceName(val *string) DeviceNameInput() *string // Experimental. Fqn() *string Interface() *string SetInterface(val *string) InterfaceInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Size() *float64 SetSize(val *float64) SizeInput() *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 ResetDeviceName() ResetSize() // 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 NewComputeInstanceScratchDiskOutputReference ¶
func NewComputeInstanceScratchDiskOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeInstanceScratchDiskOutputReference
type ComputeInstanceServiceAccount ¶
type ComputeInstanceServiceAccount struct { // A list of service scopes. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#scopes ComputeInstance#scopes} Scopes *[]*string `field:"required" json:"scopes" yaml:"scopes"` // The service account e-mail address. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#email ComputeInstance#email} Email *string `field:"optional" json:"email" yaml:"email"` }
type ComputeInstanceServiceAccountOutputReference ¶
type ComputeInstanceServiceAccountOutputReference 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() *ComputeInstanceServiceAccount SetInternalValue(val *ComputeInstanceServiceAccount) Scopes() *[]*string SetScopes(val *[]*string) ScopesInput() *[]*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() // 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 NewComputeInstanceServiceAccountOutputReference ¶
func NewComputeInstanceServiceAccountOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceServiceAccountOutputReference
type ComputeInstanceShieldedInstanceConfig ¶
type ComputeInstanceShieldedInstanceConfig struct { // Whether integrity monitoring is enabled for the instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#enable_integrity_monitoring ComputeInstance#enable_integrity_monitoring} EnableIntegrityMonitoring interface{} `field:"optional" json:"enableIntegrityMonitoring" yaml:"enableIntegrityMonitoring"` // Whether secure boot is enabled for the instance. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#enable_secure_boot ComputeInstance#enable_secure_boot} EnableSecureBoot interface{} `field:"optional" json:"enableSecureBoot" yaml:"enableSecureBoot"` // Whether the instance uses vTPM. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#enable_vtpm ComputeInstance#enable_vtpm} EnableVtpm interface{} `field:"optional" json:"enableVtpm" yaml:"enableVtpm"` }
type ComputeInstanceShieldedInstanceConfigOutputReference ¶
type ComputeInstanceShieldedInstanceConfigOutputReference 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 EnableIntegrityMonitoring() interface{} SetEnableIntegrityMonitoring(val interface{}) EnableIntegrityMonitoringInput() interface{} EnableSecureBoot() interface{} SetEnableSecureBoot(val interface{}) EnableSecureBootInput() interface{} EnableVtpm() interface{} SetEnableVtpm(val interface{}) EnableVtpmInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeInstanceShieldedInstanceConfig SetInternalValue(val *ComputeInstanceShieldedInstanceConfig) // 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 ResetEnableIntegrityMonitoring() ResetEnableSecureBoot() ResetEnableVtpm() // 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 NewComputeInstanceShieldedInstanceConfigOutputReference ¶
func NewComputeInstanceShieldedInstanceConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceShieldedInstanceConfigOutputReference
type ComputeInstanceTimeouts ¶
type ComputeInstanceTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#create ComputeInstance#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#delete ComputeInstance#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.9.0/docs/resources/compute_instance#update ComputeInstance#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeInstanceTimeoutsOutputReference ¶
type ComputeInstanceTimeoutsOutputReference 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 NewComputeInstanceTimeoutsOutputReference ¶
func NewComputeInstanceTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeInstanceTimeoutsOutputReference
Source Files ¶
- ComputeInstance.go
- ComputeInstanceAdvancedMachineFeatures.go
- ComputeInstanceAdvancedMachineFeaturesOutputReference.go
- ComputeInstanceAdvancedMachineFeaturesOutputReference__checks.go
- ComputeInstanceAttachedDisk.go
- ComputeInstanceAttachedDiskList.go
- ComputeInstanceAttachedDiskList__checks.go
- ComputeInstanceAttachedDiskOutputReference.go
- ComputeInstanceAttachedDiskOutputReference__checks.go
- ComputeInstanceBootDisk.go
- ComputeInstanceBootDiskInitializeParams.go
- ComputeInstanceBootDiskInitializeParamsOutputReference.go
- ComputeInstanceBootDiskInitializeParamsOutputReference__checks.go
- ComputeInstanceBootDiskOutputReference.go
- ComputeInstanceBootDiskOutputReference__checks.go
- ComputeInstanceConfidentialInstanceConfig.go
- ComputeInstanceConfidentialInstanceConfigOutputReference.go
- ComputeInstanceConfidentialInstanceConfigOutputReference__checks.go
- ComputeInstanceConfig.go
- ComputeInstanceGuestAccelerator.go
- ComputeInstanceGuestAcceleratorList.go
- ComputeInstanceGuestAcceleratorList__checks.go
- ComputeInstanceGuestAcceleratorOutputReference.go
- ComputeInstanceGuestAcceleratorOutputReference__checks.go
- ComputeInstanceNetworkInterface.go
- ComputeInstanceNetworkInterfaceAccessConfig.go
- ComputeInstanceNetworkInterfaceAccessConfigList.go
- ComputeInstanceNetworkInterfaceAccessConfigList__checks.go
- ComputeInstanceNetworkInterfaceAccessConfigOutputReference.go
- ComputeInstanceNetworkInterfaceAccessConfigOutputReference__checks.go
- ComputeInstanceNetworkInterfaceAliasIpRange.go
- ComputeInstanceNetworkInterfaceAliasIpRangeList.go
- ComputeInstanceNetworkInterfaceAliasIpRangeList__checks.go
- ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference.go
- ComputeInstanceNetworkInterfaceAliasIpRangeOutputReference__checks.go
- ComputeInstanceNetworkInterfaceIpv6AccessConfig.go
- ComputeInstanceNetworkInterfaceIpv6AccessConfigList.go
- ComputeInstanceNetworkInterfaceIpv6AccessConfigList__checks.go
- ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference.go
- ComputeInstanceNetworkInterfaceIpv6AccessConfigOutputReference__checks.go
- ComputeInstanceNetworkInterfaceList.go
- ComputeInstanceNetworkInterfaceList__checks.go
- ComputeInstanceNetworkInterfaceOutputReference.go
- ComputeInstanceNetworkInterfaceOutputReference__checks.go
- ComputeInstanceNetworkPerformanceConfig.go
- ComputeInstanceNetworkPerformanceConfigOutputReference.go
- ComputeInstanceNetworkPerformanceConfigOutputReference__checks.go
- ComputeInstanceParams.go
- ComputeInstanceParamsOutputReference.go
- ComputeInstanceParamsOutputReference__checks.go
- ComputeInstanceReservationAffinity.go
- ComputeInstanceReservationAffinityOutputReference.go
- ComputeInstanceReservationAffinityOutputReference__checks.go
- ComputeInstanceReservationAffinitySpecificReservation.go
- ComputeInstanceReservationAffinitySpecificReservationOutputReference.go
- ComputeInstanceReservationAffinitySpecificReservationOutputReference__checks.go
- ComputeInstanceScheduling.go
- ComputeInstanceSchedulingLocalSsdRecoveryTimeout.go
- ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference.go
- ComputeInstanceSchedulingLocalSsdRecoveryTimeoutOutputReference__checks.go
- ComputeInstanceSchedulingMaxRunDuration.go
- ComputeInstanceSchedulingMaxRunDurationOutputReference.go
- ComputeInstanceSchedulingMaxRunDurationOutputReference__checks.go
- ComputeInstanceSchedulingNodeAffinities.go
- ComputeInstanceSchedulingNodeAffinitiesList.go
- ComputeInstanceSchedulingNodeAffinitiesList__checks.go
- ComputeInstanceSchedulingNodeAffinitiesOutputReference.go
- ComputeInstanceSchedulingNodeAffinitiesOutputReference__checks.go
- ComputeInstanceSchedulingOnInstanceStopAction.go
- ComputeInstanceSchedulingOnInstanceStopActionOutputReference.go
- ComputeInstanceSchedulingOnInstanceStopActionOutputReference__checks.go
- ComputeInstanceSchedulingOutputReference.go
- ComputeInstanceSchedulingOutputReference__checks.go
- ComputeInstanceScratchDisk.go
- ComputeInstanceScratchDiskList.go
- ComputeInstanceScratchDiskList__checks.go
- ComputeInstanceScratchDiskOutputReference.go
- ComputeInstanceScratchDiskOutputReference__checks.go
- ComputeInstanceServiceAccount.go
- ComputeInstanceServiceAccountOutputReference.go
- ComputeInstanceServiceAccountOutputReference__checks.go
- ComputeInstanceShieldedInstanceConfig.go
- ComputeInstanceShieldedInstanceConfigOutputReference.go
- ComputeInstanceShieldedInstanceConfigOutputReference__checks.go
- ComputeInstanceTimeouts.go
- ComputeInstanceTimeoutsOutputReference.go
- ComputeInstanceTimeoutsOutputReference__checks.go
- ComputeInstance__checks.go
- main.go