Documentation ¶
Overview ¶
Generated by PMS #75
Generated by PMS #87
Index ¶
- Constants
- func AccountPrivilegeDatabaseSchema() *schema.Resource
- func DataSourceCassandraFlavors() *schema.Resource
- func DataSourceGaussDBMysqlDehResource() *schema.Resource
- func DataSourceGaussDBMysqlInstance() *schema.Resource
- func DataSourceGaussDBMysqlInstances() *schema.Resource
- func DataSourceGaussDBNoSQLFlavors() *schema.Resource
- func DataSourceGaussRedisInstance() *schema.Resource
- func DataSourceGaussdbMysqlBackups() *schema.Resource
- func DataSourceGaussdbMysqlConfigurations() *schema.Resource
- func DataSourceGaussdbMysqlFlavors() *schema.Resource
- func DataSourceGaussdbMysqlRestoreTimeRanges() *schema.Resource
- func DataSourceGeminiDBDehResource() *schema.Resource
- func DataSourceGeminiDBInstance() *schema.Resource
- func DataSourceGeminiDBInstances() *schema.Resource
- func DataSourceOpenGaussInstance() *schema.Resource
- func DataSourceOpenGaussInstances() *schema.Resource
- func GaussDBInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
- func GaussRedisInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
- func GaussRedisInstanceUpdateRefreshFunc(client *golangsdk.ServiceClient, instanceID string, states []string) resource.StateRefreshFunc
- func GeminiDBInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
- func GeminiDBInstanceUpdateRefreshFunc(client *golangsdk.ServiceClient, instanceID, state string) resource.StateRefreshFunc
- func OpenGaussInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
- func ResourceGaussDBAccount() *schema.Resource
- func ResourceGaussDBAccountPrivilege() *schema.Resource
- func ResourceGaussDBDatabase() *schema.Resource
- func ResourceGaussDBInfluxInstanceV3() *schema.Resource
- func ResourceGaussDBInstance() *schema.Resource
- func ResourceGaussDBMongoInstanceV3() *schema.Resource
- func ResourceGaussDBMysqlBackup() *schema.Resource
- func ResourceGaussDBMysqlRestore() *schema.Resource
- func ResourceGaussDBMysqlTemplate() *schema.Resource
- func ResourceGaussDBProxy() *schema.Resource
- func ResourceGaussDBSqlControlRule() *schema.Resource
- func ResourceGaussRedisEipAssociate() *schema.Resource
- func ResourceGaussRedisInstanceV3() *schema.Resource
- func ResourceGeminiDBInstanceV3() *schema.Resource
- func ResourceOpenGaussInstance() *schema.Resource
- type ConsistencyType
- type HaMode
- type MysqlBackupsDSWrapper
- type MysqlRestoreTimeRangesDSWrapper
Constants ¶
const ( HaModeDistributed HaMode = "enterprise" HAModeCentralized HaMode = "centralization_standard" ConsistencyTypeStrong ConsistencyType = "strong" ConsistencyTypeEventual ConsistencyType = "eventual" )
Variables ¶
This section is empty.
Functions ¶
func AccountPrivilegeDatabaseSchema ¶ added in v1.51.0
func DataSourceCassandraFlavors ¶ added in v1.30.0
@API GaussDBforNoSQL GET /v3.1/{project_id}/flavors
func DataSourceGaussDBMysqlDehResource ¶ added in v1.41.0
@API GaussDBforMySQL GET /v3/{project_id}/dedicated-resources
func DataSourceGaussDBMysqlInstance ¶ added in v1.41.0
@API GaussDBforMySQL GET /v3/{project_id}/instances @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}
func DataSourceGaussDBMysqlInstances ¶ added in v1.41.0
@API GaussDBforMySQL GET /v3/{project_id}/instances @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}
func DataSourceGaussDBNoSQLFlavors ¶ added in v1.33.0
@API GaussDBforNoSQL GET /v3.1/{project_id}/flavors
func DataSourceGaussRedisInstance ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags
func DataSourceGaussdbMysqlBackups ¶ added in v1.63.1
func DataSourceGaussdbMysqlConfigurations ¶ added in v1.41.0
@API GaussDBforMySQL GET /v3/{project_id}/configurations
func DataSourceGaussdbMysqlFlavors ¶ added in v1.41.0
@API GaussDBforMySQL GET /v3/{project_id}/flavors/{database_name}
func DataSourceGaussdbMysqlRestoreTimeRanges ¶ added in v1.63.1
func DataSourceGeminiDBDehResource ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/dedicated-resources
func DataSourceGeminiDBInstance ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags
func DataSourceGeminiDBInstances ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags
func DataSourceOpenGaussInstance ¶ added in v1.41.0
@API GaussDB GET /v3/{project_id}/instances
func DataSourceOpenGaussInstances ¶
@API GaussDB GET /v3/{project_id}/instances
func GaussDBInstanceStateRefreshFunc ¶ added in v1.41.0
func GaussDBInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
func GaussRedisInstanceStateRefreshFunc ¶ added in v1.41.0
func GaussRedisInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
func GaussRedisInstanceUpdateRefreshFunc ¶ added in v1.41.0
func GaussRedisInstanceUpdateRefreshFunc(client *golangsdk.ServiceClient, instanceID string, states []string) resource.StateRefreshFunc
func GeminiDBInstanceStateRefreshFunc ¶ added in v1.41.0
func GeminiDBInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
func GeminiDBInstanceUpdateRefreshFunc ¶ added in v1.41.0
func GeminiDBInstanceUpdateRefreshFunc(client *golangsdk.ServiceClient, instanceID, state string) resource.StateRefreshFunc
func OpenGaussInstanceStateRefreshFunc ¶ added in v1.41.0
func OpenGaussInstanceStateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc
func ResourceGaussDBAccount ¶ added in v1.51.0
@API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/db-users @API GaussDBforMySQL GET /v3/{project_id}/jobs @API GaussDBforMySQL PUT /v3/{project_id}/instances/{instance_id}/db-users/comment @API GaussDBforMySQL PUT /v3/{project_id}/instances/{instance_id}/db-users/password @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/db-users @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id}/db-users
func ResourceGaussDBAccountPrivilege ¶ added in v1.51.0
@API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/db-users/privilege @API GaussDBforMySQL GET /v3/{project_id}/jobs @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/db-users @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id}/db-users/privilege
func ResourceGaussDBDatabase ¶ added in v1.51.0
@API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/databases @API GaussDBforMySQL GET /v3/{project_id}/jobs @API GaussDBforMySQL PUT /v3/{project_id}/instances/{instance_id}/databases/comment @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/databases @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id}/databases
func ResourceGaussDBInfluxInstanceV3 ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/dedicated-resources @API GaussDBforNoSQL POST /v3/{project_id}/instances @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/tags/action @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/name @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/password @API GaussDBforNoSQL PUT /v3/{project_id}/configurations/{config_id}/apply @API GaussDBforNoSQL GET /v3/{project_id}/configurations/{config_id} @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/configurations @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/extend-volume @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/enlarge-node @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/reduce-node @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/resize @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/security-group @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/backups/policy @API GaussDBforNoSQL DELETE /v3/{project_id}/instances/{instance_id} @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 ResourceGaussDBInstance ¶ added in v1.41.0
@API GaussDBforMySQL GET /v3/{project_id}/instances @API GaussDBforMySQL GET /v3/{project_id}/configurations @API GaussDBforNoSQL GET /v3/{project_id}/dedicated-resources @API GaussDBforNoSQL POST /v3/{project_id}/instances @API GaussDBforMySQL POST /v3/{project_id}/instance/{instance_id}/audit-log/switch @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/sql-filter/switch @API GaussDBforMySQL PUT /v3/{project_id}/instances/{instance_id}/backups/policy/update @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/proxy @API GaussDBforMySQL GET /v3/{project_id}/jobs @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/tags/action @API GaussDBforMySQL PUT /v3/{project_id}/instances/{instance_id}/name @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/password @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/action @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/nodes/enlarge @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id}/nodes/{nodeID} @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/volume/extend @API GaussDBforMySQL PUT /v3/{project_id}/instances/{instance_id}/backups/policy/update @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id}/proxy @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/proxy/enlarge @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id} @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/proxy @API GaussDBforMySQL GET /v3/{project_id}/instance/{instance_id}/audit-log/switch-status @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/sql-filter/switch @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/tags @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id} @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 ResourceGaussDBMongoInstanceV3 ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/dedicated-resources @API GaussDBforNoSQL POST /v3/{project_id}/instances @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/tags/action @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/name @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/password @API GaussDBforNoSQL PUT /v3/{project_id}/configurations/{config_id}/apply @API GaussDBforNoSQL GET /v3/{project_id}/configurations/{config_id} @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/configurations @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/extend-volume @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/enlarge-node @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/reduce-node @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/resize @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/security-group @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/backups/policy @API GaussDBforNoSQL DELETE /v3/{project_id}/instances/{instance_id} @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 ResourceGaussDBMysqlBackup ¶ added in v1.63.1
@API GaussDBforMySQL POST /v3/{project_id}/backups/create @API GaussDBforMySQL GET /v3/{project_id}/instances @API GaussDBforMySQL GET /v3/{project_id}/backups @API GaussDBforMySQL DELETE /v3/{project_id}/backups/{backup_id}
func ResourceGaussDBMysqlRestore ¶ added in v1.63.1
@API GaussDBforMySQL POST /v3/{project_id}/instances/restore @API GaussDBforMySQL GET /v3/{project_id}/jobs
func ResourceGaussDBMysqlTemplate ¶ added in v1.51.0
@API GaussDBforMySQL POST /v3/{project_id}/configurations @API GaussDBforMySQL PUT /v3/{project_id}/configurations/{configuration_id} @API GaussDBforMySQL GET /v3/{project_id}/configurations/{configuration_id} @API GaussDBforMySQL DELETE /v3/{project_id}/configurations/{configuration_id}
func ResourceGaussDBProxy ¶ added in v1.30.0
@API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/proxy @API GaussDBforMySQL GET /v3/{project_id}/jobs @API GaussDBforMySQL POST /v3/{project_id}/instances/{instance_id}/proxy/enlarge @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id}/proxy
func ResourceGaussDBSqlControlRule ¶ added in v1.51.0
@API GaussDBforMySQL PUT /v3/{project_id}/instances/{instance_id}/sql-filter/rules @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/sql-filter/rules @API GaussDBforMySQL DELETE /v3/{project_id}/instances/{instance_id}/sql-filter/rules
func ResourceGaussRedisEipAssociate ¶ added in v1.51.0
@API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/nodes/{node_id}/public-ip @API GaussDBforNoSQL GET /v3/{project_id}/instances
func ResourceGaussRedisInstanceV3 ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL POST /v3/{project_id}/instances @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/tags/action @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/name @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/password @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/ssl-option @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/extend-volume @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/resize @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/security-group @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/enlarge-node @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/reduce-node @API GaussDBforNoSQL DELETE /v3/{project_id}/instances/{instance_id} @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 ResourceGeminiDBInstanceV3 ¶ added in v1.41.0
@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/dedicated-resources @API GaussDBforNoSQL POST /v3/{project_id}/instances @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/tags/action @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/name @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/password @API GaussDBforNoSQL PUT /v3/{project_id}/configurations/{config_id}/apply @API GaussDBforNoSQL GET /v3/{project_id}/configurations/{config_id} @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/configurations @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/extend-volume @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/enlarge-node @API GaussDBforNoSQL POST /v3/{project_id}/instances/{instance_id}/reduce-node @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/resize @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/security-group @API GaussDBforNoSQL PUT /v3/{project_id}/instances/{instance_id}/backups/policy @API GaussDBforNoSQL DELETE /v3/{project_id}/instances/{instance_id} @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 ResourceOpenGaussInstance ¶ added in v1.41.0
@API GaussDB GET /v3/{project_id}/instances @API GaussDB POST /v3/{project_id}/instances @API GaussDB PUT /v3/{project_id}/instances/{instance_id}/name @API GaussDB POST /v3/{project_id}/instances/{instance_id}/password @API GaussDB POST /v3/{project_id}/instances/{instance_id}/action @API GaussDB PUT /v3/{project_id}/instances/{instance_id}/backups/policy @API GaussDB 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
Types ¶
type ConsistencyType ¶ added in v1.41.0
type ConsistencyType string
type MysqlBackupsDSWrapper ¶ added in v1.63.1
type MysqlBackupsDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*MysqlBackupsDSWrapper) ShowGaussMySqlBackupList ¶ added in v1.63.1
func (w *MysqlBackupsDSWrapper) ShowGaussMySqlBackupList() (*gjson.Result, error)
@API GaussDBforMySQL GET /v3/{project_id}/backups
type MysqlRestoreTimeRangesDSWrapper ¶ added in v1.63.1
type MysqlRestoreTimeRangesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*MysqlRestoreTimeRangesDSWrapper) ShowBackupRestoreTime ¶ added in v1.63.1
func (w *MysqlRestoreTimeRangesDSWrapper) ShowBackupRestoreTime() (*gjson.Result, error)
@API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}/restore-time
Source Files ¶
- common.go
- data_source_huaweicloud_gaussdb_cassandra_dedicated_resource.go
- data_source_huaweicloud_gaussdb_cassandra_flavors.go
- data_source_huaweicloud_gaussdb_cassandra_instance.go
- data_source_huaweicloud_gaussdb_cassandra_instances.go
- data_source_huaweicloud_gaussdb_mysql_backups.go
- data_source_huaweicloud_gaussdb_mysql_configuration.go
- data_source_huaweicloud_gaussdb_mysql_dedicated_resource.go
- data_source_huaweicloud_gaussdb_mysql_flavors.go
- data_source_huaweicloud_gaussdb_mysql_instance.go
- data_source_huaweicloud_gaussdb_mysql_instances.go
- data_source_huaweicloud_gaussdb_mysql_restore_time_ranges.go
- data_source_huaweicloud_gaussdb_nosql_flavors.go
- data_source_huaweicloud_gaussdb_opengauss_instance.go
- data_source_huaweicloud_gaussdb_opengauss_instances.go
- data_source_huaweicloud_gaussdb_redis_instance.go
- resource_huaweicloud_gaussdb_cassandra_instance.go
- resource_huaweicloud_gaussdb_influx_instance.go
- resource_huaweicloud_gaussdb_mongo_instance.go
- resource_huaweicloud_gaussdb_mysql_account.go
- resource_huaweicloud_gaussdb_mysql_account_privilege.go
- resource_huaweicloud_gaussdb_mysql_backup.go
- resource_huaweicloud_gaussdb_mysql_database.go
- resource_huaweicloud_gaussdb_mysql_instance.go
- resource_huaweicloud_gaussdb_mysql_parameter_template.go
- resource_huaweicloud_gaussdb_mysql_proxy.go
- resource_huaweicloud_gaussdb_mysql_restore.go
- resource_huaweicloud_gaussdb_mysql_sql_control_rule.go
- resource_huaweicloud_gaussdb_opengauss_instance.go
- resource_huaweicloud_gaussdb_redis_eip_associate.go
- resource_huaweicloud_gaussdb_redis_instance.go