dataautoscalinggroup

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 AcceleratorCount

type AcceleratorCount struct{}

type AcceleratorCountAttributes

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

func (AcceleratorCountAttributes) InternalRef

func (ac AcceleratorCountAttributes) InternalRef() (terra.Reference, error)

func (AcceleratorCountAttributes) InternalTokens

func (ac AcceleratorCountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AcceleratorCountAttributes) InternalWithRef

func (AcceleratorCountAttributes) Max

func (AcceleratorCountAttributes) Min

type AcceleratorCountState

type AcceleratorCountState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type AcceleratorTotalMemoryMib

type AcceleratorTotalMemoryMib struct{}

type AcceleratorTotalMemoryMibAttributes

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

func (AcceleratorTotalMemoryMibAttributes) InternalRef

func (AcceleratorTotalMemoryMibAttributes) InternalTokens

func (atmm AcceleratorTotalMemoryMibAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AcceleratorTotalMemoryMibAttributes) InternalWithRef

func (AcceleratorTotalMemoryMibAttributes) Max

func (AcceleratorTotalMemoryMibAttributes) Min

type AcceleratorTotalMemoryMibState

type AcceleratorTotalMemoryMibState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type BaselineEbsBandwidthMbps

type BaselineEbsBandwidthMbps struct{}

type BaselineEbsBandwidthMbpsAttributes

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

func (BaselineEbsBandwidthMbpsAttributes) InternalRef

func (BaselineEbsBandwidthMbpsAttributes) InternalTokens

func (bebm BaselineEbsBandwidthMbpsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BaselineEbsBandwidthMbpsAttributes) InternalWithRef

func (BaselineEbsBandwidthMbpsAttributes) Max

func (BaselineEbsBandwidthMbpsAttributes) Min

type BaselineEbsBandwidthMbpsState

type BaselineEbsBandwidthMbpsState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type InstanceRequirements

type InstanceRequirements struct {
	// AcceleratorCount: min=0
	AcceleratorCount []AcceleratorCount `hcl:"accelerator_count,block" validate:"min=0"`
	// AcceleratorTotalMemoryMib: min=0
	AcceleratorTotalMemoryMib []AcceleratorTotalMemoryMib `hcl:"accelerator_total_memory_mib,block" validate:"min=0"`
	// BaselineEbsBandwidthMbps: min=0
	BaselineEbsBandwidthMbps []BaselineEbsBandwidthMbps `hcl:"baseline_ebs_bandwidth_mbps,block" validate:"min=0"`
	// MemoryGibPerVcpu: min=0
	MemoryGibPerVcpu []MemoryGibPerVcpu `hcl:"memory_gib_per_vcpu,block" validate:"min=0"`
	// MemoryMib: min=0
	MemoryMib []MemoryMib `hcl:"memory_mib,block" validate:"min=0"`
	// NetworkBandwidthGbps: min=0
	NetworkBandwidthGbps []NetworkBandwidthGbps `hcl:"network_bandwidth_gbps,block" validate:"min=0"`
	// NetworkInterfaceCount: min=0
	NetworkInterfaceCount []NetworkInterfaceCount `hcl:"network_interface_count,block" validate:"min=0"`
	// TotalLocalStorageGb: min=0
	TotalLocalStorageGb []TotalLocalStorageGb `hcl:"total_local_storage_gb,block" validate:"min=0"`
	// VcpuCount: min=0
	VcpuCount []VcpuCount `hcl:"vcpu_count,block" validate:"min=0"`
}

type InstanceRequirementsAttributes

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

func (InstanceRequirementsAttributes) AcceleratorCount

func (InstanceRequirementsAttributes) AcceleratorManufacturers

func (ir InstanceRequirementsAttributes) AcceleratorManufacturers() terra.SetValue[terra.StringValue]

func (InstanceRequirementsAttributes) AcceleratorNames

func (InstanceRequirementsAttributes) AcceleratorTotalMemoryMib

func (InstanceRequirementsAttributes) AcceleratorTypes

func (InstanceRequirementsAttributes) AllowedInstanceTypes

func (ir InstanceRequirementsAttributes) AllowedInstanceTypes() terra.SetValue[terra.StringValue]

func (InstanceRequirementsAttributes) BareMetal

func (InstanceRequirementsAttributes) BaselineEbsBandwidthMbps

func (InstanceRequirementsAttributes) BurstablePerformance

func (ir InstanceRequirementsAttributes) BurstablePerformance() terra.StringValue

func (InstanceRequirementsAttributes) CpuManufacturers

func (InstanceRequirementsAttributes) ExcludedInstanceTypes

func (ir InstanceRequirementsAttributes) ExcludedInstanceTypes() terra.SetValue[terra.StringValue]

func (InstanceRequirementsAttributes) InstanceGenerations

func (InstanceRequirementsAttributes) InternalRef

func (InstanceRequirementsAttributes) InternalTokens

func (ir InstanceRequirementsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstanceRequirementsAttributes) InternalWithRef

func (InstanceRequirementsAttributes) LocalStorage

func (InstanceRequirementsAttributes) LocalStorageTypes

func (InstanceRequirementsAttributes) MemoryGibPerVcpu

func (InstanceRequirementsAttributes) MemoryMib

func (InstanceRequirementsAttributes) NetworkBandwidthGbps

func (InstanceRequirementsAttributes) NetworkInterfaceCount

func (InstanceRequirementsAttributes) OnDemandMaxPricePercentageOverLowestPrice

func (ir InstanceRequirementsAttributes) OnDemandMaxPricePercentageOverLowestPrice() terra.NumberValue

func (InstanceRequirementsAttributes) RequireHibernateSupport

func (ir InstanceRequirementsAttributes) RequireHibernateSupport() terra.BoolValue

func (InstanceRequirementsAttributes) SpotMaxPricePercentageOverLowestPrice

func (ir InstanceRequirementsAttributes) SpotMaxPricePercentageOverLowestPrice() terra.NumberValue

func (InstanceRequirementsAttributes) TotalLocalStorageGb

func (InstanceRequirementsAttributes) VcpuCount

type InstanceRequirementsState

type InstanceRequirementsState struct {
	AcceleratorManufacturers                  []string                         `json:"accelerator_manufacturers"`
	AcceleratorNames                          []string                         `json:"accelerator_names"`
	AcceleratorTypes                          []string                         `json:"accelerator_types"`
	AllowedInstanceTypes                      []string                         `json:"allowed_instance_types"`
	BareMetal                                 string                           `json:"bare_metal"`
	BurstablePerformance                      string                           `json:"burstable_performance"`
	CpuManufacturers                          []string                         `json:"cpu_manufacturers"`
	ExcludedInstanceTypes                     []string                         `json:"excluded_instance_types"`
	InstanceGenerations                       []string                         `json:"instance_generations"`
	LocalStorage                              string                           `json:"local_storage"`
	LocalStorageTypes                         []string                         `json:"local_storage_types"`
	OnDemandMaxPricePercentageOverLowestPrice float64                          `json:"on_demand_max_price_percentage_over_lowest_price"`
	RequireHibernateSupport                   bool                             `json:"require_hibernate_support"`
	SpotMaxPricePercentageOverLowestPrice     float64                          `json:"spot_max_price_percentage_over_lowest_price"`
	AcceleratorCount                          []AcceleratorCountState          `json:"accelerator_count"`
	AcceleratorTotalMemoryMib                 []AcceleratorTotalMemoryMibState `json:"accelerator_total_memory_mib"`
	BaselineEbsBandwidthMbps                  []BaselineEbsBandwidthMbpsState  `json:"baseline_ebs_bandwidth_mbps"`
	MemoryGibPerVcpu                          []MemoryGibPerVcpuState          `json:"memory_gib_per_vcpu"`
	MemoryMib                                 []MemoryMibState                 `json:"memory_mib"`
	NetworkBandwidthGbps                      []NetworkBandwidthGbpsState      `json:"network_bandwidth_gbps"`
	NetworkInterfaceCount                     []NetworkInterfaceCountState     `json:"network_interface_count"`
	TotalLocalStorageGb                       []TotalLocalStorageGbState       `json:"total_local_storage_gb"`
	VcpuCount                                 []VcpuCountState                 `json:"vcpu_count"`
}

type InstanceReusePolicy

type InstanceReusePolicy struct{}

type InstanceReusePolicyAttributes

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

func (InstanceReusePolicyAttributes) InternalRef

func (irp InstanceReusePolicyAttributes) InternalRef() (terra.Reference, error)

func (InstanceReusePolicyAttributes) InternalTokens

func (irp InstanceReusePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstanceReusePolicyAttributes) InternalWithRef

func (InstanceReusePolicyAttributes) ReuseOnScaleIn

func (irp InstanceReusePolicyAttributes) ReuseOnScaleIn() terra.BoolValue

type InstanceReusePolicyState

type InstanceReusePolicyState struct {
	ReuseOnScaleIn bool `json:"reuse_on_scale_in"`
}

type InstancesDistribution

type InstancesDistribution struct{}

type InstancesDistributionAttributes

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

func (InstancesDistributionAttributes) InternalRef

func (InstancesDistributionAttributes) InternalTokens

func (id InstancesDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstancesDistributionAttributes) InternalWithRef

func (InstancesDistributionAttributes) OnDemandAllocationStrategy

func (id InstancesDistributionAttributes) OnDemandAllocationStrategy() terra.StringValue

func (InstancesDistributionAttributes) OnDemandBaseCapacity

func (id InstancesDistributionAttributes) OnDemandBaseCapacity() terra.NumberValue

func (InstancesDistributionAttributes) OnDemandPercentageAboveBaseCapacity

func (id InstancesDistributionAttributes) OnDemandPercentageAboveBaseCapacity() terra.NumberValue

func (InstancesDistributionAttributes) SpotAllocationStrategy

func (id InstancesDistributionAttributes) SpotAllocationStrategy() terra.StringValue

func (InstancesDistributionAttributes) SpotInstancePools

func (id InstancesDistributionAttributes) SpotInstancePools() terra.NumberValue

func (InstancesDistributionAttributes) SpotMaxPrice

type InstancesDistributionState

type InstancesDistributionState struct {
	OnDemandAllocationStrategy          string  `json:"on_demand_allocation_strategy"`
	OnDemandBaseCapacity                float64 `json:"on_demand_base_capacity"`
	OnDemandPercentageAboveBaseCapacity float64 `json:"on_demand_percentage_above_base_capacity"`
	SpotAllocationStrategy              string  `json:"spot_allocation_strategy"`
	SpotInstancePools                   float64 `json:"spot_instance_pools"`
	SpotMaxPrice                        string  `json:"spot_max_price"`
}

type LaunchTemplate

type LaunchTemplate struct{}

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 LaunchTemplateLaunchTemplateSpecification

type LaunchTemplateLaunchTemplateSpecification struct{}

type LaunchTemplateLaunchTemplateSpecificationAttributes

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

func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalRef

func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalTokens

func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalWithRef

func (LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateId

func (LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateName

func (LaunchTemplateLaunchTemplateSpecificationAttributes) Version

type LaunchTemplateLaunchTemplateSpecificationState

type LaunchTemplateLaunchTemplateSpecificationState struct {
	LaunchTemplateId   string `json:"launch_template_id"`
	LaunchTemplateName string `json:"launch_template_name"`
	Version            string `json:"version"`
}

type LaunchTemplateState

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

type MemoryGibPerVcpu

type MemoryGibPerVcpu struct{}

type MemoryGibPerVcpuAttributes

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

func (MemoryGibPerVcpuAttributes) InternalRef

func (mgpv MemoryGibPerVcpuAttributes) InternalRef() (terra.Reference, error)

func (MemoryGibPerVcpuAttributes) InternalTokens

func (mgpv MemoryGibPerVcpuAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MemoryGibPerVcpuAttributes) InternalWithRef

func (MemoryGibPerVcpuAttributes) Max

func (MemoryGibPerVcpuAttributes) Min

type MemoryGibPerVcpuState

type MemoryGibPerVcpuState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type MemoryMib

type MemoryMib struct{}

type MemoryMibAttributes

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

func (MemoryMibAttributes) InternalRef

func (mm MemoryMibAttributes) InternalRef() (terra.Reference, error)

func (MemoryMibAttributes) InternalTokens

func (mm MemoryMibAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MemoryMibAttributes) InternalWithRef

func (mm MemoryMibAttributes) InternalWithRef(ref terra.Reference) MemoryMibAttributes

func (MemoryMibAttributes) Max

func (MemoryMibAttributes) Min

type MemoryMibState

type MemoryMibState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type MixedInstancesPolicy

type MixedInstancesPolicy struct {
	// InstancesDistribution: min=0
	InstancesDistribution []InstancesDistribution `hcl:"instances_distribution,block" validate:"min=0"`
	// MixedInstancesPolicyLaunchTemplate: min=0
	LaunchTemplate []MixedInstancesPolicyLaunchTemplate `hcl:"launch_template,block" validate:"min=0"`
}

type MixedInstancesPolicyAttributes

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

func (MixedInstancesPolicyAttributes) InstancesDistribution

func (MixedInstancesPolicyAttributes) InternalRef

func (mip MixedInstancesPolicyAttributes) InternalRef() (terra.Reference, error)

func (MixedInstancesPolicyAttributes) InternalTokens

func (mip MixedInstancesPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MixedInstancesPolicyAttributes) InternalWithRef

func (MixedInstancesPolicyAttributes) LaunchTemplate

type MixedInstancesPolicyLaunchTemplate

type MixedInstancesPolicyLaunchTemplate struct {
	// LaunchTemplateLaunchTemplateSpecification: min=0
	LaunchTemplateSpecification []LaunchTemplateLaunchTemplateSpecification `hcl:"launch_template_specification,block" validate:"min=0"`
	// Override: min=0
	Override []Override `hcl:"override,block" validate:"min=0"`
}

type MixedInstancesPolicyLaunchTemplateAttributes

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

func (MixedInstancesPolicyLaunchTemplateAttributes) InternalRef

func (MixedInstancesPolicyLaunchTemplateAttributes) InternalTokens

func (MixedInstancesPolicyLaunchTemplateAttributes) InternalWithRef

func (MixedInstancesPolicyLaunchTemplateAttributes) LaunchTemplateSpecification

func (MixedInstancesPolicyLaunchTemplateAttributes) Override

type MixedInstancesPolicyLaunchTemplateState

type MixedInstancesPolicyLaunchTemplateState struct {
	LaunchTemplateSpecification []LaunchTemplateLaunchTemplateSpecificationState `json:"launch_template_specification"`
	Override                    []OverrideState                                  `json:"override"`
}

type MixedInstancesPolicyState

type MixedInstancesPolicyState struct {
	InstancesDistribution []InstancesDistributionState              `json:"instances_distribution"`
	LaunchTemplate        []MixedInstancesPolicyLaunchTemplateState `json:"launch_template"`
}

type NetworkBandwidthGbps

type NetworkBandwidthGbps struct{}

type NetworkBandwidthGbpsAttributes

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

func (NetworkBandwidthGbpsAttributes) InternalRef

func (nbg NetworkBandwidthGbpsAttributes) InternalRef() (terra.Reference, error)

func (NetworkBandwidthGbpsAttributes) InternalTokens

func (nbg NetworkBandwidthGbpsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkBandwidthGbpsAttributes) InternalWithRef

func (NetworkBandwidthGbpsAttributes) Max

func (NetworkBandwidthGbpsAttributes) Min

type NetworkBandwidthGbpsState

type NetworkBandwidthGbpsState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type NetworkInterfaceCount

type NetworkInterfaceCount struct{}

type NetworkInterfaceCountAttributes

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

func (NetworkInterfaceCountAttributes) InternalRef

func (NetworkInterfaceCountAttributes) InternalTokens

func (nic NetworkInterfaceCountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkInterfaceCountAttributes) InternalWithRef

func (NetworkInterfaceCountAttributes) Max

func (NetworkInterfaceCountAttributes) Min

type NetworkInterfaceCountState

type NetworkInterfaceCountState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type Override

type Override struct {
	// InstanceRequirements: min=0
	InstanceRequirements []InstanceRequirements `hcl:"instance_requirements,block" validate:"min=0"`
	// OverrideLaunchTemplateSpecification: min=0
	LaunchTemplateSpecification []OverrideLaunchTemplateSpecification `hcl:"launch_template_specification,block" validate:"min=0"`
}

type OverrideAttributes

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

func (OverrideAttributes) InstanceRequirements

func (OverrideAttributes) InstanceType

func (o OverrideAttributes) InstanceType() terra.StringValue

func (OverrideAttributes) InternalRef

func (o OverrideAttributes) InternalRef() (terra.Reference, error)

func (OverrideAttributes) InternalTokens

func (o OverrideAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OverrideAttributes) InternalWithRef

func (o OverrideAttributes) InternalWithRef(ref terra.Reference) OverrideAttributes

func (OverrideAttributes) LaunchTemplateSpecification

func (OverrideAttributes) WeightedCapacity

func (o OverrideAttributes) WeightedCapacity() terra.StringValue

type OverrideLaunchTemplateSpecification

type OverrideLaunchTemplateSpecification struct{}

type OverrideLaunchTemplateSpecificationAttributes

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

func (OverrideLaunchTemplateSpecificationAttributes) InternalRef

func (OverrideLaunchTemplateSpecificationAttributes) InternalTokens

func (OverrideLaunchTemplateSpecificationAttributes) InternalWithRef

func (OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateId

func (OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateName

func (OverrideLaunchTemplateSpecificationAttributes) Version

type OverrideLaunchTemplateSpecificationState

type OverrideLaunchTemplateSpecificationState struct {
	LaunchTemplateId   string `json:"launch_template_id"`
	LaunchTemplateName string `json:"launch_template_name"`
	Version            string `json:"version"`
}

type OverrideState

type OverrideState struct {
	InstanceType                string                                     `json:"instance_type"`
	WeightedCapacity            string                                     `json:"weighted_capacity"`
	InstanceRequirements        []InstanceRequirementsState                `json:"instance_requirements"`
	LaunchTemplateSpecification []OverrideLaunchTemplateSpecificationState `json:"launch_template_specification"`
}

type Tag

type Tag struct{}

type TagAttributes

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

func (TagAttributes) InternalRef

func (t TagAttributes) InternalRef() (terra.Reference, error)

func (TagAttributes) InternalTokens

func (t TagAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TagAttributes) InternalWithRef

func (t TagAttributes) InternalWithRef(ref terra.Reference) TagAttributes

func (TagAttributes) Key

func (TagAttributes) PropagateAtLaunch

func (t TagAttributes) PropagateAtLaunch() terra.BoolValue

func (TagAttributes) Value

func (t TagAttributes) Value() terra.StringValue

type TagState

type TagState struct {
	Key               string `json:"key"`
	PropagateAtLaunch bool   `json:"propagate_at_launch"`
	Value             string `json:"value"`
}

type TotalLocalStorageGb

type TotalLocalStorageGb struct{}

type TotalLocalStorageGbAttributes

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

func (TotalLocalStorageGbAttributes) InternalRef

func (tlsg TotalLocalStorageGbAttributes) InternalRef() (terra.Reference, error)

func (TotalLocalStorageGbAttributes) InternalTokens

func (tlsg TotalLocalStorageGbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TotalLocalStorageGbAttributes) InternalWithRef

func (TotalLocalStorageGbAttributes) Max

func (TotalLocalStorageGbAttributes) Min

type TotalLocalStorageGbState

type TotalLocalStorageGbState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type TrafficSource

type TrafficSource struct{}

type TrafficSourceAttributes

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

func (TrafficSourceAttributes) Identifier

func (ts TrafficSourceAttributes) Identifier() terra.StringValue

func (TrafficSourceAttributes) InternalRef

func (ts TrafficSourceAttributes) InternalRef() (terra.Reference, error)

func (TrafficSourceAttributes) InternalTokens

func (ts TrafficSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TrafficSourceAttributes) InternalWithRef

func (TrafficSourceAttributes) Type

type TrafficSourceState

type TrafficSourceState struct {
	Identifier string `json:"identifier"`
	Type       string `json:"type"`
}

type VcpuCount

type VcpuCount struct{}

type VcpuCountAttributes

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

func (VcpuCountAttributes) InternalRef

func (vc VcpuCountAttributes) InternalRef() (terra.Reference, error)

func (VcpuCountAttributes) InternalTokens

func (vc VcpuCountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VcpuCountAttributes) InternalWithRef

func (vc VcpuCountAttributes) InternalWithRef(ref terra.Reference) VcpuCountAttributes

func (VcpuCountAttributes) Max

func (VcpuCountAttributes) Min

type VcpuCountState

type VcpuCountState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type WarmPool

type WarmPool struct {
	// InstanceReusePolicy: min=0
	InstanceReusePolicy []InstanceReusePolicy `hcl:"instance_reuse_policy,block" validate:"min=0"`
}

type WarmPoolAttributes

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

func (WarmPoolAttributes) InstanceReusePolicy

func (WarmPoolAttributes) InternalRef

func (wp WarmPoolAttributes) InternalRef() (terra.Reference, error)

func (WarmPoolAttributes) InternalTokens

func (wp WarmPoolAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WarmPoolAttributes) InternalWithRef

func (wp WarmPoolAttributes) InternalWithRef(ref terra.Reference) WarmPoolAttributes

func (WarmPoolAttributes) MaxGroupPreparedCapacity

func (wp WarmPoolAttributes) MaxGroupPreparedCapacity() terra.NumberValue

func (WarmPoolAttributes) MinSize

func (wp WarmPoolAttributes) MinSize() terra.NumberValue

func (WarmPoolAttributes) PoolState

func (wp WarmPoolAttributes) PoolState() terra.StringValue

type WarmPoolState

type WarmPoolState struct {
	MaxGroupPreparedCapacity float64                    `json:"max_group_prepared_capacity"`
	MinSize                  float64                    `json:"min_size"`
	PoolState                string                     `json:"pool_state"`
	InstanceReusePolicy      []InstanceReusePolicyState `json:"instance_reuse_policy"`
}

Jump to

Keyboard shortcuts

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