gaussdb

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MPL-2.0 Imports: 39 Imported by: 2

Documentation

Overview

Generated by PMS #75

Generated by PMS #87

Index

Constants

View Source
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 AccountPrivilegeDatabaseSchema() *schema.Resource

func DataSourceCassandraFlavors added in v1.30.0

func DataSourceCassandraFlavors() *schema.Resource

@API GaussDBforNoSQL GET /v3.1/{project_id}/flavors

func DataSourceGaussDBMysqlDehResource added in v1.41.0

func DataSourceGaussDBMysqlDehResource() *schema.Resource

@API GaussDBforMySQL GET /v3/{project_id}/dedicated-resources

func DataSourceGaussDBMysqlInstance added in v1.41.0

func DataSourceGaussDBMysqlInstance() *schema.Resource

@API GaussDBforMySQL GET /v3/{project_id}/instances @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}

func DataSourceGaussDBMysqlInstances added in v1.41.0

func DataSourceGaussDBMysqlInstances() *schema.Resource

@API GaussDBforMySQL GET /v3/{project_id}/instances @API GaussDBforMySQL GET /v3/{project_id}/instances/{instance_id}

func DataSourceGaussDBNoSQLFlavors added in v1.33.0

func DataSourceGaussDBNoSQLFlavors() *schema.Resource

@API GaussDBforNoSQL GET /v3.1/{project_id}/flavors

func DataSourceGaussRedisInstance added in v1.41.0

func DataSourceGaussRedisInstance() *schema.Resource

@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 DataSourceGaussdbMysqlBackups() *schema.Resource

func DataSourceGaussdbMysqlConfigurations added in v1.41.0

func DataSourceGaussdbMysqlConfigurations() *schema.Resource

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

func DataSourceGaussdbMysqlFlavors added in v1.41.0

func DataSourceGaussdbMysqlFlavors() *schema.Resource

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

func DataSourceGaussdbMysqlRestoreTimeRanges added in v1.63.1

func DataSourceGaussdbMysqlRestoreTimeRanges() *schema.Resource

func DataSourceGeminiDBDehResource added in v1.41.0

func DataSourceGeminiDBDehResource() *schema.Resource

@API GaussDBforNoSQL GET /v3/{project_id}/dedicated-resources

func DataSourceGeminiDBInstance added in v1.41.0

func DataSourceGeminiDBInstance() *schema.Resource

@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags

func DataSourceGeminiDBInstances added in v1.41.0

func DataSourceGeminiDBInstances() *schema.Resource

@API GaussDBforNoSQL GET /v3/{project_id}/instances @API GaussDBforNoSQL GET /v3/{project_id}/instances/{instance_id}/tags

func DataSourceOpenGaussInstance added in v1.41.0

func DataSourceOpenGaussInstance() *schema.Resource

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

func DataSourceOpenGaussInstances

func DataSourceOpenGaussInstances() *schema.Resource

@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

func ResourceGaussDBAccount() *schema.Resource

@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

func ResourceGaussDBAccountPrivilege() *schema.Resource

@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

func ResourceGaussDBDatabase() *schema.Resource

@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

func ResourceGaussDBInfluxInstanceV3() *schema.Resource

@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

func ResourceGaussDBInstance() *schema.Resource

@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

func ResourceGaussDBMongoInstanceV3() *schema.Resource

@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

func ResourceGaussDBMysqlBackup() *schema.Resource

@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

func ResourceGaussDBMysqlRestore() *schema.Resource

@API GaussDBforMySQL POST /v3/{project_id}/instances/restore @API GaussDBforMySQL GET /v3/{project_id}/jobs

func ResourceGaussDBMysqlTemplate added in v1.51.0

func ResourceGaussDBMysqlTemplate() *schema.Resource

@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

func ResourceGaussDBProxy() *schema.Resource

@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

func ResourceGaussDBSqlControlRule() *schema.Resource

@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

func ResourceGaussRedisEipAssociate() *schema.Resource

@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

func ResourceGaussRedisInstanceV3() *schema.Resource

@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

func ResourceGeminiDBInstanceV3() *schema.Resource

@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

func ResourceOpenGaussInstance() *schema.Resource

@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 HaMode added in v1.41.0

type HaMode 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

Jump to

Keyboard shortcuts

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