Documentation
¶
Index ¶
- type Args
- type Backup
- type BackupAttributes
- func (b BackupAttributes) Frequency() terra.StringValue
- func (b BackupAttributes) Hourly() terra.ListValue[BackupHourlyAttributes]
- func (b BackupAttributes) InternalRef() (terra.Reference, error)
- func (b BackupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b BackupAttributes) InternalWithRef(ref terra.Reference) BackupAttributes
- func (b BackupAttributes) Time() terra.StringValue
- type BackupHourly
- type BackupHourlyAttributes
- func (h BackupHourlyAttributes) InternalRef() (terra.Reference, error)
- func (h BackupHourlyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h BackupHourlyAttributes) InternalWithRef(ref terra.Reference) BackupHourlyAttributes
- func (h BackupHourlyAttributes) Interval() terra.NumberValue
- func (h BackupHourlyAttributes) StartTime() terra.StringValue
- func (h BackupHourlyAttributes) WindowDuration() terra.NumberValue
- type BackupHourlyState
- type BackupState
- type DataArgs
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (abpfs *Resource) Attributes() azurermBackupPolicyFileShareAttributes
- func (abpfs *Resource) Configuration() interface{}
- func (abpfs *Resource) DependOn() terra.Reference
- func (abpfs *Resource) Dependencies() terra.Dependencies
- func (abpfs *Resource) ImportState(state io.Reader) error
- func (abpfs *Resource) LifecycleManagement() *terra.Lifecycle
- func (abpfs *Resource) LocalName() string
- func (abpfs *Resource) State() (*azurermBackupPolicyFileShareState, bool)
- func (abpfs *Resource) StateMust() *azurermBackupPolicyFileShareState
- func (abpfs *Resource) Type() string
- type RetentionDaily
- type RetentionDailyAttributes
- func (rd RetentionDailyAttributes) Count() terra.NumberValue
- func (rd RetentionDailyAttributes) InternalRef() (terra.Reference, error)
- func (rd RetentionDailyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rd RetentionDailyAttributes) InternalWithRef(ref terra.Reference) RetentionDailyAttributes
- type RetentionDailyState
- type RetentionMonthly
- type RetentionMonthlyAttributes
- func (rm RetentionMonthlyAttributes) Count() terra.NumberValue
- func (rm RetentionMonthlyAttributes) Days() terra.SetValue[terra.NumberValue]
- func (rm RetentionMonthlyAttributes) IncludeLastDays() terra.BoolValue
- func (rm RetentionMonthlyAttributes) InternalRef() (terra.Reference, error)
- func (rm RetentionMonthlyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rm RetentionMonthlyAttributes) InternalWithRef(ref terra.Reference) RetentionMonthlyAttributes
- func (rm RetentionMonthlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
- func (rm RetentionMonthlyAttributes) Weeks() terra.SetValue[terra.StringValue]
- type RetentionMonthlyState
- type RetentionWeekly
- type RetentionWeeklyAttributes
- func (rw RetentionWeeklyAttributes) Count() terra.NumberValue
- func (rw RetentionWeeklyAttributes) InternalRef() (terra.Reference, error)
- func (rw RetentionWeeklyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rw RetentionWeeklyAttributes) InternalWithRef(ref terra.Reference) RetentionWeeklyAttributes
- func (rw RetentionWeeklyAttributes) Weekdays() terra.SetValue[terra.StringValue]
- type RetentionWeeklyState
- type RetentionYearly
- type RetentionYearlyAttributes
- func (ry RetentionYearlyAttributes) Count() terra.NumberValue
- func (ry RetentionYearlyAttributes) Days() terra.SetValue[terra.NumberValue]
- func (ry RetentionYearlyAttributes) IncludeLastDays() terra.BoolValue
- func (ry RetentionYearlyAttributes) InternalRef() (terra.Reference, error)
- func (ry RetentionYearlyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ry RetentionYearlyAttributes) InternalWithRef(ref terra.Reference) RetentionYearlyAttributes
- func (ry RetentionYearlyAttributes) Months() terra.SetValue[terra.StringValue]
- func (ry RetentionYearlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
- func (ry RetentionYearlyAttributes) Weeks() terra.SetValue[terra.StringValue]
- type RetentionYearlyState
- 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"` // Timezone: string, optional Timezone terra.StringValue `hcl:"timezone,attr"` // Backup: required Backup *Backup `hcl:"backup,block" validate:"required"` // RetentionDaily: required RetentionDaily *RetentionDaily `hcl:"retention_daily,block" validate:"required"` // RetentionMonthly: optional RetentionMonthly *RetentionMonthly `hcl:"retention_monthly,block"` // RetentionWeekly: optional RetentionWeekly *RetentionWeekly `hcl:"retention_weekly,block"` // RetentionYearly: optional RetentionYearly *RetentionYearly `hcl:"retention_yearly,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_backup_policy_file_share.
type Backup ¶
type Backup struct { // Frequency: string, required Frequency terra.StringValue `hcl:"frequency,attr" validate:"required"` // Time: string, optional Time terra.StringValue `hcl:"time,attr"` // BackupHourly: optional Hourly *BackupHourly `hcl:"hourly,block"` }
type BackupAttributes ¶
type BackupAttributes struct {
// contains filtered or unexported fields
}
func (BackupAttributes) Frequency ¶
func (b BackupAttributes) Frequency() terra.StringValue
func (BackupAttributes) Hourly ¶
func (b BackupAttributes) Hourly() terra.ListValue[BackupHourlyAttributes]
func (BackupAttributes) InternalRef ¶
func (b BackupAttributes) InternalRef() (terra.Reference, error)
func (BackupAttributes) InternalTokens ¶
func (b BackupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupAttributes) InternalWithRef ¶
func (b BackupAttributes) InternalWithRef(ref terra.Reference) BackupAttributes
func (BackupAttributes) Time ¶
func (b BackupAttributes) Time() terra.StringValue
type BackupHourly ¶
type BackupHourly struct { // Interval: number, required Interval terra.NumberValue `hcl:"interval,attr" validate:"required"` // StartTime: string, required StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"` // WindowDuration: number, required WindowDuration terra.NumberValue `hcl:"window_duration,attr" validate:"required"` }
type BackupHourlyAttributes ¶
type BackupHourlyAttributes struct {
// contains filtered or unexported fields
}
func (BackupHourlyAttributes) InternalRef ¶
func (h BackupHourlyAttributes) InternalRef() (terra.Reference, error)
func (BackupHourlyAttributes) InternalTokens ¶
func (h BackupHourlyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupHourlyAttributes) InternalWithRef ¶
func (h BackupHourlyAttributes) InternalWithRef(ref terra.Reference) BackupHourlyAttributes
func (BackupHourlyAttributes) Interval ¶
func (h BackupHourlyAttributes) Interval() terra.NumberValue
func (BackupHourlyAttributes) StartTime ¶
func (h BackupHourlyAttributes) StartTime() terra.StringValue
func (BackupHourlyAttributes) WindowDuration ¶
func (h BackupHourlyAttributes) WindowDuration() terra.NumberValue
type BackupHourlyState ¶
type BackupState ¶
type BackupState struct { Frequency string `json:"frequency"` Time string `json:"time"` Hourly []BackupHourlyState `json:"hourly"` }
type DataArgs ¶
type DataArgs 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"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_backup_policy_file_share.
type DataSource ¶
DataSource represents the Terraform data resource azurerm_backup_policy_file_share.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (abpfs *DataSource) Attributes() dataAzurermBackupPolicyFileShareAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (abpfs *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (abpfs *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (abpfs *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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_file_share.
func (*Resource) Attributes ¶
func (abpfs *Resource) Attributes() azurermBackupPolicyFileShareAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (abpfs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (abpfs *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 RetentionDaily ¶
type RetentionDaily struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` }
type RetentionDailyAttributes ¶
type RetentionDailyAttributes struct {
// contains filtered or unexported fields
}
func (RetentionDailyAttributes) Count ¶
func (rd RetentionDailyAttributes) Count() terra.NumberValue
func (RetentionDailyAttributes) InternalRef ¶
func (rd RetentionDailyAttributes) InternalRef() (terra.Reference, error)
func (RetentionDailyAttributes) InternalTokens ¶
func (rd RetentionDailyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RetentionDailyAttributes) InternalWithRef ¶
func (rd RetentionDailyAttributes) InternalWithRef(ref terra.Reference) RetentionDailyAttributes
type RetentionDailyState ¶
type RetentionDailyState struct {
Count float64 `json:"count"`
}
type RetentionMonthly ¶
type RetentionMonthly struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` // Days: set of number, optional Days terra.SetValue[terra.NumberValue] `hcl:"days,attr"` // IncludeLastDays: bool, optional IncludeLastDays terra.BoolValue `hcl:"include_last_days,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 RetentionMonthlyAttributes ¶
type RetentionMonthlyAttributes struct {
// contains filtered or unexported fields
}
func (RetentionMonthlyAttributes) Count ¶
func (rm RetentionMonthlyAttributes) Count() terra.NumberValue
func (RetentionMonthlyAttributes) Days ¶
func (rm RetentionMonthlyAttributes) Days() terra.SetValue[terra.NumberValue]
func (RetentionMonthlyAttributes) IncludeLastDays ¶
func (rm RetentionMonthlyAttributes) IncludeLastDays() terra.BoolValue
func (RetentionMonthlyAttributes) InternalRef ¶
func (rm RetentionMonthlyAttributes) InternalRef() (terra.Reference, error)
func (RetentionMonthlyAttributes) InternalTokens ¶
func (rm RetentionMonthlyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RetentionMonthlyAttributes) InternalWithRef ¶
func (rm RetentionMonthlyAttributes) InternalWithRef(ref terra.Reference) RetentionMonthlyAttributes
func (RetentionMonthlyAttributes) Weekdays ¶
func (rm RetentionMonthlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
func (RetentionMonthlyAttributes) Weeks ¶
func (rm RetentionMonthlyAttributes) Weeks() terra.SetValue[terra.StringValue]
type RetentionMonthlyState ¶
type RetentionWeekly ¶
type RetentionWeekly 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 RetentionWeeklyAttributes ¶
type RetentionWeeklyAttributes struct {
// contains filtered or unexported fields
}
func (RetentionWeeklyAttributes) Count ¶
func (rw RetentionWeeklyAttributes) Count() terra.NumberValue
func (RetentionWeeklyAttributes) InternalRef ¶
func (rw RetentionWeeklyAttributes) InternalRef() (terra.Reference, error)
func (RetentionWeeklyAttributes) InternalTokens ¶
func (rw RetentionWeeklyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RetentionWeeklyAttributes) InternalWithRef ¶
func (rw RetentionWeeklyAttributes) InternalWithRef(ref terra.Reference) RetentionWeeklyAttributes
func (RetentionWeeklyAttributes) Weekdays ¶
func (rw RetentionWeeklyAttributes) Weekdays() terra.SetValue[terra.StringValue]
type RetentionWeeklyState ¶
type RetentionYearly ¶
type RetentionYearly struct { // Count: number, required Count terra.NumberValue `hcl:"count,attr" validate:"required"` // Days: set of number, optional Days terra.SetValue[terra.NumberValue] `hcl:"days,attr"` // IncludeLastDays: bool, optional IncludeLastDays terra.BoolValue `hcl:"include_last_days,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 RetentionYearlyAttributes ¶
type RetentionYearlyAttributes struct {
// contains filtered or unexported fields
}
func (RetentionYearlyAttributes) Count ¶
func (ry RetentionYearlyAttributes) Count() terra.NumberValue
func (RetentionYearlyAttributes) Days ¶
func (ry RetentionYearlyAttributes) Days() terra.SetValue[terra.NumberValue]
func (RetentionYearlyAttributes) IncludeLastDays ¶
func (ry RetentionYearlyAttributes) IncludeLastDays() terra.BoolValue
func (RetentionYearlyAttributes) InternalRef ¶
func (ry RetentionYearlyAttributes) InternalRef() (terra.Reference, error)
func (RetentionYearlyAttributes) InternalTokens ¶
func (ry RetentionYearlyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RetentionYearlyAttributes) InternalWithRef ¶
func (ry RetentionYearlyAttributes) InternalWithRef(ref terra.Reference) RetentionYearlyAttributes
func (RetentionYearlyAttributes) Months ¶
func (ry RetentionYearlyAttributes) Months() terra.SetValue[terra.StringValue]
func (RetentionYearlyAttributes) Weekdays ¶
func (ry RetentionYearlyAttributes) Weekdays() terra.SetValue[terra.StringValue]
func (RetentionYearlyAttributes) Weeks ¶
func (ry RetentionYearlyAttributes) Weeks() terra.SetValue[terra.StringValue]
type RetentionYearlyState ¶
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