intschema

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Index

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 (*BlackholeAlertNotifier) MarshalHCL

func (o *BlackholeAlertNotifier) MarshalHCL(w io.Writer) error

func (*BlackholeAlertNotifier) Ref

func (o *BlackholeAlertNotifier) Ref() tfid.ID

func (*BlackholeAlertNotifier) ToResourceData

type Bucket

type Bucket 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"`
	NotificationPolicySlug string            `intschema:"notification_policy_slug,computed"`
	Description            string            `intschema:"description,optional"`
	Labels                 map[string]string `intschema:"labels,optional"`
	NotificationPolicyData string            `intschema:"notification_policy_data,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) MarshalHCL

func (o *Bucket) MarshalHCL(w io.Writer) error

func (*Bucket) Ref

func (o *Bucket) Ref() tfid.ID

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) MarshalHCL

func (o *Dashboard) MarshalHCL(w io.Writer) error

func (*Dashboard) Ref

func (o *Dashboard) Ref() tfid.ID

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) MarshalHCL

func (o *Dataset) MarshalHCL(w io.Writer) error

func (*Dataset) Ref

func (o *Dataset) Ref() tfid.ID

func (*Dataset) ToResourceData

func (o *Dataset) ToResourceData(d *schema.ResourceData) diag.Diagnostics

type DatasetConfiguration

type DatasetConfiguration struct {
	Type         string                            `intschema:"type"`
	TraceDataset *DatasetConfigurationTraceDataset `intschema:"trace_dataset,optional,list_encoded_object"`
}

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 DerivedLabelMetricLabelConstructedLabelValueDefinitionsFilters

type DerivedLabelMetricLabelConstructedLabelValueDefinitionsFilters struct {
	Name      string `intschema:"name"`
	ValueGlob string `intschema:"value_glob"`
}

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 DerivedLabelMetricLabelMappingLabelNameMappingsFilters

type DerivedLabelMetricLabelMappingLabelNameMappingsFilters struct {
	Name      string `intschema:"name"`
	ValueGlob string `intschema:"value_glob"`
}

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 DerivedMetricQueriesQueryVariables

type DerivedMetricQueriesQueryVariables struct {
	Name            string `intschema:"name"`
	DefaultSelector string `intschema:"default_selector"`
}

type DerivedMetricQueriesSelector

type DerivedMetricQueriesSelector struct {
	Labels map[string]string `intschema:"labels,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) MarshalHCL

func (o *DropRule) MarshalHCL(w io.Writer) error

func (*DropRule) Ref

func (o *DropRule) Ref() tfid.ID

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 (*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 (*GcpMetricsIntegration) MarshalHCL

func (o *GcpMetricsIntegration) MarshalHCL(w io.Writer) error

func (*GcpMetricsIntegration) Ref

func (o *GcpMetricsIntegration) Ref() tfid.ID

func (*GcpMetricsIntegration) ToResourceData

type GcpMetricsIntegrationMetricGroups

type GcpMetricsIntegrationMetricGroups struct {
	ProjectId string   `intschema:"project_id"`
	Prefixes  []string `intschema:"prefixes,optional"`
}

type GcpMetricsIntegrationServiceAccount

type GcpMetricsIntegrationServiceAccount struct {
	ClientEmail string `intschema:"client_email"`
}

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 MappingRuleStoragePolicy

type MappingRuleStoragePolicy struct {
	Resolution string `intschema:"resolution"`
	Retention  string `intschema:"retention"`
}

type Matcher

type Matcher struct {
	Name  string `intschema:"name"`
	Type  string `intschema:"type"`
	Value string `intschema:"value"`
}

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) MarshalHCL

func (o *Monitor) MarshalHCL(w io.Writer) error

func (*Monitor) Ref

func (o *Monitor) Ref() tfid.ID

func (*Monitor) ToResourceData

func (o *Monitor) ToResourceData(d *schema.ResourceData) diag.Diagnostics

type MonitorQuery

type MonitorQuery struct {
	GraphiteExpr   string `intschema:"graphite_expr,optional"`
	PrometheusExpr string `intschema:"prometheus_expr,optional"`
}

type MonitorSchedule

type MonitorSchedule struct {
	Timezone string                 `intschema:"timezone"`
	Range    []MonitorScheduleRange `intschema:"range,optional"`
}

type MonitorScheduleRange

type MonitorScheduleRange struct {
	Day   string `intschema:"day"`
	End   string `intschema:"end"`
	Start string `intschema:"start"`
}

type MonitorSeriesCondition

type MonitorSeriesCondition struct {
	Op             string  `intschema:"op"`
	Severity       string  `intschema:"severity"`
	ResolveSustain string  `intschema:"resolve_sustain,optional"`
	Sustain        string  `intschema:"sustain,optional"`
	Value          float64 `intschema:"value,optional,default:0"`
}

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 MonitorSignalGrouping struct {
	LabelNames      []string `intschema:"label_names,optional"`
	SignalPerSeries bool     `intschema:"signal_per_series,optional"`
}

type NotificationPolicy

type NotificationPolicy struct {
	Name                   string                       `intschema:"name,optional"`
	Slug                   string                       `intschema:"slug,optional,computed"`
	TeamId                 tfid.ID                      `intschema:"team_id,optional"`
	IsIndependent          bool                         `intschema:"is_independent,computed"`
	NotificationPolicyData string                       `intschema:"notification_policy_data,optional,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 (*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"`
	Notifiers      []tfid.ID `intschema:"notifiers,optional"`
	RepeatInterval string    `intschema:"repeat_interval,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 (*OpsgenieAlertNotifier) MarshalHCL

func (o *OpsgenieAlertNotifier) MarshalHCL(w io.Writer) error

func (*OpsgenieAlertNotifier) Ref

func (o *OpsgenieAlertNotifier) Ref() tfid.ID

func (*OpsgenieAlertNotifier) ToResourceData

type OpsgenieAlertNotifierResponder

type OpsgenieAlertNotifierResponder struct {
	Name     string `intschema:"name,optional"`
	Type     string `intschema:"type"`
	Id       string `intschema:"id,optional"`
	Username string `intschema:"username,optional"`
}

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 (*PagerdutyAlertNotifier) MarshalHCL

func (o *PagerdutyAlertNotifier) MarshalHCL(w io.Writer) error

func (*PagerdutyAlertNotifier) Ref

func (o *PagerdutyAlertNotifier) Ref() tfid.ID

func (*PagerdutyAlertNotifier) ToResourceData

type PagerdutyAlertNotifierImage

type PagerdutyAlertNotifierImage struct {
	Src  string `intschema:"src"`
	Alt  string `intschema:"alt,optional"`
	Href string `intschema:"href,optional"`
}
type PagerdutyAlertNotifierLink struct {
	Href string `intschema:"href"`
	Text string `intschema:"text,optional"`
}

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 ResourcePoolPrioritiesSchema

type ResourcePoolPrioritiesSchema struct {
	HighPriorityMatchRules []string `intschema:"high_priority_match_rules,optional"`
	LowPriorityMatchRules  []string `intschema:"low_priority_match_rules,optional"`
}

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 (*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 RollupRuleGraphiteLabelPolicyReplace

type RollupRuleGraphiteLabelPolicyReplace struct {
	Name     string `intschema:"name"`
	NewValue string `intschema:"new_value"`
}

type RollupRuleStoragePolicies

type RollupRuleStoragePolicies struct {
	Resolution string `intschema:"resolution"`
	Retention  string `intschema:"retention"`
}

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 ServiceAccountRestriction

type ServiceAccountRestriction struct {
	Permission string            `intschema:"permission"`
	Labels     map[string]string `intschema:"labels,optional"`
}

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"`
	Footer                string                     `intschema:"footer,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 (*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 SlackAlertNotifierFields

type SlackAlertNotifierFields struct {
	Short bool   `intschema:"short,optional"`
	Title string `intschema:"title,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) MarshalHCL

func (o *Team) MarshalHCL(w io.Writer) error

func (*Team) Ref

func (o *Team) Ref() tfid.ID

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 TestResourceSomeObject struct {
	InnerBool   bool   `intschema:"inner_bool"`
	InnerString string `intschema:"inner_string"`
}

type TestResourceSomeObjectSet

type TestResourceSomeObjectSet struct {
	InnerBool   bool   `intschema:"inner_bool"`
	InnerString string `intschema:"inner_string"`
}

type TraceBoolFilter

type TraceBoolFilter struct {
	Value bool `intschema:"value"`
}

type TraceDurationFilter

type TraceDurationFilter struct {
	MaxSeconds float64 `intschema:"max_seconds,optional,default:0"`
	MaxSecs    float64 `intschema:"max_secs,optional"`
	MinSeconds float64 `intschema:"min_seconds,optional,default:0"`
	MinSecs    float64 `intschema:"min_secs,optional,default:0"`
}

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 (*TraceJaegerRemoteSamplingStrategy) MarshalHCL

func (*TraceJaegerRemoteSamplingStrategy) Ref

func (*TraceJaegerRemoteSamplingStrategy) ToResourceData

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 TraceMetricsRuleGroupByKey

type TraceMetricsRuleGroupByKey struct {
	Type     string `intschema:"type"`
	NamedKey string `intschema:"named_key,optional"`
}

type TraceNumericFilter

type TraceNumericFilter struct {
	Comparison string  `intschema:"comparison"`
	Value      float64 `intschema:"value"`
}

type TraceSearchFilter

type TraceSearchFilter struct {
	Span  []TraceSpanFilter `intschema:"span,optional"`
	Trace *TraceFilter      `intschema:"trace,optional,list_encoded_object"`
}

type TraceSpanCountFilter

type TraceSpanCountFilter struct {
	Max int64 `intschema:"max,optional,default:0"`
	Min int64 `intschema:"min,optional,default:0"`
}

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 TraceStringFilter struct {
	InValues []string `intschema:"in_values,optional"`
	Match    string   `intschema:"match,optional,default:exact"`
	Value    string   `intschema:"value,optional"`
}

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 (*TraceTailSamplingRules) MarshalHCL

func (o *TraceTailSamplingRules) MarshalHCL(w io.Writer) error

func (*TraceTailSamplingRules) Ref

func (o *TraceTailSamplingRules) Ref() tfid.ID

func (*TraceTailSamplingRules) ToResourceData

type TraceTailSamplingRulesDefaultSampleRate

type TraceTailSamplingRulesDefaultSampleRate struct {
	SampleRate float64 `intschema:"sample_rate"`
	Enabled    bool    `intschema:"enabled,optional"`
}

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 ValueMappings struct {
	SourceValueGlobs []string `intschema:"source_value_globs"`
	TargetValue      string   `intschema:"target_value"`
}

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 (*VictoropsAlertNotifier) MarshalHCL

func (o *VictoropsAlertNotifier) MarshalHCL(w io.Writer) error

func (*VictoropsAlertNotifier) Ref

func (o *VictoropsAlertNotifier) Ref() tfid.ID

func (*VictoropsAlertNotifier) ToResourceData

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 (*WebhookAlertNotifier) MarshalHCL

func (o *WebhookAlertNotifier) MarshalHCL(w io.Writer) error

func (*WebhookAlertNotifier) Ref

func (o *WebhookAlertNotifier) Ref() tfid.ID

func (*WebhookAlertNotifier) ToResourceData

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL