resource_observability_project

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObservabilityProjectResourceSchema

func ObservabilityProjectResourceSchema(ctx context.Context) schema.Schema

Types

type CredentialsType

type CredentialsType struct {
	basetypes.ObjectType
}

func (CredentialsType) Equal

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

func (CredentialsType) String

func (t CredentialsType) String() string

func (CredentialsType) ValueFromObject

func (CredentialsType) ValueFromTerraform

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

func (CredentialsType) ValueType

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

type CredentialsValue

type CredentialsValue struct {
	Password basetypes.StringValue `tfsdk:"password"`
	Username basetypes.StringValue `tfsdk:"username"`
	// contains filtered or unexported fields
}

func NewCredentialsValue

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

func NewCredentialsValueMust

func NewCredentialsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CredentialsValue

func NewCredentialsValueNull

func NewCredentialsValueNull() CredentialsValue

func NewCredentialsValueUnknown

func NewCredentialsValueUnknown() CredentialsValue

func (CredentialsValue) AttributeTypes

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

func (CredentialsValue) Equal

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

func (CredentialsValue) IsNull

func (v CredentialsValue) IsNull() bool

func (CredentialsValue) IsUnknown

func (v CredentialsValue) IsUnknown() bool

func (CredentialsValue) String

func (v CredentialsValue) String() string

func (CredentialsValue) ToObjectValue

func (CredentialsValue) ToTerraformValue

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

func (CredentialsValue) Type

type EndpointsType

type EndpointsType struct {
	basetypes.ObjectType
}

func (EndpointsType) Equal

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

func (EndpointsType) String

func (t EndpointsType) String() string

func (EndpointsType) ValueFromObject

func (EndpointsType) ValueFromTerraform

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

func (EndpointsType) ValueType

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

type EndpointsValue

type EndpointsValue struct {
	Apm           basetypes.StringValue `tfsdk:"apm"`
	Elasticsearch basetypes.StringValue `tfsdk:"elasticsearch"`
	Kibana        basetypes.StringValue `tfsdk:"kibana"`
	// contains filtered or unexported fields
}

func NewEndpointsValue

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

func NewEndpointsValueMust

func NewEndpointsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EndpointsValue

func NewEndpointsValueNull

func NewEndpointsValueNull() EndpointsValue

func NewEndpointsValueUnknown

func NewEndpointsValueUnknown() EndpointsValue

func (EndpointsValue) AttributeTypes

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

func (EndpointsValue) Equal

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

func (EndpointsValue) IsNull

func (v EndpointsValue) IsNull() bool

func (EndpointsValue) IsUnknown

func (v EndpointsValue) IsUnknown() bool

func (EndpointsValue) String

func (v EndpointsValue) String() string

func (EndpointsValue) ToObjectValue

func (EndpointsValue) ToTerraformValue

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

func (EndpointsValue) Type

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

type MetadataType

type MetadataType struct {
	basetypes.ObjectType
}

func (MetadataType) Equal

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

func (MetadataType) String

func (t MetadataType) String() string

func (MetadataType) ValueFromObject

func (MetadataType) ValueFromTerraform

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

func (MetadataType) ValueType

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

type MetadataValue

type MetadataValue struct {
	CreatedAt       basetypes.StringValue `tfsdk:"created_at"`
	CreatedBy       basetypes.StringValue `tfsdk:"created_by"`
	OrganizationId  basetypes.StringValue `tfsdk:"organization_id"`
	SuspendedAt     basetypes.StringValue `tfsdk:"suspended_at"`
	SuspendedReason basetypes.StringValue `tfsdk:"suspended_reason"`
	// contains filtered or unexported fields
}

func NewMetadataValue

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

func NewMetadataValueMust

func NewMetadataValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MetadataValue

func NewMetadataValueNull

func NewMetadataValueNull() MetadataValue

func NewMetadataValueUnknown

func NewMetadataValueUnknown() MetadataValue

func (MetadataValue) AttributeTypes

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

func (MetadataValue) Equal

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

func (MetadataValue) IsNull

func (v MetadataValue) IsNull() bool

func (MetadataValue) IsUnknown

func (v MetadataValue) IsUnknown() bool

func (MetadataValue) String

func (v MetadataValue) String() string

func (MetadataValue) ToObjectValue

func (MetadataValue) ToTerraformValue

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

func (MetadataValue) Type

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

type ObservabilityProjectModel

type ObservabilityProjectModel struct {
	Alias       types.String     `tfsdk:"alias"`
	CloudId     types.String     `tfsdk:"cloud_id"`
	Credentials CredentialsValue `tfsdk:"credentials"`
	Endpoints   EndpointsValue   `tfsdk:"endpoints"`
	Id          types.String     `tfsdk:"id"`
	Metadata    MetadataValue    `tfsdk:"metadata"`
	Name        types.String     `tfsdk:"name"`
	RegionId    types.String     `tfsdk:"region_id"`
	Type        types.String     `tfsdk:"type"`
}

Jump to

Keyboard shortcuts

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