resource_business_metric

package
v0.1.46 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BusinessMetricResourceSchema

func BusinessMetricResourceSchema(ctx context.Context) schema.Schema

Types

type BusinessMetricModel

type BusinessMetricModel struct {
	CostReportTokensWithMetadata types.List   `tfsdk:"cost_report_tokens_with_metadata"`
	CreatedByToken               types.String `tfsdk:"created_by_token"`
	Title                        types.String `tfsdk:"title"`
	Token                        types.String `tfsdk:"token"`
	Values                       types.List   `tfsdk:"values"`
}

type CostReportTokensWithMetadataType

type CostReportTokensWithMetadataType struct {
	basetypes.ObjectType
}

func (CostReportTokensWithMetadataType) Equal

func (CostReportTokensWithMetadataType) String

func (CostReportTokensWithMetadataType) ValueFromObject

func (CostReportTokensWithMetadataType) ValueFromTerraform

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

func (CostReportTokensWithMetadataType) ValueType

type CostReportTokensWithMetadataValue

type CostReportTokensWithMetadataValue struct {
	CostReportToken basetypes.StringValue `tfsdk:"cost_report_token"`
	LabelFilter     basetypes.ListValue   `tfsdk:"label_filter"`
	UnitScale       basetypes.StringValue `tfsdk:"unit_scale"`
	// contains filtered or unexported fields
}

func NewCostReportTokensWithMetadataValue

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

func NewCostReportTokensWithMetadataValueMust

func NewCostReportTokensWithMetadataValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CostReportTokensWithMetadataValue

func NewCostReportTokensWithMetadataValueNull

func NewCostReportTokensWithMetadataValueNull() CostReportTokensWithMetadataValue

func NewCostReportTokensWithMetadataValueUnknown

func NewCostReportTokensWithMetadataValueUnknown() CostReportTokensWithMetadataValue

func (CostReportTokensWithMetadataValue) AttributeTypes

func (CostReportTokensWithMetadataValue) Equal

func (CostReportTokensWithMetadataValue) IsNull

func (CostReportTokensWithMetadataValue) IsUnknown

func (CostReportTokensWithMetadataValue) String

func (CostReportTokensWithMetadataValue) ToObjectValue

func (CostReportTokensWithMetadataValue) ToTerraformValue

func (CostReportTokensWithMetadataValue) Type

type ValuesType

type ValuesType struct {
	basetypes.ObjectType
}

func (ValuesType) Equal

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

func (ValuesType) String

func (t ValuesType) String() string

func (ValuesType) ValueFromObject

func (ValuesType) ValueFromTerraform

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

func (ValuesType) ValueType

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

type ValuesValue

type ValuesValue struct {
	Amount basetypes.Float64Value `tfsdk:"amount"`
	Date   basetypes.StringValue  `tfsdk:"date"`
	Label  basetypes.StringValue  `tfsdk:"label"`
	// contains filtered or unexported fields
}

func NewValuesValue

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

func NewValuesValueMust

func NewValuesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ValuesValue

func NewValuesValueNull

func NewValuesValueNull() ValuesValue

func NewValuesValueUnknown

func NewValuesValueUnknown() ValuesValue

func (ValuesValue) AttributeTypes

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

func (ValuesValue) Equal

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

func (ValuesValue) IsNull

func (v ValuesValue) IsNull() bool

func (ValuesValue) IsUnknown

func (v ValuesValue) IsUnknown() bool

func (ValuesValue) String

func (v ValuesValue) String() string

func (ValuesValue) ToObjectValue

func (ValuesValue) ToTerraformValue

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

func (ValuesValue) Type

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

Jump to

Keyboard shortcuts

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