rds

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MPL-2.0 Imports: 39 Imported by: 4

Documentation

Overview

Generated by PMS #126

Generated by PMS #111

Generated by PMS #152

Generated by PMS #155

Generated by PMS #169

Generated by PMS #141

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupBackupDatabaseSchema added in v1.43.0

func BackupBackupDatabaseSchema() *schema.Resource

func BackupBackupDatabasesSchema added in v1.43.0

func BackupBackupDatabasesSchema() *schema.Resource

func BackupBackupDatastoreSchema added in v1.43.0

func BackupBackupDatastoreSchema() *schema.Resource

func BackupBackupSchema added in v1.43.0

func BackupBackupSchema() *schema.Resource

func ConfigurationsSchema added in v1.59.0

func ConfigurationsSchema() *schema.Resource

func DataSourceBackup added in v1.43.0

func DataSourceBackup() *schema.Resource

@API RDS GET /v3/{project_id}/backups

func DataSourceParametergroups added in v1.59.0

func DataSourceParametergroups() *schema.Resource

@API RDS GET /v3/{project_id}/configurations

func DataSourceParametergroupsRead added in v1.59.0

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

func DataSourcePgAccounts added in v1.61.0

func DataSourcePgAccounts() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/db_user/detail

func DataSourcePgDatabases added in v1.61.1

func DataSourcePgDatabases() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/database/detail

func DataSourcePgPlugins added in v1.58.0

func DataSourcePgPlugins() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/extensions

func DataSourceRdsCrossRegionBackupInstances added in v1.63.2

func DataSourceRdsCrossRegionBackupInstances() *schema.Resource

func DataSourceRdsCrossRegionBackups added in v1.63.2

func DataSourceRdsCrossRegionBackups() *schema.Resource

func DataSourceRdsEngineVersionsV3

func DataSourceRdsEngineVersionsV3() *schema.Resource

@API RDS GET /v3/{project_id}/datastores/{database_name}

func DataSourceRdsErrorLogs added in v1.64.2

func DataSourceRdsErrorLogs() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/error-logs

func DataSourceRdsFlavor added in v1.31.1

func DataSourceRdsFlavor() *schema.Resource

@API RDS GET /v3/{project_id}/flavors/{database_name}

func DataSourceRdsInstances added in v1.32.0

func DataSourceRdsInstances() *schema.Resource

@API RDS GET /v3/{project_id}/instances

func DataSourceRdsMysqlAccounts added in v1.59.0

func DataSourceRdsMysqlAccounts() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/db_user/detail

func DataSourceRdsMysqlBinlog added in v1.61.0

func DataSourceRdsMysqlBinlog() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/binlog/clear-policy

func DataSourceRdsMysqlDatabasePrivileges added in v1.61.1

func DataSourceRdsMysqlDatabasePrivileges() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/database/db_user

func DataSourceRdsMysqlDatabases added in v1.59.0

func DataSourceRdsMysqlDatabases() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/database/detail

func DataSourceRdsPgPluginParameterValueRange added in v1.64.3

func DataSourceRdsPgPluginParameterValueRange() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/parameter/{name}

func DataSourceRdsPgPluginParameterValues added in v1.64.2

func DataSourceRdsPgPluginParameterValues() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/parameter/{name}

func DataSourceRdsPgSqlLimits added in v1.64.2

func DataSourceRdsPgSqlLimits() *schema.Resource

func DataSourceRdsRecyclingInstances added in v1.64.2

func DataSourceRdsRecyclingInstances() *schema.Resource

func DataSourceRdsRestoreTimeRanges added in v1.64.3

func DataSourceRdsRestoreTimeRanges() *schema.Resource

func DataSourceRdsSQLServerAccounts added in v1.61.1

func DataSourceRdsSQLServerAccounts() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/db_user/detail

func DataSourceRdsSlowLogs added in v1.64.2

func DataSourceRdsSlowLogs() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/slow-logs

func DataSourceRdsSqlAuditLogs added in v1.64.2

func DataSourceRdsSqlAuditLogs() *schema.Resource

func DataSourceRdsSqlAuditTypes added in v1.63.2

func DataSourceRdsSqlAuditTypes() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/auditlog-policy

func DataSourceSQLServerCollations added in v1.57.0

func DataSourceSQLServerCollations() *schema.Resource

@API RDS GET /v3/{project_id}/collations

func DataSourceSQLServerDatabasePrivileges added in v1.61.1

func DataSourceSQLServerDatabasePrivileges() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/database/db_user

func DataSourceSQLServerDatabases added in v1.61.1

func DataSourceSQLServerDatabases() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/database/detail

func DataSourceStoragetype added in v1.43.0

func DataSourceStoragetype() *schema.Resource

@API RDS GET /v3/{project_id}/storage-type/{db_type}

func GetRdsInstanceByID added in v1.35.2

func GetRdsInstanceByID(client *golangsdk.ServiceClient, instanceID string) (*instances.RdsInstanceResponse, error)

func ResourceBackup added in v1.43.0

func ResourceBackup() *schema.Resource

@API RDS DELETE /v3/{project_id}/backups/{id} @API RDS GET /v3/{project_id}/backups @API RDS POST /v3/{project_id}/backups

func ResourceBackupStrategy added in v1.56.0

func ResourceBackupStrategy() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/backups/offsite-policy @API RDS PUT /v3/{project_id}/instances/{instance_id}/backups/offsite-policy @API RDS GET /v3/{project_id}/instances

func ResourceMysqlAccount added in v1.55.0

func ResourceMysqlAccount() *schema.Resource

@API RDS PUT /v3/{project_id}/instances/{instance_id}/db-users/{user_name}/comment @API RDS POST /v3/{project_id}/instances/{instance_id}/db_user @API RDS GET /v3/{project_id}/instances @API RDS DELETE /v3/{project_id}/instances/{instance_id}/db_user/{user_name} @API RDS GET /v3/{project_id}/instances/{instance_id}/db_user/detail @API RDS POST /v3/{project_id}/instances/{instance_id}/db_user/resetpwd

func ResourceMysqlBinlog added in v1.59.0

func ResourceMysqlBinlog() *schema.Resource

@API RDS PUT /v3/{project_id}/instances/{instance_id}/binlog/clear-policy @API RDS GET /v3/{project_id}/instances

func ResourceMysqlDatabase added in v1.55.0

func ResourceMysqlDatabase() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/database @API RDS GET /v3/{project_id}/instances @API RDS GET /v3/{project_id}/instances/{instance_id}/database/detail @API RDS POST /v3/{project_id}/instances/{instance_id}/database/update @API RDS DELETE /v3/{project_id}/instances/{instance_id}/database/{db_name}

func ResourceMysqlDatabasePrivilege added in v1.55.0

func ResourceMysqlDatabasePrivilege() *schema.Resource

@API RDS DELETE /v3/{project_id}/instances/{instance_id}/db_privilege @API RDS POST /v3/{project_id}/instances/{instance_id}/db_privilege @API RDS GET /v3/{project_id}/instances @API RDS GET /v3/{project_id}/instances/{instance_id}/database/db_user

func ResourcePgAccount added in v1.58.0

func ResourcePgAccount() *schema.Resource

@API RDS PUT /v3/{project_id}/instances/{instance_id}/db-users/{user_name}/comment @API RDS POST /v3/{project_id}/instances/{instance_id}/db_user @API RDS GET /v3/{project_id}/instances @API RDS DELETE /v3/{project_id}/instances/{instance_id}/db_user/{user_name} @API RDS GET /v3/{project_id}/instances/{instance_id}/db_user/detail @API RDS POST /v3/{project_id}/instances/{instance_id}/db_user/resetpwd @API RDS POST /v3/{project_id}/instances/{instance_id}/db-user-role @API RDS DELETE /v3/{project_id}/instances/{instance_id}/db-user-role

func ResourcePgDatabase added in v1.58.0

func ResourcePgDatabase() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/database @API RDS GET /v3/{project_id}/instances @API RDS GET /v3/{project_id}/instances/{instance_id}/database/detail @API RDS POST /v3/{project_id}/instances/{instance_id}/database/owner @API RDS POST /v3/{project_id}/instances/{instance_id}/database/update @API RDS DELETE /v3/{project_id}/instances/{instance_id}/database/{db_name}

func ResourcePgHba added in v1.61.0

func ResourcePgHba() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/hba-info @API RDS GET /v3/{project_id}/instances/{instance_id}/hba-info

func ResourcePgPluginParameter added in v1.64.3

func ResourcePgPluginParameter() *schema.Resource

@API RDS PUT /v3/{project_id}/instances/{instance_id}/parameter/{name} @API RDS GET /v3/{project_id}/instances/{instance_id}/parameter/{name} @API RDS GET /v3/{project_id}/instances

func ResourcePgSqlLimit added in v1.64.2

func ResourcePgSqlLimit() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/sql-limit @API RDS GET /v3/{project_id}/instances/{instance_id}/sql-limit @API RDS PUT /v3/{project_id}/instances/{instance_id}/sql-limit/update @API RDS PUT /v3/{project_id}/instances/{instance_id}/sql-limit/switch @API RDS DELETE /v3/{project_id}/instances/{instance_id}/sql-limit

func ResourceRdsConfiguration added in v1.35.2

func ResourceRdsConfiguration() *schema.Resource

ResourceRdsConfiguration is the impl for huaweicloud_rds_parametergroup resource @API RDS DELETE /v3/{project_id}/configurations/{id} @API RDS GET /v3/{project_id}/configurations/{id} @API RDS PUT /v3/{project_id}/configurations/{id} @API RDS POST /v3/{project_id}/configurations

func ResourceRdsInstance added in v1.35.2

func ResourceRdsInstance() *schema.Resource

ResourceRdsInstance is the impl for huaweicloud_rds_instance resource @API RDS POST /v3/{project_id}/instances @API RDS GET /v3/{project_id}/jobs @API RDS GET /v3/{project_id}/instances @API RDS PUT /v3/{project_id}/instances/{instance_id}/alias @API RDS PUT /v3/{project_id}/instances/{instance_id}/ssl @API RDS PUT /v3/{project_id}/instances/{instance_id}/ops-window @API RDS PUT /v3/{project_id}/instances/{instance_id}/failover/strategy @API RDS POST /v3/{project_id}/instances/{id}/tags/action @API RDS PUT /v3.1/{project_id}/configurations/{config_id}/apply @API RDS PUT /v3/{project_id}/instances/{instance_id}/configurations @API RDS POST /v3/{project_id}/instances/{instance_id}/action @API RDS PUT /v3/{project_id}/instances/{instance_id}/disk-auto-expansion @API RDS PUT /v3/{project_id}/instances/{instance_id}/backups/policy @API RDS GET /v3/{project_id}/instances/{instance_id}/disk-auto-expansion @API RDS GET /v3/{project_id}/instances/{instance_id}/backups/policy @API RDS GET /v3/{project_id}/instances/{instance_id}/configurations @API RDS GET /v3/{project_id}/instances/{instance_id}/binlog/clear-policy @API RDS GET /v3/{project_id}/instances/{instance_id}/msdtc/hosts @API RDS GET /v3/{project_id}/instances/{instance_id}/tde-status @API RDS GET /v3/{project_id}/instances/{instance_id}/second-level-monitor @API RDS PUT /v3/{project_id}/instances/{instance_id}/name @API RDS PUT /v3/{project_id}/instances/{instance_id}/failover/mode @API RDS PUT /v3/{project_id}/instances/{instance_id}/collations @API RDS POST /v3/{project_id}/instances/{instance_id}/msdtc/host @API RDS PUT /v3/{project_id}/instances/{instance_id}/tde @API RDS PUT /v3/{project_id}/instances/{instance_id}/readonly-status @API RDS PUT /v3/{project_id}/instances/{instance_id}/modify-dns @API RDS PUT /v3/{project_id}/instances/{instance_id}/second-level-monitor @API RDS PUT /v3/{project_id}/instances/{instance_id}/port @API RDS PUT /v3/{project_id}/instances/{instance_id}/ip @API RDS PUT /v3/{project_id}/instances/{instance_id}/security-group @API RDS POST /v3/{project_id}/instances/{instance_id}/password @API RDS PUT /v3/{project_id}/instances/{instance_id}/binlog/clear-policy @API RDS DELETE /v3/{project_id}/instances/{instance_id} @API EPS POST /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrat @API BSS GET /v2/orders/customer-orders/details/{order_id} @API BSS POST /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS DELETE /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS POST /v2/orders/subscriptions/resources/unsubscribe

func ResourceRdsLtsLog added in v1.63.0

func ResourceRdsLtsLog() *schema.Resource

@API RDS POST /v3/{project_id}/{engine}/instances/logs/lts-configs @API RDS GET /v3/{project_id}/{engine}/instances/logs/lts-configs @API RDS DELETE /v3/{project_id}/{engine}/instances/logs/lts-configs

func ResourceRdsPgPlugin added in v1.58.0

func ResourceRdsPgPlugin() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/extensions @API RDS GET /v3/{project_id}/instances @API RDS GET /v3/{project_id}/instances/{instance_id}/extensions @API RDS DELETE /v3/{project_id}/instances/{instance_id}/extensions

func ResourceRdsPgPluginUpdate added in v1.64.2

func ResourceRdsPgPluginUpdate() *schema.Resource

@API RDS PUT /v3/{project_id}/instances/{instance_id}/extensions

func ResourceRdsReadReplicaInstance added in v1.35.2

func ResourceRdsReadReplicaInstance() *schema.Resource

ResourceRdsReadReplicaInstance is the impl for huaweicloud_rds_read_replica_instance resource @API RDS POST /v3/{project_id}/instances @API RDS GET /v3/{project_id}/instances @API RDS GET /v3/{project_id}/jobs @API RDS PUT /v3/{project_id}/instances/{instance_id}/alias @API RDS PUT /v3/{project_id}/instances/{instance_id}/port @API RDS PUT /v3/{project_id}/instances/{instance_id}/security-group @API RDS POST /v3/{project_id}/instances/{instance_id}/action @API RDS POST /v3/{project_id}/instances/{id}/tags/action @API RDS PUT /v3/{project_id}/instances/{instance_id}/ip @API RDS PUT /v3/{project_id}/instances/{instance_id}/ssl @API RDS PUT /v3/{project_id}/instances/{instance_id}/disk-auto-expansion @API RDS PUT /v3/{project_id}/instances/{instance_id}/configurations @API RDS GET /v3/{project_id}/instances/{instance_id}/disk-auto-expansion @API RDS PUT /v3/{project_id}/instances/{instance_id}/name @API RDS DELETE /v3/{project_id}/instances/{instance_id} @API BSS GET /v2/orders/customer-orders/details/{order_id} @API BSS POST /v2/orders/suscriptions/resources/query @API BSS POST /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS DELETE /v2/orders/subscriptions/resources/autorenew/{instance_id} @API BSS POST /v2/orders/subscriptions/resources/unsubscribe

func ResourceRdsRestore added in v1.64.4

func ResourceRdsRestore() *schema.Resource

@API RDS POST /v3.1/{project_id}/instances/recovery @API RDS GET /v3/{project_id}/instances

func ResourceRecyclingPolicy added in v1.63.2

func ResourceRecyclingPolicy() *schema.Resource

@API RDS PUT /v3/{project_id}/instances/recycle-policy @API RDS GET /v3/{project_id}/instances/recycle-policy

func ResourceSQLAudit added in v1.56.0

func ResourceSQLAudit() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/auditlog-policy @API RDS PUT /v3/{project_id}/instances/{instance_id}/auditlog-policy

func ResourceSQLServerAccount added in v1.58.0

func ResourceSQLServerAccount() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/db_user @API RDS GET /v3/{project_id}/instances @API RDS DELETE /v3/{project_id}/instances/{instance_id}/db_user/{user_name} @API RDS GET /v3/{project_id}/instances/{instance_id}/db_user/detail?page=1&limit=100 @API RDS POST /v3/{project_id}/instances/{instance_id}/db_user/resetpwd

func ResourceSQLServerDatabase added in v1.58.0

func ResourceSQLServerDatabase() *schema.Resource

@API RDS POST /v3/{project_id}/instances/{instance_id}/database @API RDS GET /v3/{project_id}/instances @API RDS GET /v3/{project_id}/instances/{instance_id}/database/detail @API RDS DELETE /v3/{project_id}/instances/{instance_id}/database/{db_name}

func ResourceSQLServerDatabasePrivilege added in v1.58.0

func ResourceSQLServerDatabasePrivilege() *schema.Resource

@API RDS GET /v3/{project_id}/instances/{instance_id}/database/db_user @API RDS DELETE /v3/{project_id}/instances/{instance_id}/db_privilege @API RDS POST /v3/{project_id}/instances/{instance_id}/db_privilege @API RDS GET /v3/{project_id}/instances

func StoragetypeStorageTypeSchema added in v1.43.0

func StoragetypeStorageTypeSchema() *schema.Resource

Types

type CrossRegionBackupInstancesDSWrapper added in v1.63.2

type CrossRegionBackupInstancesDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*CrossRegionBackupInstancesDSWrapper) ListOffSiteInstances added in v1.63.2

func (w *CrossRegionBackupInstancesDSWrapper) ListOffSiteInstances() (*gjson.Result, error)

@API RDS GET /v3/backups/offsite-backup-instance

type CrossRegionBackupsDSWrapper added in v1.63.2

type CrossRegionBackupsDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*CrossRegionBackupsDSWrapper) ListOffSiteBackups added in v1.63.2

func (w *CrossRegionBackupsDSWrapper) ListOffSiteBackups() (*gjson.Result, error)

@API RDS GET /v3/{project_id}/offsite-backups

type PgSqlLimitsDSWrapper added in v1.64.2

type PgSqlLimitsDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*PgSqlLimitsDSWrapper) ListSqlLimit added in v1.64.2

func (w *PgSqlLimitsDSWrapper) ListSqlLimit() (*gjson.Result, error)

@API RDS GET /v3/{project_id}/instances/{instance_id}/sql-limit

type RecyclingInstancesDSWrapper added in v1.64.2

type RecyclingInstancesDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*RecyclingInstancesDSWrapper) ListRecycleInstances added in v1.64.2

func (w *RecyclingInstancesDSWrapper) ListRecycleInstances() (*gjson.Result, error)

@API RDS GET /v3/{project_id}/recycle-instances

type RestoreTimeRangesDSWrapper added in v1.64.3

type RestoreTimeRangesDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*RestoreTimeRangesDSWrapper) ListRestoreTimes added in v1.64.3

func (w *RestoreTimeRangesDSWrapper) ListRestoreTimes() (*gjson.Result, error)

@API RDS GET /v3/{project_id}/instances/{instance_id}/restore-time

type SqlAuditLogsDSWrapper added in v1.64.2

type SqlAuditLogsDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*SqlAuditLogsDSWrapper) ListAuditlogs added in v1.64.2

func (w *SqlAuditLogsDSWrapper) ListAuditlogs() (*gjson.Result, error)

@API RDS GET /v3/{project_id}/instances/{instance_id}/auditlog

Source Files

Jump to

Keyboard shortcuts

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