resource_budget

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BudgetResourceSchema

func BudgetResourceSchema(ctx context.Context) schema.Schema

Types

type BudgetModel

type BudgetModel struct {
	BudgetAlertTokens types.List   `tfsdk:"budget_alert_tokens"`
	ChildBudgetTokens types.List   `tfsdk:"child_budget_tokens"`
	CostReportToken   types.String `tfsdk:"cost_report_token"`
	CreatedAt         types.String `tfsdk:"created_at"`
	CreatedByToken    types.String `tfsdk:"created_by_token"`
	Name              types.String `tfsdk:"name"`
	Performance       types.List   `tfsdk:"performance"`
	Periods           types.List   `tfsdk:"periods"`
	Token             types.String `tfsdk:"token"`
	UserToken         types.String `tfsdk:"user_token"`
	WorkspaceToken    types.String `tfsdk:"workspace_token"`
}

type PerformanceType

type PerformanceType struct {
	basetypes.ObjectType
}

func (PerformanceType) Equal

func (t PerformanceType) Equal(o attr.Type) bool

func (PerformanceType) String

func (t PerformanceType) String() string

func (PerformanceType) ValueFromObject

func (PerformanceType) ValueFromTerraform

func (t PerformanceType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PerformanceType) ValueType

func (t PerformanceType) ValueType(ctx context.Context) attr.Value

type PerformanceValue

type PerformanceValue struct {
	Actual basetypes.StringValue `tfsdk:"actual"`
	Amount basetypes.StringValue `tfsdk:"amount"`
	Date   basetypes.StringValue `tfsdk:"date"`
	// contains filtered or unexported fields
}

func NewPerformanceValue

func NewPerformanceValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PerformanceValue, diag.Diagnostics)

func NewPerformanceValueMust

func NewPerformanceValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PerformanceValue

func NewPerformanceValueNull

func NewPerformanceValueNull() PerformanceValue

func NewPerformanceValueUnknown

func NewPerformanceValueUnknown() PerformanceValue

func (PerformanceValue) AttributeTypes

func (v PerformanceValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PerformanceValue) Equal

func (v PerformanceValue) Equal(o attr.Value) bool

func (PerformanceValue) IsNull

func (v PerformanceValue) IsNull() bool

func (PerformanceValue) IsUnknown

func (v PerformanceValue) IsUnknown() bool

func (PerformanceValue) String

func (v PerformanceValue) String() string

func (PerformanceValue) ToObjectValue

func (PerformanceValue) ToTerraformValue

func (v PerformanceValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PerformanceValue) Type

type PeriodsType

type PeriodsType struct {
	basetypes.ObjectType
}

func (PeriodsType) Equal

func (t PeriodsType) Equal(o attr.Type) bool

func (PeriodsType) String

func (t PeriodsType) String() string

func (PeriodsType) ValueFromObject

func (PeriodsType) ValueFromTerraform

func (t PeriodsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PeriodsType) ValueType

func (t PeriodsType) ValueType(ctx context.Context) attr.Value

type PeriodsValue

type PeriodsValue struct {
	Amount  basetypes.Float64Value `tfsdk:"amount"`
	EndAt   basetypes.StringValue  `tfsdk:"end_at"`
	StartAt basetypes.StringValue  `tfsdk:"start_at"`
	// contains filtered or unexported fields
}

func NewPeriodsValue

func NewPeriodsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PeriodsValue, diag.Diagnostics)

func NewPeriodsValueMust

func NewPeriodsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PeriodsValue

func NewPeriodsValueNull

func NewPeriodsValueNull() PeriodsValue

func NewPeriodsValueUnknown

func NewPeriodsValueUnknown() PeriodsValue

func (PeriodsValue) AttributeTypes

func (v PeriodsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PeriodsValue) Equal

func (v PeriodsValue) Equal(o attr.Value) bool

func (PeriodsValue) IsNull

func (v PeriodsValue) IsNull() bool

func (PeriodsValue) IsUnknown

func (v PeriodsValue) IsUnknown() bool

func (PeriodsValue) String

func (v PeriodsValue) String() string

func (PeriodsValue) ToObjectValue

func (PeriodsValue) ToTerraformValue

func (v PeriodsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PeriodsValue) Type

func (v PeriodsValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

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