cynosdb

package
v1.81.91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CYNOSDB_CHARGE_TYPE_POSTPAID = svcpostgresql.COMMON_PAYTYPE_POSTPAID
	CYNOSDB_CHARGE_TYPE_PREPAID  = svcpostgresql.COMMON_PAYTYPE_PREPAID
	CYNOSDB_SERVERLESS           = "SERVERLESS"

	CYNOSDB_STATUS_RUNNING  = "running"
	CYNOSDB_STATUS_OFFLINE  = "offlined"
	CYNOSDB_STATUS_ISOLATED = "isolated"
	CYNOSDB_STATUS_DELETED  = "deleted"

	CYNOSDB_UPGRADE_IMMEDIATE = "upgradeImmediate"

	CYNOSDB_INSTANCE_RW_TYPE = "rw"
	CYNOSDB_INSTANCE_RO_TYPE = "ro"

	CYNOSDB_DEFAULT_OFFSET = 0
	CYNOSDB_MAX_LIMIT      = 100

	CYNOSDB_INSGRP_HA = "ha"
	CYNOSDB_INSGRP_RO = "ro"

	// 0-成功,1-失败,2-处理中
	CYNOSDB_FLOW_STATUS_SUCCESSFUL = "0"
	CYNOSDB_FLOW_STATUS_FAILED     = "1"
	CYNOSDB_FLOW_STATUS_PROCESSING = "2"
)
View Source
const (
	STATUS_YES = "yes"
	STATUS_NO  = "no"

	RW_TYPE = "READWRITE"
	RO_TYPE = "READONLY"
)

Variables

View Source
var (
	CYNOSDB_PREPAID_PERIOD = []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36}
	CYNOSDB_CHARGE_TYPE    = map[int64]string{
		0: svcpostgresql.COMMON_PAYTYPE_POSTPAID,
		1: svcpostgresql.COMMON_PAYTYPE_PREPAID,
	}
)

Functions

func DataSourceTencentCloudCynosdbAccountAllGrantPrivileges

func DataSourceTencentCloudCynosdbAccountAllGrantPrivileges() *schema.Resource

func DataSourceTencentCloudCynosdbAccounts

func DataSourceTencentCloudCynosdbAccounts() *schema.Resource

func DataSourceTencentCloudCynosdbAuditLogs

func DataSourceTencentCloudCynosdbAuditLogs() *schema.Resource

func DataSourceTencentCloudCynosdbBackupDownloadUrl

func DataSourceTencentCloudCynosdbBackupDownloadUrl() *schema.Resource

func DataSourceTencentCloudCynosdbBinlogDownloadUrl

func DataSourceTencentCloudCynosdbBinlogDownloadUrl() *schema.Resource

func DataSourceTencentCloudCynosdbCluster

func DataSourceTencentCloudCynosdbCluster() *schema.Resource

func DataSourceTencentCloudCynosdbClusterDetailDatabases

func DataSourceTencentCloudCynosdbClusterDetailDatabases() *schema.Resource

func DataSourceTencentCloudCynosdbClusterInstanceGroups

func DataSourceTencentCloudCynosdbClusterInstanceGroups() *schema.Resource

func DataSourceTencentCloudCynosdbClusterParamLogs

func DataSourceTencentCloudCynosdbClusterParamLogs() *schema.Resource

func DataSourceTencentCloudCynosdbClusterParams

func DataSourceTencentCloudCynosdbClusterParams() *schema.Resource

func DataSourceTencentCloudCynosdbClusters

func DataSourceTencentCloudCynosdbClusters() *schema.Resource

func DataSourceTencentCloudCynosdbDescribeInstanceErrorLogs

func DataSourceTencentCloudCynosdbDescribeInstanceErrorLogs() *schema.Resource

func DataSourceTencentCloudCynosdbDescribeInstanceSlowQueries

func DataSourceTencentCloudCynosdbDescribeInstanceSlowQueries() *schema.Resource

func DataSourceTencentCloudCynosdbInstanceSlowQueries

func DataSourceTencentCloudCynosdbInstanceSlowQueries() *schema.Resource

func DataSourceTencentCloudCynosdbInstances

func DataSourceTencentCloudCynosdbInstances() *schema.Resource

func DataSourceTencentCloudCynosdbParamTemplates

func DataSourceTencentCloudCynosdbParamTemplates() *schema.Resource

func DataSourceTencentCloudCynosdbProjectSecurityGroups

func DataSourceTencentCloudCynosdbProjectSecurityGroups() *schema.Resource

func DataSourceTencentCloudCynosdbProxyNode

func DataSourceTencentCloudCynosdbProxyNode() *schema.Resource

func DataSourceTencentCloudCynosdbProxyVersion

func DataSourceTencentCloudCynosdbProxyVersion() *schema.Resource

func DataSourceTencentCloudCynosdbResourcePackageList

func DataSourceTencentCloudCynosdbResourcePackageList() *schema.Resource

func DataSourceTencentCloudCynosdbResourcePackageSaleSpecs

func DataSourceTencentCloudCynosdbResourcePackageSaleSpecs() *schema.Resource

func DataSourceTencentCloudCynosdbRollbackTimeRange

func DataSourceTencentCloudCynosdbRollbackTimeRange() *schema.Resource

func DataSourceTencentCloudCynosdbZone

func DataSourceTencentCloudCynosdbZone() *schema.Resource

func DataSourceTencentCloudCynosdbZoneConfig

func DataSourceTencentCloudCynosdbZoneConfig() *schema.Resource

func ResourceTencentCloudCynosdbAccount

func ResourceTencentCloudCynosdbAccount() *schema.Resource

func ResourceTencentCloudCynosdbAccountPrivileges

func ResourceTencentCloudCynosdbAccountPrivileges() *schema.Resource

func ResourceTencentCloudCynosdbAuditLogFile

func ResourceTencentCloudCynosdbAuditLogFile() *schema.Resource

func ResourceTencentCloudCynosdbBinlogSaveDays

func ResourceTencentCloudCynosdbBinlogSaveDays() *schema.Resource

func ResourceTencentCloudCynosdbCluster

func ResourceTencentCloudCynosdbCluster() *schema.Resource

func ResourceTencentCloudCynosdbClusterDatabases

func ResourceTencentCloudCynosdbClusterDatabases() *schema.Resource

func ResourceTencentCloudCynosdbClusterPasswordComplexity

func ResourceTencentCloudCynosdbClusterPasswordComplexity() *schema.Resource

func ResourceTencentCloudCynosdbClusterResourcePackagesAttachment

func ResourceTencentCloudCynosdbClusterResourcePackagesAttachment() *schema.Resource

func ResourceTencentCloudCynosdbClusterSlaveZone

func ResourceTencentCloudCynosdbClusterSlaveZone() *schema.Resource

func ResourceTencentCloudCynosdbExportInstanceErrorLogs

func ResourceTencentCloudCynosdbExportInstanceErrorLogs() *schema.Resource

func ResourceTencentCloudCynosdbExportInstanceSlowQueries

func ResourceTencentCloudCynosdbExportInstanceSlowQueries() *schema.Resource

func ResourceTencentCloudCynosdbInstanceParam

func ResourceTencentCloudCynosdbInstanceParam() *schema.Resource

func ResourceTencentCloudCynosdbIsolateInstance

func ResourceTencentCloudCynosdbIsolateInstance() *schema.Resource

func ResourceTencentCloudCynosdbParamTemplate

func ResourceTencentCloudCynosdbParamTemplate() *schema.Resource

func ResourceTencentCloudCynosdbProxy

func ResourceTencentCloudCynosdbProxy() *schema.Resource

func ResourceTencentCloudCynosdbProxyEndPoint

func ResourceTencentCloudCynosdbProxyEndPoint() *schema.Resource

func ResourceTencentCloudCynosdbReadOnlyInstanceExclusiveAccess

func ResourceTencentCloudCynosdbReadOnlyInstanceExclusiveAccess() *schema.Resource

func ResourceTencentCloudCynosdbReadonlyInstance

func ResourceTencentCloudCynosdbReadonlyInstance() *schema.Resource

func ResourceTencentCloudCynosdbReloadProxyNode

func ResourceTencentCloudCynosdbReloadProxyNode() *schema.Resource

func ResourceTencentCloudCynosdbResourcePackage

func ResourceTencentCloudCynosdbResourcePackage() *schema.Resource

func ResourceTencentCloudCynosdbRestartInstance

func ResourceTencentCloudCynosdbRestartInstance() *schema.Resource

func ResourceTencentCloudCynosdbRollBackCluster

func ResourceTencentCloudCynosdbRollBackCluster() *schema.Resource

func ResourceTencentCloudCynosdbSecurityGroup

func ResourceTencentCloudCynosdbSecurityGroup() *schema.Resource

func ResourceTencentCloudCynosdbUpgradeProxyVersion

func ResourceTencentCloudCynosdbUpgradeProxyVersion() *schema.Resource

func ResourceTencentCloudCynosdbWan

func ResourceTencentCloudCynosdbWan() *schema.Resource

func TencentCynosdbClusterBaseInfo

func TencentCynosdbClusterBaseInfo() map[string]*schema.Schema

func TencentCynosdbInstanceBaseInfo

func TencentCynosdbInstanceBaseInfo() map[string]*schema.Schema

Types

type CynosdbService

type CynosdbService struct {
	// contains filtered or unexported fields
}

func NewCynosdbService

func NewCynosdbService(client *connectivity.TencentCloudClient) CynosdbService

func (*CynosdbService) CopyClusterPasswordComplexity

func (me *CynosdbService) CopyClusterPasswordComplexity(ctx context.Context, clusterId string) (errRet error)

func (*CynosdbService) CynosdbClusterSlaveZoneStateRefreshFunc

func (me *CynosdbService) CynosdbClusterSlaveZoneStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc

func (*CynosdbService) CynosdbInstanceIsolateStateRefreshFunc

func (me *CynosdbService) CynosdbInstanceIsolateStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc

func (*CynosdbService) CynosdbInstanceOfflineStateRefreshFunc

func (me *CynosdbService) CynosdbInstanceOfflineStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc

func (*CynosdbService) DeleteCynosdbAccountById

func (me *CynosdbService) DeleteCynosdbAccountById(ctx context.Context, clusterId string, accountNames string, host string) (errRet error)

func (*CynosdbService) DeleteCynosdbAccountPrivilegesById

func (me *CynosdbService) DeleteCynosdbAccountPrivilegesById(ctx context.Context, clusterId string, accountName string, host string) (errRet error)

func (*CynosdbService) DeleteCynosdbAuditLogFileById

func (me *CynosdbService) DeleteCynosdbAuditLogFileById(ctx context.Context, instanceId string, fileName string) (errRet error)

func (*CynosdbService) DeleteCynosdbBackupById

func (me *CynosdbService) DeleteCynosdbBackupById(ctx context.Context, clusterId, backupId string) (errRet error)

func (*CynosdbService) DeleteCynosdbClusterDatabasesById

func (me *CynosdbService) DeleteCynosdbClusterDatabasesById(ctx context.Context, clusterId, dbName string) (errRet error)

func (*CynosdbService) DeleteCynosdbClusterPasswordComplexityById

func (me *CynosdbService) DeleteCynosdbClusterPasswordComplexityById(ctx context.Context, clusterId string) (flowId int64, errRet error)

func (*CynosdbService) DeleteCynosdbClusterResourcePackagesAttachmentById

func (me *CynosdbService) DeleteCynosdbClusterResourcePackagesAttachmentById(ctx context.Context, clusterId string, packageIdsSet []*string) (errRet error)

func (*CynosdbService) DeleteCynosdbClusterSlaveZoneById

func (me *CynosdbService) DeleteCynosdbClusterSlaveZoneById(ctx context.Context, clusterId string, slaveZone string) (flowId *int64, errRet error)

func (*CynosdbService) DeleteCynosdbParamTemplateById

func (me *CynosdbService) DeleteCynosdbParamTemplateById(ctx context.Context, templateId int64) (errRet error)

func (*CynosdbService) DeleteCynosdbProxyById

func (me *CynosdbService) DeleteCynosdbProxyById(ctx context.Context, clusterId string) (flowId *int64, errRet error)

func (*CynosdbService) DeleteCynosdbProxyEndPointById

func (me *CynosdbService) DeleteCynosdbProxyEndPointById(ctx context.Context, clusterId, proxyGroupId string) (flowId int64, errRet error)

func (*CynosdbService) DeleteCynosdbResourcePackageById

func (me *CynosdbService) DeleteCynosdbResourcePackageById(ctx context.Context, packageId string) (errRet error)

func (*CynosdbService) DeleteCynosdbSecurityGroupById

func (me *CynosdbService) DeleteCynosdbSecurityGroupById(ctx context.Context, instanceId string, securityGroupIds []*string) (errRet error)

func (*CynosdbService) DeleteCynosdbWanById

func (me *CynosdbService) DeleteCynosdbWanById(ctx context.Context, instanceGrpId string) (flowId int64, errRet error)

func (*CynosdbService) DescribeClusterById

func (me *CynosdbService) DescribeClusterById(ctx context.Context, clusterId string) (clusterItem *cynosdb.CynosdbCluster, clusterInfo *cynosdb.CynosdbClusterDetail, has bool, errRet error)

* Return values:

	clusterItem: ResponseBody of DescribeClusters, include `renew_flag` and `db_mode`
    clusterInfo: ResponseBody of DescribeClusterDetailResponse, primary args setter.

func (*CynosdbService) DescribeClusterInstanceGrps

func (me *CynosdbService) DescribeClusterInstanceGrps(ctx context.Context, clusterId string) (response *cynosdb.DescribeClusterInstanceGrpsResponse, errRet error)

func (*CynosdbService) DescribeClusterParams

func (me *CynosdbService) DescribeClusterParams(ctx context.Context, clusterId string) (items []*cynosdb.ParamInfo, errRet error)

func (*CynosdbService) DescribeClusterParamsByFilter

func (me *CynosdbService) DescribeClusterParamsByFilter(ctx context.Context, clusterId string, paramMap map[string]interface{}) (items []*cynosdb.ParamInfo, errRet error)

func (*CynosdbService) DescribeClusters

func (me *CynosdbService) DescribeClusters(ctx context.Context, filters map[string]string) (clusters []*cynosdb.CynosdbCluster, errRet error)

func (*CynosdbService) DescribeCynosdbAccountAllGrantPrivilegesByFilter

func (me *CynosdbService) DescribeCynosdbAccountAllGrantPrivilegesByFilter(ctx context.Context, param map[string]interface{}) (accountAllGrantPrivileges *cynosdb.DescribeAccountAllGrantPrivilegesResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbAccountById

func (me *CynosdbService) DescribeCynosdbAccountById(ctx context.Context, clusterId string, accountName string, host string) (account *cynosdb.Account, errRet error)

func (*CynosdbService) DescribeCynosdbAccountPrivilegesById

func (me *CynosdbService) DescribeCynosdbAccountPrivilegesById(ctx context.Context, clusterId string, accountName string, host string) (accountPrivileges *cynosdb.DescribeAccountAllGrantPrivilegesResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbAccountsByFilter

func (me *CynosdbService) DescribeCynosdbAccountsByFilter(ctx context.Context, clusterId string, paramMap map[string]interface{}) (result *cynosdb.DescribeAccountsResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbAuditLogFileById

func (me *CynosdbService) DescribeCynosdbAuditLogFileById(ctx context.Context, instanceId string, fileName string) (auditLogFile *cynosdb.AuditLogFile, errRet error)

func (*CynosdbService) DescribeCynosdbAuditLogsByFilter

func (me *CynosdbService) DescribeCynosdbAuditLogsByFilter(ctx context.Context, param map[string]interface{}) (auditLogs []*cynosdb.AuditLog, errRet error)

func (*CynosdbService) DescribeCynosdbBackup

func (me *CynosdbService) DescribeCynosdbBackup(ctx context.Context, clusterId string, params map[string]interface{}) (backups []*cynosdb.BackupFileInfo, errRet error)

func (*CynosdbService) DescribeCynosdbBackupById

func (me *CynosdbService) DescribeCynosdbBackupById(ctx context.Context, clusterId, backupId string) (backup *cynosdb.BackupFileInfo, errRet error)

func (*CynosdbService) DescribeCynosdbBackupDownloadUrlById

func (me *CynosdbService) DescribeCynosdbBackupDownloadUrlById(ctx context.Context, param map[string]interface{}) (backupDownloadUrl *cynosdb.DescribeBackupDownloadUrlResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbBinlogDownloadUrlByFilter

func (me *CynosdbService) DescribeCynosdbBinlogDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (binlogDownloadUrl *cynosdb.DescribeBinlogDownloadUrlResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbBinlogSaveDaysById

func (me *CynosdbService) DescribeCynosdbBinlogSaveDaysById(ctx context.Context, clusterId string) (binlogSaveDays *int64, errRet error)

func (*CynosdbService) DescribeCynosdbClusterByFilter

func (me *CynosdbService) DescribeCynosdbClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster []*cynosdb.DatabaseTables, errRet error)

func (*CynosdbService) DescribeCynosdbClusterDatabasesById

func (me *CynosdbService) DescribeCynosdbClusterDatabasesById(ctx context.Context, clusterId string, dbName string) (clusterDatabases *cynosdb.DbInfo, errRet error)

func (*CynosdbService) DescribeCynosdbClusterDetailDatabasesByFilter

func (me *CynosdbService) DescribeCynosdbClusterDetailDatabasesByFilter(ctx context.Context, param map[string]interface{}) (clusterDetailDatabases []*cynosdb.DbInfo, errRet error)

func (*CynosdbService) DescribeCynosdbClusterParamLogsByFilter

func (me *CynosdbService) DescribeCynosdbClusterParamLogsByFilter(ctx context.Context, param map[string]interface{}) (clusterParamLogs []*cynosdb.ClusterParamModifyLog, errRet error)

func (*CynosdbService) DescribeCynosdbClusterPasswordComplexityById

func (me *CynosdbService) DescribeCynosdbClusterPasswordComplexityById(ctx context.Context, clusterId string) (clusterPasswordComplexity *cynosdb.DescribeClusterPasswordComplexityResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbClusterResourcePackagesAttachmentById

func (me *CynosdbService) DescribeCynosdbClusterResourcePackagesAttachmentById(ctx context.Context, clusterId string) (clusterResourcePackagesAttachment *cynosdb.CynosdbClusterDetail, errRet error)

func (*CynosdbService) DescribeCynosdbClusterSlaveZoneById

func (me *CynosdbService) DescribeCynosdbClusterSlaveZoneById(ctx context.Context, clusterId string) (clusterSlaveZone *cynosdb.CynosdbClusterDetail, errRet error)

func (*CynosdbService) DescribeCynosdbDescribeInstanceErrorLogsByFilter

func (me *CynosdbService) DescribeCynosdbDescribeInstanceErrorLogsByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceErrorLogs []*cynosdb.CynosdbErrorLogItem, errRet error)

func (*CynosdbService) DescribeCynosdbDescribeInstanceSlowQueriesByFilter

func (me *CynosdbService) DescribeCynosdbDescribeInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceSlowQueries []*cynosdb.BinlogItem, errRet error)

func (*CynosdbService) DescribeCynosdbInstanceParamById

func (me *CynosdbService) DescribeCynosdbInstanceParamById(ctx context.Context, clusterId string, instanceId string) (instanceParam *cynosdb.InstanceParamItem, errRet error)

func (*CynosdbService) DescribeCynosdbInstanceSlowQueriesByFilter

func (me *CynosdbService) DescribeCynosdbInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (InstanceSlowQueries []*cynosdb.SlowQueriesItem, errRet error)

func (*CynosdbService) DescribeCynosdbParamTemplateById

func (me *CynosdbService) DescribeCynosdbParamTemplateById(ctx context.Context, templateId int64) (paramTemplate *cynosdb.DescribeParamTemplateDetailResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbParamTemplatesByFilter

func (me *CynosdbService) DescribeCynosdbParamTemplatesByFilter(ctx context.Context, paramMap map[string]interface{}) (items []*cynosdb.ParamTemplateListInfo, errRet error)

func (*CynosdbService) DescribeCynosdbProjectSecurityGroupsByFilter

func (me *CynosdbService) DescribeCynosdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*cynosdb.SecurityGroup, errRet error)

func (*CynosdbService) DescribeCynosdbProxyById

func (me *CynosdbService) DescribeCynosdbProxyById(ctx context.Context, clusterId, proxyGroupId string) (proxy *cynosdb.DescribeProxiesResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbProxyEndPointById

func (me *CynosdbService) DescribeCynosdbProxyEndPointById(ctx context.Context, clusterId, proxyGroupId string) (proxyEndPoint *cynosdb.ProxyGroupInfo, errRet error)

func (*CynosdbService) DescribeCynosdbProxyNodeByFilter

func (me *CynosdbService) DescribeCynosdbProxyNodeByFilter(ctx context.Context, param map[string]interface{}) (proxyNode []*cynosdb.ProxyNodeInfo, errRet error)

func (*CynosdbService) DescribeCynosdbProxyVersionByFilter

func (me *CynosdbService) DescribeCynosdbProxyVersionByFilter(ctx context.Context, param map[string]interface{}) (proxyVersion *cynosdb.DescribeSupportProxyVersionResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbResourcePackageById

func (me *CynosdbService) DescribeCynosdbResourcePackageById(ctx context.Context, packageId string) (resourcePackage *cynosdb.PackageDetail, errRet error)

func (*CynosdbService) DescribeCynosdbResourcePackageListByFilter

func (me *CynosdbService) DescribeCynosdbResourcePackageListByFilter(ctx context.Context, param map[string]interface{}) (resourcePackageList []*cynosdb.Package, errRet error)

func (*CynosdbService) DescribeCynosdbResourcePackageSaleSpecsByFilter

func (me *CynosdbService) DescribeCynosdbResourcePackageSaleSpecsByFilter(ctx context.Context, param map[string]interface{}) (resourcePackageSaleSpecs []*cynosdb.SalePackageSpec, errRet error)

func (*CynosdbService) DescribeCynosdbRollbackTimeRangeByFilter

func (me *CynosdbService) DescribeCynosdbRollbackTimeRangeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeRange *cynosdb.DescribeRollbackTimeRangeResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbRollbackTimeValidityByFilter

func (me *CynosdbService) DescribeCynosdbRollbackTimeValidityByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeValidity *cynosdb.DescribeRollbackTimeValidityResponseParams, errRet error)

func (*CynosdbService) DescribeCynosdbSecurityGroups

func (me *CynosdbService) DescribeCynosdbSecurityGroups(ctx context.Context, instanceId string) (securityGroups []*cynosdb.SecurityGroup, errRet error)

func (*CynosdbService) DescribeCynosdbUpgradeProxyVersionById

func (me *CynosdbService) DescribeCynosdbUpgradeProxyVersionById(ctx context.Context, clusterId string) (upgradeProxyGroup *cynosdb.ProxyGroup, errRet error)

func (*CynosdbService) DescribeCynosdbZoneByFilter

func (me *CynosdbService) DescribeCynosdbZoneByFilter(ctx context.Context, param map[string]interface{}) (zone []*cynosdb.SaleRegion, errRet error)

func (*CynosdbService) DescribeFlow

func (me *CynosdbService) DescribeFlow(ctx context.Context, flowId int64) (ok bool, errRet error)

func (*CynosdbService) DescribeInsGrpSecurityGroups

func (me *CynosdbService) DescribeInsGrpSecurityGroups(ctx context.Context, instanceGrpId string) (response *cynosdb.DescribeDBSecurityGroupsResponse, errRet error)

func (*CynosdbService) DescribeInstanceById

func (me *CynosdbService) DescribeInstanceById(ctx context.Context, instanceId string) (clusterId string, instanceInfo *cynosdb.CynosdbInstanceDetail, has bool, errRet error)

func (*CynosdbService) DescribeInstances

func (me *CynosdbService) DescribeInstances(ctx context.Context, filters map[string]string) (instances []*cynosdb.CynosdbInstance, errRet error)

func (*CynosdbService) DescribeMaintainPeriod

func (me *CynosdbService) DescribeMaintainPeriod(ctx context.Context, instanceId string) (response *cynosdb.DescribeMaintainPeriodResponse, errRet error)

func (*CynosdbService) DescribeRedisZoneConfig

func (me *CynosdbService) DescribeRedisZoneConfig(ctx context.Context) (instanceSpecSet []*cynosdb.InstanceSpec, err error)

func (*CynosdbService) IsolateCluster

func (me *CynosdbService) IsolateCluster(ctx context.Context, clusterId string) (flowId int64, errRet error)

func (*CynosdbService) IsolateInstance

func (me *CynosdbService) IsolateInstance(ctx context.Context, clusterId, instanceId string) (errRet error)

func (*CynosdbService) ModifyBackupConfig

func (me *CynosdbService) ModifyBackupConfig(ctx context.Context, clusterId string, params map[string]interface{}) (errRet error)

func (*CynosdbService) ModifyClusterName

func (me *CynosdbService) ModifyClusterName(ctx context.Context, clusterId string, clusterName string) (errRet error)

func (*CynosdbService) ModifyClusterParam

func (me *CynosdbService) ModifyClusterParam(ctx context.Context, request *cynosdb.ModifyClusterParamRequest) (asyncReqId string, errRet error)

func (*CynosdbService) ModifyClusterStorage

func (me *CynosdbService) ModifyClusterStorage(ctx context.Context, clusterId string, newStorageLimit int64, oldStorageLimit int64) (errRet error)

func (*CynosdbService) ModifyInsGrpSecurityGroups

func (me *CynosdbService) ModifyInsGrpSecurityGroups(ctx context.Context, insGrp, az string, sg []*string) (errRet error)

func (*CynosdbService) ModifyMaintainPeriodConfig

func (me *CynosdbService) ModifyMaintainPeriodConfig(ctx context.Context, instanceId string, startTime, duration int64, weekdays []*string) (errRet error)

func (*CynosdbService) OfflineCluster

func (me *CynosdbService) OfflineCluster(ctx context.Context, clusterId string) (errRet error)

func (*CynosdbService) OfflineInstance

func (me *CynosdbService) OfflineInstance(ctx context.Context, clusterId, instanceId string) (errRet error)

func (*CynosdbService) PauseServerless

func (me *CynosdbService) PauseServerless(ctx context.Context, request *cynosdb.PauseServerlessRequest) (errRet error)

func (*CynosdbService) ResumeServerless

func (me *CynosdbService) ResumeServerless(ctx context.Context, request *cynosdb.ResumeServerlessRequest) (errRet error)

func (*CynosdbService) SetRenewFlag

func (me *CynosdbService) SetRenewFlag(ctx context.Context, instanceId string, autoRenewFlag int64) (errRet error)

func (*CynosdbService) SwitchClusterVpc

func (me *CynosdbService) SwitchClusterVpc(ctx context.Context, clusterId string, vpcId string, subnetId string, oldIpReserveHours int64) (errRet error)

func (*CynosdbService) SwitchServerlessCluster

func (me *CynosdbService) SwitchServerlessCluster(ctx context.Context, clusterId string, resume bool) error

func (*CynosdbService) UpgradeInstance

func (me *CynosdbService) UpgradeInstance(ctx context.Context, instanceId string, cpu, mem int64) (errRet error)

Source Files

Jump to

Keyboard shortcuts

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