google_sql_database_instances

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 {
	// DatabaseVersion: string, optional
	DatabaseVersion terra.StringValue `hcl:"database_version,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// State: string, optional
	State terra.StringValue `hcl:"state,attr"`
	// Tier: string, optional
	Tier terra.StringValue `hcl:"tier,attr"`
	// Zone: string, optional
	Zone terra.StringValue `hcl:"zone,attr"`
}

DataArgs contains the configurations for google_sql_database_instances.

type DataInstancesAttributes

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

func (DataInstancesAttributes) AvailableMaintenanceVersions

func (i DataInstancesAttributes) AvailableMaintenanceVersions() terra.ListValue[terra.StringValue]

func (DataInstancesAttributes) Clone

func (DataInstancesAttributes) ConnectionName

func (i DataInstancesAttributes) ConnectionName() terra.StringValue

func (DataInstancesAttributes) DatabaseVersion

func (i DataInstancesAttributes) DatabaseVersion() terra.StringValue

func (DataInstancesAttributes) DeletionProtection

func (i DataInstancesAttributes) DeletionProtection() terra.BoolValue

func (DataInstancesAttributes) DnsName

func (DataInstancesAttributes) EncryptionKeyName

func (i DataInstancesAttributes) EncryptionKeyName() terra.StringValue

func (DataInstancesAttributes) FirstIpAddress

func (i DataInstancesAttributes) FirstIpAddress() terra.StringValue

func (DataInstancesAttributes) InstanceType

func (i DataInstancesAttributes) InstanceType() terra.StringValue

func (DataInstancesAttributes) InternalRef

func (i DataInstancesAttributes) InternalRef() (terra.Reference, error)

func (DataInstancesAttributes) InternalTokens

func (i DataInstancesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataInstancesAttributes) InternalWithRef

func (DataInstancesAttributes) IpAddress

func (DataInstancesAttributes) MaintenanceVersion

func (i DataInstancesAttributes) MaintenanceVersion() terra.StringValue

func (DataInstancesAttributes) MasterInstanceName

func (i DataInstancesAttributes) MasterInstanceName() terra.StringValue

func (DataInstancesAttributes) Name

func (DataInstancesAttributes) PrivateIpAddress

func (i DataInstancesAttributes) PrivateIpAddress() terra.StringValue

func (DataInstancesAttributes) Project

func (i DataInstancesAttributes) PscServiceAttachmentLink() terra.StringValue

func (DataInstancesAttributes) PublicIpAddress

func (i DataInstancesAttributes) PublicIpAddress() terra.StringValue

func (DataInstancesAttributes) Region

func (DataInstancesAttributes) ReplicaConfiguration

func (DataInstancesAttributes) RestoreBackupContext

func (DataInstancesAttributes) RootPassword

func (i DataInstancesAttributes) RootPassword() terra.StringValue

func (DataInstancesAttributes) ServerCaCert

func (DataInstancesAttributes) ServiceAccountEmailAddress

func (i DataInstancesAttributes) ServiceAccountEmailAddress() terra.StringValue

func (DataInstancesAttributes) Settings

type DataInstancesCloneAttributes

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

func (DataInstancesCloneAttributes) AllocatedIpRange

func (c DataInstancesCloneAttributes) AllocatedIpRange() terra.StringValue

func (DataInstancesCloneAttributes) DatabaseNames

func (DataInstancesCloneAttributes) InternalRef

func (DataInstancesCloneAttributes) InternalTokens

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

func (DataInstancesCloneAttributes) InternalWithRef

func (DataInstancesCloneAttributes) PointInTime

func (DataInstancesCloneAttributes) PreferredZone

func (DataInstancesCloneAttributes) SourceInstanceName

func (c DataInstancesCloneAttributes) SourceInstanceName() terra.StringValue

type DataInstancesCloneState

type DataInstancesCloneState struct {
	AllocatedIpRange   string   `json:"allocated_ip_range"`
	DatabaseNames      []string `json:"database_names"`
	PointInTime        string   `json:"point_in_time"`
	PreferredZone      string   `json:"preferred_zone"`
	SourceInstanceName string   `json:"source_instance_name"`
}

type DataInstancesIpAddressAttributes

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

func (DataInstancesIpAddressAttributes) InternalRef

func (DataInstancesIpAddressAttributes) InternalTokens

func (ia DataInstancesIpAddressAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataInstancesIpAddressAttributes) InternalWithRef

func (DataInstancesIpAddressAttributes) IpAddress

func (DataInstancesIpAddressAttributes) TimeToRetire

func (DataInstancesIpAddressAttributes) Type

type DataInstancesIpAddressState

type DataInstancesIpAddressState struct {
	IpAddress    string `json:"ip_address"`
	TimeToRetire string `json:"time_to_retire"`
	Type         string `json:"type"`
}

type DataInstancesReplicaConfigurationAttributes

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

func (DataInstancesReplicaConfigurationAttributes) CaCertificate

func (DataInstancesReplicaConfigurationAttributes) ClientCertificate

func (DataInstancesReplicaConfigurationAttributes) ClientKey

func (DataInstancesReplicaConfigurationAttributes) ConnectRetryInterval

func (DataInstancesReplicaConfigurationAttributes) DumpFilePath

func (DataInstancesReplicaConfigurationAttributes) FailoverTarget

func (DataInstancesReplicaConfigurationAttributes) InternalRef

func (DataInstancesReplicaConfigurationAttributes) InternalTokens

func (DataInstancesReplicaConfigurationAttributes) InternalWithRef

func (DataInstancesReplicaConfigurationAttributes) MasterHeartbeatPeriod

func (DataInstancesReplicaConfigurationAttributes) Password

func (DataInstancesReplicaConfigurationAttributes) SslCipher

func (DataInstancesReplicaConfigurationAttributes) Username

func (DataInstancesReplicaConfigurationAttributes) VerifyServerCertificate

func (rc DataInstancesReplicaConfigurationAttributes) VerifyServerCertificate() terra.BoolValue

type DataInstancesReplicaConfigurationState

type DataInstancesReplicaConfigurationState struct {
	CaCertificate           string  `json:"ca_certificate"`
	ClientCertificate       string  `json:"client_certificate"`
	ClientKey               string  `json:"client_key"`
	ConnectRetryInterval    float64 `json:"connect_retry_interval"`
	DumpFilePath            string  `json:"dump_file_path"`
	FailoverTarget          bool    `json:"failover_target"`
	MasterHeartbeatPeriod   float64 `json:"master_heartbeat_period"`
	Password                string  `json:"password"`
	SslCipher               string  `json:"ssl_cipher"`
	Username                string  `json:"username"`
	VerifyServerCertificate bool    `json:"verify_server_certificate"`
}

type DataInstancesRestoreBackupContextAttributes

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

func (DataInstancesRestoreBackupContextAttributes) BackupRunId

func (DataInstancesRestoreBackupContextAttributes) InstanceId

func (DataInstancesRestoreBackupContextAttributes) InternalRef

func (DataInstancesRestoreBackupContextAttributes) InternalTokens

func (DataInstancesRestoreBackupContextAttributes) InternalWithRef

func (DataInstancesRestoreBackupContextAttributes) Project

type DataInstancesRestoreBackupContextState

type DataInstancesRestoreBackupContextState struct {
	BackupRunId float64 `json:"backup_run_id"`
	InstanceId  string  `json:"instance_id"`
	Project     string  `json:"project"`
}

type DataInstancesServerCaCertAttributes

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

func (DataInstancesServerCaCertAttributes) Cert

func (DataInstancesServerCaCertAttributes) CommonName

func (DataInstancesServerCaCertAttributes) CreateTime

func (DataInstancesServerCaCertAttributes) ExpirationTime

func (DataInstancesServerCaCertAttributes) InternalRef

func (DataInstancesServerCaCertAttributes) InternalTokens

func (scc DataInstancesServerCaCertAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataInstancesServerCaCertAttributes) InternalWithRef

func (DataInstancesServerCaCertAttributes) Sha1Fingerprint

type DataInstancesServerCaCertState

type DataInstancesServerCaCertState 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 DataInstancesSettingsActiveDirectoryConfigAttributes

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

func (DataInstancesSettingsActiveDirectoryConfigAttributes) Domain

func (DataInstancesSettingsActiveDirectoryConfigAttributes) InternalRef

func (DataInstancesSettingsActiveDirectoryConfigAttributes) InternalTokens

func (DataInstancesSettingsActiveDirectoryConfigAttributes) InternalWithRef

type DataInstancesSettingsActiveDirectoryConfigState

type DataInstancesSettingsActiveDirectoryConfigState struct {
	Domain string `json:"domain"`
}

type DataInstancesSettingsAdvancedMachineFeaturesAttributes

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

func (DataInstancesSettingsAdvancedMachineFeaturesAttributes) InternalRef

func (DataInstancesSettingsAdvancedMachineFeaturesAttributes) InternalTokens

func (DataInstancesSettingsAdvancedMachineFeaturesAttributes) InternalWithRef

func (DataInstancesSettingsAdvancedMachineFeaturesAttributes) ThreadsPerCore

type DataInstancesSettingsAdvancedMachineFeaturesState

type DataInstancesSettingsAdvancedMachineFeaturesState struct {
	ThreadsPerCore float64 `json:"threads_per_core"`
}

type DataInstancesSettingsAttributes

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

func (DataInstancesSettingsAttributes) ActivationPolicy

func (s DataInstancesSettingsAttributes) ActivationPolicy() terra.StringValue

func (DataInstancesSettingsAttributes) ActiveDirectoryConfig

func (DataInstancesSettingsAttributes) AvailabilityType

func (s DataInstancesSettingsAttributes) AvailabilityType() terra.StringValue

func (DataInstancesSettingsAttributes) BackupConfiguration

func (DataInstancesSettingsAttributes) Collation

func (DataInstancesSettingsAttributes) ConnectorEnforcement

func (s DataInstancesSettingsAttributes) ConnectorEnforcement() terra.StringValue

func (DataInstancesSettingsAttributes) DataCacheConfig

func (DataInstancesSettingsAttributes) DatabaseFlags

func (DataInstancesSettingsAttributes) DeletionProtectionEnabled

func (s DataInstancesSettingsAttributes) DeletionProtectionEnabled() terra.BoolValue

func (DataInstancesSettingsAttributes) DenyMaintenancePeriod

func (DataInstancesSettingsAttributes) DiskAutoresize

func (s DataInstancesSettingsAttributes) DiskAutoresize() terra.BoolValue

func (DataInstancesSettingsAttributes) DiskAutoresizeLimit

func (s DataInstancesSettingsAttributes) DiskAutoresizeLimit() terra.NumberValue

func (DataInstancesSettingsAttributes) DiskSize

func (DataInstancesSettingsAttributes) DiskType

func (DataInstancesSettingsAttributes) Edition

func (DataInstancesSettingsAttributes) EnableGoogleMlIntegration

func (s DataInstancesSettingsAttributes) EnableGoogleMlIntegration() terra.BoolValue

func (DataInstancesSettingsAttributes) InsightsConfig

func (DataInstancesSettingsAttributes) InternalRef

func (DataInstancesSettingsAttributes) InternalTokens

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

func (DataInstancesSettingsAttributes) InternalWithRef

func (DataInstancesSettingsAttributes) IpConfiguration

func (DataInstancesSettingsAttributes) LocationPreference

func (DataInstancesSettingsAttributes) MaintenanceWindow

func (DataInstancesSettingsAttributes) PricingPlan

func (DataInstancesSettingsAttributes) SqlServerAuditConfig

func (DataInstancesSettingsAttributes) Tier

func (DataInstancesSettingsAttributes) TimeZone

func (DataInstancesSettingsAttributes) UserLabels

func (DataInstancesSettingsAttributes) Version

type DataInstancesSettingsBackupConfigurationAttributes

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

func (DataInstancesSettingsBackupConfigurationAttributes) BinaryLogEnabled

func (DataInstancesSettingsBackupConfigurationAttributes) Enabled

func (DataInstancesSettingsBackupConfigurationAttributes) InternalRef

func (DataInstancesSettingsBackupConfigurationAttributes) InternalTokens

func (DataInstancesSettingsBackupConfigurationAttributes) InternalWithRef

func (DataInstancesSettingsBackupConfigurationAttributes) Location

func (DataInstancesSettingsBackupConfigurationAttributes) PointInTimeRecoveryEnabled

func (bc DataInstancesSettingsBackupConfigurationAttributes) PointInTimeRecoveryEnabled() terra.BoolValue

func (DataInstancesSettingsBackupConfigurationAttributes) StartTime

func (DataInstancesSettingsBackupConfigurationAttributes) TransactionLogRetentionDays

func (bc DataInstancesSettingsBackupConfigurationAttributes) TransactionLogRetentionDays() terra.NumberValue

type DataInstancesSettingsBackupConfigurationBackupRetentionSettingsAttributes

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

func (DataInstancesSettingsBackupConfigurationBackupRetentionSettingsAttributes) InternalRef

func (DataInstancesSettingsBackupConfigurationBackupRetentionSettingsAttributes) InternalTokens

func (DataInstancesSettingsBackupConfigurationBackupRetentionSettingsAttributes) InternalWithRef

func (DataInstancesSettingsBackupConfigurationBackupRetentionSettingsAttributes) RetainedBackups

func (DataInstancesSettingsBackupConfigurationBackupRetentionSettingsAttributes) RetentionUnit

type DataInstancesSettingsBackupConfigurationBackupRetentionSettingsState

type DataInstancesSettingsBackupConfigurationBackupRetentionSettingsState struct {
	RetainedBackups float64 `json:"retained_backups"`
	RetentionUnit   string  `json:"retention_unit"`
}

type DataInstancesSettingsBackupConfigurationState

type DataInstancesSettingsBackupConfigurationState struct {
	BinaryLogEnabled            bool                                                                   `json:"binary_log_enabled"`
	Enabled                     bool                                                                   `json:"enabled"`
	Location                    string                                                                 `json:"location"`
	PointInTimeRecoveryEnabled  bool                                                                   `json:"point_in_time_recovery_enabled"`
	StartTime                   string                                                                 `json:"start_time"`
	TransactionLogRetentionDays float64                                                                `json:"transaction_log_retention_days"`
	BackupRetentionSettings     []DataInstancesSettingsBackupConfigurationBackupRetentionSettingsState `json:"backup_retention_settings"`
}

type DataInstancesSettingsDataCacheConfigAttributes

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

func (DataInstancesSettingsDataCacheConfigAttributes) DataCacheEnabled

func (DataInstancesSettingsDataCacheConfigAttributes) InternalRef

func (DataInstancesSettingsDataCacheConfigAttributes) InternalTokens

func (DataInstancesSettingsDataCacheConfigAttributes) InternalWithRef

type DataInstancesSettingsDataCacheConfigState

type DataInstancesSettingsDataCacheConfigState struct {
	DataCacheEnabled bool `json:"data_cache_enabled"`
}

type DataInstancesSettingsDatabaseFlagsAttributes

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

func (DataInstancesSettingsDatabaseFlagsAttributes) InternalRef

func (DataInstancesSettingsDatabaseFlagsAttributes) InternalTokens

func (DataInstancesSettingsDatabaseFlagsAttributes) InternalWithRef

func (DataInstancesSettingsDatabaseFlagsAttributes) Name

func (DataInstancesSettingsDatabaseFlagsAttributes) Value

type DataInstancesSettingsDatabaseFlagsState

type DataInstancesSettingsDatabaseFlagsState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type DataInstancesSettingsDenyMaintenancePeriodAttributes

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

func (DataInstancesSettingsDenyMaintenancePeriodAttributes) EndDate

func (DataInstancesSettingsDenyMaintenancePeriodAttributes) InternalRef

func (DataInstancesSettingsDenyMaintenancePeriodAttributes) InternalTokens

func (DataInstancesSettingsDenyMaintenancePeriodAttributes) InternalWithRef

func (DataInstancesSettingsDenyMaintenancePeriodAttributes) StartDate

func (DataInstancesSettingsDenyMaintenancePeriodAttributes) Time

type DataInstancesSettingsDenyMaintenancePeriodState

type DataInstancesSettingsDenyMaintenancePeriodState struct {
	EndDate   string `json:"end_date"`
	StartDate string `json:"start_date"`
	Time      string `json:"time"`
}

type DataInstancesSettingsInsightsConfigAttributes

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

func (DataInstancesSettingsInsightsConfigAttributes) InternalRef

func (DataInstancesSettingsInsightsConfigAttributes) InternalTokens

func (DataInstancesSettingsInsightsConfigAttributes) InternalWithRef

func (DataInstancesSettingsInsightsConfigAttributes) QueryInsightsEnabled

func (DataInstancesSettingsInsightsConfigAttributes) QueryPlansPerMinute

func (DataInstancesSettingsInsightsConfigAttributes) QueryStringLength

func (DataInstancesSettingsInsightsConfigAttributes) RecordApplicationTags

func (DataInstancesSettingsInsightsConfigAttributes) RecordClientAddress

type DataInstancesSettingsInsightsConfigState

type DataInstancesSettingsInsightsConfigState struct {
	QueryInsightsEnabled  bool    `json:"query_insights_enabled"`
	QueryPlansPerMinute   float64 `json:"query_plans_per_minute"`
	QueryStringLength     float64 `json:"query_string_length"`
	RecordApplicationTags bool    `json:"record_application_tags"`
	RecordClientAddress   bool    `json:"record_client_address"`
}

type DataInstancesSettingsIpConfigurationAttributes

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

func (DataInstancesSettingsIpConfigurationAttributes) AllocatedIpRange

func (DataInstancesSettingsIpConfigurationAttributes) EnablePrivatePathForGoogleCloudServices

func (ic DataInstancesSettingsIpConfigurationAttributes) EnablePrivatePathForGoogleCloudServices() terra.BoolValue

func (DataInstancesSettingsIpConfigurationAttributes) InternalRef

func (DataInstancesSettingsIpConfigurationAttributes) InternalTokens

func (DataInstancesSettingsIpConfigurationAttributes) InternalWithRef

func (DataInstancesSettingsIpConfigurationAttributes) Ipv4Enabled

func (DataInstancesSettingsIpConfigurationAttributes) PrivateNetwork

func (DataInstancesSettingsIpConfigurationAttributes) PscConfig

func (DataInstancesSettingsIpConfigurationAttributes) RequireSsl

func (DataInstancesSettingsIpConfigurationAttributes) SslMode

type DataInstancesSettingsIpConfigurationAuthorizedNetworksAttributes

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

func (DataInstancesSettingsIpConfigurationAuthorizedNetworksAttributes) ExpirationTime

func (DataInstancesSettingsIpConfigurationAuthorizedNetworksAttributes) InternalRef

func (DataInstancesSettingsIpConfigurationAuthorizedNetworksAttributes) InternalTokens

func (DataInstancesSettingsIpConfigurationAuthorizedNetworksAttributes) InternalWithRef

func (DataInstancesSettingsIpConfigurationAuthorizedNetworksAttributes) Name

func (DataInstancesSettingsIpConfigurationAuthorizedNetworksAttributes) Value

type DataInstancesSettingsIpConfigurationAuthorizedNetworksState

type DataInstancesSettingsIpConfigurationAuthorizedNetworksState struct {
	ExpirationTime string `json:"expiration_time"`
	Name           string `json:"name"`
	Value          string `json:"value"`
}

type DataInstancesSettingsIpConfigurationPscConfigAttributes

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

func (DataInstancesSettingsIpConfigurationPscConfigAttributes) AllowedConsumerProjects

func (DataInstancesSettingsIpConfigurationPscConfigAttributes) InternalRef

func (DataInstancesSettingsIpConfigurationPscConfigAttributes) InternalTokens

func (DataInstancesSettingsIpConfigurationPscConfigAttributes) InternalWithRef

func (DataInstancesSettingsIpConfigurationPscConfigAttributes) PscEnabled

type DataInstancesSettingsIpConfigurationPscConfigState

type DataInstancesSettingsIpConfigurationPscConfigState struct {
	AllowedConsumerProjects []string `json:"allowed_consumer_projects"`
	PscEnabled              bool     `json:"psc_enabled"`
}

type DataInstancesSettingsIpConfigurationState

type DataInstancesSettingsIpConfigurationState struct {
	AllocatedIpRange                        string                                                        `json:"allocated_ip_range"`
	EnablePrivatePathForGoogleCloudServices bool                                                          `json:"enable_private_path_for_google_cloud_services"`
	Ipv4Enabled                             bool                                                          `json:"ipv4_enabled"`
	PrivateNetwork                          string                                                        `json:"private_network"`
	RequireSsl                              bool                                                          `json:"require_ssl"`
	SslMode                                 string                                                        `json:"ssl_mode"`
	AuthorizedNetworks                      []DataInstancesSettingsIpConfigurationAuthorizedNetworksState `json:"authorized_networks"`
	PscConfig                               []DataInstancesSettingsIpConfigurationPscConfigState          `json:"psc_config"`
}

type DataInstancesSettingsLocationPreferenceAttributes

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

func (DataInstancesSettingsLocationPreferenceAttributes) FollowGaeApplication

func (DataInstancesSettingsLocationPreferenceAttributes) InternalRef

func (DataInstancesSettingsLocationPreferenceAttributes) InternalTokens

func (DataInstancesSettingsLocationPreferenceAttributes) InternalWithRef

func (DataInstancesSettingsLocationPreferenceAttributes) SecondaryZone

func (DataInstancesSettingsLocationPreferenceAttributes) Zone

type DataInstancesSettingsLocationPreferenceState

type DataInstancesSettingsLocationPreferenceState struct {
	FollowGaeApplication string `json:"follow_gae_application"`
	SecondaryZone        string `json:"secondary_zone"`
	Zone                 string `json:"zone"`
}

type DataInstancesSettingsMaintenanceWindowAttributes

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

func (DataInstancesSettingsMaintenanceWindowAttributes) Day

func (DataInstancesSettingsMaintenanceWindowAttributes) Hour

func (DataInstancesSettingsMaintenanceWindowAttributes) InternalRef

func (DataInstancesSettingsMaintenanceWindowAttributes) InternalTokens

func (DataInstancesSettingsMaintenanceWindowAttributes) InternalWithRef

func (DataInstancesSettingsMaintenanceWindowAttributes) UpdateTrack

type DataInstancesSettingsMaintenanceWindowState

type DataInstancesSettingsMaintenanceWindowState struct {
	Day         float64 `json:"day"`
	Hour        float64 `json:"hour"`
	UpdateTrack string  `json:"update_track"`
}

type DataInstancesSettingsPasswordValidationPolicyAttributes

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

func (DataInstancesSettingsPasswordValidationPolicyAttributes) Complexity

func (DataInstancesSettingsPasswordValidationPolicyAttributes) DisallowUsernameSubstring

func (DataInstancesSettingsPasswordValidationPolicyAttributes) EnablePasswordPolicy

func (DataInstancesSettingsPasswordValidationPolicyAttributes) InternalRef

func (DataInstancesSettingsPasswordValidationPolicyAttributes) InternalTokens

func (DataInstancesSettingsPasswordValidationPolicyAttributes) InternalWithRef

func (DataInstancesSettingsPasswordValidationPolicyAttributes) MinLength

func (DataInstancesSettingsPasswordValidationPolicyAttributes) PasswordChangeInterval

func (DataInstancesSettingsPasswordValidationPolicyAttributes) ReuseInterval

type DataInstancesSettingsPasswordValidationPolicyState

type DataInstancesSettingsPasswordValidationPolicyState struct {
	Complexity                string  `json:"complexity"`
	DisallowUsernameSubstring bool    `json:"disallow_username_substring"`
	EnablePasswordPolicy      bool    `json:"enable_password_policy"`
	MinLength                 float64 `json:"min_length"`
	PasswordChangeInterval    string  `json:"password_change_interval"`
	ReuseInterval             float64 `json:"reuse_interval"`
}

type DataInstancesSettingsSqlServerAuditConfigAttributes

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

func (DataInstancesSettingsSqlServerAuditConfigAttributes) Bucket

func (DataInstancesSettingsSqlServerAuditConfigAttributes) InternalRef

func (DataInstancesSettingsSqlServerAuditConfigAttributes) InternalTokens

func (DataInstancesSettingsSqlServerAuditConfigAttributes) InternalWithRef

func (DataInstancesSettingsSqlServerAuditConfigAttributes) RetentionInterval

func (DataInstancesSettingsSqlServerAuditConfigAttributes) UploadInterval

type DataInstancesSettingsSqlServerAuditConfigState

type DataInstancesSettingsSqlServerAuditConfigState struct {
	Bucket            string `json:"bucket"`
	RetentionInterval string `json:"retention_interval"`
	UploadInterval    string `json:"upload_interval"`
}

type DataInstancesSettingsState

type DataInstancesSettingsState struct {
	ActivationPolicy          string                                               `json:"activation_policy"`
	AvailabilityType          string                                               `json:"availability_type"`
	Collation                 string                                               `json:"collation"`
	ConnectorEnforcement      string                                               `json:"connector_enforcement"`
	DeletionProtectionEnabled bool                                                 `json:"deletion_protection_enabled"`
	DiskAutoresize            bool                                                 `json:"disk_autoresize"`
	DiskAutoresizeLimit       float64                                              `json:"disk_autoresize_limit"`
	DiskSize                  float64                                              `json:"disk_size"`
	DiskType                  string                                               `json:"disk_type"`
	Edition                   string                                               `json:"edition"`
	EnableGoogleMlIntegration bool                                                 `json:"enable_google_ml_integration"`
	PricingPlan               string                                               `json:"pricing_plan"`
	Tier                      string                                               `json:"tier"`
	TimeZone                  string                                               `json:"time_zone"`
	UserLabels                map[string]string                                    `json:"user_labels"`
	Version                   float64                                              `json:"version"`
	ActiveDirectoryConfig     []DataInstancesSettingsActiveDirectoryConfigState    `json:"active_directory_config"`
	AdvancedMachineFeatures   []DataInstancesSettingsAdvancedMachineFeaturesState  `json:"advanced_machine_features"`
	BackupConfiguration       []DataInstancesSettingsBackupConfigurationState      `json:"backup_configuration"`
	DataCacheConfig           []DataInstancesSettingsDataCacheConfigState          `json:"data_cache_config"`
	DatabaseFlags             []DataInstancesSettingsDatabaseFlagsState            `json:"database_flags"`
	DenyMaintenancePeriod     []DataInstancesSettingsDenyMaintenancePeriodState    `json:"deny_maintenance_period"`
	InsightsConfig            []DataInstancesSettingsInsightsConfigState           `json:"insights_config"`
	IpConfiguration           []DataInstancesSettingsIpConfigurationState          `json:"ip_configuration"`
	LocationPreference        []DataInstancesSettingsLocationPreferenceState       `json:"location_preference"`
	MaintenanceWindow         []DataInstancesSettingsMaintenanceWindowState        `json:"maintenance_window"`
	PasswordValidationPolicy  []DataInstancesSettingsPasswordValidationPolicyState `json:"password_validation_policy"`
	SqlServerAuditConfig      []DataInstancesSettingsSqlServerAuditConfigState     `json:"sql_server_audit_config"`
}

type DataInstancesState

type DataInstancesState struct {
	AvailableMaintenanceVersions []string                                 `json:"available_maintenance_versions"`
	ConnectionName               string                                   `json:"connection_name"`
	DatabaseVersion              string                                   `json:"database_version"`
	DeletionProtection           bool                                     `json:"deletion_protection"`
	DnsName                      string                                   `json:"dns_name"`
	EncryptionKeyName            string                                   `json:"encryption_key_name"`
	FirstIpAddress               string                                   `json:"first_ip_address"`
	InstanceType                 string                                   `json:"instance_type"`
	MaintenanceVersion           string                                   `json:"maintenance_version"`
	MasterInstanceName           string                                   `json:"master_instance_name"`
	Name                         string                                   `json:"name"`
	PrivateIpAddress             string                                   `json:"private_ip_address"`
	Project                      string                                   `json:"project"`
	PscServiceAttachmentLink     string                                   `json:"psc_service_attachment_link"`
	PublicIpAddress              string                                   `json:"public_ip_address"`
	Region                       string                                   `json:"region"`
	RootPassword                 string                                   `json:"root_password"`
	SelfLink                     string                                   `json:"self_link"`
	ServiceAccountEmailAddress   string                                   `json:"service_account_email_address"`
	Clone                        []DataInstancesCloneState                `json:"clone"`
	IpAddress                    []DataInstancesIpAddressState            `json:"ip_address"`
	ReplicaConfiguration         []DataInstancesReplicaConfigurationState `json:"replica_configuration"`
	RestoreBackupContext         []DataInstancesRestoreBackupContextState `json:"restore_backup_context"`
	ServerCaCert                 []DataInstancesServerCaCertState         `json:"server_ca_cert"`
	Settings                     []DataInstancesSettingsState             `json:"settings"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_sql_database_instances.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gsdi *DataSource) Attributes() dataGoogleSqlDatabaseInstancesAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gsdi *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

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