Documentation ¶
Index ¶
- type AdvancedMachineFeatures
- type AdvancedMachineFeaturesAttributes
- func (amf AdvancedMachineFeaturesAttributes) EnableNestedVirtualization() terra.BoolValue
- func (amf AdvancedMachineFeaturesAttributes) InternalRef() (terra.Reference, error)
- func (amf AdvancedMachineFeaturesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (amf AdvancedMachineFeaturesAttributes) InternalWithRef(ref terra.Reference) AdvancedMachineFeaturesAttributes
- func (amf AdvancedMachineFeaturesAttributes) ThreadsPerCore() terra.NumberValue
- func (amf AdvancedMachineFeaturesAttributes) VisibleCoreCount() terra.NumberValue
- type AdvancedMachineFeaturesState
- type Args
- type ConfidentialInstanceConfig
- type ConfidentialInstanceConfigAttributes
- func (cic ConfidentialInstanceConfigAttributes) EnableConfidentialCompute() terra.BoolValue
- func (cic ConfidentialInstanceConfigAttributes) InternalRef() (terra.Reference, error)
- func (cic ConfidentialInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cic ConfidentialInstanceConfigAttributes) InternalWithRef(ref terra.Reference) ConfidentialInstanceConfigAttributes
- type ConfidentialInstanceConfigState
- type DataAdvancedMachineFeaturesAttributes
- func (amf DataAdvancedMachineFeaturesAttributes) EnableNestedVirtualization() terra.BoolValue
- func (amf DataAdvancedMachineFeaturesAttributes) InternalRef() (terra.Reference, error)
- func (amf DataAdvancedMachineFeaturesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (amf DataAdvancedMachineFeaturesAttributes) InternalWithRef(ref terra.Reference) DataAdvancedMachineFeaturesAttributes
- func (amf DataAdvancedMachineFeaturesAttributes) ThreadsPerCore() terra.NumberValue
- func (amf DataAdvancedMachineFeaturesAttributes) VisibleCoreCount() terra.NumberValue
- type DataAdvancedMachineFeaturesState
- type DataArgs
- type DataConfidentialInstanceConfigAttributes
- func (cic DataConfidentialInstanceConfigAttributes) EnableConfidentialCompute() terra.BoolValue
- func (cic DataConfidentialInstanceConfigAttributes) InternalRef() (terra.Reference, error)
- func (cic DataConfidentialInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cic DataConfidentialInstanceConfigAttributes) InternalWithRef(ref terra.Reference) DataConfidentialInstanceConfigAttributes
- type DataConfidentialInstanceConfigState
- type DataDiskAttributes
- func (d DataDiskAttributes) AutoDelete() terra.BoolValue
- func (d DataDiskAttributes) Boot() terra.BoolValue
- func (d DataDiskAttributes) DeviceName() terra.StringValue
- func (d DataDiskAttributes) DiskEncryptionKey() terra.ListValue[DataDiskDiskEncryptionKeyAttributes]
- func (d DataDiskAttributes) DiskName() terra.StringValue
- func (d DataDiskAttributes) DiskSizeGb() terra.NumberValue
- func (d DataDiskAttributes) DiskType() terra.StringValue
- func (d DataDiskAttributes) Interface() terra.StringValue
- func (d DataDiskAttributes) InternalRef() (terra.Reference, error)
- func (d DataDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DataDiskAttributes) InternalWithRef(ref terra.Reference) DataDiskAttributes
- func (d DataDiskAttributes) Labels() terra.MapValue[terra.StringValue]
- func (d DataDiskAttributes) Mode() terra.StringValue
- func (d DataDiskAttributes) ProvisionedIops() terra.NumberValue
- func (d DataDiskAttributes) ResourceManagerTags() terra.MapValue[terra.StringValue]
- func (d DataDiskAttributes) ResourcePolicies() terra.ListValue[terra.StringValue]
- func (d DataDiskAttributes) Source() terra.StringValue
- func (d DataDiskAttributes) SourceImage() terra.StringValue
- func (d DataDiskAttributes) SourceImageEncryptionKey() terra.ListValue[DataDiskSourceImageEncryptionKeyAttributes]
- func (d DataDiskAttributes) SourceSnapshot() terra.StringValue
- func (d DataDiskAttributes) SourceSnapshotEncryptionKey() terra.ListValue[DataDiskSourceSnapshotEncryptionKeyAttributes]
- func (d DataDiskAttributes) Type() terra.StringValue
- type DataDiskDiskEncryptionKeyAttributes
- func (dek DataDiskDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (dek DataDiskDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dek DataDiskDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataDiskDiskEncryptionKeyAttributes
- func (dek DataDiskDiskEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
- type DataDiskDiskEncryptionKeyState
- type DataDiskSourceImageEncryptionKeyAttributes
- func (siek DataDiskSourceImageEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (siek DataDiskSourceImageEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (siek DataDiskSourceImageEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataDiskSourceImageEncryptionKeyAttributes
- func (siek DataDiskSourceImageEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
- func (siek DataDiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
- type DataDiskSourceImageEncryptionKeyState
- type DataDiskSourceSnapshotEncryptionKeyAttributes
- func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataDiskSourceSnapshotEncryptionKeyAttributes
- func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
- func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
- type DataDiskSourceSnapshotEncryptionKeyState
- type DataDiskState
- type DataGuestAcceleratorAttributes
- func (ga DataGuestAcceleratorAttributes) Count() terra.NumberValue
- func (ga DataGuestAcceleratorAttributes) InternalRef() (terra.Reference, error)
- func (ga DataGuestAcceleratorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ga DataGuestAcceleratorAttributes) InternalWithRef(ref terra.Reference) DataGuestAcceleratorAttributes
- func (ga DataGuestAcceleratorAttributes) Type() terra.StringValue
- type DataGuestAcceleratorState
- type DataNetworkInterfaceAccessConfigAttributes
- func (ac DataNetworkInterfaceAccessConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac DataNetworkInterfaceAccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac DataNetworkInterfaceAccessConfigAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceAccessConfigAttributes
- func (ac DataNetworkInterfaceAccessConfigAttributes) NatIp() terra.StringValue
- func (ac DataNetworkInterfaceAccessConfigAttributes) NetworkTier() terra.StringValue
- func (ac DataNetworkInterfaceAccessConfigAttributes) PublicPtrDomainName() terra.StringValue
- type DataNetworkInterfaceAccessConfigState
- type DataNetworkInterfaceAliasIpRangeAttributes
- func (air DataNetworkInterfaceAliasIpRangeAttributes) InternalRef() (terra.Reference, error)
- func (air DataNetworkInterfaceAliasIpRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (air DataNetworkInterfaceAliasIpRangeAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceAliasIpRangeAttributes
- func (air DataNetworkInterfaceAliasIpRangeAttributes) IpCidrRange() terra.StringValue
- func (air DataNetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName() terra.StringValue
- type DataNetworkInterfaceAliasIpRangeState
- type DataNetworkInterfaceAttributes
- func (ni DataNetworkInterfaceAttributes) AccessConfig() terra.ListValue[DataNetworkInterfaceAccessConfigAttributes]
- func (ni DataNetworkInterfaceAttributes) AliasIpRange() terra.ListValue[DataNetworkInterfaceAliasIpRangeAttributes]
- func (ni DataNetworkInterfaceAttributes) InternalIpv6PrefixLength() terra.NumberValue
- func (ni DataNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
- func (ni DataNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ni DataNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceAttributes
- func (ni DataNetworkInterfaceAttributes) Ipv6AccessConfig() terra.ListValue[DataNetworkInterfaceIpv6AccessConfigAttributes]
- func (ni DataNetworkInterfaceAttributes) Ipv6AccessType() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) Ipv6Address() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) Name() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) Network() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) NetworkIp() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) NicType() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) QueueCount() terra.NumberValue
- func (ni DataNetworkInterfaceAttributes) StackType() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) Subnetwork() terra.StringValue
- func (ni DataNetworkInterfaceAttributes) SubnetworkProject() terra.StringValue
- type DataNetworkInterfaceIpv6AccessConfigAttributes
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6() terra.StringValue
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength() terra.StringValue
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) InternalRef() (terra.Reference, error)
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceIpv6AccessConfigAttributes
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) Name() terra.StringValue
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) NetworkTier() terra.StringValue
- func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName() terra.StringValue
- type DataNetworkInterfaceIpv6AccessConfigState
- type DataNetworkInterfaceState
- type DataNetworkPerformanceConfigAttributes
- func (npc DataNetworkPerformanceConfigAttributes) InternalRef() (terra.Reference, error)
- func (npc DataNetworkPerformanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (npc DataNetworkPerformanceConfigAttributes) InternalWithRef(ref terra.Reference) DataNetworkPerformanceConfigAttributes
- func (npc DataNetworkPerformanceConfigAttributes) TotalEgressBandwidthTier() terra.StringValue
- type DataNetworkPerformanceConfigState
- type DataReservationAffinityAttributes
- func (ra DataReservationAffinityAttributes) InternalRef() (terra.Reference, error)
- func (ra DataReservationAffinityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ra DataReservationAffinityAttributes) InternalWithRef(ref terra.Reference) DataReservationAffinityAttributes
- func (ra DataReservationAffinityAttributes) SpecificReservation() terra.ListValue[DataReservationAffinitySpecificReservationAttributes]
- func (ra DataReservationAffinityAttributes) Type() terra.StringValue
- type DataReservationAffinitySpecificReservationAttributes
- func (sr DataReservationAffinitySpecificReservationAttributes) InternalRef() (terra.Reference, error)
- func (sr DataReservationAffinitySpecificReservationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr DataReservationAffinitySpecificReservationAttributes) InternalWithRef(ref terra.Reference) DataReservationAffinitySpecificReservationAttributes
- func (sr DataReservationAffinitySpecificReservationAttributes) Key() terra.StringValue
- func (sr DataReservationAffinitySpecificReservationAttributes) Values() terra.ListValue[terra.StringValue]
- type DataReservationAffinitySpecificReservationState
- type DataReservationAffinityState
- type DataSchedulingAttributes
- func (s DataSchedulingAttributes) AutomaticRestart() terra.BoolValue
- func (s DataSchedulingAttributes) InstanceTerminationAction() terra.StringValue
- func (s DataSchedulingAttributes) InternalRef() (terra.Reference, error)
- func (s DataSchedulingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSchedulingAttributes) InternalWithRef(ref terra.Reference) DataSchedulingAttributes
- func (s DataSchedulingAttributes) LocalSsdRecoveryTimeout() terra.ListValue[DataSchedulingLocalSsdRecoveryTimeoutAttributes]
- func (s DataSchedulingAttributes) MinNodeCpus() terra.NumberValue
- func (s DataSchedulingAttributes) NodeAffinities() terra.SetValue[DataSchedulingNodeAffinitiesAttributes]
- func (s DataSchedulingAttributes) OnHostMaintenance() terra.StringValue
- func (s DataSchedulingAttributes) Preemptible() terra.BoolValue
- func (s DataSchedulingAttributes) ProvisioningModel() terra.StringValue
- type DataSchedulingLocalSsdRecoveryTimeoutAttributes
- func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef(ref terra.Reference) DataSchedulingLocalSsdRecoveryTimeoutAttributes
- func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) Nanos() terra.NumberValue
- func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) Seconds() terra.NumberValue
- type DataSchedulingLocalSsdRecoveryTimeoutState
- type DataSchedulingNodeAffinitiesAttributes
- func (na DataSchedulingNodeAffinitiesAttributes) InternalRef() (terra.Reference, error)
- func (na DataSchedulingNodeAffinitiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (na DataSchedulingNodeAffinitiesAttributes) InternalWithRef(ref terra.Reference) DataSchedulingNodeAffinitiesAttributes
- func (na DataSchedulingNodeAffinitiesAttributes) Key() terra.StringValue
- func (na DataSchedulingNodeAffinitiesAttributes) Operator() terra.StringValue
- func (na DataSchedulingNodeAffinitiesAttributes) Values() terra.SetValue[terra.StringValue]
- type DataSchedulingNodeAffinitiesState
- type DataSchedulingState
- type DataServiceAccountAttributes
- func (sa DataServiceAccountAttributes) Email() terra.StringValue
- func (sa DataServiceAccountAttributes) InternalRef() (terra.Reference, error)
- func (sa DataServiceAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa DataServiceAccountAttributes) InternalWithRef(ref terra.Reference) DataServiceAccountAttributes
- func (sa DataServiceAccountAttributes) Scopes() terra.SetValue[terra.StringValue]
- type DataServiceAccountState
- type DataShieldedInstanceConfigAttributes
- func (sic DataShieldedInstanceConfigAttributes) EnableIntegrityMonitoring() terra.BoolValue
- func (sic DataShieldedInstanceConfigAttributes) EnableSecureBoot() terra.BoolValue
- func (sic DataShieldedInstanceConfigAttributes) EnableVtpm() terra.BoolValue
- func (sic DataShieldedInstanceConfigAttributes) InternalRef() (terra.Reference, error)
- func (sic DataShieldedInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sic DataShieldedInstanceConfigAttributes) InternalWithRef(ref terra.Reference) DataShieldedInstanceConfigAttributes
- type DataShieldedInstanceConfigState
- type DataSource
- type Disk
- type DiskAttributes
- func (d DiskAttributes) AutoDelete() terra.BoolValue
- func (d DiskAttributes) Boot() terra.BoolValue
- func (d DiskAttributes) DeviceName() terra.StringValue
- func (d DiskAttributes) DiskEncryptionKey() terra.ListValue[DiskDiskEncryptionKeyAttributes]
- func (d DiskAttributes) DiskName() terra.StringValue
- func (d DiskAttributes) DiskSizeGb() terra.NumberValue
- func (d DiskAttributes) DiskType() terra.StringValue
- func (d DiskAttributes) Interface() terra.StringValue
- func (d DiskAttributes) InternalRef() (terra.Reference, error)
- func (d DiskAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DiskAttributes) InternalWithRef(ref terra.Reference) DiskAttributes
- func (d DiskAttributes) Labels() terra.MapValue[terra.StringValue]
- func (d DiskAttributes) Mode() terra.StringValue
- func (d DiskAttributes) ProvisionedIops() terra.NumberValue
- func (d DiskAttributes) ResourceManagerTags() terra.MapValue[terra.StringValue]
- func (d DiskAttributes) ResourcePolicies() terra.ListValue[terra.StringValue]
- func (d DiskAttributes) Source() terra.StringValue
- func (d DiskAttributes) SourceImage() terra.StringValue
- func (d DiskAttributes) SourceImageEncryptionKey() terra.ListValue[DiskSourceImageEncryptionKeyAttributes]
- func (d DiskAttributes) SourceSnapshot() terra.StringValue
- func (d DiskAttributes) SourceSnapshotEncryptionKey() terra.ListValue[DiskSourceSnapshotEncryptionKeyAttributes]
- func (d DiskAttributes) Type() terra.StringValue
- type DiskDiskEncryptionKey
- type DiskDiskEncryptionKeyAttributes
- func (dek DiskDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (dek DiskDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dek DiskDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DiskDiskEncryptionKeyAttributes
- func (dek DiskDiskEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
- type DiskDiskEncryptionKeyState
- type DiskSourceImageEncryptionKey
- type DiskSourceImageEncryptionKeyAttributes
- func (siek DiskSourceImageEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (siek DiskSourceImageEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (siek DiskSourceImageEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DiskSourceImageEncryptionKeyAttributes
- func (siek DiskSourceImageEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
- func (siek DiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
- type DiskSourceImageEncryptionKeyState
- type DiskSourceSnapshotEncryptionKey
- type DiskSourceSnapshotEncryptionKeyAttributes
- func (ssek DiskSourceSnapshotEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (ssek DiskSourceSnapshotEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssek DiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DiskSourceSnapshotEncryptionKeyAttributes
- func (ssek DiskSourceSnapshotEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
- func (ssek DiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
- type DiskSourceSnapshotEncryptionKeyState
- type DiskState
- type GuestAccelerator
- type GuestAcceleratorAttributes
- func (ga GuestAcceleratorAttributes) Count() terra.NumberValue
- func (ga GuestAcceleratorAttributes) InternalRef() (terra.Reference, error)
- func (ga GuestAcceleratorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ga GuestAcceleratorAttributes) InternalWithRef(ref terra.Reference) GuestAcceleratorAttributes
- func (ga GuestAcceleratorAttributes) Type() terra.StringValue
- type GuestAcceleratorState
- type NetworkInterface
- type NetworkInterfaceAccessConfig
- type NetworkInterfaceAccessConfigAttributes
- func (ac NetworkInterfaceAccessConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac NetworkInterfaceAccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac NetworkInterfaceAccessConfigAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAccessConfigAttributes
- func (ac NetworkInterfaceAccessConfigAttributes) NatIp() terra.StringValue
- func (ac NetworkInterfaceAccessConfigAttributes) NetworkTier() terra.StringValue
- func (ac NetworkInterfaceAccessConfigAttributes) PublicPtrDomainName() terra.StringValue
- type NetworkInterfaceAccessConfigState
- type NetworkInterfaceAliasIpRange
- type NetworkInterfaceAliasIpRangeAttributes
- func (air NetworkInterfaceAliasIpRangeAttributes) InternalRef() (terra.Reference, error)
- func (air NetworkInterfaceAliasIpRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (air NetworkInterfaceAliasIpRangeAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAliasIpRangeAttributes
- func (air NetworkInterfaceAliasIpRangeAttributes) IpCidrRange() terra.StringValue
- func (air NetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName() terra.StringValue
- type NetworkInterfaceAliasIpRangeState
- type NetworkInterfaceAttributes
- func (ni NetworkInterfaceAttributes) AccessConfig() terra.ListValue[NetworkInterfaceAccessConfigAttributes]
- func (ni NetworkInterfaceAttributes) AliasIpRange() terra.ListValue[NetworkInterfaceAliasIpRangeAttributes]
- func (ni NetworkInterfaceAttributes) InternalIpv6PrefixLength() terra.NumberValue
- func (ni NetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
- func (ni NetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ni NetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAttributes
- func (ni NetworkInterfaceAttributes) Ipv6AccessConfig() terra.ListValue[NetworkInterfaceIpv6AccessConfigAttributes]
- func (ni NetworkInterfaceAttributes) Ipv6AccessType() terra.StringValue
- func (ni NetworkInterfaceAttributes) Ipv6Address() terra.StringValue
- func (ni NetworkInterfaceAttributes) Name() terra.StringValue
- func (ni NetworkInterfaceAttributes) Network() terra.StringValue
- func (ni NetworkInterfaceAttributes) NetworkIp() terra.StringValue
- func (ni NetworkInterfaceAttributes) NicType() terra.StringValue
- func (ni NetworkInterfaceAttributes) QueueCount() terra.NumberValue
- func (ni NetworkInterfaceAttributes) StackType() terra.StringValue
- func (ni NetworkInterfaceAttributes) Subnetwork() terra.StringValue
- func (ni NetworkInterfaceAttributes) SubnetworkProject() terra.StringValue
- type NetworkInterfaceIpv6AccessConfig
- type NetworkInterfaceIpv6AccessConfigAttributes
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6() terra.StringValue
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength() terra.StringValue
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) InternalRef() (terra.Reference, error)
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceIpv6AccessConfigAttributes
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) Name() terra.StringValue
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) NetworkTier() terra.StringValue
- func (iac NetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName() terra.StringValue
- type NetworkInterfaceIpv6AccessConfigState
- type NetworkInterfaceState
- type NetworkPerformanceConfig
- type NetworkPerformanceConfigAttributes
- func (npc NetworkPerformanceConfigAttributes) InternalRef() (terra.Reference, error)
- func (npc NetworkPerformanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (npc NetworkPerformanceConfigAttributes) InternalWithRef(ref terra.Reference) NetworkPerformanceConfigAttributes
- func (npc NetworkPerformanceConfigAttributes) TotalEgressBandwidthTier() terra.StringValue
- type NetworkPerformanceConfigState
- type ReservationAffinity
- type ReservationAffinityAttributes
- func (ra ReservationAffinityAttributes) InternalRef() (terra.Reference, error)
- func (ra ReservationAffinityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ra ReservationAffinityAttributes) InternalWithRef(ref terra.Reference) ReservationAffinityAttributes
- func (ra ReservationAffinityAttributes) SpecificReservation() terra.ListValue[ReservationAffinitySpecificReservationAttributes]
- func (ra ReservationAffinityAttributes) Type() terra.StringValue
- type ReservationAffinitySpecificReservation
- type ReservationAffinitySpecificReservationAttributes
- func (sr ReservationAffinitySpecificReservationAttributes) InternalRef() (terra.Reference, error)
- func (sr ReservationAffinitySpecificReservationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr ReservationAffinitySpecificReservationAttributes) InternalWithRef(ref terra.Reference) ReservationAffinitySpecificReservationAttributes
- func (sr ReservationAffinitySpecificReservationAttributes) Key() terra.StringValue
- func (sr ReservationAffinitySpecificReservationAttributes) Values() terra.ListValue[terra.StringValue]
- type ReservationAffinitySpecificReservationState
- type ReservationAffinityState
- type Resource
- func (gcit *Resource) Attributes() googleComputeInstanceTemplateAttributes
- func (gcit *Resource) Configuration() interface{}
- func (gcit *Resource) DependOn() terra.Reference
- func (gcit *Resource) Dependencies() terra.Dependencies
- func (gcit *Resource) ImportState(state io.Reader) error
- func (gcit *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcit *Resource) LocalName() string
- func (gcit *Resource) State() (*googleComputeInstanceTemplateState, bool)
- func (gcit *Resource) StateMust() *googleComputeInstanceTemplateState
- func (gcit *Resource) Type() string
- type Scheduling
- type SchedulingAttributes
- func (s SchedulingAttributes) AutomaticRestart() terra.BoolValue
- func (s SchedulingAttributes) InstanceTerminationAction() terra.StringValue
- func (s SchedulingAttributes) InternalRef() (terra.Reference, error)
- func (s SchedulingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SchedulingAttributes) InternalWithRef(ref terra.Reference) SchedulingAttributes
- func (s SchedulingAttributes) LocalSsdRecoveryTimeout() terra.ListValue[SchedulingLocalSsdRecoveryTimeoutAttributes]
- func (s SchedulingAttributes) MinNodeCpus() terra.NumberValue
- func (s SchedulingAttributes) NodeAffinities() terra.SetValue[SchedulingNodeAffinitiesAttributes]
- func (s SchedulingAttributes) OnHostMaintenance() terra.StringValue
- func (s SchedulingAttributes) Preemptible() terra.BoolValue
- func (s SchedulingAttributes) ProvisioningModel() terra.StringValue
- type SchedulingLocalSsdRecoveryTimeout
- type SchedulingLocalSsdRecoveryTimeoutAttributes
- func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) InternalRef() (terra.Reference, error)
- func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef(ref terra.Reference) SchedulingLocalSsdRecoveryTimeoutAttributes
- func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) Nanos() terra.NumberValue
- func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) Seconds() terra.NumberValue
- type SchedulingLocalSsdRecoveryTimeoutState
- type SchedulingNodeAffinities
- type SchedulingNodeAffinitiesAttributes
- func (na SchedulingNodeAffinitiesAttributes) InternalRef() (terra.Reference, error)
- func (na SchedulingNodeAffinitiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (na SchedulingNodeAffinitiesAttributes) InternalWithRef(ref terra.Reference) SchedulingNodeAffinitiesAttributes
- func (na SchedulingNodeAffinitiesAttributes) Key() terra.StringValue
- func (na SchedulingNodeAffinitiesAttributes) Operator() terra.StringValue
- func (na SchedulingNodeAffinitiesAttributes) Values() terra.SetValue[terra.StringValue]
- type SchedulingNodeAffinitiesState
- type SchedulingState
- type ServiceAccount
- type ServiceAccountAttributes
- func (sa ServiceAccountAttributes) Email() terra.StringValue
- func (sa ServiceAccountAttributes) InternalRef() (terra.Reference, error)
- func (sa ServiceAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa ServiceAccountAttributes) InternalWithRef(ref terra.Reference) ServiceAccountAttributes
- func (sa ServiceAccountAttributes) Scopes() terra.SetValue[terra.StringValue]
- type ServiceAccountState
- type ShieldedInstanceConfig
- type ShieldedInstanceConfigAttributes
- func (sic ShieldedInstanceConfigAttributes) EnableIntegrityMonitoring() terra.BoolValue
- func (sic ShieldedInstanceConfigAttributes) EnableSecureBoot() terra.BoolValue
- func (sic ShieldedInstanceConfigAttributes) EnableVtpm() terra.BoolValue
- func (sic ShieldedInstanceConfigAttributes) InternalRef() (terra.Reference, error)
- func (sic ShieldedInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sic ShieldedInstanceConfigAttributes) InternalWithRef(ref terra.Reference) ShieldedInstanceConfigAttributes
- type ShieldedInstanceConfigState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedMachineFeatures ¶
type AdvancedMachineFeatures struct { // EnableNestedVirtualization: bool, optional EnableNestedVirtualization terra.BoolValue `hcl:"enable_nested_virtualization,attr"` // ThreadsPerCore: number, optional ThreadsPerCore terra.NumberValue `hcl:"threads_per_core,attr"` // VisibleCoreCount: number, optional VisibleCoreCount terra.NumberValue `hcl:"visible_core_count,attr"` }
type AdvancedMachineFeaturesAttributes ¶
type AdvancedMachineFeaturesAttributes struct {
// contains filtered or unexported fields
}
func (AdvancedMachineFeaturesAttributes) EnableNestedVirtualization ¶
func (amf AdvancedMachineFeaturesAttributes) EnableNestedVirtualization() terra.BoolValue
func (AdvancedMachineFeaturesAttributes) InternalRef ¶
func (amf AdvancedMachineFeaturesAttributes) InternalRef() (terra.Reference, error)
func (AdvancedMachineFeaturesAttributes) InternalTokens ¶
func (amf AdvancedMachineFeaturesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AdvancedMachineFeaturesAttributes) InternalWithRef ¶
func (amf AdvancedMachineFeaturesAttributes) InternalWithRef(ref terra.Reference) AdvancedMachineFeaturesAttributes
func (AdvancedMachineFeaturesAttributes) ThreadsPerCore ¶
func (amf AdvancedMachineFeaturesAttributes) ThreadsPerCore() terra.NumberValue
func (AdvancedMachineFeaturesAttributes) VisibleCoreCount ¶
func (amf AdvancedMachineFeaturesAttributes) VisibleCoreCount() terra.NumberValue
type Args ¶
type Args struct { // CanIpForward: bool, optional CanIpForward terra.BoolValue `hcl:"can_ip_forward,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceDescription: string, optional InstanceDescription terra.StringValue `hcl:"instance_description,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // MachineType: string, required MachineType terra.StringValue `hcl:"machine_type,attr" validate:"required"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` // MetadataStartupScript: string, optional MetadataStartupScript terra.StringValue `hcl:"metadata_startup_script,attr"` // MinCpuPlatform: string, optional MinCpuPlatform terra.StringValue `hcl:"min_cpu_platform,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // ResourceManagerTags: map of string, optional ResourceManagerTags terra.MapValue[terra.StringValue] `hcl:"resource_manager_tags,attr"` // ResourcePolicies: list of string, optional ResourcePolicies terra.ListValue[terra.StringValue] `hcl:"resource_policies,attr"` // Tags: set of string, optional Tags terra.SetValue[terra.StringValue] `hcl:"tags,attr"` // AdvancedMachineFeatures: optional AdvancedMachineFeatures *AdvancedMachineFeatures `hcl:"advanced_machine_features,block"` // ConfidentialInstanceConfig: optional ConfidentialInstanceConfig *ConfidentialInstanceConfig `hcl:"confidential_instance_config,block"` // Disk: min=1 Disk []Disk `hcl:"disk,block" validate:"min=1"` // GuestAccelerator: min=0 GuestAccelerator []GuestAccelerator `hcl:"guest_accelerator,block" validate:"min=0"` // NetworkInterface: min=0 NetworkInterface []NetworkInterface `hcl:"network_interface,block" validate:"min=0"` // NetworkPerformanceConfig: optional NetworkPerformanceConfig *NetworkPerformanceConfig `hcl:"network_performance_config,block"` // ReservationAffinity: optional ReservationAffinity *ReservationAffinity `hcl:"reservation_affinity,block"` // Scheduling: optional Scheduling *Scheduling `hcl:"scheduling,block"` // ServiceAccount: optional ServiceAccount *ServiceAccount `hcl:"service_account,block"` // ShieldedInstanceConfig: optional ShieldedInstanceConfig *ShieldedInstanceConfig `hcl:"shielded_instance_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_instance_template.
type ConfidentialInstanceConfigAttributes ¶
type ConfidentialInstanceConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfidentialInstanceConfigAttributes) EnableConfidentialCompute ¶
func (cic ConfidentialInstanceConfigAttributes) EnableConfidentialCompute() terra.BoolValue
func (ConfidentialInstanceConfigAttributes) InternalRef ¶
func (cic ConfidentialInstanceConfigAttributes) InternalRef() (terra.Reference, error)
func (ConfidentialInstanceConfigAttributes) InternalTokens ¶
func (cic ConfidentialInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfidentialInstanceConfigAttributes) InternalWithRef ¶
func (cic ConfidentialInstanceConfigAttributes) InternalWithRef(ref terra.Reference) ConfidentialInstanceConfigAttributes
type ConfidentialInstanceConfigState ¶
type ConfidentialInstanceConfigState struct {
EnableConfidentialCompute bool `json:"enable_confidential_compute"`
}
type DataAdvancedMachineFeaturesAttributes ¶
type DataAdvancedMachineFeaturesAttributes struct {
// contains filtered or unexported fields
}
func (DataAdvancedMachineFeaturesAttributes) EnableNestedVirtualization ¶
func (amf DataAdvancedMachineFeaturesAttributes) EnableNestedVirtualization() terra.BoolValue
func (DataAdvancedMachineFeaturesAttributes) InternalRef ¶
func (amf DataAdvancedMachineFeaturesAttributes) InternalRef() (terra.Reference, error)
func (DataAdvancedMachineFeaturesAttributes) InternalTokens ¶
func (amf DataAdvancedMachineFeaturesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAdvancedMachineFeaturesAttributes) InternalWithRef ¶
func (amf DataAdvancedMachineFeaturesAttributes) InternalWithRef(ref terra.Reference) DataAdvancedMachineFeaturesAttributes
func (DataAdvancedMachineFeaturesAttributes) ThreadsPerCore ¶
func (amf DataAdvancedMachineFeaturesAttributes) ThreadsPerCore() terra.NumberValue
func (DataAdvancedMachineFeaturesAttributes) VisibleCoreCount ¶
func (amf DataAdvancedMachineFeaturesAttributes) VisibleCoreCount() terra.NumberValue
type DataArgs ¶
type DataArgs struct { // Filter: string, optional Filter terra.StringValue `hcl:"filter,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MostRecent: bool, optional MostRecent terra.BoolValue `hcl:"most_recent,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // SelfLinkUnique: string, optional SelfLinkUnique terra.StringValue `hcl:"self_link_unique,attr"` }
DataArgs contains the configurations for google_compute_instance_template.
type DataConfidentialInstanceConfigAttributes ¶
type DataConfidentialInstanceConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataConfidentialInstanceConfigAttributes) EnableConfidentialCompute ¶
func (cic DataConfidentialInstanceConfigAttributes) EnableConfidentialCompute() terra.BoolValue
func (DataConfidentialInstanceConfigAttributes) InternalRef ¶
func (cic DataConfidentialInstanceConfigAttributes) InternalRef() (terra.Reference, error)
func (DataConfidentialInstanceConfigAttributes) InternalTokens ¶
func (cic DataConfidentialInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataConfidentialInstanceConfigAttributes) InternalWithRef ¶
func (cic DataConfidentialInstanceConfigAttributes) InternalWithRef(ref terra.Reference) DataConfidentialInstanceConfigAttributes
type DataConfidentialInstanceConfigState ¶
type DataConfidentialInstanceConfigState struct {
EnableConfidentialCompute bool `json:"enable_confidential_compute"`
}
type DataDiskAttributes ¶
type DataDiskAttributes struct {
// contains filtered or unexported fields
}
func (DataDiskAttributes) AutoDelete ¶
func (d DataDiskAttributes) AutoDelete() terra.BoolValue
func (DataDiskAttributes) Boot ¶
func (d DataDiskAttributes) Boot() terra.BoolValue
func (DataDiskAttributes) DeviceName ¶
func (d DataDiskAttributes) DeviceName() terra.StringValue
func (DataDiskAttributes) DiskEncryptionKey ¶
func (d DataDiskAttributes) DiskEncryptionKey() terra.ListValue[DataDiskDiskEncryptionKeyAttributes]
func (DataDiskAttributes) DiskName ¶
func (d DataDiskAttributes) DiskName() terra.StringValue
func (DataDiskAttributes) DiskSizeGb ¶
func (d DataDiskAttributes) DiskSizeGb() terra.NumberValue
func (DataDiskAttributes) DiskType ¶
func (d DataDiskAttributes) DiskType() terra.StringValue
func (DataDiskAttributes) Interface ¶
func (d DataDiskAttributes) Interface() terra.StringValue
func (DataDiskAttributes) InternalRef ¶
func (d DataDiskAttributes) InternalRef() (terra.Reference, error)
func (DataDiskAttributes) InternalTokens ¶
func (d DataDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDiskAttributes) InternalWithRef ¶
func (d DataDiskAttributes) InternalWithRef(ref terra.Reference) DataDiskAttributes
func (DataDiskAttributes) Labels ¶
func (d DataDiskAttributes) Labels() terra.MapValue[terra.StringValue]
func (DataDiskAttributes) Mode ¶
func (d DataDiskAttributes) Mode() terra.StringValue
func (DataDiskAttributes) ProvisionedIops ¶
func (d DataDiskAttributes) ProvisionedIops() terra.NumberValue
func (DataDiskAttributes) ResourceManagerTags ¶
func (d DataDiskAttributes) ResourceManagerTags() terra.MapValue[terra.StringValue]
func (DataDiskAttributes) ResourcePolicies ¶
func (d DataDiskAttributes) ResourcePolicies() terra.ListValue[terra.StringValue]
func (DataDiskAttributes) Source ¶
func (d DataDiskAttributes) Source() terra.StringValue
func (DataDiskAttributes) SourceImage ¶
func (d DataDiskAttributes) SourceImage() terra.StringValue
func (DataDiskAttributes) SourceImageEncryptionKey ¶
func (d DataDiskAttributes) SourceImageEncryptionKey() terra.ListValue[DataDiskSourceImageEncryptionKeyAttributes]
func (DataDiskAttributes) SourceSnapshot ¶
func (d DataDiskAttributes) SourceSnapshot() terra.StringValue
func (DataDiskAttributes) SourceSnapshotEncryptionKey ¶
func (d DataDiskAttributes) SourceSnapshotEncryptionKey() terra.ListValue[DataDiskSourceSnapshotEncryptionKeyAttributes]
func (DataDiskAttributes) Type ¶
func (d DataDiskAttributes) Type() terra.StringValue
type DataDiskDiskEncryptionKeyAttributes ¶
type DataDiskDiskEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DataDiskDiskEncryptionKeyAttributes) InternalRef ¶
func (dek DataDiskDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DataDiskDiskEncryptionKeyAttributes) InternalTokens ¶
func (dek DataDiskDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDiskDiskEncryptionKeyAttributes) InternalWithRef ¶
func (dek DataDiskDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataDiskDiskEncryptionKeyAttributes
func (DataDiskDiskEncryptionKeyAttributes) KmsKeySelfLink ¶
func (dek DataDiskDiskEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
type DataDiskDiskEncryptionKeyState ¶
type DataDiskDiskEncryptionKeyState struct {
KmsKeySelfLink string `json:"kms_key_self_link"`
}
type DataDiskSourceImageEncryptionKeyAttributes ¶
type DataDiskSourceImageEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DataDiskSourceImageEncryptionKeyAttributes) InternalRef ¶
func (siek DataDiskSourceImageEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DataDiskSourceImageEncryptionKeyAttributes) InternalTokens ¶
func (siek DataDiskSourceImageEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDiskSourceImageEncryptionKeyAttributes) InternalWithRef ¶
func (siek DataDiskSourceImageEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataDiskSourceImageEncryptionKeyAttributes
func (DataDiskSourceImageEncryptionKeyAttributes) KmsKeySelfLink ¶
func (siek DataDiskSourceImageEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
func (DataDiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount ¶
func (siek DataDiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
type DataDiskSourceSnapshotEncryptionKeyAttributes ¶
type DataDiskSourceSnapshotEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DataDiskSourceSnapshotEncryptionKeyAttributes) InternalRef ¶
func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DataDiskSourceSnapshotEncryptionKeyAttributes) InternalTokens ¶
func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef ¶
func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataDiskSourceSnapshotEncryptionKeyAttributes
func (DataDiskSourceSnapshotEncryptionKeyAttributes) KmsKeySelfLink ¶
func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
func (DataDiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount ¶
func (ssek DataDiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
type DataDiskState ¶
type DataDiskState struct { AutoDelete bool `json:"auto_delete"` Boot bool `json:"boot"` DeviceName string `json:"device_name"` DiskName string `json:"disk_name"` DiskSizeGb float64 `json:"disk_size_gb"` DiskType string `json:"disk_type"` Interface string `json:"interface"` Labels map[string]string `json:"labels"` Mode string `json:"mode"` ProvisionedIops float64 `json:"provisioned_iops"` ResourceManagerTags map[string]string `json:"resource_manager_tags"` ResourcePolicies []string `json:"resource_policies"` Source string `json:"source"` SourceImage string `json:"source_image"` SourceSnapshot string `json:"source_snapshot"` Type string `json:"type"` DiskEncryptionKey []DataDiskDiskEncryptionKeyState `json:"disk_encryption_key"` SourceImageEncryptionKey []DataDiskSourceImageEncryptionKeyState `json:"source_image_encryption_key"` SourceSnapshotEncryptionKey []DataDiskSourceSnapshotEncryptionKeyState `json:"source_snapshot_encryption_key"` }
type DataGuestAcceleratorAttributes ¶
type DataGuestAcceleratorAttributes struct {
// contains filtered or unexported fields
}
func (DataGuestAcceleratorAttributes) Count ¶
func (ga DataGuestAcceleratorAttributes) Count() terra.NumberValue
func (DataGuestAcceleratorAttributes) InternalRef ¶
func (ga DataGuestAcceleratorAttributes) InternalRef() (terra.Reference, error)
func (DataGuestAcceleratorAttributes) InternalTokens ¶
func (ga DataGuestAcceleratorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataGuestAcceleratorAttributes) InternalWithRef ¶
func (ga DataGuestAcceleratorAttributes) InternalWithRef(ref terra.Reference) DataGuestAcceleratorAttributes
func (DataGuestAcceleratorAttributes) Type ¶
func (ga DataGuestAcceleratorAttributes) Type() terra.StringValue
type DataNetworkInterfaceAccessConfigAttributes ¶
type DataNetworkInterfaceAccessConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataNetworkInterfaceAccessConfigAttributes) InternalRef ¶
func (ac DataNetworkInterfaceAccessConfigAttributes) InternalRef() (terra.Reference, error)
func (DataNetworkInterfaceAccessConfigAttributes) InternalTokens ¶
func (ac DataNetworkInterfaceAccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNetworkInterfaceAccessConfigAttributes) InternalWithRef ¶
func (ac DataNetworkInterfaceAccessConfigAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceAccessConfigAttributes
func (DataNetworkInterfaceAccessConfigAttributes) NatIp ¶
func (ac DataNetworkInterfaceAccessConfigAttributes) NatIp() terra.StringValue
func (DataNetworkInterfaceAccessConfigAttributes) NetworkTier ¶
func (ac DataNetworkInterfaceAccessConfigAttributes) NetworkTier() terra.StringValue
func (DataNetworkInterfaceAccessConfigAttributes) PublicPtrDomainName ¶
func (ac DataNetworkInterfaceAccessConfigAttributes) PublicPtrDomainName() terra.StringValue
type DataNetworkInterfaceAliasIpRangeAttributes ¶
type DataNetworkInterfaceAliasIpRangeAttributes struct {
// contains filtered or unexported fields
}
func (DataNetworkInterfaceAliasIpRangeAttributes) InternalRef ¶
func (air DataNetworkInterfaceAliasIpRangeAttributes) InternalRef() (terra.Reference, error)
func (DataNetworkInterfaceAliasIpRangeAttributes) InternalTokens ¶
func (air DataNetworkInterfaceAliasIpRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNetworkInterfaceAliasIpRangeAttributes) InternalWithRef ¶
func (air DataNetworkInterfaceAliasIpRangeAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceAliasIpRangeAttributes
func (DataNetworkInterfaceAliasIpRangeAttributes) IpCidrRange ¶
func (air DataNetworkInterfaceAliasIpRangeAttributes) IpCidrRange() terra.StringValue
func (DataNetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName ¶
func (air DataNetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName() terra.StringValue
type DataNetworkInterfaceAttributes ¶
type DataNetworkInterfaceAttributes struct {
// contains filtered or unexported fields
}
func (DataNetworkInterfaceAttributes) AccessConfig ¶
func (ni DataNetworkInterfaceAttributes) AccessConfig() terra.ListValue[DataNetworkInterfaceAccessConfigAttributes]
func (DataNetworkInterfaceAttributes) AliasIpRange ¶
func (ni DataNetworkInterfaceAttributes) AliasIpRange() terra.ListValue[DataNetworkInterfaceAliasIpRangeAttributes]
func (DataNetworkInterfaceAttributes) InternalIpv6PrefixLength ¶
func (ni DataNetworkInterfaceAttributes) InternalIpv6PrefixLength() terra.NumberValue
func (DataNetworkInterfaceAttributes) InternalRef ¶
func (ni DataNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
func (DataNetworkInterfaceAttributes) InternalTokens ¶
func (ni DataNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNetworkInterfaceAttributes) InternalWithRef ¶
func (ni DataNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceAttributes
func (DataNetworkInterfaceAttributes) Ipv6AccessConfig ¶
func (ni DataNetworkInterfaceAttributes) Ipv6AccessConfig() terra.ListValue[DataNetworkInterfaceIpv6AccessConfigAttributes]
func (DataNetworkInterfaceAttributes) Ipv6AccessType ¶
func (ni DataNetworkInterfaceAttributes) Ipv6AccessType() terra.StringValue
func (DataNetworkInterfaceAttributes) Ipv6Address ¶
func (ni DataNetworkInterfaceAttributes) Ipv6Address() terra.StringValue
func (DataNetworkInterfaceAttributes) Name ¶
func (ni DataNetworkInterfaceAttributes) Name() terra.StringValue
func (DataNetworkInterfaceAttributes) Network ¶
func (ni DataNetworkInterfaceAttributes) Network() terra.StringValue
func (DataNetworkInterfaceAttributes) NetworkIp ¶
func (ni DataNetworkInterfaceAttributes) NetworkIp() terra.StringValue
func (DataNetworkInterfaceAttributes) NicType ¶
func (ni DataNetworkInterfaceAttributes) NicType() terra.StringValue
func (DataNetworkInterfaceAttributes) QueueCount ¶
func (ni DataNetworkInterfaceAttributes) QueueCount() terra.NumberValue
func (DataNetworkInterfaceAttributes) StackType ¶
func (ni DataNetworkInterfaceAttributes) StackType() terra.StringValue
func (DataNetworkInterfaceAttributes) Subnetwork ¶
func (ni DataNetworkInterfaceAttributes) Subnetwork() terra.StringValue
func (DataNetworkInterfaceAttributes) SubnetworkProject ¶
func (ni DataNetworkInterfaceAttributes) SubnetworkProject() terra.StringValue
type DataNetworkInterfaceIpv6AccessConfigAttributes ¶
type DataNetworkInterfaceIpv6AccessConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6 ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6() terra.StringValue
func (DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength() terra.StringValue
func (DataNetworkInterfaceIpv6AccessConfigAttributes) InternalRef ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) InternalRef() (terra.Reference, error)
func (DataNetworkInterfaceIpv6AccessConfigAttributes) InternalTokens ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef(ref terra.Reference) DataNetworkInterfaceIpv6AccessConfigAttributes
func (DataNetworkInterfaceIpv6AccessConfigAttributes) Name ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) Name() terra.StringValue
func (DataNetworkInterfaceIpv6AccessConfigAttributes) NetworkTier ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) NetworkTier() terra.StringValue
func (DataNetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName ¶
func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName() terra.StringValue
type DataNetworkInterfaceState ¶
type DataNetworkInterfaceState struct { InternalIpv6PrefixLength float64 `json:"internal_ipv6_prefix_length"` Ipv6AccessType string `json:"ipv6_access_type"` Ipv6Address string `json:"ipv6_address"` Name string `json:"name"` Network string `json:"network"` NetworkIp string `json:"network_ip"` NicType string `json:"nic_type"` QueueCount float64 `json:"queue_count"` StackType string `json:"stack_type"` Subnetwork string `json:"subnetwork"` SubnetworkProject string `json:"subnetwork_project"` AccessConfig []DataNetworkInterfaceAccessConfigState `json:"access_config"` AliasIpRange []DataNetworkInterfaceAliasIpRangeState `json:"alias_ip_range"` Ipv6AccessConfig []DataNetworkInterfaceIpv6AccessConfigState `json:"ipv6_access_config"` }
type DataNetworkPerformanceConfigAttributes ¶
type DataNetworkPerformanceConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataNetworkPerformanceConfigAttributes) InternalRef ¶
func (npc DataNetworkPerformanceConfigAttributes) InternalRef() (terra.Reference, error)
func (DataNetworkPerformanceConfigAttributes) InternalTokens ¶
func (npc DataNetworkPerformanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNetworkPerformanceConfigAttributes) InternalWithRef ¶
func (npc DataNetworkPerformanceConfigAttributes) InternalWithRef(ref terra.Reference) DataNetworkPerformanceConfigAttributes
func (DataNetworkPerformanceConfigAttributes) TotalEgressBandwidthTier ¶
func (npc DataNetworkPerformanceConfigAttributes) TotalEgressBandwidthTier() terra.StringValue
type DataNetworkPerformanceConfigState ¶
type DataNetworkPerformanceConfigState struct {
TotalEgressBandwidthTier string `json:"total_egress_bandwidth_tier"`
}
type DataReservationAffinityAttributes ¶
type DataReservationAffinityAttributes struct {
// contains filtered or unexported fields
}
func (DataReservationAffinityAttributes) InternalRef ¶
func (ra DataReservationAffinityAttributes) InternalRef() (terra.Reference, error)
func (DataReservationAffinityAttributes) InternalTokens ¶
func (ra DataReservationAffinityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataReservationAffinityAttributes) InternalWithRef ¶
func (ra DataReservationAffinityAttributes) InternalWithRef(ref terra.Reference) DataReservationAffinityAttributes
func (DataReservationAffinityAttributes) SpecificReservation ¶
func (ra DataReservationAffinityAttributes) SpecificReservation() terra.ListValue[DataReservationAffinitySpecificReservationAttributes]
func (DataReservationAffinityAttributes) Type ¶
func (ra DataReservationAffinityAttributes) Type() terra.StringValue
type DataReservationAffinitySpecificReservationAttributes ¶
type DataReservationAffinitySpecificReservationAttributes struct {
// contains filtered or unexported fields
}
func (DataReservationAffinitySpecificReservationAttributes) InternalRef ¶
func (sr DataReservationAffinitySpecificReservationAttributes) InternalRef() (terra.Reference, error)
func (DataReservationAffinitySpecificReservationAttributes) InternalTokens ¶
func (sr DataReservationAffinitySpecificReservationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataReservationAffinitySpecificReservationAttributes) InternalWithRef ¶
func (sr DataReservationAffinitySpecificReservationAttributes) InternalWithRef(ref terra.Reference) DataReservationAffinitySpecificReservationAttributes
func (DataReservationAffinitySpecificReservationAttributes) Key ¶
func (sr DataReservationAffinitySpecificReservationAttributes) Key() terra.StringValue
func (DataReservationAffinitySpecificReservationAttributes) Values ¶
func (sr DataReservationAffinitySpecificReservationAttributes) Values() terra.ListValue[terra.StringValue]
type DataReservationAffinityState ¶
type DataReservationAffinityState struct { Type string `json:"type"` SpecificReservation []DataReservationAffinitySpecificReservationState `json:"specific_reservation"` }
type DataSchedulingAttributes ¶
type DataSchedulingAttributes struct {
// contains filtered or unexported fields
}
func (DataSchedulingAttributes) AutomaticRestart ¶
func (s DataSchedulingAttributes) AutomaticRestart() terra.BoolValue
func (DataSchedulingAttributes) InstanceTerminationAction ¶
func (s DataSchedulingAttributes) InstanceTerminationAction() terra.StringValue
func (DataSchedulingAttributes) InternalRef ¶
func (s DataSchedulingAttributes) InternalRef() (terra.Reference, error)
func (DataSchedulingAttributes) InternalTokens ¶
func (s DataSchedulingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSchedulingAttributes) InternalWithRef ¶
func (s DataSchedulingAttributes) InternalWithRef(ref terra.Reference) DataSchedulingAttributes
func (DataSchedulingAttributes) LocalSsdRecoveryTimeout ¶
func (s DataSchedulingAttributes) LocalSsdRecoveryTimeout() terra.ListValue[DataSchedulingLocalSsdRecoveryTimeoutAttributes]
func (DataSchedulingAttributes) MinNodeCpus ¶
func (s DataSchedulingAttributes) MinNodeCpus() terra.NumberValue
func (DataSchedulingAttributes) NodeAffinities ¶
func (s DataSchedulingAttributes) NodeAffinities() terra.SetValue[DataSchedulingNodeAffinitiesAttributes]
func (DataSchedulingAttributes) OnHostMaintenance ¶
func (s DataSchedulingAttributes) OnHostMaintenance() terra.StringValue
func (DataSchedulingAttributes) Preemptible ¶
func (s DataSchedulingAttributes) Preemptible() terra.BoolValue
func (DataSchedulingAttributes) ProvisioningModel ¶
func (s DataSchedulingAttributes) ProvisioningModel() terra.StringValue
type DataSchedulingLocalSsdRecoveryTimeoutAttributes ¶
type DataSchedulingLocalSsdRecoveryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalRef ¶
func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens ¶
func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef ¶
func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef(ref terra.Reference) DataSchedulingLocalSsdRecoveryTimeoutAttributes
func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) Nanos ¶
func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) Nanos() terra.NumberValue
func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) Seconds ¶
func (lsrt DataSchedulingLocalSsdRecoveryTimeoutAttributes) Seconds() terra.NumberValue
type DataSchedulingNodeAffinitiesAttributes ¶
type DataSchedulingNodeAffinitiesAttributes struct {
// contains filtered or unexported fields
}
func (DataSchedulingNodeAffinitiesAttributes) InternalRef ¶
func (na DataSchedulingNodeAffinitiesAttributes) InternalRef() (terra.Reference, error)
func (DataSchedulingNodeAffinitiesAttributes) InternalTokens ¶
func (na DataSchedulingNodeAffinitiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSchedulingNodeAffinitiesAttributes) InternalWithRef ¶
func (na DataSchedulingNodeAffinitiesAttributes) InternalWithRef(ref terra.Reference) DataSchedulingNodeAffinitiesAttributes
func (DataSchedulingNodeAffinitiesAttributes) Key ¶
func (na DataSchedulingNodeAffinitiesAttributes) Key() terra.StringValue
func (DataSchedulingNodeAffinitiesAttributes) Operator ¶
func (na DataSchedulingNodeAffinitiesAttributes) Operator() terra.StringValue
func (DataSchedulingNodeAffinitiesAttributes) Values ¶
func (na DataSchedulingNodeAffinitiesAttributes) Values() terra.SetValue[terra.StringValue]
type DataSchedulingState ¶
type DataSchedulingState struct { AutomaticRestart bool `json:"automatic_restart"` InstanceTerminationAction string `json:"instance_termination_action"` MinNodeCpus float64 `json:"min_node_cpus"` OnHostMaintenance string `json:"on_host_maintenance"` Preemptible bool `json:"preemptible"` ProvisioningModel string `json:"provisioning_model"` LocalSsdRecoveryTimeout []DataSchedulingLocalSsdRecoveryTimeoutState `json:"local_ssd_recovery_timeout"` NodeAffinities []DataSchedulingNodeAffinitiesState `json:"node_affinities"` }
type DataServiceAccountAttributes ¶
type DataServiceAccountAttributes struct {
// contains filtered or unexported fields
}
func (DataServiceAccountAttributes) Email ¶
func (sa DataServiceAccountAttributes) Email() terra.StringValue
func (DataServiceAccountAttributes) InternalRef ¶
func (sa DataServiceAccountAttributes) InternalRef() (terra.Reference, error)
func (DataServiceAccountAttributes) InternalTokens ¶
func (sa DataServiceAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServiceAccountAttributes) InternalWithRef ¶
func (sa DataServiceAccountAttributes) InternalWithRef(ref terra.Reference) DataServiceAccountAttributes
func (DataServiceAccountAttributes) Scopes ¶
func (sa DataServiceAccountAttributes) Scopes() terra.SetValue[terra.StringValue]
type DataServiceAccountState ¶
type DataShieldedInstanceConfigAttributes ¶
type DataShieldedInstanceConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataShieldedInstanceConfigAttributes) EnableIntegrityMonitoring ¶
func (sic DataShieldedInstanceConfigAttributes) EnableIntegrityMonitoring() terra.BoolValue
func (DataShieldedInstanceConfigAttributes) EnableSecureBoot ¶
func (sic DataShieldedInstanceConfigAttributes) EnableSecureBoot() terra.BoolValue
func (DataShieldedInstanceConfigAttributes) EnableVtpm ¶
func (sic DataShieldedInstanceConfigAttributes) EnableVtpm() terra.BoolValue
func (DataShieldedInstanceConfigAttributes) InternalRef ¶
func (sic DataShieldedInstanceConfigAttributes) InternalRef() (terra.Reference, error)
func (DataShieldedInstanceConfigAttributes) InternalTokens ¶
func (sic DataShieldedInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataShieldedInstanceConfigAttributes) InternalWithRef ¶
func (sic DataShieldedInstanceConfigAttributes) InternalWithRef(ref terra.Reference) DataShieldedInstanceConfigAttributes
type DataSource ¶
DataSource represents the Terraform data resource google_compute_instance_template.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gcit *DataSource) Attributes() dataGoogleComputeInstanceTemplateAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gcit *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gcit *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gcit *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Disk ¶
type Disk struct { // AutoDelete: bool, optional AutoDelete terra.BoolValue `hcl:"auto_delete,attr"` // Boot: bool, optional Boot terra.BoolValue `hcl:"boot,attr"` // DeviceName: string, optional DeviceName terra.StringValue `hcl:"device_name,attr"` // DiskName: string, optional DiskName terra.StringValue `hcl:"disk_name,attr"` // DiskSizeGb: number, optional DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"` // DiskType: string, optional DiskType terra.StringValue `hcl:"disk_type,attr"` // Interface: string, optional Interface terra.StringValue `hcl:"interface,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // ProvisionedIops: number, optional ProvisionedIops terra.NumberValue `hcl:"provisioned_iops,attr"` // ResourceManagerTags: map of string, optional ResourceManagerTags terra.MapValue[terra.StringValue] `hcl:"resource_manager_tags,attr"` // ResourcePolicies: list of string, optional ResourcePolicies terra.ListValue[terra.StringValue] `hcl:"resource_policies,attr"` // Source: string, optional Source terra.StringValue `hcl:"source,attr"` // SourceImage: string, optional SourceImage terra.StringValue `hcl:"source_image,attr"` // SourceSnapshot: string, optional SourceSnapshot terra.StringValue `hcl:"source_snapshot,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // DiskDiskEncryptionKey: optional DiskEncryptionKey *DiskDiskEncryptionKey `hcl:"disk_encryption_key,block"` // DiskSourceImageEncryptionKey: optional SourceImageEncryptionKey *DiskSourceImageEncryptionKey `hcl:"source_image_encryption_key,block"` // DiskSourceSnapshotEncryptionKey: optional SourceSnapshotEncryptionKey *DiskSourceSnapshotEncryptionKey `hcl:"source_snapshot_encryption_key,block"` }
type DiskAttributes ¶
type DiskAttributes struct {
// contains filtered or unexported fields
}
func (DiskAttributes) AutoDelete ¶
func (d DiskAttributes) AutoDelete() terra.BoolValue
func (DiskAttributes) Boot ¶
func (d DiskAttributes) Boot() terra.BoolValue
func (DiskAttributes) DeviceName ¶
func (d DiskAttributes) DeviceName() terra.StringValue
func (DiskAttributes) DiskEncryptionKey ¶
func (d DiskAttributes) DiskEncryptionKey() terra.ListValue[DiskDiskEncryptionKeyAttributes]
func (DiskAttributes) DiskName ¶
func (d DiskAttributes) DiskName() terra.StringValue
func (DiskAttributes) DiskSizeGb ¶
func (d DiskAttributes) DiskSizeGb() terra.NumberValue
func (DiskAttributes) DiskType ¶
func (d DiskAttributes) DiskType() terra.StringValue
func (DiskAttributes) Interface ¶
func (d DiskAttributes) Interface() terra.StringValue
func (DiskAttributes) InternalRef ¶
func (d DiskAttributes) InternalRef() (terra.Reference, error)
func (DiskAttributes) InternalTokens ¶
func (d DiskAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiskAttributes) InternalWithRef ¶
func (d DiskAttributes) InternalWithRef(ref terra.Reference) DiskAttributes
func (DiskAttributes) Labels ¶
func (d DiskAttributes) Labels() terra.MapValue[terra.StringValue]
func (DiskAttributes) Mode ¶
func (d DiskAttributes) Mode() terra.StringValue
func (DiskAttributes) ProvisionedIops ¶
func (d DiskAttributes) ProvisionedIops() terra.NumberValue
func (DiskAttributes) ResourceManagerTags ¶
func (d DiskAttributes) ResourceManagerTags() terra.MapValue[terra.StringValue]
func (DiskAttributes) ResourcePolicies ¶
func (d DiskAttributes) ResourcePolicies() terra.ListValue[terra.StringValue]
func (DiskAttributes) Source ¶
func (d DiskAttributes) Source() terra.StringValue
func (DiskAttributes) SourceImage ¶
func (d DiskAttributes) SourceImage() terra.StringValue
func (DiskAttributes) SourceImageEncryptionKey ¶
func (d DiskAttributes) SourceImageEncryptionKey() terra.ListValue[DiskSourceImageEncryptionKeyAttributes]
func (DiskAttributes) SourceSnapshot ¶
func (d DiskAttributes) SourceSnapshot() terra.StringValue
func (DiskAttributes) SourceSnapshotEncryptionKey ¶
func (d DiskAttributes) SourceSnapshotEncryptionKey() terra.ListValue[DiskSourceSnapshotEncryptionKeyAttributes]
func (DiskAttributes) Type ¶
func (d DiskAttributes) Type() terra.StringValue
type DiskDiskEncryptionKey ¶
type DiskDiskEncryptionKey struct { // KmsKeySelfLink: string, required KmsKeySelfLink terra.StringValue `hcl:"kms_key_self_link,attr" validate:"required"` }
type DiskDiskEncryptionKeyAttributes ¶
type DiskDiskEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DiskDiskEncryptionKeyAttributes) InternalRef ¶
func (dek DiskDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DiskDiskEncryptionKeyAttributes) InternalTokens ¶
func (dek DiskDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiskDiskEncryptionKeyAttributes) InternalWithRef ¶
func (dek DiskDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DiskDiskEncryptionKeyAttributes
func (DiskDiskEncryptionKeyAttributes) KmsKeySelfLink ¶
func (dek DiskDiskEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
type DiskDiskEncryptionKeyState ¶
type DiskDiskEncryptionKeyState struct {
KmsKeySelfLink string `json:"kms_key_self_link"`
}
type DiskSourceImageEncryptionKey ¶
type DiskSourceImageEncryptionKey struct { // KmsKeySelfLink: string, required KmsKeySelfLink terra.StringValue `hcl:"kms_key_self_link,attr" validate:"required"` // KmsKeyServiceAccount: string, optional KmsKeyServiceAccount terra.StringValue `hcl:"kms_key_service_account,attr"` }
type DiskSourceImageEncryptionKeyAttributes ¶
type DiskSourceImageEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DiskSourceImageEncryptionKeyAttributes) InternalRef ¶
func (siek DiskSourceImageEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DiskSourceImageEncryptionKeyAttributes) InternalTokens ¶
func (siek DiskSourceImageEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiskSourceImageEncryptionKeyAttributes) InternalWithRef ¶
func (siek DiskSourceImageEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DiskSourceImageEncryptionKeyAttributes
func (DiskSourceImageEncryptionKeyAttributes) KmsKeySelfLink ¶
func (siek DiskSourceImageEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
func (DiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount ¶
func (siek DiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
type DiskSourceSnapshotEncryptionKey ¶
type DiskSourceSnapshotEncryptionKey struct { // KmsKeySelfLink: string, required KmsKeySelfLink terra.StringValue `hcl:"kms_key_self_link,attr" validate:"required"` // KmsKeyServiceAccount: string, optional KmsKeyServiceAccount terra.StringValue `hcl:"kms_key_service_account,attr"` }
type DiskSourceSnapshotEncryptionKeyAttributes ¶
type DiskSourceSnapshotEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DiskSourceSnapshotEncryptionKeyAttributes) InternalRef ¶
func (ssek DiskSourceSnapshotEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DiskSourceSnapshotEncryptionKeyAttributes) InternalTokens ¶
func (ssek DiskSourceSnapshotEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef ¶
func (ssek DiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DiskSourceSnapshotEncryptionKeyAttributes
func (DiskSourceSnapshotEncryptionKeyAttributes) KmsKeySelfLink ¶
func (ssek DiskSourceSnapshotEncryptionKeyAttributes) KmsKeySelfLink() terra.StringValue
func (DiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount ¶
func (ssek DiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue
type DiskState ¶
type DiskState struct { AutoDelete bool `json:"auto_delete"` Boot bool `json:"boot"` DeviceName string `json:"device_name"` DiskName string `json:"disk_name"` DiskSizeGb float64 `json:"disk_size_gb"` DiskType string `json:"disk_type"` Interface string `json:"interface"` Labels map[string]string `json:"labels"` Mode string `json:"mode"` ProvisionedIops float64 `json:"provisioned_iops"` ResourceManagerTags map[string]string `json:"resource_manager_tags"` ResourcePolicies []string `json:"resource_policies"` Source string `json:"source"` SourceImage string `json:"source_image"` SourceSnapshot string `json:"source_snapshot"` Type string `json:"type"` DiskEncryptionKey []DiskDiskEncryptionKeyState `json:"disk_encryption_key"` SourceImageEncryptionKey []DiskSourceImageEncryptionKeyState `json:"source_image_encryption_key"` SourceSnapshotEncryptionKey []DiskSourceSnapshotEncryptionKeyState `json:"source_snapshot_encryption_key"` }
type GuestAccelerator ¶
type GuestAccelerator struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type GuestAcceleratorAttributes ¶
type GuestAcceleratorAttributes struct {
// contains filtered or unexported fields
}
func (GuestAcceleratorAttributes) Count ¶
func (ga GuestAcceleratorAttributes) Count() terra.NumberValue
func (GuestAcceleratorAttributes) InternalRef ¶
func (ga GuestAcceleratorAttributes) InternalRef() (terra.Reference, error)
func (GuestAcceleratorAttributes) InternalTokens ¶
func (ga GuestAcceleratorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GuestAcceleratorAttributes) InternalWithRef ¶
func (ga GuestAcceleratorAttributes) InternalWithRef(ref terra.Reference) GuestAcceleratorAttributes
func (GuestAcceleratorAttributes) Type ¶
func (ga GuestAcceleratorAttributes) Type() terra.StringValue
type GuestAcceleratorState ¶
type NetworkInterface ¶
type NetworkInterface struct { // InternalIpv6PrefixLength: number, optional InternalIpv6PrefixLength terra.NumberValue `hcl:"internal_ipv6_prefix_length,attr"` // Ipv6Address: string, optional Ipv6Address terra.StringValue `hcl:"ipv6_address,attr"` // Network: string, optional Network terra.StringValue `hcl:"network,attr"` // NetworkIp: string, optional NetworkIp terra.StringValue `hcl:"network_ip,attr"` // NicType: string, optional NicType terra.StringValue `hcl:"nic_type,attr"` // QueueCount: number, optional QueueCount terra.NumberValue `hcl:"queue_count,attr"` // StackType: string, optional StackType terra.StringValue `hcl:"stack_type,attr"` // Subnetwork: string, optional Subnetwork terra.StringValue `hcl:"subnetwork,attr"` // SubnetworkProject: string, optional SubnetworkProject terra.StringValue `hcl:"subnetwork_project,attr"` // NetworkInterfaceAccessConfig: min=0 AccessConfig []NetworkInterfaceAccessConfig `hcl:"access_config,block" validate:"min=0"` // NetworkInterfaceAliasIpRange: min=0 AliasIpRange []NetworkInterfaceAliasIpRange `hcl:"alias_ip_range,block" validate:"min=0"` // NetworkInterfaceIpv6AccessConfig: min=0 Ipv6AccessConfig []NetworkInterfaceIpv6AccessConfig `hcl:"ipv6_access_config,block" validate:"min=0"` }
type NetworkInterfaceAccessConfig ¶
type NetworkInterfaceAccessConfig struct { // NatIp: string, optional NatIp terra.StringValue `hcl:"nat_ip,attr"` // NetworkTier: string, optional NetworkTier terra.StringValue `hcl:"network_tier,attr"` }
type NetworkInterfaceAccessConfigAttributes ¶
type NetworkInterfaceAccessConfigAttributes struct {
// contains filtered or unexported fields
}
func (NetworkInterfaceAccessConfigAttributes) InternalRef ¶
func (ac NetworkInterfaceAccessConfigAttributes) InternalRef() (terra.Reference, error)
func (NetworkInterfaceAccessConfigAttributes) InternalTokens ¶
func (ac NetworkInterfaceAccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkInterfaceAccessConfigAttributes) InternalWithRef ¶
func (ac NetworkInterfaceAccessConfigAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAccessConfigAttributes
func (NetworkInterfaceAccessConfigAttributes) NatIp ¶
func (ac NetworkInterfaceAccessConfigAttributes) NatIp() terra.StringValue
func (NetworkInterfaceAccessConfigAttributes) NetworkTier ¶
func (ac NetworkInterfaceAccessConfigAttributes) NetworkTier() terra.StringValue
func (NetworkInterfaceAccessConfigAttributes) PublicPtrDomainName ¶
func (ac NetworkInterfaceAccessConfigAttributes) PublicPtrDomainName() terra.StringValue
type NetworkInterfaceAliasIpRange ¶
type NetworkInterfaceAliasIpRange struct { // IpCidrRange: string, required IpCidrRange terra.StringValue `hcl:"ip_cidr_range,attr" validate:"required"` // SubnetworkRangeName: string, optional SubnetworkRangeName terra.StringValue `hcl:"subnetwork_range_name,attr"` }
type NetworkInterfaceAliasIpRangeAttributes ¶
type NetworkInterfaceAliasIpRangeAttributes struct {
// contains filtered or unexported fields
}
func (NetworkInterfaceAliasIpRangeAttributes) InternalRef ¶
func (air NetworkInterfaceAliasIpRangeAttributes) InternalRef() (terra.Reference, error)
func (NetworkInterfaceAliasIpRangeAttributes) InternalTokens ¶
func (air NetworkInterfaceAliasIpRangeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkInterfaceAliasIpRangeAttributes) InternalWithRef ¶
func (air NetworkInterfaceAliasIpRangeAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAliasIpRangeAttributes
func (NetworkInterfaceAliasIpRangeAttributes) IpCidrRange ¶
func (air NetworkInterfaceAliasIpRangeAttributes) IpCidrRange() terra.StringValue
func (NetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName ¶
func (air NetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName() terra.StringValue
type NetworkInterfaceAttributes ¶
type NetworkInterfaceAttributes struct {
// contains filtered or unexported fields
}
func (NetworkInterfaceAttributes) AccessConfig ¶
func (ni NetworkInterfaceAttributes) AccessConfig() terra.ListValue[NetworkInterfaceAccessConfigAttributes]
func (NetworkInterfaceAttributes) AliasIpRange ¶
func (ni NetworkInterfaceAttributes) AliasIpRange() terra.ListValue[NetworkInterfaceAliasIpRangeAttributes]
func (NetworkInterfaceAttributes) InternalIpv6PrefixLength ¶
func (ni NetworkInterfaceAttributes) InternalIpv6PrefixLength() terra.NumberValue
func (NetworkInterfaceAttributes) InternalRef ¶
func (ni NetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
func (NetworkInterfaceAttributes) InternalTokens ¶
func (ni NetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkInterfaceAttributes) InternalWithRef ¶
func (ni NetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAttributes
func (NetworkInterfaceAttributes) Ipv6AccessConfig ¶
func (ni NetworkInterfaceAttributes) Ipv6AccessConfig() terra.ListValue[NetworkInterfaceIpv6AccessConfigAttributes]
func (NetworkInterfaceAttributes) Ipv6AccessType ¶
func (ni NetworkInterfaceAttributes) Ipv6AccessType() terra.StringValue
func (NetworkInterfaceAttributes) Ipv6Address ¶
func (ni NetworkInterfaceAttributes) Ipv6Address() terra.StringValue
func (NetworkInterfaceAttributes) Name ¶
func (ni NetworkInterfaceAttributes) Name() terra.StringValue
func (NetworkInterfaceAttributes) Network ¶
func (ni NetworkInterfaceAttributes) Network() terra.StringValue
func (NetworkInterfaceAttributes) NetworkIp ¶
func (ni NetworkInterfaceAttributes) NetworkIp() terra.StringValue
func (NetworkInterfaceAttributes) NicType ¶
func (ni NetworkInterfaceAttributes) NicType() terra.StringValue
func (NetworkInterfaceAttributes) QueueCount ¶
func (ni NetworkInterfaceAttributes) QueueCount() terra.NumberValue
func (NetworkInterfaceAttributes) StackType ¶
func (ni NetworkInterfaceAttributes) StackType() terra.StringValue
func (NetworkInterfaceAttributes) Subnetwork ¶
func (ni NetworkInterfaceAttributes) Subnetwork() terra.StringValue
func (NetworkInterfaceAttributes) SubnetworkProject ¶
func (ni NetworkInterfaceAttributes) SubnetworkProject() terra.StringValue
type NetworkInterfaceIpv6AccessConfig ¶
type NetworkInterfaceIpv6AccessConfig struct { // NetworkTier: string, required NetworkTier terra.StringValue `hcl:"network_tier,attr" validate:"required"` }
type NetworkInterfaceIpv6AccessConfigAttributes ¶
type NetworkInterfaceIpv6AccessConfigAttributes struct {
// contains filtered or unexported fields
}
func (NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6 ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6() terra.StringValue
func (NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength() terra.StringValue
func (NetworkInterfaceIpv6AccessConfigAttributes) InternalRef ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) InternalRef() (terra.Reference, error)
func (NetworkInterfaceIpv6AccessConfigAttributes) InternalTokens ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceIpv6AccessConfigAttributes
func (NetworkInterfaceIpv6AccessConfigAttributes) Name ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) Name() terra.StringValue
func (NetworkInterfaceIpv6AccessConfigAttributes) NetworkTier ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) NetworkTier() terra.StringValue
func (NetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName ¶
func (iac NetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName() terra.StringValue
type NetworkInterfaceState ¶
type NetworkInterfaceState struct { InternalIpv6PrefixLength float64 `json:"internal_ipv6_prefix_length"` Ipv6AccessType string `json:"ipv6_access_type"` Ipv6Address string `json:"ipv6_address"` Name string `json:"name"` Network string `json:"network"` NetworkIp string `json:"network_ip"` NicType string `json:"nic_type"` QueueCount float64 `json:"queue_count"` StackType string `json:"stack_type"` Subnetwork string `json:"subnetwork"` SubnetworkProject string `json:"subnetwork_project"` AccessConfig []NetworkInterfaceAccessConfigState `json:"access_config"` AliasIpRange []NetworkInterfaceAliasIpRangeState `json:"alias_ip_range"` Ipv6AccessConfig []NetworkInterfaceIpv6AccessConfigState `json:"ipv6_access_config"` }
type NetworkPerformanceConfig ¶
type NetworkPerformanceConfig struct { // TotalEgressBandwidthTier: string, required TotalEgressBandwidthTier terra.StringValue `hcl:"total_egress_bandwidth_tier,attr" validate:"required"` }
type NetworkPerformanceConfigAttributes ¶
type NetworkPerformanceConfigAttributes struct {
// contains filtered or unexported fields
}
func (NetworkPerformanceConfigAttributes) InternalRef ¶
func (npc NetworkPerformanceConfigAttributes) InternalRef() (terra.Reference, error)
func (NetworkPerformanceConfigAttributes) InternalTokens ¶
func (npc NetworkPerformanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkPerformanceConfigAttributes) InternalWithRef ¶
func (npc NetworkPerformanceConfigAttributes) InternalWithRef(ref terra.Reference) NetworkPerformanceConfigAttributes
func (NetworkPerformanceConfigAttributes) TotalEgressBandwidthTier ¶
func (npc NetworkPerformanceConfigAttributes) TotalEgressBandwidthTier() terra.StringValue
type NetworkPerformanceConfigState ¶
type NetworkPerformanceConfigState struct {
TotalEgressBandwidthTier string `json:"total_egress_bandwidth_tier"`
}
type ReservationAffinity ¶
type ReservationAffinity struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // ReservationAffinitySpecificReservation: optional SpecificReservation *ReservationAffinitySpecificReservation `hcl:"specific_reservation,block"` }
type ReservationAffinityAttributes ¶
type ReservationAffinityAttributes struct {
// contains filtered or unexported fields
}
func (ReservationAffinityAttributes) InternalRef ¶
func (ra ReservationAffinityAttributes) InternalRef() (terra.Reference, error)
func (ReservationAffinityAttributes) InternalTokens ¶
func (ra ReservationAffinityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReservationAffinityAttributes) InternalWithRef ¶
func (ra ReservationAffinityAttributes) InternalWithRef(ref terra.Reference) ReservationAffinityAttributes
func (ReservationAffinityAttributes) SpecificReservation ¶
func (ra ReservationAffinityAttributes) SpecificReservation() terra.ListValue[ReservationAffinitySpecificReservationAttributes]
func (ReservationAffinityAttributes) Type ¶
func (ra ReservationAffinityAttributes) Type() terra.StringValue
type ReservationAffinitySpecificReservation ¶
type ReservationAffinitySpecificReservation struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type ReservationAffinitySpecificReservationAttributes ¶
type ReservationAffinitySpecificReservationAttributes struct {
// contains filtered or unexported fields
}
func (ReservationAffinitySpecificReservationAttributes) InternalRef ¶
func (sr ReservationAffinitySpecificReservationAttributes) InternalRef() (terra.Reference, error)
func (ReservationAffinitySpecificReservationAttributes) InternalTokens ¶
func (sr ReservationAffinitySpecificReservationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReservationAffinitySpecificReservationAttributes) InternalWithRef ¶
func (sr ReservationAffinitySpecificReservationAttributes) InternalWithRef(ref terra.Reference) ReservationAffinitySpecificReservationAttributes
func (ReservationAffinitySpecificReservationAttributes) Key ¶
func (sr ReservationAffinitySpecificReservationAttributes) Key() terra.StringValue
func (ReservationAffinitySpecificReservationAttributes) Values ¶
func (sr ReservationAffinitySpecificReservationAttributes) Values() terra.ListValue[terra.StringValue]
type ReservationAffinityState ¶
type ReservationAffinityState struct { Type string `json:"type"` SpecificReservation []ReservationAffinitySpecificReservationState `json:"specific_reservation"` }
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_compute_instance_template.
func (*Resource) Attributes ¶
func (gcit *Resource) Attributes() googleComputeInstanceTemplateAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcit *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcit *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Scheduling ¶
type Scheduling struct { // AutomaticRestart: bool, optional AutomaticRestart terra.BoolValue `hcl:"automatic_restart,attr"` // InstanceTerminationAction: string, optional InstanceTerminationAction terra.StringValue `hcl:"instance_termination_action,attr"` // MinNodeCpus: number, optional MinNodeCpus terra.NumberValue `hcl:"min_node_cpus,attr"` // OnHostMaintenance: string, optional OnHostMaintenance terra.StringValue `hcl:"on_host_maintenance,attr"` // Preemptible: bool, optional Preemptible terra.BoolValue `hcl:"preemptible,attr"` // ProvisioningModel: string, optional ProvisioningModel terra.StringValue `hcl:"provisioning_model,attr"` // SchedulingLocalSsdRecoveryTimeout: min=0 LocalSsdRecoveryTimeout []SchedulingLocalSsdRecoveryTimeout `hcl:"local_ssd_recovery_timeout,block" validate:"min=0"` // SchedulingNodeAffinities: min=0 NodeAffinities []SchedulingNodeAffinities `hcl:"node_affinities,block" validate:"min=0"` }
type SchedulingAttributes ¶
type SchedulingAttributes struct {
// contains filtered or unexported fields
}
func (SchedulingAttributes) AutomaticRestart ¶
func (s SchedulingAttributes) AutomaticRestart() terra.BoolValue
func (SchedulingAttributes) InstanceTerminationAction ¶
func (s SchedulingAttributes) InstanceTerminationAction() terra.StringValue
func (SchedulingAttributes) InternalRef ¶
func (s SchedulingAttributes) InternalRef() (terra.Reference, error)
func (SchedulingAttributes) InternalTokens ¶
func (s SchedulingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchedulingAttributes) InternalWithRef ¶
func (s SchedulingAttributes) InternalWithRef(ref terra.Reference) SchedulingAttributes
func (SchedulingAttributes) LocalSsdRecoveryTimeout ¶
func (s SchedulingAttributes) LocalSsdRecoveryTimeout() terra.ListValue[SchedulingLocalSsdRecoveryTimeoutAttributes]
func (SchedulingAttributes) MinNodeCpus ¶
func (s SchedulingAttributes) MinNodeCpus() terra.NumberValue
func (SchedulingAttributes) NodeAffinities ¶
func (s SchedulingAttributes) NodeAffinities() terra.SetValue[SchedulingNodeAffinitiesAttributes]
func (SchedulingAttributes) OnHostMaintenance ¶
func (s SchedulingAttributes) OnHostMaintenance() terra.StringValue
func (SchedulingAttributes) Preemptible ¶
func (s SchedulingAttributes) Preemptible() terra.BoolValue
func (SchedulingAttributes) ProvisioningModel ¶
func (s SchedulingAttributes) ProvisioningModel() terra.StringValue
type SchedulingLocalSsdRecoveryTimeout ¶
type SchedulingLocalSsdRecoveryTimeout struct { // Nanos: number, optional Nanos terra.NumberValue `hcl:"nanos,attr"` // Seconds: number, required Seconds terra.NumberValue `hcl:"seconds,attr" validate:"required"` }
type SchedulingLocalSsdRecoveryTimeoutAttributes ¶
type SchedulingLocalSsdRecoveryTimeoutAttributes struct {
// contains filtered or unexported fields
}
func (SchedulingLocalSsdRecoveryTimeoutAttributes) InternalRef ¶
func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) InternalRef() (terra.Reference, error)
func (SchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens ¶
func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef ¶
func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef(ref terra.Reference) SchedulingLocalSsdRecoveryTimeoutAttributes
func (SchedulingLocalSsdRecoveryTimeoutAttributes) Nanos ¶
func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) Nanos() terra.NumberValue
func (SchedulingLocalSsdRecoveryTimeoutAttributes) Seconds ¶
func (lsrt SchedulingLocalSsdRecoveryTimeoutAttributes) Seconds() terra.NumberValue
type SchedulingNodeAffinities ¶
type SchedulingNodeAffinities struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type SchedulingNodeAffinitiesAttributes ¶
type SchedulingNodeAffinitiesAttributes struct {
// contains filtered or unexported fields
}
func (SchedulingNodeAffinitiesAttributes) InternalRef ¶
func (na SchedulingNodeAffinitiesAttributes) InternalRef() (terra.Reference, error)
func (SchedulingNodeAffinitiesAttributes) InternalTokens ¶
func (na SchedulingNodeAffinitiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchedulingNodeAffinitiesAttributes) InternalWithRef ¶
func (na SchedulingNodeAffinitiesAttributes) InternalWithRef(ref terra.Reference) SchedulingNodeAffinitiesAttributes
func (SchedulingNodeAffinitiesAttributes) Key ¶
func (na SchedulingNodeAffinitiesAttributes) Key() terra.StringValue
func (SchedulingNodeAffinitiesAttributes) Operator ¶
func (na SchedulingNodeAffinitiesAttributes) Operator() terra.StringValue
func (SchedulingNodeAffinitiesAttributes) Values ¶
func (na SchedulingNodeAffinitiesAttributes) Values() terra.SetValue[terra.StringValue]
type SchedulingState ¶
type SchedulingState struct { AutomaticRestart bool `json:"automatic_restart"` InstanceTerminationAction string `json:"instance_termination_action"` MinNodeCpus float64 `json:"min_node_cpus"` OnHostMaintenance string `json:"on_host_maintenance"` Preemptible bool `json:"preemptible"` ProvisioningModel string `json:"provisioning_model"` LocalSsdRecoveryTimeout []SchedulingLocalSsdRecoveryTimeoutState `json:"local_ssd_recovery_timeout"` NodeAffinities []SchedulingNodeAffinitiesState `json:"node_affinities"` }
type ServiceAccount ¶
type ServiceAccount struct { // Email: string, optional Email terra.StringValue `hcl:"email,attr"` // Scopes: set of string, required Scopes terra.SetValue[terra.StringValue] `hcl:"scopes,attr" validate:"required"` }
type ServiceAccountAttributes ¶
type ServiceAccountAttributes struct {
// contains filtered or unexported fields
}
func (ServiceAccountAttributes) Email ¶
func (sa ServiceAccountAttributes) Email() terra.StringValue
func (ServiceAccountAttributes) InternalRef ¶
func (sa ServiceAccountAttributes) InternalRef() (terra.Reference, error)
func (ServiceAccountAttributes) InternalTokens ¶
func (sa ServiceAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceAccountAttributes) InternalWithRef ¶
func (sa ServiceAccountAttributes) InternalWithRef(ref terra.Reference) ServiceAccountAttributes
func (ServiceAccountAttributes) Scopes ¶
func (sa ServiceAccountAttributes) Scopes() terra.SetValue[terra.StringValue]
type ServiceAccountState ¶
type ShieldedInstanceConfig ¶
type ShieldedInstanceConfig struct { // EnableIntegrityMonitoring: bool, optional EnableIntegrityMonitoring terra.BoolValue `hcl:"enable_integrity_monitoring,attr"` // EnableSecureBoot: bool, optional EnableSecureBoot terra.BoolValue `hcl:"enable_secure_boot,attr"` // EnableVtpm: bool, optional EnableVtpm terra.BoolValue `hcl:"enable_vtpm,attr"` }
type ShieldedInstanceConfigAttributes ¶
type ShieldedInstanceConfigAttributes struct {
// contains filtered or unexported fields
}
func (ShieldedInstanceConfigAttributes) EnableIntegrityMonitoring ¶
func (sic ShieldedInstanceConfigAttributes) EnableIntegrityMonitoring() terra.BoolValue
func (ShieldedInstanceConfigAttributes) EnableSecureBoot ¶
func (sic ShieldedInstanceConfigAttributes) EnableSecureBoot() terra.BoolValue
func (ShieldedInstanceConfigAttributes) EnableVtpm ¶
func (sic ShieldedInstanceConfigAttributes) EnableVtpm() terra.BoolValue
func (ShieldedInstanceConfigAttributes) InternalRef ¶
func (sic ShieldedInstanceConfigAttributes) InternalRef() (terra.Reference, error)
func (ShieldedInstanceConfigAttributes) InternalTokens ¶
func (sic ShieldedInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShieldedInstanceConfigAttributes) InternalWithRef ¶
func (sic ShieldedInstanceConfigAttributes) InternalWithRef(ref terra.Reference) ShieldedInstanceConfigAttributes
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes