google_compute_region_instance_template

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (AdvancedMachineFeaturesAttributes) InternalTokens

func (amf AdvancedMachineFeaturesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdvancedMachineFeaturesAttributes) InternalWithRef

func (AdvancedMachineFeaturesAttributes) ThreadsPerCore

func (AdvancedMachineFeaturesAttributes) VisibleCoreCount

func (amf AdvancedMachineFeaturesAttributes) VisibleCoreCount() terra.NumberValue

type AdvancedMachineFeaturesState

type AdvancedMachineFeaturesState struct {
	EnableNestedVirtualization bool    `json:"enable_nested_virtualization"`
	ThreadsPerCore             float64 `json:"threads_per_core"`
	VisibleCoreCount           float64 `json:"visible_core_count"`
}

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"`
	// EnableDisplay: bool, optional
	EnableDisplay terra.BoolValue `hcl:"enable_display,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_region_instance_template.

type ConfidentialInstanceConfig

type ConfidentialInstanceConfig struct {
	// ConfidentialInstanceType: string, optional
	ConfidentialInstanceType terra.StringValue `hcl:"confidential_instance_type,attr"`
	// EnableConfidentialCompute: bool, optional
	EnableConfidentialCompute terra.BoolValue `hcl:"enable_confidential_compute,attr"`
}

type ConfidentialInstanceConfigAttributes

type ConfidentialInstanceConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfidentialInstanceConfigAttributes) ConfidentialInstanceType

func (cic ConfidentialInstanceConfigAttributes) ConfidentialInstanceType() terra.StringValue

func (ConfidentialInstanceConfigAttributes) EnableConfidentialCompute

func (cic ConfidentialInstanceConfigAttributes) EnableConfidentialCompute() terra.BoolValue

func (ConfidentialInstanceConfigAttributes) InternalRef

func (ConfidentialInstanceConfigAttributes) InternalTokens

func (ConfidentialInstanceConfigAttributes) InternalWithRef

type ConfidentialInstanceConfigState

type ConfidentialInstanceConfigState struct {
	ConfidentialInstanceType  string `json:"confidential_instance_type"`
	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 (DataAdvancedMachineFeaturesAttributes) InternalTokens

func (DataAdvancedMachineFeaturesAttributes) InternalWithRef

func (DataAdvancedMachineFeaturesAttributes) ThreadsPerCore

func (DataAdvancedMachineFeaturesAttributes) VisibleCoreCount

type DataAdvancedMachineFeaturesState

type DataAdvancedMachineFeaturesState struct {
	EnableNestedVirtualization bool    `json:"enable_nested_virtualization"`
	ThreadsPerCore             float64 `json:"threads_per_core"`
	VisibleCoreCount           float64 `json:"visible_core_count"`
}

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"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
}

DataArgs contains the configurations for google_compute_region_instance_template.

type DataConfidentialInstanceConfigAttributes

type DataConfidentialInstanceConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfidentialInstanceConfigAttributes) ConfidentialInstanceType

func (cic DataConfidentialInstanceConfigAttributes) ConfidentialInstanceType() terra.StringValue

func (DataConfidentialInstanceConfigAttributes) EnableConfidentialCompute

func (cic DataConfidentialInstanceConfigAttributes) EnableConfidentialCompute() terra.BoolValue

func (DataConfidentialInstanceConfigAttributes) InternalRef

func (DataConfidentialInstanceConfigAttributes) InternalTokens

func (DataConfidentialInstanceConfigAttributes) InternalWithRef

type DataConfidentialInstanceConfigState

type DataConfidentialInstanceConfigState struct {
	ConfidentialInstanceType  string `json:"confidential_instance_type"`
	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 (DataDiskAttributes) DeviceName

func (d DataDiskAttributes) DeviceName() terra.StringValue

func (DataDiskAttributes) DiskEncryptionKey

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 (DataDiskAttributes) Mode

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 (DataDiskAttributes) SourceImage

func (d DataDiskAttributes) SourceImage() terra.StringValue

func (DataDiskAttributes) SourceImageEncryptionKey

func (DataDiskAttributes) SourceSnapshot

func (d DataDiskAttributes) SourceSnapshot() terra.StringValue

func (DataDiskAttributes) SourceSnapshotEncryptionKey

func (DataDiskAttributes) Type

type DataDiskDiskEncryptionKeyAttributes

type DataDiskDiskEncryptionKeyAttributes struct {
	// contains filtered or unexported fields
}

func (DataDiskDiskEncryptionKeyAttributes) InternalRef

func (DataDiskDiskEncryptionKeyAttributes) InternalTokens

func (dek DataDiskDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDiskDiskEncryptionKeyAttributes) InternalWithRef

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 (DataDiskSourceImageEncryptionKeyAttributes) InternalTokens

func (DataDiskSourceImageEncryptionKeyAttributes) InternalWithRef

func (DataDiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount

func (siek DataDiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue

type DataDiskSourceImageEncryptionKeyState

type DataDiskSourceImageEncryptionKeyState struct {
	KmsKeySelfLink       string `json:"kms_key_self_link"`
	KmsKeyServiceAccount string `json:"kms_key_service_account"`
}

type DataDiskSourceSnapshotEncryptionKeyAttributes

type DataDiskSourceSnapshotEncryptionKeyAttributes struct {
	// contains filtered or unexported fields
}

func (DataDiskSourceSnapshotEncryptionKeyAttributes) InternalRef

func (DataDiskSourceSnapshotEncryptionKeyAttributes) InternalTokens

func (DataDiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef

func (DataDiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount

type DataDiskSourceSnapshotEncryptionKeyState

type DataDiskSourceSnapshotEncryptionKeyState struct {
	KmsKeySelfLink       string `json:"kms_key_self_link"`
	KmsKeyServiceAccount string `json:"kms_key_service_account"`
}

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 (DataGuestAcceleratorAttributes) InternalRef

func (DataGuestAcceleratorAttributes) InternalTokens

func (ga DataGuestAcceleratorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataGuestAcceleratorAttributes) InternalWithRef

func (DataGuestAcceleratorAttributes) Type

type DataGuestAcceleratorState

type DataGuestAcceleratorState struct {
	Count float64 `json:"count"`
	Type  string  `json:"type"`
}

type DataNetworkInterfaceAccessConfigAttributes

type DataNetworkInterfaceAccessConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceAccessConfigAttributes) InternalRef

func (DataNetworkInterfaceAccessConfigAttributes) InternalTokens

func (DataNetworkInterfaceAccessConfigAttributes) InternalWithRef

func (DataNetworkInterfaceAccessConfigAttributes) NatIp

func (DataNetworkInterfaceAccessConfigAttributes) NetworkTier

func (DataNetworkInterfaceAccessConfigAttributes) PublicPtrDomainName

type DataNetworkInterfaceAccessConfigState

type DataNetworkInterfaceAccessConfigState struct {
	NatIp               string `json:"nat_ip"`
	NetworkTier         string `json:"network_tier"`
	PublicPtrDomainName string `json:"public_ptr_domain_name"`
}

type DataNetworkInterfaceAliasIpRangeAttributes

type DataNetworkInterfaceAliasIpRangeAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceAliasIpRangeAttributes) InternalRef

func (DataNetworkInterfaceAliasIpRangeAttributes) InternalTokens

func (DataNetworkInterfaceAliasIpRangeAttributes) InternalWithRef

func (DataNetworkInterfaceAliasIpRangeAttributes) IpCidrRange

func (DataNetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName

type DataNetworkInterfaceAliasIpRangeState

type DataNetworkInterfaceAliasIpRangeState struct {
	IpCidrRange         string `json:"ip_cidr_range"`
	SubnetworkRangeName string `json:"subnetwork_range_name"`
}

type DataNetworkInterfaceAttributes

type DataNetworkInterfaceAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceAttributes) AccessConfig

func (DataNetworkInterfaceAttributes) AliasIpRange

func (DataNetworkInterfaceAttributes) InternalIpv6PrefixLength

func (ni DataNetworkInterfaceAttributes) InternalIpv6PrefixLength() terra.NumberValue

func (DataNetworkInterfaceAttributes) InternalRef

func (DataNetworkInterfaceAttributes) InternalTokens

func (ni DataNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNetworkInterfaceAttributes) InternalWithRef

func (DataNetworkInterfaceAttributes) Ipv6AccessConfig

func (DataNetworkInterfaceAttributes) Ipv6AccessType

func (ni DataNetworkInterfaceAttributes) Ipv6AccessType() terra.StringValue

func (DataNetworkInterfaceAttributes) Ipv6Address

func (DataNetworkInterfaceAttributes) Name

func (DataNetworkInterfaceAttributes) Network

func (DataNetworkInterfaceAttributes) NetworkIp

func (DataNetworkInterfaceAttributes) NicType

func (DataNetworkInterfaceAttributes) QueueCount

func (DataNetworkInterfaceAttributes) StackType

func (DataNetworkInterfaceAttributes) Subnetwork

func (DataNetworkInterfaceAttributes) SubnetworkProject

func (ni DataNetworkInterfaceAttributes) SubnetworkProject() terra.StringValue

type DataNetworkInterfaceIpv6AccessConfigAttributes

type DataNetworkInterfaceIpv6AccessConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6

func (DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength

func (iac DataNetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength() terra.StringValue

func (DataNetworkInterfaceIpv6AccessConfigAttributes) InternalRef

func (DataNetworkInterfaceIpv6AccessConfigAttributes) InternalTokens

func (DataNetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef

func (DataNetworkInterfaceIpv6AccessConfigAttributes) Name

func (DataNetworkInterfaceIpv6AccessConfigAttributes) NetworkTier

func (DataNetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName

type DataNetworkInterfaceIpv6AccessConfigState

type DataNetworkInterfaceIpv6AccessConfigState struct {
	ExternalIpv6             string `json:"external_ipv6"`
	ExternalIpv6PrefixLength string `json:"external_ipv6_prefix_length"`
	Name                     string `json:"name"`
	NetworkTier              string `json:"network_tier"`
	PublicPtrDomainName      string `json:"public_ptr_domain_name"`
}

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 (DataNetworkPerformanceConfigAttributes) InternalTokens

func (DataNetworkPerformanceConfigAttributes) InternalWithRef

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 (DataReservationAffinityAttributes) InternalTokens

func (ra DataReservationAffinityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataReservationAffinityAttributes) InternalWithRef

func (DataReservationAffinityAttributes) SpecificReservation

func (DataReservationAffinityAttributes) Type

type DataReservationAffinitySpecificReservationAttributes

type DataReservationAffinitySpecificReservationAttributes struct {
	// contains filtered or unexported fields
}

func (DataReservationAffinitySpecificReservationAttributes) InternalRef

func (DataReservationAffinitySpecificReservationAttributes) InternalTokens

func (DataReservationAffinitySpecificReservationAttributes) InternalWithRef

func (DataReservationAffinitySpecificReservationAttributes) Key

func (DataReservationAffinitySpecificReservationAttributes) Values

type DataReservationAffinitySpecificReservationState

type DataReservationAffinitySpecificReservationState struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

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 (DataSchedulingAttributes) LocalSsdRecoveryTimeout

func (DataSchedulingAttributes) MaintenanceInterval

func (s DataSchedulingAttributes) MaintenanceInterval() terra.StringValue

func (DataSchedulingAttributes) MaxRunDuration

func (DataSchedulingAttributes) MinNodeCpus

func (s DataSchedulingAttributes) MinNodeCpus() terra.NumberValue

func (DataSchedulingAttributes) NodeAffinities

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 (DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens

func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef

func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) Nanos

func (DataSchedulingLocalSsdRecoveryTimeoutAttributes) Seconds

type DataSchedulingLocalSsdRecoveryTimeoutState

type DataSchedulingLocalSsdRecoveryTimeoutState struct {
	Nanos   float64 `json:"nanos"`
	Seconds float64 `json:"seconds"`
}

type DataSchedulingMaxRunDurationAttributes

type DataSchedulingMaxRunDurationAttributes struct {
	// contains filtered or unexported fields
}

func (DataSchedulingMaxRunDurationAttributes) InternalRef

func (DataSchedulingMaxRunDurationAttributes) InternalTokens

func (DataSchedulingMaxRunDurationAttributes) InternalWithRef

func (DataSchedulingMaxRunDurationAttributes) Nanos

func (DataSchedulingMaxRunDurationAttributes) Seconds

type DataSchedulingMaxRunDurationState

type DataSchedulingMaxRunDurationState struct {
	Nanos   float64 `json:"nanos"`
	Seconds float64 `json:"seconds"`
}

type DataSchedulingNodeAffinitiesAttributes

type DataSchedulingNodeAffinitiesAttributes struct {
	// contains filtered or unexported fields
}

func (DataSchedulingNodeAffinitiesAttributes) InternalRef

func (DataSchedulingNodeAffinitiesAttributes) InternalTokens

func (DataSchedulingNodeAffinitiesAttributes) InternalWithRef

func (DataSchedulingNodeAffinitiesAttributes) Key

func (DataSchedulingNodeAffinitiesAttributes) Operator

func (DataSchedulingNodeAffinitiesAttributes) Values

type DataSchedulingNodeAffinitiesState

type DataSchedulingNodeAffinitiesState struct {
	Key      string   `json:"key"`
	Operator string   `json:"operator"`
	Values   []string `json:"values"`
}

type DataSchedulingState

type DataSchedulingState struct {
	AutomaticRestart          bool                                         `json:"automatic_restart"`
	InstanceTerminationAction string                                       `json:"instance_termination_action"`
	MaintenanceInterval       string                                       `json:"maintenance_interval"`
	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"`
	MaxRunDuration            []DataSchedulingMaxRunDurationState          `json:"max_run_duration"`
	NodeAffinities            []DataSchedulingNodeAffinitiesState          `json:"node_affinities"`
}

type DataServiceAccountAttributes

type DataServiceAccountAttributes struct {
	// contains filtered or unexported fields
}

func (DataServiceAccountAttributes) Email

func (DataServiceAccountAttributes) InternalRef

func (sa DataServiceAccountAttributes) InternalRef() (terra.Reference, error)

func (DataServiceAccountAttributes) InternalTokens

func (sa DataServiceAccountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataServiceAccountAttributes) InternalWithRef

func (DataServiceAccountAttributes) Scopes

type DataServiceAccountState

type DataServiceAccountState struct {
	Email  string   `json:"email"`
	Scopes []string `json:"scopes"`
}

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 (DataShieldedInstanceConfigAttributes) InternalRef

func (DataShieldedInstanceConfigAttributes) InternalTokens

func (DataShieldedInstanceConfigAttributes) InternalWithRef

type DataShieldedInstanceConfigState

type DataShieldedInstanceConfigState struct {
	EnableIntegrityMonitoring bool `json:"enable_integrity_monitoring"`
	EnableSecureBoot          bool `json:"enable_secure_boot"`
	EnableVtpm                bool `json:"enable_vtpm"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_compute_region_instance_template.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gcrit *DataSource) Attributes() dataGoogleComputeRegionInstanceTemplateAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gcrit *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gcrit *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gcrit *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 (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 (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 (DiskAttributes) SourceSnapshot

func (d DiskAttributes) SourceSnapshot() terra.StringValue

func (DiskAttributes) SourceSnapshotEncryptionKey

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 (DiskDiskEncryptionKeyAttributes) InternalTokens

func (dek DiskDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DiskDiskEncryptionKeyAttributes) InternalWithRef

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 (DiskSourceImageEncryptionKeyAttributes) InternalTokens

func (DiskSourceImageEncryptionKeyAttributes) InternalWithRef

func (DiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount

func (siek DiskSourceImageEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue

type DiskSourceImageEncryptionKeyState

type DiskSourceImageEncryptionKeyState struct {
	KmsKeySelfLink       string `json:"kms_key_self_link"`
	KmsKeyServiceAccount string `json:"kms_key_service_account"`
}

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 (DiskSourceSnapshotEncryptionKeyAttributes) InternalTokens

func (DiskSourceSnapshotEncryptionKeyAttributes) InternalWithRef

func (DiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount

func (ssek DiskSourceSnapshotEncryptionKeyAttributes) KmsKeyServiceAccount() terra.StringValue

type DiskSourceSnapshotEncryptionKeyState

type DiskSourceSnapshotEncryptionKeyState struct {
	KmsKeySelfLink       string `json:"kms_key_self_link"`
	KmsKeyServiceAccount string `json:"kms_key_service_account"`
}

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 (GuestAcceleratorAttributes) InternalRef

func (ga GuestAcceleratorAttributes) InternalRef() (terra.Reference, error)

func (GuestAcceleratorAttributes) InternalTokens

func (ga GuestAcceleratorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GuestAcceleratorAttributes) InternalWithRef

func (GuestAcceleratorAttributes) Type

type GuestAcceleratorState

type GuestAcceleratorState struct {
	Count float64 `json:"count"`
	Type  string  `json:"type"`
}

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 (NetworkInterfaceAccessConfigAttributes) InternalTokens

func (NetworkInterfaceAccessConfigAttributes) InternalWithRef

func (NetworkInterfaceAccessConfigAttributes) NatIp

func (NetworkInterfaceAccessConfigAttributes) NetworkTier

func (NetworkInterfaceAccessConfigAttributes) PublicPtrDomainName

func (ac NetworkInterfaceAccessConfigAttributes) PublicPtrDomainName() terra.StringValue

type NetworkInterfaceAccessConfigState

type NetworkInterfaceAccessConfigState struct {
	NatIp               string `json:"nat_ip"`
	NetworkTier         string `json:"network_tier"`
	PublicPtrDomainName string `json:"public_ptr_domain_name"`
}

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 (NetworkInterfaceAliasIpRangeAttributes) InternalTokens

func (NetworkInterfaceAliasIpRangeAttributes) InternalWithRef

func (NetworkInterfaceAliasIpRangeAttributes) IpCidrRange

func (NetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName

func (air NetworkInterfaceAliasIpRangeAttributes) SubnetworkRangeName() terra.StringValue

type NetworkInterfaceAliasIpRangeState

type NetworkInterfaceAliasIpRangeState struct {
	IpCidrRange         string `json:"ip_cidr_range"`
	SubnetworkRangeName string `json:"subnetwork_range_name"`
}

type NetworkInterfaceAttributes

type NetworkInterfaceAttributes struct {
	// contains filtered or unexported fields
}

func (NetworkInterfaceAttributes) AccessConfig

func (NetworkInterfaceAttributes) AliasIpRange

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 (NetworkInterfaceAttributes) Ipv6AccessConfig

func (NetworkInterfaceAttributes) Ipv6AccessType

func (ni NetworkInterfaceAttributes) Ipv6AccessType() terra.StringValue

func (NetworkInterfaceAttributes) Ipv6Address

func (ni NetworkInterfaceAttributes) Ipv6Address() terra.StringValue

func (NetworkInterfaceAttributes) Name

func (NetworkInterfaceAttributes) Network

func (NetworkInterfaceAttributes) NetworkIp

func (NetworkInterfaceAttributes) NicType

func (NetworkInterfaceAttributes) QueueCount

func (NetworkInterfaceAttributes) StackType

func (NetworkInterfaceAttributes) Subnetwork

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 (NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength

func (iac NetworkInterfaceIpv6AccessConfigAttributes) ExternalIpv6PrefixLength() terra.StringValue

func (NetworkInterfaceIpv6AccessConfigAttributes) InternalRef

func (NetworkInterfaceIpv6AccessConfigAttributes) InternalTokens

func (NetworkInterfaceIpv6AccessConfigAttributes) InternalWithRef

func (NetworkInterfaceIpv6AccessConfigAttributes) Name

func (NetworkInterfaceIpv6AccessConfigAttributes) NetworkTier

func (NetworkInterfaceIpv6AccessConfigAttributes) PublicPtrDomainName

type NetworkInterfaceIpv6AccessConfigState

type NetworkInterfaceIpv6AccessConfigState struct {
	ExternalIpv6             string `json:"external_ipv6"`
	ExternalIpv6PrefixLength string `json:"external_ipv6_prefix_length"`
	Name                     string `json:"name"`
	NetworkTier              string `json:"network_tier"`
	PublicPtrDomainName      string `json:"public_ptr_domain_name"`
}

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 (NetworkPerformanceConfigAttributes) InternalTokens

func (npc NetworkPerformanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkPerformanceConfigAttributes) InternalWithRef

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 (ReservationAffinityAttributes) SpecificReservation

func (ReservationAffinityAttributes) Type

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 (ReservationAffinitySpecificReservationAttributes) InternalTokens

func (ReservationAffinitySpecificReservationAttributes) InternalWithRef

func (ReservationAffinitySpecificReservationAttributes) Key

func (ReservationAffinitySpecificReservationAttributes) Values

type ReservationAffinitySpecificReservationState

type ReservationAffinitySpecificReservationState struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

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_region_instance_template.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcrit *Resource) Attributes() googleComputeRegionInstanceTemplateAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gcrit *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gcrit *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gcrit *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gcrit *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gcrit *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcrit *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcrit *Resource) State() (*googleComputeRegionInstanceTemplateState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gcrit *Resource) StateMust() *googleComputeRegionInstanceTemplateState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gcrit *Resource) Type() string

Type returns the Terraform object type 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"`
	// MaintenanceInterval: string, optional
	MaintenanceInterval terra.StringValue `hcl:"maintenance_interval,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"`
	// SchedulingMaxRunDuration: optional
	MaxRunDuration *SchedulingMaxRunDuration `hcl:"max_run_duration,block"`
	// 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 (SchedulingAttributes) LocalSsdRecoveryTimeout

func (SchedulingAttributes) MaintenanceInterval

func (s SchedulingAttributes) MaintenanceInterval() terra.StringValue

func (SchedulingAttributes) MaxRunDuration

func (SchedulingAttributes) MinNodeCpus

func (s SchedulingAttributes) MinNodeCpus() terra.NumberValue

func (SchedulingAttributes) NodeAffinities

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 (SchedulingLocalSsdRecoveryTimeoutAttributes) InternalTokens

func (SchedulingLocalSsdRecoveryTimeoutAttributes) InternalWithRef

func (SchedulingLocalSsdRecoveryTimeoutAttributes) Nanos

func (SchedulingLocalSsdRecoveryTimeoutAttributes) Seconds

type SchedulingLocalSsdRecoveryTimeoutState

type SchedulingLocalSsdRecoveryTimeoutState struct {
	Nanos   float64 `json:"nanos"`
	Seconds float64 `json:"seconds"`
}

type SchedulingMaxRunDuration

type SchedulingMaxRunDuration struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: number, required
	Seconds terra.NumberValue `hcl:"seconds,attr" validate:"required"`
}

type SchedulingMaxRunDurationAttributes

type SchedulingMaxRunDurationAttributes struct {
	// contains filtered or unexported fields
}

func (SchedulingMaxRunDurationAttributes) InternalRef

func (SchedulingMaxRunDurationAttributes) InternalTokens

func (mrd SchedulingMaxRunDurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SchedulingMaxRunDurationAttributes) InternalWithRef

func (SchedulingMaxRunDurationAttributes) Nanos

func (SchedulingMaxRunDurationAttributes) Seconds

type SchedulingMaxRunDurationState

type SchedulingMaxRunDurationState struct {
	Nanos   float64 `json:"nanos"`
	Seconds float64 `json:"seconds"`
}

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 (SchedulingNodeAffinitiesAttributes) InternalTokens

func (SchedulingNodeAffinitiesAttributes) InternalWithRef

func (SchedulingNodeAffinitiesAttributes) Key

func (SchedulingNodeAffinitiesAttributes) Operator

func (SchedulingNodeAffinitiesAttributes) Values

type SchedulingNodeAffinitiesState

type SchedulingNodeAffinitiesState struct {
	Key      string   `json:"key"`
	Operator string   `json:"operator"`
	Values   []string `json:"values"`
}

type SchedulingState

type SchedulingState struct {
	AutomaticRestart          bool                                     `json:"automatic_restart"`
	InstanceTerminationAction string                                   `json:"instance_termination_action"`
	MaintenanceInterval       string                                   `json:"maintenance_interval"`
	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"`
	MaxRunDuration            []SchedulingMaxRunDurationState          `json:"max_run_duration"`
	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 (ServiceAccountAttributes) InternalRef

func (sa ServiceAccountAttributes) InternalRef() (terra.Reference, error)

func (ServiceAccountAttributes) InternalTokens

func (sa ServiceAccountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServiceAccountAttributes) InternalWithRef

func (ServiceAccountAttributes) Scopes

type ServiceAccountState

type ServiceAccountState struct {
	Email  string   `json:"email"`
	Scopes []string `json:"scopes"`
}

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 (ShieldedInstanceConfigAttributes) InternalRef

func (ShieldedInstanceConfigAttributes) InternalTokens

func (sic ShieldedInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ShieldedInstanceConfigAttributes) InternalWithRef

type ShieldedInstanceConfigState

type ShieldedInstanceConfigState struct {
	EnableIntegrityMonitoring bool `json:"enable_integrity_monitoring"`
	EnableSecureBoot          bool `json:"enable_secure_boot"`
	EnableVtpm                bool `json:"enable_vtpm"`
}

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL