Documentation ¶
Index ¶
- type Args
- type ProtectionPolicy
- type ProtectionPolicyAttributes
- func (pp ProtectionPolicyAttributes) Backup() terra.ListValue[ProtectionPolicyBackupAttributes]
- func (pp ProtectionPolicyAttributes) InternalRef() (terra.Reference, error)
- func (pp ProtectionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pp ProtectionPolicyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyAttributes
- func (pp ProtectionPolicyAttributes) PolicyType() terra.StringValue
- func (pp ProtectionPolicyAttributes) RetentionDaily() terra.ListValue[ProtectionPolicyRetentionDailyAttributes]
- func (pp ProtectionPolicyAttributes) RetentionMonthly() terra.ListValue[ProtectionPolicyRetentionMonthlyAttributes]
- func (pp ProtectionPolicyAttributes) RetentionWeekly() terra.ListValue[ProtectionPolicyRetentionWeeklyAttributes]
- func (pp ProtectionPolicyAttributes) RetentionYearly() terra.ListValue[ProtectionPolicyRetentionYearlyAttributes]
- func (pp ProtectionPolicyAttributes) SimpleRetention() terra.ListValue[ProtectionPolicySimpleRetentionAttributes]
- type ProtectionPolicyBackup
- type ProtectionPolicyBackupAttributes
- func (b ProtectionPolicyBackupAttributes) Frequency() terra.StringValue
- func (b ProtectionPolicyBackupAttributes) FrequencyInMinutes() terra.NumberValue
- func (b ProtectionPolicyBackupAttributes) InternalRef() (terra.Reference, error)
- func (b ProtectionPolicyBackupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b ProtectionPolicyBackupAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyBackupAttributes
- func (b ProtectionPolicyBackupAttributes) Time() terra.StringValue
- func (b ProtectionPolicyBackupAttributes) Weekdays() terra.SetValue[terra.StringValue]
- type ProtectionPolicyBackupState
- type ProtectionPolicyRetentionDaily
- type ProtectionPolicyRetentionDailyAttributes
- func (rd ProtectionPolicyRetentionDailyAttributes) Count() terra.NumberValue
- func (rd ProtectionPolicyRetentionDailyAttributes) InternalRef() (terra.Reference, error)
- func (rd ProtectionPolicyRetentionDailyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rd ProtectionPolicyRetentionDailyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionDailyAttributes
- type ProtectionPolicyRetentionDailyState
- type ProtectionPolicyRetentionMonthly
- type ProtectionPolicyRetentionMonthlyAttributes
- func (rm ProtectionPolicyRetentionMonthlyAttributes) Count() terra.NumberValue
- func (rm ProtectionPolicyRetentionMonthlyAttributes) FormatType() terra.StringValue
- func (rm ProtectionPolicyRetentionMonthlyAttributes) InternalRef() (terra.Reference, error)
- func (rm ProtectionPolicyRetentionMonthlyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rm ProtectionPolicyRetentionMonthlyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionMonthlyAttributes
- func (rm ProtectionPolicyRetentionMonthlyAttributes) Monthdays() terra.SetValue[terra.NumberValue]
- func (rm ProtectionPolicyRetentionMonthlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
- func (rm ProtectionPolicyRetentionMonthlyAttributes) Weeks() terra.SetValue[terra.StringValue]
- type ProtectionPolicyRetentionMonthlyState
- type ProtectionPolicyRetentionWeekly
- type ProtectionPolicyRetentionWeeklyAttributes
- func (rw ProtectionPolicyRetentionWeeklyAttributes) Count() terra.NumberValue
- func (rw ProtectionPolicyRetentionWeeklyAttributes) InternalRef() (terra.Reference, error)
- func (rw ProtectionPolicyRetentionWeeklyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rw ProtectionPolicyRetentionWeeklyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionWeeklyAttributes
- func (rw ProtectionPolicyRetentionWeeklyAttributes) Weekdays() terra.SetValue[terra.StringValue]
- type ProtectionPolicyRetentionWeeklyState
- type ProtectionPolicyRetentionYearly
- type ProtectionPolicyRetentionYearlyAttributes
- func (ry ProtectionPolicyRetentionYearlyAttributes) Count() terra.NumberValue
- func (ry ProtectionPolicyRetentionYearlyAttributes) FormatType() terra.StringValue
- func (ry ProtectionPolicyRetentionYearlyAttributes) InternalRef() (terra.Reference, error)
- func (ry ProtectionPolicyRetentionYearlyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ry ProtectionPolicyRetentionYearlyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionYearlyAttributes
- func (ry ProtectionPolicyRetentionYearlyAttributes) Monthdays() terra.SetValue[terra.NumberValue]
- func (ry ProtectionPolicyRetentionYearlyAttributes) Months() terra.SetValue[terra.StringValue]
- func (ry ProtectionPolicyRetentionYearlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
- func (ry ProtectionPolicyRetentionYearlyAttributes) Weeks() terra.SetValue[terra.StringValue]
- type ProtectionPolicyRetentionYearlyState
- type ProtectionPolicySimpleRetention
- type ProtectionPolicySimpleRetentionAttributes
- func (sr ProtectionPolicySimpleRetentionAttributes) Count() terra.NumberValue
- func (sr ProtectionPolicySimpleRetentionAttributes) InternalRef() (terra.Reference, error)
- func (sr ProtectionPolicySimpleRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr ProtectionPolicySimpleRetentionAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicySimpleRetentionAttributes
- type ProtectionPolicySimpleRetentionState
- type ProtectionPolicyState
- type Resource
- func (abpvw *Resource) Attributes() azurermBackupPolicyVmWorkloadAttributes
- func (abpvw *Resource) Configuration() interface{}
- func (abpvw *Resource) DependOn() terra.Reference
- func (abpvw *Resource) Dependencies() terra.Dependencies
- func (abpvw *Resource) ImportState(state io.Reader) error
- func (abpvw *Resource) LifecycleManagement() *terra.Lifecycle
- func (abpvw *Resource) LocalName() string
- func (abpvw *Resource) State() (*azurermBackupPolicyVmWorkloadState, bool)
- func (abpvw *Resource) StateMust() *azurermBackupPolicyVmWorkloadState
- func (abpvw *Resource) Type() string
- type Settings
- type SettingsAttributes
- func (s SettingsAttributes) CompressionEnabled() terra.BoolValue
- func (s SettingsAttributes) InternalRef() (terra.Reference, error)
- func (s SettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SettingsAttributes) InternalWithRef(ref terra.Reference) SettingsAttributes
- func (s SettingsAttributes) TimeZone() terra.StringValue
- type SettingsState
- 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) Read() terra.StringValue
- 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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RecoveryVaultName: string, required RecoveryVaultName terra.StringValue `hcl:"recovery_vault_name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // WorkloadType: string, required WorkloadType terra.StringValue `hcl:"workload_type,attr" validate:"required"` // ProtectionPolicy: min=1 ProtectionPolicy []ProtectionPolicy `hcl:"protection_policy,block" validate:"min=1"` // Settings: required Settings *Settings `hcl:"settings,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_backup_policy_vm_workload.
type ProtectionPolicy ¶
type ProtectionPolicy struct { // PolicyType: string, required PolicyType terra.StringValue `hcl:"policy_type,attr" validate:"required"` // ProtectionPolicyBackup: required Backup *ProtectionPolicyBackup `hcl:"backup,block" validate:"required"` // ProtectionPolicyRetentionDaily: optional RetentionDaily *ProtectionPolicyRetentionDaily `hcl:"retention_daily,block"` // ProtectionPolicyRetentionMonthly: optional RetentionMonthly *ProtectionPolicyRetentionMonthly `hcl:"retention_monthly,block"` // ProtectionPolicyRetentionWeekly: optional RetentionWeekly *ProtectionPolicyRetentionWeekly `hcl:"retention_weekly,block"` // ProtectionPolicyRetentionYearly: optional RetentionYearly *ProtectionPolicyRetentionYearly `hcl:"retention_yearly,block"` // ProtectionPolicySimpleRetention: optional SimpleRetention *ProtectionPolicySimpleRetention `hcl:"simple_retention,block"` }
type ProtectionPolicyAttributes ¶
type ProtectionPolicyAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionPolicyAttributes) Backup ¶
func (pp ProtectionPolicyAttributes) Backup() terra.ListValue[ProtectionPolicyBackupAttributes]
func (ProtectionPolicyAttributes) InternalRef ¶
func (pp ProtectionPolicyAttributes) InternalRef() (terra.Reference, error)
func (ProtectionPolicyAttributes) InternalTokens ¶
func (pp ProtectionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionPolicyAttributes) InternalWithRef ¶
func (pp ProtectionPolicyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyAttributes
func (ProtectionPolicyAttributes) PolicyType ¶
func (pp ProtectionPolicyAttributes) PolicyType() terra.StringValue
func (ProtectionPolicyAttributes) RetentionDaily ¶
func (pp ProtectionPolicyAttributes) RetentionDaily() terra.ListValue[ProtectionPolicyRetentionDailyAttributes]
func (ProtectionPolicyAttributes) RetentionMonthly ¶
func (pp ProtectionPolicyAttributes) RetentionMonthly() terra.ListValue[ProtectionPolicyRetentionMonthlyAttributes]
func (ProtectionPolicyAttributes) RetentionWeekly ¶
func (pp ProtectionPolicyAttributes) RetentionWeekly() terra.ListValue[ProtectionPolicyRetentionWeeklyAttributes]
func (ProtectionPolicyAttributes) RetentionYearly ¶
func (pp ProtectionPolicyAttributes) RetentionYearly() terra.ListValue[ProtectionPolicyRetentionYearlyAttributes]
func (ProtectionPolicyAttributes) SimpleRetention ¶
func (pp ProtectionPolicyAttributes) SimpleRetention() terra.ListValue[ProtectionPolicySimpleRetentionAttributes]
type ProtectionPolicyBackup ¶
type ProtectionPolicyBackup struct { // Frequency: string, optional Frequency terra.StringValue `hcl:"frequency,attr"` // FrequencyInMinutes: number, optional FrequencyInMinutes terra.NumberValue `hcl:"frequency_in_minutes,attr"` // Time: string, optional Time terra.StringValue `hcl:"time,attr"` // Weekdays: set of string, optional Weekdays terra.SetValue[terra.StringValue] `hcl:"weekdays,attr"` }
type ProtectionPolicyBackupAttributes ¶
type ProtectionPolicyBackupAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionPolicyBackupAttributes) Frequency ¶
func (b ProtectionPolicyBackupAttributes) Frequency() terra.StringValue
func (ProtectionPolicyBackupAttributes) FrequencyInMinutes ¶
func (b ProtectionPolicyBackupAttributes) FrequencyInMinutes() terra.NumberValue
func (ProtectionPolicyBackupAttributes) InternalRef ¶
func (b ProtectionPolicyBackupAttributes) InternalRef() (terra.Reference, error)
func (ProtectionPolicyBackupAttributes) InternalTokens ¶
func (b ProtectionPolicyBackupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionPolicyBackupAttributes) InternalWithRef ¶
func (b ProtectionPolicyBackupAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyBackupAttributes
func (ProtectionPolicyBackupAttributes) Time ¶
func (b ProtectionPolicyBackupAttributes) Time() terra.StringValue
func (ProtectionPolicyBackupAttributes) Weekdays ¶
func (b ProtectionPolicyBackupAttributes) Weekdays() terra.SetValue[terra.StringValue]
type ProtectionPolicyRetentionDaily ¶
type ProtectionPolicyRetentionDaily struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` }
type ProtectionPolicyRetentionDailyAttributes ¶
type ProtectionPolicyRetentionDailyAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionPolicyRetentionDailyAttributes) Count ¶
func (rd ProtectionPolicyRetentionDailyAttributes) Count() terra.NumberValue
func (ProtectionPolicyRetentionDailyAttributes) InternalRef ¶
func (rd ProtectionPolicyRetentionDailyAttributes) InternalRef() (terra.Reference, error)
func (ProtectionPolicyRetentionDailyAttributes) InternalTokens ¶
func (rd ProtectionPolicyRetentionDailyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionPolicyRetentionDailyAttributes) InternalWithRef ¶
func (rd ProtectionPolicyRetentionDailyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionDailyAttributes
type ProtectionPolicyRetentionDailyState ¶
type ProtectionPolicyRetentionDailyState struct {
Count float64 `json:"count"`
}
type ProtectionPolicyRetentionMonthly ¶
type ProtectionPolicyRetentionMonthly struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` // FormatType: string, required FormatType terra.StringValue `hcl:"format_type,attr" validate:"required"` // Monthdays: set of number, optional Monthdays terra.SetValue[terra.NumberValue] `hcl:"monthdays,attr"` // Weekdays: set of string, optional Weekdays terra.SetValue[terra.StringValue] `hcl:"weekdays,attr"` // Weeks: set of string, optional Weeks terra.SetValue[terra.StringValue] `hcl:"weeks,attr"` }
type ProtectionPolicyRetentionMonthlyAttributes ¶
type ProtectionPolicyRetentionMonthlyAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionPolicyRetentionMonthlyAttributes) Count ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) Count() terra.NumberValue
func (ProtectionPolicyRetentionMonthlyAttributes) FormatType ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) FormatType() terra.StringValue
func (ProtectionPolicyRetentionMonthlyAttributes) InternalRef ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) InternalRef() (terra.Reference, error)
func (ProtectionPolicyRetentionMonthlyAttributes) InternalTokens ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionPolicyRetentionMonthlyAttributes) InternalWithRef ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionMonthlyAttributes
func (ProtectionPolicyRetentionMonthlyAttributes) Monthdays ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) Monthdays() terra.SetValue[terra.NumberValue]
func (ProtectionPolicyRetentionMonthlyAttributes) Weekdays ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
func (ProtectionPolicyRetentionMonthlyAttributes) Weeks ¶
func (rm ProtectionPolicyRetentionMonthlyAttributes) Weeks() terra.SetValue[terra.StringValue]
type ProtectionPolicyRetentionWeekly ¶
type ProtectionPolicyRetentionWeekly struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` // Weekdays: set of string, required Weekdays terra.SetValue[terra.StringValue] `hcl:"weekdays,attr" validate:"required"` }
type ProtectionPolicyRetentionWeeklyAttributes ¶
type ProtectionPolicyRetentionWeeklyAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionPolicyRetentionWeeklyAttributes) Count ¶
func (rw ProtectionPolicyRetentionWeeklyAttributes) Count() terra.NumberValue
func (ProtectionPolicyRetentionWeeklyAttributes) InternalRef ¶
func (rw ProtectionPolicyRetentionWeeklyAttributes) InternalRef() (terra.Reference, error)
func (ProtectionPolicyRetentionWeeklyAttributes) InternalTokens ¶
func (rw ProtectionPolicyRetentionWeeklyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionPolicyRetentionWeeklyAttributes) InternalWithRef ¶
func (rw ProtectionPolicyRetentionWeeklyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionWeeklyAttributes
func (ProtectionPolicyRetentionWeeklyAttributes) Weekdays ¶
func (rw ProtectionPolicyRetentionWeeklyAttributes) Weekdays() terra.SetValue[terra.StringValue]
type ProtectionPolicyRetentionYearly ¶
type ProtectionPolicyRetentionYearly struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` // FormatType: string, required FormatType terra.StringValue `hcl:"format_type,attr" validate:"required"` // Monthdays: set of number, optional Monthdays terra.SetValue[terra.NumberValue] `hcl:"monthdays,attr"` // Months: set of string, required Months terra.SetValue[terra.StringValue] `hcl:"months,attr" validate:"required"` // Weekdays: set of string, optional Weekdays terra.SetValue[terra.StringValue] `hcl:"weekdays,attr"` // Weeks: set of string, optional Weeks terra.SetValue[terra.StringValue] `hcl:"weeks,attr"` }
type ProtectionPolicyRetentionYearlyAttributes ¶
type ProtectionPolicyRetentionYearlyAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionPolicyRetentionYearlyAttributes) Count ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) Count() terra.NumberValue
func (ProtectionPolicyRetentionYearlyAttributes) FormatType ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) FormatType() terra.StringValue
func (ProtectionPolicyRetentionYearlyAttributes) InternalRef ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) InternalRef() (terra.Reference, error)
func (ProtectionPolicyRetentionYearlyAttributes) InternalTokens ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionPolicyRetentionYearlyAttributes) InternalWithRef ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicyRetentionYearlyAttributes
func (ProtectionPolicyRetentionYearlyAttributes) Monthdays ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) Monthdays() terra.SetValue[terra.NumberValue]
func (ProtectionPolicyRetentionYearlyAttributes) Months ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) Months() terra.SetValue[terra.StringValue]
func (ProtectionPolicyRetentionYearlyAttributes) Weekdays ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
func (ProtectionPolicyRetentionYearlyAttributes) Weeks ¶
func (ry ProtectionPolicyRetentionYearlyAttributes) Weeks() terra.SetValue[terra.StringValue]
type ProtectionPolicySimpleRetention ¶
type ProtectionPolicySimpleRetention struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` }
type ProtectionPolicySimpleRetentionAttributes ¶
type ProtectionPolicySimpleRetentionAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionPolicySimpleRetentionAttributes) Count ¶
func (sr ProtectionPolicySimpleRetentionAttributes) Count() terra.NumberValue
func (ProtectionPolicySimpleRetentionAttributes) InternalRef ¶
func (sr ProtectionPolicySimpleRetentionAttributes) InternalRef() (terra.Reference, error)
func (ProtectionPolicySimpleRetentionAttributes) InternalTokens ¶
func (sr ProtectionPolicySimpleRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionPolicySimpleRetentionAttributes) InternalWithRef ¶
func (sr ProtectionPolicySimpleRetentionAttributes) InternalWithRef(ref terra.Reference) ProtectionPolicySimpleRetentionAttributes
type ProtectionPolicySimpleRetentionState ¶
type ProtectionPolicySimpleRetentionState struct {
Count float64 `json:"count"`
}
type ProtectionPolicyState ¶
type ProtectionPolicyState struct { PolicyType string `json:"policy_type"` Backup []ProtectionPolicyBackupState `json:"backup"` RetentionDaily []ProtectionPolicyRetentionDailyState `json:"retention_daily"` RetentionMonthly []ProtectionPolicyRetentionMonthlyState `json:"retention_monthly"` RetentionWeekly []ProtectionPolicyRetentionWeeklyState `json:"retention_weekly"` RetentionYearly []ProtectionPolicyRetentionYearlyState `json:"retention_yearly"` SimpleRetention []ProtectionPolicySimpleRetentionState `json:"simple_retention"` }
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 azurerm_backup_policy_vm_workload.
func (*Resource) Attributes ¶
func (abpvw *Resource) Attributes() azurermBackupPolicyVmWorkloadAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (abpvw *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (abpvw *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 Settings ¶
type Settings struct { // CompressionEnabled: bool, optional CompressionEnabled terra.BoolValue `hcl:"compression_enabled,attr"` // TimeZone: string, required TimeZone terra.StringValue `hcl:"time_zone,attr" validate:"required"` }
type SettingsAttributes ¶
type SettingsAttributes struct {
// contains filtered or unexported fields
}
func (SettingsAttributes) CompressionEnabled ¶
func (s SettingsAttributes) CompressionEnabled() terra.BoolValue
func (SettingsAttributes) InternalRef ¶
func (s SettingsAttributes) InternalRef() (terra.Reference, error)
func (SettingsAttributes) InternalTokens ¶
func (s SettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SettingsAttributes) InternalWithRef ¶
func (s SettingsAttributes) InternalWithRef(ref terra.Reference) SettingsAttributes
func (SettingsAttributes) TimeZone ¶
func (s SettingsAttributes) TimeZone() terra.StringValue
type SettingsState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.