Documentation ¶
Index ¶
- type AlertStrategy
- type AlertStrategyAttributes
- func (as AlertStrategyAttributes) AutoClose() terra.StringValue
- func (as AlertStrategyAttributes) InternalRef() (terra.Reference, error)
- func (as AlertStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as AlertStrategyAttributes) InternalWithRef(ref terra.Reference) AlertStrategyAttributes
- func (as AlertStrategyAttributes) NotificationChannelStrategy() terra.ListValue[AlertStrategyNotificationChannelStrategyAttributes]
- func (as AlertStrategyAttributes) NotificationRateLimit() terra.ListValue[AlertStrategyNotificationRateLimitAttributes]
- type AlertStrategyNotificationChannelStrategy
- type AlertStrategyNotificationChannelStrategyAttributes
- func (ncs AlertStrategyNotificationChannelStrategyAttributes) InternalRef() (terra.Reference, error)
- func (ncs AlertStrategyNotificationChannelStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ncs AlertStrategyNotificationChannelStrategyAttributes) InternalWithRef(ref terra.Reference) AlertStrategyNotificationChannelStrategyAttributes
- func (ncs AlertStrategyNotificationChannelStrategyAttributes) NotificationChannelNames() terra.ListValue[terra.StringValue]
- func (ncs AlertStrategyNotificationChannelStrategyAttributes) RenotifyInterval() terra.StringValue
- type AlertStrategyNotificationChannelStrategyState
- type AlertStrategyNotificationRateLimit
- type AlertStrategyNotificationRateLimitAttributes
- func (nrl AlertStrategyNotificationRateLimitAttributes) InternalRef() (terra.Reference, error)
- func (nrl AlertStrategyNotificationRateLimitAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nrl AlertStrategyNotificationRateLimitAttributes) InternalWithRef(ref terra.Reference) AlertStrategyNotificationRateLimitAttributes
- func (nrl AlertStrategyNotificationRateLimitAttributes) Period() terra.StringValue
- type AlertStrategyNotificationRateLimitState
- type AlertStrategyState
- type Args
- type Conditions
- type ConditionsAttributes
- func (c ConditionsAttributes) ConditionAbsent() terra.ListValue[ConditionsConditionAbsentAttributes]
- func (c ConditionsAttributes) ConditionMatchedLog() terra.ListValue[ConditionsConditionMatchedLogAttributes]
- func (c ConditionsAttributes) ConditionMonitoringQueryLanguage() terra.ListValue[ConditionsConditionMonitoringQueryLanguageAttributes]
- func (c ConditionsAttributes) ConditionPrometheusQueryLanguage() terra.ListValue[ConditionsConditionPrometheusQueryLanguageAttributes]
- func (c ConditionsAttributes) ConditionThreshold() terra.ListValue[ConditionsConditionThresholdAttributes]
- func (c ConditionsAttributes) DisplayName() terra.StringValue
- func (c ConditionsAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionsAttributes) InternalWithRef(ref terra.Reference) ConditionsAttributes
- func (c ConditionsAttributes) Name() terra.StringValue
- type ConditionsConditionAbsent
- type ConditionsConditionAbsentAggregations
- type ConditionsConditionAbsentAggregationsAttributes
- func (a ConditionsConditionAbsentAggregationsAttributes) AlignmentPeriod() terra.StringValue
- func (a ConditionsConditionAbsentAggregationsAttributes) CrossSeriesReducer() terra.StringValue
- func (a ConditionsConditionAbsentAggregationsAttributes) GroupByFields() terra.ListValue[terra.StringValue]
- func (a ConditionsConditionAbsentAggregationsAttributes) InternalRef() (terra.Reference, error)
- func (a ConditionsConditionAbsentAggregationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ConditionsConditionAbsentAggregationsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionAbsentAggregationsAttributes
- func (a ConditionsConditionAbsentAggregationsAttributes) PerSeriesAligner() terra.StringValue
- type ConditionsConditionAbsentAggregationsState
- type ConditionsConditionAbsentAttributes
- func (ca ConditionsConditionAbsentAttributes) Aggregations() terra.ListValue[ConditionsConditionAbsentAggregationsAttributes]
- func (ca ConditionsConditionAbsentAttributes) Duration() terra.StringValue
- func (ca ConditionsConditionAbsentAttributes) Filter() terra.StringValue
- func (ca ConditionsConditionAbsentAttributes) InternalRef() (terra.Reference, error)
- func (ca ConditionsConditionAbsentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca ConditionsConditionAbsentAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionAbsentAttributes
- func (ca ConditionsConditionAbsentAttributes) Trigger() terra.ListValue[ConditionsConditionAbsentTriggerAttributes]
- type ConditionsConditionAbsentState
- type ConditionsConditionAbsentTrigger
- type ConditionsConditionAbsentTriggerAttributes
- func (t ConditionsConditionAbsentTriggerAttributes) Count() terra.NumberValue
- func (t ConditionsConditionAbsentTriggerAttributes) InternalRef() (terra.Reference, error)
- func (t ConditionsConditionAbsentTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ConditionsConditionAbsentTriggerAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionAbsentTriggerAttributes
- func (t ConditionsConditionAbsentTriggerAttributes) Percent() terra.NumberValue
- type ConditionsConditionAbsentTriggerState
- type ConditionsConditionMatchedLog
- type ConditionsConditionMatchedLogAttributes
- func (cml ConditionsConditionMatchedLogAttributes) Filter() terra.StringValue
- func (cml ConditionsConditionMatchedLogAttributes) InternalRef() (terra.Reference, error)
- func (cml ConditionsConditionMatchedLogAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cml ConditionsConditionMatchedLogAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionMatchedLogAttributes
- func (cml ConditionsConditionMatchedLogAttributes) LabelExtractors() terra.MapValue[terra.StringValue]
- type ConditionsConditionMatchedLogState
- type ConditionsConditionMonitoringQueryLanguage
- type ConditionsConditionMonitoringQueryLanguageAttributes
- func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) Duration() terra.StringValue
- func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) EvaluationMissingData() terra.StringValue
- func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) InternalRef() (terra.Reference, error)
- func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionMonitoringQueryLanguageAttributes
- func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) Query() terra.StringValue
- func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) Trigger() terra.ListValue[ConditionsConditionMonitoringQueryLanguageTriggerAttributes]
- type ConditionsConditionMonitoringQueryLanguageState
- type ConditionsConditionMonitoringQueryLanguageTrigger
- type ConditionsConditionMonitoringQueryLanguageTriggerAttributes
- func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) Count() terra.NumberValue
- func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalRef() (terra.Reference, error)
- func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionMonitoringQueryLanguageTriggerAttributes
- func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) Percent() terra.NumberValue
- type ConditionsConditionMonitoringQueryLanguageTriggerState
- type ConditionsConditionPrometheusQueryLanguage
- type ConditionsConditionPrometheusQueryLanguageAttributes
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) AlertRule() terra.StringValue
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) Duration() terra.StringValue
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) EvaluationInterval() terra.StringValue
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) InternalRef() (terra.Reference, error)
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionPrometheusQueryLanguageAttributes
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) Labels() terra.MapValue[terra.StringValue]
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) Query() terra.StringValue
- func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) RuleGroup() terra.StringValue
- type ConditionsConditionPrometheusQueryLanguageState
- type ConditionsConditionThreshold
- type ConditionsConditionThresholdAggregations
- type ConditionsConditionThresholdAggregationsAttributes
- func (a ConditionsConditionThresholdAggregationsAttributes) AlignmentPeriod() terra.StringValue
- func (a ConditionsConditionThresholdAggregationsAttributes) CrossSeriesReducer() terra.StringValue
- func (a ConditionsConditionThresholdAggregationsAttributes) GroupByFields() terra.ListValue[terra.StringValue]
- func (a ConditionsConditionThresholdAggregationsAttributes) InternalRef() (terra.Reference, error)
- func (a ConditionsConditionThresholdAggregationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ConditionsConditionThresholdAggregationsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdAggregationsAttributes
- func (a ConditionsConditionThresholdAggregationsAttributes) PerSeriesAligner() terra.StringValue
- type ConditionsConditionThresholdAggregationsState
- type ConditionsConditionThresholdAttributes
- func (ct ConditionsConditionThresholdAttributes) Aggregations() terra.ListValue[ConditionsConditionThresholdAggregationsAttributes]
- func (ct ConditionsConditionThresholdAttributes) Comparison() terra.StringValue
- func (ct ConditionsConditionThresholdAttributes) DenominatorAggregations() terra.ListValue[ConditionsConditionThresholdDenominatorAggregationsAttributes]
- func (ct ConditionsConditionThresholdAttributes) DenominatorFilter() terra.StringValue
- func (ct ConditionsConditionThresholdAttributes) Duration() terra.StringValue
- func (ct ConditionsConditionThresholdAttributes) EvaluationMissingData() terra.StringValue
- func (ct ConditionsConditionThresholdAttributes) Filter() terra.StringValue
- func (ct ConditionsConditionThresholdAttributes) ForecastOptions() terra.ListValue[ConditionsConditionThresholdForecastOptionsAttributes]
- func (ct ConditionsConditionThresholdAttributes) InternalRef() (terra.Reference, error)
- func (ct ConditionsConditionThresholdAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ct ConditionsConditionThresholdAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdAttributes
- func (ct ConditionsConditionThresholdAttributes) ThresholdValue() terra.NumberValue
- func (ct ConditionsConditionThresholdAttributes) Trigger() terra.ListValue[ConditionsConditionThresholdTriggerAttributes]
- type ConditionsConditionThresholdDenominatorAggregations
- type ConditionsConditionThresholdDenominatorAggregationsAttributes
- func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) AlignmentPeriod() terra.StringValue
- func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) CrossSeriesReducer() terra.StringValue
- func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) GroupByFields() terra.ListValue[terra.StringValue]
- func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalRef() (terra.Reference, error)
- func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdDenominatorAggregationsAttributes
- func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) PerSeriesAligner() terra.StringValue
- type ConditionsConditionThresholdDenominatorAggregationsState
- type ConditionsConditionThresholdForecastOptions
- type ConditionsConditionThresholdForecastOptionsAttributes
- func (fo ConditionsConditionThresholdForecastOptionsAttributes) ForecastHorizon() terra.StringValue
- func (fo ConditionsConditionThresholdForecastOptionsAttributes) InternalRef() (terra.Reference, error)
- func (fo ConditionsConditionThresholdForecastOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fo ConditionsConditionThresholdForecastOptionsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdForecastOptionsAttributes
- type ConditionsConditionThresholdForecastOptionsState
- type ConditionsConditionThresholdState
- type ConditionsConditionThresholdTrigger
- type ConditionsConditionThresholdTriggerAttributes
- func (t ConditionsConditionThresholdTriggerAttributes) Count() terra.NumberValue
- func (t ConditionsConditionThresholdTriggerAttributes) InternalRef() (terra.Reference, error)
- func (t ConditionsConditionThresholdTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ConditionsConditionThresholdTriggerAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdTriggerAttributes
- func (t ConditionsConditionThresholdTriggerAttributes) Percent() terra.NumberValue
- type ConditionsConditionThresholdTriggerState
- type ConditionsState
- type CreationRecordAttributes
- func (cr CreationRecordAttributes) InternalRef() (terra.Reference, error)
- func (cr CreationRecordAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CreationRecordAttributes) InternalWithRef(ref terra.Reference) CreationRecordAttributes
- func (cr CreationRecordAttributes) MutateTime() terra.StringValue
- func (cr CreationRecordAttributes) MutatedBy() terra.StringValue
- type CreationRecordState
- type Documentation
- type DocumentationAttributes
- func (d DocumentationAttributes) Content() terra.StringValue
- func (d DocumentationAttributes) InternalRef() (terra.Reference, error)
- func (d DocumentationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DocumentationAttributes) InternalWithRef(ref terra.Reference) DocumentationAttributes
- func (d DocumentationAttributes) MimeType() terra.StringValue
- func (d DocumentationAttributes) Subject() terra.StringValue
- type DocumentationState
- type Resource
- func (gmap *Resource) Attributes() googleMonitoringAlertPolicyAttributes
- func (gmap *Resource) Configuration() interface{}
- func (gmap *Resource) DependOn() terra.Reference
- func (gmap *Resource) Dependencies() terra.Dependencies
- func (gmap *Resource) ImportState(state io.Reader) error
- func (gmap *Resource) LifecycleManagement() *terra.Lifecycle
- func (gmap *Resource) LocalName() string
- func (gmap *Resource) State() (*googleMonitoringAlertPolicyState, bool)
- func (gmap *Resource) StateMust() *googleMonitoringAlertPolicyState
- func (gmap *Resource) Type() string
- 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 AlertStrategy ¶
type AlertStrategy struct { // AutoClose: string, optional AutoClose terra.StringValue `hcl:"auto_close,attr"` // AlertStrategyNotificationChannelStrategy: min=0 NotificationChannelStrategy []AlertStrategyNotificationChannelStrategy `hcl:"notification_channel_strategy,block" validate:"min=0"` // AlertStrategyNotificationRateLimit: optional NotificationRateLimit *AlertStrategyNotificationRateLimit `hcl:"notification_rate_limit,block"` }
type AlertStrategyAttributes ¶
type AlertStrategyAttributes struct {
// contains filtered or unexported fields
}
func (AlertStrategyAttributes) AutoClose ¶
func (as AlertStrategyAttributes) AutoClose() terra.StringValue
func (AlertStrategyAttributes) InternalRef ¶
func (as AlertStrategyAttributes) InternalRef() (terra.Reference, error)
func (AlertStrategyAttributes) InternalTokens ¶
func (as AlertStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlertStrategyAttributes) InternalWithRef ¶
func (as AlertStrategyAttributes) InternalWithRef(ref terra.Reference) AlertStrategyAttributes
func (AlertStrategyAttributes) NotificationChannelStrategy ¶
func (as AlertStrategyAttributes) NotificationChannelStrategy() terra.ListValue[AlertStrategyNotificationChannelStrategyAttributes]
func (AlertStrategyAttributes) NotificationRateLimit ¶
func (as AlertStrategyAttributes) NotificationRateLimit() terra.ListValue[AlertStrategyNotificationRateLimitAttributes]
type AlertStrategyNotificationChannelStrategy ¶
type AlertStrategyNotificationChannelStrategy struct { // NotificationChannelNames: list of string, optional NotificationChannelNames terra.ListValue[terra.StringValue] `hcl:"notification_channel_names,attr"` // RenotifyInterval: string, optional RenotifyInterval terra.StringValue `hcl:"renotify_interval,attr"` }
type AlertStrategyNotificationChannelStrategyAttributes ¶
type AlertStrategyNotificationChannelStrategyAttributes struct {
// contains filtered or unexported fields
}
func (AlertStrategyNotificationChannelStrategyAttributes) InternalRef ¶
func (ncs AlertStrategyNotificationChannelStrategyAttributes) InternalRef() (terra.Reference, error)
func (AlertStrategyNotificationChannelStrategyAttributes) InternalTokens ¶
func (ncs AlertStrategyNotificationChannelStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlertStrategyNotificationChannelStrategyAttributes) InternalWithRef ¶
func (ncs AlertStrategyNotificationChannelStrategyAttributes) InternalWithRef(ref terra.Reference) AlertStrategyNotificationChannelStrategyAttributes
func (AlertStrategyNotificationChannelStrategyAttributes) NotificationChannelNames ¶
func (ncs AlertStrategyNotificationChannelStrategyAttributes) NotificationChannelNames() terra.ListValue[terra.StringValue]
func (AlertStrategyNotificationChannelStrategyAttributes) RenotifyInterval ¶
func (ncs AlertStrategyNotificationChannelStrategyAttributes) RenotifyInterval() terra.StringValue
type AlertStrategyNotificationRateLimit ¶
type AlertStrategyNotificationRateLimit struct { // Period: string, optional Period terra.StringValue `hcl:"period,attr"` }
type AlertStrategyNotificationRateLimitAttributes ¶
type AlertStrategyNotificationRateLimitAttributes struct {
// contains filtered or unexported fields
}
func (AlertStrategyNotificationRateLimitAttributes) InternalRef ¶
func (nrl AlertStrategyNotificationRateLimitAttributes) InternalRef() (terra.Reference, error)
func (AlertStrategyNotificationRateLimitAttributes) InternalTokens ¶
func (nrl AlertStrategyNotificationRateLimitAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlertStrategyNotificationRateLimitAttributes) InternalWithRef ¶
func (nrl AlertStrategyNotificationRateLimitAttributes) InternalWithRef(ref terra.Reference) AlertStrategyNotificationRateLimitAttributes
func (AlertStrategyNotificationRateLimitAttributes) Period ¶
func (nrl AlertStrategyNotificationRateLimitAttributes) Period() terra.StringValue
type AlertStrategyNotificationRateLimitState ¶
type AlertStrategyNotificationRateLimitState struct {
Period string `json:"period"`
}
type AlertStrategyState ¶
type AlertStrategyState struct { AutoClose string `json:"auto_close"` NotificationChannelStrategy []AlertStrategyNotificationChannelStrategyState `json:"notification_channel_strategy"` NotificationRateLimit []AlertStrategyNotificationRateLimitState `json:"notification_rate_limit"` }
type Args ¶
type Args struct { // Combiner: string, required Combiner terra.StringValue `hcl:"combiner,attr" validate:"required"` // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // NotificationChannels: list of string, optional NotificationChannels terra.ListValue[terra.StringValue] `hcl:"notification_channels,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Severity: string, optional Severity terra.StringValue `hcl:"severity,attr"` // UserLabels: map of string, optional UserLabels terra.MapValue[terra.StringValue] `hcl:"user_labels,attr"` // AlertStrategy: optional AlertStrategy *AlertStrategy `hcl:"alert_strategy,block"` // Conditions: min=1 Conditions []Conditions `hcl:"conditions,block" validate:"min=1"` // Documentation: optional Documentation *Documentation `hcl:"documentation,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_monitoring_alert_policy.
type Conditions ¶
type Conditions struct { // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // ConditionsConditionAbsent: optional ConditionAbsent *ConditionsConditionAbsent `hcl:"condition_absent,block"` // ConditionsConditionMatchedLog: optional ConditionMatchedLog *ConditionsConditionMatchedLog `hcl:"condition_matched_log,block"` // ConditionsConditionMonitoringQueryLanguage: optional ConditionMonitoringQueryLanguage *ConditionsConditionMonitoringQueryLanguage `hcl:"condition_monitoring_query_language,block"` // ConditionsConditionPrometheusQueryLanguage: optional ConditionPrometheusQueryLanguage *ConditionsConditionPrometheusQueryLanguage `hcl:"condition_prometheus_query_language,block"` // ConditionsConditionThreshold: optional ConditionThreshold *ConditionsConditionThreshold `hcl:"condition_threshold,block"` }
type ConditionsAttributes ¶
type ConditionsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsAttributes) ConditionAbsent ¶
func (c ConditionsAttributes) ConditionAbsent() terra.ListValue[ConditionsConditionAbsentAttributes]
func (ConditionsAttributes) ConditionMatchedLog ¶
func (c ConditionsAttributes) ConditionMatchedLog() terra.ListValue[ConditionsConditionMatchedLogAttributes]
func (ConditionsAttributes) ConditionMonitoringQueryLanguage ¶
func (c ConditionsAttributes) ConditionMonitoringQueryLanguage() terra.ListValue[ConditionsConditionMonitoringQueryLanguageAttributes]
func (ConditionsAttributes) ConditionPrometheusQueryLanguage ¶
func (c ConditionsAttributes) ConditionPrometheusQueryLanguage() terra.ListValue[ConditionsConditionPrometheusQueryLanguageAttributes]
func (ConditionsAttributes) ConditionThreshold ¶
func (c ConditionsAttributes) ConditionThreshold() terra.ListValue[ConditionsConditionThresholdAttributes]
func (ConditionsAttributes) DisplayName ¶
func (c ConditionsAttributes) DisplayName() terra.StringValue
func (ConditionsAttributes) InternalRef ¶
func (c ConditionsAttributes) InternalRef() (terra.Reference, error)
func (ConditionsAttributes) InternalTokens ¶
func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsAttributes) InternalWithRef ¶
func (c ConditionsAttributes) InternalWithRef(ref terra.Reference) ConditionsAttributes
func (ConditionsAttributes) Name ¶
func (c ConditionsAttributes) Name() terra.StringValue
type ConditionsConditionAbsent ¶
type ConditionsConditionAbsent struct { // Duration: string, required Duration terra.StringValue `hcl:"duration,attr" validate:"required"` // Filter: string, optional Filter terra.StringValue `hcl:"filter,attr"` // ConditionsConditionAbsentAggregations: min=0 Aggregations []ConditionsConditionAbsentAggregations `hcl:"aggregations,block" validate:"min=0"` // ConditionsConditionAbsentTrigger: optional Trigger *ConditionsConditionAbsentTrigger `hcl:"trigger,block"` }
type ConditionsConditionAbsentAggregations ¶
type ConditionsConditionAbsentAggregations struct { // AlignmentPeriod: string, optional AlignmentPeriod terra.StringValue `hcl:"alignment_period,attr"` // CrossSeriesReducer: string, optional CrossSeriesReducer terra.StringValue `hcl:"cross_series_reducer,attr"` // GroupByFields: list of string, optional GroupByFields terra.ListValue[terra.StringValue] `hcl:"group_by_fields,attr"` // PerSeriesAligner: string, optional PerSeriesAligner terra.StringValue `hcl:"per_series_aligner,attr"` }
type ConditionsConditionAbsentAggregationsAttributes ¶
type ConditionsConditionAbsentAggregationsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionAbsentAggregationsAttributes) AlignmentPeriod ¶
func (a ConditionsConditionAbsentAggregationsAttributes) AlignmentPeriod() terra.StringValue
func (ConditionsConditionAbsentAggregationsAttributes) CrossSeriesReducer ¶
func (a ConditionsConditionAbsentAggregationsAttributes) CrossSeriesReducer() terra.StringValue
func (ConditionsConditionAbsentAggregationsAttributes) GroupByFields ¶
func (a ConditionsConditionAbsentAggregationsAttributes) GroupByFields() terra.ListValue[terra.StringValue]
func (ConditionsConditionAbsentAggregationsAttributes) InternalRef ¶
func (a ConditionsConditionAbsentAggregationsAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionAbsentAggregationsAttributes) InternalTokens ¶
func (a ConditionsConditionAbsentAggregationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionAbsentAggregationsAttributes) InternalWithRef ¶
func (a ConditionsConditionAbsentAggregationsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionAbsentAggregationsAttributes
func (ConditionsConditionAbsentAggregationsAttributes) PerSeriesAligner ¶
func (a ConditionsConditionAbsentAggregationsAttributes) PerSeriesAligner() terra.StringValue
type ConditionsConditionAbsentAttributes ¶
type ConditionsConditionAbsentAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionAbsentAttributes) Aggregations ¶
func (ca ConditionsConditionAbsentAttributes) Aggregations() terra.ListValue[ConditionsConditionAbsentAggregationsAttributes]
func (ConditionsConditionAbsentAttributes) Duration ¶
func (ca ConditionsConditionAbsentAttributes) Duration() terra.StringValue
func (ConditionsConditionAbsentAttributes) Filter ¶
func (ca ConditionsConditionAbsentAttributes) Filter() terra.StringValue
func (ConditionsConditionAbsentAttributes) InternalRef ¶
func (ca ConditionsConditionAbsentAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionAbsentAttributes) InternalTokens ¶
func (ca ConditionsConditionAbsentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionAbsentAttributes) InternalWithRef ¶
func (ca ConditionsConditionAbsentAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionAbsentAttributes
func (ConditionsConditionAbsentAttributes) Trigger ¶
func (ca ConditionsConditionAbsentAttributes) Trigger() terra.ListValue[ConditionsConditionAbsentTriggerAttributes]
type ConditionsConditionAbsentState ¶
type ConditionsConditionAbsentState struct { Duration string `json:"duration"` Filter string `json:"filter"` Aggregations []ConditionsConditionAbsentAggregationsState `json:"aggregations"` Trigger []ConditionsConditionAbsentTriggerState `json:"trigger"` }
type ConditionsConditionAbsentTrigger ¶
type ConditionsConditionAbsentTrigger struct { // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Percent: number, optional Percent terra.NumberValue `hcl:"percent,attr"` }
type ConditionsConditionAbsentTriggerAttributes ¶
type ConditionsConditionAbsentTriggerAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionAbsentTriggerAttributes) Count ¶
func (t ConditionsConditionAbsentTriggerAttributes) Count() terra.NumberValue
func (ConditionsConditionAbsentTriggerAttributes) InternalRef ¶
func (t ConditionsConditionAbsentTriggerAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionAbsentTriggerAttributes) InternalTokens ¶
func (t ConditionsConditionAbsentTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionAbsentTriggerAttributes) InternalWithRef ¶
func (t ConditionsConditionAbsentTriggerAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionAbsentTriggerAttributes
func (ConditionsConditionAbsentTriggerAttributes) Percent ¶
func (t ConditionsConditionAbsentTriggerAttributes) Percent() terra.NumberValue
type ConditionsConditionMatchedLog ¶
type ConditionsConditionMatchedLog struct { // Filter: string, required Filter terra.StringValue `hcl:"filter,attr" validate:"required"` // LabelExtractors: map of string, optional LabelExtractors terra.MapValue[terra.StringValue] `hcl:"label_extractors,attr"` }
type ConditionsConditionMatchedLogAttributes ¶
type ConditionsConditionMatchedLogAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionMatchedLogAttributes) Filter ¶
func (cml ConditionsConditionMatchedLogAttributes) Filter() terra.StringValue
func (ConditionsConditionMatchedLogAttributes) InternalRef ¶
func (cml ConditionsConditionMatchedLogAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionMatchedLogAttributes) InternalTokens ¶
func (cml ConditionsConditionMatchedLogAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionMatchedLogAttributes) InternalWithRef ¶
func (cml ConditionsConditionMatchedLogAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionMatchedLogAttributes
func (ConditionsConditionMatchedLogAttributes) LabelExtractors ¶
func (cml ConditionsConditionMatchedLogAttributes) LabelExtractors() terra.MapValue[terra.StringValue]
type ConditionsConditionMonitoringQueryLanguage ¶
type ConditionsConditionMonitoringQueryLanguage struct { // Duration: string, required Duration terra.StringValue `hcl:"duration,attr" validate:"required"` // EvaluationMissingData: string, optional EvaluationMissingData terra.StringValue `hcl:"evaluation_missing_data,attr"` // Query: string, required Query terra.StringValue `hcl:"query,attr" validate:"required"` // ConditionsConditionMonitoringQueryLanguageTrigger: optional Trigger *ConditionsConditionMonitoringQueryLanguageTrigger `hcl:"trigger,block"` }
type ConditionsConditionMonitoringQueryLanguageAttributes ¶
type ConditionsConditionMonitoringQueryLanguageAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionMonitoringQueryLanguageAttributes) Duration ¶
func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) Duration() terra.StringValue
func (ConditionsConditionMonitoringQueryLanguageAttributes) EvaluationMissingData ¶
func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) EvaluationMissingData() terra.StringValue
func (ConditionsConditionMonitoringQueryLanguageAttributes) InternalRef ¶
func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionMonitoringQueryLanguageAttributes) InternalTokens ¶
func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionMonitoringQueryLanguageAttributes) InternalWithRef ¶
func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionMonitoringQueryLanguageAttributes
func (ConditionsConditionMonitoringQueryLanguageAttributes) Query ¶
func (cmql ConditionsConditionMonitoringQueryLanguageAttributes) Query() terra.StringValue
type ConditionsConditionMonitoringQueryLanguageState ¶
type ConditionsConditionMonitoringQueryLanguageState struct { Duration string `json:"duration"` EvaluationMissingData string `json:"evaluation_missing_data"` Query string `json:"query"` Trigger []ConditionsConditionMonitoringQueryLanguageTriggerState `json:"trigger"` }
type ConditionsConditionMonitoringQueryLanguageTrigger ¶
type ConditionsConditionMonitoringQueryLanguageTrigger struct { // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Percent: number, optional Percent terra.NumberValue `hcl:"percent,attr"` }
type ConditionsConditionMonitoringQueryLanguageTriggerAttributes ¶
type ConditionsConditionMonitoringQueryLanguageTriggerAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionMonitoringQueryLanguageTriggerAttributes) Count ¶
func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) Count() terra.NumberValue
func (ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalRef ¶
func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalTokens ¶
func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalWithRef ¶
func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionMonitoringQueryLanguageTriggerAttributes
func (ConditionsConditionMonitoringQueryLanguageTriggerAttributes) Percent ¶
func (t ConditionsConditionMonitoringQueryLanguageTriggerAttributes) Percent() terra.NumberValue
type ConditionsConditionPrometheusQueryLanguage ¶
type ConditionsConditionPrometheusQueryLanguage struct { // AlertRule: string, optional AlertRule terra.StringValue `hcl:"alert_rule,attr"` // Duration: string, optional Duration terra.StringValue `hcl:"duration,attr"` // EvaluationInterval: string, optional EvaluationInterval terra.StringValue `hcl:"evaluation_interval,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Query: string, required Query terra.StringValue `hcl:"query,attr" validate:"required"` // RuleGroup: string, optional RuleGroup terra.StringValue `hcl:"rule_group,attr"` }
type ConditionsConditionPrometheusQueryLanguageAttributes ¶
type ConditionsConditionPrometheusQueryLanguageAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionPrometheusQueryLanguageAttributes) AlertRule ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) AlertRule() terra.StringValue
func (ConditionsConditionPrometheusQueryLanguageAttributes) Duration ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) Duration() terra.StringValue
func (ConditionsConditionPrometheusQueryLanguageAttributes) EvaluationInterval ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) EvaluationInterval() terra.StringValue
func (ConditionsConditionPrometheusQueryLanguageAttributes) InternalRef ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionPrometheusQueryLanguageAttributes) InternalTokens ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionPrometheusQueryLanguageAttributes) InternalWithRef ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionPrometheusQueryLanguageAttributes
func (ConditionsConditionPrometheusQueryLanguageAttributes) Labels ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) Labels() terra.MapValue[terra.StringValue]
func (ConditionsConditionPrometheusQueryLanguageAttributes) Query ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) Query() terra.StringValue
func (ConditionsConditionPrometheusQueryLanguageAttributes) RuleGroup ¶
func (cpql ConditionsConditionPrometheusQueryLanguageAttributes) RuleGroup() terra.StringValue
type ConditionsConditionThreshold ¶
type ConditionsConditionThreshold struct { // Comparison: string, required Comparison terra.StringValue `hcl:"comparison,attr" validate:"required"` // DenominatorFilter: string, optional DenominatorFilter terra.StringValue `hcl:"denominator_filter,attr"` // Duration: string, required Duration terra.StringValue `hcl:"duration,attr" validate:"required"` // EvaluationMissingData: string, optional EvaluationMissingData terra.StringValue `hcl:"evaluation_missing_data,attr"` // Filter: string, optional Filter terra.StringValue `hcl:"filter,attr"` // ThresholdValue: number, optional ThresholdValue terra.NumberValue `hcl:"threshold_value,attr"` // ConditionsConditionThresholdAggregations: min=0 Aggregations []ConditionsConditionThresholdAggregations `hcl:"aggregations,block" validate:"min=0"` // ConditionsConditionThresholdDenominatorAggregations: min=0 DenominatorAggregations []ConditionsConditionThresholdDenominatorAggregations `hcl:"denominator_aggregations,block" validate:"min=0"` // ConditionsConditionThresholdForecastOptions: optional ForecastOptions *ConditionsConditionThresholdForecastOptions `hcl:"forecast_options,block"` // ConditionsConditionThresholdTrigger: optional Trigger *ConditionsConditionThresholdTrigger `hcl:"trigger,block"` }
type ConditionsConditionThresholdAggregations ¶
type ConditionsConditionThresholdAggregations struct { // AlignmentPeriod: string, optional AlignmentPeriod terra.StringValue `hcl:"alignment_period,attr"` // CrossSeriesReducer: string, optional CrossSeriesReducer terra.StringValue `hcl:"cross_series_reducer,attr"` // GroupByFields: list of string, optional GroupByFields terra.ListValue[terra.StringValue] `hcl:"group_by_fields,attr"` // PerSeriesAligner: string, optional PerSeriesAligner terra.StringValue `hcl:"per_series_aligner,attr"` }
type ConditionsConditionThresholdAggregationsAttributes ¶
type ConditionsConditionThresholdAggregationsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionThresholdAggregationsAttributes) AlignmentPeriod ¶
func (a ConditionsConditionThresholdAggregationsAttributes) AlignmentPeriod() terra.StringValue
func (ConditionsConditionThresholdAggregationsAttributes) CrossSeriesReducer ¶
func (a ConditionsConditionThresholdAggregationsAttributes) CrossSeriesReducer() terra.StringValue
func (ConditionsConditionThresholdAggregationsAttributes) GroupByFields ¶
func (a ConditionsConditionThresholdAggregationsAttributes) GroupByFields() terra.ListValue[terra.StringValue]
func (ConditionsConditionThresholdAggregationsAttributes) InternalRef ¶
func (a ConditionsConditionThresholdAggregationsAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionThresholdAggregationsAttributes) InternalTokens ¶
func (a ConditionsConditionThresholdAggregationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionThresholdAggregationsAttributes) InternalWithRef ¶
func (a ConditionsConditionThresholdAggregationsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdAggregationsAttributes
func (ConditionsConditionThresholdAggregationsAttributes) PerSeriesAligner ¶
func (a ConditionsConditionThresholdAggregationsAttributes) PerSeriesAligner() terra.StringValue
type ConditionsConditionThresholdAttributes ¶
type ConditionsConditionThresholdAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionThresholdAttributes) Aggregations ¶
func (ct ConditionsConditionThresholdAttributes) Aggregations() terra.ListValue[ConditionsConditionThresholdAggregationsAttributes]
func (ConditionsConditionThresholdAttributes) Comparison ¶
func (ct ConditionsConditionThresholdAttributes) Comparison() terra.StringValue
func (ConditionsConditionThresholdAttributes) DenominatorAggregations ¶
func (ct ConditionsConditionThresholdAttributes) DenominatorAggregations() terra.ListValue[ConditionsConditionThresholdDenominatorAggregationsAttributes]
func (ConditionsConditionThresholdAttributes) DenominatorFilter ¶
func (ct ConditionsConditionThresholdAttributes) DenominatorFilter() terra.StringValue
func (ConditionsConditionThresholdAttributes) Duration ¶
func (ct ConditionsConditionThresholdAttributes) Duration() terra.StringValue
func (ConditionsConditionThresholdAttributes) EvaluationMissingData ¶
func (ct ConditionsConditionThresholdAttributes) EvaluationMissingData() terra.StringValue
func (ConditionsConditionThresholdAttributes) Filter ¶
func (ct ConditionsConditionThresholdAttributes) Filter() terra.StringValue
func (ConditionsConditionThresholdAttributes) ForecastOptions ¶
func (ct ConditionsConditionThresholdAttributes) ForecastOptions() terra.ListValue[ConditionsConditionThresholdForecastOptionsAttributes]
func (ConditionsConditionThresholdAttributes) InternalRef ¶
func (ct ConditionsConditionThresholdAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionThresholdAttributes) InternalTokens ¶
func (ct ConditionsConditionThresholdAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionThresholdAttributes) InternalWithRef ¶
func (ct ConditionsConditionThresholdAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdAttributes
func (ConditionsConditionThresholdAttributes) ThresholdValue ¶
func (ct ConditionsConditionThresholdAttributes) ThresholdValue() terra.NumberValue
type ConditionsConditionThresholdDenominatorAggregations ¶
type ConditionsConditionThresholdDenominatorAggregations struct { // AlignmentPeriod: string, optional AlignmentPeriod terra.StringValue `hcl:"alignment_period,attr"` // CrossSeriesReducer: string, optional CrossSeriesReducer terra.StringValue `hcl:"cross_series_reducer,attr"` // GroupByFields: list of string, optional GroupByFields terra.ListValue[terra.StringValue] `hcl:"group_by_fields,attr"` // PerSeriesAligner: string, optional PerSeriesAligner terra.StringValue `hcl:"per_series_aligner,attr"` }
type ConditionsConditionThresholdDenominatorAggregationsAttributes ¶
type ConditionsConditionThresholdDenominatorAggregationsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionThresholdDenominatorAggregationsAttributes) AlignmentPeriod ¶
func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) AlignmentPeriod() terra.StringValue
func (ConditionsConditionThresholdDenominatorAggregationsAttributes) CrossSeriesReducer ¶
func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) CrossSeriesReducer() terra.StringValue
func (ConditionsConditionThresholdDenominatorAggregationsAttributes) GroupByFields ¶
func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) GroupByFields() terra.ListValue[terra.StringValue]
func (ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalRef ¶
func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalTokens ¶
func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalWithRef ¶
func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdDenominatorAggregationsAttributes
func (ConditionsConditionThresholdDenominatorAggregationsAttributes) PerSeriesAligner ¶
func (da ConditionsConditionThresholdDenominatorAggregationsAttributes) PerSeriesAligner() terra.StringValue
type ConditionsConditionThresholdForecastOptions ¶
type ConditionsConditionThresholdForecastOptions struct { // ForecastHorizon: string, required ForecastHorizon terra.StringValue `hcl:"forecast_horizon,attr" validate:"required"` }
type ConditionsConditionThresholdForecastOptionsAttributes ¶
type ConditionsConditionThresholdForecastOptionsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionThresholdForecastOptionsAttributes) ForecastHorizon ¶
func (fo ConditionsConditionThresholdForecastOptionsAttributes) ForecastHorizon() terra.StringValue
func (ConditionsConditionThresholdForecastOptionsAttributes) InternalRef ¶
func (fo ConditionsConditionThresholdForecastOptionsAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionThresholdForecastOptionsAttributes) InternalTokens ¶
func (fo ConditionsConditionThresholdForecastOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionThresholdForecastOptionsAttributes) InternalWithRef ¶
func (fo ConditionsConditionThresholdForecastOptionsAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdForecastOptionsAttributes
type ConditionsConditionThresholdForecastOptionsState ¶
type ConditionsConditionThresholdForecastOptionsState struct {
ForecastHorizon string `json:"forecast_horizon"`
}
type ConditionsConditionThresholdState ¶
type ConditionsConditionThresholdState struct { Comparison string `json:"comparison"` DenominatorFilter string `json:"denominator_filter"` Duration string `json:"duration"` EvaluationMissingData string `json:"evaluation_missing_data"` Filter string `json:"filter"` ThresholdValue float64 `json:"threshold_value"` Aggregations []ConditionsConditionThresholdAggregationsState `json:"aggregations"` DenominatorAggregations []ConditionsConditionThresholdDenominatorAggregationsState `json:"denominator_aggregations"` ForecastOptions []ConditionsConditionThresholdForecastOptionsState `json:"forecast_options"` Trigger []ConditionsConditionThresholdTriggerState `json:"trigger"` }
type ConditionsConditionThresholdTrigger ¶
type ConditionsConditionThresholdTrigger struct { // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Percent: number, optional Percent terra.NumberValue `hcl:"percent,attr"` }
type ConditionsConditionThresholdTriggerAttributes ¶
type ConditionsConditionThresholdTriggerAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsConditionThresholdTriggerAttributes) Count ¶
func (t ConditionsConditionThresholdTriggerAttributes) Count() terra.NumberValue
func (ConditionsConditionThresholdTriggerAttributes) InternalRef ¶
func (t ConditionsConditionThresholdTriggerAttributes) InternalRef() (terra.Reference, error)
func (ConditionsConditionThresholdTriggerAttributes) InternalTokens ¶
func (t ConditionsConditionThresholdTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsConditionThresholdTriggerAttributes) InternalWithRef ¶
func (t ConditionsConditionThresholdTriggerAttributes) InternalWithRef(ref terra.Reference) ConditionsConditionThresholdTriggerAttributes
func (ConditionsConditionThresholdTriggerAttributes) Percent ¶
func (t ConditionsConditionThresholdTriggerAttributes) Percent() terra.NumberValue
type ConditionsState ¶
type ConditionsState struct { DisplayName string `json:"display_name"` Name string `json:"name"` ConditionAbsent []ConditionsConditionAbsentState `json:"condition_absent"` ConditionMatchedLog []ConditionsConditionMatchedLogState `json:"condition_matched_log"` ConditionMonitoringQueryLanguage []ConditionsConditionMonitoringQueryLanguageState `json:"condition_monitoring_query_language"` ConditionPrometheusQueryLanguage []ConditionsConditionPrometheusQueryLanguageState `json:"condition_prometheus_query_language"` ConditionThreshold []ConditionsConditionThresholdState `json:"condition_threshold"` }
type CreationRecordAttributes ¶
type CreationRecordAttributes struct {
// contains filtered or unexported fields
}
func (CreationRecordAttributes) InternalRef ¶
func (cr CreationRecordAttributes) InternalRef() (terra.Reference, error)
func (CreationRecordAttributes) InternalTokens ¶
func (cr CreationRecordAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CreationRecordAttributes) InternalWithRef ¶
func (cr CreationRecordAttributes) InternalWithRef(ref terra.Reference) CreationRecordAttributes
func (CreationRecordAttributes) MutateTime ¶
func (cr CreationRecordAttributes) MutateTime() terra.StringValue
func (CreationRecordAttributes) MutatedBy ¶
func (cr CreationRecordAttributes) MutatedBy() terra.StringValue
type CreationRecordState ¶
type Documentation ¶
type Documentation struct { // Content: string, optional Content terra.StringValue `hcl:"content,attr"` // MimeType: string, optional MimeType terra.StringValue `hcl:"mime_type,attr"` // Subject: string, optional Subject terra.StringValue `hcl:"subject,attr"` }
type DocumentationAttributes ¶
type DocumentationAttributes struct {
// contains filtered or unexported fields
}
func (DocumentationAttributes) Content ¶
func (d DocumentationAttributes) Content() terra.StringValue
func (DocumentationAttributes) InternalRef ¶
func (d DocumentationAttributes) InternalRef() (terra.Reference, error)
func (DocumentationAttributes) InternalTokens ¶
func (d DocumentationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DocumentationAttributes) InternalWithRef ¶
func (d DocumentationAttributes) InternalWithRef(ref terra.Reference) DocumentationAttributes
func (DocumentationAttributes) MimeType ¶
func (d DocumentationAttributes) MimeType() terra.StringValue
func (DocumentationAttributes) Subject ¶
func (d DocumentationAttributes) Subject() terra.StringValue
type DocumentationState ¶
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 google_monitoring_alert_policy.
func (*Resource) Attributes ¶
func (gmap *Resource) Attributes() googleMonitoringAlertPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gmap *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gmap *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 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.