google_database_migration_service_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 Alloydb

type Alloydb struct {
	// ClusterId: string, required
	ClusterId terra.StringValue `hcl:"cluster_id,attr" validate:"required"`
	// AlloydbSettings: optional
	Settings *AlloydbSettings `hcl:"settings,block"`
}

type AlloydbAttributes

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

func (AlloydbAttributes) ClusterId

func (a AlloydbAttributes) ClusterId() terra.StringValue

func (AlloydbAttributes) InternalRef

func (a AlloydbAttributes) InternalRef() (terra.Reference, error)

func (AlloydbAttributes) InternalTokens

func (a AlloydbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AlloydbAttributes) InternalWithRef

func (a AlloydbAttributes) InternalWithRef(ref terra.Reference) AlloydbAttributes

func (AlloydbAttributes) Settings

type AlloydbSettings

type AlloydbSettings struct {
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// VpcNetwork: string, required
	VpcNetwork terra.StringValue `hcl:"vpc_network,attr" validate:"required"`
	// AlloydbSettingsInitialUser: required
	InitialUser *AlloydbSettingsInitialUser `hcl:"initial_user,block" validate:"required"`
	// AlloydbSettingsPrimaryInstanceSettings: optional
	PrimaryInstanceSettings *AlloydbSettingsPrimaryInstanceSettings `hcl:"primary_instance_settings,block"`
}

type AlloydbSettingsAttributes

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

func (AlloydbSettingsAttributes) InitialUser

func (AlloydbSettingsAttributes) InternalRef

func (s AlloydbSettingsAttributes) InternalRef() (terra.Reference, error)

func (AlloydbSettingsAttributes) InternalTokens

func (s AlloydbSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AlloydbSettingsAttributes) InternalWithRef

func (AlloydbSettingsAttributes) Labels

func (AlloydbSettingsAttributes) PrimaryInstanceSettings

func (AlloydbSettingsAttributes) VpcNetwork

type AlloydbSettingsInitialUser

type AlloydbSettingsInitialUser struct {
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// User: string, required
	User terra.StringValue `hcl:"user,attr" validate:"required"`
}

type AlloydbSettingsInitialUserAttributes

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

func (AlloydbSettingsInitialUserAttributes) InternalRef

func (AlloydbSettingsInitialUserAttributes) InternalTokens

func (AlloydbSettingsInitialUserAttributes) InternalWithRef

func (AlloydbSettingsInitialUserAttributes) Password

func (AlloydbSettingsInitialUserAttributes) PasswordSet

func (AlloydbSettingsInitialUserAttributes) User

type AlloydbSettingsInitialUserState

type AlloydbSettingsInitialUserState struct {
	Password    string `json:"password"`
	PasswordSet bool   `json:"password_set"`
	User        string `json:"user"`
}

type AlloydbSettingsPrimaryInstanceSettings

type AlloydbSettingsPrimaryInstanceSettings struct {
	// DatabaseFlags: map of string, optional
	DatabaseFlags terra.MapValue[terra.StringValue] `hcl:"database_flags,attr"`
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// AlloydbSettingsPrimaryInstanceSettingsMachineConfig: required
	MachineConfig *AlloydbSettingsPrimaryInstanceSettingsMachineConfig `hcl:"machine_config,block" validate:"required"`
}

type AlloydbSettingsPrimaryInstanceSettingsAttributes

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

func (AlloydbSettingsPrimaryInstanceSettingsAttributes) DatabaseFlags

func (AlloydbSettingsPrimaryInstanceSettingsAttributes) Id

func (AlloydbSettingsPrimaryInstanceSettingsAttributes) InternalRef

func (AlloydbSettingsPrimaryInstanceSettingsAttributes) InternalTokens

func (AlloydbSettingsPrimaryInstanceSettingsAttributes) InternalWithRef

func (AlloydbSettingsPrimaryInstanceSettingsAttributes) Labels

func (AlloydbSettingsPrimaryInstanceSettingsAttributes) PrivateIp

type AlloydbSettingsPrimaryInstanceSettingsMachineConfig

type AlloydbSettingsPrimaryInstanceSettingsMachineConfig struct {
	// CpuCount: number, required
	CpuCount terra.NumberValue `hcl:"cpu_count,attr" validate:"required"`
}

type AlloydbSettingsPrimaryInstanceSettingsMachineConfigAttributes

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

func (AlloydbSettingsPrimaryInstanceSettingsMachineConfigAttributes) CpuCount

func (AlloydbSettingsPrimaryInstanceSettingsMachineConfigAttributes) InternalRef

func (AlloydbSettingsPrimaryInstanceSettingsMachineConfigAttributes) InternalTokens

func (AlloydbSettingsPrimaryInstanceSettingsMachineConfigAttributes) InternalWithRef

type AlloydbSettingsPrimaryInstanceSettingsMachineConfigState

type AlloydbSettingsPrimaryInstanceSettingsMachineConfigState struct {
	CpuCount float64 `json:"cpu_count"`
}

type AlloydbSettingsPrimaryInstanceSettingsState

type AlloydbSettingsPrimaryInstanceSettingsState struct {
	DatabaseFlags map[string]string                                          `json:"database_flags"`
	Id            string                                                     `json:"id"`
	Labels        map[string]string                                          `json:"labels"`
	PrivateIp     string                                                     `json:"private_ip"`
	MachineConfig []AlloydbSettingsPrimaryInstanceSettingsMachineConfigState `json:"machine_config"`
}

type AlloydbSettingsState

type AlloydbSettingsState struct {
	Labels                  map[string]string                             `json:"labels"`
	VpcNetwork              string                                        `json:"vpc_network"`
	InitialUser             []AlloydbSettingsInitialUserState             `json:"initial_user"`
	PrimaryInstanceSettings []AlloydbSettingsPrimaryInstanceSettingsState `json:"primary_instance_settings"`
}

type AlloydbState

type AlloydbState struct {
	ClusterId string                 `json:"cluster_id"`
	Settings  []AlloydbSettingsState `json:"settings"`
}

type Args

type Args struct {
	// ConnectionProfileId: string, required
	ConnectionProfileId terra.StringValue `hcl:"connection_profile_id,attr" validate:"required"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Alloydb: optional
	Alloydb *Alloydb `hcl:"alloydb,block"`
	// Cloudsql: optional
	Cloudsql *Cloudsql `hcl:"cloudsql,block"`
	// Mysql: optional
	Mysql *Mysql `hcl:"mysql,block"`
	// Oracle: optional
	Oracle *Oracle `hcl:"oracle,block"`
	// Postgresql: optional
	Postgresql *Postgresql `hcl:"postgresql,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_database_migration_service_connection_profile.

type Cloudsql

type Cloudsql struct {
	// CloudsqlSettings: optional
	Settings *CloudsqlSettings `hcl:"settings,block"`
}

type CloudsqlAttributes

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

func (CloudsqlAttributes) CloudSqlId

func (c CloudsqlAttributes) CloudSqlId() terra.StringValue

func (CloudsqlAttributes) InternalRef

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

func (CloudsqlAttributes) InternalTokens

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

func (CloudsqlAttributes) InternalWithRef

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

func (CloudsqlAttributes) PrivateIp

func (c CloudsqlAttributes) PrivateIp() terra.StringValue

func (CloudsqlAttributes) PublicIp

func (c CloudsqlAttributes) PublicIp() terra.StringValue

func (CloudsqlAttributes) Settings

type CloudsqlSettings

type CloudsqlSettings struct {
	// ActivationPolicy: string, optional
	ActivationPolicy terra.StringValue `hcl:"activation_policy,attr"`
	// AutoStorageIncrease: bool, optional
	AutoStorageIncrease terra.BoolValue `hcl:"auto_storage_increase,attr"`
	// CmekKeyName: string, optional
	CmekKeyName terra.StringValue `hcl:"cmek_key_name,attr"`
	// Collation: string, optional
	Collation terra.StringValue `hcl:"collation,attr"`
	// DataDiskSizeGb: string, optional
	DataDiskSizeGb terra.StringValue `hcl:"data_disk_size_gb,attr"`
	// DataDiskType: string, optional
	DataDiskType terra.StringValue `hcl:"data_disk_type,attr"`
	// DatabaseFlags: map of string, optional
	DatabaseFlags terra.MapValue[terra.StringValue] `hcl:"database_flags,attr"`
	// DatabaseVersion: string, optional
	DatabaseVersion terra.StringValue `hcl:"database_version,attr"`
	// Edition: string, optional
	Edition terra.StringValue `hcl:"edition,attr"`
	// RootPassword: string, optional
	RootPassword terra.StringValue `hcl:"root_password,attr"`
	// SourceId: string, required
	SourceId terra.StringValue `hcl:"source_id,attr" validate:"required"`
	// StorageAutoResizeLimit: string, optional
	StorageAutoResizeLimit terra.StringValue `hcl:"storage_auto_resize_limit,attr"`
	// Tier: string, optional
	Tier terra.StringValue `hcl:"tier,attr"`
	// UserLabels: map of string, optional
	UserLabels terra.MapValue[terra.StringValue] `hcl:"user_labels,attr"`
	// Zone: string, optional
	Zone terra.StringValue `hcl:"zone,attr"`
	// CloudsqlSettingsIpConfig: optional
	IpConfig *CloudsqlSettingsIpConfig `hcl:"ip_config,block"`
}

type CloudsqlSettingsAttributes

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

func (CloudsqlSettingsAttributes) ActivationPolicy

func (s CloudsqlSettingsAttributes) ActivationPolicy() terra.StringValue

func (CloudsqlSettingsAttributes) AutoStorageIncrease

func (s CloudsqlSettingsAttributes) AutoStorageIncrease() terra.BoolValue

func (CloudsqlSettingsAttributes) CmekKeyName

func (CloudsqlSettingsAttributes) Collation

func (CloudsqlSettingsAttributes) DataDiskSizeGb

func (s CloudsqlSettingsAttributes) DataDiskSizeGb() terra.StringValue

func (CloudsqlSettingsAttributes) DataDiskType

func (s CloudsqlSettingsAttributes) DataDiskType() terra.StringValue

func (CloudsqlSettingsAttributes) DatabaseFlags

func (CloudsqlSettingsAttributes) DatabaseVersion

func (s CloudsqlSettingsAttributes) DatabaseVersion() terra.StringValue

func (CloudsqlSettingsAttributes) Edition

func (CloudsqlSettingsAttributes) InternalRef

func (s CloudsqlSettingsAttributes) InternalRef() (terra.Reference, error)

func (CloudsqlSettingsAttributes) InternalTokens

func (s CloudsqlSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudsqlSettingsAttributes) InternalWithRef

func (CloudsqlSettingsAttributes) IpConfig

func (CloudsqlSettingsAttributes) RootPassword

func (s CloudsqlSettingsAttributes) RootPassword() terra.StringValue

func (CloudsqlSettingsAttributes) RootPasswordSet

func (s CloudsqlSettingsAttributes) RootPasswordSet() terra.BoolValue

func (CloudsqlSettingsAttributes) SourceId

func (CloudsqlSettingsAttributes) StorageAutoResizeLimit

func (s CloudsqlSettingsAttributes) StorageAutoResizeLimit() terra.StringValue

func (CloudsqlSettingsAttributes) Tier

func (CloudsqlSettingsAttributes) UserLabels

func (CloudsqlSettingsAttributes) Zone

type CloudsqlSettingsIpConfig

type CloudsqlSettingsIpConfig struct {
	// EnableIpv4: bool, optional
	EnableIpv4 terra.BoolValue `hcl:"enable_ipv4,attr"`
	// PrivateNetwork: string, optional
	PrivateNetwork terra.StringValue `hcl:"private_network,attr"`
	// RequireSsl: bool, optional
	RequireSsl terra.BoolValue `hcl:"require_ssl,attr"`
	// CloudsqlSettingsIpConfigAuthorizedNetworks: min=0
	AuthorizedNetworks []CloudsqlSettingsIpConfigAuthorizedNetworks `hcl:"authorized_networks,block" validate:"min=0"`
}

type CloudsqlSettingsIpConfigAttributes

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

func (CloudsqlSettingsIpConfigAttributes) AuthorizedNetworks

func (CloudsqlSettingsIpConfigAttributes) EnableIpv4

func (CloudsqlSettingsIpConfigAttributes) InternalRef

func (CloudsqlSettingsIpConfigAttributes) InternalTokens

func (CloudsqlSettingsIpConfigAttributes) InternalWithRef

func (CloudsqlSettingsIpConfigAttributes) PrivateNetwork

func (CloudsqlSettingsIpConfigAttributes) RequireSsl

type CloudsqlSettingsIpConfigAuthorizedNetworks

type CloudsqlSettingsIpConfigAuthorizedNetworks struct {
	// ExpireTime: string, optional
	ExpireTime terra.StringValue `hcl:"expire_time,attr"`
	// Label: string, optional
	Label terra.StringValue `hcl:"label,attr"`
	// Ttl: string, optional
	Ttl terra.StringValue `hcl:"ttl,attr"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type CloudsqlSettingsIpConfigAuthorizedNetworksAttributes

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

func (CloudsqlSettingsIpConfigAuthorizedNetworksAttributes) ExpireTime

func (CloudsqlSettingsIpConfigAuthorizedNetworksAttributes) InternalRef

func (CloudsqlSettingsIpConfigAuthorizedNetworksAttributes) InternalTokens

func (CloudsqlSettingsIpConfigAuthorizedNetworksAttributes) InternalWithRef

func (CloudsqlSettingsIpConfigAuthorizedNetworksAttributes) Label

func (CloudsqlSettingsIpConfigAuthorizedNetworksAttributes) Ttl

func (CloudsqlSettingsIpConfigAuthorizedNetworksAttributes) Value

type CloudsqlSettingsIpConfigAuthorizedNetworksState

type CloudsqlSettingsIpConfigAuthorizedNetworksState struct {
	ExpireTime string `json:"expire_time"`
	Label      string `json:"label"`
	Ttl        string `json:"ttl"`
	Value      string `json:"value"`
}

type CloudsqlSettingsIpConfigState

type CloudsqlSettingsIpConfigState struct {
	EnableIpv4         bool                                              `json:"enable_ipv4"`
	PrivateNetwork     string                                            `json:"private_network"`
	RequireSsl         bool                                              `json:"require_ssl"`
	AuthorizedNetworks []CloudsqlSettingsIpConfigAuthorizedNetworksState `json:"authorized_networks"`
}

type CloudsqlSettingsState

type CloudsqlSettingsState struct {
	ActivationPolicy       string                          `json:"activation_policy"`
	AutoStorageIncrease    bool                            `json:"auto_storage_increase"`
	CmekKeyName            string                          `json:"cmek_key_name"`
	Collation              string                          `json:"collation"`
	DataDiskSizeGb         string                          `json:"data_disk_size_gb"`
	DataDiskType           string                          `json:"data_disk_type"`
	DatabaseFlags          map[string]string               `json:"database_flags"`
	DatabaseVersion        string                          `json:"database_version"`
	Edition                string                          `json:"edition"`
	RootPassword           string                          `json:"root_password"`
	RootPasswordSet        bool                            `json:"root_password_set"`
	SourceId               string                          `json:"source_id"`
	StorageAutoResizeLimit string                          `json:"storage_auto_resize_limit"`
	Tier                   string                          `json:"tier"`
	UserLabels             map[string]string               `json:"user_labels"`
	Zone                   string                          `json:"zone"`
	IpConfig               []CloudsqlSettingsIpConfigState `json:"ip_config"`
}

type CloudsqlState

type CloudsqlState struct {
	CloudSqlId string                  `json:"cloud_sql_id"`
	PrivateIp  string                  `json:"private_ip"`
	PublicIp   string                  `json:"public_ip"`
	Settings   []CloudsqlSettingsState `json:"settings"`
}

type ErrorAttributes

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

func (ErrorAttributes) Code

func (ErrorAttributes) Details

func (ErrorAttributes) InternalRef

func (e ErrorAttributes) InternalRef() (terra.Reference, error)

func (ErrorAttributes) InternalTokens

func (e ErrorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorAttributes) InternalWithRef

func (e ErrorAttributes) InternalWithRef(ref terra.Reference) ErrorAttributes

func (ErrorAttributes) Message

func (e ErrorAttributes) Message() terra.StringValue

type ErrorState

type ErrorState struct {
	Code    float64             `json:"code"`
	Details []map[string]string `json:"details"`
	Message string              `json:"message"`
}

type Mysql

type Mysql struct {
	// CloudSqlId: string, optional
	CloudSqlId terra.StringValue `hcl:"cloud_sql_id,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// MysqlSsl: optional
	Ssl *MysqlSsl `hcl:"ssl,block"`
}

type MysqlAttributes

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

func (MysqlAttributes) CloudSqlId

func (m MysqlAttributes) CloudSqlId() terra.StringValue

func (MysqlAttributes) Host

func (MysqlAttributes) InternalRef

func (m MysqlAttributes) InternalRef() (terra.Reference, error)

func (MysqlAttributes) InternalTokens

func (m MysqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlAttributes) InternalWithRef

func (m MysqlAttributes) InternalWithRef(ref terra.Reference) MysqlAttributes

func (MysqlAttributes) Password

func (m MysqlAttributes) Password() terra.StringValue

func (MysqlAttributes) PasswordSet

func (m MysqlAttributes) PasswordSet() terra.BoolValue

func (MysqlAttributes) Port

func (MysqlAttributes) Ssl

func (MysqlAttributes) Username

func (m MysqlAttributes) Username() terra.StringValue

type MysqlSsl

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

type MysqlSslAttributes

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

func (MysqlSslAttributes) CaCertificate

func (s MysqlSslAttributes) CaCertificate() terra.StringValue

func (MysqlSslAttributes) ClientCertificate

func (s MysqlSslAttributes) ClientCertificate() terra.StringValue

func (MysqlSslAttributes) ClientKey

func (s MysqlSslAttributes) ClientKey() terra.StringValue

func (MysqlSslAttributes) InternalRef

func (s MysqlSslAttributes) InternalRef() (terra.Reference, error)

func (MysqlSslAttributes) InternalTokens

func (s MysqlSslAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlSslAttributes) InternalWithRef

func (s MysqlSslAttributes) InternalWithRef(ref terra.Reference) MysqlSslAttributes

func (MysqlSslAttributes) Type

type MysqlSslState

type MysqlSslState struct {
	CaCertificate     string `json:"ca_certificate"`
	ClientCertificate string `json:"client_certificate"`
	ClientKey         string `json:"client_key"`
	Type              string `json:"type"`
}

type MysqlState

type MysqlState struct {
	CloudSqlId  string          `json:"cloud_sql_id"`
	Host        string          `json:"host"`
	Password    string          `json:"password"`
	PasswordSet bool            `json:"password_set"`
	Port        float64         `json:"port"`
	Username    string          `json:"username"`
	Ssl         []MysqlSslState `json:"ssl"`
}

type Oracle

type Oracle struct {
	// DatabaseService: string, required
	DatabaseService terra.StringValue `hcl:"database_service,attr" validate:"required"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// OracleForwardSshConnectivity: optional
	ForwardSshConnectivity *OracleForwardSshConnectivity `hcl:"forward_ssh_connectivity,block"`
	// OraclePrivateConnectivity: optional
	PrivateConnectivity *OraclePrivateConnectivity `hcl:"private_connectivity,block"`
	// OracleSsl: optional
	Ssl *OracleSsl `hcl:"ssl,block"`
	// OracleStaticServiceIpConnectivity: optional
	StaticServiceIpConnectivity *OracleStaticServiceIpConnectivity `hcl:"static_service_ip_connectivity,block"`
}

type OracleAttributes

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

func (OracleAttributes) DatabaseService

func (o OracleAttributes) DatabaseService() terra.StringValue

func (OracleAttributes) ForwardSshConnectivity

func (OracleAttributes) Host

func (OracleAttributes) InternalRef

func (o OracleAttributes) InternalRef() (terra.Reference, error)

func (OracleAttributes) InternalTokens

func (o OracleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OracleAttributes) InternalWithRef

func (o OracleAttributes) InternalWithRef(ref terra.Reference) OracleAttributes

func (OracleAttributes) Password

func (o OracleAttributes) Password() terra.StringValue

func (OracleAttributes) PasswordSet

func (o OracleAttributes) PasswordSet() terra.BoolValue

func (OracleAttributes) Port

func (OracleAttributes) PrivateConnectivity

func (OracleAttributes) Ssl

func (OracleAttributes) StaticServiceIpConnectivity

func (OracleAttributes) Username

func (o OracleAttributes) Username() terra.StringValue

type OracleForwardSshConnectivity

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

type OracleForwardSshConnectivityAttributes

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

func (OracleForwardSshConnectivityAttributes) Hostname

func (OracleForwardSshConnectivityAttributes) InternalRef

func (OracleForwardSshConnectivityAttributes) InternalTokens

func (OracleForwardSshConnectivityAttributes) InternalWithRef

func (OracleForwardSshConnectivityAttributes) Password

func (OracleForwardSshConnectivityAttributes) Port

func (OracleForwardSshConnectivityAttributes) PrivateKey

func (OracleForwardSshConnectivityAttributes) Username

type OracleForwardSshConnectivityState

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

type OraclePrivateConnectivity

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

type OraclePrivateConnectivityAttributes

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

func (OraclePrivateConnectivityAttributes) InternalRef

func (OraclePrivateConnectivityAttributes) InternalTokens

func (OraclePrivateConnectivityAttributes) InternalWithRef

func (OraclePrivateConnectivityAttributes) PrivateConnection

func (pc OraclePrivateConnectivityAttributes) PrivateConnection() terra.StringValue

type OraclePrivateConnectivityState

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

type OracleSsl

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

type OracleSslAttributes

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

func (OracleSslAttributes) CaCertificate

func (s OracleSslAttributes) CaCertificate() terra.StringValue

func (OracleSslAttributes) ClientCertificate

func (s OracleSslAttributes) ClientCertificate() terra.StringValue

func (OracleSslAttributes) ClientKey

func (s OracleSslAttributes) ClientKey() terra.StringValue

func (OracleSslAttributes) InternalRef

func (s OracleSslAttributes) InternalRef() (terra.Reference, error)

func (OracleSslAttributes) InternalTokens

func (s OracleSslAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OracleSslAttributes) InternalWithRef

func (s OracleSslAttributes) InternalWithRef(ref terra.Reference) OracleSslAttributes

func (OracleSslAttributes) Type

type OracleSslState

type OracleSslState struct {
	CaCertificate     string `json:"ca_certificate"`
	ClientCertificate string `json:"client_certificate"`
	ClientKey         string `json:"client_key"`
	Type              string `json:"type"`
}

type OracleState

type OracleState struct {
	DatabaseService             string                                   `json:"database_service"`
	Host                        string                                   `json:"host"`
	Password                    string                                   `json:"password"`
	PasswordSet                 bool                                     `json:"password_set"`
	Port                        float64                                  `json:"port"`
	Username                    string                                   `json:"username"`
	ForwardSshConnectivity      []OracleForwardSshConnectivityState      `json:"forward_ssh_connectivity"`
	PrivateConnectivity         []OraclePrivateConnectivityState         `json:"private_connectivity"`
	Ssl                         []OracleSslState                         `json:"ssl"`
	StaticServiceIpConnectivity []OracleStaticServiceIpConnectivityState `json:"static_service_ip_connectivity"`
}

type OracleStaticServiceIpConnectivity

type OracleStaticServiceIpConnectivity struct{}

type OracleStaticServiceIpConnectivityAttributes

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

func (OracleStaticServiceIpConnectivityAttributes) InternalRef

func (OracleStaticServiceIpConnectivityAttributes) InternalTokens

func (OracleStaticServiceIpConnectivityAttributes) InternalWithRef

type OracleStaticServiceIpConnectivityState

type OracleStaticServiceIpConnectivityState struct{}

type Postgresql

type Postgresql struct {
	// CloudSqlId: string, optional
	CloudSqlId terra.StringValue `hcl:"cloud_sql_id,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// PostgresqlSsl: optional
	Ssl *PostgresqlSsl `hcl:"ssl,block"`
}

type PostgresqlAttributes

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

func (PostgresqlAttributes) CloudSqlId

func (p PostgresqlAttributes) CloudSqlId() terra.StringValue

func (PostgresqlAttributes) Host

func (PostgresqlAttributes) InternalRef

func (p PostgresqlAttributes) InternalRef() (terra.Reference, error)

func (PostgresqlAttributes) InternalTokens

func (p PostgresqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PostgresqlAttributes) InternalWithRef

func (PostgresqlAttributes) NetworkArchitecture

func (p PostgresqlAttributes) NetworkArchitecture() terra.StringValue

func (PostgresqlAttributes) Password

func (p PostgresqlAttributes) Password() terra.StringValue

func (PostgresqlAttributes) PasswordSet

func (p PostgresqlAttributes) PasswordSet() terra.BoolValue

func (PostgresqlAttributes) Port

func (PostgresqlAttributes) Ssl

func (PostgresqlAttributes) Username

func (p PostgresqlAttributes) Username() terra.StringValue

type PostgresqlSsl

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

type PostgresqlSslAttributes

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

func (PostgresqlSslAttributes) CaCertificate

func (s PostgresqlSslAttributes) CaCertificate() terra.StringValue

func (PostgresqlSslAttributes) ClientCertificate

func (s PostgresqlSslAttributes) ClientCertificate() terra.StringValue

func (PostgresqlSslAttributes) ClientKey

func (PostgresqlSslAttributes) InternalRef

func (s PostgresqlSslAttributes) InternalRef() (terra.Reference, error)

func (PostgresqlSslAttributes) InternalTokens

func (s PostgresqlSslAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PostgresqlSslAttributes) InternalWithRef

func (PostgresqlSslAttributes) Type

type PostgresqlSslState

type PostgresqlSslState struct {
	CaCertificate     string `json:"ca_certificate"`
	ClientCertificate string `json:"client_certificate"`
	ClientKey         string `json:"client_key"`
	Type              string `json:"type"`
}

type PostgresqlState

type PostgresqlState struct {
	CloudSqlId          string               `json:"cloud_sql_id"`
	Host                string               `json:"host"`
	NetworkArchitecture string               `json:"network_architecture"`
	Password            string               `json:"password"`
	PasswordSet         bool                 `json:"password_set"`
	Port                float64              `json:"port"`
	Username            string               `json:"username"`
	Ssl                 []PostgresqlSslState `json:"ssl"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdmscp *Resource) Attributes() googleDatabaseMigrationServiceConnectionProfileAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdmscp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdmscp *Resource) State() (*googleDatabaseMigrationServiceConnectionProfileState, bool)

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

func (*Resource) StateMust

func (gdmscp *Resource) StateMust() *googleDatabaseMigrationServiceConnectionProfileState

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

func (*Resource) Type

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