v2

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DcsClientBuilder

func DcsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForBatchCreateOrDeleteTags

func GenReqDefForBatchCreateOrDeleteTags() *def.HttpRequestDef

func GenReqDefForBatchDeleteInstances

func GenReqDefForBatchDeleteInstances() *def.HttpRequestDef

func GenReqDefForBatchShowNodesInformation added in v0.0.82

func GenReqDefForBatchShowNodesInformation() *def.HttpRequestDef

func GenReqDefForBatchStopMigrationTasks added in v0.0.77

func GenReqDefForBatchStopMigrationTasks() *def.HttpRequestDef

func GenReqDefForChangeMasterStandby

func GenReqDefForChangeMasterStandby() *def.HttpRequestDef

func GenReqDefForCopyInstance

func GenReqDefForCopyInstance() *def.HttpRequestDef

func GenReqDefForCreateBigkeyScanTask

func GenReqDefForCreateBigkeyScanTask() *def.HttpRequestDef

func GenReqDefForCreateDiagnosisTask added in v0.0.52

func GenReqDefForCreateDiagnosisTask() *def.HttpRequestDef

func GenReqDefForCreateHotkeyScanTask

func GenReqDefForCreateHotkeyScanTask() *def.HttpRequestDef

func GenReqDefForCreateInstance

func GenReqDefForCreateInstance() *def.HttpRequestDef

func GenReqDefForCreateMigrationTask

func GenReqDefForCreateMigrationTask() *def.HttpRequestDef

func GenReqDefForCreateOnlineMigrationTask added in v0.0.77

func GenReqDefForCreateOnlineMigrationTask() *def.HttpRequestDef

func GenReqDefForCreateRedislog added in v0.0.52

func GenReqDefForCreateRedislog() *def.HttpRequestDef
func GenReqDefForCreateRedislogDownloadLink() *def.HttpRequestDef

func GenReqDefForDeleteBackgroundTask

func GenReqDefForDeleteBackgroundTask() *def.HttpRequestDef

func GenReqDefForDeleteBackupFile

func GenReqDefForDeleteBackupFile() *def.HttpRequestDef

func GenReqDefForDeleteBigkeyScanTask

func GenReqDefForDeleteBigkeyScanTask() *def.HttpRequestDef

func GenReqDefForDeleteHotkeyScanTask

func GenReqDefForDeleteHotkeyScanTask() *def.HttpRequestDef

func GenReqDefForDeleteIpFromDomainName

func GenReqDefForDeleteIpFromDomainName() *def.HttpRequestDef

func GenReqDefForDeleteMigrationTask

func GenReqDefForDeleteMigrationTask() *def.HttpRequestDef

func GenReqDefForDeleteSingleInstance

func GenReqDefForDeleteSingleInstance() *def.HttpRequestDef

func GenReqDefForListAvailableZones

func GenReqDefForListAvailableZones() *def.HttpRequestDef

func GenReqDefForListBackgroundTask

func GenReqDefForListBackgroundTask() *def.HttpRequestDef
func GenReqDefForListBackupFileLinks() *def.HttpRequestDef

func GenReqDefForListBackupRecords

func GenReqDefForListBackupRecords() *def.HttpRequestDef

func GenReqDefForListBigkeyScanTasks

func GenReqDefForListBigkeyScanTasks() *def.HttpRequestDef

func GenReqDefForListConfigHistories added in v0.1.21

func GenReqDefForListConfigHistories() *def.HttpRequestDef

func GenReqDefForListConfigurations

func GenReqDefForListConfigurations() *def.HttpRequestDef

func GenReqDefForListDiagnosisTasks added in v0.0.52

func GenReqDefForListDiagnosisTasks() *def.HttpRequestDef

func GenReqDefForListFlavors

func GenReqDefForListFlavors() *def.HttpRequestDef

func GenReqDefForListGroupReplicationInfo

func GenReqDefForListGroupReplicationInfo() *def.HttpRequestDef

func GenReqDefForListHotKeyScanTasks

func GenReqDefForListHotKeyScanTasks() *def.HttpRequestDef

func GenReqDefForListInstances

func GenReqDefForListInstances() *def.HttpRequestDef

func GenReqDefForListMaintenanceWindows

func GenReqDefForListMaintenanceWindows() *def.HttpRequestDef

func GenReqDefForListMigrationTask

func GenReqDefForListMigrationTask() *def.HttpRequestDef

func GenReqDefForListMonitoredObjects

func GenReqDefForListMonitoredObjects() *def.HttpRequestDef

func GenReqDefForListMonitoredObjectsOfInstance

func GenReqDefForListMonitoredObjectsOfInstance() *def.HttpRequestDef

func GenReqDefForListNumberOfInstancesInDifferentStatus

func GenReqDefForListNumberOfInstancesInDifferentStatus() *def.HttpRequestDef

func GenReqDefForListRedislog added in v0.0.52

func GenReqDefForListRedislog() *def.HttpRequestDef

func GenReqDefForListRestoreRecords

func GenReqDefForListRestoreRecords() *def.HttpRequestDef

func GenReqDefForListSlowlog

func GenReqDefForListSlowlog() *def.HttpRequestDef

func GenReqDefForListStatisticsOfRunningInstances

func GenReqDefForListStatisticsOfRunningInstances() *def.HttpRequestDef

func GenReqDefForListTagsOfTenant

func GenReqDefForListTagsOfTenant() *def.HttpRequestDef

func GenReqDefForResizeInstance added in v0.0.52

func GenReqDefForResizeInstance() *def.HttpRequestDef

func GenReqDefForRestartOrFlushInstances

func GenReqDefForRestartOrFlushInstances() *def.HttpRequestDef

func GenReqDefForRestoreInstance

func GenReqDefForRestoreInstance() *def.HttpRequestDef

func GenReqDefForSetOnlineMigrationTask added in v0.0.77

func GenReqDefForSetOnlineMigrationTask() *def.HttpRequestDef

func GenReqDefForShowBigkeyAutoscanConfig

func GenReqDefForShowBigkeyAutoscanConfig() *def.HttpRequestDef

func GenReqDefForShowBigkeyScanTaskDetails

func GenReqDefForShowBigkeyScanTaskDetails() *def.HttpRequestDef

func GenReqDefForShowDiagnosisTaskDetails added in v0.0.52

func GenReqDefForShowDiagnosisTaskDetails() *def.HttpRequestDef

func GenReqDefForShowHotkeyAutoscanConfig

func GenReqDefForShowHotkeyAutoscanConfig() *def.HttpRequestDef

func GenReqDefForShowHotkeyTaskDetails

func GenReqDefForShowHotkeyTaskDetails() *def.HttpRequestDef

func GenReqDefForShowInstance

func GenReqDefForShowInstance() *def.HttpRequestDef

func GenReqDefForShowIpWhitelist

func GenReqDefForShowIpWhitelist() *def.HttpRequestDef

func GenReqDefForShowMigrationTask

func GenReqDefForShowMigrationTask() *def.HttpRequestDef

func GenReqDefForShowMigrationTaskStats

func GenReqDefForShowMigrationTaskStats() *def.HttpRequestDef

func GenReqDefForShowQuotaOfTenant

func GenReqDefForShowQuotaOfTenant() *def.HttpRequestDef

func GenReqDefForShowTags

func GenReqDefForShowTags() *def.HttpRequestDef

func GenReqDefForStopMigrationTask

func GenReqDefForStopMigrationTask() *def.HttpRequestDef

func GenReqDefForStopMigrationTaskSync added in v0.0.77

func GenReqDefForStopMigrationTaskSync() *def.HttpRequestDef

func GenReqDefForUpdateBigkeyAutoscanConfig

func GenReqDefForUpdateBigkeyAutoscanConfig() *def.HttpRequestDef

func GenReqDefForUpdateConfigurations

func GenReqDefForUpdateConfigurations() *def.HttpRequestDef

func GenReqDefForUpdateHotkeyAutoScanConfig

func GenReqDefForUpdateHotkeyAutoScanConfig() *def.HttpRequestDef

func GenReqDefForUpdateInstance

func GenReqDefForUpdateInstance() *def.HttpRequestDef

func GenReqDefForUpdateIpWhitelist

func GenReqDefForUpdateIpWhitelist() *def.HttpRequestDef

func GenReqDefForUpdatePassword

func GenReqDefForUpdatePassword() *def.HttpRequestDef

func GenReqDefForUpdateSlavePriority

func GenReqDefForUpdateSlavePriority() *def.HttpRequestDef

Types

type BatchCreateOrDeleteTagsInvoker added in v0.0.90

type BatchCreateOrDeleteTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateOrDeleteTagsInvoker) Invoke added in v0.0.90

type BatchDeleteInstancesInvoker added in v0.0.90

type BatchDeleteInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteInstancesInvoker) Invoke added in v0.0.90

type BatchShowNodesInformationInvoker added in v0.0.90

type BatchShowNodesInformationInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchShowNodesInformationInvoker) Invoke added in v0.0.90

type BatchStopMigrationTasksInvoker added in v0.0.90

type BatchStopMigrationTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchStopMigrationTasksInvoker) Invoke added in v0.0.90

type ChangeMasterStandbyInvoker added in v0.0.90

type ChangeMasterStandbyInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeMasterStandbyInvoker) Invoke added in v0.0.90

type CopyInstanceInvoker added in v0.0.90

type CopyInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CopyInstanceInvoker) Invoke added in v0.0.90

type CreateBigkeyScanTaskInvoker added in v0.0.90

type CreateBigkeyScanTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateBigkeyScanTaskInvoker) Invoke added in v0.0.90

type CreateDiagnosisTaskInvoker added in v0.0.90

type CreateDiagnosisTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDiagnosisTaskInvoker) Invoke added in v0.0.90

type CreateHotkeyScanTaskInvoker added in v0.0.90

type CreateHotkeyScanTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateHotkeyScanTaskInvoker) Invoke added in v0.0.90

type CreateInstanceInvoker added in v0.0.90

type CreateInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateInstanceInvoker) Invoke added in v0.0.90

type CreateMigrationTaskInvoker added in v0.0.90

type CreateMigrationTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateMigrationTaskInvoker) Invoke added in v0.0.90

type CreateOnlineMigrationTaskInvoker added in v0.0.90

type CreateOnlineMigrationTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateOnlineMigrationTaskInvoker) Invoke added in v0.0.90

type CreateRedislogDownloadLinkInvoker added in v0.0.90

type CreateRedislogDownloadLinkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRedislogDownloadLinkInvoker) Invoke added in v0.0.90

type CreateRedislogInvoker added in v0.0.90

type CreateRedislogInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateRedislogInvoker) Invoke added in v0.0.90

type DcsClient

type DcsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewDcsClient

func NewDcsClient(hcClient *http_client.HcHttpClient) *DcsClient

func (*DcsClient) BatchCreateOrDeleteTags

BatchCreateOrDeleteTags 批量添加或删除标签

为指定实例批量添加标签,或批量删除标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) BatchCreateOrDeleteTagsInvoker added in v0.0.90

func (c *DcsClient) BatchCreateOrDeleteTagsInvoker(request *model.BatchCreateOrDeleteTagsRequest) *BatchCreateOrDeleteTagsInvoker

BatchCreateOrDeleteTagsInvoker 批量添加或删除标签

func (*DcsClient) BatchDeleteInstances

BatchDeleteInstances 批量删除实例

批量删除多个缓存实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) BatchDeleteInstancesInvoker added in v0.0.90

func (c *DcsClient) BatchDeleteInstancesInvoker(request *model.BatchDeleteInstancesRequest) *BatchDeleteInstancesInvoker

BatchDeleteInstancesInvoker 批量删除实例

func (*DcsClient) BatchShowNodesInformation added in v0.0.82

BatchShowNodesInformation 批量查询实例节点信息

批量查询指定项目所有实例的节点信息、有效实例个数及节点个数。 创建中实例不返回节点信息。 仅支持Redis4.0和Redis5.0实例查询

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) BatchShowNodesInformationInvoker added in v0.0.90

func (c *DcsClient) BatchShowNodesInformationInvoker(request *model.BatchShowNodesInformationRequest) *BatchShowNodesInformationInvoker

BatchShowNodesInformationInvoker 批量查询实例节点信息

func (*DcsClient) BatchStopMigrationTasks added in v0.0.77

BatchStopMigrationTasks 批量停止数据迁移任务

批量停止数据迁移任务,接口响应成功,仅表示下发任务成功。查询到迁移任务状态为TERMINATED时,即停止成功。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) BatchStopMigrationTasksInvoker added in v0.0.90

func (c *DcsClient) BatchStopMigrationTasksInvoker(request *model.BatchStopMigrationTasksRequest) *BatchStopMigrationTasksInvoker

BatchStopMigrationTasksInvoker 批量停止数据迁移任务

func (*DcsClient) ChangeMasterStandby

ChangeMasterStandby 主备切换

切换实例主备节点,只有主备实例支持该操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ChangeMasterStandbyInvoker added in v0.0.90

func (c *DcsClient) ChangeMasterStandbyInvoker(request *model.ChangeMasterStandbyRequest) *ChangeMasterStandbyInvoker

ChangeMasterStandbyInvoker 主备切换

func (*DcsClient) CopyInstance

func (c *DcsClient) CopyInstance(request *model.CopyInstanceRequest) (*model.CopyInstanceResponse, error)

CopyInstance 备份指定实例

备份指定的缓存实例。 > 只有主备和集群类型的缓存实例支持备份恢复操作,单机实例不支持备份恢复操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CopyInstanceInvoker added in v0.0.90

func (c *DcsClient) CopyInstanceInvoker(request *model.CopyInstanceRequest) *CopyInstanceInvoker

CopyInstanceInvoker 备份指定实例

func (*DcsClient) CreateBigkeyScanTask

CreateBigkeyScanTask 创建大key分析任务

为Redis实例创建大key分析任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CreateBigkeyScanTaskInvoker added in v0.0.90

func (c *DcsClient) CreateBigkeyScanTaskInvoker(request *model.CreateBigkeyScanTaskRequest) *CreateBigkeyScanTaskInvoker

CreateBigkeyScanTaskInvoker 创建大key分析任务

func (*DcsClient) CreateDiagnosisTask added in v0.0.52

CreateDiagnosisTask 创建实例诊断任务

诊断指定的缓存实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CreateDiagnosisTaskInvoker added in v0.0.90

func (c *DcsClient) CreateDiagnosisTaskInvoker(request *model.CreateDiagnosisTaskRequest) *CreateDiagnosisTaskInvoker

CreateDiagnosisTaskInvoker 创建实例诊断任务

func (*DcsClient) CreateHotkeyScanTask

CreateHotkeyScanTask 创建热key分析任务

创建热key分析任务,Redis 3.0 不支持热key分析。

热key分析需要将缓存实例配置参数maxmemory-policy设置为allkeys-lfu或volatile-lfu。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CreateHotkeyScanTaskInvoker added in v0.0.90

func (c *DcsClient) CreateHotkeyScanTaskInvoker(request *model.CreateHotkeyScanTaskRequest) *CreateHotkeyScanTaskInvoker

CreateHotkeyScanTaskInvoker 创建热key分析任务

func (*DcsClient) CreateInstance

func (c *DcsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)

CreateInstance 创建缓存实例

创建缓存实例,该接口创建的缓存实例支持按需计费和包周期两种方式。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CreateInstanceInvoker added in v0.0.90

func (c *DcsClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker

CreateInstanceInvoker 创建缓存实例

func (*DcsClient) CreateMigrationTask

CreateMigrationTask 创建数据迁移任务

创建数据迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CreateMigrationTaskInvoker added in v0.0.90

func (c *DcsClient) CreateMigrationTaskInvoker(request *model.CreateMigrationTaskRequest) *CreateMigrationTaskInvoker

CreateMigrationTaskInvoker 创建数据迁移任务

func (*DcsClient) CreateOnlineMigrationTask added in v0.0.77

CreateOnlineMigrationTask 创建在线数据迁移任务

创建在线数据迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CreateOnlineMigrationTaskInvoker added in v0.0.90

func (c *DcsClient) CreateOnlineMigrationTaskInvoker(request *model.CreateOnlineMigrationTaskRequest) *CreateOnlineMigrationTaskInvoker

CreateOnlineMigrationTaskInvoker 创建在线数据迁移任务

func (*DcsClient) CreateRedislog added in v0.0.52

func (c *DcsClient) CreateRedislog(request *model.CreateRedislogRequest) (*model.CreateRedislogResponse, error)

CreateRedislog 采集Redis运行日志

采集Redis运行日志。

Please refer to HUAWEI cloud API Explorer for details.

CreateRedislogDownloadLink 获取日志下载链接

获取日志下载链接。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) CreateRedislogDownloadLinkInvoker added in v0.0.90

func (c *DcsClient) CreateRedislogDownloadLinkInvoker(request *model.CreateRedislogDownloadLinkRequest) *CreateRedislogDownloadLinkInvoker

CreateRedislogDownloadLinkInvoker 获取日志下载链接

func (*DcsClient) CreateRedislogInvoker added in v0.0.90

func (c *DcsClient) CreateRedislogInvoker(request *model.CreateRedislogRequest) *CreateRedislogInvoker

CreateRedislogInvoker 采集Redis运行日志

func (*DcsClient) DeleteBackgroundTask

DeleteBackgroundTask 删除后台任务

删除后台任务

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) DeleteBackgroundTaskInvoker added in v0.0.90

func (c *DcsClient) DeleteBackgroundTaskInvoker(request *model.DeleteBackgroundTaskRequest) *DeleteBackgroundTaskInvoker

DeleteBackgroundTaskInvoker 删除后台任务

func (*DcsClient) DeleteBackupFile

func (c *DcsClient) DeleteBackupFile(request *model.DeleteBackupFileRequest) (*model.DeleteBackupFileResponse, error)

DeleteBackupFile 删除备份文件

删除缓存实例已备份的文件。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) DeleteBackupFileInvoker added in v0.0.90

func (c *DcsClient) DeleteBackupFileInvoker(request *model.DeleteBackupFileRequest) *DeleteBackupFileInvoker

DeleteBackupFileInvoker 删除备份文件

func (*DcsClient) DeleteBigkeyScanTask

DeleteBigkeyScanTask 删除大key分析记录

删除大key分析记录。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) DeleteBigkeyScanTaskInvoker added in v0.0.90

func (c *DcsClient) DeleteBigkeyScanTaskInvoker(request *model.DeleteBigkeyScanTaskRequest) *DeleteBigkeyScanTaskInvoker

DeleteBigkeyScanTaskInvoker 删除大key分析记录

func (*DcsClient) DeleteHotkeyScanTask

DeleteHotkeyScanTask 删除热key分析任务

删除热key分析任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) DeleteHotkeyScanTaskInvoker added in v0.0.90

func (c *DcsClient) DeleteHotkeyScanTaskInvoker(request *model.DeleteHotkeyScanTaskRequest) *DeleteHotkeyScanTaskInvoker

DeleteHotkeyScanTaskInvoker 删除热key分析任务

func (*DcsClient) DeleteIpFromDomainName

DeleteIpFromDomainName 域名摘除IP

将只读副本的IP从域名中摘除,摘除成功后,只读域名不会再解析到该副本IP。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) DeleteIpFromDomainNameInvoker added in v0.0.90

func (c *DcsClient) DeleteIpFromDomainNameInvoker(request *model.DeleteIpFromDomainNameRequest) *DeleteIpFromDomainNameInvoker

DeleteIpFromDomainNameInvoker 域名摘除IP

func (*DcsClient) DeleteMigrationTask

DeleteMigrationTask 删除数据迁移任务

删除数据迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) DeleteMigrationTaskInvoker added in v0.0.90

func (c *DcsClient) DeleteMigrationTaskInvoker(request *model.DeleteMigrationTaskRequest) *DeleteMigrationTaskInvoker

DeleteMigrationTaskInvoker 删除数据迁移任务

func (*DcsClient) DeleteSingleInstance

DeleteSingleInstance 删除实例

删除指定的缓存实例,释放该实例的所有资源。

> 如果是删除按需资源,请按照本章节执行;如果是删除包周期资源,即退订,请参考[退订包周期资源](https://support.huaweicloud.com/api-oce/zh-cn_topic_0082522030.html#section2)。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) DeleteSingleInstanceInvoker added in v0.0.90

func (c *DcsClient) DeleteSingleInstanceInvoker(request *model.DeleteSingleInstanceRequest) *DeleteSingleInstanceInvoker

DeleteSingleInstanceInvoker 删除实例

func (*DcsClient) ListAvailableZones

func (c *DcsClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)

ListAvailableZones 查询可用区信息

查询所在局点的可用区信息

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListAvailableZonesInvoker added in v0.0.90

func (c *DcsClient) ListAvailableZonesInvoker(request *model.ListAvailableZonesRequest) *ListAvailableZonesInvoker

ListAvailableZonesInvoker 查询可用区信息

func (*DcsClient) ListBackgroundTask

func (c *DcsClient) ListBackgroundTask(request *model.ListBackgroundTaskRequest) (*model.ListBackgroundTaskResponse, error)

ListBackgroundTask 查询后台任务列表

查询后台任务列表

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListBackgroundTaskInvoker added in v0.0.90

func (c *DcsClient) ListBackgroundTaskInvoker(request *model.ListBackgroundTaskRequest) *ListBackgroundTaskInvoker

ListBackgroundTaskInvoker 查询后台任务列表

ListBackupFileLinks 获取备份文件下载链接

获取指定实例的备份文件下载链接,下载备份文件。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListBackupFileLinksInvoker added in v0.0.90

func (c *DcsClient) ListBackupFileLinksInvoker(request *model.ListBackupFileLinksRequest) *ListBackupFileLinksInvoker

ListBackupFileLinksInvoker 获取备份文件下载链接

func (*DcsClient) ListBackupRecords

func (c *DcsClient) ListBackupRecords(request *model.ListBackupRecordsRequest) (*model.ListBackupRecordsResponse, error)

ListBackupRecords 查询实例备份信息

查询指定缓存实例的备份信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListBackupRecordsInvoker added in v0.0.90

func (c *DcsClient) ListBackupRecordsInvoker(request *model.ListBackupRecordsRequest) *ListBackupRecordsInvoker

ListBackupRecordsInvoker 查询实例备份信息

func (*DcsClient) ListBigkeyScanTasks

ListBigkeyScanTasks 查询大key分析任务列表

查询大key分析任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListBigkeyScanTasksInvoker added in v0.0.90

func (c *DcsClient) ListBigkeyScanTasksInvoker(request *model.ListBigkeyScanTasksRequest) *ListBigkeyScanTasksInvoker

ListBigkeyScanTasksInvoker 查询大key分析任务列表

func (*DcsClient) ListConfigHistories added in v0.1.21

ListConfigHistories 查询实例参数修改记录列表

查询实例的参数修改记录列表,支持按照关键字查询

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListConfigHistoriesInvoker added in v0.1.21

func (c *DcsClient) ListConfigHistoriesInvoker(request *model.ListConfigHistoriesRequest) *ListConfigHistoriesInvoker

ListConfigHistoriesInvoker 查询实例参数修改记录列表

func (*DcsClient) ListConfigurations

func (c *DcsClient) ListConfigurations(request *model.ListConfigurationsRequest) (*model.ListConfigurationsResponse, error)

ListConfigurations 查询实例配置参数

查询指定实例的配置参数信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListConfigurationsInvoker added in v0.0.90

func (c *DcsClient) ListConfigurationsInvoker(request *model.ListConfigurationsRequest) *ListConfigurationsInvoker

ListConfigurationsInvoker 查询实例配置参数

func (*DcsClient) ListDiagnosisTasks added in v0.0.52

func (c *DcsClient) ListDiagnosisTasks(request *model.ListDiagnosisTasksRequest) (*model.ListDiagnosisTasksResponse, error)

ListDiagnosisTasks 查询实例诊断任务列表

查询指定缓存实例诊断任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListDiagnosisTasksInvoker added in v0.0.90

func (c *DcsClient) ListDiagnosisTasksInvoker(request *model.ListDiagnosisTasksRequest) *ListDiagnosisTasksInvoker

ListDiagnosisTasksInvoker 查询实例诊断任务列表

func (*DcsClient) ListFlavors

func (c *DcsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)

ListFlavors 查询产品规格

在创建缓存实例时,需要配置订购的产品规格编码(spec_code),可通过该接口查询产品规格,查询条件不选时默认查询全部。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListFlavorsInvoker added in v0.0.90

func (c *DcsClient) ListFlavorsInvoker(request *model.ListFlavorsRequest) *ListFlavorsInvoker

ListFlavorsInvoker 查询产品规格

func (*DcsClient) ListGroupReplicationInfo

ListGroupReplicationInfo 查询分片信息

查询读写分离实例和集群实例的分片和副本信息,其中,读写分离实例仅Redis4.0和Redis5.0的主备实例支持。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListGroupReplicationInfoInvoker added in v0.0.90

func (c *DcsClient) ListGroupReplicationInfoInvoker(request *model.ListGroupReplicationInfoRequest) *ListGroupReplicationInfoInvoker

ListGroupReplicationInfoInvoker 查询分片信息

func (*DcsClient) ListHotKeyScanTasks

ListHotKeyScanTasks 查询热key分析任务列表

查询热key分析历史记录。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListHotKeyScanTasksInvoker added in v0.0.90

func (c *DcsClient) ListHotKeyScanTasksInvoker(request *model.ListHotKeyScanTasksRequest) *ListHotKeyScanTasksInvoker

ListHotKeyScanTasksInvoker 查询热key分析任务列表

func (*DcsClient) ListInstances

func (c *DcsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)

ListInstances 查询所有实例列表

查询租户的缓存实例列表,支持按照条件查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListInstancesInvoker added in v0.0.90

func (c *DcsClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker

ListInstancesInvoker 查询所有实例列表

func (*DcsClient) ListMaintenanceWindows

ListMaintenanceWindows 查询维护时间窗时间段

查询维护时间窗开始时间和结束时间。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListMaintenanceWindowsInvoker added in v0.0.90

func (c *DcsClient) ListMaintenanceWindowsInvoker(request *model.ListMaintenanceWindowsRequest) *ListMaintenanceWindowsInvoker

ListMaintenanceWindowsInvoker 查询维护时间窗时间段

func (*DcsClient) ListMigrationTask

func (c *DcsClient) ListMigrationTask(request *model.ListMigrationTaskRequest) (*model.ListMigrationTaskResponse, error)

ListMigrationTask 查询迁移任务列表

查询迁移任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListMigrationTaskInvoker added in v0.0.90

func (c *DcsClient) ListMigrationTaskInvoker(request *model.ListMigrationTaskRequest) *ListMigrationTaskInvoker

ListMigrationTaskInvoker 查询迁移任务列表

func (*DcsClient) ListMonitoredObjects

ListMonitoredObjects 查询主维度信息列表

查询主维度对象列表,主维度ID当前支持dcs_instance_id,dcs_memcached_instance_id。 > 该接口当前仅在中国华南区开放。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListMonitoredObjectsInvoker added in v0.0.90

func (c *DcsClient) ListMonitoredObjectsInvoker(request *model.ListMonitoredObjectsRequest) *ListMonitoredObjectsInvoker

ListMonitoredObjectsInvoker 查询主维度信息列表

func (*DcsClient) ListMonitoredObjectsOfInstance

ListMonitoredObjectsOfInstance 查询单个主维度下子维度监控对象列表

查询主维度下子维度监控对象列表,当前支持子维度的主维度ID的有 dcs_instance_id > 该接口当前仅在中国华南区开放。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListMonitoredObjectsOfInstanceInvoker added in v0.0.90

func (c *DcsClient) ListMonitoredObjectsOfInstanceInvoker(request *model.ListMonitoredObjectsOfInstanceRequest) *ListMonitoredObjectsOfInstanceInvoker

ListMonitoredObjectsOfInstanceInvoker 查询单个主维度下子维度监控对象列表

func (*DcsClient) ListNumberOfInstancesInDifferentStatus

ListNumberOfInstancesInDifferentStatus 查询实例状态

查询该租户在当前区域下不同状态的实例数。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListNumberOfInstancesInDifferentStatusInvoker added in v0.0.90

func (c *DcsClient) ListNumberOfInstancesInDifferentStatusInvoker(request *model.ListNumberOfInstancesInDifferentStatusRequest) *ListNumberOfInstancesInDifferentStatusInvoker

ListNumberOfInstancesInDifferentStatusInvoker 查询实例状态

func (*DcsClient) ListRedislog added in v0.0.52

func (c *DcsClient) ListRedislog(request *model.ListRedislogRequest) (*model.ListRedislogResponse, error)

ListRedislog 查询Redis运行日志列表

查询Redis运行日志列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListRedislogInvoker added in v0.0.90

func (c *DcsClient) ListRedislogInvoker(request *model.ListRedislogRequest) *ListRedislogInvoker

ListRedislogInvoker 查询Redis运行日志列表

func (*DcsClient) ListRestoreRecords

func (c *DcsClient) ListRestoreRecords(request *model.ListRestoreRecordsRequest) (*model.ListRestoreRecordsResponse, error)

ListRestoreRecords 查询实例恢复记录

查询指定缓存实例的恢复记录列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListRestoreRecordsInvoker added in v0.0.90

func (c *DcsClient) ListRestoreRecordsInvoker(request *model.ListRestoreRecordsRequest) *ListRestoreRecordsInvoker

ListRestoreRecordsInvoker 查询实例恢复记录

func (*DcsClient) ListSlowlog

func (c *DcsClient) ListSlowlog(request *model.ListSlowlogRequest) (*model.ListSlowlogResponse, error)

ListSlowlog 查询慢日志

查询慢日志。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListSlowlogInvoker added in v0.0.90

func (c *DcsClient) ListSlowlogInvoker(request *model.ListSlowlogRequest) *ListSlowlogInvoker

ListSlowlogInvoker 查询慢日志

func (*DcsClient) ListStatisticsOfRunningInstances

ListStatisticsOfRunningInstances 查询运行中实例的统计信息

查询当前租户下处于“运行中”状态的缓存实例的统计信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListStatisticsOfRunningInstancesInvoker added in v0.0.90

func (c *DcsClient) ListStatisticsOfRunningInstancesInvoker(request *model.ListStatisticsOfRunningInstancesRequest) *ListStatisticsOfRunningInstancesInvoker

ListStatisticsOfRunningInstancesInvoker 查询运行中实例的统计信息

func (*DcsClient) ListTagsOfTenant

func (c *DcsClient) ListTagsOfTenant(request *model.ListTagsOfTenantRequest) (*model.ListTagsOfTenantResponse, error)

ListTagsOfTenant 查询租户所有标签

查询租户在指定Project中实例类型的所有资源标签集合。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ListTagsOfTenantInvoker added in v0.0.90

func (c *DcsClient) ListTagsOfTenantInvoker(request *model.ListTagsOfTenantRequest) *ListTagsOfTenantInvoker

ListTagsOfTenantInvoker 查询租户所有标签

func (*DcsClient) ResizeInstance added in v0.0.52

func (c *DcsClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)

ResizeInstance 变更实例规格

用户可以为状态为“运行中”的DCS缓存实例进行规格变更,当前仅能支持按需实例的同副本或分片数量的实例规格变更。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ResizeInstanceInvoker added in v0.0.90

func (c *DcsClient) ResizeInstanceInvoker(request *model.ResizeInstanceRequest) *ResizeInstanceInvoker

ResizeInstanceInvoker 变更实例规格

func (*DcsClient) RestartOrFlushInstances

RestartOrFlushInstances 重启实例或清空数据

重启运行中的DCS缓存实例。

清空Redis4.0/Redis5.0的实例数据,数据清空后,无法撤销,且无法恢复,请谨慎操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) RestartOrFlushInstancesInvoker added in v0.0.90

func (c *DcsClient) RestartOrFlushInstancesInvoker(request *model.RestartOrFlushInstancesRequest) *RestartOrFlushInstancesInvoker

RestartOrFlushInstancesInvoker 重启实例或清空数据

func (*DcsClient) RestoreInstance

func (c *DcsClient) RestoreInstance(request *model.RestoreInstanceRequest) (*model.RestoreInstanceResponse, error)

RestoreInstance 恢复指定实例

恢复指定的缓存实例。 > 只有主备和集群类型的缓存实例支持备份恢复操作,单机实例不支持备份恢复操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) RestoreInstanceInvoker added in v0.0.90

func (c *DcsClient) RestoreInstanceInvoker(request *model.RestoreInstanceRequest) *RestoreInstanceInvoker

RestoreInstanceInvoker 恢复指定实例

func (*DcsClient) SetOnlineMigrationTask added in v0.0.77

SetOnlineMigrationTask 配置在线数据迁移任务

配置在线数据迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) SetOnlineMigrationTaskInvoker added in v0.0.90

func (c *DcsClient) SetOnlineMigrationTaskInvoker(request *model.SetOnlineMigrationTaskRequest) *SetOnlineMigrationTaskInvoker

SetOnlineMigrationTaskInvoker 配置在线数据迁移任务

func (*DcsClient) ShowBigkeyAutoscanConfig

ShowBigkeyAutoscanConfig 查询大key自动分析配置

查询大key自动分析配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowBigkeyAutoscanConfigInvoker added in v0.0.90

func (c *DcsClient) ShowBigkeyAutoscanConfigInvoker(request *model.ShowBigkeyAutoscanConfigRequest) *ShowBigkeyAutoscanConfigInvoker

ShowBigkeyAutoscanConfigInvoker 查询大key自动分析配置

func (*DcsClient) ShowBigkeyScanTaskDetails

ShowBigkeyScanTaskDetails 查询大key分析详情

查询大key分析详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowBigkeyScanTaskDetailsInvoker added in v0.0.90

func (c *DcsClient) ShowBigkeyScanTaskDetailsInvoker(request *model.ShowBigkeyScanTaskDetailsRequest) *ShowBigkeyScanTaskDetailsInvoker

ShowBigkeyScanTaskDetailsInvoker 查询大key分析详情

func (*DcsClient) ShowDiagnosisTaskDetails added in v0.0.52

ShowDiagnosisTaskDetails 查询指定诊断报告

通过报告ID查询诊断报告的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowDiagnosisTaskDetailsInvoker added in v0.0.90

func (c *DcsClient) ShowDiagnosisTaskDetailsInvoker(request *model.ShowDiagnosisTaskDetailsRequest) *ShowDiagnosisTaskDetailsInvoker

ShowDiagnosisTaskDetailsInvoker 查询指定诊断报告

func (*DcsClient) ShowHotkeyAutoscanConfig

ShowHotkeyAutoscanConfig 查询热key自动分析配置

查询热key自动分析配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowHotkeyAutoscanConfigInvoker added in v0.0.90

func (c *DcsClient) ShowHotkeyAutoscanConfigInvoker(request *model.ShowHotkeyAutoscanConfigRequest) *ShowHotkeyAutoscanConfigInvoker

ShowHotkeyAutoscanConfigInvoker 查询热key自动分析配置

func (*DcsClient) ShowHotkeyTaskDetails

ShowHotkeyTaskDetails 查询热key分析详情

查询热key分析详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowHotkeyTaskDetailsInvoker added in v0.0.90

func (c *DcsClient) ShowHotkeyTaskDetailsInvoker(request *model.ShowHotkeyTaskDetailsRequest) *ShowHotkeyTaskDetailsInvoker

ShowHotkeyTaskDetailsInvoker 查询热key分析详情

func (*DcsClient) ShowInstance

func (c *DcsClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)

ShowInstance 查询指定实例

通过实例ID查询实例的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowInstanceInvoker added in v0.0.90

func (c *DcsClient) ShowInstanceInvoker(request *model.ShowInstanceRequest) *ShowInstanceInvoker

ShowInstanceInvoker 查询指定实例

func (*DcsClient) ShowIpWhitelist

func (c *DcsClient) ShowIpWhitelist(request *model.ShowIpWhitelistRequest) (*model.ShowIpWhitelistResponse, error)

ShowIpWhitelist 查询指定实例的IP白名单

查询指定实例的IP白名单。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowIpWhitelistInvoker added in v0.0.90

func (c *DcsClient) ShowIpWhitelistInvoker(request *model.ShowIpWhitelistRequest) *ShowIpWhitelistInvoker

ShowIpWhitelistInvoker 查询指定实例的IP白名单

func (*DcsClient) ShowMigrationTask

func (c *DcsClient) ShowMigrationTask(request *model.ShowMigrationTaskRequest) (*model.ShowMigrationTaskResponse, error)

ShowMigrationTask 查询迁移任务详情

查询迁移任务详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowMigrationTaskInvoker added in v0.0.90

func (c *DcsClient) ShowMigrationTaskInvoker(request *model.ShowMigrationTaskRequest) *ShowMigrationTaskInvoker

ShowMigrationTaskInvoker 查询迁移任务详情

func (*DcsClient) ShowMigrationTaskStats

ShowMigrationTaskStats 查询在线迁移进度明细

查询在线迁移进度明细。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowMigrationTaskStatsInvoker added in v0.0.90

func (c *DcsClient) ShowMigrationTaskStatsInvoker(request *model.ShowMigrationTaskStatsRequest) *ShowMigrationTaskStatsInvoker

ShowMigrationTaskStatsInvoker 查询在线迁移进度明细

func (*DcsClient) ShowQuotaOfTenant

func (c *DcsClient) ShowQuotaOfTenant(request *model.ShowQuotaOfTenantRequest) (*model.ShowQuotaOfTenantResponse, error)

ShowQuotaOfTenant 查询租户配额

查询租户默认可以创建的实例数和总内存的配额限制,以及可以申请配额的最大值和最小值。不同的租户在不同的区域配额可能不同。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowQuotaOfTenantInvoker added in v0.0.90

func (c *DcsClient) ShowQuotaOfTenantInvoker(request *model.ShowQuotaOfTenantRequest) *ShowQuotaOfTenantInvoker

ShowQuotaOfTenantInvoker 查询租户配额

func (*DcsClient) ShowTags

func (c *DcsClient) ShowTags(request *model.ShowTagsRequest) (*model.ShowTagsResponse, error)

ShowTags 查询单个实例标签

通过实例ID查询标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) ShowTagsInvoker added in v0.0.90

func (c *DcsClient) ShowTagsInvoker(request *model.ShowTagsRequest) *ShowTagsInvoker

ShowTagsInvoker 查询单个实例标签

func (*DcsClient) StopMigrationTask

func (c *DcsClient) StopMigrationTask(request *model.StopMigrationTaskRequest) (*model.StopMigrationTaskResponse, error)

StopMigrationTask 停止数据迁移任务

停止数据迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) StopMigrationTaskInvoker added in v0.0.90

func (c *DcsClient) StopMigrationTaskInvoker(request *model.StopMigrationTaskRequest) *StopMigrationTaskInvoker

StopMigrationTaskInvoker 停止数据迁移任务

func (*DcsClient) StopMigrationTaskSync added in v0.0.77

StopMigrationTaskSync 同步停止数据迁移任务

同步停止数据迁移任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) StopMigrationTaskSyncInvoker added in v0.0.90

func (c *DcsClient) StopMigrationTaskSyncInvoker(request *model.StopMigrationTaskSyncRequest) *StopMigrationTaskSyncInvoker

StopMigrationTaskSyncInvoker 同步停止数据迁移任务

func (*DcsClient) UpdateBigkeyAutoscanConfig

UpdateBigkeyAutoscanConfig 设置大key自动分析配置

设置大key自动分析配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) UpdateBigkeyAutoscanConfigInvoker added in v0.0.90

func (c *DcsClient) UpdateBigkeyAutoscanConfigInvoker(request *model.UpdateBigkeyAutoscanConfigRequest) *UpdateBigkeyAutoscanConfigInvoker

UpdateBigkeyAutoscanConfigInvoker 设置大key自动分析配置

func (*DcsClient) UpdateConfigurations

UpdateConfigurations 修改实例配置参数

为了确保分布式缓存服务发挥出最优性能,您可以根据自己的业务情况对DCS缓存实例的运行参数进行调整。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) UpdateConfigurationsInvoker added in v0.0.90

func (c *DcsClient) UpdateConfigurationsInvoker(request *model.UpdateConfigurationsRequest) *UpdateConfigurationsInvoker

UpdateConfigurationsInvoker 修改实例配置参数

func (*DcsClient) UpdateHotkeyAutoScanConfig

UpdateHotkeyAutoScanConfig 设置热key自动分析配置

设置热key自动分析配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) UpdateHotkeyAutoScanConfigInvoker added in v0.0.90

func (c *DcsClient) UpdateHotkeyAutoScanConfigInvoker(request *model.UpdateHotkeyAutoScanConfigRequest) *UpdateHotkeyAutoScanConfigInvoker

UpdateHotkeyAutoScanConfigInvoker 设置热key自动分析配置

func (*DcsClient) UpdateInstance

func (c *DcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)

UpdateInstance 修改实例信息

修改缓存实例的信息,可修改信息包括实例名称、描述、备份策略、维护时间窗开始和结束时间以及安全组。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) UpdateInstanceInvoker added in v0.0.90

func (c *DcsClient) UpdateInstanceInvoker(request *model.UpdateInstanceRequest) *UpdateInstanceInvoker

UpdateInstanceInvoker 修改实例信息

func (*DcsClient) UpdateIpWhitelist

func (c *DcsClient) UpdateIpWhitelist(request *model.UpdateIpWhitelistRequest) (*model.UpdateIpWhitelistResponse, error)

UpdateIpWhitelist 设置IP白名单分组

为指定实例设置IP白名单分组,包含创建、停用、编辑、删除白名单四个功能

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) UpdateIpWhitelistInvoker added in v0.0.90

func (c *DcsClient) UpdateIpWhitelistInvoker(request *model.UpdateIpWhitelistRequest) *UpdateIpWhitelistInvoker

UpdateIpWhitelistInvoker 设置IP白名单分组

func (*DcsClient) UpdatePassword

func (c *DcsClient) UpdatePassword(request *model.UpdatePasswordRequest) (*model.UpdatePasswordResponse, error)

UpdatePassword 修改密码

修改缓存实例的密码。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) UpdatePasswordInvoker added in v0.0.90

func (c *DcsClient) UpdatePasswordInvoker(request *model.UpdatePasswordRequest) *UpdatePasswordInvoker

UpdatePasswordInvoker 修改密码

func (*DcsClient) UpdateSlavePriority

UpdateSlavePriority 设置备节点优先级

设置副本优先级,主节点故障时,权重越小的备节点切换为主节点的优先级越高。

Please refer to HUAWEI cloud API Explorer for details.

func (*DcsClient) UpdateSlavePriorityInvoker added in v0.0.90

func (c *DcsClient) UpdateSlavePriorityInvoker(request *model.UpdateSlavePriorityRequest) *UpdateSlavePriorityInvoker

UpdateSlavePriorityInvoker 设置备节点优先级

type DeleteBackgroundTaskInvoker added in v0.0.90

type DeleteBackgroundTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBackgroundTaskInvoker) Invoke added in v0.0.90

type DeleteBackupFileInvoker added in v0.0.90

type DeleteBackupFileInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBackupFileInvoker) Invoke added in v0.0.90

type DeleteBigkeyScanTaskInvoker added in v0.0.90

type DeleteBigkeyScanTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBigkeyScanTaskInvoker) Invoke added in v0.0.90

type DeleteHotkeyScanTaskInvoker added in v0.0.90

type DeleteHotkeyScanTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteHotkeyScanTaskInvoker) Invoke added in v0.0.90

type DeleteIpFromDomainNameInvoker added in v0.0.90

type DeleteIpFromDomainNameInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteIpFromDomainNameInvoker) Invoke added in v0.0.90

type DeleteMigrationTaskInvoker added in v0.0.90

type DeleteMigrationTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMigrationTaskInvoker) Invoke added in v0.0.90

type DeleteSingleInstanceInvoker added in v0.0.90

type DeleteSingleInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSingleInstanceInvoker) Invoke added in v0.0.90

type ListAvailableZonesInvoker added in v0.0.90

type ListAvailableZonesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAvailableZonesInvoker) Invoke added in v0.0.90

type ListBackgroundTaskInvoker added in v0.0.90

type ListBackgroundTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBackgroundTaskInvoker) Invoke added in v0.0.90

type ListBackupFileLinksInvoker added in v0.0.90

type ListBackupFileLinksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBackupFileLinksInvoker) Invoke added in v0.0.90

type ListBackupRecordsInvoker added in v0.0.90

type ListBackupRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBackupRecordsInvoker) Invoke added in v0.0.90

type ListBigkeyScanTasksInvoker added in v0.0.90

type ListBigkeyScanTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBigkeyScanTasksInvoker) Invoke added in v0.0.90

type ListConfigHistoriesInvoker added in v0.1.21

type ListConfigHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListConfigHistoriesInvoker) Invoke added in v0.1.21

type ListConfigurationsInvoker added in v0.0.90

type ListConfigurationsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListConfigurationsInvoker) Invoke added in v0.0.90

type ListDiagnosisTasksInvoker added in v0.0.90

type ListDiagnosisTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDiagnosisTasksInvoker) Invoke added in v0.0.90

type ListFlavorsInvoker added in v0.0.90

type ListFlavorsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFlavorsInvoker) Invoke added in v0.0.90

type ListGroupReplicationInfoInvoker added in v0.0.90

type ListGroupReplicationInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ListGroupReplicationInfoInvoker) Invoke added in v0.0.90

type ListHotKeyScanTasksInvoker added in v0.0.90

type ListHotKeyScanTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHotKeyScanTasksInvoker) Invoke added in v0.0.90

type ListInstancesInvoker added in v0.0.90

type ListInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstancesInvoker) Invoke added in v0.0.90

type ListMaintenanceWindowsInvoker added in v0.0.90

type ListMaintenanceWindowsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMaintenanceWindowsInvoker) Invoke added in v0.0.90

type ListMigrationTaskInvoker added in v0.0.90

type ListMigrationTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMigrationTaskInvoker) Invoke added in v0.0.90

type ListMonitoredObjectsInvoker added in v0.0.90

type ListMonitoredObjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMonitoredObjectsInvoker) Invoke added in v0.0.90

type ListMonitoredObjectsOfInstanceInvoker added in v0.0.90

type ListMonitoredObjectsOfInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMonitoredObjectsOfInstanceInvoker) Invoke added in v0.0.90

type ListNumberOfInstancesInDifferentStatusInvoker added in v0.0.90

type ListNumberOfInstancesInDifferentStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNumberOfInstancesInDifferentStatusInvoker) Invoke added in v0.0.90

type ListRedislogInvoker added in v0.0.90

type ListRedislogInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRedislogInvoker) Invoke added in v0.0.90

type ListRestoreRecordsInvoker added in v0.0.90

type ListRestoreRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRestoreRecordsInvoker) Invoke added in v0.0.90

type ListSlowlogInvoker added in v0.0.90

type ListSlowlogInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSlowlogInvoker) Invoke added in v0.0.90

type ListStatisticsOfRunningInstancesInvoker added in v0.0.90

type ListStatisticsOfRunningInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListStatisticsOfRunningInstancesInvoker) Invoke added in v0.0.90

type ListTagsOfTenantInvoker added in v0.0.90

type ListTagsOfTenantInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagsOfTenantInvoker) Invoke added in v0.0.90

type ResizeInstanceInvoker added in v0.0.90

type ResizeInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeInstanceInvoker) Invoke added in v0.0.90

type RestartOrFlushInstancesInvoker added in v0.0.90

type RestartOrFlushInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartOrFlushInstancesInvoker) Invoke added in v0.0.90

type RestoreInstanceInvoker added in v0.0.90

type RestoreInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*RestoreInstanceInvoker) Invoke added in v0.0.90

type SetOnlineMigrationTaskInvoker added in v0.0.90

type SetOnlineMigrationTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*SetOnlineMigrationTaskInvoker) Invoke added in v0.0.90

type ShowBigkeyAutoscanConfigInvoker added in v0.0.90

type ShowBigkeyAutoscanConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBigkeyAutoscanConfigInvoker) Invoke added in v0.0.90

type ShowBigkeyScanTaskDetailsInvoker added in v0.0.90

type ShowBigkeyScanTaskDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBigkeyScanTaskDetailsInvoker) Invoke added in v0.0.90

type ShowDiagnosisTaskDetailsInvoker added in v0.0.90

type ShowDiagnosisTaskDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDiagnosisTaskDetailsInvoker) Invoke added in v0.0.90

type ShowHotkeyAutoscanConfigInvoker added in v0.0.90

type ShowHotkeyAutoscanConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowHotkeyAutoscanConfigInvoker) Invoke added in v0.0.90

type ShowHotkeyTaskDetailsInvoker added in v0.0.90

type ShowHotkeyTaskDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowHotkeyTaskDetailsInvoker) Invoke added in v0.0.90

type ShowInstanceInvoker added in v0.0.90

type ShowInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowInstanceInvoker) Invoke added in v0.0.90

type ShowIpWhitelistInvoker added in v0.0.90

type ShowIpWhitelistInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowIpWhitelistInvoker) Invoke added in v0.0.90

type ShowMigrationTaskInvoker added in v0.0.90

type ShowMigrationTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMigrationTaskInvoker) Invoke added in v0.0.90

type ShowMigrationTaskStatsInvoker added in v0.0.90

type ShowMigrationTaskStatsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMigrationTaskStatsInvoker) Invoke added in v0.0.90

type ShowQuotaOfTenantInvoker added in v0.0.90

type ShowQuotaOfTenantInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowQuotaOfTenantInvoker) Invoke added in v0.0.90

type ShowTagsInvoker added in v0.0.90

type ShowTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTagsInvoker) Invoke added in v0.0.90

func (i *ShowTagsInvoker) Invoke() (*model.ShowTagsResponse, error)

type StopMigrationTaskInvoker added in v0.0.90

type StopMigrationTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StopMigrationTaskInvoker) Invoke added in v0.0.90

type StopMigrationTaskSyncInvoker added in v0.0.90

type StopMigrationTaskSyncInvoker struct {
	*invoker.BaseInvoker
}

func (*StopMigrationTaskSyncInvoker) Invoke added in v0.0.90

type UpdateBigkeyAutoscanConfigInvoker added in v0.0.90

type UpdateBigkeyAutoscanConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateBigkeyAutoscanConfigInvoker) Invoke added in v0.0.90

type UpdateConfigurationsInvoker added in v0.0.90

type UpdateConfigurationsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateConfigurationsInvoker) Invoke added in v0.0.90

type UpdateHotkeyAutoScanConfigInvoker added in v0.0.90

type UpdateHotkeyAutoScanConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateHotkeyAutoScanConfigInvoker) Invoke added in v0.0.90

type UpdateInstanceInvoker added in v0.0.90

type UpdateInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateInstanceInvoker) Invoke added in v0.0.90

type UpdateIpWhitelistInvoker added in v0.0.90

type UpdateIpWhitelistInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateIpWhitelistInvoker) Invoke added in v0.0.90

type UpdatePasswordInvoker added in v0.0.90

type UpdatePasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePasswordInvoker) Invoke added in v0.0.90

type UpdateSlavePriorityInvoker added in v0.0.90

type UpdateSlavePriorityInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSlavePriorityInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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