database

package
v1.60.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: MPL-2.0 Imports: 26 Imported by: 0

README

Terraform IBM Provider Cloud Databases

This area is primarily for IBM provider contributors and maintainers. For information on using Terraform and the IBM provider, see the links below.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceIBMDatabaseBackup added in v1.42.0

func DataSourceIBMDatabaseBackup() *schema.Resource

func DataSourceIBMDatabaseBackupRead added in v1.42.0

func DataSourceIBMDatabaseBackupRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func DataSourceIBMDatabaseBackups added in v1.42.0

func DataSourceIBMDatabaseBackups() *schema.Resource

func DataSourceIBMDatabaseBackupsBackupToMap added in v1.42.0

func DataSourceIBMDatabaseBackupsBackupToMap(model *clouddatabasesv5.Backup) (map[string]interface{}, error)

func DataSourceIBMDatabaseBackupsID added in v1.42.0

func DataSourceIBMDatabaseBackupsID(d *schema.ResourceData) string

DataSourceIBMDatabaseBackupsID returns a reasonable ID for the list.

func DataSourceIBMDatabaseBackupsRead added in v1.42.0

func DataSourceIBMDatabaseBackupsRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func DataSourceIBMDatabaseBackupsValidator added in v1.46.0

func DataSourceIBMDatabaseBackupsValidator() *validate.ResourceValidator

func DataSourceIBMDatabaseConnection added in v1.41.0

func DataSourceIBMDatabaseConnection() *schema.Resource

func DataSourceIBMDatabaseConnectionConnectionAuthenticationToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionConnectionAuthenticationToMap(model *clouddatabasesv5.ConnectionAuthentication) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionConnectionBundleToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionConnectionBundleToMap(model *clouddatabasesv5.ConnectionBundle) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionConnectionCertificateToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionConnectionCertificateToMap(model *clouddatabasesv5.ConnectionCertificate) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionConnectionCliToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionConnectionCliToMap(model *clouddatabasesv5.ConnectionCli) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionConnectionHostToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionConnectionHostToMap(model *clouddatabasesv5.ConnectionHost) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionConnectionURIToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionConnectionURIToMap(model *clouddatabasesv5.ConnectionURI) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionDataStaxConnectionURIToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionDataStaxConnectionURIToMap(model *clouddatabasesv5.DataStaxConnectionURI) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionID added in v1.41.0

func DataSourceIBMDatabaseConnectionID(d *schema.ResourceData) string

DataSourceIBMDatabaseConnectionID returns a reasonable ID for the list.

func DataSourceIBMDatabaseConnectionMongoDbConnectionURIToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionMongoDbConnectionURIToMap(model *clouddatabasesv5.MongoDbConnectionURI) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionMySQLConnectionURIToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionMySQLConnectionURIToMap(model *clouddatabasesv5.MySQLConnectionURI) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionPostgreSQLConnectionURIToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionPostgreSQLConnectionURIToMap(model *clouddatabasesv5.PostgreSQLConnectionURI) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionRead added in v1.41.0

func DataSourceIBMDatabaseConnectionRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func DataSourceIBMDatabaseConnectionRedisConnectionURIToMap added in v1.41.0

func DataSourceIBMDatabaseConnectionRedisConnectionURIToMap(model *clouddatabasesv5.RedisConnectionURI) (map[string]interface{}, error)

func DataSourceIBMDatabaseConnectionValidator added in v1.46.0

func DataSourceIBMDatabaseConnectionValidator() *validate.ResourceValidator

func DataSourceIBMDatabaseInstance

func DataSourceIBMDatabaseInstance() *schema.Resource

func DataSourceIBMDatabaseInstanceValidator added in v1.46.0

func DataSourceIBMDatabaseInstanceValidator() *validate.ResourceValidator

func DataSourceIBMDatabasePointInTimeRecovery added in v1.42.0

func DataSourceIBMDatabasePointInTimeRecovery() *schema.Resource

func DataSourceIBMDatabasePointInTimeRecoveryRead added in v1.42.0

func DataSourceIBMDatabasePointInTimeRecoveryRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func DataSourceIBMDatabasePointInTimeRecoveryValidator added in v1.46.0

func DataSourceIBMDatabasePointInTimeRecoveryValidator() *validate.ResourceValidator

func DataSourceIBMDatabaseRemotes added in v1.42.0

func DataSourceIBMDatabaseRemotes() *schema.Resource

func DataSourceIBMDatabaseRemotesValidator added in v1.46.0

func DataSourceIBMDatabaseRemotesValidator() *validate.ResourceValidator

func DataSourceIBMDatabaseTask added in v1.44.0

func DataSourceIBMDatabaseTask() *schema.Resource

func DataSourceIBMDatabaseTasks added in v1.44.0

func DataSourceIBMDatabaseTasks() *schema.Resource

func DataSourceIBMDatabaseTasksID added in v1.44.0

func DataSourceIBMDatabaseTasksID(d *schema.ResourceData) string

DataSourceIBMDatabaseTasksID returns a reasonable ID for the list.

func DataSourceIBMDatabaseTasksTaskToMap added in v1.44.0

func DataSourceIBMDatabaseTasksTaskToMap(model *clouddatabasesv5.Task) (map[string]interface{}, error)

func DataSourceIBMDatabaseTasksValidator added in v1.46.0

func DataSourceIBMDatabaseTasksValidator() *validate.ResourceValidator

func ResourceIBMDatabaseInstance

func ResourceIBMDatabaseInstance() *schema.Resource

func ResourceIBMICDValidator

func ResourceIBMICDValidator() *validate.ResourceValidator

Types

type CountLimit

type CountLimit struct {
	Units           string
	AllocationCount int
	MinimumCount    int
	MaximumCount    int
	StepSizeCount   int
	IsAdjustable    bool
	IsOptional      bool
	CanScaleDown    bool
}

type Group added in v1.41.0

type Group struct {
	ID      string
	Members *GroupResource
	Memory  *GroupResource
	Disk    *GroupResource
	CPU     *GroupResource
}

type GroupResource added in v1.41.0

type GroupResource struct {
	Units        string
	Allocation   int
	Minimum      int
	Maximum      int
	StepSize     int
	IsAdjustable bool
	IsOptional   bool
	CanScaleDown bool
}

type Params

type Params struct {
	Version             string  `json:"version,omitempty"`
	KeyProtectKey       string  `json:"disk_encryption_key_crn,omitempty"`
	BackUpEncryptionCRN string  `json:"backup_encryption_key_crn,omitempty"`
	Memory              int     `json:"members_memory_allocation_mb,omitempty"`
	Disk                int     `json:"members_disk_allocation_mb,omitempty"`
	CPU                 int     `json:"members_cpu_allocation_count,omitempty"`
	KeyProtectInstance  string  `json:"disk_encryption_instance_crn,omitempty"`
	ServiceEndpoints    string  `json:"service-endpoints,omitempty"`
	BackupID            string  `json:"backup-id,omitempty"`
	RemoteLeaderID      string  `json:"remote_leader_id,omitempty"`
	PITRDeploymentID    string  `json:"point_in_time_recovery_deployment_id,omitempty"`
	PITRTimeStamp       *string `json:"point_in_time_recovery_time,omitempty"`
	OfflineRestore      bool    `json:"offline_restore,omitempty"`
}

Jump to

Keyboard shortcuts

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