Documentation ¶
Overview ¶
Generated by PMS #3
Generated by PMS #4
Generated by PMS #151
Index ¶
- func BackupDatastoreSchema() *schema.Resource
- func DataSourceDDSBackups() *schema.Resource
- func DataSourceDDSFlavorV3() *schema.Resource
- func DataSourceDDSMigrateAvailabilityZones() *schema.Resource
- func DataSourceDdsDatabaseVersions() *schema.Resource
- func DataSourceDdsInstance() *schema.Resource
- func DataSourceDdsParameterTemplates() *schema.Resource
- func DataSourceDdsRestoreTimeRanges() *schema.Resource
- func DataSourceDdsStorageTypes() *schema.Resource
- func DateSourceDDSDatabaseRoles() *schema.Resource
- func DateSourceDDSDatabaseUser() *schema.Resource
- func JobStateRefreshFunc(client *golangsdk.ServiceClient, jobId string) resource.StateRefreshFunc
- func ParameterTemplateParameterSchema() *schema.Resource
- func ResourceDDSInstanceBindEIP() *schema.Resource
- func ResourceDDSInstanceModifyIP() *schema.Resource
- func ResourceDDSInstanceParametersModify() *schema.Resource
- func ResourceDDSInstanceRestart() *schema.Resource
- func ResourceDDSInstanceRestore() *schema.Resource
- func ResourceDatabaseRole() *schema.Resource
- func ResourceDatabaseUser() *schema.Resource
- func ResourceDdsAuditLogPolicy() *schema.Resource
- func ResourceDdsBackup() *schema.Resource
- func ResourceDdsInstanceV3() *schema.Resource
- func ResourceDdsLtsLog() *schema.Resource
- func ResourceDdsParameterTemplate() *schema.Resource
- func UpdateSecondsLevelMonitoring(ctx context.Context, client *golangsdk.ServiceClient, timeout time.Duration, ...) error
- func UpdateSlowLogStatus(ctx context.Context, client *golangsdk.ServiceClient, timeout time.Duration, ...) error
- type DatabaseVersionsDSWrapper
- type ParameterTemplatesDSWrapper
- type RestoreTimeRangesDSWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupDatastoreSchema ¶ added in v1.46.0
func DataSourceDDSBackups ¶ added in v1.64.3
@API DDS GET /v3/{project_id}/backups
func DataSourceDDSFlavorV3 ¶
@API DDS GET /v3.1/{project_id}/flavors
func DataSourceDDSMigrateAvailabilityZones ¶ added in v1.64.3
@API DDS GET /v3/{project_id}/instances/{instance_id}/migrate/az
func DataSourceDdsDatabaseVersions ¶ added in v1.64.3
func DataSourceDdsInstance ¶ added in v1.44.0
@API DDS GET /v3/{project_id}/instances
func DataSourceDdsParameterTemplates ¶ added in v1.64.3
func DataSourceDdsRestoreTimeRanges ¶ added in v1.64.2
func DataSourceDdsStorageTypes ¶ added in v1.62.0
@API DDS GET /v3/{project_id}/storage-type
func DateSourceDDSDatabaseRoles ¶ added in v1.64.4
@API DDS GET /v3/{project_id}/instances/{instance_id}/db-roles
func DateSourceDDSDatabaseUser ¶ added in v1.64.3
@API DDS GET /v3/{project_id}/instances/{instance_id}/db-user/detail
func JobStateRefreshFunc ¶ added in v1.40.1
func JobStateRefreshFunc(client *golangsdk.ServiceClient, jobId string) resource.StateRefreshFunc
func ParameterTemplateParameterSchema ¶ added in v1.48.0
func ResourceDDSInstanceBindEIP ¶ added in v1.64.2
@API DDS POST /v3/{project_id}/nodes/{node_id}/bind-eip @API DDS POST /v3/{project_id}/nodes/{node_id}/unbind-eip @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/jobs @API EIP GET /v1/{project_id}/publicips
func ResourceDDSInstanceModifyIP ¶ added in v1.64.1
@API DDS POST /v3/{project_id}/instances/{instance_id}/modify-internal-ip @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/jobs
func ResourceDDSInstanceParametersModify ¶ added in v1.64.2
@API DDS PUT /v3/{project_id}/instances/{instance_id}/configurations @API DDS GET /v3/{project_id}/instances/{instance_id}/configurations @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/jobs
func ResourceDDSInstanceRestart ¶ added in v1.64.0
@API DDS POST /v3/{project_id}/instances/{instance_id}/restart @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/jobs
func ResourceDDSInstanceRestore ¶ added in v1.64.3
@API DDS POST /v3/{project_id}/instances/recovery @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/jobs
func ResourceDatabaseRole ¶ added in v1.39.0
@API DDS POST /v3/{project_id}/instances/{instance_id}/db-role @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/instances/{instance_id}/db-roles @API DDS DELETE /v3/{project_id}/instances/{instance_id}/db-role
func ResourceDatabaseUser ¶ added in v1.39.0
@API DDS POST /v3/{project_id}/instances/{instance_id}/db-user @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/instances/{instance_id}/db-user/detail @API DDS PUT /v3/{project_id}/instances/{instance_id}/reset-password @API DDS DELETE /v3/{project_id}/instances/{instance_id}/db-user
func ResourceDdsAuditLogPolicy ¶ added in v1.48.0
@API DDS POST /v3/{project_id}/instances/{instance_id}/auditlog-policy @API DDS GET /v3/{project_id}/instances/{instance_id}/auditlog-policy @API DDS GET /v3/{project_id}/instances
func ResourceDdsBackup ¶ added in v1.46.0
@API DDS GET /v3/{project_id}/backups @API DDS POST /v3/{project_id}/backups @API DDS DELETE /v3/{project_id}/backups/{backup_id} @API DDS GET /v3/{project_id}/instances @API DDS GET /v3/{project_id}/jobs
func ResourceDdsInstanceV3 ¶
@API DDS POST /v3/{project_id}/instances @API DDS GET /v3/{project_id}/instances @API DDS POST /v3/{project_id}/instances/{id}/tags/action @API DDS GET /v3/{project_id}/instances/{id}/tags @API DDS PUT /v3/{project_id}/instances/{instance_id}/modify-name @API DDS PUT /v3/{project_id}/instances/{instance_id}/reset-password @API DDS PUT /v3/{project_id}/instances/{instance_id}/modify-security-group @API DDS PUT /v3/{project_id}/instances/{instance_id}/switch-ssl @API DDS PUT /v3/{project_id}/instances/{instance_id}/modify-port @API DDS POST /v3/{project_id}/instances/{instance_id}/enlarge-volume @API DDS POST /v3/{project_id}/instances/{instance_id}/enlarge @API DDS POST /v3/{project_id}/instances/{instance_id}/resize @API DDS GET /v3/{project_id}/jobs @API DDS DELETE /v3/{project_id}/instances/{serverID} @API DDS PUT /v3/{project_id}/instances/{instance_id}/remark @API DDS POST /v3/{project_id}/instances/{instance_id}/migrate @API DDS GET /v3/{project_id}/instances/{instance_id}/backups/policy @API DDS PUT /v3/{project_id}/instances/{instance_id}/backups/policy @API DDS GET /v3/{project_id}/instances/{instance_id}/monitoring-by-seconds/switch @API DDS PUT /v3/{project_id}/instances/{instance_id}/monitoring-by-seconds/switch @API DDS PUT /v3/{project_id}/instances/{instance_id}/replica-set/name @API DDS GET /v3/{project_id}/instances/{instance_id}/replica-set/name @API DDS PUT /v3/{project_id}/configurations/{config_id}/apply @API DDS PUT /v3/{project_id}/instances/{instance_id}/slowlog-desensitization/{status} @API DDS GET /v3/{project_id}/instances/{instance_id}/slowlog-desensitization/status @API DDS PUT /v3/{project_id}/instances/{instance_id}/balancer/active-window @API DDS PUT /v3/{project_id}/instances/{instance_id}/balancer/{action} @API DDS GET /v3/{project_id}/instances/{instance_id}/balancer @API DDS POST /v3/{project_id}/instances/{instance_id}/replicaset-node @API DDS POST /v3/{project_id}/instances/{instance_id}/client-network @API DDS GET /v3/{project_id}/instances/{instance_id}/client-network @API DDS PUT /v3/{project_id}/instances/{instance_id}/maintenance-window @API BSS POST /v2/orders/subscriptions/resources/unsubscribe @API BSS GET /v2/orders/customer-orders/details/{order_id} @API BSS POST /v2/orders/suscriptions/resources/query
func ResourceDdsLtsLog ¶ added in v1.62.0
@API DDS POST /v3/{project_id}/instances/logs/lts-configs @API DDS GET /v3/{project_id}/instances/logs/lts-configs @API DDS DELETE /v3/{project_id}/instances/logs/lts-configs
func ResourceDdsParameterTemplate ¶ added in v1.48.0
@API DDS POST /v3/{project_id}/configurations @API DDS DELETE /v3/{project_id}/configurations/{config_id} @API DDS GET /v3/{project_id}/configurations/{config_id} @API DDS PUT /v3/{project_id}/configurations/{config_id}
func UpdateSecondsLevelMonitoring ¶ added in v1.67.0
func UpdateSlowLogStatus ¶ added in v1.67.0
Types ¶
type DatabaseVersionsDSWrapper ¶ added in v1.64.3
type DatabaseVersionsDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*DatabaseVersionsDSWrapper) ListDatastoreVersions ¶ added in v1.64.3
func (w *DatabaseVersionsDSWrapper) ListDatastoreVersions() (*gjson.Result, error)
@API DDS GET /v3/{project_id}/datastores/{datastore_name}/versions
type ParameterTemplatesDSWrapper ¶ added in v1.64.3
type ParameterTemplatesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*ParameterTemplatesDSWrapper) ListConfigurations ¶ added in v1.64.3
func (w *ParameterTemplatesDSWrapper) ListConfigurations() (*gjson.Result, error)
@API DDS GET /v3/{project_id}/configurations
type RestoreTimeRangesDSWrapper ¶ added in v1.64.2
type RestoreTimeRangesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*RestoreTimeRangesDSWrapper) ListRestoreTimes ¶ added in v1.64.2
func (w *RestoreTimeRangesDSWrapper) ListRestoreTimes() (*gjson.Result, error)
@API DDS GET /v3/{project_id}/instances/{instance_id}/restore-time
Source Files ¶
- common.go
- data_source_huaweicloud_dds_backups.go
- data_source_huaweicloud_dds_database_roles.go
- data_source_huaweicloud_dds_database_users.go
- data_source_huaweicloud_dds_database_versions.go
- data_source_huaweicloud_dds_flavors_v3.go
- data_source_huaweicloud_dds_instances.go
- data_source_huaweicloud_dds_migrate_availability_zones.go
- data_source_huaweicloud_dds_parameter_templates.go
- data_source_huaweicloud_dds_restore_time_ranges.go
- data_source_huaweicloud_dds_storage_types.go
- resource_huaweicloud_dds_audit_log_policy.go
- resource_huaweicloud_dds_backup.go
- resource_huaweicloud_dds_database_role.go
- resource_huaweicloud_dds_database_user.go
- resource_huaweicloud_dds_instance_eip_associate.go
- resource_huaweicloud_dds_instance_internal_ip_modify.go
- resource_huaweicloud_dds_instance_parameters_modify.go
- resource_huaweicloud_dds_instance_restart.go
- resource_huaweicloud_dds_instance_restore.go
- resource_huaweicloud_dds_instance_v3.go
- resource_huaweicloud_dds_lts_log.go
- resource_huaweicloud_dds_parameter_template.go