Documentation
¶
Overview ¶
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Index ¶
- type BlackholeAlertNotifier
- type Bucket
- type ClassicDashboard
- type Collection
- type Dashboard
- type DataBucket
- type DataCollection
- type DataService
- type Dataset
- type DatasetConfiguration
- type DatasetConfigurationLogDataset
- type DatasetConfigurationLogDatasetMatchCriteria
- type DatasetConfigurationTraceDataset
- type DerivedLabel
- type DerivedLabelMetricLabel
- type DerivedLabelMetricLabelConstructedLabel
- type DerivedLabelMetricLabelConstructedLabelValueDefinitions
- type DerivedLabelMetricLabelConstructedLabelValueDefinitionsFilters
- type DerivedLabelMetricLabelMappingLabel
- type DerivedLabelMetricLabelMappingLabelNameMappings
- type DerivedLabelMetricLabelMappingLabelNameMappingsFilters
- type DerivedMetric
- type DerivedMetricQueries
- type DerivedMetricQueriesQuery
- type DerivedMetricQueriesQueryVariables
- type DerivedMetricQueriesSelector
- type DropRule
- type DropRuleValueBasedDrop
- type EmailAlertNotifier
- type GcpMetricsIntegration
- type GcpMetricsIntegrationMetricGroups
- type GcpMetricsIntegrationServiceAccount
- type LogAllocationConfig
- type LogAllocationConfigDatasetAllocation
- type LogAllocationConfigDefaultDataset
- type LogAllocationConfigSchema
- type LogscaleAction
- type LogscaleActionEmailAction
- type LogscaleActionHumioAction
- type LogscaleActionOpsGenieAction
- type LogscaleActionPagerDutyAction
- type LogscaleActionSlackAction
- type LogscaleActionSlackPostMessageAction
- type LogscaleActionUploadFileAction
- type LogscaleActionVictorOpsAction
- type LogscaleActionWebhookAction
- type LogscaleAlert
- type MappingRule
- type MappingRuleStoragePolicy
- type Matcher
- type Monitor
- type MonitorQuery
- type MonitorSchedule
- type MonitorScheduleRange
- type MonitorSeriesCondition
- type MonitorSeriesConditions
- type MonitorSeriesConditionsOverride
- type MonitorSignalGrouping
- type NotificationPolicy
- type NotificationPolicyOverride
- type NotificationRoute
- type NotificationRouteGroupBy
- type OpsgenieAlertNotifier
- type OpsgenieAlertNotifierResponder
- type OtelMetricsIngestion
- type OtelMetricsIngestionResourceAttributes
- type PagerdutyAlertNotifier
- type PagerdutyAlertNotifierImage
- type PagerdutyAlertNotifierLink
- type RecordingRule
- type ResourcePoolAllocationSchema
- type ResourcePoolPrioritiesSchema
- type ResourcePoolsConfig
- type ResourcePoolsConfigDefaultPool
- type ResourcePoolsConfigPool
- type RollupRule
- type RollupRuleGraphiteLabelPolicy
- type RollupRuleGraphiteLabelPolicyReplace
- type RollupRuleStoragePolicies
- type ServiceAccount
- type ServiceAccountRestriction
- type SlackAlertNotifier
- type SlackAlertNotifierAction
- type SlackAlertNotifierFields
- type Team
- type TestResource
- type TestResourceOptionalObject
- type TestResourceSomeObject
- type TestResourceSomeObjectSet
- type TraceBoolFilter
- type TraceDurationFilter
- type TraceFilter
- type TraceJaegerRemoteSamplingStrategy
- func (o *TraceJaegerRemoteSamplingStrategy) FromResourceData(d convertintschema.ResourceGetter) error
- func (o *TraceJaegerRemoteSamplingStrategy) MarshalHCL(w io.Writer) error
- func (o *TraceJaegerRemoteSamplingStrategy) Ref() tfid.ID
- func (o *TraceJaegerRemoteSamplingStrategy) ToResourceData(d *schema.ResourceData) diag.Diagnostics
- type TraceJaegerRemoteSamplingStrategyAppliedStrategy
- type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies
- type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategies
- type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategiesProbabilisticStrategy
- type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy
- type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy
- type TraceMetricsRule
- type TraceMetricsRuleGroupBy
- type TraceMetricsRuleGroupByKey
- type TraceNumericFilter
- type TraceSearchFilter
- type TraceSpanCountFilter
- type TraceSpanFilter
- type TraceSpanFilterTags
- type TraceStringFilter
- type TraceTagFilter
- type TraceTailSamplingRules
- type TraceTailSamplingRulesDefaultSampleRate
- type TraceTailSamplingRulesRules
- type ValueMappings
- type VictoropsAlertNotifier
- type WebhookAlertNotifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackholeAlertNotifier ¶
type BlackholeAlertNotifier struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*BlackholeAlertNotifier) FromResourceData ¶
func (o *BlackholeAlertNotifier) FromResourceData(d convertintschema.ResourceGetter) error
func (*BlackholeAlertNotifier) MarshalHCL ¶
func (o *BlackholeAlertNotifier) MarshalHCL(w io.Writer) error
func (*BlackholeAlertNotifier) Ref ¶
func (o *BlackholeAlertNotifier) Ref() tfid.ID
func (*BlackholeAlertNotifier) ToResourceData ¶
func (o *BlackholeAlertNotifier) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type Bucket ¶
type Bucket struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` NotificationPolicyData tfid.ID `intschema:"notification_policy_data,optional"` NotificationPolicyId tfid.ID `intschema:"notification_policy_id,optional"` TeamId tfid.ID `intschema:"team_id,optional"` NotificationPolicySlug string `intschema:"notification_policy_slug,computed"` Description string `intschema:"description,optional"` Labels map[string]string `intschema:"labels,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*Bucket) FromResourceData ¶
func (o *Bucket) FromResourceData(d convertintschema.ResourceGetter) error
func (*Bucket) ToResourceData ¶
func (o *Bucket) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type ClassicDashboard ¶
type ClassicDashboard struct { BucketId tfid.ID `intschema:"bucket_id,optional"` CollectionId tfid.ID `intschema:"collection_id,optional"` DashboardJson string `intschema:"dashboard_json"` HCLFileDashboardJson string `intschema:"dashboard_json,file"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*ClassicDashboard) FromResourceData ¶
func (o *ClassicDashboard) FromResourceData(d convertintschema.ResourceGetter) error
func (*ClassicDashboard) MarshalHCL ¶
func (o *ClassicDashboard) MarshalHCL(w io.Writer) error
func (*ClassicDashboard) Ref ¶
func (o *ClassicDashboard) Ref() tfid.ID
func (*ClassicDashboard) ToResourceData ¶
func (o *ClassicDashboard) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type Collection ¶
type Collection struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` NotificationPolicyId tfid.ID `intschema:"notification_policy_id,optional"` TeamId tfid.ID `intschema:"team_id,optional"` Description string `intschema:"description,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*Collection) FromResourceData ¶
func (o *Collection) FromResourceData(d convertintschema.ResourceGetter) error
func (*Collection) MarshalHCL ¶
func (o *Collection) MarshalHCL(w io.Writer) error
func (*Collection) Ref ¶
func (o *Collection) Ref() tfid.ID
func (*Collection) ToResourceData ¶
func (o *Collection) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type Dashboard ¶
type Dashboard struct { Name string `intschema:"name,optional"` Slug string `intschema:"slug,optional,computed"` CollectionId tfid.ID `intschema:"collection_id,optional"` DashboardJson string `intschema:"dashboard_json"` HCLFileDashboardJson string `intschema:"dashboard_json,file"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*Dashboard) FromResourceData ¶
func (o *Dashboard) FromResourceData(d convertintschema.ResourceGetter) error
func (*Dashboard) ToResourceData ¶
func (o *Dashboard) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type DataBucket ¶
type DataBucket struct { Name string `intschema:"name,optional"` Slug string `intschema:"slug,optional"` Description string `intschema:"description,computed"` Labels map[string]string `intschema:"labels,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*DataBucket) FromResourceData ¶
func (o *DataBucket) FromResourceData(d convertintschema.ResourceGetter) error
func (*DataBucket) MarshalHCL ¶
func (o *DataBucket) MarshalHCL(w io.Writer) error
func (*DataBucket) Ref ¶
func (o *DataBucket) Ref() tfid.ID
func (*DataBucket) ToResourceData ¶
func (o *DataBucket) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type DataCollection ¶
type DataCollection struct { Name string `intschema:"name,computed"` Slug string `intschema:"slug,optional"` Description string `intschema:"description,computed"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*DataCollection) FromResourceData ¶
func (o *DataCollection) FromResourceData(d convertintschema.ResourceGetter) error
func (*DataCollection) MarshalHCL ¶
func (o *DataCollection) MarshalHCL(w io.Writer) error
func (*DataCollection) Ref ¶
func (o *DataCollection) Ref() tfid.ID
func (*DataCollection) ToResourceData ¶
func (o *DataCollection) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type DataService ¶
type DataService struct { Name string `intschema:"name,computed"` Slug string `intschema:"slug"` Description string `intschema:"description,computed"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*DataService) FromResourceData ¶
func (o *DataService) FromResourceData(d convertintschema.ResourceGetter) error
func (*DataService) MarshalHCL ¶
func (o *DataService) MarshalHCL(w io.Writer) error
func (*DataService) Ref ¶
func (o *DataService) Ref() tfid.ID
func (*DataService) ToResourceData ¶
func (o *DataService) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type Dataset ¶
type Dataset struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` Configuration DatasetConfiguration `intschema:"configuration,list_encoded_object"` Description string `intschema:"description,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*Dataset) FromResourceData ¶
func (o *Dataset) FromResourceData(d convertintschema.ResourceGetter) error
func (*Dataset) ToResourceData ¶
func (o *Dataset) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type DatasetConfiguration ¶
type DatasetConfiguration struct { Type string `intschema:"type"` LogDataset *DatasetConfigurationLogDataset `intschema:"log_dataset,optional,list_encoded_object"` TraceDataset *DatasetConfigurationTraceDataset `intschema:"trace_dataset,optional,list_encoded_object"` }
type DatasetConfigurationLogDataset ¶ added in v1.4.0
type DatasetConfigurationLogDataset struct {
MatchCriteria *DatasetConfigurationLogDatasetMatchCriteria `intschema:"match_criteria,optional,list_encoded_object"`
}
type DatasetConfigurationLogDatasetMatchCriteria ¶ added in v1.4.0
type DatasetConfigurationLogDatasetMatchCriteria struct {
Query string `intschema:"query"`
}
type DatasetConfigurationTraceDataset ¶
type DatasetConfigurationTraceDataset struct {
MatchCriteria TraceSearchFilter `intschema:"match_criteria,list_encoded_object"`
}
type DerivedLabel ¶
type DerivedLabel struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` LabelName string `intschema:"label_name"` Description string `intschema:"description,optional"` ExistingLabelPolicy string `intschema:"existing_label_policy,optional"` MetricLabel *DerivedLabelMetricLabel `intschema:"metric_label,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*DerivedLabel) FromResourceData ¶
func (o *DerivedLabel) FromResourceData(d convertintschema.ResourceGetter) error
func (*DerivedLabel) MarshalHCL ¶
func (o *DerivedLabel) MarshalHCL(w io.Writer) error
func (*DerivedLabel) Ref ¶
func (o *DerivedLabel) Ref() tfid.ID
func (*DerivedLabel) ToResourceData ¶
func (o *DerivedLabel) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type DerivedLabelMetricLabel ¶
type DerivedLabelMetricLabel struct { ConstructedLabel *DerivedLabelMetricLabelConstructedLabel `intschema:"constructed_label,optional,list_encoded_object"` MappingLabel *DerivedLabelMetricLabelMappingLabel `intschema:"mapping_label,optional,list_encoded_object"` }
type DerivedLabelMetricLabelConstructedLabel ¶
type DerivedLabelMetricLabelConstructedLabel struct {
ValueDefinitions []DerivedLabelMetricLabelConstructedLabelValueDefinitions `intschema:"value_definitions"`
}
type DerivedLabelMetricLabelConstructedLabelValueDefinitions ¶
type DerivedLabelMetricLabelConstructedLabelValueDefinitions struct { Filters []DerivedLabelMetricLabelConstructedLabelValueDefinitionsFilters `intschema:"filters"` Value string `intschema:"value"` }
type DerivedLabelMetricLabelMappingLabel ¶
type DerivedLabelMetricLabelMappingLabel struct { NameMappings []DerivedLabelMetricLabelMappingLabelNameMappings `intschema:"name_mappings,optional"` ValueMappings []ValueMappings `intschema:"value_mappings,optional"` }
type DerivedLabelMetricLabelMappingLabelNameMappings ¶
type DerivedLabelMetricLabelMappingLabelNameMappings struct { Filters []DerivedLabelMetricLabelMappingLabelNameMappingsFilters `intschema:"filters"` SourceLabel string `intschema:"source_label"` ValueMappings []ValueMappings `intschema:"value_mappings,optional"` }
type DerivedMetric ¶
type DerivedMetric struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` MetricName string `intschema:"metric_name"` Queries []DerivedMetricQueries `intschema:"queries"` Description string `intschema:"description,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*DerivedMetric) FromResourceData ¶
func (o *DerivedMetric) FromResourceData(d convertintschema.ResourceGetter) error
func (*DerivedMetric) MarshalHCL ¶
func (o *DerivedMetric) MarshalHCL(w io.Writer) error
func (*DerivedMetric) Ref ¶
func (o *DerivedMetric) Ref() tfid.ID
func (*DerivedMetric) ToResourceData ¶
func (o *DerivedMetric) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type DerivedMetricQueries ¶
type DerivedMetricQueries struct { Query DerivedMetricQueriesQuery `intschema:"query,list_encoded_object"` Selector *DerivedMetricQueriesSelector `intschema:"selector,optional,list_encoded_object"` }
type DerivedMetricQueriesQuery ¶
type DerivedMetricQueriesQuery struct { Expr string `intschema:"expr"` Variables []DerivedMetricQueriesQueryVariables `intschema:"variables,optional"` }
type DropRule ¶
type DropRule struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` Query []string `intschema:"query"` ActivatedDropDuration string `intschema:"activated_drop_duration,optional"` Active bool `intschema:"active,optional,default:false"` ConditionalDrop bool `intschema:"conditional_drop,optional"` DropNanValue bool `intschema:"drop_nan_value,optional"` RateLimitThreshold float64 `intschema:"rate_limit_threshold,optional"` ValueBasedDrop *DropRuleValueBasedDrop `intschema:"value_based_drop,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*DropRule) FromResourceData ¶
func (o *DropRule) FromResourceData(d convertintschema.ResourceGetter) error
func (*DropRule) ToResourceData ¶
func (o *DropRule) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type DropRuleValueBasedDrop ¶
type DropRuleValueBasedDrop struct {
TargetDropValue float64 `intschema:"target_drop_value"`
}
type EmailAlertNotifier ¶
type EmailAlertNotifier struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` To string `intschema:"to"` Html string `intschema:"html,optional"` SendResolved bool `intschema:"send_resolved,optional,default:true"` Text string `intschema:"text,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*EmailAlertNotifier) FromResourceData ¶
func (o *EmailAlertNotifier) FromResourceData(d convertintschema.ResourceGetter) error
func (*EmailAlertNotifier) MarshalHCL ¶
func (o *EmailAlertNotifier) MarshalHCL(w io.Writer) error
func (*EmailAlertNotifier) Ref ¶
func (o *EmailAlertNotifier) Ref() tfid.ID
func (*EmailAlertNotifier) ToResourceData ¶
func (o *EmailAlertNotifier) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type GcpMetricsIntegration ¶
type GcpMetricsIntegration struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional"` MetricGroups []GcpMetricsIntegrationMetricGroups `intschema:"metric_groups,optional"` ServiceAccount *GcpMetricsIntegrationServiceAccount `intschema:"service_account,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*GcpMetricsIntegration) FromResourceData ¶
func (o *GcpMetricsIntegration) FromResourceData(d convertintschema.ResourceGetter) error
func (*GcpMetricsIntegration) MarshalHCL ¶
func (o *GcpMetricsIntegration) MarshalHCL(w io.Writer) error
func (*GcpMetricsIntegration) Ref ¶
func (o *GcpMetricsIntegration) Ref() tfid.ID
func (*GcpMetricsIntegration) ToResourceData ¶
func (o *GcpMetricsIntegration) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type GcpMetricsIntegrationServiceAccount ¶
type GcpMetricsIntegrationServiceAccount struct {
ClientEmail string `intschema:"client_email"`
}
type LogAllocationConfig ¶ added in v1.4.0
type LogAllocationConfig struct { DatasetAllocation []LogAllocationConfigDatasetAllocation `intschema:"dataset_allocation,optional"` DefaultDataset *LogAllocationConfigDefaultDataset `intschema:"default_dataset,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*LogAllocationConfig) FromResourceData ¶ added in v1.4.0
func (o *LogAllocationConfig) FromResourceData(d convertintschema.ResourceGetter) error
func (*LogAllocationConfig) MarshalHCL ¶ added in v1.4.0
func (o *LogAllocationConfig) MarshalHCL(w io.Writer) error
func (*LogAllocationConfig) Ref ¶ added in v1.4.0
func (o *LogAllocationConfig) Ref() tfid.ID
func (*LogAllocationConfig) ToResourceData ¶ added in v1.4.0
func (o *LogAllocationConfig) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type LogAllocationConfigDatasetAllocation ¶ added in v1.4.0
type LogAllocationConfigDatasetAllocation struct { DatasetSlug string `intschema:"dataset_slug"` Allocation *LogAllocationConfigSchema `intschema:"allocation,optional,list_encoded_object"` }
type LogAllocationConfigDefaultDataset ¶ added in v1.4.0
type LogAllocationConfigDefaultDataset struct {
Allocation *LogAllocationConfigSchema `intschema:"allocation,optional,list_encoded_object"`
}
type LogAllocationConfigSchema ¶ added in v1.4.0
type LogAllocationConfigSchema struct {
PercentOfLicense float64 `intschema:"percent_of_license"`
}
type LogscaleAction ¶ added in v1.3.0
type LogscaleAction struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` Repository string `intschema:"repository"` EmailAction *LogscaleActionEmailAction `intschema:"email_action,optional,list_encoded_object"` HumioAction *LogscaleActionHumioAction `intschema:"humio_action,optional,list_encoded_object"` OpsGenieAction *LogscaleActionOpsGenieAction `intschema:"ops_genie_action,optional,list_encoded_object"` PagerDutyAction *LogscaleActionPagerDutyAction `intschema:"pager_duty_action,optional,list_encoded_object"` SlackAction *LogscaleActionSlackAction `intschema:"slack_action,optional,list_encoded_object"` SlackPostMessageAction *LogscaleActionSlackPostMessageAction `intschema:"slack_post_message_action,optional,list_encoded_object"` UploadFileAction *LogscaleActionUploadFileAction `intschema:"upload_file_action,optional,list_encoded_object"` VictorOpsAction *LogscaleActionVictorOpsAction `intschema:"victor_ops_action,optional,list_encoded_object"` WebhookAction *LogscaleActionWebhookAction `intschema:"webhook_action,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*LogscaleAction) FromResourceData ¶ added in v1.3.0
func (o *LogscaleAction) FromResourceData(d convertintschema.ResourceGetter) error
func (*LogscaleAction) MarshalHCL ¶ added in v1.3.0
func (o *LogscaleAction) MarshalHCL(w io.Writer) error
func (*LogscaleAction) Ref ¶ added in v1.3.0
func (o *LogscaleAction) Ref() tfid.ID
func (*LogscaleAction) ToResourceData ¶ added in v1.3.0
func (o *LogscaleAction) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type LogscaleActionEmailAction ¶ added in v1.3.0
type LogscaleActionEmailAction struct { Recipients []string `intschema:"recipients"` AttachCsv bool `intschema:"attach_csv,optional"` BodyTemplate string `intschema:"body_template,optional"` SubjectTemplate string `intschema:"subject_template,optional"` UseProxy bool `intschema:"use_proxy,optional"` }
type LogscaleActionHumioAction ¶ added in v1.3.0
type LogscaleActionHumioAction struct {
IngestToken string `intschema:"ingest_token"`
}
type LogscaleActionOpsGenieAction ¶ added in v1.3.0
type LogscaleActionPagerDutyAction ¶ added in v1.3.0
type LogscaleActionSlackAction ¶ added in v1.3.0
type LogscaleActionSlackPostMessageAction ¶ added in v1.3.0
type LogscaleActionUploadFileAction ¶ added in v1.3.0
type LogscaleActionUploadFileAction struct {
FileName string `intschema:"file_name"`
}
type LogscaleActionVictorOpsAction ¶ added in v1.3.0
type LogscaleActionWebhookAction ¶ added in v1.3.0
type LogscaleActionWebhookAction struct { Method string `intschema:"method"` Url string `intschema:"url"` BodyTemplate string `intschema:"body_template,optional"` Headers map[string]string `intschema:"headers,optional"` IgnoreSsl bool `intschema:"ignore_ssl,optional"` UseProxy bool `intschema:"use_proxy,optional"` }
type LogscaleAlert ¶ added in v1.3.0
type LogscaleAlert struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` ActionIds []tfid.ID `intschema:"action_ids,optional"` AlertType string `intschema:"alert_type"` Repository string `intschema:"repository"` RunAsUser string `intschema:"run_as_user"` Description string `intschema:"description,optional"` Disabled bool `intschema:"disabled,optional"` Query string `intschema:"query,optional"` Tags []string `intschema:"tags,optional"` ThrottleDuration string `intschema:"throttle_duration,optional"` ThrottleField string `intschema:"throttle_field,optional"` TimeWindow string `intschema:"time_window,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*LogscaleAlert) FromResourceData ¶ added in v1.3.0
func (o *LogscaleAlert) FromResourceData(d convertintschema.ResourceGetter) error
func (*LogscaleAlert) MarshalHCL ¶ added in v1.3.0
func (o *LogscaleAlert) MarshalHCL(w io.Writer) error
func (*LogscaleAlert) Ref ¶ added in v1.3.0
func (o *LogscaleAlert) Ref() tfid.ID
func (*LogscaleAlert) ToResourceData ¶ added in v1.3.0
func (o *LogscaleAlert) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type MappingRule ¶
type MappingRule struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` BucketId tfid.ID `intschema:"bucket_id,optional"` Filter string `intschema:"filter"` Aggregations []string `intschema:"aggregations,optional"` Drop bool `intschema:"drop,optional,default:false"` DropTimestamp bool `intschema:"drop_timestamp,optional,default:false"` Interval string `intschema:"interval,optional"` Mode string `intschema:"mode,optional"` StoragePolicy *MappingRuleStoragePolicy `intschema:"storage_policy,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*MappingRule) FromResourceData ¶
func (o *MappingRule) FromResourceData(d convertintschema.ResourceGetter) error
func (*MappingRule) MarshalHCL ¶
func (o *MappingRule) MarshalHCL(w io.Writer) error
func (*MappingRule) Ref ¶
func (o *MappingRule) Ref() tfid.ID
func (*MappingRule) ToResourceData ¶
func (o *MappingRule) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type Monitor ¶
type Monitor struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` BucketId tfid.ID `intschema:"bucket_id,optional"` CollectionId tfid.ID `intschema:"collection_id,optional"` NotificationPolicyId tfid.ID `intschema:"notification_policy_id,optional"` Query MonitorQuery `intschema:"query,list_encoded_object"` SeriesConditions MonitorSeriesConditions `intschema:"series_conditions,list_encoded_object"` Annotations map[string]string `intschema:"annotations,optional"` Interval string `intschema:"interval,optional"` Labels map[string]string `intschema:"labels,optional"` Schedule *MonitorSchedule `intschema:"schedule,optional,list_encoded_object"` SignalGrouping *MonitorSignalGrouping `intschema:"signal_grouping,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*Monitor) FromResourceData ¶
func (o *Monitor) FromResourceData(d convertintschema.ResourceGetter) error
func (*Monitor) ToResourceData ¶
func (o *Monitor) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type MonitorQuery ¶
type MonitorSchedule ¶
type MonitorSchedule struct { Timezone string `intschema:"timezone"` Range []MonitorScheduleRange `intschema:"range,optional"` }
type MonitorScheduleRange ¶
type MonitorSeriesCondition ¶
type MonitorSeriesConditions ¶
type MonitorSeriesConditions struct { Condition []MonitorSeriesCondition `intschema:"condition"` Override []MonitorSeriesConditionsOverride `intschema:"override,optional"` }
type MonitorSeriesConditionsOverride ¶
type MonitorSeriesConditionsOverride struct { Condition []MonitorSeriesCondition `intschema:"condition"` LabelMatcher []Matcher `intschema:"label_matcher"` }
type MonitorSignalGrouping ¶
type NotificationPolicy ¶
type NotificationPolicy struct { Name string `intschema:"name,optional"` Slug string `intschema:"slug,optional,computed"` NotificationPolicyData tfid.ID `intschema:"notification_policy_data,optional,computed"` TeamId tfid.ID `intschema:"team_id,optional"` IsIndependent bool `intschema:"is_independent,computed"` Route []NotificationRoute `intschema:"route,optional"` Override []NotificationPolicyOverride `intschema:"override,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*NotificationPolicy) FromResourceData ¶
func (o *NotificationPolicy) FromResourceData(d convertintschema.ResourceGetter) error
func (*NotificationPolicy) MarshalHCL ¶
func (o *NotificationPolicy) MarshalHCL(w io.Writer) error
func (*NotificationPolicy) Ref ¶
func (o *NotificationPolicy) Ref() tfid.ID
func (*NotificationPolicy) ToResourceData ¶
func (o *NotificationPolicy) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type NotificationPolicyOverride ¶
type NotificationPolicyOverride struct { AlertLabelMatcher []Matcher `intschema:"alert_label_matcher"` Route []NotificationRoute `intschema:"route,optional"` }
type NotificationRoute ¶
type NotificationRoute struct { Severity string `intschema:"severity"` GroupBy *NotificationRouteGroupBy `intschema:"group_by,optional,list_encoded_object"` Notifiers []tfid.ID `intschema:"notifiers,optional"` RepeatInterval string `intschema:"repeat_interval,optional"` }
type NotificationRouteGroupBy ¶ added in v1.2.0
type NotificationRouteGroupBy struct {
LabelNames []string `intschema:"label_names,optional"`
}
type OpsgenieAlertNotifier ¶
type OpsgenieAlertNotifier struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` ApiKey string `intschema:"api_key"` ApiUrl string `intschema:"api_url,optional"` BasicAuthPassword string `intschema:"basic_auth_password,optional"` BasicAuthUsername string `intschema:"basic_auth_username,optional"` BearerToken string `intschema:"bearer_token,optional"` Description string `intschema:"description,optional"` Details map[string]string `intschema:"details,optional"` Message string `intschema:"message,optional"` Note string `intschema:"note,optional"` Priority string `intschema:"priority,optional"` ProxyUrl string `intschema:"proxy_url,optional"` Responder []OpsgenieAlertNotifierResponder `intschema:"responder,optional"` SendResolved bool `intschema:"send_resolved,optional,default:true"` Source string `intschema:"source,optional"` Tags []string `intschema:"tags,optional"` TlsInsecureSkipVerify bool `intschema:"tls_insecure_skip_verify,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*OpsgenieAlertNotifier) FromResourceData ¶
func (o *OpsgenieAlertNotifier) FromResourceData(d convertintschema.ResourceGetter) error
func (*OpsgenieAlertNotifier) MarshalHCL ¶
func (o *OpsgenieAlertNotifier) MarshalHCL(w io.Writer) error
func (*OpsgenieAlertNotifier) Ref ¶
func (o *OpsgenieAlertNotifier) Ref() tfid.ID
func (*OpsgenieAlertNotifier) ToResourceData ¶
func (o *OpsgenieAlertNotifier) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type OtelMetricsIngestion ¶ added in v1.1.0
type OtelMetricsIngestion struct { ResourceAttributes *OtelMetricsIngestionResourceAttributes `intschema:"resource_attributes,optional,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*OtelMetricsIngestion) FromResourceData ¶ added in v1.1.0
func (o *OtelMetricsIngestion) FromResourceData(d convertintschema.ResourceGetter) error
func (*OtelMetricsIngestion) MarshalHCL ¶ added in v1.1.0
func (o *OtelMetricsIngestion) MarshalHCL(w io.Writer) error
func (*OtelMetricsIngestion) Ref ¶ added in v1.1.0
func (o *OtelMetricsIngestion) Ref() tfid.ID
func (*OtelMetricsIngestion) ToResourceData ¶ added in v1.1.0
func (o *OtelMetricsIngestion) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type OtelMetricsIngestionResourceAttributes ¶ added in v1.1.0
type PagerdutyAlertNotifier ¶
type PagerdutyAlertNotifier struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` Severity string `intschema:"severity"` Url string `intschema:"url"` BasicAuthPassword string `intschema:"basic_auth_password,optional"` BasicAuthUsername string `intschema:"basic_auth_username,optional"` BearerToken string `intschema:"bearer_token,optional"` Class string `intschema:"class,optional"` Client string `intschema:"client,optional"` ClientUrl string `intschema:"client_url,optional"` Component string `intschema:"component,optional"` Description string `intschema:"description,optional"` Details map[string]string `intschema:"details,optional"` Group string `intschema:"group,optional"` Image []PagerdutyAlertNotifierImage `intschema:"image,optional"` Link []PagerdutyAlertNotifierLink `intschema:"link,optional"` ProxyUrl string `intschema:"proxy_url,optional"` RoutingKey string `intschema:"routing_key,optional"` SendResolved bool `intschema:"send_resolved,optional,default:true"` ServiceKey string `intschema:"service_key,optional"` TlsInsecureSkipVerify bool `intschema:"tls_insecure_skip_verify,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*PagerdutyAlertNotifier) FromResourceData ¶
func (o *PagerdutyAlertNotifier) FromResourceData(d convertintschema.ResourceGetter) error
func (*PagerdutyAlertNotifier) MarshalHCL ¶
func (o *PagerdutyAlertNotifier) MarshalHCL(w io.Writer) error
func (*PagerdutyAlertNotifier) Ref ¶
func (o *PagerdutyAlertNotifier) Ref() tfid.ID
func (*PagerdutyAlertNotifier) ToResourceData ¶
func (o *PagerdutyAlertNotifier) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type RecordingRule ¶
type RecordingRule struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` BucketId tfid.ID `intschema:"bucket_id,optional"` ExecutionGroup tfid.ID `intschema:"execution_group,optional"` Expr string `intschema:"expr"` Interval string `intschema:"interval,optional"` Labels map[string]string `intschema:"labels,optional"` MetricName string `intschema:"metric_name,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*RecordingRule) FromResourceData ¶
func (o *RecordingRule) FromResourceData(d convertintschema.ResourceGetter) error
func (*RecordingRule) MarshalHCL ¶
func (o *RecordingRule) MarshalHCL(w io.Writer) error
func (*RecordingRule) Ref ¶
func (o *RecordingRule) Ref() tfid.ID
func (*RecordingRule) ToResourceData ¶
func (o *RecordingRule) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type ResourcePoolAllocationSchema ¶
type ResourcePoolAllocationSchema struct {
PercentOfLicense float64 `intschema:"percent_of_license"`
}
type ResourcePoolsConfig ¶
type ResourcePoolsConfig struct { DefaultPool *ResourcePoolsConfigDefaultPool `intschema:"default_pool,optional,list_encoded_object"` Pool []ResourcePoolsConfigPool `intschema:"pool,optional"` Pools []ResourcePoolsConfigPool `intschema:"pools,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*ResourcePoolsConfig) FromResourceData ¶
func (o *ResourcePoolsConfig) FromResourceData(d convertintschema.ResourceGetter) error
func (*ResourcePoolsConfig) MarshalHCL ¶
func (o *ResourcePoolsConfig) MarshalHCL(w io.Writer) error
func (*ResourcePoolsConfig) Ref ¶
func (o *ResourcePoolsConfig) Ref() tfid.ID
func (*ResourcePoolsConfig) ToResourceData ¶
func (o *ResourcePoolsConfig) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type ResourcePoolsConfigDefaultPool ¶
type ResourcePoolsConfigDefaultPool struct { Allocation *ResourcePoolAllocationSchema `intschema:"allocation,optional,list_encoded_object"` Priorities *ResourcePoolPrioritiesSchema `intschema:"priorities,optional,list_encoded_object"` }
type ResourcePoolsConfigPool ¶
type ResourcePoolsConfigPool struct { Name string `intschema:"name"` Allocation *ResourcePoolAllocationSchema `intschema:"allocation,optional,list_encoded_object"` MatchRule string `intschema:"match_rule,optional"` MatchRules []string `intschema:"match_rules,optional"` Priorities *ResourcePoolPrioritiesSchema `intschema:"priorities,optional,list_encoded_object"` }
type RollupRule ¶
type RollupRule struct { Name string `intschema:"name"` Slug string `intschema:"slug"` BucketId tfid.ID `intschema:"bucket_id,optional"` Filter string `intschema:"filter"` MetricType string `intschema:"metric_type"` Aggregation string `intschema:"aggregation,optional"` DropRaw bool `intschema:"drop_raw,optional,default:false"` ExcludeBy []string `intschema:"exclude_by,optional"` GraphiteLabelPolicy *RollupRuleGraphiteLabelPolicy `intschema:"graphite_label_policy,optional,list_encoded_object"` GroupBy []string `intschema:"group_by,optional"` Interval string `intschema:"interval,optional"` MetricTypeTag bool `intschema:"metric_type_tag,optional,default:false"` Mode string `intschema:"mode,optional"` NewMetric string `intschema:"new_metric,optional"` Permissive bool `intschema:"permissive,optional,default:false"` StoragePolicies *RollupRuleStoragePolicies `intschema:"storage_policies,optional,computed,list_encoded_object"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*RollupRule) FromResourceData ¶
func (o *RollupRule) FromResourceData(d convertintschema.ResourceGetter) error
func (*RollupRule) MarshalHCL ¶
func (o *RollupRule) MarshalHCL(w io.Writer) error
func (*RollupRule) Ref ¶
func (o *RollupRule) Ref() tfid.ID
func (*RollupRule) ToResourceData ¶
func (o *RollupRule) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type RollupRuleGraphiteLabelPolicy ¶
type RollupRuleGraphiteLabelPolicy struct {
Replace []RollupRuleGraphiteLabelPolicyReplace `intschema:"replace,optional"`
}
type ServiceAccount ¶
type ServiceAccount struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` Email string `intschema:"email,computed"` Token string `intschema:"token,computed"` Restriction *ServiceAccountRestriction `intschema:"restriction,optional,list_encoded_object"` Unrestricted bool `intschema:"unrestricted,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*ServiceAccount) FromResourceData ¶
func (o *ServiceAccount) FromResourceData(d convertintschema.ResourceGetter) error
func (*ServiceAccount) MarshalHCL ¶
func (o *ServiceAccount) MarshalHCL(w io.Writer) error
func (*ServiceAccount) Ref ¶
func (o *ServiceAccount) Ref() tfid.ID
func (*ServiceAccount) ToResourceData ¶
func (o *ServiceAccount) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type SlackAlertNotifier ¶
type SlackAlertNotifier struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` ApiUrl string `intschema:"api_url"` Channel string `intschema:"channel"` Action []SlackAlertNotifierAction `intschema:"action,optional"` BasicAuthPassword string `intschema:"basic_auth_password,optional"` BasicAuthUsername string `intschema:"basic_auth_username,optional"` BearerToken string `intschema:"bearer_token,optional"` CallbackId string `intschema:"callback_id,optional"` Color string `intschema:"color,optional"` Fallback string `intschema:"fallback,optional"` Fields []SlackAlertNotifierFields `intschema:"fields,optional"` IconEmoji string `intschema:"icon_emoji,optional"` IconUrl string `intschema:"icon_url,optional"` ImageUrl string `intschema:"image_url,optional"` LinkNames bool `intschema:"link_names,optional"` MrkdwnIn []string `intschema:"mrkdwn_in,optional"` Pretext string `intschema:"pretext,optional"` ProxyUrl string `intschema:"proxy_url,optional"` SendResolved bool `intschema:"send_resolved,optional,default:true"` ShortFields bool `intschema:"short_fields,optional"` Text string `intschema:"text,optional"` ThumbUrl string `intschema:"thumb_url,optional"` Title string `intschema:"title,optional"` TitleLink string `intschema:"title_link,optional"` TlsInsecureSkipVerify bool `intschema:"tls_insecure_skip_verify,optional"` Username string `intschema:"username,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*SlackAlertNotifier) FromResourceData ¶
func (o *SlackAlertNotifier) FromResourceData(d convertintschema.ResourceGetter) error
func (*SlackAlertNotifier) MarshalHCL ¶
func (o *SlackAlertNotifier) MarshalHCL(w io.Writer) error
func (*SlackAlertNotifier) Ref ¶
func (o *SlackAlertNotifier) Ref() tfid.ID
func (*SlackAlertNotifier) ToResourceData ¶
func (o *SlackAlertNotifier) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type SlackAlertNotifierAction ¶
type SlackAlertNotifierAction struct { Name string `intschema:"name,optional"` ActionConfirmDismissText string `intschema:"action_confirm_dismiss_text,optional"` ActionConfirmOkText string `intschema:"action_confirm_ok_text,optional"` ActionConfirmText string `intschema:"action_confirm_text,optional"` ActionConfirmTile string `intschema:"action_confirm_tile,optional"` Style string `intschema:"style,optional"` Text string `intschema:"text,optional"` Type string `intschema:"type,optional"` Url string `intschema:"url,optional"` Value string `intschema:"value,optional"` }
type Team ¶
type Team struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` Description string `intschema:"description,optional"` UserEmails []string `intschema:"user_emails,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*Team) FromResourceData ¶
func (o *Team) FromResourceData(d convertintschema.ResourceGetter) error
func (*Team) ToResourceData ¶
func (o *Team) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type TestResource ¶
type TestResource struct { CollectionId tfid.ID `intschema:"collection_id"` ComputedAndNotOptional string `intschema:"computed_and_not_optional,computed"` DashboardJson string `intschema:"dashboard_json"` HCLFileDashboardJson string `intschema:"dashboard_json,file"` SomeBool bool `intschema:"some_bool"` SomeFloat float64 `intschema:"some_float"` SomeInt int64 `intschema:"some_int"` SomeObject TestResourceSomeObject `intschema:"some_object,list_encoded_object"` SomeObjectSet []TestResourceSomeObjectSet `intschema:"some_object_set"` SomeString string `intschema:"some_string"` SomeStringList []string `intschema:"some_string_list"` SomeStringMap map[string]string `intschema:"some_string_map"` ComputedAndOptional string `intschema:"computed_and_optional,optional,computed"` Notifiers []tfid.ID `intschema:"notifiers,optional"` OptionalBoolWithDefault bool `intschema:"optional_bool_with_default,optional,default:true"` OptionalObject *TestResourceOptionalObject `intschema:"optional_object,optional,list_encoded_object"` OptionalStringList []string `intschema:"optional_string_list,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*TestResource) FromResourceData ¶
func (o *TestResource) FromResourceData(d convertintschema.ResourceGetter) error
func (*TestResource) MarshalHCL ¶
func (o *TestResource) MarshalHCL(w io.Writer) error
func (*TestResource) Ref ¶
func (o *TestResource) Ref() tfid.ID
func (*TestResource) ToResourceData ¶
func (o *TestResource) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type TestResourceOptionalObject ¶
type TestResourceOptionalObject struct {
InnerStringList []string `intschema:"inner_string_list"`
}
type TestResourceSomeObject ¶
type TraceBoolFilter ¶
type TraceBoolFilter struct {
Value bool `intschema:"value"`
}
type TraceDurationFilter ¶
type TraceFilter ¶
type TraceFilter struct { Duration *TraceDurationFilter `intschema:"duration,optional,list_encoded_object"` Error *TraceBoolFilter `intschema:"error,optional,list_encoded_object"` }
type TraceJaegerRemoteSamplingStrategy ¶
type TraceJaegerRemoteSamplingStrategy struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` AppliedStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategy `intschema:"applied_strategy,list_encoded_object"` ServiceName string `intschema:"service_name"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*TraceJaegerRemoteSamplingStrategy) FromResourceData ¶
func (o *TraceJaegerRemoteSamplingStrategy) FromResourceData(d convertintschema.ResourceGetter) error
func (*TraceJaegerRemoteSamplingStrategy) MarshalHCL ¶
func (o *TraceJaegerRemoteSamplingStrategy) MarshalHCL(w io.Writer) error
func (*TraceJaegerRemoteSamplingStrategy) Ref ¶
func (o *TraceJaegerRemoteSamplingStrategy) Ref() tfid.ID
func (*TraceJaegerRemoteSamplingStrategy) ToResourceData ¶
func (o *TraceJaegerRemoteSamplingStrategy) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type TraceJaegerRemoteSamplingStrategyAppliedStrategy ¶
type TraceJaegerRemoteSamplingStrategyAppliedStrategy struct { PerOperationStrategies *TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies `intschema:"per_operation_strategies,optional,list_encoded_object"` ProbabilisticStrategy *TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy `intschema:"probabilistic_strategy,optional,list_encoded_object"` RateLimitingStrategy *TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy `intschema:"rate_limiting_strategy,optional,list_encoded_object"` }
type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies ¶
type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategies struct { DefaultSamplingRate float64 `intschema:"default_sampling_rate"` DefaultLowerBoundTracesPerSecond float64 `intschema:"default_lower_bound_traces_per_second,optional"` DefaultUpperBoundTracesPerSecond float64 `intschema:"default_upper_bound_traces_per_second,optional"` PerOperationStrategies []TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategies `intschema:"per_operation_strategies,optional"` }
type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategies ¶
type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategies struct { Operation string `intschema:"operation"` ProbabilisticStrategy TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategiesProbabilisticStrategy `intschema:"probabilistic_strategy,list_encoded_object"` }
type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategiesProbabilisticStrategy ¶
type TraceJaegerRemoteSamplingStrategyAppliedStrategyPerOperationStrategiesPerOperationStrategiesProbabilisticStrategy struct {
SamplingRate float64 `intschema:"sampling_rate"`
}
type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy ¶
type TraceJaegerRemoteSamplingStrategyAppliedStrategyProbabilisticStrategy struct {
SamplingRate float64 `intschema:"sampling_rate"`
}
type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy ¶
type TraceJaegerRemoteSamplingStrategyAppliedStrategyRateLimitingStrategy struct {
MaxTracesPerSecond int64 `intschema:"max_traces_per_second"`
}
type TraceMetricsRule ¶
type TraceMetricsRule struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` MetricName string `intschema:"metric_name"` TraceFilter TraceSearchFilter `intschema:"trace_filter,list_encoded_object"` GroupBy []TraceMetricsRuleGroupBy `intschema:"group_by,optional"` HistogramBucketsSeconds []float64 `intschema:"histogram_buckets_seconds,optional"` MetricLabels map[string]string `intschema:"metric_labels,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*TraceMetricsRule) FromResourceData ¶
func (o *TraceMetricsRule) FromResourceData(d convertintschema.ResourceGetter) error
func (*TraceMetricsRule) MarshalHCL ¶
func (o *TraceMetricsRule) MarshalHCL(w io.Writer) error
func (*TraceMetricsRule) Ref ¶
func (o *TraceMetricsRule) Ref() tfid.ID
func (*TraceMetricsRule) ToResourceData ¶
func (o *TraceMetricsRule) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type TraceMetricsRuleGroupBy ¶
type TraceMetricsRuleGroupBy struct { Key TraceMetricsRuleGroupByKey `intschema:"key,list_encoded_object"` Label string `intschema:"label"` }
type TraceNumericFilter ¶
type TraceSearchFilter ¶
type TraceSearchFilter struct { Span []TraceSpanFilter `intschema:"span,optional"` Trace *TraceFilter `intschema:"trace,optional,list_encoded_object"` }
type TraceSpanCountFilter ¶
type TraceSpanFilter ¶
type TraceSpanFilter struct { Duration *TraceDurationFilter `intschema:"duration,optional,list_encoded_object"` Error *TraceBoolFilter `intschema:"error,optional,list_encoded_object"` MatchType string `intschema:"match_type,optional,default:include"` Operation *TraceStringFilter `intschema:"operation,optional,list_encoded_object"` ParentOperation *TraceStringFilter `intschema:"parent_operation,optional,list_encoded_object"` ParentService *TraceStringFilter `intschema:"parent_service,optional,list_encoded_object"` Service *TraceStringFilter `intschema:"service,optional,list_encoded_object"` SpanCount *TraceSpanCountFilter `intschema:"span_count,optional,list_encoded_object"` Tag []TraceTagFilter `intschema:"tag,optional"` Tags []TraceSpanFilterTags `intschema:"tags,optional"` }
type TraceSpanFilterTags ¶
type TraceSpanFilterTags struct { Key string `intschema:"key,optional"` NumericValue *TraceNumericFilter `intschema:"numeric_value,optional,list_encoded_object"` Value *TraceStringFilter `intschema:"value,optional,list_encoded_object"` }
type TraceStringFilter ¶
type TraceTagFilter ¶
type TraceTagFilter struct { Key string `intschema:"key,optional"` NumericValue *TraceNumericFilter `intschema:"numeric_value,optional,list_encoded_object"` Value *TraceStringFilter `intschema:"value,optional,list_encoded_object"` }
type TraceTailSamplingRules ¶
type TraceTailSamplingRules struct { DefaultSampleRate *TraceTailSamplingRulesDefaultSampleRate `intschema:"default_sample_rate,optional,list_encoded_object"` Rules []TraceTailSamplingRulesRules `intschema:"rules,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*TraceTailSamplingRules) FromResourceData ¶
func (o *TraceTailSamplingRules) FromResourceData(d convertintschema.ResourceGetter) error
func (*TraceTailSamplingRules) MarshalHCL ¶
func (o *TraceTailSamplingRules) MarshalHCL(w io.Writer) error
func (*TraceTailSamplingRules) Ref ¶
func (o *TraceTailSamplingRules) Ref() tfid.ID
func (*TraceTailSamplingRules) ToResourceData ¶
func (o *TraceTailSamplingRules) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type TraceTailSamplingRulesRules ¶
type TraceTailSamplingRulesRules struct { Name string `intschema:"name,optional"` Filter TraceSearchFilter `intschema:"filter,list_encoded_object"` SampleRate float64 `intschema:"sample_rate"` SystemName string `intschema:"system_name,optional"` }
type ValueMappings ¶
type VictoropsAlertNotifier ¶
type VictoropsAlertNotifier struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` ApiKey string `intschema:"api_key"` RoutingKey string `intschema:"routing_key"` ApiUrl string `intschema:"api_url,optional"` BasicAuthPassword string `intschema:"basic_auth_password,optional"` BasicAuthUsername string `intschema:"basic_auth_username,optional"` BearerToken string `intschema:"bearer_token,optional"` CustomFields map[string]string `intschema:"custom_fields,optional"` EntityDisplayName string `intschema:"entity_display_name,optional"` MessageType string `intschema:"message_type,optional"` MonitoringTool string `intschema:"monitoring_tool,optional"` ProxyUrl string `intschema:"proxy_url,optional"` SendResolved bool `intschema:"send_resolved,optional,default:true"` StateMessage string `intschema:"state_message,optional"` TlsInsecureSkipVerify bool `intschema:"tls_insecure_skip_verify,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*VictoropsAlertNotifier) FromResourceData ¶
func (o *VictoropsAlertNotifier) FromResourceData(d convertintschema.ResourceGetter) error
func (*VictoropsAlertNotifier) MarshalHCL ¶
func (o *VictoropsAlertNotifier) MarshalHCL(w io.Writer) error
func (*VictoropsAlertNotifier) Ref ¶
func (o *VictoropsAlertNotifier) Ref() tfid.ID
func (*VictoropsAlertNotifier) ToResourceData ¶
func (o *VictoropsAlertNotifier) ToResourceData(d *schema.ResourceData) diag.Diagnostics
type WebhookAlertNotifier ¶
type WebhookAlertNotifier struct { Name string `intschema:"name"` Slug string `intschema:"slug,optional,computed"` Url string `intschema:"url"` BasicAuthPassword string `intschema:"basic_auth_password,optional"` BasicAuthUsername string `intschema:"basic_auth_username,optional"` BearerToken string `intschema:"bearer_token,optional"` ProxyUrl string `intschema:"proxy_url,optional"` SendResolved bool `intschema:"send_resolved,optional,default:true"` TlsInsecureSkipVerify bool `intschema:"tls_insecure_skip_verify,optional"` // Internal identifier used in the .state file, i.e. ResourceData.Id(). // Cannot be set, else ToResourceData will panic. StateID string `intschema:"-"` // HCL-level identifier used in the .tf file. FromResourceData will always // leave this empty, and ToResourceData will panic if set. HCLID string `intschema:"-"` }
func (*WebhookAlertNotifier) FromResourceData ¶
func (o *WebhookAlertNotifier) FromResourceData(d convertintschema.ResourceGetter) error
func (*WebhookAlertNotifier) MarshalHCL ¶
func (o *WebhookAlertNotifier) MarshalHCL(w io.Writer) error
func (*WebhookAlertNotifier) Ref ¶
func (o *WebhookAlertNotifier) Ref() tfid.ID
func (*WebhookAlertNotifier) ToResourceData ¶
func (o *WebhookAlertNotifier) ToResourceData(d *schema.ResourceData) diag.Diagnostics
Source Files
¶
- blackhole_alert_notifier.go
- bucket.go
- classic_dashboard.go
- collection.go
- dashboard.go
- data_bucket.go
- data_collection.go
- data_service.go
- dataset.go
- derived_label.go
- derived_metric.go
- drop_rule.go
- email_alert_notifier.go
- gcp_metrics_integration.go
- generate.go
- log_allocation_config.go
- logscale_action.go
- logscale_alert.go
- mapping_rule.go
- monitor.go
- notification_policy.go
- opsgenie_alert_notifier.go
- otel_metrics_ingestion.go
- pagerduty_alert_notifier.go
- recording_rule.go
- resource_pools_config.go
- rollup_rule.go
- service_account.go
- shared_schemas.go
- slack_alert_notifier.go
- team.go
- test_resource.go
- trace_jaeger_remote_sampling_strategy.go
- trace_metrics_rule.go
- trace_tail_sampling_rules.go
- victorops_alert_notifier.go
- webhook_alert_notifier.go
Directories
¶
Path | Synopsis |
---|---|
generateintschema maps our Terraform schemas into internal struct representations which can freely convert to and from Terraform ResourceData.
|
generateintschema maps our Terraform schemas into internal struct representations which can freely convert to and from Terraform ResourceData. |