Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudCynosdbAccountAllGrantPrivileges() *schema.Resource
- func DataSourceTencentCloudCynosdbAccounts() *schema.Resource
- func DataSourceTencentCloudCynosdbAuditLogs() *schema.Resource
- func DataSourceTencentCloudCynosdbBackupDownloadUrl() *schema.Resource
- func DataSourceTencentCloudCynosdbBinlogDownloadUrl() *schema.Resource
- func DataSourceTencentCloudCynosdbCluster() *schema.Resource
- func DataSourceTencentCloudCynosdbClusterDetailDatabases() *schema.Resource
- func DataSourceTencentCloudCynosdbClusterInstanceGroups() *schema.Resource
- func DataSourceTencentCloudCynosdbClusterParamLogs() *schema.Resource
- func DataSourceTencentCloudCynosdbClusterParams() *schema.Resource
- func DataSourceTencentCloudCynosdbClusters() *schema.Resource
- func DataSourceTencentCloudCynosdbDescribeInstanceErrorLogs() *schema.Resource
- func DataSourceTencentCloudCynosdbDescribeInstanceSlowQueries() *schema.Resource
- func DataSourceTencentCloudCynosdbInstanceSlowQueries() *schema.Resource
- func DataSourceTencentCloudCynosdbInstances() *schema.Resource
- func DataSourceTencentCloudCynosdbParamTemplates() *schema.Resource
- func DataSourceTencentCloudCynosdbProjectSecurityGroups() *schema.Resource
- func DataSourceTencentCloudCynosdbProxyNode() *schema.Resource
- func DataSourceTencentCloudCynosdbProxyVersion() *schema.Resource
- func DataSourceTencentCloudCynosdbResourcePackageList() *schema.Resource
- func DataSourceTencentCloudCynosdbResourcePackageSaleSpecs() *schema.Resource
- func DataSourceTencentCloudCynosdbRollbackTimeRange() *schema.Resource
- func DataSourceTencentCloudCynosdbZone() *schema.Resource
- func DataSourceTencentCloudCynosdbZoneConfig() *schema.Resource
- func ResourceTencentCloudCynosdbAccount() *schema.Resource
- func ResourceTencentCloudCynosdbAccountPrivileges() *schema.Resource
- func ResourceTencentCloudCynosdbAuditLogFile() *schema.Resource
- func ResourceTencentCloudCynosdbBinlogSaveDays() *schema.Resource
- func ResourceTencentCloudCynosdbCluster() *schema.Resource
- func ResourceTencentCloudCynosdbClusterDatabases() *schema.Resource
- func ResourceTencentCloudCynosdbClusterPasswordComplexity() *schema.Resource
- func ResourceTencentCloudCynosdbClusterResourcePackagesAttachment() *schema.Resource
- func ResourceTencentCloudCynosdbClusterSlaveZone() *schema.Resource
- func ResourceTencentCloudCynosdbExportInstanceErrorLogs() *schema.Resource
- func ResourceTencentCloudCynosdbExportInstanceSlowQueries() *schema.Resource
- func ResourceTencentCloudCynosdbInstanceParam() *schema.Resource
- func ResourceTencentCloudCynosdbIsolateInstance() *schema.Resource
- func ResourceTencentCloudCynosdbParamTemplate() *schema.Resource
- func ResourceTencentCloudCynosdbProxy() *schema.Resource
- func ResourceTencentCloudCynosdbProxyEndPoint() *schema.Resource
- func ResourceTencentCloudCynosdbReadOnlyInstanceExclusiveAccess() *schema.Resource
- func ResourceTencentCloudCynosdbReadonlyInstance() *schema.Resource
- func ResourceTencentCloudCynosdbReloadProxyNode() *schema.Resource
- func ResourceTencentCloudCynosdbResourcePackage() *schema.Resource
- func ResourceTencentCloudCynosdbRestartInstance() *schema.Resource
- func ResourceTencentCloudCynosdbRollBackCluster() *schema.Resource
- func ResourceTencentCloudCynosdbSecurityGroup() *schema.Resource
- func ResourceTencentCloudCynosdbUpgradeProxyVersion() *schema.Resource
- func ResourceTencentCloudCynosdbWan() *schema.Resource
- func TencentCynosdbClusterBaseInfo() map[string]*schema.Schema
- func TencentCynosdbInstanceBaseInfo() map[string]*schema.Schema
- type CynosdbService
- func (me *CynosdbService) CopyClusterPasswordComplexity(ctx context.Context, clusterId string) (errRet error)
- func (me *CynosdbService) CynosdbClusterSlaveZoneStateRefreshFunc(flowId int64, failStates []string) resource.StateRefreshFunc
- func (me *CynosdbService) CynosdbInstanceIsolateStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
- func (me *CynosdbService) CynosdbInstanceOfflineStateRefreshFunc(clusterId string, failStates []string) resource.StateRefreshFunc
- func (me *CynosdbService) DeleteCynosdbAccountById(ctx context.Context, clusterId string, accountNames string, host string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbAccountPrivilegesById(ctx context.Context, clusterId string, accountName string, host string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbAuditLogFileById(ctx context.Context, instanceId string, fileName string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbBackupById(ctx context.Context, clusterId, backupId string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterDatabasesById(ctx context.Context, clusterId, dbName string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterPasswordComplexityById(ctx context.Context, clusterId string) (flowId int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterResourcePackagesAttachmentById(ctx context.Context, clusterId string, packageIdsSet []*string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbClusterSlaveZoneById(ctx context.Context, clusterId string, slaveZone string) (flowId *int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbParamTemplateById(ctx context.Context, templateId int64) (errRet error)
- func (me *CynosdbService) DeleteCynosdbProxyById(ctx context.Context, clusterId string) (flowId *int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbProxyEndPointById(ctx context.Context, clusterId, proxyGroupId string) (flowId int64, errRet error)
- func (me *CynosdbService) DeleteCynosdbResourcePackageById(ctx context.Context, packageId string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbSecurityGroupById(ctx context.Context, instanceId string, securityGroupIds []*string) (errRet error)
- func (me *CynosdbService) DeleteCynosdbWanById(ctx context.Context, instanceGrpId string) (flowId int64, errRet error)
- func (me *CynosdbService) DescribeClusterById(ctx context.Context, clusterId string) (clusterItem *cynosdb.CynosdbCluster, clusterInfo *cynosdb.CynosdbClusterDetail, ...)
- func (me *CynosdbService) DescribeClusterInstanceGrps(ctx context.Context, clusterId string) (response *cynosdb.DescribeClusterInstanceGrpsResponse, errRet error)
- func (me *CynosdbService) DescribeClusterParams(ctx context.Context, clusterId string) (items []*cynosdb.ParamInfo, errRet error)
- func (me *CynosdbService) DescribeClusterParamsByFilter(ctx context.Context, clusterId string, paramMap map[string]interface{}) (items []*cynosdb.ParamInfo, errRet error)
- func (me *CynosdbService) DescribeClusters(ctx context.Context, filters map[string]string) (clusters []*cynosdb.CynosdbCluster, errRet error)
- func (me *CynosdbService) DescribeCynosdbAccountAllGrantPrivilegesByFilter(ctx context.Context, param map[string]interface{}) (...)
- func (me *CynosdbService) DescribeCynosdbAccountById(ctx context.Context, clusterId string, accountName string, host string) (account *cynosdb.Account, errRet error)
- func (me *CynosdbService) DescribeCynosdbAccountPrivilegesById(ctx context.Context, clusterId string, accountName string, host string) (accountPrivileges *cynosdb.DescribeAccountAllGrantPrivilegesResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbAccountsByFilter(ctx context.Context, clusterId string, paramMap map[string]interface{}) (result *cynosdb.DescribeAccountsResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbAuditLogFileById(ctx context.Context, instanceId string, fileName string) (auditLogFile *cynosdb.AuditLogFile, errRet error)
- func (me *CynosdbService) DescribeCynosdbAuditLogsByFilter(ctx context.Context, param map[string]interface{}) (auditLogs []*cynosdb.AuditLog, errRet error)
- func (me *CynosdbService) DescribeCynosdbBackup(ctx context.Context, clusterId string, params map[string]interface{}) (backups []*cynosdb.BackupFileInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbBackupById(ctx context.Context, clusterId, backupId string) (backup *cynosdb.BackupFileInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbBackupDownloadUrlById(ctx context.Context, param map[string]interface{}) (backupDownloadUrl *cynosdb.DescribeBackupDownloadUrlResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbBinlogDownloadUrlByFilter(ctx context.Context, param map[string]interface{}) (binlogDownloadUrl *cynosdb.DescribeBinlogDownloadUrlResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbBinlogSaveDaysById(ctx context.Context, clusterId string) (binlogSaveDays *int64, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster []*cynosdb.DatabaseTables, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterDatabasesById(ctx context.Context, clusterId string, dbName string) (clusterDatabases *cynosdb.DbInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterDetailDatabasesByFilter(ctx context.Context, param map[string]interface{}) (clusterDetailDatabases []*cynosdb.DbInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterParamLogsByFilter(ctx context.Context, param map[string]interface{}) (clusterParamLogs []*cynosdb.ClusterParamModifyLog, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterPasswordComplexityById(ctx context.Context, clusterId string) (...)
- func (me *CynosdbService) DescribeCynosdbClusterResourcePackagesAttachmentById(ctx context.Context, clusterId string) (clusterResourcePackagesAttachment *cynosdb.CynosdbClusterDetail, errRet error)
- func (me *CynosdbService) DescribeCynosdbClusterSlaveZoneById(ctx context.Context, clusterId string) (clusterSlaveZone *cynosdb.CynosdbClusterDetail, errRet error)
- func (me *CynosdbService) DescribeCynosdbDescribeInstanceErrorLogsByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceErrorLogs []*cynosdb.CynosdbErrorLogItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbDescribeInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (describeInstanceSlowQueries []*cynosdb.BinlogItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbInstanceParamById(ctx context.Context, clusterId string, instanceId string) (instanceParam *cynosdb.InstanceParamItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbInstanceSlowQueriesByFilter(ctx context.Context, param map[string]interface{}) (InstanceSlowQueries []*cynosdb.SlowQueriesItem, errRet error)
- func (me *CynosdbService) DescribeCynosdbParamTemplateById(ctx context.Context, templateId int64) (paramTemplate *cynosdb.DescribeParamTemplateDetailResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbParamTemplatesByFilter(ctx context.Context, paramMap map[string]interface{}) (items []*cynosdb.ParamTemplateListInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*cynosdb.SecurityGroup, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyById(ctx context.Context, clusterId, proxyGroupId string) (proxy *cynosdb.DescribeProxiesResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyEndPointById(ctx context.Context, clusterId, proxyGroupId string) (proxyEndPoint *cynosdb.ProxyGroupInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyNodeByFilter(ctx context.Context, param map[string]interface{}) (proxyNode []*cynosdb.ProxyNodeInfo, errRet error)
- func (me *CynosdbService) DescribeCynosdbProxyVersionByFilter(ctx context.Context, param map[string]interface{}) (proxyVersion *cynosdb.DescribeSupportProxyVersionResponseParams, errRet error)
- func (me *CynosdbService) DescribeCynosdbResourcePackageById(ctx context.Context, packageId string) (resourcePackage *cynosdb.PackageDetail, errRet error)
- func (me *CynosdbService) DescribeCynosdbResourcePackageListByFilter(ctx context.Context, param map[string]interface{}) (resourcePackageList []*cynosdb.Package, errRet error)
- func (me *CynosdbService) DescribeCynosdbResourcePackageSaleSpecsByFilter(ctx context.Context, param map[string]interface{}) (resourcePackageSaleSpecs []*cynosdb.SalePackageSpec, errRet error)
- func (me *CynosdbService) DescribeCynosdbRollbackTimeRangeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeRange *cynosdb.DescribeRollbackTimeRangeResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbRollbackTimeValidityByFilter(ctx context.Context, param map[string]interface{}) (rollbackTimeValidity *cynosdb.DescribeRollbackTimeValidityResponseParams, ...)
- func (me *CynosdbService) DescribeCynosdbSecurityGroups(ctx context.Context, instanceId string) (securityGroups []*cynosdb.SecurityGroup, errRet error)
- func (me *CynosdbService) DescribeCynosdbUpgradeProxyVersionById(ctx context.Context, clusterId string) (upgradeProxyGroup *cynosdb.ProxyGroup, errRet error)
- func (me *CynosdbService) DescribeCynosdbZoneByFilter(ctx context.Context, param map[string]interface{}) (zone []*cynosdb.SaleRegion, errRet error)
- func (me *CynosdbService) DescribeFlow(ctx context.Context, flowId int64) (ok bool, errRet error)
- func (me *CynosdbService) DescribeInsGrpSecurityGroups(ctx context.Context, instanceGrpId string) (response *cynosdb.DescribeDBSecurityGroupsResponse, errRet error)
- func (me *CynosdbService) DescribeInstanceById(ctx context.Context, instanceId string) (clusterId string, instanceInfo *cynosdb.CynosdbInstanceDetail, has bool, ...)
- func (me *CynosdbService) DescribeInstances(ctx context.Context, filters map[string]string) (instances []*cynosdb.CynosdbInstance, errRet error)
- func (me *CynosdbService) DescribeMaintainPeriod(ctx context.Context, instanceId string) (response *cynosdb.DescribeMaintainPeriodResponse, errRet error)
- func (me *CynosdbService) DescribeRedisZoneConfig(ctx context.Context) (instanceSpecSet []*cynosdb.InstanceSpec, err error)
- func (me *CynosdbService) IsolateCluster(ctx context.Context, clusterId string) (flowId int64, errRet error)
- func (me *CynosdbService) IsolateInstance(ctx context.Context, clusterId, instanceId string) (errRet error)
- func (me *CynosdbService) ModifyBackupConfig(ctx context.Context, clusterId string, params map[string]interface{}) (errRet error)
- func (me *CynosdbService) ModifyClusterName(ctx context.Context, clusterId string, clusterName string) (errRet error)
- func (me *CynosdbService) ModifyClusterParam(ctx context.Context, request *cynosdb.ModifyClusterParamRequest) (asyncReqId string, errRet error)
- func (me *CynosdbService) ModifyClusterStorage(ctx context.Context, clusterId string, newStorageLimit int64, ...) (errRet error)
- func (me *CynosdbService) ModifyInsGrpSecurityGroups(ctx context.Context, insGrp, az string, sg []*string) (errRet error)
- func (me *CynosdbService) ModifyMaintainPeriodConfig(ctx context.Context, instanceId string, startTime, duration int64, ...) (errRet error)
- func (me *CynosdbService) OfflineCluster(ctx context.Context, clusterId string) (errRet error)
- func (me *CynosdbService) OfflineInstance(ctx context.Context, clusterId, instanceId string) (errRet error)
- func (me *CynosdbService) PauseServerless(ctx context.Context, request *cynosdb.PauseServerlessRequest) (errRet error)
- func (me *CynosdbService) ResumeServerless(ctx context.Context, request *cynosdb.ResumeServerlessRequest) (errRet error)
- func (me *CynosdbService) SetRenewFlag(ctx context.Context, instanceId string, autoRenewFlag int64) (errRet error)
- func (me *CynosdbService) SwitchClusterVpc(ctx context.Context, clusterId string, vpcId string, subnetId string, ...) (errRet error)
- func (me *CynosdbService) SwitchServerlessCluster(ctx context.Context, clusterId string, resume bool) error
- func (me *CynosdbService) UpgradeInstance(ctx context.Context, instanceId string, cpu, mem int64) (errRet error)
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 ¶
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 (*CynosdbService) DeleteCynosdbAccountPrivilegesById ¶
func (*CynosdbService) DeleteCynosdbAuditLogFileById ¶
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 (*CynosdbService) DeleteCynosdbClusterResourcePackagesAttachmentById ¶
func (*CynosdbService) DeleteCynosdbClusterSlaveZoneById ¶
func (*CynosdbService) DeleteCynosdbParamTemplateById ¶
func (me *CynosdbService) DeleteCynosdbParamTemplateById(ctx context.Context, templateId int64) (errRet error)
func (*CynosdbService) DeleteCynosdbProxyById ¶
func (*CynosdbService) DeleteCynosdbProxyEndPointById ¶
func (*CynosdbService) DeleteCynosdbResourcePackageById ¶
func (me *CynosdbService) DeleteCynosdbResourcePackageById(ctx context.Context, packageId string) (errRet error)
func (*CynosdbService) DeleteCynosdbSecurityGroupById ¶
func (*CynosdbService) DeleteCynosdbWanById ¶
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 (*CynosdbService) DescribeClusterParamsByFilter ¶
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 (*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 (*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 (*CynosdbService) DescribeCynosdbClusterByFilter ¶
func (me *CynosdbService) DescribeCynosdbClusterByFilter(ctx context.Context, param map[string]interface{}) (cluster []*cynosdb.DatabaseTables, errRet error)
func (*CynosdbService) DescribeCynosdbClusterDatabasesById ¶
func (*CynosdbService) DescribeCynosdbClusterDetailDatabasesByFilter ¶
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 (*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 (*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 (*CynosdbService) IsolateInstance ¶
func (me *CynosdbService) IsolateInstance(ctx context.Context, clusterId, instanceId string) (errRet error)
func (*CynosdbService) ModifyBackupConfig ¶
func (*CynosdbService) ModifyClusterName ¶
func (*CynosdbService) ModifyClusterParam ¶
func (me *CynosdbService) ModifyClusterParam(ctx context.Context, request *cynosdb.ModifyClusterParamRequest) (asyncReqId string, errRet error)
func (*CynosdbService) ModifyClusterStorage ¶
func (*CynosdbService) ModifyInsGrpSecurityGroups ¶
func (*CynosdbService) ModifyMaintainPeriodConfig ¶
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 (*CynosdbService) SwitchClusterVpc ¶
func (*CynosdbService) SwitchServerlessCluster ¶
func (*CynosdbService) UpgradeInstance ¶
Source Files ¶
- data_source_tc_cynosdb_account_all_grant_privileges.go
- data_source_tc_cynosdb_accounts.go
- data_source_tc_cynosdb_audit_logs.go
- data_source_tc_cynosdb_backup_download_url.go
- data_source_tc_cynosdb_binlog_download_url.go
- data_source_tc_cynosdb_cluster.go
- data_source_tc_cynosdb_cluster_detail_databases.go
- data_source_tc_cynosdb_cluster_instance_groups.go
- data_source_tc_cynosdb_cluster_param_logs.go
- data_source_tc_cynosdb_cluster_params.go
- data_source_tc_cynosdb_clusters.go
- data_source_tc_cynosdb_describe_instance_error_logs.go
- data_source_tc_cynosdb_describe_instance_slow_queries.go
- data_source_tc_cynosdb_instance_slow_queries.go
- data_source_tc_cynosdb_instances.go
- data_source_tc_cynosdb_param_templates.go
- data_source_tc_cynosdb_project_security_groups.go
- data_source_tc_cynosdb_proxy_node.go
- data_source_tc_cynosdb_proxy_version.go
- data_source_tc_cynosdb_resource_package_list.go
- data_source_tc_cynosdb_resource_package_sale_specs.go
- data_source_tc_cynosdb_rollback_time_range.go
- data_source_tc_cynosdb_zone.go
- data_source_tc_cynosdb_zone_config.go
- extension_cynosdb.go
- resource_tc_cynosdb_account.go
- resource_tc_cynosdb_account_privileges.go
- resource_tc_cynosdb_audit_log_file.go
- resource_tc_cynosdb_binlog_save_days.go
- resource_tc_cynosdb_cluster.go
- resource_tc_cynosdb_cluster_databases.go
- resource_tc_cynosdb_cluster_password_complexity.go
- resource_tc_cynosdb_cluster_resource_packages_attachment.go
- resource_tc_cynosdb_cluster_slave_zone.go
- resource_tc_cynosdb_export_instance_error_logs.go
- resource_tc_cynosdb_export_instance_slow_queries.go
- resource_tc_cynosdb_instance_param.go
- resource_tc_cynosdb_isolate_instance.go
- resource_tc_cynosdb_param_template.go
- resource_tc_cynosdb_proxy.go
- resource_tc_cynosdb_proxy_end_point.go
- resource_tc_cynosdb_read_only_instance_exclusive_access.go
- resource_tc_cynosdb_readonly_instance.go
- resource_tc_cynosdb_reload_proxy_node.go
- resource_tc_cynosdb_resource_package.go
- resource_tc_cynosdb_restart_instance.go
- resource_tc_cynosdb_roll_back_cluster.go
- resource_tc_cynosdb_security_group.go
- resource_tc_cynosdb_upgrade_proxy_version.go
- resource_tc_cynosdb_wan.go
- service_tencentcloud_cynosdb.go
Click to show internal directories.
Click to hide internal directories.