spotinstancerequest

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapacityReservationSpecification

type CapacityReservationSpecification struct {
	// CapacityReservationPreference: string, optional
	CapacityReservationPreference terra.StringValue `hcl:"capacity_reservation_preference,attr"`
	// CapacityReservationTarget: optional
	CapacityReservationTarget *CapacityReservationTarget `hcl:"capacity_reservation_target,block"`
}

type CapacityReservationSpecificationAttributes

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

func (CapacityReservationSpecificationAttributes) CapacityReservationPreference

func (crs CapacityReservationSpecificationAttributes) CapacityReservationPreference() terra.StringValue

func (CapacityReservationSpecificationAttributes) CapacityReservationTarget

func (CapacityReservationSpecificationAttributes) InternalRef

func (CapacityReservationSpecificationAttributes) InternalTokens

func (CapacityReservationSpecificationAttributes) InternalWithRef

type CapacityReservationSpecificationState

type CapacityReservationSpecificationState struct {
	CapacityReservationPreference string                           `json:"capacity_reservation_preference"`
	CapacityReservationTarget     []CapacityReservationTargetState `json:"capacity_reservation_target"`
}

type CapacityReservationTarget

type CapacityReservationTarget struct {
	// CapacityReservationId: string, optional
	CapacityReservationId terra.StringValue `hcl:"capacity_reservation_id,attr"`
	// CapacityReservationResourceGroupArn: string, optional
	CapacityReservationResourceGroupArn terra.StringValue `hcl:"capacity_reservation_resource_group_arn,attr"`
}

type CapacityReservationTargetAttributes

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

func (CapacityReservationTargetAttributes) CapacityReservationId

func (crt CapacityReservationTargetAttributes) CapacityReservationId() terra.StringValue

func (CapacityReservationTargetAttributes) CapacityReservationResourceGroupArn

func (crt CapacityReservationTargetAttributes) CapacityReservationResourceGroupArn() terra.StringValue

func (CapacityReservationTargetAttributes) InternalRef

func (CapacityReservationTargetAttributes) InternalTokens

func (crt CapacityReservationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacityReservationTargetAttributes) InternalWithRef

type CapacityReservationTargetState

type CapacityReservationTargetState struct {
	CapacityReservationId               string `json:"capacity_reservation_id"`
	CapacityReservationResourceGroupArn string `json:"capacity_reservation_resource_group_arn"`
}

type CpuOptions

type CpuOptions struct {
	// AmdSevSnp: string, optional
	AmdSevSnp terra.StringValue `hcl:"amd_sev_snp,attr"`
	// CoreCount: number, optional
	CoreCount terra.NumberValue `hcl:"core_count,attr"`
	// ThreadsPerCore: number, optional
	ThreadsPerCore terra.NumberValue `hcl:"threads_per_core,attr"`
}

type CpuOptionsAttributes

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

func (CpuOptionsAttributes) AmdSevSnp

func (co CpuOptionsAttributes) AmdSevSnp() terra.StringValue

func (CpuOptionsAttributes) CoreCount

func (co CpuOptionsAttributes) CoreCount() terra.NumberValue

func (CpuOptionsAttributes) InternalRef

func (co CpuOptionsAttributes) InternalRef() (terra.Reference, error)

func (CpuOptionsAttributes) InternalTokens

func (co CpuOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CpuOptionsAttributes) InternalWithRef

func (co CpuOptionsAttributes) InternalWithRef(ref terra.Reference) CpuOptionsAttributes

func (CpuOptionsAttributes) ThreadsPerCore

func (co CpuOptionsAttributes) ThreadsPerCore() terra.NumberValue

type CpuOptionsState

type CpuOptionsState struct {
	AmdSevSnp      string  `json:"amd_sev_snp"`
	CoreCount      float64 `json:"core_count"`
	ThreadsPerCore float64 `json:"threads_per_core"`
}

type CreditSpecification

type CreditSpecification struct {
	// CpuCredits: string, optional
	CpuCredits terra.StringValue `hcl:"cpu_credits,attr"`
}

type CreditSpecificationAttributes

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

func (CreditSpecificationAttributes) CpuCredits

func (CreditSpecificationAttributes) InternalRef

func (cs CreditSpecificationAttributes) InternalRef() (terra.Reference, error)

func (CreditSpecificationAttributes) InternalTokens

func (cs CreditSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CreditSpecificationAttributes) InternalWithRef

type CreditSpecificationState

type CreditSpecificationState struct {
	CpuCredits string `json:"cpu_credits"`
}

type EbsBlockDevice

type EbsBlockDevice struct {
	// DeleteOnTermination: bool, optional
	DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"`
	// DeviceName: string, required
	DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"`
	// Encrypted: bool, optional
	Encrypted terra.BoolValue `hcl:"encrypted,attr"`
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// SnapshotId: string, optional
	SnapshotId terra.StringValue `hcl:"snapshot_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// VolumeSize: number, optional
	VolumeSize terra.NumberValue `hcl:"volume_size,attr"`
	// VolumeType: string, optional
	VolumeType terra.StringValue `hcl:"volume_type,attr"`
}

type EbsBlockDeviceAttributes

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

func (EbsBlockDeviceAttributes) DeleteOnTermination

func (ebd EbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue

func (EbsBlockDeviceAttributes) DeviceName

func (ebd EbsBlockDeviceAttributes) DeviceName() terra.StringValue

func (EbsBlockDeviceAttributes) Encrypted

func (ebd EbsBlockDeviceAttributes) Encrypted() terra.BoolValue

func (EbsBlockDeviceAttributes) InternalRef

func (ebd EbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)

func (EbsBlockDeviceAttributes) InternalTokens

func (ebd EbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EbsBlockDeviceAttributes) InternalWithRef

func (EbsBlockDeviceAttributes) Iops

func (EbsBlockDeviceAttributes) KmsKeyId

func (EbsBlockDeviceAttributes) SnapshotId

func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue

func (EbsBlockDeviceAttributes) Tags

func (EbsBlockDeviceAttributes) Throughput

func (ebd EbsBlockDeviceAttributes) Throughput() terra.NumberValue

func (EbsBlockDeviceAttributes) VolumeId

func (EbsBlockDeviceAttributes) VolumeSize

func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue

func (EbsBlockDeviceAttributes) VolumeType

func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue

type EbsBlockDeviceState

type EbsBlockDeviceState struct {
	DeleteOnTermination bool              `json:"delete_on_termination"`
	DeviceName          string            `json:"device_name"`
	Encrypted           bool              `json:"encrypted"`
	Iops                float64           `json:"iops"`
	KmsKeyId            string            `json:"kms_key_id"`
	SnapshotId          string            `json:"snapshot_id"`
	Tags                map[string]string `json:"tags"`
	Throughput          float64           `json:"throughput"`
	VolumeId            string            `json:"volume_id"`
	VolumeSize          float64           `json:"volume_size"`
	VolumeType          string            `json:"volume_type"`
}

type EnclaveOptions

type EnclaveOptions struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type EnclaveOptionsAttributes

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

func (EnclaveOptionsAttributes) Enabled

func (EnclaveOptionsAttributes) InternalRef

func (eo EnclaveOptionsAttributes) InternalRef() (terra.Reference, error)

func (EnclaveOptionsAttributes) InternalTokens

func (eo EnclaveOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EnclaveOptionsAttributes) InternalWithRef

type EnclaveOptionsState

type EnclaveOptionsState struct {
	Enabled bool `json:"enabled"`
}

type EphemeralBlockDevice

type EphemeralBlockDevice struct {
	// DeviceName: string, required
	DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"`
	// NoDevice: bool, optional
	NoDevice terra.BoolValue `hcl:"no_device,attr"`
	// VirtualName: string, optional
	VirtualName terra.StringValue `hcl:"virtual_name,attr"`
}

type EphemeralBlockDeviceAttributes

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

func (EphemeralBlockDeviceAttributes) DeviceName

func (EphemeralBlockDeviceAttributes) InternalRef

func (ebd EphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)

func (EphemeralBlockDeviceAttributes) InternalTokens

func (ebd EphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EphemeralBlockDeviceAttributes) InternalWithRef

func (EphemeralBlockDeviceAttributes) NoDevice

func (EphemeralBlockDeviceAttributes) VirtualName

type EphemeralBlockDeviceState

type EphemeralBlockDeviceState struct {
	DeviceName  string `json:"device_name"`
	NoDevice    bool   `json:"no_device"`
	VirtualName string `json:"virtual_name"`
}

type LaunchTemplate

type LaunchTemplate struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type LaunchTemplateAttributes

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

func (LaunchTemplateAttributes) Id

func (LaunchTemplateAttributes) InternalRef

func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)

func (LaunchTemplateAttributes) InternalTokens

func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LaunchTemplateAttributes) InternalWithRef

func (LaunchTemplateAttributes) Name

func (LaunchTemplateAttributes) Version

type LaunchTemplateState

type LaunchTemplateState struct {
	Id      string `json:"id"`
	Name    string `json:"name"`
	Version string `json:"version"`
}

type MaintenanceOptions

type MaintenanceOptions struct {
	// AutoRecovery: string, optional
	AutoRecovery terra.StringValue `hcl:"auto_recovery,attr"`
}

type MaintenanceOptionsAttributes

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

func (MaintenanceOptionsAttributes) AutoRecovery

func (MaintenanceOptionsAttributes) InternalRef

func (mo MaintenanceOptionsAttributes) InternalRef() (terra.Reference, error)

func (MaintenanceOptionsAttributes) InternalTokens

func (mo MaintenanceOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MaintenanceOptionsAttributes) InternalWithRef

type MaintenanceOptionsState

type MaintenanceOptionsState struct {
	AutoRecovery string `json:"auto_recovery"`
}

type MetadataOptions

type MetadataOptions struct {
	// HttpEndpoint: string, optional
	HttpEndpoint terra.StringValue `hcl:"http_endpoint,attr"`
	// HttpPutResponseHopLimit: number, optional
	HttpPutResponseHopLimit terra.NumberValue `hcl:"http_put_response_hop_limit,attr"`
	// HttpTokens: string, optional
	HttpTokens terra.StringValue `hcl:"http_tokens,attr"`
	// InstanceMetadataTags: string, optional
	InstanceMetadataTags terra.StringValue `hcl:"instance_metadata_tags,attr"`
}

type MetadataOptionsAttributes

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

func (MetadataOptionsAttributes) HttpEndpoint

func (mo MetadataOptionsAttributes) HttpEndpoint() terra.StringValue

func (MetadataOptionsAttributes) HttpPutResponseHopLimit

func (mo MetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue

func (MetadataOptionsAttributes) HttpTokens

func (MetadataOptionsAttributes) InstanceMetadataTags

func (mo MetadataOptionsAttributes) InstanceMetadataTags() terra.StringValue

func (MetadataOptionsAttributes) InternalRef

func (mo MetadataOptionsAttributes) InternalRef() (terra.Reference, error)

func (MetadataOptionsAttributes) InternalTokens

func (mo MetadataOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetadataOptionsAttributes) InternalWithRef

type MetadataOptionsState

type MetadataOptionsState struct {
	HttpEndpoint            string  `json:"http_endpoint"`
	HttpPutResponseHopLimit float64 `json:"http_put_response_hop_limit"`
	HttpTokens              string  `json:"http_tokens"`
	InstanceMetadataTags    string  `json:"instance_metadata_tags"`
}

type NetworkInterface

type NetworkInterface struct {
	// DeleteOnTermination: bool, optional
	DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"`
	// DeviceIndex: number, required
	DeviceIndex terra.NumberValue `hcl:"device_index,attr" validate:"required"`
	// NetworkCardIndex: number, optional
	NetworkCardIndex terra.NumberValue `hcl:"network_card_index,attr"`
	// NetworkInterfaceId: string, required
	NetworkInterfaceId terra.StringValue `hcl:"network_interface_id,attr" validate:"required"`
}

type NetworkInterfaceAttributes

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

func (NetworkInterfaceAttributes) DeleteOnTermination

func (ni NetworkInterfaceAttributes) DeleteOnTermination() terra.BoolValue

func (NetworkInterfaceAttributes) DeviceIndex

func (ni NetworkInterfaceAttributes) DeviceIndex() 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) NetworkCardIndex

func (ni NetworkInterfaceAttributes) NetworkCardIndex() terra.NumberValue

func (NetworkInterfaceAttributes) NetworkInterfaceId

func (ni NetworkInterfaceAttributes) NetworkInterfaceId() terra.StringValue

type NetworkInterfaceState

type NetworkInterfaceState struct {
	DeleteOnTermination bool    `json:"delete_on_termination"`
	DeviceIndex         float64 `json:"device_index"`
	NetworkCardIndex    float64 `json:"network_card_index"`
	NetworkInterfaceId  string  `json:"network_interface_id"`
}

type PrivateDnsNameOptions

type PrivateDnsNameOptions struct {
	// EnableResourceNameDnsARecord: bool, optional
	EnableResourceNameDnsARecord terra.BoolValue `hcl:"enable_resource_name_dns_a_record,attr"`
	// EnableResourceNameDnsAaaaRecord: bool, optional
	EnableResourceNameDnsAaaaRecord terra.BoolValue `hcl:"enable_resource_name_dns_aaaa_record,attr"`
	// HostnameType: string, optional
	HostnameType terra.StringValue `hcl:"hostname_type,attr"`
}

type PrivateDnsNameOptionsAttributes

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

func (PrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord

func (pdno PrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord() terra.BoolValue

func (PrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord

func (pdno PrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord() terra.BoolValue

func (PrivateDnsNameOptionsAttributes) HostnameType

func (PrivateDnsNameOptionsAttributes) InternalRef

func (pdno PrivateDnsNameOptionsAttributes) InternalRef() (terra.Reference, error)

func (PrivateDnsNameOptionsAttributes) InternalTokens

func (pdno PrivateDnsNameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrivateDnsNameOptionsAttributes) InternalWithRef

type PrivateDnsNameOptionsState

type PrivateDnsNameOptionsState struct {
	EnableResourceNameDnsARecord    bool   `json:"enable_resource_name_dns_a_record"`
	EnableResourceNameDnsAaaaRecord bool   `json:"enable_resource_name_dns_aaaa_record"`
	HostnameType                    string `json:"hostname_type"`
}

type RootBlockDevice

type RootBlockDevice struct {
	// DeleteOnTermination: bool, optional
	DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"`
	// Encrypted: bool, optional
	Encrypted terra.BoolValue `hcl:"encrypted,attr"`
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// VolumeSize: number, optional
	VolumeSize terra.NumberValue `hcl:"volume_size,attr"`
	// VolumeType: string, optional
	VolumeType terra.StringValue `hcl:"volume_type,attr"`
}

type RootBlockDeviceAttributes

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

func (RootBlockDeviceAttributes) DeleteOnTermination

func (rbd RootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue

func (RootBlockDeviceAttributes) DeviceName

func (rbd RootBlockDeviceAttributes) DeviceName() terra.StringValue

func (RootBlockDeviceAttributes) Encrypted

func (rbd RootBlockDeviceAttributes) Encrypted() terra.BoolValue

func (RootBlockDeviceAttributes) InternalRef

func (rbd RootBlockDeviceAttributes) InternalRef() (terra.Reference, error)

func (RootBlockDeviceAttributes) InternalTokens

func (rbd RootBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RootBlockDeviceAttributes) InternalWithRef

func (RootBlockDeviceAttributes) Iops

func (RootBlockDeviceAttributes) KmsKeyId

func (RootBlockDeviceAttributes) Tags

func (RootBlockDeviceAttributes) Throughput

func (rbd RootBlockDeviceAttributes) Throughput() terra.NumberValue

func (RootBlockDeviceAttributes) VolumeId

func (RootBlockDeviceAttributes) VolumeSize

func (rbd RootBlockDeviceAttributes) VolumeSize() terra.NumberValue

func (RootBlockDeviceAttributes) VolumeType

func (rbd RootBlockDeviceAttributes) VolumeType() terra.StringValue

type RootBlockDeviceState

type RootBlockDeviceState struct {
	DeleteOnTermination bool              `json:"delete_on_termination"`
	DeviceName          string            `json:"device_name"`
	Encrypted           bool              `json:"encrypted"`
	Iops                float64           `json:"iops"`
	KmsKeyId            string            `json:"kms_key_id"`
	Tags                map[string]string `json:"tags"`
	Throughput          float64           `json:"throughput"`
	VolumeId            string            `json:"volume_id"`
	VolumeSize          float64           `json:"volume_size"`
	VolumeType          string            `json:"volume_type"`
}

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