Documentation ¶
Index ¶
- func DcsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchCreateOrDeleteTags() *def.HttpRequestDef
- func GenReqDefForBatchDeleteInstances() *def.HttpRequestDef
- func GenReqDefForChangeMasterStandby() *def.HttpRequestDef
- func GenReqDefForCopyInstance() *def.HttpRequestDef
- func GenReqDefForCreateBigkeyScanTask() *def.HttpRequestDef
- func GenReqDefForCreateHotkeyScanTask() *def.HttpRequestDef
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForCreateMigrationTask() *def.HttpRequestDef
- func GenReqDefForDeleteBackgroundTask() *def.HttpRequestDef
- func GenReqDefForDeleteBackupFile() *def.HttpRequestDef
- func GenReqDefForDeleteBigkeyScanTask() *def.HttpRequestDef
- func GenReqDefForDeleteHotkeyScanTask() *def.HttpRequestDef
- func GenReqDefForDeleteIpFromDomainName() *def.HttpRequestDef
- func GenReqDefForDeleteMigrationTask() *def.HttpRequestDef
- func GenReqDefForDeleteSingleInstance() *def.HttpRequestDef
- func GenReqDefForListAvailableZones() *def.HttpRequestDef
- func GenReqDefForListBackgroundTask() *def.HttpRequestDef
- func GenReqDefForListBackupFileLinks() *def.HttpRequestDef
- func GenReqDefForListBackupRecords() *def.HttpRequestDef
- func GenReqDefForListBigkeyScanTasks() *def.HttpRequestDef
- func GenReqDefForListConfigurations() *def.HttpRequestDef
- func GenReqDefForListFlavors() *def.HttpRequestDef
- func GenReqDefForListGroupReplicationInfo() *def.HttpRequestDef
- func GenReqDefForListHotKeyScanTasks() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListMaintenanceWindows() *def.HttpRequestDef
- func GenReqDefForListMigrationTask() *def.HttpRequestDef
- func GenReqDefForListMonitoredObjects() *def.HttpRequestDef
- func GenReqDefForListMonitoredObjectsOfInstance() *def.HttpRequestDef
- func GenReqDefForListNumberOfInstancesInDifferentStatus() *def.HttpRequestDef
- func GenReqDefForListRestoreRecords() *def.HttpRequestDef
- func GenReqDefForListSlowlog() *def.HttpRequestDef
- func GenReqDefForListStatisticsOfRunningInstances() *def.HttpRequestDef
- func GenReqDefForListTagsOfTenant() *def.HttpRequestDef
- func GenReqDefForRestartOrFlushInstances() *def.HttpRequestDef
- func GenReqDefForRestoreInstance() *def.HttpRequestDef
- func GenReqDefForShowBigkeyAutoscanConfig() *def.HttpRequestDef
- func GenReqDefForShowBigkeyScanTaskDetails() *def.HttpRequestDef
- func GenReqDefForShowHotkeyAutoscanConfig() *def.HttpRequestDef
- func GenReqDefForShowHotkeyTaskDetails() *def.HttpRequestDef
- func GenReqDefForShowInstance() *def.HttpRequestDef
- func GenReqDefForShowIpWhitelist() *def.HttpRequestDef
- func GenReqDefForShowMigrationTask() *def.HttpRequestDef
- func GenReqDefForShowMigrationTaskStats() *def.HttpRequestDef
- func GenReqDefForShowQuotaOfTenant() *def.HttpRequestDef
- func GenReqDefForShowTags() *def.HttpRequestDef
- func GenReqDefForStopMigrationTask() *def.HttpRequestDef
- func GenReqDefForUpdateBigkeyAutoscanConfig() *def.HttpRequestDef
- func GenReqDefForUpdateConfigurations() *def.HttpRequestDef
- func GenReqDefForUpdateHotkeyAutoScanConfig() *def.HttpRequestDef
- func GenReqDefForUpdateInstance() *def.HttpRequestDef
- func GenReqDefForUpdateIpWhitelist() *def.HttpRequestDef
- func GenReqDefForUpdatePassword() *def.HttpRequestDef
- func GenReqDefForUpdateSlavePriority() *def.HttpRequestDef
- type DcsClient
- func (c *DcsClient) BatchCreateOrDeleteTags(request *model.BatchCreateOrDeleteTagsRequest) (*model.BatchCreateOrDeleteTagsResponse, error)
- func (c *DcsClient) BatchDeleteInstances(request *model.BatchDeleteInstancesRequest) (*model.BatchDeleteInstancesResponse, error)
- func (c *DcsClient) ChangeMasterStandby(request *model.ChangeMasterStandbyRequest) (*model.ChangeMasterStandbyResponse, error)
- func (c *DcsClient) CopyInstance(request *model.CopyInstanceRequest) (*model.CopyInstanceResponse, error)
- func (c *DcsClient) CreateBigkeyScanTask(request *model.CreateBigkeyScanTaskRequest) (*model.CreateBigkeyScanTaskResponse, error)
- func (c *DcsClient) CreateHotkeyScanTask(request *model.CreateHotkeyScanTaskRequest) (*model.CreateHotkeyScanTaskResponse, error)
- func (c *DcsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *DcsClient) CreateMigrationTask(request *model.CreateMigrationTaskRequest) (*model.CreateMigrationTaskResponse, error)
- func (c *DcsClient) DeleteBackgroundTask(request *model.DeleteBackgroundTaskRequest) (*model.DeleteBackgroundTaskResponse, error)
- func (c *DcsClient) DeleteBackupFile(request *model.DeleteBackupFileRequest) (*model.DeleteBackupFileResponse, error)
- func (c *DcsClient) DeleteBigkeyScanTask(request *model.DeleteBigkeyScanTaskRequest) (*model.DeleteBigkeyScanTaskResponse, error)
- func (c *DcsClient) DeleteHotkeyScanTask(request *model.DeleteHotkeyScanTaskRequest) (*model.DeleteHotkeyScanTaskResponse, error)
- func (c *DcsClient) DeleteIpFromDomainName(request *model.DeleteIpFromDomainNameRequest) (*model.DeleteIpFromDomainNameResponse, error)
- func (c *DcsClient) DeleteMigrationTask(request *model.DeleteMigrationTaskRequest) (*model.DeleteMigrationTaskResponse, error)
- func (c *DcsClient) DeleteSingleInstance(request *model.DeleteSingleInstanceRequest) (*model.DeleteSingleInstanceResponse, error)
- func (c *DcsClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)
- func (c *DcsClient) ListBackgroundTask(request *model.ListBackgroundTaskRequest) (*model.ListBackgroundTaskResponse, error)
- func (c *DcsClient) ListBackupFileLinks(request *model.ListBackupFileLinksRequest) (*model.ListBackupFileLinksResponse, error)
- func (c *DcsClient) ListBackupRecords(request *model.ListBackupRecordsRequest) (*model.ListBackupRecordsResponse, error)
- func (c *DcsClient) ListBigkeyScanTasks(request *model.ListBigkeyScanTasksRequest) (*model.ListBigkeyScanTasksResponse, error)
- func (c *DcsClient) ListConfigurations(request *model.ListConfigurationsRequest) (*model.ListConfigurationsResponse, error)
- func (c *DcsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
- func (c *DcsClient) ListGroupReplicationInfo(request *model.ListGroupReplicationInfoRequest) (*model.ListGroupReplicationInfoResponse, error)
- func (c *DcsClient) ListHotKeyScanTasks(request *model.ListHotKeyScanTasksRequest) (*model.ListHotKeyScanTasksResponse, error)
- func (c *DcsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *DcsClient) ListMaintenanceWindows(request *model.ListMaintenanceWindowsRequest) (*model.ListMaintenanceWindowsResponse, error)
- func (c *DcsClient) ListMigrationTask(request *model.ListMigrationTaskRequest) (*model.ListMigrationTaskResponse, error)
- func (c *DcsClient) ListMonitoredObjects(request *model.ListMonitoredObjectsRequest) (*model.ListMonitoredObjectsResponse, error)
- func (c *DcsClient) ListMonitoredObjectsOfInstance(request *model.ListMonitoredObjectsOfInstanceRequest) (*model.ListMonitoredObjectsOfInstanceResponse, error)
- func (c *DcsClient) ListNumberOfInstancesInDifferentStatus(request *model.ListNumberOfInstancesInDifferentStatusRequest) (*model.ListNumberOfInstancesInDifferentStatusResponse, error)
- func (c *DcsClient) ListRestoreRecords(request *model.ListRestoreRecordsRequest) (*model.ListRestoreRecordsResponse, error)
- func (c *DcsClient) ListSlowlog(request *model.ListSlowlogRequest) (*model.ListSlowlogResponse, error)
- func (c *DcsClient) ListStatisticsOfRunningInstances(request *model.ListStatisticsOfRunningInstancesRequest) (*model.ListStatisticsOfRunningInstancesResponse, error)
- func (c *DcsClient) ListTagsOfTenant(request *model.ListTagsOfTenantRequest) (*model.ListTagsOfTenantResponse, error)
- func (c *DcsClient) RestartOrFlushInstances(request *model.RestartOrFlushInstancesRequest) (*model.RestartOrFlushInstancesResponse, error)
- func (c *DcsClient) RestoreInstance(request *model.RestoreInstanceRequest) (*model.RestoreInstanceResponse, error)
- func (c *DcsClient) ShowBigkeyAutoscanConfig(request *model.ShowBigkeyAutoscanConfigRequest) (*model.ShowBigkeyAutoscanConfigResponse, error)
- func (c *DcsClient) ShowBigkeyScanTaskDetails(request *model.ShowBigkeyScanTaskDetailsRequest) (*model.ShowBigkeyScanTaskDetailsResponse, error)
- func (c *DcsClient) ShowHotkeyAutoscanConfig(request *model.ShowHotkeyAutoscanConfigRequest) (*model.ShowHotkeyAutoscanConfigResponse, error)
- func (c *DcsClient) ShowHotkeyTaskDetails(request *model.ShowHotkeyTaskDetailsRequest) (*model.ShowHotkeyTaskDetailsResponse, error)
- func (c *DcsClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
- func (c *DcsClient) ShowIpWhitelist(request *model.ShowIpWhitelistRequest) (*model.ShowIpWhitelistResponse, error)
- func (c *DcsClient) ShowMigrationTask(request *model.ShowMigrationTaskRequest) (*model.ShowMigrationTaskResponse, error)
- func (c *DcsClient) ShowMigrationTaskStats(request *model.ShowMigrationTaskStatsRequest) (*model.ShowMigrationTaskStatsResponse, error)
- func (c *DcsClient) ShowQuotaOfTenant(request *model.ShowQuotaOfTenantRequest) (*model.ShowQuotaOfTenantResponse, error)
- func (c *DcsClient) ShowTags(request *model.ShowTagsRequest) (*model.ShowTagsResponse, error)
- func (c *DcsClient) StopMigrationTask(request *model.StopMigrationTaskRequest) (*model.StopMigrationTaskResponse, error)
- func (c *DcsClient) UpdateBigkeyAutoscanConfig(request *model.UpdateBigkeyAutoscanConfigRequest) (*model.UpdateBigkeyAutoscanConfigResponse, error)
- func (c *DcsClient) UpdateConfigurations(request *model.UpdateConfigurationsRequest) (*model.UpdateConfigurationsResponse, error)
- func (c *DcsClient) UpdateHotkeyAutoScanConfig(request *model.UpdateHotkeyAutoScanConfigRequest) (*model.UpdateHotkeyAutoScanConfigResponse, error)
- func (c *DcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
- func (c *DcsClient) UpdateIpWhitelist(request *model.UpdateIpWhitelistRequest) (*model.UpdateIpWhitelistResponse, error)
- func (c *DcsClient) UpdatePassword(request *model.UpdatePasswordRequest) (*model.UpdatePasswordResponse, error)
- func (c *DcsClient) UpdateSlavePriority(request *model.UpdateSlavePriorityRequest) (*model.UpdateSlavePriorityResponse, error)
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 GenReqDefForChangeMasterStandby ¶
func GenReqDefForChangeMasterStandby() *def.HttpRequestDef
func GenReqDefForCopyInstance ¶
func GenReqDefForCopyInstance() *def.HttpRequestDef
func GenReqDefForCreateBigkeyScanTask ¶
func GenReqDefForCreateBigkeyScanTask() *def.HttpRequestDef
func GenReqDefForCreateHotkeyScanTask ¶
func GenReqDefForCreateHotkeyScanTask() *def.HttpRequestDef
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance() *def.HttpRequestDef
func GenReqDefForCreateMigrationTask ¶
func GenReqDefForCreateMigrationTask() *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 ¶
func GenReqDefForListBackupFileLinks() *def.HttpRequestDef
func GenReqDefForListBackupRecords ¶
func GenReqDefForListBackupRecords() *def.HttpRequestDef
func GenReqDefForListBigkeyScanTasks ¶
func GenReqDefForListBigkeyScanTasks() *def.HttpRequestDef
func GenReqDefForListConfigurations ¶
func GenReqDefForListConfigurations() *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 GenReqDefForListRestoreRecords ¶
func GenReqDefForListRestoreRecords() *def.HttpRequestDef
func GenReqDefForListSlowlog ¶
func GenReqDefForListSlowlog() *def.HttpRequestDef
func GenReqDefForListStatisticsOfRunningInstances ¶
func GenReqDefForListStatisticsOfRunningInstances() *def.HttpRequestDef
func GenReqDefForListTagsOfTenant ¶
func GenReqDefForListTagsOfTenant() *def.HttpRequestDef
func GenReqDefForRestartOrFlushInstances ¶
func GenReqDefForRestartOrFlushInstances() *def.HttpRequestDef
func GenReqDefForRestoreInstance ¶
func GenReqDefForRestoreInstance() *def.HttpRequestDef
func GenReqDefForShowBigkeyAutoscanConfig ¶
func GenReqDefForShowBigkeyAutoscanConfig() *def.HttpRequestDef
func GenReqDefForShowBigkeyScanTaskDetails ¶
func GenReqDefForShowBigkeyScanTaskDetails() *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 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 DcsClient ¶
type DcsClient struct {
HcClient *http_client.HcHttpClient
}
func NewDcsClient ¶
func NewDcsClient(hcClient *http_client.HcHttpClient) *DcsClient
func (*DcsClient) BatchCreateOrDeleteTags ¶
func (c *DcsClient) BatchCreateOrDeleteTags(request *model.BatchCreateOrDeleteTagsRequest) (*model.BatchCreateOrDeleteTagsResponse, error)
为指定实例批量添加标签,或批量删除标签。
func (*DcsClient) BatchDeleteInstances ¶
func (c *DcsClient) BatchDeleteInstances(request *model.BatchDeleteInstancesRequest) (*model.BatchDeleteInstancesResponse, error)
批量删除多个缓存实例。
func (*DcsClient) ChangeMasterStandby ¶
func (c *DcsClient) ChangeMasterStandby(request *model.ChangeMasterStandbyRequest) (*model.ChangeMasterStandbyResponse, error)
切换实例主备节点,只有主备实例支持该操作。
func (*DcsClient) CopyInstance ¶
func (c *DcsClient) CopyInstance(request *model.CopyInstanceRequest) (*model.CopyInstanceResponse, error)
备份指定的缓存实例。 > 只有主备和集群类型的缓存实例支持备份恢复操作,单机实例不支持备份恢复操作。
func (*DcsClient) CreateBigkeyScanTask ¶
func (c *DcsClient) CreateBigkeyScanTask(request *model.CreateBigkeyScanTaskRequest) (*model.CreateBigkeyScanTaskResponse, error)
为Redis实例创建大key分析任务。
func (*DcsClient) CreateHotkeyScanTask ¶
func (c *DcsClient) CreateHotkeyScanTask(request *model.CreateHotkeyScanTaskRequest) (*model.CreateHotkeyScanTaskResponse, error)
创建热key分析任务,Redis 3.0 不支持热key分析。 热key分析需要将缓存实例配置参数maxmemory-policy设置为allkeys-lfu或volatile-lfu。
func (*DcsClient) CreateInstance ¶
func (c *DcsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
创建缓存实例,该接口创建的缓存实例支持按需计费和包周期两种方式。
func (*DcsClient) CreateMigrationTask ¶
func (c *DcsClient) CreateMigrationTask(request *model.CreateMigrationTaskRequest) (*model.CreateMigrationTaskResponse, error)
创建数据迁移任务。
func (*DcsClient) DeleteBackgroundTask ¶
func (c *DcsClient) DeleteBackgroundTask(request *model.DeleteBackgroundTaskRequest) (*model.DeleteBackgroundTaskResponse, error)
删除后台任务
func (*DcsClient) DeleteBackupFile ¶
func (c *DcsClient) DeleteBackupFile(request *model.DeleteBackupFileRequest) (*model.DeleteBackupFileResponse, error)
删除缓存实例已备份的文件。
func (*DcsClient) DeleteBigkeyScanTask ¶
func (c *DcsClient) DeleteBigkeyScanTask(request *model.DeleteBigkeyScanTaskRequest) (*model.DeleteBigkeyScanTaskResponse, error)
删除大key分析记录。
func (*DcsClient) DeleteHotkeyScanTask ¶
func (c *DcsClient) DeleteHotkeyScanTask(request *model.DeleteHotkeyScanTaskRequest) (*model.DeleteHotkeyScanTaskResponse, error)
删除热key分析任务。
func (*DcsClient) DeleteIpFromDomainName ¶
func (c *DcsClient) DeleteIpFromDomainName(request *model.DeleteIpFromDomainNameRequest) (*model.DeleteIpFromDomainNameResponse, error)
将只读副本的IP从域名中摘除,摘除成功后,只读域名不会再解析到该副本IP。
func (*DcsClient) DeleteMigrationTask ¶
func (c *DcsClient) DeleteMigrationTask(request *model.DeleteMigrationTaskRequest) (*model.DeleteMigrationTaskResponse, error)
删除数据迁移任务。
func (*DcsClient) DeleteSingleInstance ¶
func (c *DcsClient) DeleteSingleInstance(request *model.DeleteSingleInstanceRequest) (*model.DeleteSingleInstanceResponse, error)
删除指定的缓存实例,释放该实例的所有资源。 > 如果是删除按需资源,请按照本章节执行;如果是删除包周期资源,即退订,请参考[退订包周期资源](https://support.huaweicloud.com/api-oce/zh-cn_topic_0082522030.html#section2)。
func (*DcsClient) ListAvailableZones ¶
func (c *DcsClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)
查询所在局点的可用区信息
func (*DcsClient) ListBackgroundTask ¶
func (c *DcsClient) ListBackgroundTask(request *model.ListBackgroundTaskRequest) (*model.ListBackgroundTaskResponse, error)
查询后台任务列表
func (*DcsClient) ListBackupFileLinks ¶
func (c *DcsClient) ListBackupFileLinks(request *model.ListBackupFileLinksRequest) (*model.ListBackupFileLinksResponse, error)
获取指定实例的备份文件下载链接,下载备份文件。
func (*DcsClient) ListBackupRecords ¶
func (c *DcsClient) ListBackupRecords(request *model.ListBackupRecordsRequest) (*model.ListBackupRecordsResponse, error)
查询指定缓存实例的备份信息列表。
func (*DcsClient) ListBigkeyScanTasks ¶
func (c *DcsClient) ListBigkeyScanTasks(request *model.ListBigkeyScanTasksRequest) (*model.ListBigkeyScanTasksResponse, error)
查询大key分析任务列表。
func (*DcsClient) ListConfigurations ¶
func (c *DcsClient) ListConfigurations(request *model.ListConfigurationsRequest) (*model.ListConfigurationsResponse, error)
查询指定实例的配置参数信息。
func (*DcsClient) ListFlavors ¶
func (c *DcsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
在创建缓存实例时,需要配置订购的产品规格编码(spec_code),可通过该接口查询产品规格,查询条件不选时默认查询全部。
func (*DcsClient) ListGroupReplicationInfo ¶
func (c *DcsClient) ListGroupReplicationInfo(request *model.ListGroupReplicationInfoRequest) (*model.ListGroupReplicationInfoResponse, error)
查询读写分离实例和集群实例的分片和副本信息,其中,读写分离实例仅Redis4.0和Redis5.0的主备实例支持。
func (*DcsClient) ListHotKeyScanTasks ¶
func (c *DcsClient) ListHotKeyScanTasks(request *model.ListHotKeyScanTasksRequest) (*model.ListHotKeyScanTasksResponse, error)
查询热key分析历史记录。
func (*DcsClient) ListInstances ¶
func (c *DcsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
查询租户的缓存实例列表,支持按照条件查询。
func (*DcsClient) ListMaintenanceWindows ¶
func (c *DcsClient) ListMaintenanceWindows(request *model.ListMaintenanceWindowsRequest) (*model.ListMaintenanceWindowsResponse, error)
查询维护时间窗开始时间和结束时间。
func (*DcsClient) ListMigrationTask ¶
func (c *DcsClient) ListMigrationTask(request *model.ListMigrationTaskRequest) (*model.ListMigrationTaskResponse, error)
查询迁移任务列表。
func (*DcsClient) ListMonitoredObjects ¶
func (c *DcsClient) ListMonitoredObjects(request *model.ListMonitoredObjectsRequest) (*model.ListMonitoredObjectsResponse, error)
查询主维度对象列表,主维度ID当前支持dcs_instance_id,dcs_memcached_instance_id。 > 该接口当前仅在中国华南区开放。
func (*DcsClient) ListMonitoredObjectsOfInstance ¶
func (c *DcsClient) ListMonitoredObjectsOfInstance(request *model.ListMonitoredObjectsOfInstanceRequest) (*model.ListMonitoredObjectsOfInstanceResponse, error)
查询主维度下子维度监控对象列表,当前支持子维度的主维度ID的有 dcs_instance_id > 该接口当前仅在中国华南区开放。
func (*DcsClient) ListNumberOfInstancesInDifferentStatus ¶
func (c *DcsClient) ListNumberOfInstancesInDifferentStatus(request *model.ListNumberOfInstancesInDifferentStatusRequest) (*model.ListNumberOfInstancesInDifferentStatusResponse, error)
查询该租户在当前区域下不同状态的实例数。
func (*DcsClient) ListRestoreRecords ¶
func (c *DcsClient) ListRestoreRecords(request *model.ListRestoreRecordsRequest) (*model.ListRestoreRecordsResponse, error)
查询指定缓存实例的恢复记录列表。
func (*DcsClient) ListSlowlog ¶
func (c *DcsClient) ListSlowlog(request *model.ListSlowlogRequest) (*model.ListSlowlogResponse, error)
查询慢日志。
func (*DcsClient) ListStatisticsOfRunningInstances ¶
func (c *DcsClient) ListStatisticsOfRunningInstances(request *model.ListStatisticsOfRunningInstancesRequest) (*model.ListStatisticsOfRunningInstancesResponse, error)
查询当前租户下处于“运行中”状态的缓存实例的统计信息。
func (*DcsClient) ListTagsOfTenant ¶
func (c *DcsClient) ListTagsOfTenant(request *model.ListTagsOfTenantRequest) (*model.ListTagsOfTenantResponse, error)
查询租户在指定Project中实例类型的所有资源标签集合。
func (*DcsClient) RestartOrFlushInstances ¶
func (c *DcsClient) RestartOrFlushInstances(request *model.RestartOrFlushInstancesRequest) (*model.RestartOrFlushInstancesResponse, error)
重启运行中的DCS缓存实例。 清空Redis4.0/Redis5.0的实例数据,数据清空后,无法撤销,且无法恢复,请谨慎操作。
func (*DcsClient) RestoreInstance ¶
func (c *DcsClient) RestoreInstance(request *model.RestoreInstanceRequest) (*model.RestoreInstanceResponse, error)
恢复指定的缓存实例。 > 只有主备和集群类型的缓存实例支持备份恢复操作,单机实例不支持备份恢复操作。
func (*DcsClient) ShowBigkeyAutoscanConfig ¶
func (c *DcsClient) ShowBigkeyAutoscanConfig(request *model.ShowBigkeyAutoscanConfigRequest) (*model.ShowBigkeyAutoscanConfigResponse, error)
查询大key自动分析配置。
func (*DcsClient) ShowBigkeyScanTaskDetails ¶
func (c *DcsClient) ShowBigkeyScanTaskDetails(request *model.ShowBigkeyScanTaskDetailsRequest) (*model.ShowBigkeyScanTaskDetailsResponse, error)
查询大key分析详情。
func (*DcsClient) ShowHotkeyAutoscanConfig ¶
func (c *DcsClient) ShowHotkeyAutoscanConfig(request *model.ShowHotkeyAutoscanConfigRequest) (*model.ShowHotkeyAutoscanConfigResponse, error)
查询热key自动分析配置。
func (*DcsClient) ShowHotkeyTaskDetails ¶
func (c *DcsClient) ShowHotkeyTaskDetails(request *model.ShowHotkeyTaskDetailsRequest) (*model.ShowHotkeyTaskDetailsResponse, error)
查询热key分析详情。
func (*DcsClient) ShowInstance ¶
func (c *DcsClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
通过实例ID查询实例的详细信息。
func (*DcsClient) ShowIpWhitelist ¶
func (c *DcsClient) ShowIpWhitelist(request *model.ShowIpWhitelistRequest) (*model.ShowIpWhitelistResponse, error)
查询指定实例的IP白名单。
func (*DcsClient) ShowMigrationTask ¶
func (c *DcsClient) ShowMigrationTask(request *model.ShowMigrationTaskRequest) (*model.ShowMigrationTaskResponse, error)
查询迁移任务详情。
func (*DcsClient) ShowMigrationTaskStats ¶
func (c *DcsClient) ShowMigrationTaskStats(request *model.ShowMigrationTaskStatsRequest) (*model.ShowMigrationTaskStatsResponse, error)
查询在线迁移进度明细。
func (*DcsClient) ShowQuotaOfTenant ¶
func (c *DcsClient) ShowQuotaOfTenant(request *model.ShowQuotaOfTenantRequest) (*model.ShowQuotaOfTenantResponse, error)
查询租户默认可以创建的实例数和总内存的配额限制,以及可以申请配额的最大值和最小值。不同的租户在不同的区域配额可能不同。
func (*DcsClient) ShowTags ¶
func (c *DcsClient) ShowTags(request *model.ShowTagsRequest) (*model.ShowTagsResponse, error)
通过实例ID查询标签。
func (*DcsClient) StopMigrationTask ¶
func (c *DcsClient) StopMigrationTask(request *model.StopMigrationTaskRequest) (*model.StopMigrationTaskResponse, error)
停止数据迁移任务。
func (*DcsClient) UpdateBigkeyAutoscanConfig ¶
func (c *DcsClient) UpdateBigkeyAutoscanConfig(request *model.UpdateBigkeyAutoscanConfigRequest) (*model.UpdateBigkeyAutoscanConfigResponse, error)
设置大key自动分析配置。
func (*DcsClient) UpdateConfigurations ¶
func (c *DcsClient) UpdateConfigurations(request *model.UpdateConfigurationsRequest) (*model.UpdateConfigurationsResponse, error)
为了确保分布式缓存服务发挥出最优性能,您可以根据自己的业务情况对DCS缓存实例的运行参数进行调整。
func (*DcsClient) UpdateHotkeyAutoScanConfig ¶
func (c *DcsClient) UpdateHotkeyAutoScanConfig(request *model.UpdateHotkeyAutoScanConfigRequest) (*model.UpdateHotkeyAutoScanConfigResponse, error)
设置热key自动分析配置。
func (*DcsClient) UpdateInstance ¶
func (c *DcsClient) UpdateInstance(request *model.UpdateInstanceRequest) (*model.UpdateInstanceResponse, error)
修改缓存实例的信息,可修改信息包括实例名称、描述、备份策略、维护时间窗开始和结束时间以及安全组。
func (*DcsClient) UpdateIpWhitelist ¶
func (c *DcsClient) UpdateIpWhitelist(request *model.UpdateIpWhitelistRequest) (*model.UpdateIpWhitelistResponse, error)
为指定实例设置IP白名单分组,包含创建、停用、编辑、删除白名单四个功能
func (*DcsClient) UpdatePassword ¶
func (c *DcsClient) UpdatePassword(request *model.UpdatePasswordRequest) (*model.UpdatePasswordResponse, error)
修改缓存实例的密码。
func (*DcsClient) UpdateSlavePriority ¶
func (c *DcsClient) UpdateSlavePriority(request *model.UpdateSlavePriorityRequest) (*model.UpdateSlavePriorityResponse, error)
设置副本优先级,主节点故障时,权重越小的备节点切换为主节点的优先级越高。