Documentation ¶
Index ¶
- type Args
- type Resource
- func (afov *Resource) Attributes() awsFsxOntapVolumeAttributes
- func (afov *Resource) Configuration() interface{}
- func (afov *Resource) DependOn() terra.Reference
- func (afov *Resource) Dependencies() terra.Dependencies
- func (afov *Resource) ImportState(state io.Reader) error
- func (afov *Resource) LifecycleManagement() *terra.Lifecycle
- func (afov *Resource) LocalName() string
- func (afov *Resource) State() (*awsFsxOntapVolumeState, bool)
- func (afov *Resource) StateMust() *awsFsxOntapVolumeState
- func (afov *Resource) Type() string
- type SnaplockConfiguration
- type SnaplockConfigurationAttributes
- func (sc SnaplockConfigurationAttributes) AuditLogVolume() terra.BoolValue
- func (sc SnaplockConfigurationAttributes) AutocommitPeriod() terra.ListValue[SnaplockConfigurationAutocommitPeriodAttributes]
- func (sc SnaplockConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (sc SnaplockConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SnaplockConfigurationAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationAttributes
- func (sc SnaplockConfigurationAttributes) PrivilegedDelete() terra.StringValue
- func (sc SnaplockConfigurationAttributes) RetentionPeriod() terra.ListValue[SnaplockConfigurationRetentionPeriodAttributes]
- func (sc SnaplockConfigurationAttributes) SnaplockType() terra.StringValue
- func (sc SnaplockConfigurationAttributes) VolumeAppendModeEnabled() terra.BoolValue
- type SnaplockConfigurationAutocommitPeriod
- type SnaplockConfigurationAutocommitPeriodAttributes
- func (ap SnaplockConfigurationAutocommitPeriodAttributes) InternalRef() (terra.Reference, error)
- func (ap SnaplockConfigurationAutocommitPeriodAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ap SnaplockConfigurationAutocommitPeriodAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationAutocommitPeriodAttributes
- func (ap SnaplockConfigurationAutocommitPeriodAttributes) Type() terra.StringValue
- func (ap SnaplockConfigurationAutocommitPeriodAttributes) Value() terra.NumberValue
- type SnaplockConfigurationAutocommitPeriodState
- type SnaplockConfigurationRetentionPeriod
- type SnaplockConfigurationRetentionPeriodAttributes
- func (rp SnaplockConfigurationRetentionPeriodAttributes) DefaultRetention() ...
- func (rp SnaplockConfigurationRetentionPeriodAttributes) InternalRef() (terra.Reference, error)
- func (rp SnaplockConfigurationRetentionPeriodAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp SnaplockConfigurationRetentionPeriodAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationRetentionPeriodAttributes
- func (rp SnaplockConfigurationRetentionPeriodAttributes) MaximumRetention() ...
- func (rp SnaplockConfigurationRetentionPeriodAttributes) MinimumRetention() ...
- type SnaplockConfigurationRetentionPeriodDefaultRetention
- type SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes
- func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalRef() (terra.Reference, error)
- func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes
- func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) Type() terra.StringValue
- func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) Value() terra.NumberValue
- type SnaplockConfigurationRetentionPeriodDefaultRetentionState
- type SnaplockConfigurationRetentionPeriodMaximumRetention
- type SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes
- func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalRef() (terra.Reference, error)
- func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes
- func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) Type() terra.StringValue
- func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) Value() terra.NumberValue
- type SnaplockConfigurationRetentionPeriodMaximumRetentionState
- type SnaplockConfigurationRetentionPeriodMinimumRetention
- type SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes
- func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalRef() (terra.Reference, error)
- func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes
- func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) Type() terra.StringValue
- func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) Value() terra.NumberValue
- type SnaplockConfigurationRetentionPeriodMinimumRetentionState
- type SnaplockConfigurationRetentionPeriodState
- type SnaplockConfigurationState
- type TieringPolicy
- type TieringPolicyAttributes
- func (tp TieringPolicyAttributes) CoolingPeriod() terra.NumberValue
- func (tp TieringPolicyAttributes) InternalRef() (terra.Reference, error)
- func (tp TieringPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tp TieringPolicyAttributes) InternalWithRef(ref terra.Reference) TieringPolicyAttributes
- func (tp TieringPolicyAttributes) Name() terra.StringValue
- type TieringPolicyState
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BypassSnaplockEnterpriseRetention: bool, optional BypassSnaplockEnterpriseRetention terra.BoolValue `hcl:"bypass_snaplock_enterprise_retention,attr"` // CopyTagsToBackups: bool, optional CopyTagsToBackups terra.BoolValue `hcl:"copy_tags_to_backups,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // JunctionPath: string, optional JunctionPath terra.StringValue `hcl:"junction_path,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // OntapVolumeType: string, optional OntapVolumeType terra.StringValue `hcl:"ontap_volume_type,attr"` // SecurityStyle: string, optional SecurityStyle terra.StringValue `hcl:"security_style,attr"` // SizeInMegabytes: number, required SizeInMegabytes terra.NumberValue `hcl:"size_in_megabytes,attr" validate:"required"` // SkipFinalBackup: bool, optional SkipFinalBackup terra.BoolValue `hcl:"skip_final_backup,attr"` // SnapshotPolicy: string, optional SnapshotPolicy terra.StringValue `hcl:"snapshot_policy,attr"` // StorageEfficiencyEnabled: bool, optional StorageEfficiencyEnabled terra.BoolValue `hcl:"storage_efficiency_enabled,attr"` // StorageVirtualMachineId: string, required StorageVirtualMachineId terra.StringValue `hcl:"storage_virtual_machine_id,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // VolumeType: string, optional VolumeType terra.StringValue `hcl:"volume_type,attr"` // SnaplockConfiguration: optional SnaplockConfiguration *SnaplockConfiguration `hcl:"snaplock_configuration,block"` // TieringPolicy: optional TieringPolicy *TieringPolicy `hcl:"tiering_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_fsx_ontap_volume.
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 aws_fsx_ontap_volume.
func (*Resource) Attributes ¶
func (afov *Resource) Attributes() awsFsxOntapVolumeAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (afov *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (afov *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 SnaplockConfiguration ¶
type SnaplockConfiguration struct { // AuditLogVolume: bool, optional AuditLogVolume terra.BoolValue `hcl:"audit_log_volume,attr"` // PrivilegedDelete: string, optional PrivilegedDelete terra.StringValue `hcl:"privileged_delete,attr"` // SnaplockType: string, required SnaplockType terra.StringValue `hcl:"snaplock_type,attr" validate:"required"` // VolumeAppendModeEnabled: bool, optional VolumeAppendModeEnabled terra.BoolValue `hcl:"volume_append_mode_enabled,attr"` // SnaplockConfigurationAutocommitPeriod: optional AutocommitPeriod *SnaplockConfigurationAutocommitPeriod `hcl:"autocommit_period,block"` // SnaplockConfigurationRetentionPeriod: optional RetentionPeriod *SnaplockConfigurationRetentionPeriod `hcl:"retention_period,block"` }
type SnaplockConfigurationAttributes ¶
type SnaplockConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (SnaplockConfigurationAttributes) AuditLogVolume ¶
func (sc SnaplockConfigurationAttributes) AuditLogVolume() terra.BoolValue
func (SnaplockConfigurationAttributes) AutocommitPeriod ¶
func (sc SnaplockConfigurationAttributes) AutocommitPeriod() terra.ListValue[SnaplockConfigurationAutocommitPeriodAttributes]
func (SnaplockConfigurationAttributes) InternalRef ¶
func (sc SnaplockConfigurationAttributes) InternalRef() (terra.Reference, error)
func (SnaplockConfigurationAttributes) InternalTokens ¶
func (sc SnaplockConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnaplockConfigurationAttributes) InternalWithRef ¶
func (sc SnaplockConfigurationAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationAttributes
func (SnaplockConfigurationAttributes) PrivilegedDelete ¶
func (sc SnaplockConfigurationAttributes) PrivilegedDelete() terra.StringValue
func (SnaplockConfigurationAttributes) RetentionPeriod ¶
func (sc SnaplockConfigurationAttributes) RetentionPeriod() terra.ListValue[SnaplockConfigurationRetentionPeriodAttributes]
func (SnaplockConfigurationAttributes) SnaplockType ¶
func (sc SnaplockConfigurationAttributes) SnaplockType() terra.StringValue
func (SnaplockConfigurationAttributes) VolumeAppendModeEnabled ¶
func (sc SnaplockConfigurationAttributes) VolumeAppendModeEnabled() terra.BoolValue
type SnaplockConfigurationAutocommitPeriod ¶
type SnaplockConfigurationAutocommitPeriod struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: number, optional Value terra.NumberValue `hcl:"value,attr"` }
type SnaplockConfigurationAutocommitPeriodAttributes ¶
type SnaplockConfigurationAutocommitPeriodAttributes struct {
// contains filtered or unexported fields
}
func (SnaplockConfigurationAutocommitPeriodAttributes) InternalRef ¶
func (ap SnaplockConfigurationAutocommitPeriodAttributes) InternalRef() (terra.Reference, error)
func (SnaplockConfigurationAutocommitPeriodAttributes) InternalTokens ¶
func (ap SnaplockConfigurationAutocommitPeriodAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnaplockConfigurationAutocommitPeriodAttributes) InternalWithRef ¶
func (ap SnaplockConfigurationAutocommitPeriodAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationAutocommitPeriodAttributes
func (SnaplockConfigurationAutocommitPeriodAttributes) Type ¶
func (ap SnaplockConfigurationAutocommitPeriodAttributes) Type() terra.StringValue
func (SnaplockConfigurationAutocommitPeriodAttributes) Value ¶
func (ap SnaplockConfigurationAutocommitPeriodAttributes) Value() terra.NumberValue
type SnaplockConfigurationRetentionPeriod ¶
type SnaplockConfigurationRetentionPeriod struct { // SnaplockConfigurationRetentionPeriodDefaultRetention: optional DefaultRetention *SnaplockConfigurationRetentionPeriodDefaultRetention `hcl:"default_retention,block"` // SnaplockConfigurationRetentionPeriodMaximumRetention: optional MaximumRetention *SnaplockConfigurationRetentionPeriodMaximumRetention `hcl:"maximum_retention,block"` // SnaplockConfigurationRetentionPeriodMinimumRetention: optional MinimumRetention *SnaplockConfigurationRetentionPeriodMinimumRetention `hcl:"minimum_retention,block"` }
type SnaplockConfigurationRetentionPeriodAttributes ¶
type SnaplockConfigurationRetentionPeriodAttributes struct {
// contains filtered or unexported fields
}
func (SnaplockConfigurationRetentionPeriodAttributes) DefaultRetention ¶
func (rp SnaplockConfigurationRetentionPeriodAttributes) DefaultRetention() terra.ListValue[SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes]
func (SnaplockConfigurationRetentionPeriodAttributes) InternalRef ¶
func (rp SnaplockConfigurationRetentionPeriodAttributes) InternalRef() (terra.Reference, error)
func (SnaplockConfigurationRetentionPeriodAttributes) InternalTokens ¶
func (rp SnaplockConfigurationRetentionPeriodAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnaplockConfigurationRetentionPeriodAttributes) InternalWithRef ¶
func (rp SnaplockConfigurationRetentionPeriodAttributes) InternalWithRef(ref terra.Reference) SnaplockConfigurationRetentionPeriodAttributes
func (SnaplockConfigurationRetentionPeriodAttributes) MaximumRetention ¶
func (rp SnaplockConfigurationRetentionPeriodAttributes) MaximumRetention() terra.ListValue[SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes]
func (SnaplockConfigurationRetentionPeriodAttributes) MinimumRetention ¶
func (rp SnaplockConfigurationRetentionPeriodAttributes) MinimumRetention() terra.ListValue[SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes]
type SnaplockConfigurationRetentionPeriodDefaultRetention ¶
type SnaplockConfigurationRetentionPeriodDefaultRetention struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: number, optional Value terra.NumberValue `hcl:"value,attr"` }
type SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes ¶
type SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes struct {
// contains filtered or unexported fields
}
func (SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalRef ¶
func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalRef() (terra.Reference, error)
func (SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalTokens ¶
func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) InternalWithRef ¶
func (SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) Value ¶
func (dr SnaplockConfigurationRetentionPeriodDefaultRetentionAttributes) Value() terra.NumberValue
type SnaplockConfigurationRetentionPeriodMaximumRetention ¶
type SnaplockConfigurationRetentionPeriodMaximumRetention struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: number, optional Value terra.NumberValue `hcl:"value,attr"` }
type SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes ¶
type SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes struct {
// contains filtered or unexported fields
}
func (SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalRef ¶
func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalRef() (terra.Reference, error)
func (SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalTokens ¶
func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) InternalWithRef ¶
func (SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) Value ¶
func (mr SnaplockConfigurationRetentionPeriodMaximumRetentionAttributes) Value() terra.NumberValue
type SnaplockConfigurationRetentionPeriodMinimumRetention ¶
type SnaplockConfigurationRetentionPeriodMinimumRetention struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: number, optional Value terra.NumberValue `hcl:"value,attr"` }
type SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes ¶
type SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes struct {
// contains filtered or unexported fields
}
func (SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalRef ¶
func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalRef() (terra.Reference, error)
func (SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalTokens ¶
func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) InternalWithRef ¶
func (SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) Value ¶
func (mr SnaplockConfigurationRetentionPeriodMinimumRetentionAttributes) Value() terra.NumberValue
type SnaplockConfigurationRetentionPeriodState ¶
type SnaplockConfigurationRetentionPeriodState struct { DefaultRetention []SnaplockConfigurationRetentionPeriodDefaultRetentionState `json:"default_retention"` MaximumRetention []SnaplockConfigurationRetentionPeriodMaximumRetentionState `json:"maximum_retention"` MinimumRetention []SnaplockConfigurationRetentionPeriodMinimumRetentionState `json:"minimum_retention"` }
type SnaplockConfigurationState ¶
type SnaplockConfigurationState struct { AuditLogVolume bool `json:"audit_log_volume"` PrivilegedDelete string `json:"privileged_delete"` SnaplockType string `json:"snaplock_type"` VolumeAppendModeEnabled bool `json:"volume_append_mode_enabled"` AutocommitPeriod []SnaplockConfigurationAutocommitPeriodState `json:"autocommit_period"` RetentionPeriod []SnaplockConfigurationRetentionPeriodState `json:"retention_period"` }
type TieringPolicy ¶
type TieringPolicy struct { // CoolingPeriod: number, optional CoolingPeriod terra.NumberValue `hcl:"cooling_period,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` }
type TieringPolicyAttributes ¶
type TieringPolicyAttributes struct {
// contains filtered or unexported fields
}
func (TieringPolicyAttributes) CoolingPeriod ¶
func (tp TieringPolicyAttributes) CoolingPeriod() terra.NumberValue
func (TieringPolicyAttributes) InternalRef ¶
func (tp TieringPolicyAttributes) InternalRef() (terra.Reference, error)
func (TieringPolicyAttributes) InternalTokens ¶
func (tp TieringPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TieringPolicyAttributes) InternalWithRef ¶
func (tp TieringPolicyAttributes) InternalWithRef(ref terra.Reference) TieringPolicyAttributes
func (TieringPolicyAttributes) Name ¶
func (tp TieringPolicyAttributes) Name() terra.StringValue
type TieringPolicyState ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.