resource_plans

package
v0.0.0-...-480cd9b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlansResourceSchema

func PlansResourceSchema(ctx context.Context) schema.Schema

Types

type ChargesType

type ChargesType struct {
	basetypes.ObjectType
}

func (ChargesType) Equal

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

func (ChargesType) String

func (t ChargesType) String() string

func (ChargesType) ValueFromObject

func (ChargesType) ValueFromTerraform

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

func (ChargesType) ValueType

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

type ChargesValue

type ChargesValue struct {
	BillableMetricCode   basetypes.StringValue `tfsdk:"billable_metric_code"`
	BillableMetricId     basetypes.StringValue `tfsdk:"billable_metric_id"`
	ChargeModel          basetypes.StringValue `tfsdk:"charge_model"`
	CreatedAt            basetypes.StringValue `tfsdk:"created_at"`
	Filters              basetypes.ListValue   `tfsdk:"filters"`
	InvoiceDisplayName   basetypes.StringValue `tfsdk:"invoice_display_name"`
	Invoiceable          basetypes.BoolValue   `tfsdk:"invoiceable"`
	LagoBillableMetricId basetypes.StringValue `tfsdk:"lago_billable_metric_id"`
	LagoId               basetypes.StringValue `tfsdk:"lago_id"`
	MinAmountCents       basetypes.Int64Value  `tfsdk:"min_amount_cents"`
	PayInAdvance         basetypes.BoolValue   `tfsdk:"pay_in_advance"`
	Properties           basetypes.ObjectValue `tfsdk:"properties"`
	Prorated             basetypes.BoolValue   `tfsdk:"prorated"`
	RegroupPaidFees      basetypes.StringValue `tfsdk:"regroup_paid_fees"`
	TaxCodes             basetypes.ListValue   `tfsdk:"tax_codes"`
	Taxes                basetypes.ListValue   `tfsdk:"taxes"`
	// contains filtered or unexported fields
}

func NewChargesValue

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

func NewChargesValueMust

func NewChargesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ChargesValue

func NewChargesValueNull

func NewChargesValueNull() ChargesValue

func NewChargesValueUnknown

func NewChargesValueUnknown() ChargesValue

func (ChargesValue) AttributeTypes

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

func (ChargesValue) Equal

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

func (ChargesValue) IsNull

func (v ChargesValue) IsNull() bool

func (ChargesValue) IsUnknown

func (v ChargesValue) IsUnknown() bool

func (ChargesValue) String

func (v ChargesValue) String() string

func (ChargesValue) ToObjectValue

func (ChargesValue) ToTerraformValue

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

func (ChargesValue) Type

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

type FiltersType

type FiltersType struct {
	basetypes.ObjectType
}

func (FiltersType) Equal

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

func (FiltersType) String

func (t FiltersType) String() string

func (FiltersType) ValueFromObject

func (FiltersType) ValueFromTerraform

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

func (FiltersType) ValueType

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

type FiltersValue

type FiltersValue struct {
	InvoiceDisplayName basetypes.StringValue `tfsdk:"invoice_display_name"`
	Properties         basetypes.ObjectValue `tfsdk:"properties"`
	Values             basetypes.MapValue    `tfsdk:"values"`
	// contains filtered or unexported fields
}

func NewFiltersValue

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

func NewFiltersValueMust

func NewFiltersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FiltersValue

func NewFiltersValueNull

func NewFiltersValueNull() FiltersValue

func NewFiltersValueUnknown

func NewFiltersValueUnknown() FiltersValue

func (FiltersValue) AttributeTypes

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

func (FiltersValue) Equal

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

func (FiltersValue) IsNull

func (v FiltersValue) IsNull() bool

func (FiltersValue) IsUnknown

func (v FiltersValue) IsUnknown() bool

func (FiltersValue) String

func (v FiltersValue) String() string

func (FiltersValue) ToObjectValue

func (FiltersValue) ToTerraformValue

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

func (FiltersValue) Type

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

type GraduatedPercentageRangesType

type GraduatedPercentageRangesType struct {
	basetypes.ObjectType
}

func (GraduatedPercentageRangesType) Equal

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

func (GraduatedPercentageRangesType) String

func (t GraduatedPercentageRangesType) String() string

func (GraduatedPercentageRangesType) ValueFromObject

func (t GraduatedPercentageRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)

func (GraduatedPercentageRangesType) ValueFromTerraform

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

func (GraduatedPercentageRangesType) ValueType

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

type GraduatedPercentageRangesValue

type GraduatedPercentageRangesValue struct {
	FlatAmount basetypes.StringValue `tfsdk:"flat_amount"`
	FromValue  basetypes.Int64Value  `tfsdk:"from_value"`
	Rate       basetypes.StringValue `tfsdk:"rate"`
	ToValue    basetypes.Int64Value  `tfsdk:"to_value"`
	// contains filtered or unexported fields
}

func NewGraduatedPercentageRangesValue

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

func NewGraduatedPercentageRangesValueMust

func NewGraduatedPercentageRangesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) GraduatedPercentageRangesValue

func NewGraduatedPercentageRangesValueNull

func NewGraduatedPercentageRangesValueNull() GraduatedPercentageRangesValue

func NewGraduatedPercentageRangesValueUnknown

func NewGraduatedPercentageRangesValueUnknown() GraduatedPercentageRangesValue

func (GraduatedPercentageRangesValue) AttributeTypes

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

func (GraduatedPercentageRangesValue) Equal

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

func (GraduatedPercentageRangesValue) IsNull

func (v GraduatedPercentageRangesValue) IsNull() bool

func (GraduatedPercentageRangesValue) IsUnknown

func (v GraduatedPercentageRangesValue) IsUnknown() bool

func (GraduatedPercentageRangesValue) String

func (v GraduatedPercentageRangesValue) String() string

func (GraduatedPercentageRangesValue) ToObjectValue

func (v GraduatedPercentageRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (GraduatedPercentageRangesValue) ToTerraformValue

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

func (GraduatedPercentageRangesValue) Type

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

type GraduatedRangesType

type GraduatedRangesType struct {
	basetypes.ObjectType
}

func (GraduatedRangesType) Equal

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

func (GraduatedRangesType) String

func (t GraduatedRangesType) String() string

func (GraduatedRangesType) ValueFromObject

func (t GraduatedRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)

func (GraduatedRangesType) ValueFromTerraform

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

func (GraduatedRangesType) ValueType

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

type GraduatedRangesValue

type GraduatedRangesValue struct {
	FlatAmount    basetypes.StringValue `tfsdk:"flat_amount"`
	FromValue     basetypes.Int64Value  `tfsdk:"from_value"`
	PerUnitAmount basetypes.StringValue `tfsdk:"per_unit_amount"`
	ToValue       basetypes.Int64Value  `tfsdk:"to_value"`
	// contains filtered or unexported fields
}

func NewGraduatedRangesValue

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

func NewGraduatedRangesValueMust

func NewGraduatedRangesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) GraduatedRangesValue

func NewGraduatedRangesValueNull

func NewGraduatedRangesValueNull() GraduatedRangesValue

func NewGraduatedRangesValueUnknown

func NewGraduatedRangesValueUnknown() GraduatedRangesValue

func (GraduatedRangesValue) AttributeTypes

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

func (GraduatedRangesValue) Equal

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

func (GraduatedRangesValue) IsNull

func (v GraduatedRangesValue) IsNull() bool

func (GraduatedRangesValue) IsUnknown

func (v GraduatedRangesValue) IsUnknown() bool

func (GraduatedRangesValue) String

func (v GraduatedRangesValue) String() string

func (GraduatedRangesValue) ToObjectValue

func (v GraduatedRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (GraduatedRangesValue) ToTerraformValue

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

func (GraduatedRangesValue) Type

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

type MinimumCommitmentType

type MinimumCommitmentType struct {
	basetypes.ObjectType
}

func (MinimumCommitmentType) Equal

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

func (MinimumCommitmentType) String

func (t MinimumCommitmentType) String() string

func (MinimumCommitmentType) ValueFromObject

func (MinimumCommitmentType) ValueFromTerraform

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

func (MinimumCommitmentType) ValueType

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

type MinimumCommitmentValue

type MinimumCommitmentValue struct {
	AmountCents        basetypes.Int64Value  `tfsdk:"amount_cents"`
	CreatedAt          basetypes.StringValue `tfsdk:"created_at"`
	Interval           basetypes.StringValue `tfsdk:"interval"`
	InvoiceDisplayName basetypes.StringValue `tfsdk:"invoice_display_name"`
	LagoId             basetypes.StringValue `tfsdk:"lago_id"`
	PlanCode           basetypes.StringValue `tfsdk:"plan_code"`
	TaxCodes           basetypes.ListValue   `tfsdk:"tax_codes"`
	Taxes              basetypes.ListValue   `tfsdk:"taxes"`
	UpdatedAt          basetypes.StringValue `tfsdk:"updated_at"`
	// contains filtered or unexported fields
}

func NewMinimumCommitmentValue

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

func NewMinimumCommitmentValueMust

func NewMinimumCommitmentValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MinimumCommitmentValue

func NewMinimumCommitmentValueNull

func NewMinimumCommitmentValueNull() MinimumCommitmentValue

func NewMinimumCommitmentValueUnknown

func NewMinimumCommitmentValueUnknown() MinimumCommitmentValue

func (MinimumCommitmentValue) AttributeTypes

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

func (MinimumCommitmentValue) Equal

func (MinimumCommitmentValue) IsNull

func (v MinimumCommitmentValue) IsNull() bool

func (MinimumCommitmentValue) IsUnknown

func (v MinimumCommitmentValue) IsUnknown() bool

func (MinimumCommitmentValue) String

func (v MinimumCommitmentValue) String() string

func (MinimumCommitmentValue) ToObjectValue

func (MinimumCommitmentValue) ToTerraformValue

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

func (MinimumCommitmentValue) Type

type PlanType

type PlanType struct {
	basetypes.ObjectType
}

func (PlanType) Equal

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

func (PlanType) String

func (t PlanType) String() string

func (PlanType) ValueFromObject

func (PlanType) ValueFromTerraform

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

func (PlanType) ValueType

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

type PlanValue

type PlanValue struct {
	AmountCents        basetypes.Int64Value  `tfsdk:"amount_cents"`
	AmountCurrency     basetypes.StringValue `tfsdk:"amount_currency"`
	BillChargesMonthly basetypes.BoolValue   `tfsdk:"bill_charges_monthly"`
	Charges            basetypes.ListValue   `tfsdk:"charges"`
	Code               basetypes.StringValue `tfsdk:"code"`
	CreatedAt          basetypes.StringValue `tfsdk:"created_at"`
	Description        basetypes.StringValue `tfsdk:"description"`
	Interval           basetypes.StringValue `tfsdk:"interval"`
	InvoiceDisplayName basetypes.StringValue `tfsdk:"invoice_display_name"`
	LagoId             basetypes.StringValue `tfsdk:"lago_id"`
	MinimumCommitment  basetypes.ObjectValue `tfsdk:"minimum_commitment"`
	Name               basetypes.StringValue `tfsdk:"name"`
	PayInAdvance       basetypes.BoolValue   `tfsdk:"pay_in_advance"`
	TaxCodes           basetypes.ListValue   `tfsdk:"tax_codes"`
	Taxes              basetypes.ListValue   `tfsdk:"taxes"`
	TrialPeriod        basetypes.NumberValue `tfsdk:"trial_period"`
	UsageThresholds    basetypes.ListValue   `tfsdk:"usage_thresholds"`
	// contains filtered or unexported fields
}

func NewPlanValue

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

func NewPlanValueMust

func NewPlanValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PlanValue

func NewPlanValueNull

func NewPlanValueNull() PlanValue

func NewPlanValueUnknown

func NewPlanValueUnknown() PlanValue

func (PlanValue) AttributeTypes

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

func (PlanValue) Equal

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

func (PlanValue) IsNull

func (v PlanValue) IsNull() bool

func (PlanValue) IsUnknown

func (v PlanValue) IsUnknown() bool

func (PlanValue) String

func (v PlanValue) String() string

func (PlanValue) ToObjectValue

func (v PlanValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (PlanValue) ToTerraformValue

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

func (PlanValue) Type

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

type PlansModel

type PlansModel struct {
	Code types.String `tfsdk:"code"`
	Plan PlanValue    `tfsdk:"plan"`
}

type PropertiesType

type PropertiesType struct {
	basetypes.ObjectType
}

func (PropertiesType) Equal

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

func (PropertiesType) String

func (t PropertiesType) String() string

func (PropertiesType) ValueFromObject

func (t PropertiesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)

func (PropertiesType) ValueFromTerraform

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

func (PropertiesType) ValueType

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

type PropertiesValue

type PropertiesValue struct {
	Amount                       basetypes.StringValue `tfsdk:"amount"`
	FixedAmount                  basetypes.StringValue `tfsdk:"fixed_amount"`
	FreeUnits                    basetypes.Int64Value  `tfsdk:"free_units"`
	FreeUnitsPerEvents           basetypes.Int64Value  `tfsdk:"free_units_per_events"`
	FreeUnitsPerTotalAggregation basetypes.StringValue `tfsdk:"free_units_per_total_aggregation"`
	GraduatedPercentageRanges    basetypes.ListValue   `tfsdk:"graduated_percentage_ranges"`
	GraduatedRanges              basetypes.ListValue   `tfsdk:"graduated_ranges"`
	GroupedBy                    basetypes.ListValue   `tfsdk:"grouped_by"`
	PackageSize                  basetypes.Int64Value  `tfsdk:"package_size"`
	PerTransactionMaxAmount      basetypes.StringValue `tfsdk:"per_transaction_max_amount"`
	PerTransactionMinAmount      basetypes.StringValue `tfsdk:"per_transaction_min_amount"`
	Rate                         basetypes.StringValue `tfsdk:"rate"`
	VolumeRanges                 basetypes.ListValue   `tfsdk:"volume_ranges"`
	// contains filtered or unexported fields
}

func NewPropertiesValue

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

func NewPropertiesValueMust

func NewPropertiesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PropertiesValue

func NewPropertiesValueNull

func NewPropertiesValueNull() PropertiesValue

func NewPropertiesValueUnknown

func NewPropertiesValueUnknown() PropertiesValue

func (PropertiesValue) AttributeTypes

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

func (PropertiesValue) Equal

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

func (PropertiesValue) IsNull

func (v PropertiesValue) IsNull() bool

func (PropertiesValue) IsUnknown

func (v PropertiesValue) IsUnknown() bool

func (PropertiesValue) String

func (v PropertiesValue) String() string

func (PropertiesValue) ToObjectValue

func (v PropertiesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (PropertiesValue) ToTerraformValue

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

func (PropertiesValue) Type

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

type TaxesType

type TaxesType struct {
	basetypes.ObjectType
}

func (TaxesType) Equal

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

func (TaxesType) String

func (t TaxesType) String() string

func (TaxesType) ValueFromObject

func (t TaxesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)

func (TaxesType) ValueFromTerraform

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

func (TaxesType) ValueType

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

type TaxesValue

type TaxesValue struct {
	AppliedToOrganization basetypes.BoolValue   `tfsdk:"applied_to_organization"`
	Code                  basetypes.StringValue `tfsdk:"code"`
	CreatedAt             basetypes.StringValue `tfsdk:"created_at"`
	Description           basetypes.StringValue `tfsdk:"description"`
	LagoId                basetypes.StringValue `tfsdk:"lago_id"`
	Name                  basetypes.StringValue `tfsdk:"name"`
	Rate                  basetypes.NumberValue `tfsdk:"rate"`
	// contains filtered or unexported fields
}

func NewTaxesValue

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

func NewTaxesValueMust

func NewTaxesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TaxesValue

func NewTaxesValueNull

func NewTaxesValueNull() TaxesValue

func NewTaxesValueUnknown

func NewTaxesValueUnknown() TaxesValue

func (TaxesValue) AttributeTypes

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

func (TaxesValue) Equal

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

func (TaxesValue) IsNull

func (v TaxesValue) IsNull() bool

func (TaxesValue) IsUnknown

func (v TaxesValue) IsUnknown() bool

func (TaxesValue) String

func (v TaxesValue) String() string

func (TaxesValue) ToObjectValue

func (v TaxesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (TaxesValue) ToTerraformValue

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

func (TaxesValue) Type

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

type UsageThresholdsType

type UsageThresholdsType struct {
	basetypes.ObjectType
}

func (UsageThresholdsType) Equal

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

func (UsageThresholdsType) String

func (t UsageThresholdsType) String() string

func (UsageThresholdsType) ValueFromObject

func (UsageThresholdsType) ValueFromTerraform

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

func (UsageThresholdsType) ValueType

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

type UsageThresholdsValue

type UsageThresholdsValue struct {
	AmountCents          basetypes.Int64Value  `tfsdk:"amount_cents"`
	CreatedAt            basetypes.StringValue `tfsdk:"created_at"`
	Id                   basetypes.StringValue `tfsdk:"id"`
	LagoId               basetypes.StringValue `tfsdk:"lago_id"`
	Recurring            basetypes.BoolValue   `tfsdk:"recurring"`
	ThresholdDisplayName basetypes.StringValue `tfsdk:"threshold_display_name"`
	UpdatedAt            basetypes.StringValue `tfsdk:"updated_at"`
	// contains filtered or unexported fields
}

func NewUsageThresholdsValue

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

func NewUsageThresholdsValueMust

func NewUsageThresholdsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UsageThresholdsValue

func NewUsageThresholdsValueNull

func NewUsageThresholdsValueNull() UsageThresholdsValue

func NewUsageThresholdsValueUnknown

func NewUsageThresholdsValueUnknown() UsageThresholdsValue

func (UsageThresholdsValue) AttributeTypes

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

func (UsageThresholdsValue) Equal

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

func (UsageThresholdsValue) IsNull

func (v UsageThresholdsValue) IsNull() bool

func (UsageThresholdsValue) IsUnknown

func (v UsageThresholdsValue) IsUnknown() bool

func (UsageThresholdsValue) String

func (v UsageThresholdsValue) String() string

func (UsageThresholdsValue) ToObjectValue

func (UsageThresholdsValue) ToTerraformValue

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

func (UsageThresholdsValue) Type

type VolumeRangesType

type VolumeRangesType struct {
	basetypes.ObjectType
}

func (VolumeRangesType) Equal

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

func (VolumeRangesType) String

func (t VolumeRangesType) String() string

func (VolumeRangesType) ValueFromObject

func (t VolumeRangesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)

func (VolumeRangesType) ValueFromTerraform

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

func (VolumeRangesType) ValueType

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

type VolumeRangesValue

type VolumeRangesValue struct {
	FlatAmount    basetypes.StringValue `tfsdk:"flat_amount"`
	FromValue     basetypes.Int64Value  `tfsdk:"from_value"`
	PerUnitAmount basetypes.StringValue `tfsdk:"per_unit_amount"`
	ToValue       basetypes.Int64Value  `tfsdk:"to_value"`
	// contains filtered or unexported fields
}

func NewVolumeRangesValue

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

func NewVolumeRangesValueMust

func NewVolumeRangesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) VolumeRangesValue

func NewVolumeRangesValueNull

func NewVolumeRangesValueNull() VolumeRangesValue

func NewVolumeRangesValueUnknown

func NewVolumeRangesValueUnknown() VolumeRangesValue

func (VolumeRangesValue) AttributeTypes

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

func (VolumeRangesValue) Equal

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

func (VolumeRangesValue) IsNull

func (v VolumeRangesValue) IsNull() bool

func (VolumeRangesValue) IsUnknown

func (v VolumeRangesValue) IsUnknown() bool

func (VolumeRangesValue) String

func (v VolumeRangesValue) String() string

func (VolumeRangesValue) ToObjectValue

func (v VolumeRangesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (VolumeRangesValue) ToTerraformValue

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

func (VolumeRangesValue) Type

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

Jump to

Keyboard shortcuts

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