resource_security_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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecurityProjectResourceSchema

func SecurityProjectResourceSchema(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 {
	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 ProductTypesType

type ProductTypesType struct {
	basetypes.ObjectType
}

func (ProductTypesType) Equal

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

func (ProductTypesType) String

func (t ProductTypesType) String() string

func (ProductTypesType) ValueFromObject

func (ProductTypesType) ValueFromTerraform

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

func (ProductTypesType) ValueType

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

type ProductTypesValue

type ProductTypesValue struct {
	ProductLine basetypes.StringValue `tfsdk:"product_line"`
	ProductTier basetypes.StringValue `tfsdk:"product_tier"`
	// contains filtered or unexported fields
}

func NewProductTypesValue

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

func NewProductTypesValueMust

func NewProductTypesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ProductTypesValue

func NewProductTypesValueNull

func NewProductTypesValueNull() ProductTypesValue

func NewProductTypesValueUnknown

func NewProductTypesValueUnknown() ProductTypesValue

func (ProductTypesValue) AttributeTypes

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

func (ProductTypesValue) Equal

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

func (ProductTypesValue) IsNull

func (v ProductTypesValue) IsNull() bool

func (ProductTypesValue) IsUnknown

func (v ProductTypesValue) IsUnknown() bool

func (ProductTypesValue) String

func (v ProductTypesValue) String() string

func (ProductTypesValue) ToObjectValue

func (ProductTypesValue) ToTerraformValue

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

func (ProductTypesValue) Type

type SecurityProjectModel

type SecurityProjectModel struct {
	AdminFeaturesPackage types.String     `tfsdk:"admin_features_package"`
	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"`
	ProductTypes         types.List       `tfsdk:"product_types"`
	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