Documentation ¶
Index ¶
- type Args
- type Resource
- func (gmcps *Resource) Attributes() googleMigrationCenterPreferenceSetAttributes
- func (gmcps *Resource) Configuration() interface{}
- func (gmcps *Resource) DependOn() terra.Reference
- func (gmcps *Resource) Dependencies() terra.Dependencies
- func (gmcps *Resource) ImportState(state io.Reader) error
- func (gmcps *Resource) LifecycleManagement() *terra.Lifecycle
- func (gmcps *Resource) LocalName() string
- func (gmcps *Resource) State() (*googleMigrationCenterPreferenceSetState, bool)
- func (gmcps *Resource) StateMust() *googleMigrationCenterPreferenceSetState
- func (gmcps *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type VirtualMachinePreferences
- type VirtualMachinePreferencesAttributes
- func (vmp VirtualMachinePreferencesAttributes) CommitmentPlan() terra.StringValue
- func (vmp VirtualMachinePreferencesAttributes) ComputeEnginePreferences() terra.ListValue[VirtualMachinePreferencesComputeEnginePreferencesAttributes]
- func (vmp VirtualMachinePreferencesAttributes) InternalRef() (terra.Reference, error)
- func (vmp VirtualMachinePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vmp VirtualMachinePreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesAttributes
- func (vmp VirtualMachinePreferencesAttributes) RegionPreferences() terra.ListValue[VirtualMachinePreferencesRegionPreferencesAttributes]
- func (vmp VirtualMachinePreferencesAttributes) SizingOptimizationStrategy() terra.StringValue
- func (vmp VirtualMachinePreferencesAttributes) SoleTenancyPreferences() terra.ListValue[VirtualMachinePreferencesSoleTenancyPreferencesAttributes]
- func (vmp VirtualMachinePreferencesAttributes) TargetProduct() terra.StringValue
- func (vmp VirtualMachinePreferencesAttributes) VmwareEnginePreferences() terra.ListValue[VirtualMachinePreferencesVmwareEnginePreferencesAttributes]
- type VirtualMachinePreferencesComputeEnginePreferences
- type VirtualMachinePreferencesComputeEnginePreferencesAttributes
- func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalRef() (terra.Reference, error)
- func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesComputeEnginePreferencesAttributes
- func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) LicenseType() terra.StringValue
- func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) MachinePreferences() ...
- type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferences
- type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries
- type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes
- func (ams VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) Code() terra.StringValue
- func (ams VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalRef() (terra.Reference, error)
- func (ams VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ams VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalWithRef(ref terra.Reference) ...
- type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesState
- type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes
- func (mp VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) AllowedMachineSeries() ...
- func (mp VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalRef() (terra.Reference, error)
- func (mp VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mp VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes
- type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesState
- type VirtualMachinePreferencesComputeEnginePreferencesState
- type VirtualMachinePreferencesRegionPreferences
- type VirtualMachinePreferencesRegionPreferencesAttributes
- func (rp VirtualMachinePreferencesRegionPreferencesAttributes) InternalRef() (terra.Reference, error)
- func (rp VirtualMachinePreferencesRegionPreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp VirtualMachinePreferencesRegionPreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesRegionPreferencesAttributes
- func (rp VirtualMachinePreferencesRegionPreferencesAttributes) PreferredRegions() terra.ListValue[terra.StringValue]
- type VirtualMachinePreferencesRegionPreferencesState
- type VirtualMachinePreferencesSoleTenancyPreferences
- type VirtualMachinePreferencesSoleTenancyPreferencesAttributes
- func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) CommitmentPlan() terra.StringValue
- func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) CpuOvercommitRatio() terra.NumberValue
- func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) HostMaintenancePolicy() terra.StringValue
- func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalRef() (terra.Reference, error)
- func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesSoleTenancyPreferencesAttributes
- func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) NodeTypes() ...
- type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypes
- type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes
- func (nt VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalRef() (terra.Reference, error)
- func (nt VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nt VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes
- func (nt VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) NodeName() terra.StringValue
- type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesState
- type VirtualMachinePreferencesSoleTenancyPreferencesState
- type VirtualMachinePreferencesState
- type VirtualMachinePreferencesVmwareEnginePreferences
- type VirtualMachinePreferencesVmwareEnginePreferencesAttributes
- func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) CommitmentPlan() terra.StringValue
- func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) CpuOvercommitRatio() terra.NumberValue
- func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalRef() (terra.Reference, error)
- func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesVmwareEnginePreferencesAttributes
- func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) MemoryOvercommitRatio() terra.NumberValue
- func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) StorageDeduplicationCompressionRatio() terra.NumberValue
- type VirtualMachinePreferencesVmwareEnginePreferencesState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // PreferenceSetId: string, required PreferenceSetId terra.StringValue `hcl:"preference_set_id,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VirtualMachinePreferences: optional VirtualMachinePreferences *VirtualMachinePreferences `hcl:"virtual_machine_preferences,block"` }
Args contains the configurations for google_migration_center_preference_set.
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_migration_center_preference_set.
func (*Resource) Attributes ¶
func (gmcps *Resource) Attributes() googleMigrationCenterPreferenceSetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gmcps *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gmcps *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type VirtualMachinePreferences ¶
type VirtualMachinePreferences struct { // CommitmentPlan: string, optional CommitmentPlan terra.StringValue `hcl:"commitment_plan,attr"` // SizingOptimizationStrategy: string, optional SizingOptimizationStrategy terra.StringValue `hcl:"sizing_optimization_strategy,attr"` // TargetProduct: string, optional TargetProduct terra.StringValue `hcl:"target_product,attr"` // VirtualMachinePreferencesComputeEnginePreferences: optional ComputeEnginePreferences *VirtualMachinePreferencesComputeEnginePreferences `hcl:"compute_engine_preferences,block"` // VirtualMachinePreferencesRegionPreferences: optional RegionPreferences *VirtualMachinePreferencesRegionPreferences `hcl:"region_preferences,block"` // VirtualMachinePreferencesSoleTenancyPreferences: optional SoleTenancyPreferences *VirtualMachinePreferencesSoleTenancyPreferences `hcl:"sole_tenancy_preferences,block"` // VirtualMachinePreferencesVmwareEnginePreferences: optional VmwareEnginePreferences *VirtualMachinePreferencesVmwareEnginePreferences `hcl:"vmware_engine_preferences,block"` }
type VirtualMachinePreferencesAttributes ¶
type VirtualMachinePreferencesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesAttributes) CommitmentPlan ¶
func (vmp VirtualMachinePreferencesAttributes) CommitmentPlan() terra.StringValue
func (VirtualMachinePreferencesAttributes) ComputeEnginePreferences ¶
func (vmp VirtualMachinePreferencesAttributes) ComputeEnginePreferences() terra.ListValue[VirtualMachinePreferencesComputeEnginePreferencesAttributes]
func (VirtualMachinePreferencesAttributes) InternalRef ¶
func (vmp VirtualMachinePreferencesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesAttributes) InternalTokens ¶
func (vmp VirtualMachinePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesAttributes) InternalWithRef ¶
func (vmp VirtualMachinePreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesAttributes
func (VirtualMachinePreferencesAttributes) RegionPreferences ¶
func (vmp VirtualMachinePreferencesAttributes) RegionPreferences() terra.ListValue[VirtualMachinePreferencesRegionPreferencesAttributes]
func (VirtualMachinePreferencesAttributes) SizingOptimizationStrategy ¶
func (vmp VirtualMachinePreferencesAttributes) SizingOptimizationStrategy() terra.StringValue
func (VirtualMachinePreferencesAttributes) SoleTenancyPreferences ¶
func (vmp VirtualMachinePreferencesAttributes) SoleTenancyPreferences() terra.ListValue[VirtualMachinePreferencesSoleTenancyPreferencesAttributes]
func (VirtualMachinePreferencesAttributes) TargetProduct ¶
func (vmp VirtualMachinePreferencesAttributes) TargetProduct() terra.StringValue
func (VirtualMachinePreferencesAttributes) VmwareEnginePreferences ¶
func (vmp VirtualMachinePreferencesAttributes) VmwareEnginePreferences() terra.ListValue[VirtualMachinePreferencesVmwareEnginePreferencesAttributes]
type VirtualMachinePreferencesComputeEnginePreferences ¶
type VirtualMachinePreferencesComputeEnginePreferences struct { // LicenseType: string, optional LicenseType terra.StringValue `hcl:"license_type,attr"` // VirtualMachinePreferencesComputeEnginePreferencesMachinePreferences: optional MachinePreferences *VirtualMachinePreferencesComputeEnginePreferencesMachinePreferences `hcl:"machine_preferences,block"` }
type VirtualMachinePreferencesComputeEnginePreferencesAttributes ¶
type VirtualMachinePreferencesComputeEnginePreferencesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalRef ¶
func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalTokens ¶
func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalWithRef ¶
func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesComputeEnginePreferencesAttributes
func (VirtualMachinePreferencesComputeEnginePreferencesAttributes) LicenseType ¶
func (cep VirtualMachinePreferencesComputeEnginePreferencesAttributes) LicenseType() terra.StringValue
func (VirtualMachinePreferencesComputeEnginePreferencesAttributes) MachinePreferences ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferences ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferences struct { // VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries: min=0 AllowedMachineSeries []VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries `hcl:"allowed_machine_series,block" validate:"min=0"` }
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeries struct { // Code: string, optional Code terra.StringValue `hcl:"code,attr"` }
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) Code ¶
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalRef ¶
func (ams VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalTokens ¶
func (ams VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesAttributes) InternalWithRef ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesState ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesState struct {
Code string `json:"code"`
}
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) AllowedMachineSeries ¶
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalRef ¶
func (mp VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalTokens ¶
func (mp VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAttributes) InternalWithRef ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesState ¶
type VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesState struct {
AllowedMachineSeries []VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesAllowedMachineSeriesState `json:"allowed_machine_series"`
}
type VirtualMachinePreferencesComputeEnginePreferencesState ¶
type VirtualMachinePreferencesComputeEnginePreferencesState struct { LicenseType string `json:"license_type"` MachinePreferences []VirtualMachinePreferencesComputeEnginePreferencesMachinePreferencesState `json:"machine_preferences"` }
type VirtualMachinePreferencesRegionPreferences ¶
type VirtualMachinePreferencesRegionPreferences struct { // PreferredRegions: list of string, optional PreferredRegions terra.ListValue[terra.StringValue] `hcl:"preferred_regions,attr"` }
type VirtualMachinePreferencesRegionPreferencesAttributes ¶
type VirtualMachinePreferencesRegionPreferencesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesRegionPreferencesAttributes) InternalRef ¶
func (rp VirtualMachinePreferencesRegionPreferencesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesRegionPreferencesAttributes) InternalTokens ¶
func (rp VirtualMachinePreferencesRegionPreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesRegionPreferencesAttributes) InternalWithRef ¶
func (rp VirtualMachinePreferencesRegionPreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesRegionPreferencesAttributes
func (VirtualMachinePreferencesRegionPreferencesAttributes) PreferredRegions ¶
func (rp VirtualMachinePreferencesRegionPreferencesAttributes) PreferredRegions() terra.ListValue[terra.StringValue]
type VirtualMachinePreferencesRegionPreferencesState ¶
type VirtualMachinePreferencesRegionPreferencesState struct {
PreferredRegions []string `json:"preferred_regions"`
}
type VirtualMachinePreferencesSoleTenancyPreferences ¶
type VirtualMachinePreferencesSoleTenancyPreferences struct { // CommitmentPlan: string, optional CommitmentPlan terra.StringValue `hcl:"commitment_plan,attr"` // CpuOvercommitRatio: number, optional CpuOvercommitRatio terra.NumberValue `hcl:"cpu_overcommit_ratio,attr"` // HostMaintenancePolicy: string, optional HostMaintenancePolicy terra.StringValue `hcl:"host_maintenance_policy,attr"` // VirtualMachinePreferencesSoleTenancyPreferencesNodeTypes: min=0 NodeTypes []VirtualMachinePreferencesSoleTenancyPreferencesNodeTypes `hcl:"node_types,block" validate:"min=0"` }
type VirtualMachinePreferencesSoleTenancyPreferencesAttributes ¶
type VirtualMachinePreferencesSoleTenancyPreferencesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesSoleTenancyPreferencesAttributes) CommitmentPlan ¶
func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) CommitmentPlan() terra.StringValue
func (VirtualMachinePreferencesSoleTenancyPreferencesAttributes) CpuOvercommitRatio ¶
func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) CpuOvercommitRatio() terra.NumberValue
func (VirtualMachinePreferencesSoleTenancyPreferencesAttributes) HostMaintenancePolicy ¶
func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) HostMaintenancePolicy() terra.StringValue
func (VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalRef ¶
func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalTokens ¶
func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalWithRef ¶
func (stp VirtualMachinePreferencesSoleTenancyPreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesSoleTenancyPreferencesAttributes
type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypes ¶
type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypes struct { // NodeName: string, optional NodeName terra.StringValue `hcl:"node_name,attr"` }
type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes ¶
type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalRef ¶
func (nt VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalTokens ¶
func (nt VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) InternalWithRef ¶
func (VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) NodeName ¶
func (nt VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesAttributes) NodeName() terra.StringValue
type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesState ¶
type VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesState struct {
NodeName string `json:"node_name"`
}
type VirtualMachinePreferencesSoleTenancyPreferencesState ¶
type VirtualMachinePreferencesSoleTenancyPreferencesState struct { CommitmentPlan string `json:"commitment_plan"` CpuOvercommitRatio float64 `json:"cpu_overcommit_ratio"` HostMaintenancePolicy string `json:"host_maintenance_policy"` NodeTypes []VirtualMachinePreferencesSoleTenancyPreferencesNodeTypesState `json:"node_types"` }
type VirtualMachinePreferencesState ¶
type VirtualMachinePreferencesState struct { CommitmentPlan string `json:"commitment_plan"` SizingOptimizationStrategy string `json:"sizing_optimization_strategy"` TargetProduct string `json:"target_product"` ComputeEnginePreferences []VirtualMachinePreferencesComputeEnginePreferencesState `json:"compute_engine_preferences"` RegionPreferences []VirtualMachinePreferencesRegionPreferencesState `json:"region_preferences"` SoleTenancyPreferences []VirtualMachinePreferencesSoleTenancyPreferencesState `json:"sole_tenancy_preferences"` VmwareEnginePreferences []VirtualMachinePreferencesVmwareEnginePreferencesState `json:"vmware_engine_preferences"` }
type VirtualMachinePreferencesVmwareEnginePreferences ¶
type VirtualMachinePreferencesVmwareEnginePreferences struct { // CommitmentPlan: string, optional CommitmentPlan terra.StringValue `hcl:"commitment_plan,attr"` // CpuOvercommitRatio: number, optional CpuOvercommitRatio terra.NumberValue `hcl:"cpu_overcommit_ratio,attr"` // MemoryOvercommitRatio: number, optional MemoryOvercommitRatio terra.NumberValue `hcl:"memory_overcommit_ratio,attr"` // StorageDeduplicationCompressionRatio: number, optional StorageDeduplicationCompressionRatio terra.NumberValue `hcl:"storage_deduplication_compression_ratio,attr"` }
type VirtualMachinePreferencesVmwareEnginePreferencesAttributes ¶
type VirtualMachinePreferencesVmwareEnginePreferencesAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachinePreferencesVmwareEnginePreferencesAttributes) CommitmentPlan ¶
func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) CommitmentPlan() terra.StringValue
func (VirtualMachinePreferencesVmwareEnginePreferencesAttributes) CpuOvercommitRatio ¶
func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) CpuOvercommitRatio() terra.NumberValue
func (VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalRef ¶
func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalTokens ¶
func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalWithRef ¶
func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) InternalWithRef(ref terra.Reference) VirtualMachinePreferencesVmwareEnginePreferencesAttributes
func (VirtualMachinePreferencesVmwareEnginePreferencesAttributes) MemoryOvercommitRatio ¶
func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) MemoryOvercommitRatio() terra.NumberValue
func (VirtualMachinePreferencesVmwareEnginePreferencesAttributes) StorageDeduplicationCompressionRatio ¶
func (vep VirtualMachinePreferencesVmwareEnginePreferencesAttributes) StorageDeduplicationCompressionRatio() terra.NumberValue
type VirtualMachinePreferencesVmwareEnginePreferencesState ¶
type VirtualMachinePreferencesVmwareEnginePreferencesState struct { CommitmentPlan string `json:"commitment_plan"` CpuOvercommitRatio float64 `json:"cpu_overcommit_ratio"` MemoryOvercommitRatio float64 `json:"memory_overcommit_ratio"` StorageDeduplicationCompressionRatio float64 `json:"storage_deduplication_compression_ratio"` }
Click to show internal directories.
Click to hide internal directories.