Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudSqlserverAccountDBAttachments() *schema.Resource
- func DataSourceTencentCloudSqlserverAccounts() *schema.Resource
- func DataSourceTencentCloudSqlserverBackupByFlowId() *schema.Resource
- func DataSourceTencentCloudSqlserverBackupCommands() *schema.Resource
- func DataSourceTencentCloudSqlserverBackupUploadSize() *schema.Resource
- func DataSourceTencentCloudSqlserverBackups() *schema.Resource
- func DataSourceTencentCloudSqlserverBasicInstances() *schema.Resource
- func DataSourceTencentCloudSqlserverCrossRegionZone() *schema.Resource
- func DataSourceTencentCloudSqlserverDBCharsets() *schema.Resource
- func DataSourceTencentCloudSqlserverDBs() *schema.Resource
- func DataSourceTencentCloudSqlserverDescHaLog() *schema.Resource
- func DataSourceTencentCloudSqlserverInsAttribute() *schema.Resource
- func DataSourceTencentCloudSqlserverInstanceParamRecords() *schema.Resource
- func DataSourceTencentCloudSqlserverInstances() *schema.Resource
- func DataSourceTencentCloudSqlserverProjectSecurityGroups() *schema.Resource
- func DataSourceTencentCloudSqlserverPublishSubscribes() *schema.Resource
- func DataSourceTencentCloudSqlserverQueryXevent() *schema.Resource
- func DataSourceTencentCloudSqlserverReadonlyGroups() *schema.Resource
- func DataSourceTencentCloudSqlserverRegions() *schema.Resource
- func DataSourceTencentCloudSqlserverRollbackTime() *schema.Resource
- func DataSourceTencentCloudSqlserverSlowlogs() *schema.Resource
- func DataSourceTencentCloudSqlserverUploadBackupInfo() *schema.Resource
- func DataSourceTencentCloudSqlserverUploadIncrementalInfo() *schema.Resource
- func DataSourceTencentCloudSqlserverZoneConfig() *schema.Resource
- func ResourceTencentCloudSqlserverAccount() *schema.Resource
- func ResourceTencentCloudSqlserverAccountDBAttachment() *schema.Resource
- func ResourceTencentCloudSqlserverBasicInstance() *schema.Resource
- func ResourceTencentCloudSqlserverBusinessIntelligenceFile() *schema.Resource
- func ResourceTencentCloudSqlserverBusinessIntelligenceInstance() *schema.Resource
- func ResourceTencentCloudSqlserverCompleteExpansion() *schema.Resource
- func ResourceTencentCloudSqlserverConfigBackupStrategy() *schema.Resource
- func ResourceTencentCloudSqlserverConfigDatabaseCDC() *schema.Resource
- func ResourceTencentCloudSqlserverConfigDatabaseCT() *schema.Resource
- func ResourceTencentCloudSqlserverConfigDatabaseMdf() *schema.Resource
- func ResourceTencentCloudSqlserverConfigInstanceParam() *schema.Resource
- func ResourceTencentCloudSqlserverConfigInstanceRoGroup() *schema.Resource
- func ResourceTencentCloudSqlserverConfigInstanceSecurityGroups() *schema.Resource
- func ResourceTencentCloudSqlserverConfigTerminateDBInstance() *schema.Resource
- func ResourceTencentCloudSqlserverDB() *schema.Resource
- func ResourceTencentCloudSqlserverDatabaseTDE() *schema.Resource
- func ResourceTencentCloudSqlserverFullBackupMigration() *schema.Resource
- func ResourceTencentCloudSqlserverGeneralBackup() *schema.Resource
- func ResourceTencentCloudSqlserverGeneralClone() *schema.Resource
- func ResourceTencentCloudSqlserverGeneralCloudInstance() *schema.Resource
- func ResourceTencentCloudSqlserverGeneralCloudRoInstance() *schema.Resource
- func ResourceTencentCloudSqlserverGeneralCommunication() *schema.Resource
- func ResourceTencentCloudSqlserverIncreBackupMigration() *schema.Resource
- func ResourceTencentCloudSqlserverInstance() *schema.Resource
- func ResourceTencentCloudSqlserverInstanceSsl() *schema.Resource
- func ResourceTencentCloudSqlserverInstanceTDE() *schema.Resource
- func ResourceTencentCloudSqlserverMigration() *schema.Resource
- func ResourceTencentCloudSqlserverPublishSubscribe() *schema.Resource
- func ResourceTencentCloudSqlserverReadonlyInstance() *schema.Resource
- func ResourceTencentCloudSqlserverRenewDBInstance() *schema.Resource
- func ResourceTencentCloudSqlserverRenewPostpaidDBInstance() *schema.Resource
- func ResourceTencentCloudSqlserverRestartDBInstance() *schema.Resource
- func ResourceTencentCloudSqlserverRestoreInstance() *schema.Resource
- func ResourceTencentCloudSqlserverRollbackInstance() *schema.Resource
- func ResourceTencentCloudSqlserverStartBackupFullMigration() *schema.Resource
- func ResourceTencentCloudSqlserverStartBackupIncrementalMigration() *schema.Resource
- func ResourceTencentCloudSqlserverStartXevent() *schema.Resource
- func TencentSqlServerBasicInfo(isROInstance bool) map[string]*schema.Schema
- type SqlserverService
- func (me *SqlserverService) AddSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)
- func (me *SqlserverService) CreateSqlserverAccount(ctx context.Context, instanceId string, userName string, password string, ...) (errRet error)
- func (me *SqlserverService) CreateSqlserverBasicInstance(ctx context.Context, paramMap map[string]interface{}, weekSet []int, ...) (instanceId string, errRet error)
- func (me *SqlserverService) CreateSqlserverDB(ctx context.Context, instanceID string, dbname string, charset string, ...) (errRet error)
- func (me *SqlserverService) CreateSqlserverInstance(ctx context.Context, request *sqlserver.CreateDBInstancesRequest) (instanceId string, errRet error)
- func (me *SqlserverService) CreateSqlserverPublishSubscribe(ctx context.Context, ...) (errRet error)
- func (me *SqlserverService) CreateSqlserverReadonlyInstance(ctx context.Context, request *sqlserver.CreateReadOnlyDBInstancesRequest) (instanceId string, errRet error)
- func (me *SqlserverService) DeletePublishSubscribe(ctx context.Context, publishSubscribe *sqlserver.PublishSubscribe, ...) (errRet error)
- func (me *SqlserverService) DeleteSqlserverAccount(ctx context.Context, instanceId string, userName string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverDB(ctx context.Context, instanceId string, names []*string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralBackupsById(ctx context.Context, instanceId, backupName string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralCloneDB(ctx context.Context, instanceId, dbName string) (deleteResp *sqlserver.DeleteDBResponse, errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (flowId int64, errRet error)
- func (me *SqlserverService) DeleteSqlserverIncreBackupMigrationById(ctx context.Context, ...) (errRet error)
- func (me *SqlserverService) DeleteSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) DeleteSqlserverMigrationById(ctx context.Context, migrateId string) (errRet error)
- func (me *SqlserverService) DescribeAccountDBAttachmentById(ctx context.Context, instanceId, accountName, dbName string) (attachment map[string]string, has bool, errRet error)
- func (me *SqlserverService) DescribeAccountDBAttachments(ctx context.Context, instanceId, accountName, dbName string) (attachments []map[string]string, errRet error)
- func (me *SqlserverService) DescribeBackupByFlowId(ctx context.Context, instanceId, flowId string) (BackupInfo *sqlserver.DescribeBackupByFlowIdResponse, errRet error)
- func (me *SqlserverService) DescribeCloneStatusByFlowId(ctx context.Context, flowId int64) (cloneStatus *sqlserver.DescribeFlowStatusResponseParams, errRet error)
- func (me *SqlserverService) DescribeDBDetailsById(ctx context.Context, dbId string) (dbInfo *sqlserver.DBDetail, has bool, errRet error)
- func (me *SqlserverService) DescribeDBsOfInstance(ctx context.Context, instanceId string) (instanceDBList []*sqlserver.DBDetail, errRet error)
- func (me *SqlserverService) DescribeInstanceSecurityGroups(ctx context.Context, instanceId string) (securityGroups []string, errRet error)
- func (me *SqlserverService) DescribeMaintenanceSpan(ctx context.Context, instanceId string) (weekSet []int, startTime string, timeSpan int, errRet error)
- func (me *SqlserverService) DescribeMaintenanceSpanById(ctx context.Context, instanceId string) (maintenanceSpan *sqlserver.DescribeMaintenanceSpanResponseParams, errRet error)
- func (me *SqlserverService) DescribeProductConfig(ctx context.Context, zone string) (specInfoList []*sqlserver.SpecInfo, errRet error)
- func (me *SqlserverService) DescribeReadonlyGroupList(ctx context.Context, instanceId string) (groupList []*sqlserver.ReadOnlyGroup, errRet error)
- func (me *SqlserverService) DescribeReadonlyGroupListByReadonlyInstanceId(ctx context.Context, instanceId string) (...)
- func (me *SqlserverService) DescribeSqlserverAccountById(ctx context.Context, instanceId string, userName string) (account *sqlserver.AccountDetail, has bool, errRet error)
- func (me *SqlserverService) DescribeSqlserverAccounts(ctx context.Context, instanceId string) (accounts []*sqlserver.AccountDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackupByBackupId(ctx context.Context, instanceId string, startTime string, endTime string, ...) (backupList []*sqlserver.Backup, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackupCommand(ctx context.Context, param map[string]interface{}) (datasourceBackupCommand []*sqlserver.DescribeBackupCommandResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverBackupUploadSizeByFilter(ctx context.Context, param map[string]interface{}) (datasourceBackupUploadSize []*sqlserver.CosUploadBackupFile, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackups(ctx context.Context, instanceId, backupName string, startTime string, ...) (backupList []*sqlserver.Backup, errRet error)
- func (me *SqlserverService) DescribeSqlserverBackupsById(ctx context.Context, instanceId, groupId string) (generalBackups *sqlserver.BackupFile, errRet error)
- func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (businessIntelligenceFile *sqlserver.BusinessIntelligenceFile, errRet error)
- func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceInstanceById(ctx context.Context, instanceId string) (businessIntelligenceInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigBackupStrategyById(ctx context.Context, instanceId string) (configBackupStrategy *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigDatabaseCDCById(ctx context.Context, instanceId string) (configDatabaseCDC []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigDatabaseCTById(ctx context.Context, instanceId string) (configDatabaseCT []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigDatabaseMdfById(ctx context.Context, instanceId string) (configDatabaseMdf []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceNetworkById(ctx context.Context, instanceId string) (configInstanceNetwork *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceParamById(ctx context.Context, instanceId string) (configInstanceParam []*sqlserver.ParameterDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceRoGroupById(ctx context.Context, instanceId, readOnlyGroupId string) (configInstanceRoGroup *sqlserver.DescribeReadOnlyGroupDetailsResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverConfigInstanceSecurityGroupsById(ctx context.Context, instanceId string) (configInstanceSecurityGroups []*sqlserver.SecurityGroup, errRet error)
- func (me *SqlserverService) DescribeSqlserverConfigTerminateDBInstanceById(ctx context.Context, instanceId string) (configTerminateDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverCrossRegionZoneByFilter(ctx context.Context, param map[string]interface{}) (datasourceCrossRegionZone *sqlserver.DescribeCrossRegionZoneResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverDBS(ctx context.Context, instanceId, dbName string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverDatabaseTDEById(ctx context.Context, instanceId string, dbNameList []string) (databaseTDE *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverDatasourceDBCharsetsByFilter(ctx context.Context, param map[string]interface{}) (databaseCharsets []*string, errRet error)
- func (me *SqlserverService) DescribeSqlserverDatasourceRegionsByFilter(ctx context.Context) (datasourceRegions []*sqlserver.RegionInfo, errRet error)
- func (me *SqlserverService) DescribeSqlserverDescHaLogByFilter(ctx context.Context, param map[string]interface{}) (descHaLog []*sqlserver.SwitchLog, errRet error)
- func (me *SqlserverService) DescribeSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (fullBackupMigration *sqlserver.Migration, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCloneById(ctx context.Context, instanceId string) (generalCommunication []*sqlserver.DbNormalDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCloudInstanceById(ctx context.Context, instanceId string) (generalCloudInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (generalCloudRoInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (generalCommunication *sqlserver.InterInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverIncreBackupMigrationById(ctx context.Context, ...) (increBackupMigration *sqlserver.Migration, errRet error)
- func (me *SqlserverService) DescribeSqlserverInsAttributeByFilter(ctx context.Context, param map[string]interface{}) (datasourceInsAttribute *sqlserver.DescribeDBInstancesAttributeResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverInstanceById(ctx context.Context, instanceId string) (instance *sqlserver.DBInstance, has bool, errRet error)
- func (me *SqlserverService) DescribeSqlserverInstanceHaById(ctx context.Context, instanceId string) (instanceHa *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverInstanceParamRecordsByFilter(ctx context.Context, param map[string]interface{}) (instanceParamRecords []*sqlserver.ParamRecord, errRet error)
- func (me *SqlserverService) DescribeSqlserverInstanceSslById(ctx context.Context, instanceId string) (instanceSsl *sqlserver.DescribeDBInstancesAttributeResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverInstanceTDEById(ctx context.Context, instanceId string) (instanceTDE *sqlserver.DescribeDBInstancesAttributeResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverInstances(ctx context.Context, instanceId, instanceName string, projectId int, ...) (instanceList []*sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverMigrationById(ctx context.Context, migrateId string) (migration *sqlserver.DescribeMigrationDetailResponseParams, errRet error)
- func (me *SqlserverService) DescribeSqlserverMigrationsByFilter(ctx context.Context, param map[string]interface{}) (migrateTasks []*sqlserver.MigrateTask, errRet error)
- func (me *SqlserverService) DescribeSqlserverProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*sqlserver.SecurityGroup, errRet error)
- func (me *SqlserverService) DescribeSqlserverPublishSubscribeById(ctx context.Context, instanceId, pubOrSubInstanceId string) (instance *sqlserver.PublishSubscribe, has bool, errRet error)
- func (me *SqlserverService) DescribeSqlserverPublishSubscribes(ctx context.Context, paramMap map[string]interface{}) (publishSubscribeList []*sqlserver.PublishSubscribe, errRet error)
- func (me *SqlserverService) DescribeSqlserverQueryXeventByFilter(ctx context.Context, param map[string]interface{}) (queryXevent []*sqlserver.Events, errRet error)
- func (me *SqlserverService) DescribeSqlserverRenewDBInstanceById(ctx context.Context, instanceId string) (renewDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverRenewPostpaidDBInstanceById(ctx context.Context, instanceId string) (renewPostpaidDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverRestartDBInstanceById(ctx context.Context, instanceId string) (restartDBInstance *sqlserver.DBInstance, errRet error)
- func (me *SqlserverService) DescribeSqlserverRestoreInstanceById(ctx context.Context, instanceId string, allNameList []string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverRollbackInstanceById(ctx context.Context, instanceId string, allNameList []string) (rollBackInstance *sqlserver.InstanceDBDetail, errRet error)
- func (me *SqlserverService) DescribeSqlserverRollbackTimeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTime []*sqlserver.DbRollbackTimeInfo, errRet error)
- func (me *SqlserverService) DescribeSqlserverSlowlogsByFilter(ctx context.Context, param map[string]interface{}) (slowlogs []*sqlserver.SlowlogInfo, errRet error)
- func (me *SqlserverService) DescribeSqlserverUploadBackupInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadBackupInfo *sqlserver.DescribeUploadBackupInfoResponseParams, ...)
- func (me *SqlserverService) DescribeSqlserverUploadIncrementalInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadIncrementalInfo *sqlserver.DescribeUploadIncrementalInfoResponseParams, ...)
- func (me *SqlserverService) DescribeZones(ctx context.Context) (zoneInfoList []*sqlserver.ZoneInfo, errRet error)
- func (me *SqlserverService) GetInfoFromDeal(ctx context.Context, dealId string, timeout ...time.Duration) (instanceId string, errRet error)
- func (me *SqlserverService) ModifyAccountDBAttachment(ctx context.Context, instanceId, accountName, dbName, privilege string) (errRet error)
- func (me *SqlserverService) ModifyPublishSubscribeName(ctx context.Context, id uint64, name string) (errRet error)
- func (me *SqlserverService) ModifySqlserverAccountRemark(ctx context.Context, instanceId string, userName string, remark string) (errRet error)
- func (me *SqlserverService) ModifySqlserverDBRemark(ctx context.Context, instanceId string, dbName string, remark string) (errRet error)
- func (me *SqlserverService) ModifySqlserverInstanceMaintenanceSpan(ctx context.Context, instanceId string, weekSet []int, startTime string, ...) (errRet error)
- func (me *SqlserverService) ModifySqlserverInstanceName(ctx context.Context, instanceId string, name string) (errRet error)
- func (me *SqlserverService) ModifySqlserverInstanceProjectId(ctx context.Context, instanceId string, projectId int) (errRet error)
- func (me *SqlserverService) NewModifyDBInstanceRenewFlag(ctx context.Context, instanceId string, renewFlag int) (errRet error)
- func (me *SqlserverService) RecycleDBInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) RemoveSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)
- func (me *SqlserverService) ResetSqlserverAccountPassword(ctx context.Context, instanceId string, userName string, password string) (errRet error)
- func (me *SqlserverService) TerminateSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) TerminateSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *SqlserverService) UpgradeSqlserverBasicInstance(ctx context.Context, instanceId string, memory int, ...) (errRet error)
- func (me *SqlserverService) UpgradeSqlserverInstance(ctx context.Context, instanceId string, memory, storage, autoVoucher int, ...) (errRet error)
- func (me *SqlserverService) WaitForTaskFinish(ctx context.Context, flowId int64) (errRet error)
Constants ¶
View Source
const ( SQLSERVER_CHARGE_TYPE_PREPAID = "PREPAID" SQLSERVER_CHARGE_TYPE_POSTPAID = "POSTPAID_BY_HOUR" )
View Source
const ( SQLSERVER_TASK_SUCCESS = 0 SQLSERVER_TASK_FAIL = 1 SQLSERVER_TASK_RUNNING = 2 )
View Source
const ( SQLSERVER_ACCOUNT_RW = "ReadWrite" SQLSERVER_ACCOUNT_RO = "ReadOnly" )
View Source
const ( SQLSERVER_DEFAULT_LIMIT = 20 SQLSERVER_DEFAULT_OFFSET = 0 )
View Source
const ( SQLSERVER_DB_CREATING = 1 SQLSERVER_DB_RUNNING = 2 SQLSERVER_DB_MODIFYING = 3 SQLSERVER_DB_DELETING = -1 SQLSERVER_DB_UPGRADING = 9 SQLSERVER_DB_SWITCH_PENDING = 13 // 实例修改中且待切换 SQLSERVER_DB_PUBSUB_CREATING = 14 // 订阅发布创建中 SQLSERVER_DB_PUBSUB_MODIFYING = 15 // 订阅发布修改中 SQLSERVER_DB_SWITCHING = 16 // 实例修改中且切换中 SQLSERVER_DB_RO_CREATING = 17 // 创建RO副本中 )
View Source
const ( SQLSERVER_BACKUP_CYCLETYPE_DAILY = "daily" SQLSERVER_BACKUP_CYCLETYPE_WEEKLY = "weekly" SQLSERVER_BACKUP_CYCLETYPE_MONTHLY = "monthly" )
View Source
const ( SQLSERVER_HA_FLAG_SINGLE = "SINGLE" SQLSERVER_HA_FLAG_DAUL = "MIRROR" SQLSERVER_HA_FLAG_CLUSTER = "ALWAYSON" )
View Source
const ( BASIC_NETWORK = 0 VPC_NEWORK = 1 )
View Source
const ( INTERNALERROR_DBERROR = "InternalError.DBError" INSTANCE_STATUS_INVALID = "ResourceUnavailable.InstanceStatusInvalid" )
View Source
const ( CLOUD_PREMIUM = "CLOUD_PREMIUM" CLOUD_SSD = "CLOUD_SSD" CLOUD_BSSD = "CLOUD_BSSD" CLOUD_HSSD = "CLOUD_HSSD" )
View Source
const ( SQLSERVER_MIGRATION_INIT = 1 SQLSERVER_MIGRATION_MIGRATING = 4 SQLSERVER_MIGRATION_FAILED = 5 SQLSERVER_MIGRATION_COMPLETED = 6 SQLSERVER_MIGRATION_TERMINATED = 8 )
View Source
const ( SQLSERVER_BACKUP_RUNNING = 0 SQLSERVER_BACKUP_SUCCESS = 1 SQLSERVER_BACKUP_FAIL = 2 )
View Source
const ( SQLSERVER_BACKUP_STRATEGY_ALL = 0 SQLSERVER_BACKUP_STRATEGY_SINGEL = 1 )
View Source
const ( SQLSERVER_CLONE_SUCCESS = 0 SQLSERVER_CLONE_FAIL = 1 SQLSERVER_CLONE_RUNNING = 2 )
View Source
const ( SQLSERVER_BSDBINSTANCE_STATUS_RUNNING = 1 SQLSERVER_BSDBINSTANCE_STATUS_SUCCESS = 2 )
View Source
const ( SQLSERVER_DB_VERSION_2016 = "201603" SQLSERVER_DB_VERSION_2017 = "201703" SQLSERVER_DB_VERSION_2019 = "201903" )
View Source
const ( SQLSERVER_DB_VERSION_NAME_2016 = "SQL Server 2016 Integration Services" SQLSERVER_DB_VERSION_NAME_2017 = "SQL Server 2017 Integration Services" SQLSERVER_DB_VERSION_NAME_2019 = "SQL Server 2019 Integration Services" )
View Source
const ( SQLSERVER_CLOUD_DB_VERSION_2008R2 = "2008R2" SQLSERVER_CLOUD_DB_VERSION_2012SP3 = "2012SP3" SQLSERVER_CLOUD_DB_VERSION_201202 = "201202" SQLSERVER_CLOUD_DB_VERSION_2014SP2 = "2014SP2" SQLSERVER_CLOUD_DB_VERSION_201402 = "201402" SQLSERVER_CLOUD_DB_VERSION_2016SP1 = "2016SP1" SQLSERVER_CLOUD_DB_VERSION_201602 = "201602" SQLSERVER_CLOUD_DB_VERSION_201603 = "201603" SQLSERVER_CLOUD_DB_VERSION_2017 = "2017" SQLSERVER_CLOUD_DB_VERSION_201702 = "201702" SQLSERVER_CLOUD_DB_VERSION_201703 = "201703" SQLSERVER_CLOUD_DB_VERSION_2019 = "2019" SQLSERVER_CLOUD_DB_VERSION_201902 = "201902" SQLSERVER_CLOUD_DB_VERSION_201903 = "201903" SQLSERVER_CLOUD_DB_VERSION_2022 = "2022" )
View Source
const ( SQLSERVER_CLOUD_DB_VERSION_NAME_2008R2 = "SQL Server 2008 R2 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_2012SP3 = "SQL Server 2012 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201202 = "SQL Server 2012 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_2014SP2 = "SQL Server 2014 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201402 = "SQL Server 2014 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_2016SP1 = "SQL Server 2016 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201602 = "SQL Server 2016 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_201603 = "SQL Server 2016 Integration Services" SQLSERVER_CLOUD_DB_VERSION_NAME_2017 = "SQL Server 2017 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201702 = "SQL Server 2017 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_201703 = "SQL Server 2017 Integration Services" SQLSERVER_CLOUD_DB_VERSION_NAME_2019 = "SQL Server 2019 Enterprise" SQLSERVER_CLOUD_DB_VERSION_NAME_201902 = "SQL Server 2019 Standard" SQLSERVER_CLOUD_DB_VERSION_NAME_201903 = "SQL Server 2019 Integration Services" SQLSERVER_CLOUD_DB_VERSION_NAME_2022 = "SQL Server 2022 Enterprise" )
View Source
const ( SQLSERVER_TYPE_PREPAID = "PREPAID" SQLSERVER_TYPE_POSTPAID = "POSTPAID" )
View Source
const ( CreateDefaultTimeout = 7200 ReadDefaultTimeout = 7200 UpdateDefaultTimeout = 7200 DeleteDefaultTimeout = 7200 )
View Source
const ( SSL_TYPE_ENABLE = "enable" SSL_TYPE_DISABLE = "disable" SSL_TYPE_RENEW = "renew" )
Variables ¶
View Source
var SQLSERVER_ACCOUNT_PRIVILEGE = []string{ SQLSERVER_ACCOUNT_RW, SQLSERVER_ACCOUNT_RO, }
View Source
var SQLSERVER_CHARGE_TYPE_NAME = map[string]string{ "PRE": SQLSERVER_CHARGE_TYPE_PREPAID, "POST": SQLSERVER_CHARGE_TYPE_POSTPAID, "ALL": "ALL", }
View Source
var SQLSERVER_CHARSET_LIST = []string{
"Chinese_PRC_CI_AS",
"Chinese_PRC_CS_AS",
"Chinese_PRC_BIN",
"Chinese_Taiwan_Stroke_CI_AS",
"SQL_Latin1_General_CP1_CI_AS",
"SQL_Latin1_General_CP1_CS_AS",
}
View Source
var SQLSERVER_DB_STATUS = map[int64]string{ SQLSERVER_DB_CREATING: "creating", SQLSERVER_DB_RUNNING: "running", SQLSERVER_DB_MODIFYING: "modifying", SQLSERVER_DB_DELETING: "deleting", SQLSERVER_DB_UPGRADING: "upgrading", SQLSERVER_DB_SWITCH_PENDING: "switch pending", SQLSERVER_DB_PUBSUB_CREATING: "pubsub creating", SQLSERVER_DB_PUBSUB_MODIFYING: "pubsub modifying", SQLSERVER_DB_SWITCHING: "switching", SQLSERVER_DB_RO_CREATING: "ro creating", }
View Source
var SQLSERVER_HA_TYPE_FLAGS = map[string]string{ SQLSERVER_HA_FLAG_SINGLE: "SINGLE", SQLSERVER_HA_FLAG_DAUL: "DUAL", SQLSERVER_HA_FLAG_CLUSTER: "CLUSTER", }
View Source
var SQLSERVER_MIGRATION_STATUS = map[int64]string{ SQLSERVER_MIGRATION_INIT: "init", SQLSERVER_MIGRATION_MIGRATING: "migrating", SQLSERVER_MIGRATION_FAILED: "failed", SQLSERVER_MIGRATION_COMPLETED: "completed", SQLSERVER_MIGRATION_TERMINATED: "terminated", }
View Source
var SQLSERVER_STATUS_WAITING = []int{ SQLSERVER_DB_CREATING, SQLSERVER_DB_MODIFYING, SQLSERVER_DB_UPGRADING, SQLSERVER_DB_SWITCH_PENDING, SQLSERVER_DB_PUBSUB_CREATING, SQLSERVER_DB_PUBSUB_MODIFYING, SQLSERVER_DB_SWITCHING, SQLSERVER_DB_RO_CREATING, }
View Source
var SSL_TYPE = []string{ SSL_TYPE_ENABLE, SSL_TYPE_DISABLE, SSL_TYPE_RENEW, }
Functions ¶
Types ¶
type SqlserverService ¶
type SqlserverService struct {
// contains filtered or unexported fields
}
func NewSqlserverService ¶
func NewSqlserverService(client *connectivity.TencentCloudClient) SqlserverService
func (*SqlserverService) AddSecurityGroup ¶
func (*SqlserverService) CreateSqlserverAccount ¶
func (*SqlserverService) CreateSqlserverBasicInstance ¶
func (*SqlserverService) CreateSqlserverDB ¶
func (*SqlserverService) CreateSqlserverInstance ¶
func (me *SqlserverService) CreateSqlserverInstance(ctx context.Context, request *sqlserver.CreateDBInstancesRequest) (instanceId string, errRet error)
func (*SqlserverService) CreateSqlserverPublishSubscribe ¶
func (me *SqlserverService) CreateSqlserverPublishSubscribe(ctx context.Context, publishInstanceId, subscribeInstanceId, publishSubscribeName string, databaseTuples []interface{}) (errRet error)
func (*SqlserverService) CreateSqlserverReadonlyInstance ¶
func (me *SqlserverService) CreateSqlserverReadonlyInstance(ctx context.Context, request *sqlserver.CreateReadOnlyDBInstancesRequest) (instanceId string, errRet error)
func (*SqlserverService) DeletePublishSubscribe ¶
func (me *SqlserverService) DeletePublishSubscribe(ctx context.Context, publishSubscribe *sqlserver.PublishSubscribe, deleteDatabaseTuples []*sqlserver.DatabaseTuple) (errRet error)
func (*SqlserverService) DeleteSqlserverAccount ¶
func (*SqlserverService) DeleteSqlserverBusinessIntelligenceFileById ¶
func (me *SqlserverService) DeleteSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (errRet error)
func (*SqlserverService) DeleteSqlserverDB ¶
func (*SqlserverService) DeleteSqlserverFullBackupMigrationById ¶
func (me *SqlserverService) DeleteSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (errRet error)
func (*SqlserverService) DeleteSqlserverGeneralBackupsById ¶
func (me *SqlserverService) DeleteSqlserverGeneralBackupsById(ctx context.Context, instanceId, backupName string) (errRet error)
func (*SqlserverService) DeleteSqlserverGeneralCloneDB ¶
func (me *SqlserverService) DeleteSqlserverGeneralCloneDB(ctx context.Context, instanceId, dbName string) (deleteResp *sqlserver.DeleteDBResponse, errRet error)
func (*SqlserverService) DeleteSqlserverGeneralCloudRoInstanceById ¶
func (me *SqlserverService) DeleteSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) DeleteSqlserverGeneralCommunicationById ¶
func (*SqlserverService) DeleteSqlserverIncreBackupMigrationById ¶
func (me *SqlserverService) DeleteSqlserverIncreBackupMigrationById(ctx context.Context, instanceId, backupMigrationId, incrementalMigrationId string) (errRet error)
func (*SqlserverService) DeleteSqlserverInstance ¶
func (me *SqlserverService) DeleteSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) DeleteSqlserverInstanceById ¶
func (me *SqlserverService) DeleteSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) DeleteSqlserverMigrationById ¶
func (me *SqlserverService) DeleteSqlserverMigrationById(ctx context.Context, migrateId string) (errRet error)
func (*SqlserverService) DescribeAccountDBAttachmentById ¶
func (*SqlserverService) DescribeAccountDBAttachments ¶
func (*SqlserverService) DescribeBackupByFlowId ¶
func (me *SqlserverService) DescribeBackupByFlowId(ctx context.Context, instanceId, flowId string) (BackupInfo *sqlserver.DescribeBackupByFlowIdResponse, errRet error)
func (*SqlserverService) DescribeCloneStatusByFlowId ¶
func (me *SqlserverService) DescribeCloneStatusByFlowId(ctx context.Context, flowId int64) (cloneStatus *sqlserver.DescribeFlowStatusResponseParams, errRet error)
func (*SqlserverService) DescribeDBDetailsById ¶
func (*SqlserverService) DescribeDBsOfInstance ¶
func (*SqlserverService) DescribeInstanceSecurityGroups ¶
func (*SqlserverService) DescribeMaintenanceSpan ¶
func (*SqlserverService) DescribeMaintenanceSpanById ¶
func (me *SqlserverService) DescribeMaintenanceSpanById(ctx context.Context, instanceId string) (maintenanceSpan *sqlserver.DescribeMaintenanceSpanResponseParams, errRet error)
func (*SqlserverService) DescribeProductConfig ¶
func (*SqlserverService) DescribeReadonlyGroupList ¶
func (me *SqlserverService) DescribeReadonlyGroupList(ctx context.Context, instanceId string) (groupList []*sqlserver.ReadOnlyGroup, errRet error)
func (*SqlserverService) DescribeReadonlyGroupListByReadonlyInstanceId ¶
func (me *SqlserverService) DescribeReadonlyGroupListByReadonlyInstanceId(ctx context.Context, instanceId string) (readonlyInstance *sqlserver.DescribeReadOnlyGroupByReadOnlyInstanceResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverAccountById ¶
func (me *SqlserverService) DescribeSqlserverAccountById(ctx context.Context, instanceId string, userName string) (account *sqlserver.AccountDetail, has bool, errRet error)
func (*SqlserverService) DescribeSqlserverAccounts ¶
func (me *SqlserverService) DescribeSqlserverAccounts(ctx context.Context, instanceId string) (accounts []*sqlserver.AccountDetail, errRet error)
func (*SqlserverService) DescribeSqlserverBackupByBackupId ¶
func (*SqlserverService) DescribeSqlserverBackupCommand ¶
func (me *SqlserverService) DescribeSqlserverBackupCommand(ctx context.Context, param map[string]interface{}) (datasourceBackupCommand []*sqlserver.DescribeBackupCommandResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverBackupUploadSizeByFilter ¶
func (me *SqlserverService) DescribeSqlserverBackupUploadSizeByFilter(ctx context.Context, param map[string]interface{}) (datasourceBackupUploadSize []*sqlserver.CosUploadBackupFile, errRet error)
func (*SqlserverService) DescribeSqlserverBackups ¶
func (*SqlserverService) DescribeSqlserverBackupsById ¶
func (me *SqlserverService) DescribeSqlserverBackupsById(ctx context.Context, instanceId, groupId string) (generalBackups *sqlserver.BackupFile, errRet error)
func (*SqlserverService) DescribeSqlserverBusinessIntelligenceFileById ¶
func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (businessIntelligenceFile *sqlserver.BusinessIntelligenceFile, errRet error)
func (*SqlserverService) DescribeSqlserverBusinessIntelligenceInstanceById ¶
func (me *SqlserverService) DescribeSqlserverBusinessIntelligenceInstanceById(ctx context.Context, instanceId string) (businessIntelligenceInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverConfigBackupStrategyById ¶
func (me *SqlserverService) DescribeSqlserverConfigBackupStrategyById(ctx context.Context, instanceId string) (configBackupStrategy *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverConfigDatabaseCDCById ¶
func (me *SqlserverService) DescribeSqlserverConfigDatabaseCDCById(ctx context.Context, instanceId string) (configDatabaseCDC []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigDatabaseCTById ¶
func (me *SqlserverService) DescribeSqlserverConfigDatabaseCTById(ctx context.Context, instanceId string) (configDatabaseCT []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigDatabaseMdfById ¶
func (me *SqlserverService) DescribeSqlserverConfigDatabaseMdfById(ctx context.Context, instanceId string) (configDatabaseMdf []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceNetworkById ¶
func (me *SqlserverService) DescribeSqlserverConfigInstanceNetworkById(ctx context.Context, instanceId string) (configInstanceNetwork *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceParamById ¶
func (me *SqlserverService) DescribeSqlserverConfigInstanceParamById(ctx context.Context, instanceId string) (configInstanceParam []*sqlserver.ParameterDetail, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceRoGroupById ¶
func (me *SqlserverService) DescribeSqlserverConfigInstanceRoGroupById(ctx context.Context, instanceId, readOnlyGroupId string) (configInstanceRoGroup *sqlserver.DescribeReadOnlyGroupDetailsResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverConfigInstanceSecurityGroupsById ¶
func (me *SqlserverService) DescribeSqlserverConfigInstanceSecurityGroupsById(ctx context.Context, instanceId string) (configInstanceSecurityGroups []*sqlserver.SecurityGroup, errRet error)
func (*SqlserverService) DescribeSqlserverConfigTerminateDBInstanceById ¶
func (me *SqlserverService) DescribeSqlserverConfigTerminateDBInstanceById(ctx context.Context, instanceId string) (configTerminateDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverCrossRegionZoneByFilter ¶
func (me *SqlserverService) DescribeSqlserverCrossRegionZoneByFilter(ctx context.Context, param map[string]interface{}) (datasourceCrossRegionZone *sqlserver.DescribeCrossRegionZoneResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverDBS ¶
func (me *SqlserverService) DescribeSqlserverDBS(ctx context.Context, instanceId, dbName string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverDatabaseTDEById ¶
func (me *SqlserverService) DescribeSqlserverDatabaseTDEById(ctx context.Context, instanceId string, dbNameList []string) (databaseTDE *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverDatasourceDBCharsetsByFilter ¶
func (*SqlserverService) DescribeSqlserverDatasourceRegionsByFilter ¶
func (me *SqlserverService) DescribeSqlserverDatasourceRegionsByFilter(ctx context.Context) (datasourceRegions []*sqlserver.RegionInfo, errRet error)
func (*SqlserverService) DescribeSqlserverDescHaLogByFilter ¶
func (*SqlserverService) DescribeSqlserverFullBackupMigrationById ¶
func (*SqlserverService) DescribeSqlserverGeneralCloneById ¶
func (me *SqlserverService) DescribeSqlserverGeneralCloneById(ctx context.Context, instanceId string) (generalCommunication []*sqlserver.DbNormalDetail, errRet error)
func (*SqlserverService) DescribeSqlserverGeneralCloudInstanceById ¶
func (me *SqlserverService) DescribeSqlserverGeneralCloudInstanceById(ctx context.Context, instanceId string) (generalCloudInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverGeneralCloudRoInstanceById ¶
func (me *SqlserverService) DescribeSqlserverGeneralCloudRoInstanceById(ctx context.Context, instanceId string) (generalCloudRoInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverGeneralCommunicationById ¶
func (me *SqlserverService) DescribeSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (generalCommunication *sqlserver.InterInstance, errRet error)
func (*SqlserverService) DescribeSqlserverIncreBackupMigrationById ¶
func (*SqlserverService) DescribeSqlserverInsAttributeByFilter ¶
func (me *SqlserverService) DescribeSqlserverInsAttributeByFilter(ctx context.Context, param map[string]interface{}) (datasourceInsAttribute *sqlserver.DescribeDBInstancesAttributeResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceById ¶
func (me *SqlserverService) DescribeSqlserverInstanceById(ctx context.Context, instanceId string) (instance *sqlserver.DBInstance, has bool, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceHaById ¶
func (me *SqlserverService) DescribeSqlserverInstanceHaById(ctx context.Context, instanceId string) (instanceHa *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceParamRecordsByFilter ¶
func (me *SqlserverService) DescribeSqlserverInstanceParamRecordsByFilter(ctx context.Context, param map[string]interface{}) (instanceParamRecords []*sqlserver.ParamRecord, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceSslById ¶
func (me *SqlserverService) DescribeSqlserverInstanceSslById(ctx context.Context, instanceId string) (instanceSsl *sqlserver.DescribeDBInstancesAttributeResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverInstanceTDEById ¶
func (me *SqlserverService) DescribeSqlserverInstanceTDEById(ctx context.Context, instanceId string) (instanceTDE *sqlserver.DescribeDBInstancesAttributeResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverInstances ¶
func (me *SqlserverService) DescribeSqlserverInstances(ctx context.Context, instanceId, instanceName string, projectId int, vpcId, subnetId string, netType int) (instanceList []*sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverMigrationById ¶
func (me *SqlserverService) DescribeSqlserverMigrationById(ctx context.Context, migrateId string) (migration *sqlserver.DescribeMigrationDetailResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverMigrationsByFilter ¶
func (me *SqlserverService) DescribeSqlserverMigrationsByFilter(ctx context.Context, param map[string]interface{}) (migrateTasks []*sqlserver.MigrateTask, errRet error)
func (*SqlserverService) DescribeSqlserverProjectSecurityGroupsByFilter ¶
func (me *SqlserverService) DescribeSqlserverProjectSecurityGroupsByFilter(ctx context.Context, param map[string]interface{}) (projectSecurityGroups []*sqlserver.SecurityGroup, errRet error)
func (*SqlserverService) DescribeSqlserverPublishSubscribeById ¶
func (me *SqlserverService) DescribeSqlserverPublishSubscribeById(ctx context.Context, instanceId, pubOrSubInstanceId string) (instance *sqlserver.PublishSubscribe, has bool, errRet error)
func (*SqlserverService) DescribeSqlserverPublishSubscribes ¶
func (me *SqlserverService) DescribeSqlserverPublishSubscribes(ctx context.Context, paramMap map[string]interface{}) (publishSubscribeList []*sqlserver.PublishSubscribe, errRet error)
func (*SqlserverService) DescribeSqlserverQueryXeventByFilter ¶
func (*SqlserverService) DescribeSqlserverRenewDBInstanceById ¶
func (me *SqlserverService) DescribeSqlserverRenewDBInstanceById(ctx context.Context, instanceId string) (renewDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverRenewPostpaidDBInstanceById ¶
func (me *SqlserverService) DescribeSqlserverRenewPostpaidDBInstanceById(ctx context.Context, instanceId string) (renewPostpaidDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverRestartDBInstanceById ¶
func (me *SqlserverService) DescribeSqlserverRestartDBInstanceById(ctx context.Context, instanceId string) (restartDBInstance *sqlserver.DBInstance, errRet error)
func (*SqlserverService) DescribeSqlserverRestoreInstanceById ¶
func (me *SqlserverService) DescribeSqlserverRestoreInstanceById(ctx context.Context, instanceId string, allNameList []string) (restoreInstance *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverRollbackInstanceById ¶
func (me *SqlserverService) DescribeSqlserverRollbackInstanceById(ctx context.Context, instanceId string, allNameList []string) (rollBackInstance *sqlserver.InstanceDBDetail, errRet error)
func (*SqlserverService) DescribeSqlserverRollbackTimeByFilter ¶
func (me *SqlserverService) DescribeSqlserverRollbackTimeByFilter(ctx context.Context, param map[string]interface{}) (rollbackTime []*sqlserver.DbRollbackTimeInfo, errRet error)
func (*SqlserverService) DescribeSqlserverSlowlogsByFilter ¶
func (me *SqlserverService) DescribeSqlserverSlowlogsByFilter(ctx context.Context, param map[string]interface{}) (slowlogs []*sqlserver.SlowlogInfo, errRet error)
func (*SqlserverService) DescribeSqlserverUploadBackupInfoByFilter ¶
func (me *SqlserverService) DescribeSqlserverUploadBackupInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadBackupInfo *sqlserver.DescribeUploadBackupInfoResponseParams, errRet error)
func (*SqlserverService) DescribeSqlserverUploadIncrementalInfoByFilter ¶
func (me *SqlserverService) DescribeSqlserverUploadIncrementalInfoByFilter(ctx context.Context, param map[string]interface{}) (uploadIncrementalInfo *sqlserver.DescribeUploadIncrementalInfoResponseParams, errRet error)
func (*SqlserverService) DescribeZones ¶
func (*SqlserverService) GetInfoFromDeal ¶
func (*SqlserverService) ModifyAccountDBAttachment ¶
func (me *SqlserverService) ModifyAccountDBAttachment(ctx context.Context, instanceId, accountName, dbName, privilege string) (errRet error)
func (*SqlserverService) ModifyPublishSubscribeName ¶
func (*SqlserverService) ModifySqlserverAccountRemark ¶
func (*SqlserverService) ModifySqlserverDBRemark ¶
func (*SqlserverService) ModifySqlserverInstanceMaintenanceSpan ¶
func (*SqlserverService) ModifySqlserverInstanceName ¶
func (*SqlserverService) ModifySqlserverInstanceProjectId ¶
func (*SqlserverService) NewModifyDBInstanceRenewFlag ¶
func (*SqlserverService) RecycleDBInstance ¶
func (me *SqlserverService) RecycleDBInstance(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) RemoveSecurityGroup ¶
func (*SqlserverService) ResetSqlserverAccountPassword ¶
func (*SqlserverService) TerminateSqlserverInstance ¶
func (me *SqlserverService) TerminateSqlserverInstance(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) TerminateSqlserverInstanceById ¶
func (me *SqlserverService) TerminateSqlserverInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*SqlserverService) UpgradeSqlserverBasicInstance ¶
func (*SqlserverService) UpgradeSqlserverInstance ¶
func (*SqlserverService) WaitForTaskFinish ¶
func (me *SqlserverService) WaitForTaskFinish(ctx context.Context, flowId int64) (errRet error)
Source Files ¶
- data_source_tc_sqlserver_account_db_attachments.go
- data_source_tc_sqlserver_accounts.go
- data_source_tc_sqlserver_backup_by_flow_id.go
- data_source_tc_sqlserver_backup_commands.go
- data_source_tc_sqlserver_backup_upload_size.go
- data_source_tc_sqlserver_backups.go
- data_source_tc_sqlserver_basic_instances.go
- data_source_tc_sqlserver_cross_region_zone.go
- data_source_tc_sqlserver_db_charsets.go
- data_source_tc_sqlserver_dbs.go
- data_source_tc_sqlserver_desc_ha_log.go
- data_source_tc_sqlserver_ins_attribute.go
- data_source_tc_sqlserver_instance_param_records.go
- data_source_tc_sqlserver_instances.go
- data_source_tc_sqlserver_project_security_groups.go
- data_source_tc_sqlserver_publish_subscribes.go
- data_source_tc_sqlserver_query_xevent.go
- data_source_tc_sqlserver_readonly_groups.go
- data_source_tc_sqlserver_regions.go
- data_source_tc_sqlserver_rollback_time.go
- data_source_tc_sqlserver_slowlogs.go
- data_source_tc_sqlserver_upload_backup_info.go
- data_source_tc_sqlserver_upload_incremental_info.go
- data_source_tc_sqlserver_zone_config.go
- extension_sqlserver.go
- resource_tc_sqlserver_account.go
- resource_tc_sqlserver_account_db_attachment.go
- resource_tc_sqlserver_basic_instance.go
- resource_tc_sqlserver_business_intelligence_file.go
- resource_tc_sqlserver_business_intelligence_instance.go
- resource_tc_sqlserver_complete_expansion.go
- resource_tc_sqlserver_config_backup_strategy.go
- resource_tc_sqlserver_config_database_cdc.go
- resource_tc_sqlserver_config_database_ct.go
- resource_tc_sqlserver_config_database_mdf.go
- resource_tc_sqlserver_config_instance_param.go
- resource_tc_sqlserver_config_instance_ro_group.go
- resource_tc_sqlserver_config_instance_security_groups.go
- resource_tc_sqlserver_config_terminate_db_instance.go
- resource_tc_sqlserver_database_tde.go
- resource_tc_sqlserver_db.go
- resource_tc_sqlserver_full_backup_migration.go
- resource_tc_sqlserver_general_backup.go
- resource_tc_sqlserver_general_clone.go
- resource_tc_sqlserver_general_cloud_instance.go
- resource_tc_sqlserver_general_cloud_ro_instance.go
- resource_tc_sqlserver_general_communication.go
- resource_tc_sqlserver_incre_backup_migration.go
- resource_tc_sqlserver_instance.go
- resource_tc_sqlserver_instance_ssl.go
- resource_tc_sqlserver_instance_tde.go
- resource_tc_sqlserver_migration.go
- resource_tc_sqlserver_publish_subscribe.go
- resource_tc_sqlserver_readonly_instance.go
- resource_tc_sqlserver_renew_db_instance.go
- resource_tc_sqlserver_renew_postpaid_db_instance.go
- resource_tc_sqlserver_restart_db_instance.go
- resource_tc_sqlserver_restore_instance.go
- resource_tc_sqlserver_rollback_instance.go
- resource_tc_sqlserver_start_backup_full_migration.go
- resource_tc_sqlserver_start_backup_incremental_migration.go
- resource_tc_sqlserver_start_xevent.go
- service_tencentcloud_sqlserver.go
Click to show internal directories.
Click to hide internal directories.