dcs

package
v1.78.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: MPL-2.0 Imports: 27 Imported by: 5

Documentation

Overview

Generated by PMS #116

Generated by PMS #30

Generated by PMS #153

Generated by PMS #36

Generated by PMS #708

Generated by PMS #687

Generated by PMS #686

Generated by PMS #691

Generated by PMS #690

Generated by PMS #688

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceBackups added in v1.60.0

func DataSourceBackups() *schema.Resource

@API DCS GET /v2/{project_id}/instances/{instance_id}/backups

func DataSourceDcsAccounts added in v1.63.2

func DataSourceDcsAccounts() *schema.Resource

func DataSourceDcsBigkeyAnalyses added in v1.63.0

func DataSourceDcsBigkeyAnalyses() *schema.Resource

func DataSourceDcsDiagnosisTasks added in v1.64.2

func DataSourceDcsDiagnosisTasks() *schema.Resource

func DataSourceDcsFlavorsV2

func DataSourceDcsFlavorsV2() *schema.Resource

DataSourceDcsFlavorsV2 the function is used for data source 'huaweicloud_dcs_flavors'. @API DCS GET /v2/{project_id}/flavors

func DataSourceDcsHotkeyAnalyses added in v1.63.0

func DataSourceDcsHotkeyAnalyses() *schema.Resource

func DataSourceDcsInstance added in v1.44.0

func DataSourceDcsInstance() *schema.Resource

@API DCS GET /v2/{project_id}/instances

func DataSourceDcsInstanceExpiredKeyScanHistories added in v1.77.3

func DataSourceDcsInstanceExpiredKeyScanHistories() *schema.Resource

func DataSourceDcsInstanceNodes added in v1.77.0

func DataSourceDcsInstanceNodes() *schema.Resource

func DataSourceDcsInstanceShards added in v1.77.0

func DataSourceDcsInstanceShards() *schema.Resource

func DataSourceDcsMaintainWindow

func DataSourceDcsMaintainWindow() *schema.Resource

@API DCS GET /v2/instances/maintain-windows

func DataSourceDcsMigrationTaskLogs added in v1.77.0

func DataSourceDcsMigrationTaskLogs() *schema.Resource

func DataSourceDcsMigrationTasks added in v1.77.0

func DataSourceDcsMigrationTasks() *schema.Resource

func DataSourceDcsQuotas added in v1.77.0

func DataSourceDcsQuotas() *schema.Resource

func DataSourceTemplateDetail added in v1.57.0

func DataSourceTemplateDetail() *schema.Resource

@API DCS GET /v2/{project_id}/config-templates/{template_id}

func DataSourceTemplates added in v1.57.0

func DataSourceTemplates() *schema.Resource

@API DCS GET /v2/{project_id}/config-templates

func GetRestoreRecord added in v1.63.0

func GetRestoreRecord(instanceID, restoreID string, client *golangsdk.ServiceClient) (interface{}, error)

func InstanceInstanceSchema added in v1.49.0

func InstanceInstanceSchema() *schema.Resource

func ResourceBigKeyAnalysis added in v1.61.1

func ResourceBigKeyAnalysis() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/bigkey-task @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/instances/{instance_id}/bigkey-task/{bigkey_id} @API DCS DELETE /v2/{project_id}/instances/{instance_id}/bigkey-task/{bigkey_id}

func ResourceCustomTemplate added in v1.57.0

func ResourceCustomTemplate() *schema.Resource

@API DCS POST /v2/{project_id}/config-templates @API DCS PUT /v2/{project_id}/config-templates/{template_id} @API DCS GET /v2/{project_id}/config-templates/{template_id} @API DCS DELETE /v2/{project_id}/config-templates/{template_id}

func ResourceDcsAccount added in v1.62.0

func ResourceDcsAccount() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/accounts @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/instances/{instance_id}/accounts @API DCS PUT /v2/{project_id}/instances/{instance_id}/accounts/{account_id}/password/reset @API DCS PUT /v2/{project_id}/instances/{instance_id}/accounts/{account_id}/role @API DCS PUT /v2/{project_id}/instances/{instance_id}/accounts/{account_id} @API DCS DELETE /v2/{project_id}/instances/{instance_id}/accounts/{account_id} @API DCS GET /v2/{project_id}/instances/{instance_id}/tasks

func ResourceDcsBackup added in v1.48.0

func ResourceDcsBackup() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/backups @API DCS GET /v2/{project_id}/instances/{instance_id}/backups @API DCS DELETE /v2/{project_id}/instances/{instance_id}/backups/{backup_id}

func ResourceDcsBackupImportTask added in v1.77.0

func ResourceDcsBackupImportTask() *schema.Resource

@API DCS POST /v2/{project_id}/migration-task @API DCS GET /v2/{project_id}/migration-task/{task_id} @API DCS DELETE /v2/{project_id}/migration-tasks/delete @API DCS GET /v2/{project_id}/migration-tasks

func ResourceDcsClusterReplicaSwitch added in v1.77.0

func ResourceDcsClusterReplicaSwitch() *schema.Resource

@API DCS POST /v2/{project_id}/instance/{instance_id}/groups/{group_id}/replications/{node_id}/async-switchover @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/jobs/{job_id}

func ResourceDcsInstance

func ResourceDcsInstance() *schema.Resource

@API DCS GET /v2/available-zones @API DCS POST /v2/{project_id}/instances @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS PUT /v2/{project_id}/instance/{instance_id}/whitelist @API DCS GET /v2/{project_id}/instance/{instance_id}/whitelist @API DCS PUT /v2/{project_id}/instances/{instance_id}/async-configs @API DCS PUT /v2/{project_id}/{instance_id}/client-ip-transparent-transmission @API DCS GET /v2/{project_id}/jobs/{job_id} @API DCS PUT /v2/{project_id}/instances/{instance_id}/bigkey/autoscan @API DCS PUT /v2/{project_id}/instances/{instance_id}/hotkey/autoscan @API DCS GET /v2/{project_id}/instances/{instance_id}/bigkey/autoscan @API DCS GET /v2/{project_id}/instances/{instance_id}/hotkey/autoscan @API DCS PUT /v2/{project_id}/instances/{instance_id}/scan-expire-keys/autoscan-config @API DCS GET /v2/{project_id}/instances/{instance_id}/scan-expire-keys/autoscan-config @API DCS GET /v2/{project_id}/instances/{instance_id}/configs @API DCS PUT /v2/{project_id}/instances/status @API DCS PUT /v2/{project_id}/instances/{instance_id}/ssl @API DCS GET /v2/{project_id}/instances/{instance_id}/ssl @API DCS GET /v2/{project_id}/instances/{instance_id}/tags @API DCS PUT /v2/{project_id}/instances/{instance_id} @API DCS POST /v2/{project_id}/instances/{instance_id}/password/reset @API DCS POST /v2/{project_id}/instances/{instance_id}/resize @API DCS POST /v3/{project_id}/instances/{instance_id}/tags/action @API EPS POST /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrat @API DCS DELETE /v2/{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 ResourceDcsInstanceBandwidthModify added in v1.77.0

func ResourceDcsInstanceBandwidthModify() *schema.Resource

@API DCS PUT /v2/{project_id}/instances/{instance_id}/bandwidth @API DCS GET /v2/{project_id}/instances/{instance_id}

func ResourceDcsInstanceExpiredKeyScanTask added in v1.77.0

func ResourceDcsInstanceExpiredKeyScanTask() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/scan-expire-keys-task @API DCS GET /v2/{project_id}/instances/{instance_id}/auto-expire/histories

func ResourceDcsInstanceNodeIpRemove added in v1.77.0

func ResourceDcsInstanceNodeIpRemove() *schema.Resource

@API DCS DELETE /v2/{project_id}/instances/{instance_id}/groups/{group_id}/replications/{node_id}/remove-ip @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/jobs/{job_id}

func ResourceDcsInstancePublicAccess added in v1.77.0

func ResourceDcsInstancePublicAccess() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/public-ip @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/jobs/{job_id} @API DCS DELETE /v2/{project_id}/instances/{instance_id}/public-ip

func ResourceDcsInstanceShardBandwidth added in v1.77.0

func ResourceDcsInstanceShardBandwidth() *schema.Resource

@API DCS PUT /v2/{project_id}/instances/{instance_id}/bandwidths @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/jobs/{job_id} @API DCS GET /v2/{project_id}/instances/{instance_id}/bandwidths

func ResourceDcsMasterStandbySwitch added in v1.77.0

func ResourceDcsMasterStandbySwitch() *schema.Resource

@API DCS PUT /v2/{project_id}/instances/{instance_id}/async-swap @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/jobs/{job_id}

func ResourceDcsMigrationTaskExchangeIp added in v1.77.0

func ResourceDcsMigrationTaskExchangeIp() *schema.Resource

@API DCS POST /v2/{project_id}/migration-task/{task_id}/exchange-ip @API DCS GET /v2/{project_id}/migration-task/{task_id}

func ResourceDcsMigrationTaskRollbackIp added in v1.77.0

func ResourceDcsMigrationTaskRollbackIp() *schema.Resource

@API DCS POST /v2/{project_id}/migration-task/{task_id}/rollback-ip @API DCS GET /v2/{project_id}/migration-task/{task_id}

func ResourceDcsMigrationTaskStop added in v1.77.0

func ResourceDcsMigrationTaskStop() *schema.Resource

@API DCS POST /v2/{project_id}/migration-task/{task_id}/stop @API DCS GET /v2/{project_id}/migration-task/{task_id}

func ResourceDcsOnlineDataMigrationTask added in v1.77.0

func ResourceDcsOnlineDataMigrationTask() *schema.Resource

@API DCS POST /v2/{project_id}/migration/instance @API DCS GET /v2/{project_id}/jobs/{job_id} @API DCS POST /v2/{project_id}/migration/{task_id}/task @API DCS GET /v2/{project_id}/migration-task/{task_id} @API DCS GET /v2/{project_id}/migration-tasks @API DCS POST /v2/{project_id}/migration-task/{task_id}/stop @API DCS DELETE /v2/{project_id}/migration-tasks/delete

func ResourceDcsOnlineDataMigrationTaskRestart added in v1.77.0

func ResourceDcsOnlineDataMigrationTaskRestart() *schema.Resource

@API DCS POST /v2/{project_id}/migration-tasks/batch-restart @API DCS GET /v2/{project_id}/migration-task/{task_id}

func ResourceDcsRestore added in v1.63.0

func ResourceDcsRestore() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/restores @API DCS GET /v2/{project_id}/instances/{instance_id}/restores

func ResourceDiagnosisTask added in v1.63.0

func ResourceDiagnosisTask() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/diagnosis @API DCS GET /v2/{project_id}/diagnosis/{report_id} @API DCS GET /v2/{project_id}/instances/{instance_id}/diagnosis @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS DELETE /v2/{project_id}/instances/{instance_id}/diagnosis

func ResourceHotKeyAnalysis added in v1.61.1

func ResourceHotKeyAnalysis() *schema.Resource

@API DCS POST /v2/{project_id}/instances/{instance_id}/hotkey-task @API DCS GET /v2/{project_id}/instances/{instance_id} @API DCS GET /v2/{project_id}/instances/{instance_id}/hotkey-task/{hotkey_id} @API DCS DELETE /v2/{project_id}/instances/{instance_id}/hotkey-task/{hotkey_id}

Types

type AccountsDSWrapper added in v1.63.2

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

func (*AccountsDSWrapper) ListAclAccounts added in v1.63.2

func (w *AccountsDSWrapper) ListAclAccounts() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/instances/{instance_id}/accounts

type BigkeyAnalysesDSWrapper added in v1.63.0

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

func (*BigkeyAnalysesDSWrapper) ListBigkeyScanTasks added in v1.63.0

func (w *BigkeyAnalysesDSWrapper) ListBigkeyScanTasks() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/instances/{instance_id}/bigkey-tasks

type DiagnosisTasksDSWrapper added in v1.64.2

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

func (*DiagnosisTasksDSWrapper) ListDiagnosisTasks added in v1.64.2

func (w *DiagnosisTasksDSWrapper) ListDiagnosisTasks() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/instances/{instance_id}/diagnosis

type HotkeyAnalysesDSWrapper added in v1.63.0

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

func (*HotkeyAnalysesDSWrapper) ListHotKeyScanTasks added in v1.63.0

func (w *HotkeyAnalysesDSWrapper) ListHotKeyScanTasks() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/instances/{instance_id}/hotkey-tasks

type InstanceExpiredKeyScanHistoriesDSWrapper added in v1.77.3

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

func (*InstanceExpiredKeyScanHistoriesDSWrapper) ShowExpireKeyScanInfo added in v1.77.3

func (w *InstanceExpiredKeyScanHistoriesDSWrapper) ShowExpireKeyScanInfo() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/instances/{instance_id}/auto-expire/histories

type InstanceNodesDSWrapper added in v1.77.0

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

func (*InstanceNodesDSWrapper) ShowNodesInformation added in v1.77.0

func (w *InstanceNodesDSWrapper) ShowNodesInformation() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/instances/{instance_id}/logical-nodes

type InstanceShardsDSWrapper added in v1.77.0

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

func (*InstanceShardsDSWrapper) ListGroupReplicationInfo added in v1.77.0

func (w *InstanceShardsDSWrapper) ListGroupReplicationInfo() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/instance/{instance_id}/groups

type MigrationTaskLogsDSWrapper added in v1.77.0

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

func (*MigrationTaskLogsDSWrapper) ListMigrationTaskLogs added in v1.77.0

func (w *MigrationTaskLogsDSWrapper) ListMigrationTaskLogs() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/migration-task/{task_id}/logs

type MigrationTasksDSWrapper added in v1.77.0

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

func (*MigrationTasksDSWrapper) ListMigrationTask added in v1.77.0

func (w *MigrationTasksDSWrapper) ListMigrationTask() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/migration-tasks

type QuotasDSWrapper added in v1.77.0

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

func (*QuotasDSWrapper) ShowQuotaOfTenant added in v1.77.0

func (w *QuotasDSWrapper) ShowQuotaOfTenant() (*gjson.Result, error)

@API DCS GET /v2/{project_id}/quota

Source Files

Jump to

Keyboard shortcuts

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