sqlserver

package
v1.81.114 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

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",
}

Functions

func DataSourceTencentCloudSqlserverAccountDBAttachments

func DataSourceTencentCloudSqlserverAccountDBAttachments() *schema.Resource

func DataSourceTencentCloudSqlserverAccounts

func DataSourceTencentCloudSqlserverAccounts() *schema.Resource

func DataSourceTencentCloudSqlserverBackupByFlowId

func DataSourceTencentCloudSqlserverBackupByFlowId() *schema.Resource

func DataSourceTencentCloudSqlserverBackupCommands

func DataSourceTencentCloudSqlserverBackupCommands() *schema.Resource

func DataSourceTencentCloudSqlserverBackupUploadSize

func DataSourceTencentCloudSqlserverBackupUploadSize() *schema.Resource

func DataSourceTencentCloudSqlserverBackups

func DataSourceTencentCloudSqlserverBackups() *schema.Resource

func DataSourceTencentCloudSqlserverBasicInstances

func DataSourceTencentCloudSqlserverBasicInstances() *schema.Resource

func DataSourceTencentCloudSqlserverCrossRegionZone

func DataSourceTencentCloudSqlserverCrossRegionZone() *schema.Resource

func DataSourceTencentCloudSqlserverDBCharsets

func DataSourceTencentCloudSqlserverDBCharsets() *schema.Resource

func DataSourceTencentCloudSqlserverDBs

func DataSourceTencentCloudSqlserverDBs() *schema.Resource

func DataSourceTencentCloudSqlserverDescHaLog

func DataSourceTencentCloudSqlserverDescHaLog() *schema.Resource

func DataSourceTencentCloudSqlserverInsAttribute

func DataSourceTencentCloudSqlserverInsAttribute() *schema.Resource

func DataSourceTencentCloudSqlserverInstanceParamRecords

func DataSourceTencentCloudSqlserverInstanceParamRecords() *schema.Resource

func DataSourceTencentCloudSqlserverInstances

func DataSourceTencentCloudSqlserverInstances() *schema.Resource

func DataSourceTencentCloudSqlserverProjectSecurityGroups

func DataSourceTencentCloudSqlserverProjectSecurityGroups() *schema.Resource

func DataSourceTencentCloudSqlserverPublishSubscribes

func DataSourceTencentCloudSqlserverPublishSubscribes() *schema.Resource

func DataSourceTencentCloudSqlserverQueryXevent

func DataSourceTencentCloudSqlserverQueryXevent() *schema.Resource

func DataSourceTencentCloudSqlserverReadonlyGroups

func DataSourceTencentCloudSqlserverReadonlyGroups() *schema.Resource

func DataSourceTencentCloudSqlserverRegions

func DataSourceTencentCloudSqlserverRegions() *schema.Resource

func DataSourceTencentCloudSqlserverRollbackTime

func DataSourceTencentCloudSqlserverRollbackTime() *schema.Resource

func DataSourceTencentCloudSqlserverSlowlogs

func DataSourceTencentCloudSqlserverSlowlogs() *schema.Resource

func DataSourceTencentCloudSqlserverUploadBackupInfo

func DataSourceTencentCloudSqlserverUploadBackupInfo() *schema.Resource

func DataSourceTencentCloudSqlserverUploadIncrementalInfo

func DataSourceTencentCloudSqlserverUploadIncrementalInfo() *schema.Resource

func DataSourceTencentCloudSqlserverZoneConfig

func DataSourceTencentCloudSqlserverZoneConfig() *schema.Resource

func ResourceTencentCloudSqlserverAccount

func ResourceTencentCloudSqlserverAccount() *schema.Resource

func ResourceTencentCloudSqlserverAccountDBAttachment

func ResourceTencentCloudSqlserverAccountDBAttachment() *schema.Resource

func ResourceTencentCloudSqlserverBasicInstance

func ResourceTencentCloudSqlserverBasicInstance() *schema.Resource

func ResourceTencentCloudSqlserverBusinessIntelligenceFile

func ResourceTencentCloudSqlserverBusinessIntelligenceFile() *schema.Resource

func ResourceTencentCloudSqlserverBusinessIntelligenceInstance

func ResourceTencentCloudSqlserverBusinessIntelligenceInstance() *schema.Resource

func ResourceTencentCloudSqlserverCompleteExpansion

func ResourceTencentCloudSqlserverCompleteExpansion() *schema.Resource

func ResourceTencentCloudSqlserverConfigBackupStrategy

func ResourceTencentCloudSqlserverConfigBackupStrategy() *schema.Resource

func ResourceTencentCloudSqlserverConfigDatabaseCDC

func ResourceTencentCloudSqlserverConfigDatabaseCDC() *schema.Resource

func ResourceTencentCloudSqlserverConfigDatabaseCT

func ResourceTencentCloudSqlserverConfigDatabaseCT() *schema.Resource

func ResourceTencentCloudSqlserverConfigDatabaseMdf

func ResourceTencentCloudSqlserverConfigDatabaseMdf() *schema.Resource

func ResourceTencentCloudSqlserverConfigInstanceParam

func ResourceTencentCloudSqlserverConfigInstanceParam() *schema.Resource

func ResourceTencentCloudSqlserverConfigInstanceRoGroup

func ResourceTencentCloudSqlserverConfigInstanceRoGroup() *schema.Resource

func ResourceTencentCloudSqlserverConfigInstanceSecurityGroups

func ResourceTencentCloudSqlserverConfigInstanceSecurityGroups() *schema.Resource

func ResourceTencentCloudSqlserverConfigTerminateDBInstance

func ResourceTencentCloudSqlserverConfigTerminateDBInstance() *schema.Resource

func ResourceTencentCloudSqlserverDB

func ResourceTencentCloudSqlserverDB() *schema.Resource

func ResourceTencentCloudSqlserverDatabaseTDE

func ResourceTencentCloudSqlserverDatabaseTDE() *schema.Resource

func ResourceTencentCloudSqlserverFullBackupMigration

func ResourceTencentCloudSqlserverFullBackupMigration() *schema.Resource

func ResourceTencentCloudSqlserverGeneralBackup

func ResourceTencentCloudSqlserverGeneralBackup() *schema.Resource

func ResourceTencentCloudSqlserverGeneralClone

func ResourceTencentCloudSqlserverGeneralClone() *schema.Resource

func ResourceTencentCloudSqlserverGeneralCloudInstance

func ResourceTencentCloudSqlserverGeneralCloudInstance() *schema.Resource

func ResourceTencentCloudSqlserverGeneralCloudRoInstance

func ResourceTencentCloudSqlserverGeneralCloudRoInstance() *schema.Resource

func ResourceTencentCloudSqlserverGeneralCommunication

func ResourceTencentCloudSqlserverGeneralCommunication() *schema.Resource

func ResourceTencentCloudSqlserverIncreBackupMigration

func ResourceTencentCloudSqlserverIncreBackupMigration() *schema.Resource

func ResourceTencentCloudSqlserverInstance

func ResourceTencentCloudSqlserverInstance() *schema.Resource

func ResourceTencentCloudSqlserverInstanceSsl

func ResourceTencentCloudSqlserverInstanceSsl() *schema.Resource

func ResourceTencentCloudSqlserverInstanceTDE

func ResourceTencentCloudSqlserverInstanceTDE() *schema.Resource

func ResourceTencentCloudSqlserverMigration

func ResourceTencentCloudSqlserverMigration() *schema.Resource

func ResourceTencentCloudSqlserverPublishSubscribe

func ResourceTencentCloudSqlserverPublishSubscribe() *schema.Resource

func ResourceTencentCloudSqlserverReadonlyInstance

func ResourceTencentCloudSqlserverReadonlyInstance() *schema.Resource

func ResourceTencentCloudSqlserverRenewDBInstance

func ResourceTencentCloudSqlserverRenewDBInstance() *schema.Resource

func ResourceTencentCloudSqlserverRenewPostpaidDBInstance

func ResourceTencentCloudSqlserverRenewPostpaidDBInstance() *schema.Resource

func ResourceTencentCloudSqlserverRestartDBInstance

func ResourceTencentCloudSqlserverRestartDBInstance() *schema.Resource

func ResourceTencentCloudSqlserverRestoreInstance

func ResourceTencentCloudSqlserverRestoreInstance() *schema.Resource

func ResourceTencentCloudSqlserverRollbackInstance

func ResourceTencentCloudSqlserverRollbackInstance() *schema.Resource

func ResourceTencentCloudSqlserverStartBackupFullMigration

func ResourceTencentCloudSqlserverStartBackupFullMigration() *schema.Resource

func ResourceTencentCloudSqlserverStartBackupIncrementalMigration

func ResourceTencentCloudSqlserverStartBackupIncrementalMigration() *schema.Resource

func ResourceTencentCloudSqlserverStartXevent

func ResourceTencentCloudSqlserverStartXevent() *schema.Resource

func TencentSqlServerBasicInfo

func TencentSqlServerBasicInfo(isROInstance bool) map[string]*schema.Schema

Types

type SqlserverService

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

func NewSqlserverService

func NewSqlserverService(client *connectivity.TencentCloudClient) SqlserverService

func (*SqlserverService) AddSecurityGroup

func (me *SqlserverService) AddSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)

func (*SqlserverService) CreateSqlserverAccount

func (me *SqlserverService) CreateSqlserverAccount(ctx context.Context, instanceId string, userName string, password string, remark string, isAdmin bool) (errRet error)

func (*SqlserverService) CreateSqlserverBasicInstance

func (me *SqlserverService) CreateSqlserverBasicInstance(ctx context.Context, paramMap map[string]interface{}, weekSet []int, voucherIds, securityGroups []string) (instanceId string, errRet error)

func (*SqlserverService) CreateSqlserverDB

func (me *SqlserverService) CreateSqlserverDB(ctx context.Context, instanceID string, dbname string, charset string, remark string) (errRet error)

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 (me *SqlserverService) DeleteSqlserverAccount(ctx context.Context, instanceId string, userName string) (errRet error)

func (*SqlserverService) DeleteSqlserverBusinessIntelligenceFileById

func (me *SqlserverService) DeleteSqlserverBusinessIntelligenceFileById(ctx context.Context, instanceId, fileName string) (errRet error)

func (*SqlserverService) DeleteSqlserverDB

func (me *SqlserverService) DeleteSqlserverDB(ctx context.Context, instanceId string, names []*string) (errRet error)

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 (me *SqlserverService) DeleteSqlserverGeneralCommunicationById(ctx context.Context, instanceId string) (flowId int64, errRet error)

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 (me *SqlserverService) DescribeAccountDBAttachmentById(ctx context.Context, instanceId, accountName, dbName string) (attachment map[string]string, has bool, errRet error)

func (*SqlserverService) DescribeAccountDBAttachments

func (me *SqlserverService) DescribeAccountDBAttachments(ctx context.Context, instanceId, accountName, dbName string) (attachments []map[string]string, errRet error)

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 (me *SqlserverService) DescribeDBDetailsById(ctx context.Context, dbId string) (dbInfo *sqlserver.DBDetail, has bool, errRet error)

func (*SqlserverService) DescribeDBsOfInstance

func (me *SqlserverService) DescribeDBsOfInstance(ctx context.Context, instanceId string) (instanceDBList []*sqlserver.DBDetail, errRet error)

func (*SqlserverService) DescribeInstanceSecurityGroups

func (me *SqlserverService) DescribeInstanceSecurityGroups(ctx context.Context, instanceId string) (securityGroups []string, errRet error)

func (*SqlserverService) DescribeMaintenanceSpan

func (me *SqlserverService) DescribeMaintenanceSpan(ctx context.Context, instanceId string) (weekSet []int, startTime string, timeSpan int, errRet error)

func (*SqlserverService) DescribeMaintenanceSpanById

func (me *SqlserverService) DescribeMaintenanceSpanById(ctx context.Context, instanceId string) (maintenanceSpan *sqlserver.DescribeMaintenanceSpanResponseParams, errRet error)

func (*SqlserverService) DescribeProductConfig

func (me *SqlserverService) DescribeProductConfig(ctx context.Context, zone string) (specInfoList []*sqlserver.SpecInfo, errRet error)

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 (me *SqlserverService) DescribeSqlserverBackupByBackupId(ctx context.Context, instanceId string, startTime string, endTime string, backupId uint64) (backupList []*sqlserver.Backup, errRet error)

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 (me *SqlserverService) DescribeSqlserverBackups(ctx context.Context, instanceId, backupName string, startTime string, endTime string) (backupList []*sqlserver.Backup, errRet error)

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 (me *SqlserverService) DescribeSqlserverDatasourceDBCharsetsByFilter(ctx context.Context, param map[string]interface{}) (databaseCharsets []*string, errRet error)

func (*SqlserverService) DescribeSqlserverDatasourceRegionsByFilter

func (me *SqlserverService) DescribeSqlserverDatasourceRegionsByFilter(ctx context.Context) (datasourceRegions []*sqlserver.RegionInfo, errRet error)

func (*SqlserverService) DescribeSqlserverDescHaLogByFilter

func (me *SqlserverService) DescribeSqlserverDescHaLogByFilter(ctx context.Context, param map[string]interface{}) (descHaLog []*sqlserver.SwitchLog, errRet error)

func (*SqlserverService) DescribeSqlserverFullBackupMigrationById

func (me *SqlserverService) DescribeSqlserverFullBackupMigrationById(ctx context.Context, instanceId, backupMigrationId string) (fullBackupMigration *sqlserver.Migration, errRet error)

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 (me *SqlserverService) DescribeSqlserverIncreBackupMigrationById(ctx context.Context, instanceId, backupMigrationId, incrementalMigrationId string) (increBackupMigration *sqlserver.Migration, errRet error)

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 (me *SqlserverService) DescribeSqlserverQueryXeventByFilter(ctx context.Context, param map[string]interface{}) (queryXevent []*sqlserver.Events, errRet error)

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 (me *SqlserverService) DescribeZones(ctx context.Context) (zoneInfoList []*sqlserver.ZoneInfo, errRet error)

func (*SqlserverService) GetInfoFromDeal

func (me *SqlserverService) GetInfoFromDeal(ctx context.Context, dealId string, timeout ...time.Duration) (instanceId string, errRet error)

func (*SqlserverService) ModifyAccountDBAttachment

func (me *SqlserverService) ModifyAccountDBAttachment(ctx context.Context, instanceId, accountName, dbName, privilege string) (errRet error)

func (*SqlserverService) ModifyPublishSubscribeName

func (me *SqlserverService) ModifyPublishSubscribeName(ctx context.Context, id uint64, name string) (errRet error)

func (*SqlserverService) ModifySqlserverAccountRemark

func (me *SqlserverService) ModifySqlserverAccountRemark(ctx context.Context, instanceId string, userName string, remark string) (errRet error)

func (*SqlserverService) ModifySqlserverDBRemark

func (me *SqlserverService) ModifySqlserverDBRemark(ctx context.Context, instanceId string, dbName string, remark string) (errRet error)

func (*SqlserverService) ModifySqlserverInstanceMaintenanceSpan

func (me *SqlserverService) ModifySqlserverInstanceMaintenanceSpan(ctx context.Context, instanceId string, weekSet []int, startTime string, timeSpan int) (errRet error)

func (*SqlserverService) ModifySqlserverInstanceName

func (me *SqlserverService) ModifySqlserverInstanceName(ctx context.Context, instanceId string, name string) (errRet error)

func (*SqlserverService) ModifySqlserverInstanceProjectId

func (me *SqlserverService) ModifySqlserverInstanceProjectId(ctx context.Context, instanceId string, projectId int) (errRet error)

func (*SqlserverService) NewModifyDBInstanceRenewFlag

func (me *SqlserverService) NewModifyDBInstanceRenewFlag(ctx context.Context, instanceId string, renewFlag int) (errRet error)

func (*SqlserverService) RecycleDBInstance

func (me *SqlserverService) RecycleDBInstance(ctx context.Context, instanceId string) (errRet error)

func (*SqlserverService) RemoveSecurityGroup

func (me *SqlserverService) RemoveSecurityGroup(ctx context.Context, instanceId string, securityGroupId string) (errRet error)

func (*SqlserverService) ResetSqlserverAccountPassword

func (me *SqlserverService) ResetSqlserverAccountPassword(ctx context.Context, instanceId string, userName string, password string) (errRet error)

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 (me *SqlserverService) UpgradeSqlserverBasicInstance(ctx context.Context, instanceId string, memory int, storage, cpu, autoVoucher int, voucherIds []string) (errRet error)

func (*SqlserverService) UpgradeSqlserverInstance

func (me *SqlserverService) UpgradeSqlserverInstance(ctx context.Context, instanceId string, memory, storage, autoVoucher int, voucherIds []*string) (errRet error)

func (*SqlserverService) WaitForTaskFinish

func (me *SqlserverService) WaitForTaskFinish(ctx context.Context, flowId int64) (errRet error)

Source Files

Jump to

Keyboard shortcuts

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