cloudwatch_services_k8s_aws_v1alpha1

package
v0.0.0-...-6209148 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudwatchServicesK8SAwsMetricAlarmV1Alpha1Manifest

func NewCloudwatchServicesK8SAwsMetricAlarmV1Alpha1Manifest() datasource.DataSource

Types

type CloudwatchServicesK8SAwsMetricAlarmV1Alpha1Manifest

type CloudwatchServicesK8SAwsMetricAlarmV1Alpha1Manifest struct{}

func (*CloudwatchServicesK8SAwsMetricAlarmV1Alpha1Manifest) Metadata

func (*CloudwatchServicesK8SAwsMetricAlarmV1Alpha1Manifest) Read

func (*CloudwatchServicesK8SAwsMetricAlarmV1Alpha1Manifest) Schema

type CloudwatchServicesK8SAwsMetricAlarmV1Alpha1ManifestData

type CloudwatchServicesK8SAwsMetricAlarmV1Alpha1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		ActionsEnabled     *bool     `tfsdk:"actions_enabled" json:"actionsEnabled,omitempty"`
		AlarmActions       *[]string `tfsdk:"alarm_actions" json:"alarmActions,omitempty"`
		AlarmDescription   *string   `tfsdk:"alarm_description" json:"alarmDescription,omitempty"`
		ComparisonOperator *string   `tfsdk:"comparison_operator" json:"comparisonOperator,omitempty"`
		DatapointsToAlarm  *int64    `tfsdk:"datapoints_to_alarm" json:"datapointsToAlarm,omitempty"`
		Dimensions         *[]struct {
			Name  *string `tfsdk:"name" json:"name,omitempty"`
			Value *string `tfsdk:"value" json:"value,omitempty"`
		} `tfsdk:"dimensions" json:"dimensions,omitempty"`
		EvaluateLowSampleCountPercentile *string   `tfsdk:"evaluate_low_sample_count_percentile" json:"evaluateLowSampleCountPercentile,omitempty"`
		EvaluationPeriods                *int64    `tfsdk:"evaluation_periods" json:"evaluationPeriods,omitempty"`
		ExtendedStatistic                *string   `tfsdk:"extended_statistic" json:"extendedStatistic,omitempty"`
		InsufficientDataActions          *[]string `tfsdk:"insufficient_data_actions" json:"insufficientDataActions,omitempty"`
		MetricName                       *string   `tfsdk:"metric_name" json:"metricName,omitempty"`
		Metrics                          *[]struct {
			AccountID  *string `tfsdk:"account_id" json:"accountID,omitempty"`
			Expression *string `tfsdk:"expression" json:"expression,omitempty"`
			Id         *string `tfsdk:"id" json:"id,omitempty"`
			Label      *string `tfsdk:"label" json:"label,omitempty"`
			MetricStat *struct {
				Metric *struct {
					Dimensions *[]struct {
						Name  *string `tfsdk:"name" json:"name,omitempty"`
						Value *string `tfsdk:"value" json:"value,omitempty"`
					} `tfsdk:"dimensions" json:"dimensions,omitempty"`
					MetricName *string `tfsdk:"metric_name" json:"metricName,omitempty"`
					Namespace  *string `tfsdk:"namespace" json:"namespace,omitempty"`
				} `tfsdk:"metric" json:"metric,omitempty"`
				Period *int64  `tfsdk:"period" json:"period,omitempty"`
				Stat   *string `tfsdk:"stat" json:"stat,omitempty"`
				Unit   *string `tfsdk:"unit" json:"unit,omitempty"`
			} `tfsdk:"metric_stat" json:"metricStat,omitempty"`
			Period     *int64 `tfsdk:"period" json:"period,omitempty"`
			ReturnData *bool  `tfsdk:"return_data" json:"returnData,omitempty"`
		} `tfsdk:"metrics" json:"metrics,omitempty"`
		Name      *string   `tfsdk:"name" json:"name,omitempty"`
		Namespace *string   `tfsdk:"namespace" json:"namespace,omitempty"`
		OKActions *[]string `tfsdk:"o_k_actions" json:"oKActions,omitempty"`
		Period    *int64    `tfsdk:"period" json:"period,omitempty"`
		Statistic *string   `tfsdk:"statistic" json:"statistic,omitempty"`
		Tags      *[]struct {
			Key   *string `tfsdk:"key" json:"key,omitempty"`
			Value *string `tfsdk:"value" json:"value,omitempty"`
		} `tfsdk:"tags" json:"tags,omitempty"`
		Threshold         *float64 `tfsdk:"threshold" json:"threshold,omitempty"`
		ThresholdMetricID *string  `tfsdk:"threshold_metric_id" json:"thresholdMetricID,omitempty"`
		TreatMissingData  *string  `tfsdk:"treat_missing_data" json:"treatMissingData,omitempty"`
		Unit              *string  `tfsdk:"unit" json:"unit,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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