Documentation ¶
Index ¶
- func DataSourceIBMDatabaseBackup() *schema.Resource
- func DataSourceIBMDatabaseBackupRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DataSourceIBMDatabaseBackups() *schema.Resource
- func DataSourceIBMDatabaseBackupsBackupToMap(model *clouddatabasesv5.Backup) (map[string]interface{}, error)
- func DataSourceIBMDatabaseBackupsID(d *schema.ResourceData) string
- func DataSourceIBMDatabaseBackupsRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DataSourceIBMDatabaseBackupsValidator() *validate.ResourceValidator
- func DataSourceIBMDatabaseConnection() *schema.Resource
- func DataSourceIBMDatabaseConnectionConnectionAuthenticationToMap(model *clouddatabasesv5.ConnectionAuthentication) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionConnectionBundleToMap(model *clouddatabasesv5.ConnectionBundle) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionConnectionCertificateToMap(model *clouddatabasesv5.ConnectionCertificate) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionConnectionCliToMap(model *clouddatabasesv5.ConnectionCli) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionConnectionHostToMap(model *clouddatabasesv5.ConnectionHost) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionConnectionURIToMap(model *clouddatabasesv5.ConnectionURI) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionDataStaxConnectionURIToMap(model *clouddatabasesv5.DataStaxConnectionURI) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionID(d *schema.ResourceData) string
- func DataSourceIBMDatabaseConnectionMongoDbConnectionURIToMap(model *clouddatabasesv5.MongoDbConnectionURI) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionMySQLConnectionURIToMap(model *clouddatabasesv5.MySQLConnectionURI) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionPostgreSQLConnectionURIToMap(model *clouddatabasesv5.PostgreSQLConnectionURI) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DataSourceIBMDatabaseConnectionRedisConnectionURIToMap(model *clouddatabasesv5.RedisConnectionURI) (map[string]interface{}, error)
- func DataSourceIBMDatabaseConnectionValidator() *validate.ResourceValidator
- func DataSourceIBMDatabaseInstance() *schema.Resource
- func DataSourceIBMDatabaseInstanceValidator() *validate.ResourceValidator
- func DataSourceIBMDatabasePointInTimeRecovery() *schema.Resource
- func DataSourceIBMDatabasePointInTimeRecoveryRead(context context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DataSourceIBMDatabasePointInTimeRecoveryValidator() *validate.ResourceValidator
- func DataSourceIBMDatabaseRemotes() *schema.Resource
- func DataSourceIBMDatabaseRemotesValidator() *validate.ResourceValidator
- func DataSourceIBMDatabaseTask() *schema.Resource
- func DataSourceIBMDatabaseTasks() *schema.Resource
- func DataSourceIBMDatabaseTasksID(d *schema.ResourceData) string
- func DataSourceIBMDatabaseTasksTaskToMap(model *clouddatabasesv5.Task) (map[string]interface{}, error)
- func DataSourceIBMDatabaseTasksValidator() *validate.ResourceValidator
- func DatabaseUserPasswordValidator(userType string) schema.SchemaValidateFunc
- func ResourceIBMDatabaseInstance() *schema.Resource
- func ResourceIBMICDValidator() *validate.ResourceValidator
- type CountLimit
- type DatabaseUser
- func (u *DatabaseUser) Create(instanceID string, d *schema.ResourceData, meta interface{}) (err error)
- func (u *DatabaseUser) Delete(instanceID string, d *schema.ResourceData, meta interface{}) (err error)
- func (u *DatabaseUser) ID() (id string)
- func (u *DatabaseUser) Update(instanceID string, d *schema.ResourceData, meta interface{}) (err error)
- func (u *DatabaseUser) ValidateOpsManagerRole() (err error)
- func (u *DatabaseUser) ValidatePassword() (err error)
- func (u *DatabaseUser) ValidateRBACRole() (err error)
- type Group
- type GroupResource
- type HostFlavorGroupResource
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceIBMDatabaseBackup ¶ added in v1.42.0
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 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 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 DataSourceIBMDatabaseInstanceValidator ¶ added in v1.46.0
func DataSourceIBMDatabaseInstanceValidator() *validate.ResourceValidator
func DataSourceIBMDatabasePointInTimeRecovery ¶ added in v1.42.0
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 DataSourceIBMDatabaseRemotesValidator ¶ added in v1.46.0
func DataSourceIBMDatabaseRemotesValidator() *validate.ResourceValidator
func DataSourceIBMDatabaseTask ¶ added in v1.44.0
func DataSourceIBMDatabaseTasks ¶ added in v1.44.0
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 DatabaseUserPasswordValidator ¶ added in v1.61.0
func DatabaseUserPasswordValidator(userType string) schema.SchemaValidateFunc
func ResourceIBMICDValidator ¶
func ResourceIBMICDValidator() *validate.ResourceValidator
Types ¶
type CountLimit ¶
type DatabaseUser ¶ added in v1.61.0
func (*DatabaseUser) Create ¶ added in v1.61.0
func (u *DatabaseUser) Create(instanceID string, d *schema.ResourceData, meta interface{}) (err error)
func (*DatabaseUser) Delete ¶ added in v1.61.0
func (u *DatabaseUser) Delete(instanceID string, d *schema.ResourceData, meta interface{}) (err error)
func (*DatabaseUser) ID ¶ added in v1.61.0
func (u *DatabaseUser) ID() (id string)
func (*DatabaseUser) Update ¶ added in v1.61.0
func (u *DatabaseUser) Update(instanceID string, d *schema.ResourceData, meta interface{}) (err error)
func (*DatabaseUser) ValidateOpsManagerRole ¶ added in v1.61.0
func (u *DatabaseUser) ValidateOpsManagerRole() (err error)
func (*DatabaseUser) ValidatePassword ¶ added in v1.61.0
func (u *DatabaseUser) ValidatePassword() (err error)
func (*DatabaseUser) ValidateRBACRole ¶ added in v1.61.0
func (u *DatabaseUser) ValidateRBACRole() (err error)
type Group ¶ added in v1.41.0
type Group struct { ID string Members *GroupResource Memory *GroupResource Disk *GroupResource CPU *GroupResource HostFlavor *HostFlavorGroupResource }
type GroupResource ¶ added in v1.41.0
type HostFlavorGroupResource ¶ added in v1.62.0
type HostFlavorGroupResource struct {
ID string
}
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"` HostFlavor string `json:"members_host_flavor,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"` }
Source Files ¶
- data_source_ibm_database.go
- data_source_ibm_database_backup.go
- data_source_ibm_database_backups.go
- data_source_ibm_database_connection.go
- data_source_ibm_database_point_in_time_recovery.go
- data_source_ibm_database_remotes.go
- data_source_ibm_database_task.go
- data_source_ibm_database_tasks.go
- resource_ibm_database.go
Click to show internal directories.
Click to hide internal directories.