Documentation ¶
Index ¶
- type Filter
- type FilterAttributes
- func (f FilterAttributes) Dimension() terra.SetValue[FilterDimensionAttributes]
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) Not() terra.ListValue[NotAttributes]
- func (f FilterAttributes) Tag() terra.SetValue[FilterTagAttributes]
- type FilterDimension
- type FilterDimensionAttributes
- func (d FilterDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d FilterDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d FilterDimensionAttributes) InternalWithRef(ref terra.Reference) FilterDimensionAttributes
- func (d FilterDimensionAttributes) Name() terra.StringValue
- func (d FilterDimensionAttributes) Operator() terra.StringValue
- func (d FilterDimensionAttributes) Values() terra.ListValue[terra.StringValue]
- type FilterDimensionState
- type FilterState
- type FilterTag
- type FilterTagAttributes
- func (t FilterTagAttributes) InternalRef() (terra.Reference, error)
- func (t FilterTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t FilterTagAttributes) InternalWithRef(ref terra.Reference) FilterTagAttributes
- func (t FilterTagAttributes) Name() terra.StringValue
- func (t FilterTagAttributes) Operator() terra.StringValue
- func (t FilterTagAttributes) Values() terra.ListValue[terra.StringValue]
- type FilterTagState
- type Not
- type NotAttributes
- func (n NotAttributes) Dimension() terra.ListValue[NotDimensionAttributes]
- func (n NotAttributes) InternalRef() (terra.Reference, error)
- func (n NotAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NotAttributes) InternalWithRef(ref terra.Reference) NotAttributes
- func (n NotAttributes) Tag() terra.ListValue[NotTagAttributes]
- type NotDimension
- type NotDimensionAttributes
- func (d NotDimensionAttributes) InternalRef() (terra.Reference, error)
- func (d NotDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d NotDimensionAttributes) InternalWithRef(ref terra.Reference) NotDimensionAttributes
- func (d NotDimensionAttributes) Name() terra.StringValue
- func (d NotDimensionAttributes) Operator() terra.StringValue
- func (d NotDimensionAttributes) Values() terra.ListValue[terra.StringValue]
- type NotDimensionState
- type NotState
- type NotTag
- type NotTagAttributes
- func (t NotTagAttributes) InternalRef() (terra.Reference, error)
- func (t NotTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t NotTagAttributes) InternalWithRef(ref terra.Reference) NotTagAttributes
- func (t NotTagAttributes) Name() terra.StringValue
- func (t NotTagAttributes) Operator() terra.StringValue
- func (t NotTagAttributes) Values() terra.ListValue[terra.StringValue]
- type NotTagState
- type Notification
- type NotificationAttributes
- func (n NotificationAttributes) ContactEmails() terra.ListValue[terra.StringValue]
- func (n NotificationAttributes) ContactGroups() terra.ListValue[terra.StringValue]
- func (n NotificationAttributes) ContactRoles() terra.ListValue[terra.StringValue]
- func (n NotificationAttributes) Enabled() terra.BoolValue
- func (n NotificationAttributes) InternalRef() (terra.Reference, error)
- func (n NotificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NotificationAttributes) InternalWithRef(ref terra.Reference) NotificationAttributes
- func (n NotificationAttributes) Operator() terra.StringValue
- func (n NotificationAttributes) Threshold() terra.NumberValue
- func (n NotificationAttributes) ThresholdType() terra.StringValue
- type NotificationState
- type TimePeriod
- type TimePeriodAttributes
- func (tp TimePeriodAttributes) EndDate() terra.StringValue
- func (tp TimePeriodAttributes) InternalRef() (terra.Reference, error)
- func (tp TimePeriodAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tp TimePeriodAttributes) InternalWithRef(ref terra.Reference) TimePeriodAttributes
- func (tp TimePeriodAttributes) StartDate() terra.StringValue
- type TimePeriodState
- 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 Filter ¶
type Filter struct { // FilterDimension: min=0 Dimension []FilterDimension `hcl:"dimension,block" validate:"min=0"` // Not: optional Not *Not `hcl:"not,block"` // FilterTag: min=0 Tag []FilterTag `hcl:"tag,block" validate:"min=0"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) Dimension ¶
func (f FilterAttributes) Dimension() terra.SetValue[FilterDimensionAttributes]
func (FilterAttributes) InternalRef ¶
func (f FilterAttributes) InternalRef() (terra.Reference, error)
func (FilterAttributes) InternalTokens ¶
func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterAttributes) InternalWithRef ¶
func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
func (FilterAttributes) Not ¶
func (f FilterAttributes) Not() terra.ListValue[NotAttributes]
func (FilterAttributes) Tag ¶
func (f FilterAttributes) Tag() terra.SetValue[FilterTagAttributes]
type FilterDimension ¶
type FilterDimension struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type FilterDimensionAttributes ¶
type FilterDimensionAttributes struct {
// contains filtered or unexported fields
}
func (FilterDimensionAttributes) InternalRef ¶
func (d FilterDimensionAttributes) InternalRef() (terra.Reference, error)
func (FilterDimensionAttributes) InternalTokens ¶
func (d FilterDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterDimensionAttributes) InternalWithRef ¶
func (d FilterDimensionAttributes) InternalWithRef(ref terra.Reference) FilterDimensionAttributes
func (FilterDimensionAttributes) Name ¶
func (d FilterDimensionAttributes) Name() terra.StringValue
func (FilterDimensionAttributes) Operator ¶
func (d FilterDimensionAttributes) Operator() terra.StringValue
func (FilterDimensionAttributes) Values ¶
func (d FilterDimensionAttributes) Values() terra.ListValue[terra.StringValue]
type FilterDimensionState ¶
type FilterState ¶
type FilterState struct { Dimension []FilterDimensionState `json:"dimension"` Not []NotState `json:"not"` Tag []FilterTagState `json:"tag"` }
type FilterTag ¶
type FilterTag struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type FilterTagAttributes ¶
type FilterTagAttributes struct {
// contains filtered or unexported fields
}
func (FilterTagAttributes) InternalRef ¶
func (t FilterTagAttributes) InternalRef() (terra.Reference, error)
func (FilterTagAttributes) InternalTokens ¶
func (t FilterTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterTagAttributes) InternalWithRef ¶
func (t FilterTagAttributes) InternalWithRef(ref terra.Reference) FilterTagAttributes
func (FilterTagAttributes) Name ¶
func (t FilterTagAttributes) Name() terra.StringValue
func (FilterTagAttributes) Operator ¶
func (t FilterTagAttributes) Operator() terra.StringValue
func (FilterTagAttributes) Values ¶
func (t FilterTagAttributes) Values() terra.ListValue[terra.StringValue]
type FilterTagState ¶
type Not ¶
type Not struct { // NotDimension: optional Dimension *NotDimension `hcl:"dimension,block"` // NotTag: optional Tag *NotTag `hcl:"tag,block"` }
type NotAttributes ¶
type NotAttributes struct {
// contains filtered or unexported fields
}
func (NotAttributes) Dimension ¶
func (n NotAttributes) Dimension() terra.ListValue[NotDimensionAttributes]
func (NotAttributes) InternalRef ¶
func (n NotAttributes) InternalRef() (terra.Reference, error)
func (NotAttributes) InternalTokens ¶
func (n NotAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotAttributes) InternalWithRef ¶
func (n NotAttributes) InternalWithRef(ref terra.Reference) NotAttributes
func (NotAttributes) Tag ¶
func (n NotAttributes) Tag() terra.ListValue[NotTagAttributes]
type NotDimension ¶
type NotDimension struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type NotDimensionAttributes ¶
type NotDimensionAttributes struct {
// contains filtered or unexported fields
}
func (NotDimensionAttributes) InternalRef ¶
func (d NotDimensionAttributes) InternalRef() (terra.Reference, error)
func (NotDimensionAttributes) InternalTokens ¶
func (d NotDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotDimensionAttributes) InternalWithRef ¶
func (d NotDimensionAttributes) InternalWithRef(ref terra.Reference) NotDimensionAttributes
func (NotDimensionAttributes) Name ¶
func (d NotDimensionAttributes) Name() terra.StringValue
func (NotDimensionAttributes) Operator ¶
func (d NotDimensionAttributes) Operator() terra.StringValue
func (NotDimensionAttributes) Values ¶
func (d NotDimensionAttributes) Values() terra.ListValue[terra.StringValue]
type NotDimensionState ¶
type NotState ¶
type NotState struct { Dimension []NotDimensionState `json:"dimension"` Tag []NotTagState `json:"tag"` }
type NotTag ¶
type NotTag struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type NotTagAttributes ¶
type NotTagAttributes struct {
// contains filtered or unexported fields
}
func (NotTagAttributes) InternalRef ¶
func (t NotTagAttributes) InternalRef() (terra.Reference, error)
func (NotTagAttributes) InternalTokens ¶
func (t NotTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotTagAttributes) InternalWithRef ¶
func (t NotTagAttributes) InternalWithRef(ref terra.Reference) NotTagAttributes
func (NotTagAttributes) Name ¶
func (t NotTagAttributes) Name() terra.StringValue
func (NotTagAttributes) Operator ¶
func (t NotTagAttributes) Operator() terra.StringValue
func (NotTagAttributes) Values ¶
func (t NotTagAttributes) Values() terra.ListValue[terra.StringValue]
type NotTagState ¶
type Notification ¶
type Notification struct { // ContactEmails: list of string, optional ContactEmails terra.ListValue[terra.StringValue] `hcl:"contact_emails,attr"` // ContactGroups: list of string, optional ContactGroups terra.ListValue[terra.StringValue] `hcl:"contact_groups,attr"` // ContactRoles: list of string, optional ContactRoles terra.ListValue[terra.StringValue] `hcl:"contact_roles,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Threshold: number, required Threshold terra.NumberValue `hcl:"threshold,attr" validate:"required"` // ThresholdType: string, optional ThresholdType terra.StringValue `hcl:"threshold_type,attr"` }
type NotificationAttributes ¶
type NotificationAttributes struct {
// contains filtered or unexported fields
}
func (NotificationAttributes) ContactEmails ¶
func (n NotificationAttributes) ContactEmails() terra.ListValue[terra.StringValue]
func (NotificationAttributes) ContactGroups ¶
func (n NotificationAttributes) ContactGroups() terra.ListValue[terra.StringValue]
func (NotificationAttributes) ContactRoles ¶
func (n NotificationAttributes) ContactRoles() terra.ListValue[terra.StringValue]
func (NotificationAttributes) Enabled ¶
func (n NotificationAttributes) Enabled() terra.BoolValue
func (NotificationAttributes) InternalRef ¶
func (n NotificationAttributes) InternalRef() (terra.Reference, error)
func (NotificationAttributes) InternalTokens ¶
func (n NotificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotificationAttributes) InternalWithRef ¶
func (n NotificationAttributes) InternalWithRef(ref terra.Reference) NotificationAttributes
func (NotificationAttributes) Operator ¶
func (n NotificationAttributes) Operator() terra.StringValue
func (NotificationAttributes) Threshold ¶
func (n NotificationAttributes) Threshold() terra.NumberValue
func (NotificationAttributes) ThresholdType ¶
func (n NotificationAttributes) ThresholdType() terra.StringValue
type NotificationState ¶
type NotificationState struct { ContactEmails []string `json:"contact_emails"` ContactGroups []string `json:"contact_groups"` ContactRoles []string `json:"contact_roles"` Enabled bool `json:"enabled"` Operator string `json:"operator"` Threshold float64 `json:"threshold"` ThresholdType string `json:"threshold_type"` }
type TimePeriod ¶
type TimePeriod struct { // EndDate: string, optional EndDate terra.StringValue `hcl:"end_date,attr"` // StartDate: string, required StartDate terra.StringValue `hcl:"start_date,attr" validate:"required"` }
type TimePeriodAttributes ¶
type TimePeriodAttributes struct {
// contains filtered or unexported fields
}
func (TimePeriodAttributes) EndDate ¶
func (tp TimePeriodAttributes) EndDate() terra.StringValue
func (TimePeriodAttributes) InternalRef ¶
func (tp TimePeriodAttributes) InternalRef() (terra.Reference, error)
func (TimePeriodAttributes) InternalTokens ¶
func (tp TimePeriodAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimePeriodAttributes) InternalWithRef ¶
func (tp TimePeriodAttributes) InternalWithRef(ref terra.Reference) TimePeriodAttributes
func (TimePeriodAttributes) StartDate ¶
func (tp TimePeriodAttributes) StartDate() terra.StringValue
type TimePeriodState ¶
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.