google_vmwareengine_cluster

package
v0.0.0-...-4deecce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
	// NodeTypeConfigs: min=0
	NodeTypeConfigs []NodeTypeConfigs `hcl:"node_type_configs,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_vmwareengine_cluster.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
}

DataArgs contains the configurations for google_vmwareengine_cluster.

type DataNodeTypeConfigsAttributes

type DataNodeTypeConfigsAttributes struct {
	// contains filtered or unexported fields
}

func (DataNodeTypeConfigsAttributes) CustomCoreCount

func (ntc DataNodeTypeConfigsAttributes) CustomCoreCount() terra.NumberValue

func (DataNodeTypeConfigsAttributes) InternalRef

func (ntc DataNodeTypeConfigsAttributes) InternalRef() (terra.Reference, error)

func (DataNodeTypeConfigsAttributes) InternalTokens

func (ntc DataNodeTypeConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNodeTypeConfigsAttributes) InternalWithRef

func (DataNodeTypeConfigsAttributes) NodeCount

func (DataNodeTypeConfigsAttributes) NodeTypeId

type DataNodeTypeConfigsState

type DataNodeTypeConfigsState struct {
	CustomCoreCount float64 `json:"custom_core_count"`
	NodeCount       float64 `json:"node_count"`
	NodeTypeId      string  `json:"node_type_id"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_vmwareengine_cluster.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gvc *DataSource) Attributes() dataGoogleVmwareengineClusterAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gvc *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gvc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gvc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type NodeTypeConfigs

type NodeTypeConfigs struct {
	// CustomCoreCount: number, optional
	CustomCoreCount terra.NumberValue `hcl:"custom_core_count,attr"`
	// NodeCount: number, required
	NodeCount terra.NumberValue `hcl:"node_count,attr" validate:"required"`
	// NodeTypeId: string, required
	NodeTypeId terra.StringValue `hcl:"node_type_id,attr" validate:"required"`
}

type NodeTypeConfigsAttributes

type NodeTypeConfigsAttributes struct {
	// contains filtered or unexported fields
}

func (NodeTypeConfigsAttributes) CustomCoreCount

func (ntc NodeTypeConfigsAttributes) CustomCoreCount() terra.NumberValue

func (NodeTypeConfigsAttributes) InternalRef

func (ntc NodeTypeConfigsAttributes) InternalRef() (terra.Reference, error)

func (NodeTypeConfigsAttributes) InternalTokens

func (ntc NodeTypeConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeTypeConfigsAttributes) InternalWithRef

func (NodeTypeConfigsAttributes) NodeCount

func (NodeTypeConfigsAttributes) NodeTypeId

func (ntc NodeTypeConfigsAttributes) NodeTypeId() terra.StringValue

type NodeTypeConfigsState

type NodeTypeConfigsState struct {
	CustomCoreCount float64 `json:"custom_core_count"`
	NodeCount       float64 `json:"node_count"`
	NodeTypeId      string  `json:"node_type_id"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_vmwareengine_cluster.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gvc *Resource) Attributes() googleVmwareengineClusterAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gvc *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gvc *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gvc *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gvc *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gvc *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gvc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gvc *Resource) State() (*googleVmwareengineClusterState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gvc *Resource) StateMust() *googleVmwareengineClusterState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gvc *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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