google_sql_tiers

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
}

DataArgs contains the configurations for google_sql_tiers.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_sql_tiers.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gst *DataSource) Attributes() dataGoogleSqlTiersAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gst *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gst *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTiersAttributes

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

func (DataTiersAttributes) DiskQuota

func (t DataTiersAttributes) DiskQuota() terra.NumberValue

func (DataTiersAttributes) InternalRef

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

func (DataTiersAttributes) InternalTokens

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

func (DataTiersAttributes) InternalWithRef

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

func (DataTiersAttributes) Ram

func (DataTiersAttributes) Region

func (DataTiersAttributes) Tier

type DataTiersState

type DataTiersState struct {
	DiskQuota float64  `json:"disk_quota"`
	Ram       float64  `json:"ram"`
	Region    []string `json:"region"`
	Tier      string   `json:"tier"`
}

Jump to

Keyboard shortcuts

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