budgetsbudget

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 AutoAdjustData

type AutoAdjustData struct {
	// AutoAdjustType: string, required
	AutoAdjustType terra.StringValue `hcl:"auto_adjust_type,attr" validate:"required"`
	// HistoricalOptions: optional
	HistoricalOptions *HistoricalOptions `hcl:"historical_options,block"`
}

type AutoAdjustDataAttributes

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

func (AutoAdjustDataAttributes) AutoAdjustType

func (aad AutoAdjustDataAttributes) AutoAdjustType() terra.StringValue

func (AutoAdjustDataAttributes) HistoricalOptions

func (AutoAdjustDataAttributes) InternalRef

func (aad AutoAdjustDataAttributes) InternalRef() (terra.Reference, error)

func (AutoAdjustDataAttributes) InternalTokens

func (aad AutoAdjustDataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoAdjustDataAttributes) InternalWithRef

func (AutoAdjustDataAttributes) LastAutoAdjustTime

func (aad AutoAdjustDataAttributes) LastAutoAdjustTime() terra.StringValue

type AutoAdjustDataState

type AutoAdjustDataState struct {
	AutoAdjustType     string                   `json:"auto_adjust_type"`
	LastAutoAdjustTime string                   `json:"last_auto_adjust_time"`
	HistoricalOptions  []HistoricalOptionsState `json:"historical_options"`
}

type CostFilter

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

type CostFilterAttributes

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

func (CostFilterAttributes) InternalRef

func (cf CostFilterAttributes) InternalRef() (terra.Reference, error)

func (CostFilterAttributes) InternalTokens

func (cf CostFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CostFilterAttributes) InternalWithRef

func (cf CostFilterAttributes) InternalWithRef(ref terra.Reference) CostFilterAttributes

func (CostFilterAttributes) Name

func (CostFilterAttributes) Values

type CostFilterState

type CostFilterState struct {
	Name   string   `json:"name"`
	Values []string `json:"values"`
}

type CostTypes

type CostTypes struct {
	// IncludeCredit: bool, optional
	IncludeCredit terra.BoolValue `hcl:"include_credit,attr"`
	// IncludeDiscount: bool, optional
	IncludeDiscount terra.BoolValue `hcl:"include_discount,attr"`
	// IncludeOtherSubscription: bool, optional
	IncludeOtherSubscription terra.BoolValue `hcl:"include_other_subscription,attr"`
	// IncludeRecurring: bool, optional
	IncludeRecurring terra.BoolValue `hcl:"include_recurring,attr"`
	// IncludeRefund: bool, optional
	IncludeRefund terra.BoolValue `hcl:"include_refund,attr"`
	// IncludeSubscription: bool, optional
	IncludeSubscription terra.BoolValue `hcl:"include_subscription,attr"`
	// IncludeSupport: bool, optional
	IncludeSupport terra.BoolValue `hcl:"include_support,attr"`
	// IncludeTax: bool, optional
	IncludeTax terra.BoolValue `hcl:"include_tax,attr"`
	// IncludeUpfront: bool, optional
	IncludeUpfront terra.BoolValue `hcl:"include_upfront,attr"`
	// UseAmortized: bool, optional
	UseAmortized terra.BoolValue `hcl:"use_amortized,attr"`
	// UseBlended: bool, optional
	UseBlended terra.BoolValue `hcl:"use_blended,attr"`
}

type CostTypesAttributes

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

func (CostTypesAttributes) IncludeCredit

func (ct CostTypesAttributes) IncludeCredit() terra.BoolValue

func (CostTypesAttributes) IncludeDiscount

func (ct CostTypesAttributes) IncludeDiscount() terra.BoolValue

func (CostTypesAttributes) IncludeOtherSubscription

func (ct CostTypesAttributes) IncludeOtherSubscription() terra.BoolValue

func (CostTypesAttributes) IncludeRecurring

func (ct CostTypesAttributes) IncludeRecurring() terra.BoolValue

func (CostTypesAttributes) IncludeRefund

func (ct CostTypesAttributes) IncludeRefund() terra.BoolValue

func (CostTypesAttributes) IncludeSubscription

func (ct CostTypesAttributes) IncludeSubscription() terra.BoolValue

func (CostTypesAttributes) IncludeSupport

func (ct CostTypesAttributes) IncludeSupport() terra.BoolValue

func (CostTypesAttributes) IncludeTax

func (ct CostTypesAttributes) IncludeTax() terra.BoolValue

func (CostTypesAttributes) IncludeUpfront

func (ct CostTypesAttributes) IncludeUpfront() terra.BoolValue

func (CostTypesAttributes) InternalRef

func (ct CostTypesAttributes) InternalRef() (terra.Reference, error)

func (CostTypesAttributes) InternalTokens

func (ct CostTypesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CostTypesAttributes) InternalWithRef

func (ct CostTypesAttributes) InternalWithRef(ref terra.Reference) CostTypesAttributes

func (CostTypesAttributes) UseAmortized

func (ct CostTypesAttributes) UseAmortized() terra.BoolValue

func (CostTypesAttributes) UseBlended

func (ct CostTypesAttributes) UseBlended() terra.BoolValue

type CostTypesState

type CostTypesState struct {
	IncludeCredit            bool `json:"include_credit"`
	IncludeDiscount          bool `json:"include_discount"`
	IncludeOtherSubscription bool `json:"include_other_subscription"`
	IncludeRecurring         bool `json:"include_recurring"`
	IncludeRefund            bool `json:"include_refund"`
	IncludeSubscription      bool `json:"include_subscription"`
	IncludeSupport           bool `json:"include_support"`
	IncludeTax               bool `json:"include_tax"`
	IncludeUpfront           bool `json:"include_upfront"`
	UseAmortized             bool `json:"use_amortized"`
	UseBlended               bool `json:"use_blended"`
}

type HistoricalOptions

type HistoricalOptions struct {
	// BudgetAdjustmentPeriod: number, required
	BudgetAdjustmentPeriod terra.NumberValue `hcl:"budget_adjustment_period,attr" validate:"required"`
}

type HistoricalOptionsAttributes

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

func (HistoricalOptionsAttributes) BudgetAdjustmentPeriod

func (ho HistoricalOptionsAttributes) BudgetAdjustmentPeriod() terra.NumberValue

func (HistoricalOptionsAttributes) InternalRef

func (ho HistoricalOptionsAttributes) InternalRef() (terra.Reference, error)

func (HistoricalOptionsAttributes) InternalTokens

func (ho HistoricalOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HistoricalOptionsAttributes) InternalWithRef

func (HistoricalOptionsAttributes) LookbackAvailablePeriods

func (ho HistoricalOptionsAttributes) LookbackAvailablePeriods() terra.NumberValue

type HistoricalOptionsState

type HistoricalOptionsState struct {
	BudgetAdjustmentPeriod   float64 `json:"budget_adjustment_period"`
	LookbackAvailablePeriods float64 `json:"lookback_available_periods"`
}

type Notification

type Notification struct {
	// ComparisonOperator: string, required
	ComparisonOperator terra.StringValue `hcl:"comparison_operator,attr" validate:"required"`
	// NotificationType: string, required
	NotificationType terra.StringValue `hcl:"notification_type,attr" validate:"required"`
	// SubscriberEmailAddresses: set of string, optional
	SubscriberEmailAddresses terra.SetValue[terra.StringValue] `hcl:"subscriber_email_addresses,attr"`
	// SubscriberSnsTopicArns: set of string, optional
	SubscriberSnsTopicArns terra.SetValue[terra.StringValue] `hcl:"subscriber_sns_topic_arns,attr"`
	// Threshold: number, required
	Threshold terra.NumberValue `hcl:"threshold,attr" validate:"required"`
	// ThresholdType: string, required
	ThresholdType terra.StringValue `hcl:"threshold_type,attr" validate:"required"`
}

type NotificationAttributes

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

func (NotificationAttributes) ComparisonOperator

func (n NotificationAttributes) ComparisonOperator() terra.StringValue

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

func (n NotificationAttributes) NotificationType() terra.StringValue

func (NotificationAttributes) SubscriberEmailAddresses

func (n NotificationAttributes) SubscriberEmailAddresses() terra.SetValue[terra.StringValue]

func (NotificationAttributes) SubscriberSnsTopicArns

func (n NotificationAttributes) SubscriberSnsTopicArns() terra.SetValue[terra.StringValue]

func (NotificationAttributes) Threshold

func (NotificationAttributes) ThresholdType

func (n NotificationAttributes) ThresholdType() terra.StringValue

type NotificationState

type NotificationState struct {
	ComparisonOperator       string   `json:"comparison_operator"`
	NotificationType         string   `json:"notification_type"`
	SubscriberEmailAddresses []string `json:"subscriber_email_addresses"`
	SubscriberSnsTopicArns   []string `json:"subscriber_sns_topic_arns"`
	Threshold                float64  `json:"threshold"`
	ThresholdType            string   `json:"threshold_type"`
}

type PlannedLimit

type PlannedLimit struct {
	// Amount: string, required
	Amount terra.StringValue `hcl:"amount,attr" validate:"required"`
	// StartTime: string, required
	StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"`
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
}

type PlannedLimitAttributes

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

func (PlannedLimitAttributes) Amount

func (PlannedLimitAttributes) InternalRef

func (pl PlannedLimitAttributes) InternalRef() (terra.Reference, error)

func (PlannedLimitAttributes) InternalTokens

func (pl PlannedLimitAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlannedLimitAttributes) InternalWithRef

func (PlannedLimitAttributes) StartTime

func (pl PlannedLimitAttributes) StartTime() terra.StringValue

func (PlannedLimitAttributes) Unit

type PlannedLimitState

type PlannedLimitState struct {
	Amount    string `json:"amount"`
	StartTime string `json:"start_time"`
	Unit      string `json:"unit"`
}

Jump to

Keyboard shortcuts

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