datasource_core_environment

package
v1.50.2-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoreEnvironmentDataSourceSchema

func CoreEnvironmentDataSourceSchema(ctx context.Context) schema.Schema

Types

type CoreEnvironmentModel

type CoreEnvironmentModel struct {
	CreatedAt types.String  `tfsdk:"created_at"`
	Features  FeaturesValue `tfsdk:"features"`
	Id        types.Int64   `tfsdk:"id"`
	Name      types.String  `tfsdk:"name"`
	Region    types.String  `tfsdk:"region"`
}

type FeaturesType

type FeaturesType struct {
	basetypes.ObjectType
}

func (FeaturesType) Equal

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

func (FeaturesType) String

func (t FeaturesType) String() string

func (FeaturesType) ValueFromObject

func (FeaturesType) ValueFromTerraform

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

func (FeaturesType) ValueType

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

type FeaturesValue

type FeaturesValue struct {
	GreenStatus      basetypes.StringValue `tfsdk:"green_status"`
	NetworkOptimised basetypes.BoolValue   `tfsdk:"network_optimised"`
	// contains filtered or unexported fields
}

func NewFeaturesValue

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

func NewFeaturesValueMust

func NewFeaturesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FeaturesValue

func NewFeaturesValueNull

func NewFeaturesValueNull() FeaturesValue

func NewFeaturesValueUnknown

func NewFeaturesValueUnknown() FeaturesValue

func (FeaturesValue) AttributeTypes

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

func (FeaturesValue) Equal

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

func (FeaturesValue) IsNull

func (v FeaturesValue) IsNull() bool

func (FeaturesValue) IsUnknown

func (v FeaturesValue) IsUnknown() bool

func (FeaturesValue) String

func (v FeaturesValue) String() string

func (FeaturesValue) ToObjectValue

func (FeaturesValue) ToTerraformValue

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

func (FeaturesValue) Type

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

Jump to

Keyboard shortcuts

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