Documentation
¶
Index ¶
- type Criteria
- type CriteriaAttributes
- type CriteriaState
- type RetentionRule
- type RetentionRuleAttributes
- func (rr RetentionRuleAttributes) Criteria() terra.ListValue[CriteriaAttributes]
- func (rr RetentionRuleAttributes) Duration() terra.StringValue
- func (rr RetentionRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr RetentionRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr RetentionRuleAttributes) InternalWithRef(ref terra.Reference) RetentionRuleAttributes
- func (rr RetentionRuleAttributes) Name() terra.StringValue
- func (rr RetentionRuleAttributes) Priority() terra.NumberValue
- type RetentionRuleState
- 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 Criteria ¶
type Criteria struct { // AbsoluteCriteria: string, optional AbsoluteCriteria terra.StringValue `hcl:"absolute_criteria,attr"` }
type CriteriaAttributes ¶
type CriteriaAttributes struct {
// contains filtered or unexported fields
}
func (CriteriaAttributes) AbsoluteCriteria ¶
func (c CriteriaAttributes) AbsoluteCriteria() terra.StringValue
func (CriteriaAttributes) InternalRef ¶
func (c CriteriaAttributes) InternalRef() (terra.Reference, error)
func (CriteriaAttributes) InternalTokens ¶
func (c CriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CriteriaAttributes) InternalWithRef ¶
func (c CriteriaAttributes) InternalWithRef(ref terra.Reference) CriteriaAttributes
type CriteriaState ¶
type CriteriaState struct {
AbsoluteCriteria string `json:"absolute_criteria"`
}
type RetentionRule ¶
type RetentionRule struct { // Duration: string, required Duration terra.StringValue `hcl:"duration,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // Criteria: required Criteria *Criteria `hcl:"criteria,block" validate:"required"` }
type RetentionRuleAttributes ¶
type RetentionRuleAttributes struct {
// contains filtered or unexported fields
}
func (RetentionRuleAttributes) Criteria ¶
func (rr RetentionRuleAttributes) Criteria() terra.ListValue[CriteriaAttributes]
func (RetentionRuleAttributes) Duration ¶
func (rr RetentionRuleAttributes) Duration() terra.StringValue
func (RetentionRuleAttributes) InternalRef ¶
func (rr RetentionRuleAttributes) InternalRef() (terra.Reference, error)
func (RetentionRuleAttributes) InternalTokens ¶
func (rr RetentionRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RetentionRuleAttributes) InternalWithRef ¶
func (rr RetentionRuleAttributes) InternalWithRef(ref terra.Reference) RetentionRuleAttributes
func (RetentionRuleAttributes) Name ¶
func (rr RetentionRuleAttributes) Name() terra.StringValue
func (RetentionRuleAttributes) Priority ¶
func (rr RetentionRuleAttributes) Priority() terra.NumberValue
type RetentionRuleState ¶
type RetentionRuleState struct { Duration string `json:"duration"` Name string `json:"name"` Priority float64 `json:"priority"` Criteria []CriteriaState `json:"criteria"` }
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.