Documentation ¶
Index ¶
- type AllInstancesConfig
- type AllInstancesConfigAttributes
- func (aic AllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
- func (aic AllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aic AllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) AllInstancesConfigAttributes
- func (aic AllInstancesConfigAttributes) Labels() terra.MapValue[terra.StringValue]
- func (aic AllInstancesConfigAttributes) Metadata() terra.MapValue[terra.StringValue]
- type AllInstancesConfigState
- type Args
- type AutoHealingPolicies
- type AutoHealingPoliciesAttributes
- func (ahp AutoHealingPoliciesAttributes) HealthCheck() terra.StringValue
- func (ahp AutoHealingPoliciesAttributes) InitialDelaySec() terra.NumberValue
- func (ahp AutoHealingPoliciesAttributes) InternalRef() (terra.Reference, error)
- func (ahp AutoHealingPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ahp AutoHealingPoliciesAttributes) InternalWithRef(ref terra.Reference) AutoHealingPoliciesAttributes
- type AutoHealingPoliciesState
- type DataAllInstancesConfigAttributes
- func (aic DataAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
- func (aic DataAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aic DataAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) DataAllInstancesConfigAttributes
- func (aic DataAllInstancesConfigAttributes) Labels() terra.MapValue[terra.StringValue]
- func (aic DataAllInstancesConfigAttributes) Metadata() terra.MapValue[terra.StringValue]
- type DataAllInstancesConfigState
- type DataArgs
- type DataAutoHealingPoliciesAttributes
- func (ahp DataAutoHealingPoliciesAttributes) HealthCheck() terra.StringValue
- func (ahp DataAutoHealingPoliciesAttributes) InitialDelaySec() terra.NumberValue
- func (ahp DataAutoHealingPoliciesAttributes) InternalRef() (terra.Reference, error)
- func (ahp DataAutoHealingPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ahp DataAutoHealingPoliciesAttributes) InternalWithRef(ref terra.Reference) DataAutoHealingPoliciesAttributes
- type DataAutoHealingPoliciesState
- type DataInstanceLifecyclePolicyAttributes
- func (ilp DataInstanceLifecyclePolicyAttributes) DefaultActionOnFailure() terra.StringValue
- func (ilp DataInstanceLifecyclePolicyAttributes) ForceUpdateOnRepair() terra.StringValue
- func (ilp DataInstanceLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
- func (ilp DataInstanceLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ilp DataInstanceLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) DataInstanceLifecyclePolicyAttributes
- type DataInstanceLifecyclePolicyState
- type DataNamedPortAttributes
- func (np DataNamedPortAttributes) InternalRef() (terra.Reference, error)
- func (np DataNamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np DataNamedPortAttributes) InternalWithRef(ref terra.Reference) DataNamedPortAttributes
- func (np DataNamedPortAttributes) Name() terra.StringValue
- func (np DataNamedPortAttributes) Port() terra.NumberValue
- type DataNamedPortState
- type DataSource
- type DataStatefulDiskAttributes
- func (sd DataStatefulDiskAttributes) DeleteRule() terra.StringValue
- func (sd DataStatefulDiskAttributes) DeviceName() terra.StringValue
- func (sd DataStatefulDiskAttributes) InternalRef() (terra.Reference, error)
- func (sd DataStatefulDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd DataStatefulDiskAttributes) InternalWithRef(ref terra.Reference) DataStatefulDiskAttributes
- type DataStatefulDiskState
- type DataStatefulExternalIpAttributes
- func (sei DataStatefulExternalIpAttributes) DeleteRule() terra.StringValue
- func (sei DataStatefulExternalIpAttributes) InterfaceName() terra.StringValue
- func (sei DataStatefulExternalIpAttributes) InternalRef() (terra.Reference, error)
- func (sei DataStatefulExternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sei DataStatefulExternalIpAttributes) InternalWithRef(ref terra.Reference) DataStatefulExternalIpAttributes
- type DataStatefulExternalIpState
- type DataStatefulInternalIpAttributes
- func (sii DataStatefulInternalIpAttributes) DeleteRule() terra.StringValue
- func (sii DataStatefulInternalIpAttributes) InterfaceName() terra.StringValue
- func (sii DataStatefulInternalIpAttributes) InternalRef() (terra.Reference, error)
- func (sii DataStatefulInternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sii DataStatefulInternalIpAttributes) InternalWithRef(ref terra.Reference) DataStatefulInternalIpAttributes
- type DataStatefulInternalIpState
- type DataStatusAllInstancesConfigAttributes
- func (aic DataStatusAllInstancesConfigAttributes) CurrentRevision() terra.StringValue
- func (aic DataStatusAllInstancesConfigAttributes) Effective() terra.BoolValue
- func (aic DataStatusAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
- func (aic DataStatusAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aic DataStatusAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) DataStatusAllInstancesConfigAttributes
- type DataStatusAllInstancesConfigState
- type DataStatusAttributes
- func (s DataStatusAttributes) AllInstancesConfig() terra.ListValue[DataStatusAllInstancesConfigAttributes]
- func (s DataStatusAttributes) InternalRef() (terra.Reference, error)
- func (s DataStatusAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataStatusAttributes) InternalWithRef(ref terra.Reference) DataStatusAttributes
- func (s DataStatusAttributes) IsStable() terra.BoolValue
- func (s DataStatusAttributes) Stateful() terra.ListValue[DataStatusStatefulAttributes]
- func (s DataStatusAttributes) VersionTarget() terra.ListValue[DataStatusVersionTargetAttributes]
- type DataStatusState
- type DataStatusStatefulAttributes
- func (s DataStatusStatefulAttributes) HasStatefulConfig() terra.BoolValue
- func (s DataStatusStatefulAttributes) InternalRef() (terra.Reference, error)
- func (s DataStatusStatefulAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataStatusStatefulAttributes) InternalWithRef(ref terra.Reference) DataStatusStatefulAttributes
- func (s DataStatusStatefulAttributes) PerInstanceConfigs() terra.ListValue[DataStatusStatefulPerInstanceConfigsAttributes]
- type DataStatusStatefulPerInstanceConfigsAttributes
- func (pic DataStatusStatefulPerInstanceConfigsAttributes) AllEffective() terra.BoolValue
- func (pic DataStatusStatefulPerInstanceConfigsAttributes) InternalRef() (terra.Reference, error)
- func (pic DataStatusStatefulPerInstanceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pic DataStatusStatefulPerInstanceConfigsAttributes) InternalWithRef(ref terra.Reference) DataStatusStatefulPerInstanceConfigsAttributes
- type DataStatusStatefulPerInstanceConfigsState
- type DataStatusStatefulState
- type DataStatusVersionTargetAttributes
- func (vt DataStatusVersionTargetAttributes) InternalRef() (terra.Reference, error)
- func (vt DataStatusVersionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vt DataStatusVersionTargetAttributes) InternalWithRef(ref terra.Reference) DataStatusVersionTargetAttributes
- func (vt DataStatusVersionTargetAttributes) IsReached() terra.BoolValue
- type DataStatusVersionTargetState
- type DataUpdatePolicyAttributes
- func (up DataUpdatePolicyAttributes) InternalRef() (terra.Reference, error)
- func (up DataUpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (up DataUpdatePolicyAttributes) InternalWithRef(ref terra.Reference) DataUpdatePolicyAttributes
- func (up DataUpdatePolicyAttributes) MaxSurgeFixed() terra.NumberValue
- func (up DataUpdatePolicyAttributes) MaxSurgePercent() terra.NumberValue
- func (up DataUpdatePolicyAttributes) MaxUnavailableFixed() terra.NumberValue
- func (up DataUpdatePolicyAttributes) MaxUnavailablePercent() terra.NumberValue
- func (up DataUpdatePolicyAttributes) MinReadySec() terra.NumberValue
- func (up DataUpdatePolicyAttributes) MinimalAction() terra.StringValue
- func (up DataUpdatePolicyAttributes) MostDisruptiveAllowedAction() terra.StringValue
- func (up DataUpdatePolicyAttributes) ReplacementMethod() terra.StringValue
- func (up DataUpdatePolicyAttributes) Type() terra.StringValue
- type DataUpdatePolicyState
- type DataVersionAttributes
- func (v DataVersionAttributes) InstanceTemplate() terra.StringValue
- func (v DataVersionAttributes) InternalRef() (terra.Reference, error)
- func (v DataVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v DataVersionAttributes) InternalWithRef(ref terra.Reference) DataVersionAttributes
- func (v DataVersionAttributes) Name() terra.StringValue
- func (v DataVersionAttributes) TargetSize() terra.ListValue[DataVersionTargetSizeAttributes]
- type DataVersionState
- type DataVersionTargetSizeAttributes
- func (ts DataVersionTargetSizeAttributes) Fixed() terra.NumberValue
- func (ts DataVersionTargetSizeAttributes) InternalRef() (terra.Reference, error)
- func (ts DataVersionTargetSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ts DataVersionTargetSizeAttributes) InternalWithRef(ref terra.Reference) DataVersionTargetSizeAttributes
- func (ts DataVersionTargetSizeAttributes) Percent() terra.NumberValue
- type DataVersionTargetSizeState
- type InstanceLifecyclePolicy
- type InstanceLifecyclePolicyAttributes
- func (ilp InstanceLifecyclePolicyAttributes) DefaultActionOnFailure() terra.StringValue
- func (ilp InstanceLifecyclePolicyAttributes) ForceUpdateOnRepair() terra.StringValue
- func (ilp InstanceLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
- func (ilp InstanceLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ilp InstanceLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceLifecyclePolicyAttributes
- type InstanceLifecyclePolicyState
- type NamedPort
- type NamedPortAttributes
- func (np NamedPortAttributes) InternalRef() (terra.Reference, error)
- func (np NamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np NamedPortAttributes) InternalWithRef(ref terra.Reference) NamedPortAttributes
- func (np NamedPortAttributes) Name() terra.StringValue
- func (np NamedPortAttributes) Port() terra.NumberValue
- type NamedPortState
- type Resource
- func (gcigm *Resource) Attributes() googleComputeInstanceGroupManagerAttributes
- func (gcigm *Resource) Configuration() interface{}
- func (gcigm *Resource) DependOn() terra.Reference
- func (gcigm *Resource) Dependencies() terra.Dependencies
- func (gcigm *Resource) ImportState(state io.Reader) error
- func (gcigm *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcigm *Resource) LocalName() string
- func (gcigm *Resource) State() (*googleComputeInstanceGroupManagerState, bool)
- func (gcigm *Resource) StateMust() *googleComputeInstanceGroupManagerState
- func (gcigm *Resource) Type() string
- type StatefulDisk
- type StatefulDiskAttributes
- func (sd StatefulDiskAttributes) DeleteRule() terra.StringValue
- func (sd StatefulDiskAttributes) DeviceName() terra.StringValue
- func (sd StatefulDiskAttributes) InternalRef() (terra.Reference, error)
- func (sd StatefulDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd StatefulDiskAttributes) InternalWithRef(ref terra.Reference) StatefulDiskAttributes
- type StatefulDiskState
- type StatefulExternalIp
- type StatefulExternalIpAttributes
- func (sei StatefulExternalIpAttributes) DeleteRule() terra.StringValue
- func (sei StatefulExternalIpAttributes) InterfaceName() terra.StringValue
- func (sei StatefulExternalIpAttributes) InternalRef() (terra.Reference, error)
- func (sei StatefulExternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sei StatefulExternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulExternalIpAttributes
- type StatefulExternalIpState
- type StatefulInternalIp
- type StatefulInternalIpAttributes
- func (sii StatefulInternalIpAttributes) DeleteRule() terra.StringValue
- func (sii StatefulInternalIpAttributes) InterfaceName() terra.StringValue
- func (sii StatefulInternalIpAttributes) InternalRef() (terra.Reference, error)
- func (sii StatefulInternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sii StatefulInternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulInternalIpAttributes
- type StatefulInternalIpState
- type StatusAllInstancesConfigAttributes
- func (aic StatusAllInstancesConfigAttributes) CurrentRevision() terra.StringValue
- func (aic StatusAllInstancesConfigAttributes) Effective() terra.BoolValue
- func (aic StatusAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
- func (aic StatusAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aic StatusAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) StatusAllInstancesConfigAttributes
- type StatusAllInstancesConfigState
- type StatusAttributes
- func (s StatusAttributes) AllInstancesConfig() terra.ListValue[StatusAllInstancesConfigAttributes]
- func (s StatusAttributes) InternalRef() (terra.Reference, error)
- func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
- func (s StatusAttributes) IsStable() terra.BoolValue
- func (s StatusAttributes) Stateful() terra.ListValue[StatusStatefulAttributes]
- func (s StatusAttributes) VersionTarget() terra.ListValue[StatusVersionTargetAttributes]
- type StatusState
- type StatusStatefulAttributes
- func (s StatusStatefulAttributes) HasStatefulConfig() terra.BoolValue
- func (s StatusStatefulAttributes) InternalRef() (terra.Reference, error)
- func (s StatusStatefulAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatusStatefulAttributes) InternalWithRef(ref terra.Reference) StatusStatefulAttributes
- func (s StatusStatefulAttributes) PerInstanceConfigs() terra.ListValue[StatusStatefulPerInstanceConfigsAttributes]
- type StatusStatefulPerInstanceConfigsAttributes
- func (pic StatusStatefulPerInstanceConfigsAttributes) AllEffective() terra.BoolValue
- func (pic StatusStatefulPerInstanceConfigsAttributes) InternalRef() (terra.Reference, error)
- func (pic StatusStatefulPerInstanceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pic StatusStatefulPerInstanceConfigsAttributes) InternalWithRef(ref terra.Reference) StatusStatefulPerInstanceConfigsAttributes
- type StatusStatefulPerInstanceConfigsState
- type StatusStatefulState
- type StatusVersionTargetAttributes
- func (vt StatusVersionTargetAttributes) InternalRef() (terra.Reference, error)
- func (vt StatusVersionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vt StatusVersionTargetAttributes) InternalWithRef(ref terra.Reference) StatusVersionTargetAttributes
- func (vt StatusVersionTargetAttributes) IsReached() terra.BoolValue
- type StatusVersionTargetState
- 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 UpdatePolicy
- type UpdatePolicyAttributes
- func (up UpdatePolicyAttributes) InternalRef() (terra.Reference, error)
- func (up UpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (up UpdatePolicyAttributes) InternalWithRef(ref terra.Reference) UpdatePolicyAttributes
- func (up UpdatePolicyAttributes) MaxSurgeFixed() terra.NumberValue
- func (up UpdatePolicyAttributes) MaxSurgePercent() terra.NumberValue
- func (up UpdatePolicyAttributes) MaxUnavailableFixed() terra.NumberValue
- func (up UpdatePolicyAttributes) MaxUnavailablePercent() terra.NumberValue
- func (up UpdatePolicyAttributes) MinReadySec() terra.NumberValue
- func (up UpdatePolicyAttributes) MinimalAction() terra.StringValue
- func (up UpdatePolicyAttributes) MostDisruptiveAllowedAction() terra.StringValue
- func (up UpdatePolicyAttributes) ReplacementMethod() terra.StringValue
- func (up UpdatePolicyAttributes) Type() terra.StringValue
- type UpdatePolicyState
- type Version
- type VersionAttributes
- func (v VersionAttributes) InstanceTemplate() terra.StringValue
- func (v VersionAttributes) InternalRef() (terra.Reference, error)
- func (v VersionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v VersionAttributes) InternalWithRef(ref terra.Reference) VersionAttributes
- func (v VersionAttributes) Name() terra.StringValue
- func (v VersionAttributes) TargetSize() terra.ListValue[VersionTargetSizeAttributes]
- type VersionState
- type VersionTargetSize
- type VersionTargetSizeAttributes
- func (ts VersionTargetSizeAttributes) Fixed() terra.NumberValue
- func (ts VersionTargetSizeAttributes) InternalRef() (terra.Reference, error)
- func (ts VersionTargetSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ts VersionTargetSizeAttributes) InternalWithRef(ref terra.Reference) VersionTargetSizeAttributes
- func (ts VersionTargetSizeAttributes) Percent() terra.NumberValue
- type VersionTargetSizeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllInstancesConfig ¶
type AllInstancesConfig struct { // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` }
type AllInstancesConfigAttributes ¶
type AllInstancesConfigAttributes struct {
// contains filtered or unexported fields
}
func (AllInstancesConfigAttributes) InternalRef ¶
func (aic AllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
func (AllInstancesConfigAttributes) InternalTokens ¶
func (aic AllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AllInstancesConfigAttributes) InternalWithRef ¶
func (aic AllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) AllInstancesConfigAttributes
func (AllInstancesConfigAttributes) Labels ¶
func (aic AllInstancesConfigAttributes) Labels() terra.MapValue[terra.StringValue]
func (AllInstancesConfigAttributes) Metadata ¶
func (aic AllInstancesConfigAttributes) Metadata() terra.MapValue[terra.StringValue]
type AllInstancesConfigState ¶
type Args ¶
type Args struct { // BaseInstanceName: string, required BaseInstanceName terra.StringValue `hcl:"base_instance_name,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ListManagedInstancesResults: string, optional ListManagedInstancesResults terra.StringValue `hcl:"list_managed_instances_results,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // TargetPools: set of string, optional TargetPools terra.SetValue[terra.StringValue] `hcl:"target_pools,attr"` // TargetSize: number, optional TargetSize terra.NumberValue `hcl:"target_size,attr"` // WaitForInstances: bool, optional WaitForInstances terra.BoolValue `hcl:"wait_for_instances,attr"` // WaitForInstancesStatus: string, optional WaitForInstancesStatus terra.StringValue `hcl:"wait_for_instances_status,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` // AllInstancesConfig: optional AllInstancesConfig *AllInstancesConfig `hcl:"all_instances_config,block"` // AutoHealingPolicies: optional AutoHealingPolicies *AutoHealingPolicies `hcl:"auto_healing_policies,block"` // InstanceLifecyclePolicy: optional InstanceLifecyclePolicy *InstanceLifecyclePolicy `hcl:"instance_lifecycle_policy,block"` // NamedPort: min=0 NamedPort []NamedPort `hcl:"named_port,block" validate:"min=0"` // StatefulDisk: min=0 StatefulDisk []StatefulDisk `hcl:"stateful_disk,block" validate:"min=0"` // StatefulExternalIp: min=0 StatefulExternalIp []StatefulExternalIp `hcl:"stateful_external_ip,block" validate:"min=0"` // StatefulInternalIp: min=0 StatefulInternalIp []StatefulInternalIp `hcl:"stateful_internal_ip,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // UpdatePolicy: optional UpdatePolicy *UpdatePolicy `hcl:"update_policy,block"` // Version: min=1 Version []Version `hcl:"version,block" validate:"min=1"` }
Args contains the configurations for google_compute_instance_group_manager.
type AutoHealingPolicies ¶
type AutoHealingPolicies struct { // HealthCheck: string, required HealthCheck terra.StringValue `hcl:"health_check,attr" validate:"required"` // InitialDelaySec: number, required InitialDelaySec terra.NumberValue `hcl:"initial_delay_sec,attr" validate:"required"` }
type AutoHealingPoliciesAttributes ¶
type AutoHealingPoliciesAttributes struct {
// contains filtered or unexported fields
}
func (AutoHealingPoliciesAttributes) HealthCheck ¶
func (ahp AutoHealingPoliciesAttributes) HealthCheck() terra.StringValue
func (AutoHealingPoliciesAttributes) InitialDelaySec ¶
func (ahp AutoHealingPoliciesAttributes) InitialDelaySec() terra.NumberValue
func (AutoHealingPoliciesAttributes) InternalRef ¶
func (ahp AutoHealingPoliciesAttributes) InternalRef() (terra.Reference, error)
func (AutoHealingPoliciesAttributes) InternalTokens ¶
func (ahp AutoHealingPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoHealingPoliciesAttributes) InternalWithRef ¶
func (ahp AutoHealingPoliciesAttributes) InternalWithRef(ref terra.Reference) AutoHealingPoliciesAttributes
type DataAllInstancesConfigAttributes ¶
type DataAllInstancesConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataAllInstancesConfigAttributes) InternalRef ¶
func (aic DataAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
func (DataAllInstancesConfigAttributes) InternalTokens ¶
func (aic DataAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAllInstancesConfigAttributes) InternalWithRef ¶
func (aic DataAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) DataAllInstancesConfigAttributes
func (DataAllInstancesConfigAttributes) Labels ¶
func (aic DataAllInstancesConfigAttributes) Labels() terra.MapValue[terra.StringValue]
func (DataAllInstancesConfigAttributes) Metadata ¶
func (aic DataAllInstancesConfigAttributes) Metadata() terra.MapValue[terra.StringValue]
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // SelfLink: string, optional SelfLink terra.StringValue `hcl:"self_link,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` }
DataArgs contains the configurations for google_compute_instance_group_manager.
type DataAutoHealingPoliciesAttributes ¶
type DataAutoHealingPoliciesAttributes struct {
// contains filtered or unexported fields
}
func (DataAutoHealingPoliciesAttributes) HealthCheck ¶
func (ahp DataAutoHealingPoliciesAttributes) HealthCheck() terra.StringValue
func (DataAutoHealingPoliciesAttributes) InitialDelaySec ¶
func (ahp DataAutoHealingPoliciesAttributes) InitialDelaySec() terra.NumberValue
func (DataAutoHealingPoliciesAttributes) InternalRef ¶
func (ahp DataAutoHealingPoliciesAttributes) InternalRef() (terra.Reference, error)
func (DataAutoHealingPoliciesAttributes) InternalTokens ¶
func (ahp DataAutoHealingPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAutoHealingPoliciesAttributes) InternalWithRef ¶
func (ahp DataAutoHealingPoliciesAttributes) InternalWithRef(ref terra.Reference) DataAutoHealingPoliciesAttributes
type DataInstanceLifecyclePolicyAttributes ¶
type DataInstanceLifecyclePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataInstanceLifecyclePolicyAttributes) DefaultActionOnFailure ¶
func (ilp DataInstanceLifecyclePolicyAttributes) DefaultActionOnFailure() terra.StringValue
func (DataInstanceLifecyclePolicyAttributes) ForceUpdateOnRepair ¶
func (ilp DataInstanceLifecyclePolicyAttributes) ForceUpdateOnRepair() terra.StringValue
func (DataInstanceLifecyclePolicyAttributes) InternalRef ¶
func (ilp DataInstanceLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataInstanceLifecyclePolicyAttributes) InternalTokens ¶
func (ilp DataInstanceLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInstanceLifecyclePolicyAttributes) InternalWithRef ¶
func (ilp DataInstanceLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) DataInstanceLifecyclePolicyAttributes
type DataNamedPortAttributes ¶
type DataNamedPortAttributes struct {
// contains filtered or unexported fields
}
func (DataNamedPortAttributes) InternalRef ¶
func (np DataNamedPortAttributes) InternalRef() (terra.Reference, error)
func (DataNamedPortAttributes) InternalTokens ¶
func (np DataNamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNamedPortAttributes) InternalWithRef ¶
func (np DataNamedPortAttributes) InternalWithRef(ref terra.Reference) DataNamedPortAttributes
func (DataNamedPortAttributes) Name ¶
func (np DataNamedPortAttributes) Name() terra.StringValue
func (DataNamedPortAttributes) Port ¶
func (np DataNamedPortAttributes) Port() terra.NumberValue
type DataNamedPortState ¶
type DataSource ¶
DataSource represents the Terraform data resource google_compute_instance_group_manager.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gcigm *DataSource) Attributes() dataGoogleComputeInstanceGroupManagerAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gcigm *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gcigm *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gcigm *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataStatefulDiskAttributes ¶
type DataStatefulDiskAttributes struct {
// contains filtered or unexported fields
}
func (DataStatefulDiskAttributes) DeleteRule ¶
func (sd DataStatefulDiskAttributes) DeleteRule() terra.StringValue
func (DataStatefulDiskAttributes) DeviceName ¶
func (sd DataStatefulDiskAttributes) DeviceName() terra.StringValue
func (DataStatefulDiskAttributes) InternalRef ¶
func (sd DataStatefulDiskAttributes) InternalRef() (terra.Reference, error)
func (DataStatefulDiskAttributes) InternalTokens ¶
func (sd DataStatefulDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatefulDiskAttributes) InternalWithRef ¶
func (sd DataStatefulDiskAttributes) InternalWithRef(ref terra.Reference) DataStatefulDiskAttributes
type DataStatefulDiskState ¶
type DataStatefulExternalIpAttributes ¶
type DataStatefulExternalIpAttributes struct {
// contains filtered or unexported fields
}
func (DataStatefulExternalIpAttributes) DeleteRule ¶
func (sei DataStatefulExternalIpAttributes) DeleteRule() terra.StringValue
func (DataStatefulExternalIpAttributes) InterfaceName ¶
func (sei DataStatefulExternalIpAttributes) InterfaceName() terra.StringValue
func (DataStatefulExternalIpAttributes) InternalRef ¶
func (sei DataStatefulExternalIpAttributes) InternalRef() (terra.Reference, error)
func (DataStatefulExternalIpAttributes) InternalTokens ¶
func (sei DataStatefulExternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatefulExternalIpAttributes) InternalWithRef ¶
func (sei DataStatefulExternalIpAttributes) InternalWithRef(ref terra.Reference) DataStatefulExternalIpAttributes
type DataStatefulInternalIpAttributes ¶
type DataStatefulInternalIpAttributes struct {
// contains filtered or unexported fields
}
func (DataStatefulInternalIpAttributes) DeleteRule ¶
func (sii DataStatefulInternalIpAttributes) DeleteRule() terra.StringValue
func (DataStatefulInternalIpAttributes) InterfaceName ¶
func (sii DataStatefulInternalIpAttributes) InterfaceName() terra.StringValue
func (DataStatefulInternalIpAttributes) InternalRef ¶
func (sii DataStatefulInternalIpAttributes) InternalRef() (terra.Reference, error)
func (DataStatefulInternalIpAttributes) InternalTokens ¶
func (sii DataStatefulInternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatefulInternalIpAttributes) InternalWithRef ¶
func (sii DataStatefulInternalIpAttributes) InternalWithRef(ref terra.Reference) DataStatefulInternalIpAttributes
type DataStatusAllInstancesConfigAttributes ¶
type DataStatusAllInstancesConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataStatusAllInstancesConfigAttributes) CurrentRevision ¶
func (aic DataStatusAllInstancesConfigAttributes) CurrentRevision() terra.StringValue
func (DataStatusAllInstancesConfigAttributes) Effective ¶
func (aic DataStatusAllInstancesConfigAttributes) Effective() terra.BoolValue
func (DataStatusAllInstancesConfigAttributes) InternalRef ¶
func (aic DataStatusAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
func (DataStatusAllInstancesConfigAttributes) InternalTokens ¶
func (aic DataStatusAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatusAllInstancesConfigAttributes) InternalWithRef ¶
func (aic DataStatusAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) DataStatusAllInstancesConfigAttributes
type DataStatusAttributes ¶
type DataStatusAttributes struct {
// contains filtered or unexported fields
}
func (DataStatusAttributes) AllInstancesConfig ¶
func (s DataStatusAttributes) AllInstancesConfig() terra.ListValue[DataStatusAllInstancesConfigAttributes]
func (DataStatusAttributes) InternalRef ¶
func (s DataStatusAttributes) InternalRef() (terra.Reference, error)
func (DataStatusAttributes) InternalTokens ¶
func (s DataStatusAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatusAttributes) InternalWithRef ¶
func (s DataStatusAttributes) InternalWithRef(ref terra.Reference) DataStatusAttributes
func (DataStatusAttributes) IsStable ¶
func (s DataStatusAttributes) IsStable() terra.BoolValue
func (DataStatusAttributes) Stateful ¶
func (s DataStatusAttributes) Stateful() terra.ListValue[DataStatusStatefulAttributes]
func (DataStatusAttributes) VersionTarget ¶
func (s DataStatusAttributes) VersionTarget() terra.ListValue[DataStatusVersionTargetAttributes]
type DataStatusState ¶
type DataStatusState struct { IsStable bool `json:"is_stable"` AllInstancesConfig []DataStatusAllInstancesConfigState `json:"all_instances_config"` Stateful []DataStatusStatefulState `json:"stateful"` VersionTarget []DataStatusVersionTargetState `json:"version_target"` }
type DataStatusStatefulAttributes ¶
type DataStatusStatefulAttributes struct {
// contains filtered or unexported fields
}
func (DataStatusStatefulAttributes) HasStatefulConfig ¶
func (s DataStatusStatefulAttributes) HasStatefulConfig() terra.BoolValue
func (DataStatusStatefulAttributes) InternalRef ¶
func (s DataStatusStatefulAttributes) InternalRef() (terra.Reference, error)
func (DataStatusStatefulAttributes) InternalTokens ¶
func (s DataStatusStatefulAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatusStatefulAttributes) InternalWithRef ¶
func (s DataStatusStatefulAttributes) InternalWithRef(ref terra.Reference) DataStatusStatefulAttributes
func (DataStatusStatefulAttributes) PerInstanceConfigs ¶
func (s DataStatusStatefulAttributes) PerInstanceConfigs() terra.ListValue[DataStatusStatefulPerInstanceConfigsAttributes]
type DataStatusStatefulPerInstanceConfigsAttributes ¶
type DataStatusStatefulPerInstanceConfigsAttributes struct {
// contains filtered or unexported fields
}
func (DataStatusStatefulPerInstanceConfigsAttributes) AllEffective ¶
func (pic DataStatusStatefulPerInstanceConfigsAttributes) AllEffective() terra.BoolValue
func (DataStatusStatefulPerInstanceConfigsAttributes) InternalRef ¶
func (pic DataStatusStatefulPerInstanceConfigsAttributes) InternalRef() (terra.Reference, error)
func (DataStatusStatefulPerInstanceConfigsAttributes) InternalTokens ¶
func (pic DataStatusStatefulPerInstanceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatusStatefulPerInstanceConfigsAttributes) InternalWithRef ¶
func (pic DataStatusStatefulPerInstanceConfigsAttributes) InternalWithRef(ref terra.Reference) DataStatusStatefulPerInstanceConfigsAttributes
type DataStatusStatefulPerInstanceConfigsState ¶
type DataStatusStatefulPerInstanceConfigsState struct {
AllEffective bool `json:"all_effective"`
}
type DataStatusStatefulState ¶
type DataStatusStatefulState struct { HasStatefulConfig bool `json:"has_stateful_config"` PerInstanceConfigs []DataStatusStatefulPerInstanceConfigsState `json:"per_instance_configs"` }
type DataStatusVersionTargetAttributes ¶
type DataStatusVersionTargetAttributes struct {
// contains filtered or unexported fields
}
func (DataStatusVersionTargetAttributes) InternalRef ¶
func (vt DataStatusVersionTargetAttributes) InternalRef() (terra.Reference, error)
func (DataStatusVersionTargetAttributes) InternalTokens ¶
func (vt DataStatusVersionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStatusVersionTargetAttributes) InternalWithRef ¶
func (vt DataStatusVersionTargetAttributes) InternalWithRef(ref terra.Reference) DataStatusVersionTargetAttributes
func (DataStatusVersionTargetAttributes) IsReached ¶
func (vt DataStatusVersionTargetAttributes) IsReached() terra.BoolValue
type DataStatusVersionTargetState ¶
type DataStatusVersionTargetState struct {
IsReached bool `json:"is_reached"`
}
type DataUpdatePolicyAttributes ¶
type DataUpdatePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataUpdatePolicyAttributes) InternalRef ¶
func (up DataUpdatePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataUpdatePolicyAttributes) InternalTokens ¶
func (up DataUpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataUpdatePolicyAttributes) InternalWithRef ¶
func (up DataUpdatePolicyAttributes) InternalWithRef(ref terra.Reference) DataUpdatePolicyAttributes
func (DataUpdatePolicyAttributes) MaxSurgeFixed ¶
func (up DataUpdatePolicyAttributes) MaxSurgeFixed() terra.NumberValue
func (DataUpdatePolicyAttributes) MaxSurgePercent ¶
func (up DataUpdatePolicyAttributes) MaxSurgePercent() terra.NumberValue
func (DataUpdatePolicyAttributes) MaxUnavailableFixed ¶
func (up DataUpdatePolicyAttributes) MaxUnavailableFixed() terra.NumberValue
func (DataUpdatePolicyAttributes) MaxUnavailablePercent ¶
func (up DataUpdatePolicyAttributes) MaxUnavailablePercent() terra.NumberValue
func (DataUpdatePolicyAttributes) MinReadySec ¶
func (up DataUpdatePolicyAttributes) MinReadySec() terra.NumberValue
func (DataUpdatePolicyAttributes) MinimalAction ¶
func (up DataUpdatePolicyAttributes) MinimalAction() terra.StringValue
func (DataUpdatePolicyAttributes) MostDisruptiveAllowedAction ¶
func (up DataUpdatePolicyAttributes) MostDisruptiveAllowedAction() terra.StringValue
func (DataUpdatePolicyAttributes) ReplacementMethod ¶
func (up DataUpdatePolicyAttributes) ReplacementMethod() terra.StringValue
func (DataUpdatePolicyAttributes) Type ¶
func (up DataUpdatePolicyAttributes) Type() terra.StringValue
type DataUpdatePolicyState ¶
type DataUpdatePolicyState struct { MaxSurgeFixed float64 `json:"max_surge_fixed"` MaxSurgePercent float64 `json:"max_surge_percent"` MinReadySec float64 `json:"min_ready_sec"` MinimalAction string `json:"minimal_action"` MostDisruptiveAllowedAction string `json:"most_disruptive_allowed_action"` ReplacementMethod string `json:"replacement_method"` Type string `json:"type"` }
type DataVersionAttributes ¶
type DataVersionAttributes struct {
// contains filtered or unexported fields
}
func (DataVersionAttributes) InstanceTemplate ¶
func (v DataVersionAttributes) InstanceTemplate() terra.StringValue
func (DataVersionAttributes) InternalRef ¶
func (v DataVersionAttributes) InternalRef() (terra.Reference, error)
func (DataVersionAttributes) InternalTokens ¶
func (v DataVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataVersionAttributes) InternalWithRef ¶
func (v DataVersionAttributes) InternalWithRef(ref terra.Reference) DataVersionAttributes
func (DataVersionAttributes) Name ¶
func (v DataVersionAttributes) Name() terra.StringValue
func (DataVersionAttributes) TargetSize ¶
func (v DataVersionAttributes) TargetSize() terra.ListValue[DataVersionTargetSizeAttributes]
type DataVersionState ¶
type DataVersionState struct { InstanceTemplate string `json:"instance_template"` Name string `json:"name"` TargetSize []DataVersionTargetSizeState `json:"target_size"` }
type DataVersionTargetSizeAttributes ¶
type DataVersionTargetSizeAttributes struct {
// contains filtered or unexported fields
}
func (DataVersionTargetSizeAttributes) Fixed ¶
func (ts DataVersionTargetSizeAttributes) Fixed() terra.NumberValue
func (DataVersionTargetSizeAttributes) InternalRef ¶
func (ts DataVersionTargetSizeAttributes) InternalRef() (terra.Reference, error)
func (DataVersionTargetSizeAttributes) InternalTokens ¶
func (ts DataVersionTargetSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataVersionTargetSizeAttributes) InternalWithRef ¶
func (ts DataVersionTargetSizeAttributes) InternalWithRef(ref terra.Reference) DataVersionTargetSizeAttributes
func (DataVersionTargetSizeAttributes) Percent ¶
func (ts DataVersionTargetSizeAttributes) Percent() terra.NumberValue
type InstanceLifecyclePolicy ¶
type InstanceLifecyclePolicy struct { // DefaultActionOnFailure: string, optional DefaultActionOnFailure terra.StringValue `hcl:"default_action_on_failure,attr"` // ForceUpdateOnRepair: string, optional ForceUpdateOnRepair terra.StringValue `hcl:"force_update_on_repair,attr"` }
type InstanceLifecyclePolicyAttributes ¶
type InstanceLifecyclePolicyAttributes struct {
// contains filtered or unexported fields
}
func (InstanceLifecyclePolicyAttributes) DefaultActionOnFailure ¶
func (ilp InstanceLifecyclePolicyAttributes) DefaultActionOnFailure() terra.StringValue
func (InstanceLifecyclePolicyAttributes) ForceUpdateOnRepair ¶
func (ilp InstanceLifecyclePolicyAttributes) ForceUpdateOnRepair() terra.StringValue
func (InstanceLifecyclePolicyAttributes) InternalRef ¶
func (ilp InstanceLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
func (InstanceLifecyclePolicyAttributes) InternalTokens ¶
func (ilp InstanceLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceLifecyclePolicyAttributes) InternalWithRef ¶
func (ilp InstanceLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceLifecyclePolicyAttributes
type NamedPort ¶
type NamedPort struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` }
type NamedPortAttributes ¶
type NamedPortAttributes struct {
// contains filtered or unexported fields
}
func (NamedPortAttributes) InternalRef ¶
func (np NamedPortAttributes) InternalRef() (terra.Reference, error)
func (NamedPortAttributes) InternalTokens ¶
func (np NamedPortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NamedPortAttributes) InternalWithRef ¶
func (np NamedPortAttributes) InternalWithRef(ref terra.Reference) NamedPortAttributes
func (NamedPortAttributes) Name ¶
func (np NamedPortAttributes) Name() terra.StringValue
func (NamedPortAttributes) Port ¶
func (np NamedPortAttributes) Port() terra.NumberValue
type NamedPortState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_compute_instance_group_manager.
func (*Resource) Attributes ¶
func (gcigm *Resource) Attributes() googleComputeInstanceGroupManagerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcigm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcigm *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 StatefulDisk ¶
type StatefulDisk struct { // DeleteRule: string, optional DeleteRule terra.StringValue `hcl:"delete_rule,attr"` // DeviceName: string, required DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"` }
type StatefulDiskAttributes ¶
type StatefulDiskAttributes struct {
// contains filtered or unexported fields
}
func (StatefulDiskAttributes) DeleteRule ¶
func (sd StatefulDiskAttributes) DeleteRule() terra.StringValue
func (StatefulDiskAttributes) DeviceName ¶
func (sd StatefulDiskAttributes) DeviceName() terra.StringValue
func (StatefulDiskAttributes) InternalRef ¶
func (sd StatefulDiskAttributes) InternalRef() (terra.Reference, error)
func (StatefulDiskAttributes) InternalTokens ¶
func (sd StatefulDiskAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulDiskAttributes) InternalWithRef ¶
func (sd StatefulDiskAttributes) InternalWithRef(ref terra.Reference) StatefulDiskAttributes
type StatefulDiskState ¶
type StatefulExternalIp ¶
type StatefulExternalIp struct { // DeleteRule: string, optional DeleteRule terra.StringValue `hcl:"delete_rule,attr"` // InterfaceName: string, optional InterfaceName terra.StringValue `hcl:"interface_name,attr"` }
type StatefulExternalIpAttributes ¶
type StatefulExternalIpAttributes struct {
// contains filtered or unexported fields
}
func (StatefulExternalIpAttributes) DeleteRule ¶
func (sei StatefulExternalIpAttributes) DeleteRule() terra.StringValue
func (StatefulExternalIpAttributes) InterfaceName ¶
func (sei StatefulExternalIpAttributes) InterfaceName() terra.StringValue
func (StatefulExternalIpAttributes) InternalRef ¶
func (sei StatefulExternalIpAttributes) InternalRef() (terra.Reference, error)
func (StatefulExternalIpAttributes) InternalTokens ¶
func (sei StatefulExternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulExternalIpAttributes) InternalWithRef ¶
func (sei StatefulExternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulExternalIpAttributes
type StatefulExternalIpState ¶
type StatefulInternalIp ¶
type StatefulInternalIp struct { // DeleteRule: string, optional DeleteRule terra.StringValue `hcl:"delete_rule,attr"` // InterfaceName: string, optional InterfaceName terra.StringValue `hcl:"interface_name,attr"` }
type StatefulInternalIpAttributes ¶
type StatefulInternalIpAttributes struct {
// contains filtered or unexported fields
}
func (StatefulInternalIpAttributes) DeleteRule ¶
func (sii StatefulInternalIpAttributes) DeleteRule() terra.StringValue
func (StatefulInternalIpAttributes) InterfaceName ¶
func (sii StatefulInternalIpAttributes) InterfaceName() terra.StringValue
func (StatefulInternalIpAttributes) InternalRef ¶
func (sii StatefulInternalIpAttributes) InternalRef() (terra.Reference, error)
func (StatefulInternalIpAttributes) InternalTokens ¶
func (sii StatefulInternalIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulInternalIpAttributes) InternalWithRef ¶
func (sii StatefulInternalIpAttributes) InternalWithRef(ref terra.Reference) StatefulInternalIpAttributes
type StatefulInternalIpState ¶
type StatusAllInstancesConfigAttributes ¶
type StatusAllInstancesConfigAttributes struct {
// contains filtered or unexported fields
}
func (StatusAllInstancesConfigAttributes) CurrentRevision ¶
func (aic StatusAllInstancesConfigAttributes) CurrentRevision() terra.StringValue
func (StatusAllInstancesConfigAttributes) Effective ¶
func (aic StatusAllInstancesConfigAttributes) Effective() terra.BoolValue
func (StatusAllInstancesConfigAttributes) InternalRef ¶
func (aic StatusAllInstancesConfigAttributes) InternalRef() (terra.Reference, error)
func (StatusAllInstancesConfigAttributes) InternalTokens ¶
func (aic StatusAllInstancesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusAllInstancesConfigAttributes) InternalWithRef ¶
func (aic StatusAllInstancesConfigAttributes) InternalWithRef(ref terra.Reference) StatusAllInstancesConfigAttributes
type StatusAttributes ¶
type StatusAttributes struct {
// contains filtered or unexported fields
}
func (StatusAttributes) AllInstancesConfig ¶
func (s StatusAttributes) AllInstancesConfig() terra.ListValue[StatusAllInstancesConfigAttributes]
func (StatusAttributes) InternalRef ¶
func (s StatusAttributes) InternalRef() (terra.Reference, error)
func (StatusAttributes) InternalTokens ¶
func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusAttributes) InternalWithRef ¶
func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
func (StatusAttributes) IsStable ¶
func (s StatusAttributes) IsStable() terra.BoolValue
func (StatusAttributes) Stateful ¶
func (s StatusAttributes) Stateful() terra.ListValue[StatusStatefulAttributes]
func (StatusAttributes) VersionTarget ¶
func (s StatusAttributes) VersionTarget() terra.ListValue[StatusVersionTargetAttributes]
type StatusState ¶
type StatusState struct { IsStable bool `json:"is_stable"` AllInstancesConfig []StatusAllInstancesConfigState `json:"all_instances_config"` Stateful []StatusStatefulState `json:"stateful"` VersionTarget []StatusVersionTargetState `json:"version_target"` }
type StatusStatefulAttributes ¶
type StatusStatefulAttributes struct {
// contains filtered or unexported fields
}
func (StatusStatefulAttributes) HasStatefulConfig ¶
func (s StatusStatefulAttributes) HasStatefulConfig() terra.BoolValue
func (StatusStatefulAttributes) InternalRef ¶
func (s StatusStatefulAttributes) InternalRef() (terra.Reference, error)
func (StatusStatefulAttributes) InternalTokens ¶
func (s StatusStatefulAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusStatefulAttributes) InternalWithRef ¶
func (s StatusStatefulAttributes) InternalWithRef(ref terra.Reference) StatusStatefulAttributes
func (StatusStatefulAttributes) PerInstanceConfigs ¶
func (s StatusStatefulAttributes) PerInstanceConfigs() terra.ListValue[StatusStatefulPerInstanceConfigsAttributes]
type StatusStatefulPerInstanceConfigsAttributes ¶
type StatusStatefulPerInstanceConfigsAttributes struct {
// contains filtered or unexported fields
}
func (StatusStatefulPerInstanceConfigsAttributes) AllEffective ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) AllEffective() terra.BoolValue
func (StatusStatefulPerInstanceConfigsAttributes) InternalRef ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) InternalRef() (terra.Reference, error)
func (StatusStatefulPerInstanceConfigsAttributes) InternalTokens ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusStatefulPerInstanceConfigsAttributes) InternalWithRef ¶
func (pic StatusStatefulPerInstanceConfigsAttributes) InternalWithRef(ref terra.Reference) StatusStatefulPerInstanceConfigsAttributes
type StatusStatefulPerInstanceConfigsState ¶
type StatusStatefulPerInstanceConfigsState struct {
AllEffective bool `json:"all_effective"`
}
type StatusStatefulState ¶
type StatusStatefulState struct { HasStatefulConfig bool `json:"has_stateful_config"` PerInstanceConfigs []StatusStatefulPerInstanceConfigsState `json:"per_instance_configs"` }
type StatusVersionTargetAttributes ¶
type StatusVersionTargetAttributes struct {
// contains filtered or unexported fields
}
func (StatusVersionTargetAttributes) InternalRef ¶
func (vt StatusVersionTargetAttributes) InternalRef() (terra.Reference, error)
func (StatusVersionTargetAttributes) InternalTokens ¶
func (vt StatusVersionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusVersionTargetAttributes) InternalWithRef ¶
func (vt StatusVersionTargetAttributes) InternalWithRef(ref terra.Reference) StatusVersionTargetAttributes
func (StatusVersionTargetAttributes) IsReached ¶
func (vt StatusVersionTargetAttributes) IsReached() terra.BoolValue
type StatusVersionTargetState ¶
type StatusVersionTargetState struct {
IsReached bool `json:"is_reached"`
}
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 UpdatePolicy ¶
type UpdatePolicy struct { // MaxSurgeFixed: number, optional MaxSurgeFixed terra.NumberValue `hcl:"max_surge_fixed,attr"` // MaxSurgePercent: number, optional MaxSurgePercent terra.NumberValue `hcl:"max_surge_percent,attr"` MaxUnavailableFixed terra.NumberValue `hcl:"max_unavailable_fixed,attr"` MaxUnavailablePercent terra.NumberValue `hcl:"max_unavailable_percent,attr"` // MinReadySec: number, optional MinReadySec terra.NumberValue `hcl:"min_ready_sec,attr"` // MinimalAction: string, required MinimalAction terra.StringValue `hcl:"minimal_action,attr" validate:"required"` // MostDisruptiveAllowedAction: string, optional MostDisruptiveAllowedAction terra.StringValue `hcl:"most_disruptive_allowed_action,attr"` // ReplacementMethod: string, optional ReplacementMethod terra.StringValue `hcl:"replacement_method,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type UpdatePolicyAttributes ¶
type UpdatePolicyAttributes struct {
// contains filtered or unexported fields
}
func (UpdatePolicyAttributes) InternalRef ¶
func (up UpdatePolicyAttributes) InternalRef() (terra.Reference, error)
func (UpdatePolicyAttributes) InternalTokens ¶
func (up UpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UpdatePolicyAttributes) InternalWithRef ¶
func (up UpdatePolicyAttributes) InternalWithRef(ref terra.Reference) UpdatePolicyAttributes
func (UpdatePolicyAttributes) MaxSurgeFixed ¶
func (up UpdatePolicyAttributes) MaxSurgeFixed() terra.NumberValue
func (UpdatePolicyAttributes) MaxSurgePercent ¶
func (up UpdatePolicyAttributes) MaxSurgePercent() terra.NumberValue
func (UpdatePolicyAttributes) MaxUnavailableFixed ¶
func (up UpdatePolicyAttributes) MaxUnavailableFixed() terra.NumberValue
func (UpdatePolicyAttributes) MaxUnavailablePercent ¶
func (up UpdatePolicyAttributes) MaxUnavailablePercent() terra.NumberValue
func (UpdatePolicyAttributes) MinReadySec ¶
func (up UpdatePolicyAttributes) MinReadySec() terra.NumberValue
func (UpdatePolicyAttributes) MinimalAction ¶
func (up UpdatePolicyAttributes) MinimalAction() terra.StringValue
func (UpdatePolicyAttributes) MostDisruptiveAllowedAction ¶
func (up UpdatePolicyAttributes) MostDisruptiveAllowedAction() terra.StringValue
func (UpdatePolicyAttributes) ReplacementMethod ¶
func (up UpdatePolicyAttributes) ReplacementMethod() terra.StringValue
func (UpdatePolicyAttributes) Type ¶
func (up UpdatePolicyAttributes) Type() terra.StringValue
type UpdatePolicyState ¶
type UpdatePolicyState struct { MaxSurgeFixed float64 `json:"max_surge_fixed"` MaxSurgePercent float64 `json:"max_surge_percent"` MinReadySec float64 `json:"min_ready_sec"` MinimalAction string `json:"minimal_action"` MostDisruptiveAllowedAction string `json:"most_disruptive_allowed_action"` ReplacementMethod string `json:"replacement_method"` Type string `json:"type"` }
type Version ¶
type Version struct { // InstanceTemplate: string, required InstanceTemplate terra.StringValue `hcl:"instance_template,attr" validate:"required"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // VersionTargetSize: optional TargetSize *VersionTargetSize `hcl:"target_size,block"` }
type VersionAttributes ¶
type VersionAttributes struct {
// contains filtered or unexported fields
}
func (VersionAttributes) InstanceTemplate ¶
func (v VersionAttributes) InstanceTemplate() terra.StringValue
func (VersionAttributes) InternalRef ¶
func (v VersionAttributes) InternalRef() (terra.Reference, error)
func (VersionAttributes) InternalTokens ¶
func (v VersionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VersionAttributes) InternalWithRef ¶
func (v VersionAttributes) InternalWithRef(ref terra.Reference) VersionAttributes
func (VersionAttributes) Name ¶
func (v VersionAttributes) Name() terra.StringValue
func (VersionAttributes) TargetSize ¶
func (v VersionAttributes) TargetSize() terra.ListValue[VersionTargetSizeAttributes]
type VersionState ¶
type VersionState struct { InstanceTemplate string `json:"instance_template"` Name string `json:"name"` TargetSize []VersionTargetSizeState `json:"target_size"` }
type VersionTargetSize ¶
type VersionTargetSize struct { // Fixed: number, optional Fixed terra.NumberValue `hcl:"fixed,attr"` // Percent: number, optional Percent terra.NumberValue `hcl:"percent,attr"` }
type VersionTargetSizeAttributes ¶
type VersionTargetSizeAttributes struct {
// contains filtered or unexported fields
}
func (VersionTargetSizeAttributes) Fixed ¶
func (ts VersionTargetSizeAttributes) Fixed() terra.NumberValue
func (VersionTargetSizeAttributes) InternalRef ¶
func (ts VersionTargetSizeAttributes) InternalRef() (terra.Reference, error)
func (VersionTargetSizeAttributes) InternalTokens ¶
func (ts VersionTargetSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VersionTargetSizeAttributes) InternalWithRef ¶
func (ts VersionTargetSizeAttributes) InternalWithRef(ref terra.Reference) VersionTargetSizeAttributes
func (VersionTargetSizeAttributes) Percent ¶
func (ts VersionTargetSizeAttributes) Percent() terra.NumberValue