google_datastream_connection_profile

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 {
	// ConnectionProfileId: string, required
	ConnectionProfileId terra.StringValue `hcl:"connection_profile_id,attr" validate:"required"`
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// BigqueryProfile: optional
	BigqueryProfile *BigqueryProfile `hcl:"bigquery_profile,block"`
	// ForwardSshConnectivity: optional
	ForwardSshConnectivity *ForwardSshConnectivity `hcl:"forward_ssh_connectivity,block"`
	// GcsProfile: optional
	GcsProfile *GcsProfile `hcl:"gcs_profile,block"`
	// MysqlProfile: optional
	MysqlProfile *MysqlProfile `hcl:"mysql_profile,block"`
	// OracleProfile: optional
	OracleProfile *OracleProfile `hcl:"oracle_profile,block"`
	// PostgresqlProfile: optional
	PostgresqlProfile *PostgresqlProfile `hcl:"postgresql_profile,block"`
	// PrivateConnectivity: optional
	PrivateConnectivity *PrivateConnectivity `hcl:"private_connectivity,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_datastream_connection_profile.

type BigqueryProfile

type BigqueryProfile struct{}

type BigqueryProfileAttributes

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

func (BigqueryProfileAttributes) InternalRef

func (bp BigqueryProfileAttributes) InternalRef() (terra.Reference, error)

func (BigqueryProfileAttributes) InternalTokens

func (bp BigqueryProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BigqueryProfileAttributes) InternalWithRef

type BigqueryProfileState

type BigqueryProfileState struct{}

type ForwardSshConnectivity

type ForwardSshConnectivity struct {
	// Hostname: string, required
	Hostname terra.StringValue `hcl:"hostname,attr" validate:"required"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PrivateKey: string, optional
	PrivateKey terra.StringValue `hcl:"private_key,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type ForwardSshConnectivityAttributes

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

func (ForwardSshConnectivityAttributes) Hostname

func (ForwardSshConnectivityAttributes) InternalRef

func (ForwardSshConnectivityAttributes) InternalTokens

func (fsc ForwardSshConnectivityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ForwardSshConnectivityAttributes) InternalWithRef

func (ForwardSshConnectivityAttributes) Password

func (ForwardSshConnectivityAttributes) Port

func (ForwardSshConnectivityAttributes) PrivateKey

func (ForwardSshConnectivityAttributes) Username

type ForwardSshConnectivityState

type ForwardSshConnectivityState struct {
	Hostname   string  `json:"hostname"`
	Password   string  `json:"password"`
	Port       float64 `json:"port"`
	PrivateKey string  `json:"private_key"`
	Username   string  `json:"username"`
}

type GcsProfile

type GcsProfile struct {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// RootPath: string, optional
	RootPath terra.StringValue `hcl:"root_path,attr"`
}

type GcsProfileAttributes

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

func (GcsProfileAttributes) Bucket

func (GcsProfileAttributes) InternalRef

func (gp GcsProfileAttributes) InternalRef() (terra.Reference, error)

func (GcsProfileAttributes) InternalTokens

func (gp GcsProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GcsProfileAttributes) InternalWithRef

func (gp GcsProfileAttributes) InternalWithRef(ref terra.Reference) GcsProfileAttributes

func (GcsProfileAttributes) RootPath

func (gp GcsProfileAttributes) RootPath() terra.StringValue

type GcsProfileState

type GcsProfileState struct {
	Bucket   string `json:"bucket"`
	RootPath string `json:"root_path"`
}

type MysqlProfile

type MysqlProfile struct {
	// Hostname: string, required
	Hostname terra.StringValue `hcl:"hostname,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// MysqlProfileSslConfig: optional
	SslConfig *MysqlProfileSslConfig `hcl:"ssl_config,block"`
}

type MysqlProfileAttributes

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

func (MysqlProfileAttributes) Hostname

func (MysqlProfileAttributes) InternalRef

func (mp MysqlProfileAttributes) InternalRef() (terra.Reference, error)

func (MysqlProfileAttributes) InternalTokens

func (mp MysqlProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlProfileAttributes) InternalWithRef

func (MysqlProfileAttributes) Password

func (MysqlProfileAttributes) Port

func (MysqlProfileAttributes) SslConfig

func (MysqlProfileAttributes) Username

type MysqlProfileSslConfig

type MysqlProfileSslConfig struct {
	// CaCertificate: string, optional
	CaCertificate terra.StringValue `hcl:"ca_certificate,attr"`
	// ClientCertificate: string, optional
	ClientCertificate terra.StringValue `hcl:"client_certificate,attr"`
	// ClientKey: string, optional
	ClientKey terra.StringValue `hcl:"client_key,attr"`
}

type MysqlProfileSslConfigAttributes

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

func (MysqlProfileSslConfigAttributes) CaCertificate

func (MysqlProfileSslConfigAttributes) CaCertificateSet

func (sc MysqlProfileSslConfigAttributes) CaCertificateSet() terra.BoolValue

func (MysqlProfileSslConfigAttributes) ClientCertificate

func (sc MysqlProfileSslConfigAttributes) ClientCertificate() terra.StringValue

func (MysqlProfileSslConfigAttributes) ClientCertificateSet

func (sc MysqlProfileSslConfigAttributes) ClientCertificateSet() terra.BoolValue

func (MysqlProfileSslConfigAttributes) ClientKey

func (MysqlProfileSslConfigAttributes) ClientKeySet

func (MysqlProfileSslConfigAttributes) InternalRef

func (MysqlProfileSslConfigAttributes) InternalTokens

func (sc MysqlProfileSslConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlProfileSslConfigAttributes) InternalWithRef

type MysqlProfileSslConfigState

type MysqlProfileSslConfigState struct {
	CaCertificate        string `json:"ca_certificate"`
	CaCertificateSet     bool   `json:"ca_certificate_set"`
	ClientCertificate    string `json:"client_certificate"`
	ClientCertificateSet bool   `json:"client_certificate_set"`
	ClientKey            string `json:"client_key"`
	ClientKeySet         bool   `json:"client_key_set"`
}

type MysqlProfileState

type MysqlProfileState struct {
	Hostname  string                       `json:"hostname"`
	Password  string                       `json:"password"`
	Port      float64                      `json:"port"`
	Username  string                       `json:"username"`
	SslConfig []MysqlProfileSslConfigState `json:"ssl_config"`
}

type OracleProfile

type OracleProfile struct {
	// ConnectionAttributes: map of string, optional
	ConnectionAttributes terra.MapValue[terra.StringValue] `hcl:"connection_attributes,attr"`
	// DatabaseService: string, required
	DatabaseService terra.StringValue `hcl:"database_service,attr" validate:"required"`
	// Hostname: string, required
	Hostname terra.StringValue `hcl:"hostname,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type OracleProfileAttributes

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

func (OracleProfileAttributes) ConnectionAttributes

func (op OracleProfileAttributes) ConnectionAttributes() terra.MapValue[terra.StringValue]

func (OracleProfileAttributes) DatabaseService

func (op OracleProfileAttributes) DatabaseService() terra.StringValue

func (OracleProfileAttributes) Hostname

func (OracleProfileAttributes) InternalRef

func (op OracleProfileAttributes) InternalRef() (terra.Reference, error)

func (OracleProfileAttributes) InternalTokens

func (op OracleProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OracleProfileAttributes) InternalWithRef

func (OracleProfileAttributes) Password

func (OracleProfileAttributes) Port

func (OracleProfileAttributes) Username

type OracleProfileState

type OracleProfileState struct {
	ConnectionAttributes map[string]string `json:"connection_attributes"`
	DatabaseService      string            `json:"database_service"`
	Hostname             string            `json:"hostname"`
	Password             string            `json:"password"`
	Port                 float64           `json:"port"`
	Username             string            `json:"username"`
}

type PostgresqlProfile

type PostgresqlProfile struct {
	// Database: string, required
	Database terra.StringValue `hcl:"database,attr" validate:"required"`
	// Hostname: string, required
	Hostname terra.StringValue `hcl:"hostname,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type PostgresqlProfileAttributes

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

func (PostgresqlProfileAttributes) Database

func (PostgresqlProfileAttributes) Hostname

func (PostgresqlProfileAttributes) InternalRef

func (pp PostgresqlProfileAttributes) InternalRef() (terra.Reference, error)

func (PostgresqlProfileAttributes) InternalTokens

func (pp PostgresqlProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PostgresqlProfileAttributes) InternalWithRef

func (PostgresqlProfileAttributes) Password

func (PostgresqlProfileAttributes) Port

func (PostgresqlProfileAttributes) Username

type PostgresqlProfileState

type PostgresqlProfileState struct {
	Database string  `json:"database"`
	Hostname string  `json:"hostname"`
	Password string  `json:"password"`
	Port     float64 `json:"port"`
	Username string  `json:"username"`
}

type PrivateConnectivity

type PrivateConnectivity struct {
	// PrivateConnection: string, required
	PrivateConnection terra.StringValue `hcl:"private_connection,attr" validate:"required"`
}

type PrivateConnectivityAttributes

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

func (PrivateConnectivityAttributes) InternalRef

func (pc PrivateConnectivityAttributes) InternalRef() (terra.Reference, error)

func (PrivateConnectivityAttributes) InternalTokens

func (pc PrivateConnectivityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrivateConnectivityAttributes) InternalWithRef

func (PrivateConnectivityAttributes) PrivateConnection

func (pc PrivateConnectivityAttributes) PrivateConnection() terra.StringValue

type PrivateConnectivityState

type PrivateConnectivityState struct {
	PrivateConnection string `json:"private_connection"`
}

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_datastream_connection_profile.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdcp *Resource) Attributes() googleDatastreamConnectionProfileAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdcp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdcp *Resource) State() (*googleDatastreamConnectionProfileState, bool)

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

func (*Resource) StateMust

func (gdcp *Resource) StateMust() *googleDatastreamConnectionProfileState

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

func (*Resource) Type

func (gdcp *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