google_sql_ca_certs

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"`
	// Instance: string, required
	Instance terra.StringValue `hcl:"instance,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
}

DataArgs contains the configurations for google_sql_ca_certs.

type DataCertsAttributes

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

func (DataCertsAttributes) Cert

func (DataCertsAttributes) CommonName

func (c DataCertsAttributes) CommonName() terra.StringValue

func (DataCertsAttributes) CreateTime

func (c DataCertsAttributes) CreateTime() terra.StringValue

func (DataCertsAttributes) ExpirationTime

func (c DataCertsAttributes) ExpirationTime() terra.StringValue

func (DataCertsAttributes) InternalRef

func (c DataCertsAttributes) InternalRef() (terra.Reference, error)

func (DataCertsAttributes) InternalTokens

func (c DataCertsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataCertsAttributes) InternalWithRef

func (c DataCertsAttributes) InternalWithRef(ref terra.Reference) DataCertsAttributes

func (DataCertsAttributes) Sha1Fingerprint

func (c DataCertsAttributes) Sha1Fingerprint() terra.StringValue

type DataCertsState

type DataCertsState struct {
	Cert            string `json:"cert"`
	CommonName      string `json:"common_name"`
	CreateTime      string `json:"create_time"`
	ExpirationTime  string `json:"expiration_time"`
	Sha1Fingerprint string `json:"sha1_fingerprint"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_sql_ca_certs.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gscc *DataSource) Attributes() dataGoogleSqlCaCertsAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gscc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gscc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

Jump to

Keyboard shortcuts

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