consumptionbudgetmanagementgroup

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	// FilterDimension: min=0
	Dimension []FilterDimension `hcl:"dimension,block" validate:"min=0"`
	// Not: optional
	Not *Not `hcl:"not,block"`
	// FilterTag: min=0
	Tag []FilterTag `hcl:"tag,block" validate:"min=0"`
}

type FilterAttributes

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

func (FilterAttributes) Dimension

func (FilterAttributes) InternalRef

func (f FilterAttributes) InternalRef() (terra.Reference, error)

func (FilterAttributes) InternalTokens

func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterAttributes) InternalWithRef

func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes

func (FilterAttributes) Not

func (FilterAttributes) Tag

type FilterDimension

type FilterDimension struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type FilterDimensionAttributes

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

func (FilterDimensionAttributes) InternalRef

func (d FilterDimensionAttributes) InternalRef() (terra.Reference, error)

func (FilterDimensionAttributes) InternalTokens

func (d FilterDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterDimensionAttributes) InternalWithRef

func (FilterDimensionAttributes) Name

func (FilterDimensionAttributes) Operator

func (FilterDimensionAttributes) Values

type FilterDimensionState

type FilterDimensionState struct {
	Name     string   `json:"name"`
	Operator string   `json:"operator"`
	Values   []string `json:"values"`
}

type FilterState

type FilterState struct {
	Dimension []FilterDimensionState `json:"dimension"`
	Not       []NotState             `json:"not"`
	Tag       []FilterTagState       `json:"tag"`
}

type FilterTag

type FilterTag struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type FilterTagAttributes

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

func (FilterTagAttributes) InternalRef

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

func (FilterTagAttributes) InternalTokens

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

func (FilterTagAttributes) InternalWithRef

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

func (FilterTagAttributes) Name

func (FilterTagAttributes) Operator

func (t FilterTagAttributes) Operator() terra.StringValue

func (FilterTagAttributes) Values

type FilterTagState

type FilterTagState struct {
	Name     string   `json:"name"`
	Operator string   `json:"operator"`
	Values   []string `json:"values"`
}

type Not

type Not struct {
	// NotDimension: optional
	Dimension *NotDimension `hcl:"dimension,block"`
	// NotTag: optional
	Tag *NotTag `hcl:"tag,block"`
}

type NotAttributes

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

func (NotAttributes) Dimension

func (NotAttributes) InternalRef

func (n NotAttributes) InternalRef() (terra.Reference, error)

func (NotAttributes) InternalTokens

func (n NotAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotAttributes) InternalWithRef

func (n NotAttributes) InternalWithRef(ref terra.Reference) NotAttributes

func (NotAttributes) Tag

type NotDimension

type NotDimension struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type NotDimensionAttributes

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

func (NotDimensionAttributes) InternalRef

func (d NotDimensionAttributes) InternalRef() (terra.Reference, error)

func (NotDimensionAttributes) InternalTokens

func (d NotDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotDimensionAttributes) InternalWithRef

func (NotDimensionAttributes) Name

func (NotDimensionAttributes) Operator

func (NotDimensionAttributes) Values

type NotDimensionState

type NotDimensionState struct {
	Name     string   `json:"name"`
	Operator string   `json:"operator"`
	Values   []string `json:"values"`
}

type NotState

type NotState struct {
	Dimension []NotDimensionState `json:"dimension"`
	Tag       []NotTagState       `json:"tag"`
}

type NotTag

type NotTag struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Operator: string, optional
	Operator terra.StringValue `hcl:"operator,attr"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type NotTagAttributes

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

func (NotTagAttributes) InternalRef

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

func (NotTagAttributes) InternalTokens

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

func (NotTagAttributes) InternalWithRef

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

func (NotTagAttributes) Name

func (NotTagAttributes) Operator

func (t NotTagAttributes) Operator() terra.StringValue

func (NotTagAttributes) Values

type NotTagState

type NotTagState struct {
	Name     string   `json:"name"`
	Operator string   `json:"operator"`
	Values   []string `json:"values"`
}

type Notification

type Notification struct {
	// ContactEmails: list of string, required
	ContactEmails terra.ListValue[terra.StringValue] `hcl:"contact_emails,attr" validate:"required"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// Threshold: number, required
	Threshold terra.NumberValue `hcl:"threshold,attr" validate:"required"`
	// ThresholdType: string, optional
	ThresholdType terra.StringValue `hcl:"threshold_type,attr"`
}

type NotificationAttributes

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

func (NotificationAttributes) ContactEmails

func (NotificationAttributes) Enabled

func (NotificationAttributes) InternalRef

func (n NotificationAttributes) InternalRef() (terra.Reference, error)

func (NotificationAttributes) InternalTokens

func (n NotificationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotificationAttributes) InternalWithRef

func (NotificationAttributes) Operator

func (NotificationAttributes) Threshold

func (NotificationAttributes) ThresholdType

func (n NotificationAttributes) ThresholdType() terra.StringValue

type NotificationState

type NotificationState struct {
	ContactEmails []string `json:"contact_emails"`
	Enabled       bool     `json:"enabled"`
	Operator      string   `json:"operator"`
	Threshold     float64  `json:"threshold"`
	ThresholdType string   `json:"threshold_type"`
}

type TimePeriod

type TimePeriod struct {
	// EndDate: string, optional
	EndDate terra.StringValue `hcl:"end_date,attr"`
	// StartDate: string, required
	StartDate terra.StringValue `hcl:"start_date,attr" validate:"required"`
}

type TimePeriodAttributes

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

func (TimePeriodAttributes) EndDate

func (tp TimePeriodAttributes) EndDate() terra.StringValue

func (TimePeriodAttributes) InternalRef

func (tp TimePeriodAttributes) InternalRef() (terra.Reference, error)

func (TimePeriodAttributes) InternalTokens

func (tp TimePeriodAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimePeriodAttributes) InternalWithRef

func (tp TimePeriodAttributes) InternalWithRef(ref terra.Reference) TimePeriodAttributes

func (TimePeriodAttributes) StartDate

func (tp TimePeriodAttributes) StartDate() terra.StringValue

type TimePeriodState

type TimePeriodState struct {
	EndDate   string `json:"end_date"`
	StartDate string `json:"start_date"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,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) Read

func (TimeoutsAttributes) Update

type TimeoutsState

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

Jump to

Keyboard shortcuts

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