google_monitoring_slo

package
v0.0.0-...-4deecce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// CalendarPeriod: string, optional
	CalendarPeriod terra.StringValue `hcl:"calendar_period,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Goal: number, required
	Goal terra.NumberValue `hcl:"goal,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// RollingPeriodDays: number, optional
	RollingPeriodDays terra.NumberValue `hcl:"rolling_period_days,attr"`
	// Service: string, required
	Service terra.StringValue `hcl:"service,attr" validate:"required"`
	// SloId: string, optional
	SloId terra.StringValue `hcl:"slo_id,attr"`
	// UserLabels: map of string, optional
	UserLabels terra.MapValue[terra.StringValue] `hcl:"user_labels,attr"`
	// BasicSli: optional
	BasicSli *BasicSli `hcl:"basic_sli,block"`
	// RequestBasedSli: optional
	RequestBasedSli *RequestBasedSli `hcl:"request_based_sli,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// WindowsBasedSli: optional
	WindowsBasedSli *WindowsBasedSli `hcl:"windows_based_sli,block"`
}

Args contains the configurations for google_monitoring_slo.

type BasicSli

type BasicSli struct {
	// Location: set of string, optional
	Location terra.SetValue[terra.StringValue] `hcl:"location,attr"`
	// Method: set of string, optional
	Method terra.SetValue[terra.StringValue] `hcl:"method,attr"`
	// Version: set of string, optional
	Version terra.SetValue[terra.StringValue] `hcl:"version,attr"`
	// BasicSliAvailability: optional
	Availability *BasicSliAvailability `hcl:"availability,block"`
	// BasicSliLatency: optional
	Latency *BasicSliLatency `hcl:"latency,block"`
}

type BasicSliAttributes

type BasicSliAttributes struct {
	// contains filtered or unexported fields
}

func (BasicSliAttributes) Availability

func (BasicSliAttributes) InternalRef

func (bs BasicSliAttributes) InternalRef() (terra.Reference, error)

func (BasicSliAttributes) InternalTokens

func (bs BasicSliAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BasicSliAttributes) InternalWithRef

func (bs BasicSliAttributes) InternalWithRef(ref terra.Reference) BasicSliAttributes

func (BasicSliAttributes) Latency

func (BasicSliAttributes) Location

func (BasicSliAttributes) Method

func (BasicSliAttributes) Version

type BasicSliAvailability

type BasicSliAvailability struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type BasicSliAvailabilityAttributes

type BasicSliAvailabilityAttributes struct {
	// contains filtered or unexported fields
}

func (BasicSliAvailabilityAttributes) Enabled

func (BasicSliAvailabilityAttributes) InternalRef

func (BasicSliAvailabilityAttributes) InternalTokens

func (a BasicSliAvailabilityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BasicSliAvailabilityAttributes) InternalWithRef

type BasicSliAvailabilityState

type BasicSliAvailabilityState struct {
	Enabled bool `json:"enabled"`
}

type BasicSliLatency

type BasicSliLatency struct {
	// Threshold: string, required
	Threshold terra.StringValue `hcl:"threshold,attr" validate:"required"`
}

type BasicSliLatencyAttributes

type BasicSliLatencyAttributes struct {
	// contains filtered or unexported fields
}

func (BasicSliLatencyAttributes) InternalRef

func (l BasicSliLatencyAttributes) InternalRef() (terra.Reference, error)

func (BasicSliLatencyAttributes) InternalTokens

func (l BasicSliLatencyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BasicSliLatencyAttributes) InternalWithRef

func (BasicSliLatencyAttributes) Threshold

type BasicSliLatencyState

type BasicSliLatencyState struct {
	Threshold string `json:"threshold"`
}

type BasicSliState

type BasicSliState struct {
	Location     []string                    `json:"location"`
	Method       []string                    `json:"method"`
	Version      []string                    `json:"version"`
	Availability []BasicSliAvailabilityState `json:"availability"`
	Latency      []BasicSliLatencyState      `json:"latency"`
}

type RequestBasedSli

type RequestBasedSli struct {
	// RequestBasedSliDistributionCut: optional
	DistributionCut *RequestBasedSliDistributionCut `hcl:"distribution_cut,block"`
	// RequestBasedSliGoodTotalRatio: optional
	GoodTotalRatio *RequestBasedSliGoodTotalRatio `hcl:"good_total_ratio,block"`
}

type RequestBasedSliAttributes

type RequestBasedSliAttributes struct {
	// contains filtered or unexported fields
}

func (RequestBasedSliAttributes) DistributionCut

func (RequestBasedSliAttributes) GoodTotalRatio

func (RequestBasedSliAttributes) InternalRef

func (rbs RequestBasedSliAttributes) InternalRef() (terra.Reference, error)

func (RequestBasedSliAttributes) InternalTokens

func (rbs RequestBasedSliAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RequestBasedSliAttributes) InternalWithRef

type RequestBasedSliDistributionCut

type RequestBasedSliDistributionCut struct {
	// DistributionFilter: string, required
	DistributionFilter terra.StringValue `hcl:"distribution_filter,attr" validate:"required"`
	// RequestBasedSliDistributionCutRange: required
	Range *RequestBasedSliDistributionCutRange `hcl:"range,block" validate:"required"`
}

type RequestBasedSliDistributionCutAttributes

type RequestBasedSliDistributionCutAttributes struct {
	// contains filtered or unexported fields
}

func (RequestBasedSliDistributionCutAttributes) DistributionFilter

func (RequestBasedSliDistributionCutAttributes) InternalRef

func (RequestBasedSliDistributionCutAttributes) InternalTokens

func (RequestBasedSliDistributionCutAttributes) InternalWithRef

func (RequestBasedSliDistributionCutAttributes) Range

type RequestBasedSliDistributionCutRange

type RequestBasedSliDistributionCutRange struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type RequestBasedSliDistributionCutRangeAttributes

type RequestBasedSliDistributionCutRangeAttributes struct {
	// contains filtered or unexported fields
}

func (RequestBasedSliDistributionCutRangeAttributes) InternalRef

func (RequestBasedSliDistributionCutRangeAttributes) InternalTokens

func (RequestBasedSliDistributionCutRangeAttributes) InternalWithRef

func (RequestBasedSliDistributionCutRangeAttributes) Max

func (RequestBasedSliDistributionCutRangeAttributes) Min

type RequestBasedSliDistributionCutRangeState

type RequestBasedSliDistributionCutRangeState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type RequestBasedSliDistributionCutState

type RequestBasedSliDistributionCutState struct {
	DistributionFilter string                                     `json:"distribution_filter"`
	Range              []RequestBasedSliDistributionCutRangeState `json:"range"`
}

type RequestBasedSliGoodTotalRatio

type RequestBasedSliGoodTotalRatio struct {
	// BadServiceFilter: string, optional
	BadServiceFilter terra.StringValue `hcl:"bad_service_filter,attr"`
	// GoodServiceFilter: string, optional
	GoodServiceFilter terra.StringValue `hcl:"good_service_filter,attr"`
	// TotalServiceFilter: string, optional
	TotalServiceFilter terra.StringValue `hcl:"total_service_filter,attr"`
}

type RequestBasedSliGoodTotalRatioAttributes

type RequestBasedSliGoodTotalRatioAttributes struct {
	// contains filtered or unexported fields
}

func (RequestBasedSliGoodTotalRatioAttributes) BadServiceFilter

func (RequestBasedSliGoodTotalRatioAttributes) GoodServiceFilter

func (RequestBasedSliGoodTotalRatioAttributes) InternalRef

func (RequestBasedSliGoodTotalRatioAttributes) InternalTokens

func (RequestBasedSliGoodTotalRatioAttributes) InternalWithRef

func (RequestBasedSliGoodTotalRatioAttributes) TotalServiceFilter

type RequestBasedSliGoodTotalRatioState

type RequestBasedSliGoodTotalRatioState struct {
	BadServiceFilter   string `json:"bad_service_filter"`
	GoodServiceFilter  string `json:"good_service_filter"`
	TotalServiceFilter string `json:"total_service_filter"`
}

type RequestBasedSliState

type RequestBasedSliState struct {
	DistributionCut []RequestBasedSliDistributionCutState `json:"distribution_cut"`
	GoodTotalRatio  []RequestBasedSliGoodTotalRatioState  `json:"good_total_ratio"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_monitoring_slo.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gms *Resource) Attributes() googleMonitoringSloAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gms *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gms *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gms *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gms *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gms *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gms *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gms *Resource) State() (*googleMonitoringSloState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gms *Resource) StateMust() *googleMonitoringSloState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gms *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type WindowsBasedSli

type WindowsBasedSli struct {
	// GoodBadMetricFilter: string, optional
	GoodBadMetricFilter terra.StringValue `hcl:"good_bad_metric_filter,attr"`
	// WindowPeriod: string, optional
	WindowPeriod terra.StringValue `hcl:"window_period,attr"`
	// WindowsBasedSliGoodTotalRatioThreshold: optional
	GoodTotalRatioThreshold *WindowsBasedSliGoodTotalRatioThreshold `hcl:"good_total_ratio_threshold,block"`
	// WindowsBasedSliMetricMeanInRange: optional
	MetricMeanInRange *WindowsBasedSliMetricMeanInRange `hcl:"metric_mean_in_range,block"`
	// WindowsBasedSliMetricSumInRange: optional
	MetricSumInRange *WindowsBasedSliMetricSumInRange `hcl:"metric_sum_in_range,block"`
}

type WindowsBasedSliAttributes

type WindowsBasedSliAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliAttributes) GoodBadMetricFilter

func (wbs WindowsBasedSliAttributes) GoodBadMetricFilter() terra.StringValue

func (WindowsBasedSliAttributes) GoodTotalRatioThreshold

func (WindowsBasedSliAttributes) InternalRef

func (wbs WindowsBasedSliAttributes) InternalRef() (terra.Reference, error)

func (WindowsBasedSliAttributes) InternalTokens

func (wbs WindowsBasedSliAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WindowsBasedSliAttributes) InternalWithRef

func (WindowsBasedSliAttributes) MetricMeanInRange

func (WindowsBasedSliAttributes) MetricSumInRange

func (WindowsBasedSliAttributes) WindowPeriod

func (wbs WindowsBasedSliAttributes) WindowPeriod() terra.StringValue

type WindowsBasedSliGoodTotalRatioThreshold

type WindowsBasedSliGoodTotalRatioThreshold struct {
	// Threshold: number, optional
	Threshold terra.NumberValue `hcl:"threshold,attr"`
	// WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance: optional
	BasicSliPerformance *WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance `hcl:"basic_sli_performance,block"`
	// WindowsBasedSliGoodTotalRatioThresholdPerformance: optional
	Performance *WindowsBasedSliGoodTotalRatioThresholdPerformance `hcl:"performance,block"`
}

type WindowsBasedSliGoodTotalRatioThreshold259967B5

type WindowsBasedSliGoodTotalRatioThreshold259967B5 struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type WindowsBasedSliGoodTotalRatioThreshold259967B5Attributes

type WindowsBasedSliGoodTotalRatioThreshold259967B5Attributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThreshold259967B5Attributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThreshold259967B5Attributes) InternalTokens

func (WindowsBasedSliGoodTotalRatioThreshold259967B5Attributes) InternalWithRef

func (WindowsBasedSliGoodTotalRatioThreshold259967B5Attributes) Max

func (WindowsBasedSliGoodTotalRatioThreshold259967B5Attributes) Min

type WindowsBasedSliGoodTotalRatioThreshold259967B5State

type WindowsBasedSliGoodTotalRatioThreshold259967B5State struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type WindowsBasedSliGoodTotalRatioThresholdAttributes

type WindowsBasedSliGoodTotalRatioThresholdAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThresholdAttributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThresholdAttributes) InternalTokens

func (WindowsBasedSliGoodTotalRatioThresholdAttributes) InternalWithRef

func (WindowsBasedSliGoodTotalRatioThresholdAttributes) Performance

func (WindowsBasedSliGoodTotalRatioThresholdAttributes) Threshold

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance struct {
	// Location: set of string, optional
	Location terra.SetValue[terra.StringValue] `hcl:"location,attr"`
	// Method: set of string, optional
	Method terra.SetValue[terra.StringValue] `hcl:"method,attr"`
	// Version: set of string, optional
	Version terra.SetValue[terra.StringValue] `hcl:"version,attr"`
	// WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability: optional
	Availability *WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability `hcl:"availability,block"`
	// WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency: optional
	Latency *WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency `hcl:"latency,block"`
}

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes) InternalTokens

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes) InternalWithRef

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes) Location

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes) Method

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAttributes) Version

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityAttributes

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityAttributes) Enabled

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityAttributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityAttributes) InternalTokens

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityState

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityState struct {
	Enabled bool `json:"enabled"`
}

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency struct {
	// Threshold: string, required
	Threshold terra.StringValue `hcl:"threshold,attr" validate:"required"`
}

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyAttributes

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyAttributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyAttributes) InternalTokens

func (WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyAttributes) Threshold

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyState

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyState struct {
	Threshold string `json:"threshold"`
}

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceState

type WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceState struct {
	Location     []string                                                                     `json:"location"`
	Method       []string                                                                     `json:"method"`
	Version      []string                                                                     `json:"version"`
	Availability []WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityState `json:"availability"`
	Latency      []WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyState      `json:"latency"`
}

type WindowsBasedSliGoodTotalRatioThresholdPerformance

type WindowsBasedSliGoodTotalRatioThresholdPerformance struct {
	// WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut: optional
	DistributionCut *WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut `hcl:"distribution_cut,block"`
	// WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatio: optional
	GoodTotalRatio *WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatio `hcl:"good_total_ratio,block"`
}

type WindowsBasedSliGoodTotalRatioThresholdPerformanceAttributes

type WindowsBasedSliGoodTotalRatioThresholdPerformanceAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceAttributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceAttributes) InternalTokens

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceAttributes) InternalWithRef

type WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut

type WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut struct {
	// DistributionFilter: string, required
	DistributionFilter terra.StringValue `hcl:"distribution_filter,attr" validate:"required"`
	// WindowsBasedSliGoodTotalRatioThreshold259967B5: required
	Range *WindowsBasedSliGoodTotalRatioThreshold259967B5 `hcl:"range,block" validate:"required"`
}

type WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutAttributes

type WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutAttributes) DistributionFilter

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutAttributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutAttributes) InternalTokens

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutAttributes) InternalWithRef

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutAttributes) Range

type WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutState

type WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutState struct {
	DistributionFilter string                                                `json:"distribution_filter"`
	Range              []WindowsBasedSliGoodTotalRatioThreshold259967B5State `json:"range"`
}

type WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatio

type WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatio struct {
	// BadServiceFilter: string, optional
	BadServiceFilter terra.StringValue `hcl:"bad_service_filter,attr"`
	// GoodServiceFilter: string, optional
	GoodServiceFilter terra.StringValue `hcl:"good_service_filter,attr"`
	// TotalServiceFilter: string, optional
	TotalServiceFilter terra.StringValue `hcl:"total_service_filter,attr"`
}

type WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes

type WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes) BadServiceFilter

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes) GoodServiceFilter

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes) InternalRef

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes) InternalTokens

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes) InternalWithRef

func (WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioAttributes) TotalServiceFilter

type WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioState

type WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioState struct {
	BadServiceFilter   string `json:"bad_service_filter"`
	GoodServiceFilter  string `json:"good_service_filter"`
	TotalServiceFilter string `json:"total_service_filter"`
}

type WindowsBasedSliGoodTotalRatioThresholdPerformanceState

type WindowsBasedSliGoodTotalRatioThresholdPerformanceState struct {
	DistributionCut []WindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutState `json:"distribution_cut"`
	GoodTotalRatio  []WindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioState  `json:"good_total_ratio"`
}

type WindowsBasedSliGoodTotalRatioThresholdState

type WindowsBasedSliGoodTotalRatioThresholdState struct {
	Threshold           float64                                                          `json:"threshold"`
	BasicSliPerformance []WindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceState `json:"basic_sli_performance"`
	Performance         []WindowsBasedSliGoodTotalRatioThresholdPerformanceState         `json:"performance"`
}

type WindowsBasedSliMetricMeanInRange

type WindowsBasedSliMetricMeanInRange struct {
	// TimeSeries: string, required
	TimeSeries terra.StringValue `hcl:"time_series,attr" validate:"required"`
	// WindowsBasedSliMetricMeanInRangeRange: required
	Range *WindowsBasedSliMetricMeanInRangeRange `hcl:"range,block" validate:"required"`
}

type WindowsBasedSliMetricMeanInRangeAttributes

type WindowsBasedSliMetricMeanInRangeAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliMetricMeanInRangeAttributes) InternalRef

func (WindowsBasedSliMetricMeanInRangeAttributes) InternalTokens

func (WindowsBasedSliMetricMeanInRangeAttributes) InternalWithRef

func (WindowsBasedSliMetricMeanInRangeAttributes) Range

func (WindowsBasedSliMetricMeanInRangeAttributes) TimeSeries

type WindowsBasedSliMetricMeanInRangeRange

type WindowsBasedSliMetricMeanInRangeRange struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type WindowsBasedSliMetricMeanInRangeRangeAttributes

type WindowsBasedSliMetricMeanInRangeRangeAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliMetricMeanInRangeRangeAttributes) InternalRef

func (WindowsBasedSliMetricMeanInRangeRangeAttributes) InternalTokens

func (WindowsBasedSliMetricMeanInRangeRangeAttributes) InternalWithRef

func (WindowsBasedSliMetricMeanInRangeRangeAttributes) Max

func (WindowsBasedSliMetricMeanInRangeRangeAttributes) Min

type WindowsBasedSliMetricMeanInRangeRangeState

type WindowsBasedSliMetricMeanInRangeRangeState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type WindowsBasedSliMetricMeanInRangeState

type WindowsBasedSliMetricMeanInRangeState struct {
	TimeSeries string                                       `json:"time_series"`
	Range      []WindowsBasedSliMetricMeanInRangeRangeState `json:"range"`
}

type WindowsBasedSliMetricSumInRange

type WindowsBasedSliMetricSumInRange struct {
	// TimeSeries: string, required
	TimeSeries terra.StringValue `hcl:"time_series,attr" validate:"required"`
	// WindowsBasedSliMetricSumInRangeRange: required
	Range *WindowsBasedSliMetricSumInRangeRange `hcl:"range,block" validate:"required"`
}

type WindowsBasedSliMetricSumInRangeAttributes

type WindowsBasedSliMetricSumInRangeAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliMetricSumInRangeAttributes) InternalRef

func (WindowsBasedSliMetricSumInRangeAttributes) InternalTokens

func (WindowsBasedSliMetricSumInRangeAttributes) InternalWithRef

func (WindowsBasedSliMetricSumInRangeAttributes) Range

func (WindowsBasedSliMetricSumInRangeAttributes) TimeSeries

type WindowsBasedSliMetricSumInRangeRange

type WindowsBasedSliMetricSumInRangeRange struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type WindowsBasedSliMetricSumInRangeRangeAttributes

type WindowsBasedSliMetricSumInRangeRangeAttributes struct {
	// contains filtered or unexported fields
}

func (WindowsBasedSliMetricSumInRangeRangeAttributes) InternalRef

func (WindowsBasedSliMetricSumInRangeRangeAttributes) InternalTokens

func (WindowsBasedSliMetricSumInRangeRangeAttributes) InternalWithRef

func (WindowsBasedSliMetricSumInRangeRangeAttributes) Max

func (WindowsBasedSliMetricSumInRangeRangeAttributes) Min

type WindowsBasedSliMetricSumInRangeRangeState

type WindowsBasedSliMetricSumInRangeRangeState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type WindowsBasedSliMetricSumInRangeState

type WindowsBasedSliMetricSumInRangeState struct {
	TimeSeries string                                      `json:"time_series"`
	Range      []WindowsBasedSliMetricSumInRangeRangeState `json:"range"`
}

type WindowsBasedSliState

type WindowsBasedSliState struct {
	GoodBadMetricFilter     string                                        `json:"good_bad_metric_filter"`
	WindowPeriod            string                                        `json:"window_period"`
	GoodTotalRatioThreshold []WindowsBasedSliGoodTotalRatioThresholdState `json:"good_total_ratio_threshold"`
	MetricMeanInRange       []WindowsBasedSliMetricMeanInRangeState       `json:"metric_mean_in_range"`
	MetricSumInRange        []WindowsBasedSliMetricSumInRangeState        `json:"metric_sum_in_range"`
}

Jump to

Keyboard shortcuts

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