v20180328

package
v3.0.1287+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error
	AUTHFAILURE = "AuthFailure"

	// Failed to access COS.
	FAILEDOPERATION_COSERROR = "FailedOperation.CosError"

	// Errors occurred while acquiring uploaded configuration information.
	FAILEDOPERATION_COSPROPERTIESERROR = "FailedOperation.CosPropertiesError"

	// Failed to create order.
	FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"

	// Database error.
	FAILEDOPERATION_DBERROR = "FailedOperation.DBError"

	// Public network operation failed.
	FAILEDOPERATION_DOMAINOPERATIONFAILED = "FailedOperation.DomainOperationFailed"

	// The operation failed or the network timed out.
	FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"

	// Failed to get VPC information.
	FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"

	// Locking the backup import task failed.
	FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"

	// The operation is not supported.
	FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"

	// Failed to query order.
	FAILEDOPERATION_QUERYORDERFAILED = "FailedOperation.QueryOrderFailed"

	// Billing error. Failed to query price.
	FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"

	// Security group operation failed.
	FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"

	// Failed to operate the network or the session timed out.
	FAILEDOPERATION_VPCERROR = "FailedOperation.VPCError"

	// Internal error.
	INTERNALERROR = "InternalError"

	// CAM authentication request failed.
	INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed"

	// COS API error.
	INTERNALERROR_COSERROR = "InternalError.CosError"

	// Failed to create flow.
	INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"

	// Database connection error.
	INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"

	// Database error
	INTERNALERROR_DBERROR = "InternalError.DBError"

	// A data error occurs.
	INTERNALERROR_DATAERROR = "InternalError.DataError"

	// GCS API error.
	INTERNALERROR_GCSERROR = "InternalError.GcsError"

	// Errors occurred while acquiring temporary keys.
	INTERNALERROR_STSERROR = "InternalError.StsError"

	// System error.
	INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"

	// Unknown error.
	INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"

	// VPC error
	INTERNALERROR_VPCERROR = "InternalError.VPCError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Input error.
	INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"

	// The API does not exist.
	INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"

	// Instances with publish-subscribe relationships are not supported.
	INVALIDPARAMETER_NOTSUPPORTPUBSUBINSTANCE = "InvalidParameter.NotSupportPubSubInstance"

	// Primary instances with read-only replicas are not supported.
	INVALIDPARAMETER_NOTSUPPORTREADONLYMASTERINSTANCE = "InvalidParameter.NotSupportReadOnlyMasterInstance"

	// Single-node edition (basic edition or RO replica) instances are not supported.
	INVALIDPARAMETER_NOTSUPPORTSINGLEINSTANCE = "InvalidParameter.NotSupportSingleInstance"

	// An error occurred while converting parameter assertion.
	INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"

	// Failed to make order payment.
	INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"

	// The parameter value is invalid.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Account already exists.
	INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"

	// The account name is invalid.
	INVALIDPARAMETERVALUE_ACCOUNTNAMEISILLEGAL = "InvalidParameterValue.AccountNameIsIllegal"

	// The account name includes restricted contents.
	INVALIDPARAMETERVALUE_ACCOUNTNAMEISKEYWORDS = "InvalidParameterValue.AccountNameIsKeyWords"

	// The account remarks are invalid.
	INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal"

	// You can only apply for one admin account.
	INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique"

	// The backup name contains invalid characters.
	INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"

	// Invalid number of purchased instances.
	INVALIDPARAMETERVALUE_BADGOODSNUM = "InvalidParameterValue.BadGoodsNum"

	// The database character set is incorrectly set.
	INVALIDPARAMETERVALUE_CHARSETISILLEGAL = "InvalidParameterValue.CharsetIsIllegal"

	// Wrong upload path.
	INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError"

	// Billing type error.
	INVALIDPARAMETERVALUE_COSTTYPENOTSUPPORTED = "InvalidParameterValue.CostTypeNotSupported"

	// The database name contains invalid characters.
	INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"

	// The database already exists.
	INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"

	// The database name cannot contain reserved words.
	INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods"

	// The database name is required.
	INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"

	// The new database name is the same as the old one.
	INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame"

	// The database remarks are invalid.
	INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal"

	// Invalid parameter. The value of `GRANT` is invalid.
	INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"

	// Invalid region.
	INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"

	// Incorrect instance specification information.
	INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"

	// Incorrect AZ ID.
	INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"

	// The expansion capacity of the instance is lower than the current capacity.
	INVALIDPARAMETERVALUE_INSTANCEEXPANDVOLUMELOW = "InvalidParameterValue.InstanceExpandVolumeLow"

	// The instance name contains invalid characters.
	INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal"

	// The migration name contains invalid characters.
	INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"

	// Only `enable` and `disable` are valid values.
	INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"

	// Basic edition instances are not supported.
	INVALIDPARAMETERVALUE_ONCVMTYPENOTSUPPORTED = "InvalidParameterValue.OnCvmTypeNotSupported"

	// Incorrect parameter type.
	INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"

	// The account and password are invalid.
	INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal"

	// Incorrect database permission settings.
	INVALIDPARAMETERVALUE_PRIVILEGEISILLEGAL = "InvalidParameterValue.PrivilegeIsIllegal"

	// The publish/subscribe name does not meet the requirements.
	INVALIDPARAMETERVALUE_PUBSUBNAMEISILLEGAL = "InvalidParameterValue.PubSubNameIsIllegal"

	// Read-only group name contains invalid characters.
	INVALIDPARAMETERVALUE_ROGROUPNAMEISILLEGAL = "InvalidParameterValue.RoGroupNameIsIllegal"

	// The read-only group status is abnormal.
	INVALIDPARAMETERVALUE_ROGROUPSTATUSISILLEGAL = "InvalidParameterValue.RoGroupStatusIsIllegal"

	// Invalid security group ID.
	INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"

	// The database limit is exceeded.
	LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"

	// Error of missing parameters.
	MISSINGPARAMETER = "MissingParameter"

	// An incremental backup import task to be started already exists.
	RESOURCEINUSE_INCREMENTALMIGRATIONEXIST = "ResourceInUse.IncrementalMigrationExist"

	// Resource not found.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The account does not exist.
	RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"

	// The backup does not exist.
	RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound"

	// The database does not exist.
	RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"

	// The database does not exist.
	RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"

	// The full backup import task does not exist.
	RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"

	// The incremental backup import task does not exist.
	RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist"

	// The instance does not exist.
	RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

	// Parameter not found.
	RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"

	// The VPC does not exist.
	RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"

	// Invalid account status.
	RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus"

	// The restoration type does not support incremental backup import.
	RESOURCEUNAVAILABLE_BACKUPMIGRATIONRECOVERYTYPEERR = "ResourceUnavailable.BackupMigrationRecoveryTypeErr"

	// A wrong status of offline restoration tasks.
	RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"

	// Invalid database status.
	RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"

	// Invalid instance migration region.
	RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal"

	// Invalid instance migration status.
	RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid"

	// Invalid instance status.
	RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"

	// Read-Only instances are not supported.
	RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"

	// VPC not found.
	RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// CAM authentication error.
	UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

	// Unknown parameter error
	UNKNOWNPARAMETER = "UnknownParameter"

	// The operation is not supported.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// Repeated operations are not supported.
	UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

	// A wrong upload type.
	UNSUPPORTEDOPERATION_UPLOADTYPEERROR = "UnsupportedOperation.UploadTypeError"
)
View Source
const APIVersion = "2018-03-28"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCreateInfo

type AccountCreateInfo struct {
	// Instance username
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Instance password
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// List of database permissions
	DBPrivileges []*DBPrivilege `json:"DBPrivileges,omitnil,omitempty" name:"DBPrivileges"`

	// Account remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Whether it is an admin account. Valid values: true (it is an admin account when the instance is a single-node type and AccountType is L0; when the instance is a two-node type and AccountType is L1), false (it is a standard account when AccountType is L3)
	IsAdmin *bool `json:"IsAdmin,omitnil,omitempty" name:"IsAdmin"`

	// Valid values: `win-windows authentication`, `sql-sqlserver authentication`. Default value: `sql-sqlserver authentication`
	Authentication *string `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// Account type, which is an extension field of `IsAdmin`. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account, default)
	AccountType *string `json:"AccountType,omitnil,omitempty" name:"AccountType"`

	// Whether CAM authentication is enabled.
	IsCam *bool `json:"IsCam,omitnil,omitempty" name:"IsCam"`

	// Encryption key version number. 0: disable encryption.
	EncryptedVersion *int64 `json:"EncryptedVersion,omitnil,omitempty" name:"EncryptedVersion"`
}

type AccountDetail

type AccountDetail struct {
	// Account name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Account remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Account creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Account status. 1: creating, 2: normal, 3: modifying, 4: resetting password, -1: deleting
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Account update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Password update time
	PassTime *string `json:"PassTime,omitnil,omitempty" name:"PassTime"`

	// Internal account status, which should be `enable` normally
	InternalStatus *string `json:"InternalStatus,omitnil,omitempty" name:"InternalStatus"`

	// Information of read and write permissions of this account on relevant databases
	Dbs []*DBPrivilege `json:"Dbs,omitnil,omitempty" name:"Dbs"`

	// Whether it is an admin account
	IsAdmin *bool `json:"IsAdmin,omitnil,omitempty" name:"IsAdmin"`

	// Whether it is a CAM managed account
	IsCam *bool `json:"IsCam,omitnil,omitempty" name:"IsCam"`

	// Valid values: `win-windows authentication`, `sql-sqlserver authentication`.
	Authentication *string `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// The host required for `win-windows authentication` account
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// Account type. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account).
	AccountType *string `json:"AccountType,omitnil,omitempty" name:"AccountType"`
}

type AccountPassword

type AccountPassword struct {
	// Username
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Password
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

type AccountPrivilege

type AccountPrivilege struct {
	// Database username
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Database permission. Valid values: `ReadWrite` (read-write), `ReadOnly` (read-only), `Delete` (delete the database permissions of this account), `DBOwner` (owner).
	Privilege *string `json:"Privilege,omitnil,omitempty" name:"Privilege"`

	// Account name. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account).
	AccountType *string `json:"AccountType,omitnil,omitempty" name:"AccountType"`
}

type AccountPrivilegeModifyInfo

type AccountPrivilegeModifyInfo struct {
	// Database username
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Account permission change information
	DBPrivileges []*DBPrivilegeModifyInfo `json:"DBPrivileges,omitnil,omitempty" name:"DBPrivileges"`

	// Whether it is an instance admin account. Valid values: `true` (Yes. When the instance is single-node and `AccountType` is `L0`, it's an admin account; when the instance is two-node and `AccountType` is `L1`, it's a privileged account), `false` (No. It's a standard account and `AccountType` is `L3`).
	IsAdmin *bool `json:"IsAdmin,omitnil,omitempty" name:"IsAdmin"`

	// Account type, which is an extension field of `IsAdmin`. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account, default)
	AccountType *string `json:"AccountType,omitnil,omitempty" name:"AccountType"`
}

type AccountRemark

type AccountRemark struct {
	// Account name
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// New remarks of account
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

type AssociateSecurityGroupsRequest

type AssociateSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Security group ID.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Instance ID list, which is an array of one or more instance IDs. Multiple instances should be in the same region, AZ, and project.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

func NewAssociateSecurityGroupsRequest

func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest)

func (*AssociateSecurityGroupsRequest) FromJsonString

func (r *AssociateSecurityGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateSecurityGroupsRequest) ToJsonString

func (r *AssociateSecurityGroupsRequest) ToJsonString() string

type AssociateSecurityGroupsRequestParams

type AssociateSecurityGroupsRequestParams struct {
	// Security group ID.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Instance ID list, which is an array of one or more instance IDs. Multiple instances should be in the same region, AZ, and project.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

Predefined struct for user

type AssociateSecurityGroupsResponse

type AssociateSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *AssociateSecurityGroupsResponseParams `json:"Response"`
}

func NewAssociateSecurityGroupsResponse

func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse)

func (*AssociateSecurityGroupsResponse) FromJsonString

func (r *AssociateSecurityGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateSecurityGroupsResponse) ToJsonString

func (r *AssociateSecurityGroupsResponse) ToJsonString() string

type AssociateSecurityGroupsResponseParams

type AssociateSecurityGroupsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Backup

type Backup struct {
	// File name. The name of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// File size in KB. The size of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// Backup start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Backup end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Private network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
	InternalAddr *string `json:"InternalAddr,omitnil,omitempty" name:"InternalAddr"`

	// Public network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
	ExternalAddr *string `json:"ExternalAddr,omitnil,omitempty" name:"ExternalAddr"`

	// Unique ID of a backup file, which is used by the `RestoreInstance` API. The unique ID of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Backup file status (0: creating, 1: succeeded, 2: failed)
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// List of databases for multi-database backup
	DBs []*string `json:"DBs,omitnil,omitempty" name:"DBs"`

	// Backup policy (0: instance backup, 1: multi-database backup)
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Backup Mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup).
	BackupWay *int64 `json:"BackupWay,omitnil,omitempty" name:"BackupWay"`

	// Backup task name (customizable)
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// Group ID of unarchived backup files, which can be used as a request parameter in the `DescribeBackupFiles` API to get details of unarchived backup files in the specified group. This parameter is invalid for archived backup files.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Backup file format. Valid values:`pkg` (archive file), `single` (unarchived files).
	BackupFormat *string `json:"BackupFormat,omitnil,omitempty" name:"BackupFormat"`

	// The code of current region where the instance resides
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The download address of cross-region backup in target region
	CrossBackupAddr []*CrossBackupAddr `json:"CrossBackupAddr,omitnil,omitempty" name:"CrossBackupAddr"`

	// The target region and status of cross-region backup
	CrossBackupStatus []*CrossRegionStatus `json:"CrossBackupStatus,omitnil,omitempty" name:"CrossBackupStatus"`
}

type BackupFile

type BackupFile struct {
	// Unique ID of a backup file
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Backup file name
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// File size in KB
	Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"`

	// Name of the database corresponding to the backup file
	DBs []*string `json:"DBs,omitnil,omitempty" name:"DBs"`

	// Download address
	DownloadLink *string `json:"DownloadLink,omitnil,omitempty" name:"DownloadLink"`

	// The code of the region where current instance resides
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The target region and download address of cross-region backup
	CrossBackupAddr []*CrossBackupAddr `json:"CrossBackupAddr,omitnil,omitempty" name:"CrossBackupAddr"`
}

type BalanceReadOnlyGroupRequest

type BalanceReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID, in the format of mssqlrg-dj5i29c5n.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

func NewBalanceReadOnlyGroupRequest

func NewBalanceReadOnlyGroupRequest() (request *BalanceReadOnlyGroupRequest)

func (*BalanceReadOnlyGroupRequest) FromJsonString

func (r *BalanceReadOnlyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BalanceReadOnlyGroupRequest) ToJsonString

func (r *BalanceReadOnlyGroupRequest) ToJsonString() string

type BalanceReadOnlyGroupRequestParams

type BalanceReadOnlyGroupRequestParams struct {
	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID, in the format of mssqlrg-dj5i29c5n.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type BalanceReadOnlyGroupResponse

type BalanceReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *BalanceReadOnlyGroupResponseParams `json:"Response"`
}

func NewBalanceReadOnlyGroupResponse

func NewBalanceReadOnlyGroupResponse() (response *BalanceReadOnlyGroupResponse)

func (*BalanceReadOnlyGroupResponse) FromJsonString

func (r *BalanceReadOnlyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BalanceReadOnlyGroupResponse) ToJsonString

func (r *BalanceReadOnlyGroupResponse) ToJsonString() string

type BalanceReadOnlyGroupResponseParams

type BalanceReadOnlyGroupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BusinessIntelligenceFile

type BusinessIntelligenceFile struct {
	// File name
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// File type
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// File COS_URL
	FileURL *string `json:"FileURL,omitnil,omitempty" name:"FileURL"`

	// The file path on the server
	FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"`

	// File size in bytes
	FileSize *int64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// File MD5 value
	FileMd5 *string `json:"FileMd5,omitnil,omitempty" name:"FileMd5"`

	// File deployment status. Valid values: `1`(Initialize to be deployed), `2` (Deploying), `3` (Deployment successful), `4` (Deployment failed).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// File creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Start time of file deployment
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of file deployment
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Returned error message
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// Business intelligence instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Operation information
	Action *FileAction `json:"Action,omitnil,omitempty" name:"Action"`
}

type CheckItem

type CheckItem struct {
	CheckName *string `json:"CheckName,omitnil,omitempty" name:"CheckName"`

	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	Passed *int64 `json:"Passed,omitnil,omitempty" name:"Passed"`

	IsAffect *int64 `json:"IsAffect,omitnil,omitempty" name:"IsAffect"`

	Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"`

	MsgCode *int64 `json:"MsgCode,omitnil,omitempty" name:"MsgCode"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AssociateSecurityGroups

func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)

AssociateSecurityGroups This API is used to bind security groups to instances in batches.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) AssociateSecurityGroupsWithContext

func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)

AssociateSecurityGroups This API is used to bind security groups to instances in batches.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) BalanceReadOnlyGroup

func (c *Client) BalanceReadOnlyGroup(request *BalanceReadOnlyGroupRequest) (response *BalanceReadOnlyGroupResponse, err error)

BalanceReadOnlyGroup This API is used to balance the routing weight of each read-only instance according to the predefined weights. The DescribeReadOnlyGroupAutoWeight API is used to query the predefined weights.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) BalanceReadOnlyGroupWithContext

func (c *Client) BalanceReadOnlyGroupWithContext(ctx context.Context, request *BalanceReadOnlyGroupRequest) (response *BalanceReadOnlyGroupResponse, err error)

BalanceReadOnlyGroup This API is used to balance the routing weight of each read-only instance according to the predefined weights. The DescribeReadOnlyGroupAutoWeight API is used to query the predefined weights.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) CloneDB

func (c *Client) CloneDB(request *CloneDBRequest) (response *CloneDBResponse, err error)

CloneDB This API is used to clone and rename databases of an instance. The clones are still in the instance from which they are cloned.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods"
INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CloneDBWithContext

func (c *Client) CloneDBWithContext(ctx context.Context, request *CloneDBRequest) (response *CloneDBResponse, err error)

CloneDB This API is used to clone and rename databases of an instance. The clones are still in the instance from which they are cloned.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods"
INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CloseInterCommunication

func (c *Client) CloseInterCommunication(request *CloseInterCommunicationRequest) (response *CloseInterCommunicationResponse, err error)

CloseInterCommunication This API is used to disable instance interconnection.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CloseInterCommunicationWithContext

func (c *Client) CloseInterCommunicationWithContext(ctx context.Context, request *CloseInterCommunicationRequest) (response *CloseInterCommunicationResponse, err error)

CloseInterCommunication This API is used to disable instance interconnection.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CompleteExpansion

func (c *Client) CompleteExpansion(request *CompleteExpansionRequest) (response *CompleteExpansionResponse, err error)

CompleteExpansion This API is used to complete the instance upgrade and switch immediately without waiting for the maintenance window when the instance status is "upgrade pending switch" after scale-out is initiated. This API needs to be called during off-peak hours of the instance. Some databases cannot be accessed before the switch is completed.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CompleteExpansionWithContext

func (c *Client) CompleteExpansionWithContext(ctx context.Context, request *CompleteExpansionRequest) (response *CompleteExpansionResponse, err error)

CompleteExpansion This API is used to complete the instance upgrade and switch immediately without waiting for the maintenance window when the instance status is "upgrade pending switch" after scale-out is initiated. This API needs to be called during off-peak hours of the instance. Some databases cannot be accessed before the switch is completed.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CompleteMigration

func (c *Client) CompleteMigration(request *CompleteMigrationRequest) (response *CompleteMigrationResponse, err error)

CompleteMigration This API is used to complete a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CompleteMigrationWithContext

func (c *Client) CompleteMigrationWithContext(ctx context.Context, request *CompleteMigrationRequest) (response *CompleteMigrationResponse, err error)

CompleteMigration This API is used to complete a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateAccount

func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)

CreateAccount This API is used to create an instance account.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNAMEISILLEGAL = "InvalidParameterValue.AccountNameIsIllegal"
INVALIDPARAMETERVALUE_ACCOUNTNAMEISKEYWORDS = "InvalidParameterValue.AccountNameIsKeyWords"
INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal"
INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateAccountWithContext

func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, err error)

CreateAccount This API is used to create an instance account.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist"
INVALIDPARAMETERVALUE_ACCOUNTNAMEISILLEGAL = "InvalidParameterValue.AccountNameIsIllegal"
INVALIDPARAMETERVALUE_ACCOUNTNAMEISKEYWORDS = "InvalidParameterValue.AccountNameIsKeyWords"
INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal"
INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBackup

func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)

CreateBackup This API is used to create a backup.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBackupMigration

func (c *Client) CreateBackupMigration(request *CreateBackupMigrationRequest) (response *CreateBackupMigrationResponse, err error)

CreateBackupMigration This API is used to create a backup import task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBackupMigrationWithContext

func (c *Client) CreateBackupMigrationWithContext(ctx context.Context, request *CreateBackupMigrationRequest) (response *CreateBackupMigrationResponse, err error)

CreateBackupMigration This API is used to create a backup import task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBackupWithContext

func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)

CreateBackup This API is used to create a backup.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBasicDBInstances

func (c *Client) CreateBasicDBInstances(request *CreateBasicDBInstancesRequest) (response *CreateBasicDBInstancesResponse, err error)

CreateBasicDBInstances This API is used to create basic edition instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBasicDBInstancesWithContext

func (c *Client) CreateBasicDBInstancesWithContext(ctx context.Context, request *CreateBasicDBInstancesRequest) (response *CreateBasicDBInstancesResponse, err error)

CreateBasicDBInstances This API is used to create basic edition instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBusinessDBInstances

func (c *Client) CreateBusinessDBInstances(request *CreateBusinessDBInstancesRequest) (response *CreateBusinessDBInstancesResponse, err error)

CreateBusinessDBInstances This API is used to create business intelligence service instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBusinessDBInstancesWithContext

func (c *Client) CreateBusinessDBInstancesWithContext(ctx context.Context, request *CreateBusinessDBInstancesRequest) (response *CreateBusinessDBInstancesResponse, err error)

CreateBusinessDBInstances This API is used to create business intelligence service instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBusinessIntelligenceFile

func (c *Client) CreateBusinessIntelligenceFile(request *CreateBusinessIntelligenceFileRequest) (response *CreateBusinessIntelligenceFileResponse, err error)

CreateBusinessIntelligenceFile This API is used to add a business intelligence service file.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateBusinessIntelligenceFileWithContext

func (c *Client) CreateBusinessIntelligenceFileWithContext(ctx context.Context, request *CreateBusinessIntelligenceFileRequest) (response *CreateBusinessIntelligenceFileResponse, err error)

CreateBusinessIntelligenceFile This API is used to add a business intelligence service file.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateCloudDBInstances

func (c *Client) CreateCloudDBInstances(request *CreateCloudDBInstancesRequest) (response *CreateCloudDBInstancesResponse, err error)

CreateCloudDBInstances This API is used to create high-availability instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateCloudDBInstancesWithContext

func (c *Client) CreateCloudDBInstancesWithContext(ctx context.Context, request *CreateCloudDBInstancesRequest) (response *CreateCloudDBInstancesResponse, err error)

CreateCloudDBInstances This API is used to create high-availability instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateCloudReadOnlyDBInstances

func (c *Client) CreateCloudReadOnlyDBInstances(request *CreateCloudReadOnlyDBInstancesRequest) (response *CreateCloudReadOnlyDBInstancesResponse, err error)

CreateCloudReadOnlyDBInstances This API is used to create read-only instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
INVALIDPARAMETERVALUE_ROGROUPNAMEISILLEGAL = "InvalidParameterValue.RoGroupNameIsIllegal"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateCloudReadOnlyDBInstancesWithContext

func (c *Client) CreateCloudReadOnlyDBInstancesWithContext(ctx context.Context, request *CreateCloudReadOnlyDBInstancesRequest) (response *CreateCloudReadOnlyDBInstancesResponse, err error)

CreateCloudReadOnlyDBInstances This API is used to create read-only instances (cloud disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
INVALIDPARAMETERVALUE_ROGROUPNAMEISILLEGAL = "InvalidParameterValue.RoGroupNameIsIllegal"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateDB

func (c *Client) CreateDB(request *CreateDBRequest) (response *CreateDBResponse, err error)

CreateDB This API is used to create a database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_CHARSETISILLEGAL = "InvalidParameterValue.CharsetIsIllegal"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods"
INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
INVALIDPARAMETERVALUE_PRIVILEGEISILLEGAL = "InvalidParameterValue.PrivilegeIsIllegal"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateDBInstances

func (c *Client) CreateDBInstances(request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)

CreateDBInstances This API is used to create high-availability instances (local disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateDBInstancesWithContext

func (c *Client) CreateDBInstancesWithContext(ctx context.Context, request *CreateDBInstancesRequest) (response *CreateDBInstancesResponse, err error)

CreateDBInstances This API is used to create high-availability instances (local disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateDBWithContext

func (c *Client) CreateDBWithContext(ctx context.Context, request *CreateDBRequest) (response *CreateDBResponse, err error)

CreateDB This API is used to create a database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_CHARSETISILLEGAL = "InvalidParameterValue.CharsetIsIllegal"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods"
INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
INVALIDPARAMETERVALUE_PRIVILEGEISILLEGAL = "InvalidParameterValue.PrivilegeIsIllegal"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateIncrementalMigration

func (c *Client) CreateIncrementalMigration(request *CreateIncrementalMigrationRequest) (response *CreateIncrementalMigrationResponse, err error)

CreateIncrementalMigration This API is used to create an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCEINUSE_INCREMENTALMIGRATIONEXIST = "ResourceInUse.IncrementalMigrationExist"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_BACKUPMIGRATIONRECOVERYTYPEERR = "ResourceUnavailable.BackupMigrationRecoveryTypeErr"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateIncrementalMigrationWithContext

func (c *Client) CreateIncrementalMigrationWithContext(ctx context.Context, request *CreateIncrementalMigrationRequest) (response *CreateIncrementalMigrationResponse, err error)

CreateIncrementalMigration This API is used to create an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCEINUSE_INCREMENTALMIGRATIONEXIST = "ResourceInUse.IncrementalMigrationExist"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_BACKUPMIGRATIONRECOVERYTYPEERR = "ResourceUnavailable.BackupMigrationRecoveryTypeErr"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateMigration

func (c *Client) CreateMigration(request *CreateMigrationRequest) (response *CreateMigrationResponse, err error)

CreateMigration This API is used to create a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
INVALIDPARAMETERVALUE_ONCVMTYPENOTSUPPORTED = "InvalidParameterValue.OnCvmTypeNotSupported"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal"
RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateMigrationWithContext

func (c *Client) CreateMigrationWithContext(ctx context.Context, request *CreateMigrationRequest) (response *CreateMigrationResponse, err error)

CreateMigration This API is used to create a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
INVALIDPARAMETERVALUE_ONCVMTYPENOTSUPPORTED = "InvalidParameterValue.OnCvmTypeNotSupported"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal"
RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreatePublishSubscribe

func (c *Client) CreatePublishSubscribe(request *CreatePublishSubscribeRequest) (response *CreatePublishSubscribeResponse, err error)

CreatePublishSubscribe This API is used to create a publish/subscribe relationship between two databases. A subscriber cannot act as a publisher, and a publisher can have multiple subscriber instances.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreatePublishSubscribeWithContext

func (c *Client) CreatePublishSubscribeWithContext(ctx context.Context, request *CreatePublishSubscribeRequest) (response *CreatePublishSubscribeResponse, err error)

CreatePublishSubscribe This API is used to create a publish/subscribe relationship between two databases. A subscriber cannot act as a publisher, and a publisher can have multiple subscriber instances.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateReadOnlyDBInstances

func (c *Client) CreateReadOnlyDBInstances(request *CreateReadOnlyDBInstancesRequest) (response *CreateReadOnlyDBInstancesResponse, err error)

CreateReadOnlyDBInstances This API is used to create read-only instances (local disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
INVALIDPARAMETERVALUE_ROGROUPNAMEISILLEGAL = "InvalidParameterValue.RoGroupNameIsIllegal"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CreateReadOnlyDBInstancesWithContext

func (c *Client) CreateReadOnlyDBInstancesWithContext(ctx context.Context, request *CreateReadOnlyDBInstancesRequest) (response *CreateReadOnlyDBInstancesResponse, err error)

CreateReadOnlyDBInstances This API is used to create read-only instances (local disk).

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
INVALIDPARAMETERVALUE_ROGROUPNAMEISILLEGAL = "InvalidParameterValue.RoGroupNameIsIllegal"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CutXEvents

func (c *Client) CutXEvents(request *CutXEventsRequest) (response *CutXEventsResponse, err error)

CutXEvents This API is used to manually cut block logs and deadlock logs.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) CutXEventsWithContext

func (c *Client) CutXEventsWithContext(ctx context.Context, request *CutXEventsRequest) (response *CutXEventsResponse, err error)

CutXEvents This API is used to manually cut block logs and deadlock logs.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteAccount

func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)

DeleteAccount This API is used to delete an instance account.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteAccountWithContext

func (c *Client) DeleteAccountWithContext(ctx context.Context, request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)

DeleteAccount This API is used to delete an instance account.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteBackupMigration

func (c *Client) DeleteBackupMigration(request *DeleteBackupMigrationRequest) (response *DeleteBackupMigrationResponse, err error)

DeleteBackupMigration This API is used to delete a backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteBackupMigrationWithContext

func (c *Client) DeleteBackupMigrationWithContext(ctx context.Context, request *DeleteBackupMigrationRequest) (response *DeleteBackupMigrationResponse, err error)

DeleteBackupMigration This API is used to delete a backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteBusinessIntelligenceFile

func (c *Client) DeleteBusinessIntelligenceFile(request *DeleteBusinessIntelligenceFileRequest) (response *DeleteBusinessIntelligenceFileResponse, err error)

DeleteBusinessIntelligenceFile This API is used to delete a business intelligence service file.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteBusinessIntelligenceFileWithContext

func (c *Client) DeleteBusinessIntelligenceFileWithContext(ctx context.Context, request *DeleteBusinessIntelligenceFileRequest) (response *DeleteBusinessIntelligenceFileResponse, err error)

DeleteBusinessIntelligenceFile This API is used to delete a business intelligence service file.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteDB

func (c *Client) DeleteDB(request *DeleteDBRequest) (response *DeleteDBResponse, err error)

DeleteDB This API is used to drop a database.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteDBInstance

func (c *Client) DeleteDBInstance(request *DeleteDBInstanceRequest) (response *DeleteDBInstanceResponse, err error)

DeleteDBInstance This API is used to release SQL server instances (eliminated immediately) in the recycle bin. The released instances will be physically terminated after being retained for a period of time. Their publish-subscribe relationships will be automatically disassociated, and their RO replicas will be automatically released.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteDBInstanceWithContext

func (c *Client) DeleteDBInstanceWithContext(ctx context.Context, request *DeleteDBInstanceRequest) (response *DeleteDBInstanceResponse, err error)

DeleteDBInstance This API is used to release SQL server instances (eliminated immediately) in the recycle bin. The released instances will be physically terminated after being retained for a period of time. Their publish-subscribe relationships will be automatically disassociated, and their RO replicas will be automatically released.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteDBWithContext

func (c *Client) DeleteDBWithContext(ctx context.Context, request *DeleteDBRequest) (response *DeleteDBResponse, err error)

DeleteDB This API is used to drop a database.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteIncrementalMigration

func (c *Client) DeleteIncrementalMigration(request *DeleteIncrementalMigrationRequest) (response *DeleteIncrementalMigrationResponse, err error)

DeleteIncrementalMigration This API is used to delete an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteIncrementalMigrationWithContext

func (c *Client) DeleteIncrementalMigrationWithContext(ctx context.Context, request *DeleteIncrementalMigrationRequest) (response *DeleteIncrementalMigrationResponse, err error)

DeleteIncrementalMigration This API is used to delete an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteMigration

func (c *Client) DeleteMigration(request *DeleteMigrationRequest) (response *DeleteMigrationResponse, err error)

DeleteMigration This API is used to delete a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeleteMigrationWithContext

func (c *Client) DeleteMigrationWithContext(ctx context.Context, request *DeleteMigrationRequest) (response *DeleteMigrationResponse, err error)

DeleteMigration This API is used to delete a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeletePublishSubscribe

func (c *Client) DeletePublishSubscribe(request *DeletePublishSubscribeRequest) (response *DeletePublishSubscribeResponse, err error)

DeletePublishSubscribe This API is used to delete the publish/subscribe relationship between two databases.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DeletePublishSubscribeWithContext

func (c *Client) DeletePublishSubscribeWithContext(ctx context.Context, request *DeletePublishSubscribeRequest) (response *DeletePublishSubscribeResponse, err error)

DeletePublishSubscribe This API is used to delete the publish/subscribe relationship between two databases.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAccountPrivilegeByDB

func (c *Client) DescribeAccountPrivilegeByDB(request *DescribeAccountPrivilegeByDBRequest) (response *DescribeAccountPrivilegeByDBResponse, err error)

DescribeAccountPrivilegeByDB This API is used to query information on the account and permissions associated with the database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAccountPrivilegeByDBWithContext

func (c *Client) DescribeAccountPrivilegeByDBWithContext(ctx context.Context, request *DescribeAccountPrivilegeByDBRequest) (response *DescribeAccountPrivilegeByDBResponse, err error)

DescribeAccountPrivilegeByDB This API is used to query information on the account and permissions associated with the database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAccounts

func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)

DescribeAccounts This API is used to pull the list of instance accounts.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeAccountsWithContext

func (c *Client) DescribeAccountsWithContext(ctx context.Context, request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)

DescribeAccounts This API is used to pull the list of instance accounts.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupByFlowId

func (c *Client) DescribeBackupByFlowId(request *DescribeBackupByFlowIdRequest) (response *DescribeBackupByFlowIdResponse, err error)

DescribeBackupByFlowId This API is used to query the created backup details through the backup creation process ID. The process ID can be obtained through the CreateBackup API.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupByFlowIdWithContext

func (c *Client) DescribeBackupByFlowIdWithContext(ctx context.Context, request *DescribeBackupByFlowIdRequest) (response *DescribeBackupByFlowIdResponse, err error)

DescribeBackupByFlowId This API is used to query the created backup details through the backup creation process ID. The process ID can be obtained through the CreateBackup API.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupCommand

func (c *Client) DescribeBackupCommand(request *DescribeBackupCommandRequest) (response *DescribeBackupCommandResponse, err error)

DescribeBackupCommand This API is used to query the commands of creating backups canonically.

error code that may be returned:

INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupCommandWithContext

func (c *Client) DescribeBackupCommandWithContext(ctx context.Context, request *DescribeBackupCommandRequest) (response *DescribeBackupCommandResponse, err error)

DescribeBackupCommand This API is used to query the commands of creating backups canonically.

error code that may be returned:

INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupFiles

func (c *Client) DescribeBackupFiles(request *DescribeBackupFilesRequest) (response *DescribeBackupFilesResponse, err error)

DescribeBackupFiles This API is used to query the details of an unarchived backup.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupFilesWithContext

func (c *Client) DescribeBackupFilesWithContext(ctx context.Context, request *DescribeBackupFilesRequest) (response *DescribeBackupFilesResponse, err error)

DescribeBackupFiles This API is used to query the details of an unarchived backup.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupMigration

func (c *Client) DescribeBackupMigration(request *DescribeBackupMigrationRequest) (response *DescribeBackupMigrationResponse, err error)

DescribeBackupMigration This API is used to create an incremental backup import task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupMigrationWithContext

func (c *Client) DescribeBackupMigrationWithContext(ctx context.Context, request *DescribeBackupMigrationRequest) (response *DescribeBackupMigrationResponse, err error)

DescribeBackupMigration This API is used to create an incremental backup import task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupMonitor

func (c *Client) DescribeBackupMonitor(request *DescribeBackupMonitorRequest) (response *DescribeBackupMonitorResponse, err error)

DescribeBackupMonitor This API is used to query backup space usage details.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupMonitorWithContext

func (c *Client) DescribeBackupMonitorWithContext(ctx context.Context, request *DescribeBackupMonitorRequest) (response *DescribeBackupMonitorResponse, err error)

DescribeBackupMonitor This API is used to query backup space usage details.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupStatistical

func (c *Client) DescribeBackupStatistical(request *DescribeBackupStatisticalRequest) (response *DescribeBackupStatisticalResponse, err error)

DescribeBackupStatistical This API is used to query the real-time statistics list of backups.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupStatisticalWithContext

func (c *Client) DescribeBackupStatisticalWithContext(ctx context.Context, request *DescribeBackupStatisticalRequest) (response *DescribeBackupStatisticalResponse, err error)

DescribeBackupStatistical This API is used to query the real-time statistics list of backups.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupSummary

func (c *Client) DescribeBackupSummary(request *DescribeBackupSummaryRequest) (response *DescribeBackupSummaryResponse, err error)

DescribeBackupSummary This API is used to query the backup overview information of databases.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupSummaryWithContext

func (c *Client) DescribeBackupSummaryWithContext(ctx context.Context, request *DescribeBackupSummaryRequest) (response *DescribeBackupSummaryResponse, err error)

DescribeBackupSummary This API is used to query the backup overview information of databases.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupUploadSize

func (c *Client) DescribeBackupUploadSize(request *DescribeBackupUploadSizeRequest) (response *DescribeBackupUploadSizeResponse, err error)

DescribeBackupUploadSize This API is used to query the size of uploaded backup files. It is valid if the backup file type is `COS_UPLOAD` (the file is stored in COS).

error code that may be returned:

INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupUploadSizeWithContext

func (c *Client) DescribeBackupUploadSizeWithContext(ctx context.Context, request *DescribeBackupUploadSizeRequest) (response *DescribeBackupUploadSizeResponse, err error)

DescribeBackupUploadSize This API is used to query the size of uploaded backup files. It is valid if the backup file type is `COS_UPLOAD` (the file is stored in COS).

error code that may be returned:

INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INCREBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.IncreBackupMigrationNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackups

func (c *Client) DescribeBackups(request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)

DescribeBackups This API is used to query the list of backups.

error code that may be returned:

FAILEDOPERATION_COSERROR = "FailedOperation.CosError"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBackupsWithContext

func (c *Client) DescribeBackupsWithContext(ctx context.Context, request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)

DescribeBackups This API is used to query the list of backups.

error code that may be returned:

FAILEDOPERATION_COSERROR = "FailedOperation.CosError"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBusinessIntelligenceFile

func (c *Client) DescribeBusinessIntelligenceFile(request *DescribeBusinessIntelligenceFileRequest) (response *DescribeBusinessIntelligenceFileResponse, err error)

DescribeBusinessIntelligenceFile This API is used to query the files required by business intelligence service.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeBusinessIntelligenceFileWithContext

func (c *Client) DescribeBusinessIntelligenceFileWithContext(ctx context.Context, request *DescribeBusinessIntelligenceFileRequest) (response *DescribeBusinessIntelligenceFileResponse, err error)

DescribeBusinessIntelligenceFile This API is used to query the files required by business intelligence service.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCollationTimeZone

func (c *Client) DescribeCollationTimeZone(request *DescribeCollationTimeZoneRequest) (response *DescribeCollationTimeZoneResponse, err error)

DescribeCollationTimeZone This API is used to query the character set and time zone supported by the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCollationTimeZoneWithContext

func (c *Client) DescribeCollationTimeZoneWithContext(ctx context.Context, request *DescribeCollationTimeZoneRequest) (response *DescribeCollationTimeZoneResponse, err error)

DescribeCollationTimeZone This API is used to query the character set and time zone supported by the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCrossBackupStatistical

func (c *Client) DescribeCrossBackupStatistical(request *DescribeCrossBackupStatisticalRequest) (response *DescribeCrossBackupStatisticalResponse, err error)

DescribeCrossBackupStatistical This API is used to query the real-time statistics list of cross-region backups.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCrossBackupStatisticalWithContext

func (c *Client) DescribeCrossBackupStatisticalWithContext(ctx context.Context, request *DescribeCrossBackupStatisticalRequest) (response *DescribeCrossBackupStatisticalResponse, err error)

DescribeCrossBackupStatistical This API is used to query the real-time statistics list of cross-region backups.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCrossRegionZone

func (c *Client) DescribeCrossRegionZone(request *DescribeCrossRegionZoneRequest) (response *DescribeCrossRegionZoneResponse, err error)

DescribeCrossRegionZone This API is used to query the disaster recovery region and AZ of the secondary node based on the primary instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCrossRegionZoneWithContext

func (c *Client) DescribeCrossRegionZoneWithContext(ctx context.Context, request *DescribeCrossRegionZoneRequest) (response *DescribeCrossRegionZoneResponse, err error)

DescribeCrossRegionZone This API is used to query the disaster recovery region and AZ of the secondary node based on the primary instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCrossRegions

func (c *Client) DescribeCrossRegions(request *DescribeCrossRegionsRequest) (response *DescribeCrossRegionsResponse, err error)

DescribeCrossRegions This API is used to query the target region for cross-region backups.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeCrossRegionsWithContext

func (c *Client) DescribeCrossRegionsWithContext(ctx context.Context, request *DescribeCrossRegionsRequest) (response *DescribeCrossRegionsResponse, err error)

DescribeCrossRegions This API is used to query the target region for cross-region backups.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBCharsets

func (c *Client) DescribeDBCharsets(request *DescribeDBCharsetsRequest) (response *DescribeDBCharsetsResponse, err error)

DescribeDBCharsets This API is used to query the database character sets supported by an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeDBCharsetsWithContext

func (c *Client) DescribeDBCharsetsWithContext(ctx context.Context, request *DescribeDBCharsetsRequest) (response *DescribeDBCharsetsResponse, err error)

DescribeDBCharsets This API is used to query the database character sets supported by an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeDBInstanceInter

func (c *Client) DescribeDBInstanceInter(request *DescribeDBInstanceInterRequest) (response *DescribeDBInstanceInterResponse, err error)

DescribeDBInstanceInter This API is used to query the information of the interconnected instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBInstanceInterWithContext

func (c *Client) DescribeDBInstanceInterWithContext(ctx context.Context, request *DescribeDBInstanceInterRequest) (response *DescribeDBInstanceInterResponse, err error)

DescribeDBInstanceInter This API is used to query the information of the interconnected instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBInstances

func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)

DescribeDBInstances This API is used to query the list of instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBInstancesAttribute

func (c *Client) DescribeDBInstancesAttribute(request *DescribeDBInstancesAttributeRequest) (response *DescribeDBInstancesAttributeResponse, err error)

DescribeDBInstancesAttribute This API is used to query the attributes of an instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBInstancesAttributeWithContext

func (c *Client) DescribeDBInstancesAttributeWithContext(ctx context.Context, request *DescribeDBInstancesAttributeRequest) (response *DescribeDBInstancesAttributeResponse, err error)

DescribeDBInstancesAttribute This API is used to query the attributes of an instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBInstancesWithContext

func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)

DescribeDBInstances This API is used to query the list of instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBPrivilegeByAccount

func (c *Client) DescribeDBPrivilegeByAccount(request *DescribeDBPrivilegeByAccountRequest) (response *DescribeDBPrivilegeByAccountResponse, err error)

DescribeDBPrivilegeByAccount This API is used to query information on the databases and permissions associated with the account.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"

func (*Client) DescribeDBPrivilegeByAccountWithContext

func (c *Client) DescribeDBPrivilegeByAccountWithContext(ctx context.Context, request *DescribeDBPrivilegeByAccountRequest) (response *DescribeDBPrivilegeByAccountResponse, err error)

DescribeDBPrivilegeByAccount This API is used to query information on the databases and permissions associated with the account.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"

func (*Client) DescribeDBRestoreTime

func (c *Client) DescribeDBRestoreTime(request *DescribeDBRestoreTimeRequest) (response *DescribeDBRestoreTimeResponse, err error)

DescribeDBRestoreTime This API is used to query databases that can be rolled back.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBRestoreTimeWithContext

func (c *Client) DescribeDBRestoreTimeWithContext(ctx context.Context, request *DescribeDBRestoreTimeRequest) (response *DescribeDBRestoreTimeResponse, err error)

DescribeDBRestoreTime This API is used to query databases that can be rolled back.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBSecurityGroups

func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)

DescribeDBSecurityGroups This API is used to query the security group details of instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBSecurityGroupsWithContext

func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)

DescribeDBSecurityGroups This API is used to query the security group details of instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBs

func (c *Client) DescribeDBs(request *DescribeDBsRequest) (response *DescribeDBsResponse, err error)

DescribeDBs This API is used to query the list of databases

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBsNormal

func (c *Client) DescribeDBsNormal(request *DescribeDBsNormalRequest) (response *DescribeDBsNormalResponse, err error)

DescribeDBsNormal This API is used to query database configurations. It does not return information of the accounts that have permissions to operate the database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBsNormalWithContext

func (c *Client) DescribeDBsNormalWithContext(ctx context.Context, request *DescribeDBsNormalRequest) (response *DescribeDBsNormalResponse, err error)

DescribeDBsNormal This API is used to query database configurations. It does not return information of the accounts that have permissions to operate the database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDBsWithContext

func (c *Client) DescribeDBsWithContext(ctx context.Context, request *DescribeDBsRequest) (response *DescribeDBsResponse, err error)

DescribeDBs This API is used to query the list of databases

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDatabaseNames

func (c *Client) DescribeDatabaseNames(request *DescribeDatabaseNamesRequest) (response *DescribeDatabaseNamesResponse, err error)

DescribeDatabaseNames This API is used to query the database name associated with the account.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDatabaseNamesWithContext

func (c *Client) DescribeDatabaseNamesWithContext(ctx context.Context, request *DescribeDatabaseNamesRequest) (response *DescribeDatabaseNamesResponse, err error)

DescribeDatabaseNames This API is used to query the database name associated with the account.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDatabases

func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)

DescribeDatabases This API is used to query the database list.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDatabasesNormal

func (c *Client) DescribeDatabasesNormal(request *DescribeDatabasesNormalRequest) (response *DescribeDatabasesNormalResponse, err error)

DescribeDatabasesNormal This API is used to query database configuration information. This API does not contain accounts associated with databases.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDatabasesNormalWithContext

func (c *Client) DescribeDatabasesNormalWithContext(ctx context.Context, request *DescribeDatabasesNormalRequest) (response *DescribeDatabasesNormalResponse, err error)

DescribeDatabasesNormal This API is used to query database configuration information. This API does not contain accounts associated with databases.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeDatabasesWithContext

func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)

DescribeDatabases This API is used to query the database list.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeFlowStatus

func (c *Client) DescribeFlowStatus(request *DescribeFlowStatusRequest) (response *DescribeFlowStatusResponse, err error)

DescribeFlowStatus This API is used to query flow status.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeFlowStatusWithContext

func (c *Client) DescribeFlowStatusWithContext(ctx context.Context, request *DescribeFlowStatusRequest) (response *DescribeFlowStatusResponse, err error)

DescribeFlowStatus This API is used to query flow status.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeHASwitchLog

func (c *Client) DescribeHASwitchLog(request *DescribeHASwitchLogRequest) (response *DescribeHASwitchLogResponse, err error)

DescribeHASwitchLog This API is used to perform the manual primary-secondary switch.

error code that may be returned:

INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeHASwitchLogWithContext

func (c *Client) DescribeHASwitchLogWithContext(ctx context.Context, request *DescribeHASwitchLogRequest) (response *DescribeHASwitchLogResponse, err error)

DescribeHASwitchLog This API is used to perform the manual primary-secondary switch.

error code that may be returned:

INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeIncrementalMigration

func (c *Client) DescribeIncrementalMigration(request *DescribeIncrementalMigrationRequest) (response *DescribeIncrementalMigrationResponse, err error)

DescribeIncrementalMigration This API is used to query an incremental backup import task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeIncrementalMigrationWithContext

func (c *Client) DescribeIncrementalMigrationWithContext(ctx context.Context, request *DescribeIncrementalMigrationRequest) (response *DescribeIncrementalMigrationResponse, err error)

DescribeIncrementalMigration This API is used to query an incremental backup import task.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceByOrders

func (c *Client) DescribeInstanceByOrders(request *DescribeInstanceByOrdersRequest) (response *DescribeInstanceByOrdersResponse, err error)

DescribeInstanceByOrders This API is used to query the instance ID by the order number.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"

func (*Client) DescribeInstanceByOrdersWithContext

func (c *Client) DescribeInstanceByOrdersWithContext(ctx context.Context, request *DescribeInstanceByOrdersRequest) (response *DescribeInstanceByOrdersResponse, err error)

DescribeInstanceByOrders This API is used to query the instance ID by the order number.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"

func (*Client) DescribeInstanceParamRecords

func (c *Client) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)

DescribeInstanceParamRecords This API is used to query the parameter modification records of an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceParamRecordsWithContext

func (c *Client) DescribeInstanceParamRecordsWithContext(ctx context.Context, request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)

DescribeInstanceParamRecords This API is used to query the parameter modification records of an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceParams

func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)

DescribeInstanceParams This API is used to query the parameter list of an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceParamsWithContext

func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)

DescribeInstanceParams This API is used to query the parameter list of an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceTasks

func (c *Client) DescribeInstanceTasks(request *DescribeInstanceTasksRequest) (response *DescribeInstanceTasksResponse, err error)

DescribeInstanceTasks This API is used to query the list of asynchronous tasks related to an instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceTasksWithContext

func (c *Client) DescribeInstanceTasksWithContext(ctx context.Context, request *DescribeInstanceTasksRequest) (response *DescribeInstanceTasksResponse, err error)

DescribeInstanceTasks This API is used to query the list of asynchronous tasks related to an instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceTradeParameter

func (c *Client) DescribeInstanceTradeParameter(request *DescribeInstanceTradeParameterRequest) (response *DescribeInstanceTradeParameterResponse, err error)

DescribeInstanceTradeParameter This API is used to query the instance billing parameters.

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeInstanceTradeParameterWithContext

func (c *Client) DescribeInstanceTradeParameterWithContext(ctx context.Context, request *DescribeInstanceTradeParameterRequest) (response *DescribeInstanceTradeParameterResponse, err error)

DescribeInstanceTradeParameter This API is used to query the instance billing parameters.

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMaintenanceSpan

func (c *Client) DescribeMaintenanceSpan(request *DescribeMaintenanceSpanRequest) (response *DescribeMaintenanceSpanResponse, err error)

DescribeMaintenanceSpan This API is used to query the maintenance time window of an instance based on its instance ID.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMaintenanceSpanWithContext

func (c *Client) DescribeMaintenanceSpanWithContext(ctx context.Context, request *DescribeMaintenanceSpanRequest) (response *DescribeMaintenanceSpanResponse, err error)

DescribeMaintenanceSpan This API is used to query the maintenance time window of an instance based on its instance ID.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMigrationDatabases

func (c *Client) DescribeMigrationDatabases(request *DescribeMigrationDatabasesRequest) (response *DescribeMigrationDatabasesResponse, err error)

DescribeMigrationDatabases This API is used to query the list of databases to be migrated.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMigrationDatabasesWithContext

func (c *Client) DescribeMigrationDatabasesWithContext(ctx context.Context, request *DescribeMigrationDatabasesRequest) (response *DescribeMigrationDatabasesResponse, err error)

DescribeMigrationDatabases This API is used to query the list of databases to be migrated.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMigrationDetail

func (c *Client) DescribeMigrationDetail(request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)

DescribeMigrationDetail This API is used to query migration task details.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMigrationDetailWithContext

func (c *Client) DescribeMigrationDetailWithContext(ctx context.Context, request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)

DescribeMigrationDetail This API is used to query migration task details.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMigrations

func (c *Client) DescribeMigrations(request *DescribeMigrationsRequest) (response *DescribeMigrationsResponse, err error)

DescribeMigrations This API is used to query the list of eligible migration tasks based on the entered criteria.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeMigrationsWithContext

func (c *Client) DescribeMigrationsWithContext(ctx context.Context, request *DescribeMigrationsRequest) (response *DescribeMigrationsResponse, err error)

DescribeMigrations This API is used to query the list of eligible migration tasks based on the entered criteria.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeOrders

func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)

DescribeOrders This API is used to query order information.

error code that may be returned:

FAILEDOPERATION_QUERYORDERFAILED = "FailedOperation.QueryOrderFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeOrdersWithContext

func (c *Client) DescribeOrdersWithContext(ctx context.Context, request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)

DescribeOrders This API is used to query order information.

error code that may be returned:

FAILEDOPERATION_QUERYORDERFAILED = "FailedOperation.QueryOrderFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProductConfig

func (c *Client) DescribeProductConfig(request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)

DescribeProductConfig This API is used to query purchasable specification configuration.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProductConfigWithContext

func (c *Client) DescribeProductConfigWithContext(ctx context.Context, request *DescribeProductConfigRequest) (response *DescribeProductConfigResponse, err error)

DescribeProductConfig This API is used to query purchasable specification configuration.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProjectSecurityGroups

func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)

DescribeProjectSecurityGroups This API is used to query security group details of a project.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeProjectSecurityGroupsWithContext

func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)

DescribeProjectSecurityGroups This API is used to query security group details of a project.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribePublishSubscribe

func (c *Client) DescribePublishSubscribe(request *DescribePublishSubscribeRequest) (response *DescribePublishSubscribeResponse, err error)

DescribePublishSubscribe This API is used to query the publish/subscribe relationship list.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PUBSUBNAMEISILLEGAL = "InvalidParameterValue.PubSubNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribePublishSubscribeWithContext

func (c *Client) DescribePublishSubscribeWithContext(ctx context.Context, request *DescribePublishSubscribeRequest) (response *DescribePublishSubscribeResponse, err error)

DescribePublishSubscribe This API is used to query the publish/subscribe relationship list.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PUBSUBNAMEISILLEGAL = "InvalidParameterValue.PubSubNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupAutoWeight

func (c *Client) DescribeReadOnlyGroupAutoWeight(request *DescribeReadOnlyGroupAutoWeightRequest) (response *DescribeReadOnlyGroupAutoWeightResponse, err error)

DescribeReadOnlyGroupAutoWeight This API is used to query the automatic weight assignment result of the read-only group. The BalanceReadOnlyGroup API is used to perform routing weight assignment according to the automatic weight assignment result.

error code that may be returned:

RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupAutoWeightWithContext

func (c *Client) DescribeReadOnlyGroupAutoWeightWithContext(ctx context.Context, request *DescribeReadOnlyGroupAutoWeightRequest) (response *DescribeReadOnlyGroupAutoWeightResponse, err error)

DescribeReadOnlyGroupAutoWeight This API is used to query the automatic weight assignment result of the read-only group. The BalanceReadOnlyGroup API is used to perform routing weight assignment according to the automatic weight assignment result.

error code that may be returned:

RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupByReadOnlyInstance

func (c *Client) DescribeReadOnlyGroupByReadOnlyInstance(request *DescribeReadOnlyGroupByReadOnlyInstanceRequest) (response *DescribeReadOnlyGroupByReadOnlyInstanceResponse, err error)

DescribeReadOnlyGroupByReadOnlyInstance This API is used to query the read-only group where the read-only instance is located by its ID.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupByReadOnlyInstanceWithContext

func (c *Client) DescribeReadOnlyGroupByReadOnlyInstanceWithContext(ctx context.Context, request *DescribeReadOnlyGroupByReadOnlyInstanceRequest) (response *DescribeReadOnlyGroupByReadOnlyInstanceResponse, err error)

DescribeReadOnlyGroupByReadOnlyInstance This API is used to query the read-only group where the read-only instance is located by its ID.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupDetails

func (c *Client) DescribeReadOnlyGroupDetails(request *DescribeReadOnlyGroupDetailsRequest) (response *DescribeReadOnlyGroupDetailsResponse, err error)

DescribeReadOnlyGroupDetails This API is used to query read-only group details.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupDetailsWithContext

func (c *Client) DescribeReadOnlyGroupDetailsWithContext(ctx context.Context, request *DescribeReadOnlyGroupDetailsRequest) (response *DescribeReadOnlyGroupDetailsResponse, err error)

DescribeReadOnlyGroupDetails This API is used to query read-only group details.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupList

func (c *Client) DescribeReadOnlyGroupList(request *DescribeReadOnlyGroupListRequest) (response *DescribeReadOnlyGroupListResponse, err error)

DescribeReadOnlyGroupList This API is used to query the read-only group list.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeReadOnlyGroupListWithContext

func (c *Client) DescribeReadOnlyGroupListWithContext(ctx context.Context, request *DescribeReadOnlyGroupListRequest) (response *DescribeReadOnlyGroupListResponse, err error)

DescribeReadOnlyGroupList This API is used to query the read-only group list.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRegions

func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions This API is used to query purchasable regions.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRegionsWithContext

func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions This API is used to query purchasable regions.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRegularBackupPlan

func (c *Client) DescribeRegularBackupPlan(request *DescribeRegularBackupPlanRequest) (response *DescribeRegularBackupPlanResponse, err error)

DescribeRegularBackupPlan This API is used to query the scheduled backup retention plans of instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"

func (*Client) DescribeRegularBackupPlanWithContext

func (c *Client) DescribeRegularBackupPlanWithContext(ctx context.Context, request *DescribeRegularBackupPlanRequest) (response *DescribeRegularBackupPlanResponse, err error)

DescribeRegularBackupPlan This API is used to query the scheduled backup retention plans of instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"

func (*Client) DescribeRestoreTask

func (c *Client) DescribeRestoreTask(request *DescribeRestoreTaskRequest) (response *DescribeRestoreTaskResponse, err error)

DescribeRestoreTask This API is used to query the list of rollback tasks.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRestoreTaskWithContext

func (c *Client) DescribeRestoreTaskWithContext(ctx context.Context, request *DescribeRestoreTaskRequest) (response *DescribeRestoreTaskResponse, err error)

DescribeRestoreTask This API is used to query the list of rollback tasks.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRestoreTimeRange

func (c *Client) DescribeRestoreTimeRange(request *DescribeRestoreTimeRangeRequest) (response *DescribeRestoreTimeRangeResponse, err error)

DescribeRestoreTimeRange This API is used to query the time range available for rollback by time point.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRestoreTimeRangeWithContext

func (c *Client) DescribeRestoreTimeRangeWithContext(ctx context.Context, request *DescribeRestoreTimeRangeRequest) (response *DescribeRestoreTimeRangeResponse, err error)

DescribeRestoreTimeRange This API is used to query the time range available for rollback by time point.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRollbackTime

func (c *Client) DescribeRollbackTime(request *DescribeRollbackTimeRequest) (response *DescribeRollbackTimeResponse, err error)

DescribeRollbackTime This API is used to query the time range available for instance rollback.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeRollbackTimeWithContext

func (c *Client) DescribeRollbackTimeWithContext(ctx context.Context, request *DescribeRollbackTimeRequest) (response *DescribeRollbackTimeResponse, err error)

DescribeRollbackTime This API is used to query the time range available for instance rollback.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeSlowlogs

func (c *Client) DescribeSlowlogs(request *DescribeSlowlogsRequest) (response *DescribeSlowlogsResponse, err error)

DescribeSlowlogs This API is used to get file information of slow query logs.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeSlowlogsWithContext

func (c *Client) DescribeSlowlogsWithContext(ctx context.Context, request *DescribeSlowlogsRequest) (response *DescribeSlowlogsResponse, err error)

DescribeSlowlogs This API is used to get file information of slow query logs.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeSpecSellStatus

func (c *Client) DescribeSpecSellStatus(request *DescribeSpecSellStatusRequest) (response *DescribeSpecSellStatusResponse, err error)

DescribeSpecSellStatus This API is used to query the status information on specifications, including the sales status and reference price. (The actual price is subject to the result returned by price querying APIs.)

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeSpecSellStatusWithContext

func (c *Client) DescribeSpecSellStatusWithContext(ctx context.Context, request *DescribeSpecSellStatusRequest) (response *DescribeSpecSellStatusResponse, err error)

DescribeSpecSellStatus This API is used to query the status information on specifications, including the sales status and reference price. (The actual price is subject to the result returned by price querying APIs.)

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeUpgradeInstanceCheck

func (c *Client) DescribeUpgradeInstanceCheck(request *DescribeUpgradeInstanceCheckRequest) (response *DescribeUpgradeInstanceCheckResponse, err error)

DescribeUpgradeInstanceCheck This API is used to pre-check the impact of the instance configuration adjustment before the adjustment.

error code that may be returned:

FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_NOTSUPPORTPUBSUBINSTANCE = "InvalidParameter.NotSupportPubSubInstance"
INVALIDPARAMETER_NOTSUPPORTREADONLYMASTERINSTANCE = "InvalidParameter.NotSupportReadOnlyMasterInstance"
INVALIDPARAMETER_NOTSUPPORTSINGLEINSTANCE = "InvalidParameter.NotSupportSingleInstance"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeUpgradeInstanceCheckWithContext

func (c *Client) DescribeUpgradeInstanceCheckWithContext(ctx context.Context, request *DescribeUpgradeInstanceCheckRequest) (response *DescribeUpgradeInstanceCheckResponse, err error)

DescribeUpgradeInstanceCheck This API is used to pre-check the impact of the instance configuration adjustment before the adjustment.

error code that may be returned:

FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_NOTSUPPORTPUBSUBINSTANCE = "InvalidParameter.NotSupportPubSubInstance"
INVALIDPARAMETER_NOTSUPPORTREADONLYMASTERINSTANCE = "InvalidParameter.NotSupportReadOnlyMasterInstance"
INVALIDPARAMETER_NOTSUPPORTSINGLEINSTANCE = "InvalidParameter.NotSupportSingleInstance"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeUploadBackupInfo

func (c *Client) DescribeUploadBackupInfo(request *DescribeUploadBackupInfoRequest) (response *DescribeUploadBackupInfoResponse, err error)

DescribeUploadBackupInfo This API is used to query a backup upload permission.

error code that may be returned:

FAILEDOPERATION_COSPROPERTIESERROR = "FailedOperation.CosPropertiesError"
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_STSERROR = "InternalError.StsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION_UPLOADTYPEERROR = "UnsupportedOperation.UploadTypeError"

func (*Client) DescribeUploadBackupInfoWithContext

func (c *Client) DescribeUploadBackupInfoWithContext(ctx context.Context, request *DescribeUploadBackupInfoRequest) (response *DescribeUploadBackupInfoResponse, err error)

DescribeUploadBackupInfo This API is used to query a backup upload permission.

error code that may be returned:

FAILEDOPERATION_COSPROPERTIESERROR = "FailedOperation.CosPropertiesError"
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_STSERROR = "InternalError.StsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_COSPATHERROR = "InvalidParameterValue.CosPathError"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION_UPLOADTYPEERROR = "UnsupportedOperation.UploadTypeError"

func (*Client) DescribeXEvents

func (c *Client) DescribeXEvents(request *DescribeXEventsRequest) (response *DescribeXEventsResponse, err error)

DescribeXEvents This API is used to query the list of extended events.

error code that may be returned:

FAILEDOPERATION_COSERROR = "FailedOperation.CosError"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeXEventsWithContext

func (c *Client) DescribeXEventsWithContext(ctx context.Context, request *DescribeXEventsRequest) (response *DescribeXEventsResponse, err error)

DescribeXEvents This API is used to query the list of extended events.

error code that may be returned:

FAILEDOPERATION_COSERROR = "FailedOperation.CosError"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeZones

func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query currently purchasable AZs.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DescribeZonesWithContext

func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query currently purchasable AZs.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DisassociateSecurityGroups

func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)

DisassociateSecurityGroups This API is used to unbind security groups from instances in batches.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) DisassociateSecurityGroupsWithContext

func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)

DisassociateSecurityGroups This API is used to unbind security groups from instances in batches.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquiryPriceCreateDBInstances

func (c *Client) InquiryPriceCreateDBInstances(request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)

InquiryPriceCreateDBInstances This API is used to query the price of requested instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BADGOODSNUM = "InvalidParameterValue.BadGoodsNum"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquiryPriceCreateDBInstancesWithContext

func (c *Client) InquiryPriceCreateDBInstancesWithContext(ctx context.Context, request *InquiryPriceCreateDBInstancesRequest) (response *InquiryPriceCreateDBInstancesResponse, err error)

InquiryPriceCreateDBInstances This API is used to query the price of requested instances.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BADGOODSNUM = "InvalidParameterValue.BadGoodsNum"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_ILLEGALZONE = "InvalidParameterValue.IllegalZone"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquiryPriceUpgradeDBInstance

func (c *Client) InquiryPriceUpgradeDBInstance(request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)

InquiryPriceUpgradeDBInstance This API is used to query the upgrade prices of a monthly subscribed instance.

.

error code that may be returned:

FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_COSTTYPENOTSUPPORTED = "InvalidParameterValue.CostTypeNotSupported"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCEEXPANDVOLUMELOW = "InvalidParameterValue.InstanceExpandVolumeLow"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) InquiryPriceUpgradeDBInstanceWithContext

func (c *Client) InquiryPriceUpgradeDBInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeDBInstanceRequest) (response *InquiryPriceUpgradeDBInstanceResponse, err error)

InquiryPriceUpgradeDBInstance This API is used to query the upgrade prices of a monthly subscribed instance.

.

error code that may be returned:

FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_COSTTYPENOTSUPPORTED = "InvalidParameterValue.CostTypeNotSupported"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
INVALIDPARAMETERVALUE_INSTANCEEXPANDVOLUMELOW = "InvalidParameterValue.InstanceExpandVolumeLow"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountPrivilege

func (c *Client) ModifyAccountPrivilege(request *ModifyAccountPrivilegeRequest) (response *ModifyAccountPrivilegeResponse, err error)

ModifyAccountPrivilege This API is used to modify instance account permissions.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountPrivilegeWithContext

func (c *Client) ModifyAccountPrivilegeWithContext(ctx context.Context, request *ModifyAccountPrivilegeRequest) (response *ModifyAccountPrivilegeResponse, err error)

ModifyAccountPrivilege This API is used to modify instance account permissions.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ADMINACCOUNTNOTUNIQUE = "InvalidParameterValue.AdminAccountNotUnique"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountRemark

func (c *Client) ModifyAccountRemark(request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)

ModifyAccountRemark This API is used to modify account remarks.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyAccountRemarkWithContext

func (c *Client) ModifyAccountRemarkWithContext(ctx context.Context, request *ModifyAccountRemarkRequest) (response *ModifyAccountRemarkResponse, err error)

ModifyAccountRemark This API is used to modify account remarks.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ACCOUNTREMARKISILLEGAL = "InvalidParameterValue.AccountRemarkIsIllegal"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupMigration

func (c *Client) ModifyBackupMigration(request *ModifyBackupMigrationRequest) (response *ModifyBackupMigrationResponse, err error)

ModifyBackupMigration This API is used to modify a backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupMigrationWithContext

func (c *Client) ModifyBackupMigrationWithContext(ctx context.Context, request *ModifyBackupMigrationRequest) (response *ModifyBackupMigrationResponse, err error)

ModifyBackupMigration This API is used to modify a backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupName

func (c *Client) ModifyBackupName(request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)

ModifyBackupName This API is used to modify the name of a backup task.

error code that may be returned:

INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupNameWithContext

func (c *Client) ModifyBackupNameWithContext(ctx context.Context, request *ModifyBackupNameRequest) (response *ModifyBackupNameResponse, err error)

ModifyBackupName This API is used to modify the name of a backup task.

error code that may be returned:

INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupStrategy

func (c *Client) ModifyBackupStrategy(request *ModifyBackupStrategyRequest) (response *ModifyBackupStrategyResponse, err error)

ModifyBackupStrategy This API is used to modify the backup policy.

error code that may be returned:

INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyBackupStrategyWithContext

func (c *Client) ModifyBackupStrategyWithContext(ctx context.Context, request *ModifyBackupStrategyRequest) (response *ModifyBackupStrategyResponse, err error)

ModifyBackupStrategy This API is used to modify the backup policy.

error code that may be returned:

INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyCloseWanIp

func (c *Client) ModifyCloseWanIp(request *ModifyCloseWanIpRequest) (response *ModifyCloseWanIpResponse, err error)

ModifyCloseWanIp This API is used to disable the public network for the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_DOMAINOPERATIONFAILED = "FailedOperation.DomainOperationFailed"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyCloseWanIpWithContext

func (c *Client) ModifyCloseWanIpWithContext(ctx context.Context, request *ModifyCloseWanIpRequest) (response *ModifyCloseWanIpResponse, err error)

ModifyCloseWanIp This API is used to disable the public network for the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_DOMAINOPERATIONFAILED = "FailedOperation.DomainOperationFailed"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyCrossBackupStrategy

func (c *Client) ModifyCrossBackupStrategy(request *ModifyCrossBackupStrategyRequest) (response *ModifyCrossBackupStrategyResponse, err error)

ModifyCrossBackupStrategy This API is used to enable or disable cross-region backup policies.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyCrossBackupStrategyWithContext

func (c *Client) ModifyCrossBackupStrategyWithContext(ctx context.Context, request *ModifyCrossBackupStrategyRequest) (response *ModifyCrossBackupStrategyResponse, err error)

ModifyCrossBackupStrategy This API is used to enable or disable cross-region backup policies.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_ILLEGALREGION = "InvalidParameterValue.IllegalRegion"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBEncryptAttributes

func (c *Client) ModifyDBEncryptAttributes(request *ModifyDBEncryptAttributesRequest) (response *ModifyDBEncryptAttributesResponse, err error)

ModifyDBEncryptAttributes This API is used to enable or disable TDE of a database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDBEncryptAttributesWithContext

func (c *Client) ModifyDBEncryptAttributesWithContext(ctx context.Context, request *ModifyDBEncryptAttributesRequest) (response *ModifyDBEncryptAttributesResponse, err error)

ModifyDBEncryptAttributes This API is used to enable or disable TDE of a database.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDBInstanceName

func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)

ModifyDBInstanceName This API is used to rename an instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceNameWithContext

func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)

ModifyDBInstanceName This API is used to rename an instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceNetwork

func (c *Client) ModifyDBInstanceNetwork(request *ModifyDBInstanceNetworkRequest) (response *ModifyDBInstanceNetworkResponse, err error)

ModifyDBInstanceNetwork This API is used to switch a running instance from a VPC to another.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
FAILEDOPERATION_VPCERROR = "FailedOperation.VPCError"
INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDBInstanceNetworkWithContext

func (c *Client) ModifyDBInstanceNetworkWithContext(ctx context.Context, request *ModifyDBInstanceNetworkRequest) (response *ModifyDBInstanceNetworkResponse, err error)

ModifyDBInstanceNetwork This API is used to switch a running instance from a VPC to another.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_GETVPCFAILED = "FailedOperation.GetVpcFailed"
FAILEDOPERATION_VPCERROR = "FailedOperation.VPCError"
INTERNALERROR_CAMAUTHFAILED = "InternalError.CamAuthFailed"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INTERNALERROR_VPCERROR = "InternalError.VPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDBInstanceNote

func (c *Client) ModifyDBInstanceNote(request *ModifyDBInstanceNoteRequest) (response *ModifyDBInstanceNoteResponse, err error)

ModifyDBInstanceNote This API is used to modify the instance remarks.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceNoteWithContext

func (c *Client) ModifyDBInstanceNoteWithContext(ctx context.Context, request *ModifyDBInstanceNoteRequest) (response *ModifyDBInstanceNoteResponse, err error)

ModifyDBInstanceNote This API is used to modify the instance remarks.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_INSTANCENAMEISILLEGAL = "InvalidParameterValue.InstanceNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceProject

func (c *Client) ModifyDBInstanceProject(request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)

ModifyDBInstanceProject This API is used to modify the project to which a database instance belongs.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceProjectWithContext

func (c *Client) ModifyDBInstanceProjectWithContext(ctx context.Context, request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)

ModifyDBInstanceProject This API is used to modify the project to which a database instance belongs.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceSSL

func (c *Client) ModifyDBInstanceSSL(request *ModifyDBInstanceSSLRequest) (response *ModifyDBInstanceSSLResponse, err error)

ModifyDBInstanceSSL This API is used to enable/disable/update SSL encryption.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDBInstanceSSLWithContext

func (c *Client) ModifyDBInstanceSSLWithContext(ctx context.Context, request *ModifyDBInstanceSSLRequest) (response *ModifyDBInstanceSSLResponse, err error)

ModifyDBInstanceSSL This API is used to enable/disable/update SSL encryption.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDBInstanceSecurityGroups

func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)

ModifyDBInstanceSecurityGroups This API is used to modify security groups bound to an instance.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBInstanceSecurityGroupsWithContext

func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)

ModifyDBInstanceSecurityGroups This API is used to modify security groups bound to an instance.

error code that may be returned:

FAILEDOPERATION_SECURITYGROUPOPERATIONERROR = "FailedOperation.SecurityGroupOperationError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_SECURITYGROUPIDISILLEGAL = "InvalidParameterValue.SecurityGroupIdIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBName

func (c *Client) ModifyDBName(request *ModifyDBNameRequest) (response *ModifyDBNameResponse, err error)

ModifyDBName This API is used to rename a database.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods"
INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBNameWithContext

func (c *Client) ModifyDBNameWithContext(ctx context.Context, request *ModifyDBNameRequest) (response *ModifyDBNameResponse, err error)

ModifyDBName This API is used to rename a database.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
INVALIDPARAMETERVALUE_DBNAMEISKEYWRODS = "InvalidParameterValue.DBNameIsKeyWrods"
INVALIDPARAMETERVALUE_DBNAMESAME = "InvalidParameterValue.DBNameSame"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBRemark

func (c *Client) ModifyDBRemark(request *ModifyDBRemarkRequest) (response *ModifyDBRemarkResponse, err error)

ModifyDBRemark This API is used to modify database remarks.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDBRemarkWithContext

func (c *Client) ModifyDBRemarkWithContext(ctx context.Context, request *ModifyDBRemarkRequest) (response *ModifyDBRemarkResponse, err error)

ModifyDBRemark This API is used to modify database remarks.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETERVALUE_DATABASEREMARKISILLEGAL = "InvalidParameterValue.DataBaseRemarkIsIllegal"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDReadable

func (c *Client) ModifyDReadable(request *ModifyDReadableRequest) (response *ModifyDReadableResponse, err error)

ModifyDReadable This API is used to enable or disable the read-only feature of the replica server.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"

func (*Client) ModifyDReadableWithContext

func (c *Client) ModifyDReadableWithContext(ctx context.Context, request *ModifyDReadableRequest) (response *ModifyDReadableResponse, err error)

ModifyDReadable This API is used to enable or disable the read-only feature of the replica server.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCENOTFOUND_VPCNOTEXIST = "ResourceNotFound.VpcNotExist"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_VPCNOTEXIST = "ResourceUnavailable.VpcNotExist"

func (*Client) ModifyDatabaseCDC

func (c *Client) ModifyDatabaseCDC(request *ModifyDatabaseCDCRequest) (response *ModifyDatabaseCDCResponse, err error)

ModifyDatabaseCDC This API is used to enable or disable the change data capture (CDC) feature.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDatabaseCDCWithContext

func (c *Client) ModifyDatabaseCDCWithContext(ctx context.Context, request *ModifyDatabaseCDCRequest) (response *ModifyDatabaseCDCResponse, err error)

ModifyDatabaseCDC This API is used to enable or disable the change data capture (CDC) feature.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDatabaseCT

func (c *Client) ModifyDatabaseCT(request *ModifyDatabaseCTRequest) (response *ModifyDatabaseCTResponse, err error)

ModifyDatabaseCT This API is used to enable or disable the change tracking (CT) feature.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDatabaseCTWithContext

func (c *Client) ModifyDatabaseCTWithContext(ctx context.Context, request *ModifyDatabaseCTRequest) (response *ModifyDatabaseCTResponse, err error)

ModifyDatabaseCT This API is used to enable or disable the change tracking (CT) feature.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyDatabaseMdf

func (c *Client) ModifyDatabaseMdf(request *ModifyDatabaseMdfRequest) (response *ModifyDatabaseMdfResponse, err error)

ModifyDatabaseMdf This API is used to shrink database MDF files.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDatabaseMdfWithContext

func (c *Client) ModifyDatabaseMdfWithContext(ctx context.Context, request *ModifyDatabaseMdfRequest) (response *ModifyDatabaseMdfResponse, err error)

ModifyDatabaseMdf This API is used to shrink database MDF files.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDatabasePrivilege

func (c *Client) ModifyDatabasePrivilege(request *ModifyDatabasePrivilegeRequest) (response *ModifyDatabasePrivilegeResponse, err error)

ModifyDatabasePrivilege This API is used to modify instance database permissions.

error code that may be returned:

INTERNALERROR_DATAERROR = "InternalError.DataError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDatabasePrivilegeWithContext

func (c *Client) ModifyDatabasePrivilegeWithContext(ctx context.Context, request *ModifyDatabasePrivilegeRequest) (response *ModifyDatabasePrivilegeResponse, err error)

ModifyDatabasePrivilege This API is used to modify instance database permissions.

error code that may be returned:

INTERNALERROR_DATAERROR = "InternalError.DataError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_INTERFACENAMENOTFOUND = "InvalidParameter.InterfaceNameNotFound"
INVALIDPARAMETERVALUE_GRANTISILLEGAL = "InvalidParameterValue.GrantIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_DBNOTEXIT = "ResourceNotFound.DBNotExit"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDatabaseShrinkMDF

func (c *Client) ModifyDatabaseShrinkMDF(request *ModifyDatabaseShrinkMDFRequest) (response *ModifyDatabaseShrinkMDFResponse, err error)

ModifyDatabaseShrinkMDF This API is used to shrink the database mdf (Shrink mdf).

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyDatabaseShrinkMDFWithContext

func (c *Client) ModifyDatabaseShrinkMDFWithContext(ctx context.Context, request *ModifyDatabaseShrinkMDFRequest) (response *ModifyDatabaseShrinkMDFResponse, err error)

ModifyDatabaseShrinkMDF This API is used to shrink the database mdf (Shrink mdf).

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETERVALUE_DBNAMENOTNULL = "InvalidParameterValue.DBNameNotNull"
INVALIDPARAMETERVALUE_MODIFYTYPEVALUEINVALID = "InvalidParameterValue.ModifyTypeValueInvalid"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
RESOURCEUNAVAILABLE_NOTSUPPORTROINSTANCE = "ResourceUnavailable.NotSupportRoInstance"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyIncrementalMigration

func (c *Client) ModifyIncrementalMigration(request *ModifyIncrementalMigrationRequest) (response *ModifyIncrementalMigrationResponse, err error)

ModifyIncrementalMigration This API is used to modify an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyIncrementalMigrationWithContext

func (c *Client) ModifyIncrementalMigrationWithContext(ctx context.Context, request *ModifyIncrementalMigrationRequest) (response *ModifyIncrementalMigrationResponse, err error)

ModifyIncrementalMigration This API is used to modify an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyInstanceEncryptAttributes

func (c *Client) ModifyInstanceEncryptAttributes(request *ModifyInstanceEncryptAttributesRequest) (response *ModifyInstanceEncryptAttributesResponse, err error)

ModifyInstanceEncryptAttributes This API is used to enable TDE of an instance.

error code that may be returned:

FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyInstanceEncryptAttributesWithContext

func (c *Client) ModifyInstanceEncryptAttributesWithContext(ctx context.Context, request *ModifyInstanceEncryptAttributesRequest) (response *ModifyInstanceEncryptAttributesResponse, err error)

ModifyInstanceEncryptAttributes This API is used to enable TDE of an instance.

error code that may be returned:

FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNSUPPORTEDOPERATION_NOTSUPPORTREPEAT = "UnsupportedOperation.NotSupportRepeat"

func (*Client) ModifyInstanceParam

func (c *Client) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)

ModifyInstanceParam This API is used to modify instance parameters.

<b>Note</b>: if <b>the instance needs to be restarted</b> for the modified parameter to take effect, <b>it will be restarted</b> immediately or during the maintenance time according to the `WaitSwitch` parameter.

Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyInstanceParamWithContext

func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)

ModifyInstanceParam This API is used to modify instance parameters.

<b>Note</b>: if <b>the instance needs to be restarted</b> for the modified parameter to take effect, <b>it will be restarted</b> immediately or during the maintenance time according to the `WaitSwitch` parameter.

Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyMaintenanceSpan

func (c *Client) ModifyMaintenanceSpan(request *ModifyMaintenanceSpanRequest) (response *ModifyMaintenanceSpanResponse, err error)

ModifyMaintenanceSpan This API is used to modify the maintenance window of the instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyMaintenanceSpanWithContext

func (c *Client) ModifyMaintenanceSpanWithContext(ctx context.Context, request *ModifyMaintenanceSpanRequest) (response *ModifyMaintenanceSpanResponse, err error)

ModifyMaintenanceSpan This API is used to modify the maintenance window of the instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyMigration

func (c *Client) ModifyMigration(request *ModifyMigrationRequest) (response *ModifyMigrationResponse, err error)

ModifyMigration This API is used to modify an existing migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal"
RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyMigrationWithContext

func (c *Client) ModifyMigrationWithContext(ctx context.Context, request *ModifyMigrationRequest) (response *ModifyMigrationResponse, err error)

ModifyMigration This API is used to modify an existing migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_CREATEFLOWFAILED = "InternalError.CreateFlowFailed"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_MIGRATIONNAMEISILLEGAL = "InvalidParameterValue.MigrationNameIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCEMIGRATEREGIONILLEGAL = "ResourceUnavailable.InstanceMigrateRegionIllegal"
RESOURCEUNAVAILABLE_INSTANCEMIGRATESTATUSINVALID = "ResourceUnavailable.InstanceMigrateStatusInvalid"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyOpenWanIp

func (c *Client) ModifyOpenWanIp(request *ModifyOpenWanIpRequest) (response *ModifyOpenWanIpResponse, err error)

ModifyOpenWanIp This API is used to enable the public network for the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_DOMAINOPERATIONFAILED = "FailedOperation.DomainOperationFailed"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyOpenWanIpWithContext

func (c *Client) ModifyOpenWanIpWithContext(ctx context.Context, request *ModifyOpenWanIpRequest) (response *ModifyOpenWanIpResponse, err error)

ModifyOpenWanIp This API is used to enable the public network for the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_DOMAINOPERATIONFAILED = "FailedOperation.DomainOperationFailed"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyPublishSubscribe

func (c *Client) ModifyPublishSubscribe(request *ModifyPublishSubscribeRequest) (response *ModifyPublishSubscribeResponse, err error)

ModifyPublishSubscribe This API is used to modify the publish/subscribe relationship of the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"

func (*Client) ModifyPublishSubscribeName

func (c *Client) ModifyPublishSubscribeName(request *ModifyPublishSubscribeNameRequest) (response *ModifyPublishSubscribeNameResponse, err error)

ModifyPublishSubscribeName This API is used to modify the publish/subscribe names.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PUBSUBNAMEISILLEGAL = "InvalidParameterValue.PubSubNameIsIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyPublishSubscribeNameWithContext

func (c *Client) ModifyPublishSubscribeNameWithContext(ctx context.Context, request *ModifyPublishSubscribeNameRequest) (response *ModifyPublishSubscribeNameResponse, err error)

ModifyPublishSubscribeName This API is used to modify the publish/subscribe names.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PUBSUBNAMEISILLEGAL = "InvalidParameterValue.PubSubNameIsIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyPublishSubscribeWithContext

func (c *Client) ModifyPublishSubscribeWithContext(ctx context.Context, request *ModifyPublishSubscribeRequest) (response *ModifyPublishSubscribeResponse, err error)

ModifyPublishSubscribe This API is used to modify the publish/subscribe relationship of the instance.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"

func (*Client) ModifyReadOnlyGroupDetails

func (c *Client) ModifyReadOnlyGroupDetails(request *ModifyReadOnlyGroupDetailsRequest) (response *ModifyReadOnlyGroupDetailsResponse, err error)

ModifyReadOnlyGroupDetails This API is used to modify read-only group details.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyReadOnlyGroupDetailsWithContext

func (c *Client) ModifyReadOnlyGroupDetailsWithContext(ctx context.Context, request *ModifyReadOnlyGroupDetailsRequest) (response *ModifyReadOnlyGroupDetailsResponse, err error)

ModifyReadOnlyGroupDetails This API is used to modify read-only group details.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenInterCommunication

func (c *Client) OpenInterCommunication(request *OpenInterCommunicationRequest) (response *OpenInterCommunicationResponse, err error)

OpenInterCommunication This API is used to enable instance interconnection, which can interconnect business intelligence services.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) OpenInterCommunicationWithContext

func (c *Client) OpenInterCommunicationWithContext(ctx context.Context, request *OpenInterCommunicationRequest) (response *OpenInterCommunicationResponse, err error)

OpenInterCommunication This API is used to enable instance interconnection, which can interconnect business intelligence services.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) QueryMigrationCheckProcess

func (c *Client) QueryMigrationCheckProcess(request *QueryMigrationCheckProcessRequest) (response *QueryMigrationCheckProcessResponse, err error)

QueryMigrationCheckProcess This API is used to query the progress of the migration verification task, inquiry of migration check task progress, applicable to the migration method where the migration source type is TencentDB for SQL Server.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) QueryMigrationCheckProcessWithContext

func (c *Client) QueryMigrationCheckProcessWithContext(ctx context.Context, request *QueryMigrationCheckProcessRequest) (response *QueryMigrationCheckProcessResponse, err error)

QueryMigrationCheckProcess This API is used to query the progress of the migration verification task, inquiry of migration check task progress, applicable to the migration method where the migration source type is TencentDB for SQL Server.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBCONNECTERROR = "InternalError.DBConnectError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RecycleDBInstance

func (c *Client) RecycleDBInstance(request *RecycleDBInstanceRequest) (response *RecycleDBInstanceResponse, err error)

RecycleDBInstance This API is used to return a deactivated SQL Server instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RecycleDBInstanceWithContext

func (c *Client) RecycleDBInstanceWithContext(ctx context.Context, request *RecycleDBInstanceRequest) (response *RecycleDBInstanceResponse, err error)

RecycleDBInstance This API is used to return a deactivated SQL Server instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RecycleReadOnlyGroup

func (c *Client) RecycleReadOnlyGroup(request *RecycleReadOnlyGroupRequest) (response *RecycleReadOnlyGroupResponse, err error)

RecycleReadOnlyGroup This API is used to reclaim resources of read-only groups immediately. The resources, such as VIP, occupied by the read-only group will be released immediately and cannot be recovered.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ROGROUPSTATUSISILLEGAL = "InvalidParameterValue.RoGroupStatusIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RecycleReadOnlyGroupWithContext

func (c *Client) RecycleReadOnlyGroupWithContext(ctx context.Context, request *RecycleReadOnlyGroupRequest) (response *RecycleReadOnlyGroupResponse, err error)

RecycleReadOnlyGroup This API is used to reclaim resources of read-only groups immediately. The resources, such as VIP, occupied by the read-only group will be released immediately and cannot be recovered.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_ROGROUPSTATUSISILLEGAL = "InvalidParameterValue.RoGroupStatusIsIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RemoveBackups

func (c *Client) RemoveBackups(request *RemoveBackupsRequest) (response *RemoveBackupsResponse, err error)

RemoveBackups This API is used to delete backup files created by users manually. The backup policy to be deleted can be instance backup or multi-database backup.

error code that may be returned:

INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RemoveBackupsWithContext

func (c *Client) RemoveBackupsWithContext(ctx context.Context, request *RemoveBackupsRequest) (response *RemoveBackupsResponse, err error)

RemoveBackups This API is used to delete backup files created by users manually. The backup policy to be deleted can be instance backup or multi-database backup.

error code that may be returned:

INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RenewPostpaidDBInstance

func (c *Client) RenewPostpaidDBInstance(request *RenewPostpaidDBInstanceRequest) (response *RenewPostpaidDBInstanceResponse, err error)

RenewPostpaidDBInstance This API is used to recover the pay-as-you-go instance that is manually isolated through the API TerminateDBInstance from the recycle bin.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RenewPostpaidDBInstanceWithContext

func (c *Client) RenewPostpaidDBInstanceWithContext(ctx context.Context, request *RenewPostpaidDBInstanceRequest) (response *RenewPostpaidDBInstanceResponse, err error)

RenewPostpaidDBInstance This API is used to recover the pay-as-you-go instance that is manually isolated through the API TerminateDBInstance from the recycle bin.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ResetAccountPassword

func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)

ResetAccountPassword This API is used to reset the account password of an instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ResetAccountPasswordWithContext

func (c *Client) ResetAccountPasswordWithContext(ctx context.Context, request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)

ResetAccountPassword This API is used to reset the account password of an instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_PASSWORDISILLEGAL = "InvalidParameterValue.PasswordIsIllegal"
RESOURCENOTFOUND_ACCOUNTNOTEXIST = "ResourceNotFound.AccountNotExist"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_ACCOUNTINVALIDSTATUS = "ResourceUnavailable.AccountInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RestartDBInstance

func (c *Client) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)

RestartDBInstance This API is used to restart a database instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RestartDBInstanceWithContext

func (c *Client) RestartDBInstanceWithContext(ctx context.Context, request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)

RestartDBInstance This API is used to restart a database instance.

error code that may be returned:

INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RestoreInstance

func (c *Client) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)

RestoreInstance This API is used to roll back the database by backup set.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RestoreInstanceWithContext

func (c *Client) RestoreInstanceWithContext(ctx context.Context, request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)

RestoreInstance This API is used to roll back the database by backup set.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBEXIST = "InvalidParameterValue.DBExist"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RollbackInstance

func (c *Client) RollbackInstance(request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error)

RollbackInstance This API is used to roll back the instance by time point.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RollbackInstanceWithContext

func (c *Client) RollbackInstanceWithContext(ctx context.Context, request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error)

RollbackInstance This API is used to roll back the instance by time point.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_GCSERROR = "InternalError.GcsError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_DBCHARILLEGAL = "InvalidParameterValue.DBCharIllegal"
RESOURCENOTFOUND_DBNOTFOUND = "ResourceNotFound.DBNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_DBINVALIDSTATUS = "ResourceUnavailable.DBInvalidStatus"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RunMigration

func (c *Client) RunMigration(request *RunMigrationRequest) (response *RunMigrationResponse, err error)

RunMigration This API is used to start running a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) RunMigrationWithContext

func (c *Client) RunMigrationWithContext(ctx context.Context, request *RunMigrationRequest) (response *RunMigrationResponse, err error)

RunMigration This API is used to start running a migration task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
INTERNALERROR = "InternalError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
LIMITEXCEEDED_TOOMANYDB = "LimitExceeded.TooManyDB"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) StartBackupMigration

func (c *Client) StartBackupMigration(request *StartBackupMigrationRequest) (response *StartBackupMigrationResponse, err error)

StartBackupMigration This API is used to start a backup import task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) StartBackupMigrationWithContext

func (c *Client) StartBackupMigrationWithContext(ctx context.Context, request *StartBackupMigrationRequest) (response *StartBackupMigrationResponse, err error)

StartBackupMigration This API is used to start a backup import task.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) StartIncrementalMigration

func (c *Client) StartIncrementalMigration(request *StartIncrementalMigrationRequest) (response *StartIncrementalMigrationResponse, err error)

StartIncrementalMigration This API is used to start an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) StartIncrementalMigrationWithContext

func (c *Client) StartIncrementalMigrationWithContext(ctx context.Context, request *StartIncrementalMigrationRequest) (response *StartIncrementalMigrationResponse, err error)

StartIncrementalMigration This API is used to start an incremental backup import task.

error code that may be returned:

FAILEDOPERATION_MIGRATIONLOCKERROR = "FailedOperation.MigrationLockError"
INTERNALERROR_COSERROR = "InternalError.CosError"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETERVALUE_BACKUPNAMEISILLEGAL = "InvalidParameterValue.BackupNameIsIllegal"
RESOURCENOTFOUND_BACKUPNOTFOUND = "ResourceNotFound.BackupNotFound"
RESOURCENOTFOUND_FULLBACKUPMIGRATIONNOTEXIST = "ResourceNotFound.FullBackupMigrationNotExist"
RESOURCEUNAVAILABLE_COSSTATUSERR = "ResourceUnavailable.CosStatusErr"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) StartInstanceXEvent

func (c *Client) StartInstanceXEvent(request *StartInstanceXEventRequest) (response *StartInstanceXEventResponse, err error)

StartInstanceXEvent This API is used to start and stop an extended event.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"

func (*Client) StartInstanceXEventWithContext

func (c *Client) StartInstanceXEventWithContext(ctx context.Context, request *StartInstanceXEventRequest) (response *StartInstanceXEventResponse, err error)

StartInstanceXEvent This API is used to start and stop an extended event.

error code that may be returned:

FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_PARAMSNOTFOUND = "ResourceNotFound.ParamsNotFound"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"

func (*Client) SwitchCloudInstanceHA

func (c *Client) SwitchCloudInstanceHA(request *SwitchCloudInstanceHARequest) (response *SwitchCloudInstanceHAResponse, err error)

SwitchCloudInstanceHA This API is used to manually switch between primary and secondary.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) SwitchCloudInstanceHAWithContext

func (c *Client) SwitchCloudInstanceHAWithContext(ctx context.Context, request *SwitchCloudInstanceHARequest) (response *SwitchCloudInstanceHAResponse, err error)

SwitchCloudInstanceHA This API is used to manually switch between primary and secondary.

error code that may be returned:

FAILEDOPERATION_GCSERROR = "FailedOperation.GcsError"
FAILEDOPERATION_NOTSUPPORT = "FailedOperation.NotSupport"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) TerminateDBInstance

func (c *Client) TerminateDBInstance(request *TerminateDBInstanceRequest) (response *TerminateDBInstanceResponse, err error)

TerminateDBInstance This API is used to isolate an instance to move it into a recycle bin.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) TerminateDBInstanceWithContext

func (c *Client) TerminateDBInstanceWithContext(ctx context.Context, request *TerminateDBInstanceRequest) (response *TerminateDBInstanceResponse, err error)

TerminateDBInstance This API is used to isolate an instance to move it into a recycle bin.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
RESOURCEUNAVAILABLE_INSTANCESTATUSINVALID = "ResourceUnavailable.InstanceStatusInvalid"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeDBInstance

func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)

UpgradeDBInstance This API is used to upgrade an instance.

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) UpgradeDBInstanceWithContext

func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)

UpgradeDBInstance This API is used to upgrade an instance.

error code that may be returned:

FAILEDOPERATION_CREATEORDERFAILED = "FailedOperation.CreateOrderFailed"
FAILEDOPERATION_DBERROR = "FailedOperation.DBError"
FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed"
INTERNALERROR_DBERROR = "InternalError.DBError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INPUTILLEGAL = "InvalidParameter.InputIllegal"
INVALIDPARAMETER_PARAMSASSERTFAILED = "InvalidParameter.ParamsAssertFailed"
INVALIDPARAMETER_PAYORDERFAILED = "InvalidParameter.PayOrderFailed"
INVALIDPARAMETERVALUE_ILLEGALSPEC = "InvalidParameterValue.IllegalSpec"
INVALIDPARAMETERVALUE_PARAMETERTYPEERROR = "InvalidParameterValue.ParameterTypeError"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

type CloneDBRequest

type CloneDBRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Clone and rename the databases specified in `ReNameRestoreDatabase`. Please note that the clones must be renamed.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`
}

func NewCloneDBRequest

func NewCloneDBRequest() (request *CloneDBRequest)

func (*CloneDBRequest) FromJsonString

func (r *CloneDBRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloneDBRequest) ToJsonString

func (r *CloneDBRequest) ToJsonString() string

type CloneDBRequestParams

type CloneDBRequestParams struct {
	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Clone and rename the databases specified in `ReNameRestoreDatabase`. Please note that the clones must be renamed.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`
}

Predefined struct for user

type CloneDBResponse

type CloneDBResponse struct {
	*tchttp.BaseResponse
	Response *CloneDBResponseParams `json:"Response"`
}

func NewCloneDBResponse

func NewCloneDBResponse() (response *CloneDBResponse)

func (*CloneDBResponse) FromJsonString

func (r *CloneDBResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloneDBResponse) ToJsonString

func (r *CloneDBResponse) ToJsonString() string

type CloneDBResponseParams

type CloneDBResponseParams struct {
	// Async task request ID, which can be used in the `DescribeFlowStatus` API to query the execution result of an async task
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseInterCommunicationRequest

type CloseInterCommunicationRequest struct {
	*tchttp.BaseRequest

	// IDs of instances with interconnection disabled
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

func NewCloseInterCommunicationRequest

func NewCloseInterCommunicationRequest() (request *CloseInterCommunicationRequest)

func (*CloseInterCommunicationRequest) FromJsonString

func (r *CloseInterCommunicationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseInterCommunicationRequest) ToJsonString

func (r *CloseInterCommunicationRequest) ToJsonString() string

type CloseInterCommunicationRequestParams

type CloseInterCommunicationRequestParams struct {
	// IDs of instances with interconnection disabled
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

Predefined struct for user

type CloseInterCommunicationResponse

type CloseInterCommunicationResponse struct {
	*tchttp.BaseResponse
	Response *CloseInterCommunicationResponseParams `json:"Response"`
}

func NewCloseInterCommunicationResponse

func NewCloseInterCommunicationResponse() (response *CloseInterCommunicationResponse)

func (*CloseInterCommunicationResponse) FromJsonString

func (r *CloseInterCommunicationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseInterCommunicationResponse) ToJsonString

func (r *CloseInterCommunicationResponse) ToJsonString() string

type CloseInterCommunicationResponseParams

type CloseInterCommunicationResponseParams struct {
	// IDs of instance and async task
	InterInstanceFlowSet []*InterInstanceFlow `json:"InterInstanceFlowSet,omitnil,omitempty" name:"InterInstanceFlowSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CompleteExpansionRequest

type CompleteExpansionRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-j8kv137v.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewCompleteExpansionRequest

func NewCompleteExpansionRequest() (request *CompleteExpansionRequest)

func (*CompleteExpansionRequest) FromJsonString

func (r *CompleteExpansionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CompleteExpansionRequest) ToJsonString

func (r *CompleteExpansionRequest) ToJsonString() string

type CompleteExpansionRequestParams

type CompleteExpansionRequestParams struct {
	// Instance ID, in the format of mssql-j8kv137v.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type CompleteExpansionResponse

type CompleteExpansionResponse struct {
	*tchttp.BaseResponse
	Response *CompleteExpansionResponseParams `json:"Response"`
}

func NewCompleteExpansionResponse

func NewCompleteExpansionResponse() (response *CompleteExpansionResponse)

func (*CompleteExpansionResponse) FromJsonString

func (r *CompleteExpansionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CompleteExpansionResponse) ToJsonString

func (r *CompleteExpansionResponse) ToJsonString() string

type CompleteExpansionResponseParams

type CompleteExpansionResponseParams struct {
	// Process ID, which can be used to query the status of the immediate switch upgrade task through the API DescribeFlowStatus.
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CompleteMigrationRequest

type CompleteMigrationRequest struct {
	*tchttp.BaseRequest

	// Migration task ID.
	MigrateId *int64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

func NewCompleteMigrationRequest

func NewCompleteMigrationRequest() (request *CompleteMigrationRequest)

func (*CompleteMigrationRequest) FromJsonString

func (r *CompleteMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CompleteMigrationRequest) ToJsonString

func (r *CompleteMigrationRequest) ToJsonString() string

type CompleteMigrationRequestParams

type CompleteMigrationRequestParams struct {
	// Migration task ID.
	MigrateId *int64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

Predefined struct for user

type CompleteMigrationResponse

type CompleteMigrationResponse struct {
	*tchttp.BaseResponse
	Response *CompleteMigrationResponseParams `json:"Response"`
}

func NewCompleteMigrationResponse

func NewCompleteMigrationResponse() (response *CompleteMigrationResponse)

func (*CompleteMigrationResponse) FromJsonString

func (r *CompleteMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CompleteMigrationResponse) ToJsonString

func (r *CompleteMigrationResponse) ToJsonString() string

type CompleteMigrationResponseParams

type CompleteMigrationResponseParams struct {
	// Process ID returned after the migration process is initiated.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CosUploadBackupFile

type CosUploadBackupFile struct {
	// Backup name
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Backup size
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`
}

type CreateAccountRequest

type CreateAccountRequest struct {
	*tchttp.BaseRequest

	// Database instance ID in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database instance account information.
	Accounts []*AccountCreateInfo `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

func NewCreateAccountRequest

func NewCreateAccountRequest() (request *CreateAccountRequest)

func (*CreateAccountRequest) FromJsonString

func (r *CreateAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccountRequest) ToJsonString

func (r *CreateAccountRequest) ToJsonString() string

type CreateAccountRequestParams

type CreateAccountRequestParams struct {
	// Database instance ID in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database instance account information.
	Accounts []*AccountCreateInfo `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

Predefined struct for user

type CreateAccountResponse

type CreateAccountResponse struct {
	*tchttp.BaseResponse
	Response *CreateAccountResponseParams `json:"Response"`
}

func NewCreateAccountResponse

func NewCreateAccountResponse() (response *CreateAccountResponse)

func (*CreateAccountResponse) FromJsonString

func (r *CreateAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAccountResponse) ToJsonString

func (r *CreateAccountResponse) ToJsonString() string

type CreateAccountResponseParams

type CreateAccountResponseParams struct {
	// Task flow ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBackupMigrationRequest

type CreateBackupMigrationRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Migration task restoration type. FULL: full backup restoration, FULL_LOG: full backup and transaction log restoration, FULL_DIFF: full backup and differential backup restoration
	RecoveryType *string `json:"RecoveryType,omitnil,omitempty" name:"RecoveryType"`

	// Backup upload type. COS_URL: the backup is stored in user's Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application's Cloud Object Storage and needs to be uploaded by the user.
	UploadType *string `json:"UploadType,omitnil,omitempty" name:"UploadType"`

	// Task name
	MigrationName *string `json:"MigrationName,omitnil,omitempty" name:"MigrationName"`

	// If the UploadType is COS_URL, fill in the URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`
}

func NewCreateBackupMigrationRequest

func NewCreateBackupMigrationRequest() (request *CreateBackupMigrationRequest)

func (*CreateBackupMigrationRequest) FromJsonString

func (r *CreateBackupMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBackupMigrationRequest) ToJsonString

func (r *CreateBackupMigrationRequest) ToJsonString() string

type CreateBackupMigrationRequestParams

type CreateBackupMigrationRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Migration task restoration type. FULL: full backup restoration, FULL_LOG: full backup and transaction log restoration, FULL_DIFF: full backup and differential backup restoration
	RecoveryType *string `json:"RecoveryType,omitnil,omitempty" name:"RecoveryType"`

	// Backup upload type. COS_URL: the backup is stored in user's Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application's Cloud Object Storage and needs to be uploaded by the user.
	UploadType *string `json:"UploadType,omitnil,omitempty" name:"UploadType"`

	// Task name
	MigrationName *string `json:"MigrationName,omitnil,omitempty" name:"MigrationName"`

	// If the UploadType is COS_URL, fill in the URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`
}

Predefined struct for user

type CreateBackupMigrationResponse

type CreateBackupMigrationResponse struct {
	*tchttp.BaseResponse
	Response *CreateBackupMigrationResponseParams `json:"Response"`
}

func NewCreateBackupMigrationResponse

func NewCreateBackupMigrationResponse() (response *CreateBackupMigrationResponse)

func (*CreateBackupMigrationResponse) FromJsonString

func (r *CreateBackupMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBackupMigrationResponse) ToJsonString

func (r *CreateBackupMigrationResponse) ToJsonString() string

type CreateBackupMigrationResponseParams

type CreateBackupMigrationResponseParams struct {
	// Backup import task ID
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBackupRequest

type CreateBackupRequest struct {
	*tchttp.BaseRequest

	// Backup policy (0: instance backup, 1: multi-database backup)
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// List of names of databases to be backed up (required only for multi-database backup)
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// (Required) Instance ID in the format of mssql-i1z41iwd
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup name. If this parameter is left empty, a backup name in the format of "[Instance ID]_[Backup start timestamp]" will be automatically generated.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// Backup storage policy. 0: Follow the custom backup retention policy; 1: Follow the instance lifecycle until the instance is eliminated. Default value: 0.
	StorageStrategy *int64 `json:"StorageStrategy,omitnil,omitempty" name:"StorageStrategy"`
}

func NewCreateBackupRequest

func NewCreateBackupRequest() (request *CreateBackupRequest)

func (*CreateBackupRequest) FromJsonString

func (r *CreateBackupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBackupRequest) ToJsonString

func (r *CreateBackupRequest) ToJsonString() string

type CreateBackupRequestParams

type CreateBackupRequestParams struct {
	// Backup policy (0: instance backup, 1: multi-database backup)
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// List of names of databases to be backed up (required only for multi-database backup)
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// (Required) Instance ID in the format of mssql-i1z41iwd
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup name. If this parameter is left empty, a backup name in the format of "[Instance ID]_[Backup start timestamp]" will be automatically generated.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// Backup storage policy. 0: Follow the custom backup retention policy; 1: Follow the instance lifecycle until the instance is eliminated. Default value: 0.
	StorageStrategy *int64 `json:"StorageStrategy,omitnil,omitempty" name:"StorageStrategy"`
}

Predefined struct for user

type CreateBackupResponse

type CreateBackupResponse struct {
	*tchttp.BaseResponse
	Response *CreateBackupResponseParams `json:"Response"`
}

func NewCreateBackupResponse

func NewCreateBackupResponse() (response *CreateBackupResponse)

func (*CreateBackupResponse) FromJsonString

func (r *CreateBackupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBackupResponse) ToJsonString

func (r *CreateBackupResponse) ToJsonString() string

type CreateBackupResponseParams

type CreateBackupResponseParams struct {
	// The async job ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBasicDBInstancesRequest

type CreateBasicDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Number of CPU cores.
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Instance memory size in GB.
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance storage capacity in GB.
	Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// VPC subnet ID in the format of subnet-bdoe83fa.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Host type of purchased instances. CLOUD_PREMIUM: Premium Disk for virtual machines; CLOUD_SSD: Cloud SSD for virtual machines; CLOUD_HSSD: Enhanced SSD for virtual machines; CLOUD_BSSD: Balanced SSD for virtual machines.
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Billing mode. Valid value: POSTPAID (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID.
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: 1. Maximum value: 10.
	GoodsNum *uint64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Whether to automatically use voucher. 0: no, 1: yes. Default value: no.
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value: `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Disk encryption identifier, 0-unencrypted, 1-encrypted.
	DiskEncryptFlag *int64 `json:"DiskEncryptFlag,omitnil,omitempty" name:"DiskEncryptFlag"`
}

func NewCreateBasicDBInstancesRequest

func NewCreateBasicDBInstancesRequest() (request *CreateBasicDBInstancesRequest)

func (*CreateBasicDBInstancesRequest) FromJsonString

func (r *CreateBasicDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBasicDBInstancesRequest) ToJsonString

func (r *CreateBasicDBInstancesRequest) ToJsonString() string

type CreateBasicDBInstancesRequestParams

type CreateBasicDBInstancesRequestParams struct {
	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Number of CPU cores.
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Instance memory size in GB.
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance storage capacity in GB.
	Storage *uint64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// VPC subnet ID in the format of subnet-bdoe83fa.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Host type of purchased instances. CLOUD_PREMIUM: Premium Disk for virtual machines; CLOUD_SSD: Cloud SSD for virtual machines; CLOUD_HSSD: Enhanced SSD for virtual machines; CLOUD_BSSD: Balanced SSD for virtual machines.
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Billing mode. Valid value: POSTPAID (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID.
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: 1. Maximum value: 10.
	GoodsNum *uint64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Whether to automatically use voucher. 0: no, 1: yes. Default value: no.
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value: `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Disk encryption identifier, 0-unencrypted, 1-encrypted.
	DiskEncryptFlag *int64 `json:"DiskEncryptFlag,omitnil,omitempty" name:"DiskEncryptFlag"`
}

Predefined struct for user

type CreateBasicDBInstancesResponse

type CreateBasicDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateBasicDBInstancesResponseParams `json:"Response"`
}

func NewCreateBasicDBInstancesResponse

func NewCreateBasicDBInstancesResponse() (response *CreateBasicDBInstancesResponse)

func (*CreateBasicDBInstancesResponse) FromJsonString

func (r *CreateBasicDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBasicDBInstancesResponse) ToJsonString

func (r *CreateBasicDBInstancesResponse) ToJsonString() string

type CreateBasicDBInstancesResponseParams

type CreateBasicDBInstancesResponseParams struct {
	// Order name.
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBusinessDBInstancesRequest

type CreateBusinessDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// The number of CPU cores of the instance you want to purchase.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The host type of purchased instance. Valid values: `CLOUD_PREMIUM` (virtual machine with premium cloud disk), `CLOUD_SSD` (virtual machine with SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: `1`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of subnet-bdoe83fa. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// - Supported versions of business intelligence server. Valid values: `201603` (SQL Server 2016 Integration Services), `201703` (SQL Server 2017 Integration Services), `201903` (SQL Server 2019 Integration Services). Default value: `201903`. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Tags associated with the instances to be created
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}

func NewCreateBusinessDBInstancesRequest

func NewCreateBusinessDBInstancesRequest() (request *CreateBusinessDBInstancesRequest)

func (*CreateBusinessDBInstancesRequest) FromJsonString

func (r *CreateBusinessDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBusinessDBInstancesRequest) ToJsonString

func (r *CreateBusinessDBInstancesRequest) ToJsonString() string

type CreateBusinessDBInstancesRequestParams

type CreateBusinessDBInstancesRequestParams struct {
	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// The number of CPU cores of the instance you want to purchase.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The host type of purchased instance. Valid values: `CLOUD_PREMIUM` (virtual machine with premium cloud disk), `CLOUD_SSD` (virtual machine with SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: `1`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of subnet-bdoe83fa. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// - Supported versions of business intelligence server. Valid values: `201603` (SQL Server 2016 Integration Services), `201703` (SQL Server 2017 Integration Services), `201903` (SQL Server 2019 Integration Services). Default value: `201903`. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Tags associated with the instances to be created
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}

Predefined struct for user

type CreateBusinessDBInstancesResponse

type CreateBusinessDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateBusinessDBInstancesResponseParams `json:"Response"`
}

func NewCreateBusinessDBInstancesResponse

func NewCreateBusinessDBInstancesResponse() (response *CreateBusinessDBInstancesResponse)

func (*CreateBusinessDBInstancesResponse) FromJsonString

func (r *CreateBusinessDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBusinessDBInstancesResponse) ToJsonString

func (r *CreateBusinessDBInstancesResponse) ToJsonString() string

type CreateBusinessDBInstancesResponseParams

type CreateBusinessDBInstancesResponseParams struct {
	// Order name
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// Process ID Note: This field may return null, indicating that no valid values can be obtained.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// IDs of instances Note: This field may return null, indicating that no valid values can be obtained.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBusinessIntelligenceFileRequest

type CreateBusinessIntelligenceFileRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	FileURL *string `json:"FileURL,omitnil,omitempty" name:"FileURL"`

	// File type. Valid values: `FLAT` (flat file as data source), `SSIS` (.ispac SSIS package file)
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

func NewCreateBusinessIntelligenceFileRequest

func NewCreateBusinessIntelligenceFileRequest() (request *CreateBusinessIntelligenceFileRequest)

func (*CreateBusinessIntelligenceFileRequest) FromJsonString

func (r *CreateBusinessIntelligenceFileRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBusinessIntelligenceFileRequest) ToJsonString

type CreateBusinessIntelligenceFileRequestParams

type CreateBusinessIntelligenceFileRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	FileURL *string `json:"FileURL,omitnil,omitempty" name:"FileURL"`

	// File type. Valid values: `FLAT` (flat file as data source), `SSIS` (.ispac SSIS package file)
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

Predefined struct for user

type CreateBusinessIntelligenceFileResponse

type CreateBusinessIntelligenceFileResponse struct {
	*tchttp.BaseResponse
	Response *CreateBusinessIntelligenceFileResponseParams `json:"Response"`
}

func NewCreateBusinessIntelligenceFileResponse

func NewCreateBusinessIntelligenceFileResponse() (response *CreateBusinessIntelligenceFileResponse)

func (*CreateBusinessIntelligenceFileResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBusinessIntelligenceFileResponse) ToJsonString

type CreateBusinessIntelligenceFileResponseParams

type CreateBusinessIntelligenceFileResponseParams struct {
	// File name
	FileTaskId *string `json:"FileTaskId,omitnil,omitempty" name:"FileTaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCloudDBInstancesRequest

type CreateCloudDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance AZ, such as `ap-guangzhou-1` (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Number of CPU cores
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The host type of the purchased instance. Valid values: `CLOUD_HSSD` (virtual machine with enhanced SSD), `CLOUD_TSSD` (virtual machine with ulTra SSD), `CLOUD_BSSD` (virtual machine with balanced SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: `1`.  Maximum value: `10`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of `subnet-bdoe83fa`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of `vpc-dsp338hz`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// The purchase period of an instance. Default value: `1` (one month).  Maximum value: `48`.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Whether to automatically use voucher. Valid values: `0` (no, default), `1` (yes).
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order)
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// SQL Server version. Valid values:  `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard).  Default value: `2008R2`.  The available version varies by region, and you can pull the version information through the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Auto-renewal flag, which takes effect only when purchasing a monthly subscribed instance.  Valid values:  `0` (auto-renewal disabled), `1` (auto-renewal enabled). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Security group list, which contains security group IDs in the format of `sg-xxx`.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours. Hour
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Whether to deploy across AZs. Default value: `false`.
	MultiZones *bool `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Tags associated with the instances to be created
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value:  `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value:  `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func NewCreateCloudDBInstancesRequest

func NewCreateCloudDBInstancesRequest() (request *CreateCloudDBInstancesRequest)

func (*CreateCloudDBInstancesRequest) FromJsonString

func (r *CreateCloudDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCloudDBInstancesRequest) ToJsonString

func (r *CreateCloudDBInstancesRequest) ToJsonString() string

type CreateCloudDBInstancesRequestParams

type CreateCloudDBInstancesRequestParams struct {
	// Instance AZ, such as `ap-guangzhou-1` (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Number of CPU cores
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The host type of the purchased instance. Valid values: `CLOUD_HSSD` (virtual machine with enhanced SSD), `CLOUD_TSSD` (virtual machine with ulTra SSD), `CLOUD_BSSD` (virtual machine with balanced SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: `1`.  Maximum value: `10`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of `subnet-bdoe83fa`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of `vpc-dsp338hz`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// The purchase period of an instance. Default value: `1` (one month).  Maximum value: `48`.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Whether to automatically use voucher. Valid values: `0` (no, default), `1` (yes).
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order)
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// SQL Server version. Valid values:  `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard).  Default value: `2008R2`.  The available version varies by region, and you can pull the version information through the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Auto-renewal flag, which takes effect only when purchasing a monthly subscribed instance.  Valid values:  `0` (auto-renewal disabled), `1` (auto-renewal enabled). Default value: `0`.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Security group list, which contains security group IDs in the format of `sg-xxx`.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: `1` (Monday), `2` (Tuesday), `3` (Wednesday), `4` (Thursday), `5` (Friday), `6` (Saturday), `7` (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours. Hour
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Whether to deploy across AZs. Default value: `false`.
	MultiZones *bool `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Tags associated with the instances to be created
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value:  `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value:  `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

Predefined struct for user

type CreateCloudDBInstancesResponse

type CreateCloudDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateCloudDBInstancesResponseParams `json:"Response"`
}

func NewCreateCloudDBInstancesResponse

func NewCreateCloudDBInstancesResponse() (response *CreateCloudDBInstancesResponse)

func (*CreateCloudDBInstancesResponse) FromJsonString

func (r *CreateCloudDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCloudDBInstancesResponse) ToJsonString

func (r *CreateCloudDBInstancesResponse) ToJsonString() string

type CreateCloudDBInstancesResponseParams

type CreateCloudDBInstancesResponseParams struct {
	// Order name
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCloudReadOnlyDBInstancesRequest

type CreateCloudReadOnlyDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of  `mssql-3l3fgqn7`.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance AZ, such as `ap-guangzhou-1` (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Read-only group types. Valid values: `1` (each read-only replica is placed in one auto-created read-only group), `2` (all read-only replicas are placed in one auto-created read-only group), `3` (all read-only replicas are placed in one existing read-only group).
	ReadOnlyGroupType *int64 `json:"ReadOnlyGroupType,omitnil,omitempty" name:"ReadOnlyGroupType"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Number of instance cores.
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The host type of purchased instance. Valid values: `CLOUD_HSSD` (virtual machine with enhanced SSD), `CLOUD_TSSD` (virtual machine with ulTra SSD), `CLOUD_BSSD` (virtual machine with balanced SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Valid values: `0` (not upgrade the primary instance by default), `1` (upgrade the primary instance to complete the RO deployment).  You need to pass in `1` for this parameter and upgrade the primary instance to cluster edition.
	ReadOnlyGroupForcedUpgrade *int64 `json:"ReadOnlyGroupForcedUpgrade,omitnil,omitempty" name:"ReadOnlyGroupForcedUpgrade"`

	// Existing read-only group ID, which is required when `ReadOnlyGroupType` is `3`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// New read-only group ID, which is required when `ReadOnlyGroupType` is `2`.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Whether delayed read-only instance removal is enabled in a new read-only group, which is required when `ReadOnlyGroupType` is `2`. Valid values: `1` (enabled), `0` (disabled).  The read-only replica will be automatically removed when the delay between it and the primary instance exceeds the threshold.
	ReadOnlyGroupIsOfflineDelay *int64 `json:"ReadOnlyGroupIsOfflineDelay,omitnil,omitempty" name:"ReadOnlyGroupIsOfflineDelay"`

	// The delay threshold for a new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMaxDelayTime *int64 `json:"ReadOnlyGroupMaxDelayTime,omitnil,omitempty" name:"ReadOnlyGroupMaxDelayTime"`

	// Minimum number of reserved read-only replicas when the delayed removal is enabled for the new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMinInGroup *int64 `json:"ReadOnlyGroupMinInGroup,omitnil,omitempty" name:"ReadOnlyGroupMinInGroup"`

	// Billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Number of read-only instances to be purchased this time. Default value: `2`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of `subnet-bdoe83fa`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of `vpc-dsp338hz`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// The purchase period of an instance. Default value: `1` (one month).  Maximum value: `48`.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of `sg-xxx`.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Whether to automatically use voucher. Valid values: `0` (no, default), `1` (yes).
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value:  Chinese_PRC_CI_AS.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value:  `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Disk encryption identification, 0 - no encryption, 1 - encryption.
	DiskEncryptFlag *int64 `json:"DiskEncryptFlag,omitnil,omitempty" name:"DiskEncryptFlag"`
}

func NewCreateCloudReadOnlyDBInstancesRequest

func NewCreateCloudReadOnlyDBInstancesRequest() (request *CreateCloudReadOnlyDBInstancesRequest)

func (*CreateCloudReadOnlyDBInstancesRequest) FromJsonString

func (r *CreateCloudReadOnlyDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCloudReadOnlyDBInstancesRequest) ToJsonString

type CreateCloudReadOnlyDBInstancesRequestParams

type CreateCloudReadOnlyDBInstancesRequestParams struct {
	// Instance ID in the format of  `mssql-3l3fgqn7`.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance AZ, such as `ap-guangzhou-1` (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Read-only group types. Valid values: `1` (each read-only replica is placed in one auto-created read-only group), `2` (all read-only replicas are placed in one auto-created read-only group), `3` (all read-only replicas are placed in one existing read-only group).
	ReadOnlyGroupType *int64 `json:"ReadOnlyGroupType,omitnil,omitempty" name:"ReadOnlyGroupType"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Number of instance cores.
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The host type of purchased instance. Valid values: `CLOUD_HSSD` (virtual machine with enhanced SSD), `CLOUD_TSSD` (virtual machine with ulTra SSD), `CLOUD_BSSD` (virtual machine with balanced SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Valid values: `0` (not upgrade the primary instance by default), `1` (upgrade the primary instance to complete the RO deployment).  You need to pass in `1` for this parameter and upgrade the primary instance to cluster edition.
	ReadOnlyGroupForcedUpgrade *int64 `json:"ReadOnlyGroupForcedUpgrade,omitnil,omitempty" name:"ReadOnlyGroupForcedUpgrade"`

	// Existing read-only group ID, which is required when `ReadOnlyGroupType` is `3`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// New read-only group ID, which is required when `ReadOnlyGroupType` is `2`.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Whether delayed read-only instance removal is enabled in a new read-only group, which is required when `ReadOnlyGroupType` is `2`. Valid values: `1` (enabled), `0` (disabled).  The read-only replica will be automatically removed when the delay between it and the primary instance exceeds the threshold.
	ReadOnlyGroupIsOfflineDelay *int64 `json:"ReadOnlyGroupIsOfflineDelay,omitnil,omitempty" name:"ReadOnlyGroupIsOfflineDelay"`

	// The delay threshold for a new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMaxDelayTime *int64 `json:"ReadOnlyGroupMaxDelayTime,omitnil,omitempty" name:"ReadOnlyGroupMaxDelayTime"`

	// Minimum number of reserved read-only replicas when the delayed removal is enabled for the new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMinInGroup *int64 `json:"ReadOnlyGroupMinInGroup,omitnil,omitempty" name:"ReadOnlyGroupMinInGroup"`

	// Billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Number of read-only instances to be purchased this time. Default value: `2`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of `subnet-bdoe83fa`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of `vpc-dsp338hz`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// The purchase period of an instance. Default value: `1` (one month).  Maximum value: `48`.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of `sg-xxx`.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Whether to automatically use voucher. Valid values: `0` (no, default), `1` (yes).
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value:  Chinese_PRC_CI_AS.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value:  `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Disk encryption identification, 0 - no encryption, 1 - encryption.
	DiskEncryptFlag *int64 `json:"DiskEncryptFlag,omitnil,omitempty" name:"DiskEncryptFlag"`
}

Predefined struct for user

type CreateCloudReadOnlyDBInstancesResponse

type CreateCloudReadOnlyDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateCloudReadOnlyDBInstancesResponseParams `json:"Response"`
}

func NewCreateCloudReadOnlyDBInstancesResponse

func NewCreateCloudReadOnlyDBInstancesResponse() (response *CreateCloudReadOnlyDBInstancesResponse)

func (*CreateCloudReadOnlyDBInstancesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCloudReadOnlyDBInstancesResponse) ToJsonString

type CreateCloudReadOnlyDBInstancesResponseParams

type CreateCloudReadOnlyDBInstancesResponseParams struct {
	// Order name in array.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDBInstancesRequest

type CreateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance storage capacity in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Billing mode. Valid value: POSTPAID (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: 1. Maximum value: 10.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Whether to automatically use voucher. 0: no, 1: yes. Default value: no.
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// The type of purchased high-availability instance. Valid values: DUAL (dual-server high availability), CLUSTER (cluster). Default value: DUAL.
	HAType *string `json:"HAType,omitnil,omitempty" name:"HAType"`

	// Whether to deploy across availability zones. Default value: false.
	MultiZones *bool `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value: `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Whether it is a multi-node architecture instance. Default value: `false`.If MultiNodes = true, the value of the MultiZones parameter must be true.
	MultiNodes *bool `json:"MultiNodes,omitnil,omitempty" name:"MultiNodes"`

	// The zone in which the standby node is available. Default is empty. When MultiNodes = true, the availability zones of the primary and standby nodes cannot all be the same. The minimum number of availability zones for the standby nodes is 2, and the maximum is 5.
	DrZones []*string `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

func NewCreateDBInstancesRequest

func NewCreateDBInstancesRequest() (request *CreateDBInstancesRequest)

func (*CreateDBInstancesRequest) FromJsonString

func (r *CreateDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBInstancesRequest) ToJsonString

func (r *CreateDBInstancesRequest) ToJsonString() string

type CreateDBInstancesRequestParams

type CreateDBInstancesRequestParams struct {
	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance storage capacity in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Billing mode. Valid value: POSTPAID (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: 1. Maximum value: 10.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Whether to automatically use voucher. 0: no, 1: yes. Default value: no.
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// The type of purchased high-availability instance. Valid values: DUAL (dual-server high availability), CLUSTER (cluster). Default value: DUAL.
	HAType *string `json:"HAType,omitnil,omitempty" name:"HAType"`

	// Whether to deploy across availability zones. Default value: false.
	MultiZones *bool `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value: `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Whether it is a multi-node architecture instance. Default value: `false`.If MultiNodes = true, the value of the MultiZones parameter must be true.
	MultiNodes *bool `json:"MultiNodes,omitnil,omitempty" name:"MultiNodes"`

	// The zone in which the standby node is available. Default is empty. When MultiNodes = true, the availability zones of the primary and standby nodes cannot all be the same. The minimum number of availability zones for the standby nodes is 2, and the maximum is 5.
	DrZones []*string `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

Predefined struct for user

type CreateDBInstancesResponse

type CreateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateDBInstancesResponseParams `json:"Response"`
}

func NewCreateDBInstancesResponse

func NewCreateDBInstancesResponse() (response *CreateDBInstancesResponse)

func (*CreateDBInstancesResponse) FromJsonString

func (r *CreateDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBInstancesResponse) ToJsonString

func (r *CreateDBInstancesResponse) ToJsonString() string

type CreateDBInstancesResponseParams

type CreateDBInstancesResponseParams struct {
	// Order name.
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// Order name array.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDBRequest

type CreateDBRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database creation information
	DBs []*DBCreateInfo `json:"DBs,omitnil,omitempty" name:"DBs"`
}

func NewCreateDBRequest

func NewCreateDBRequest() (request *CreateDBRequest)

func (*CreateDBRequest) FromJsonString

func (r *CreateDBRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBRequest) ToJsonString

func (r *CreateDBRequest) ToJsonString() string

type CreateDBRequestParams

type CreateDBRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database creation information
	DBs []*DBCreateInfo `json:"DBs,omitnil,omitempty" name:"DBs"`
}

Predefined struct for user

type CreateDBResponse

type CreateDBResponse struct {
	*tchttp.BaseResponse
	Response *CreateDBResponseParams `json:"Response"`
}

func NewCreateDBResponse

func NewCreateDBResponse() (response *CreateDBResponse)

func (*CreateDBResponse) FromJsonString

func (r *CreateDBResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDBResponse) ToJsonString

func (r *CreateDBResponse) ToJsonString() string

type CreateDBResponseParams

type CreateDBResponseParams struct {
	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateIncrementalMigrationRequest

type CreateIncrementalMigrationRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration.
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental backup file. If the UploadType of a full backup file is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`

	// Whether restoration is required. No: not required. Yes: required. Not required by default.
	IsRecovery *string `json:"IsRecovery,omitnil,omitempty" name:"IsRecovery"`
}

func NewCreateIncrementalMigrationRequest

func NewCreateIncrementalMigrationRequest() (request *CreateIncrementalMigrationRequest)

func (*CreateIncrementalMigrationRequest) FromJsonString

func (r *CreateIncrementalMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIncrementalMigrationRequest) ToJsonString

func (r *CreateIncrementalMigrationRequest) ToJsonString() string

type CreateIncrementalMigrationRequestParams

type CreateIncrementalMigrationRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration.
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental backup file. If the UploadType of a full backup file is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`

	// Whether restoration is required. No: not required. Yes: required. Not required by default.
	IsRecovery *string `json:"IsRecovery,omitnil,omitempty" name:"IsRecovery"`
}

Predefined struct for user

type CreateIncrementalMigrationResponse

type CreateIncrementalMigrationResponse struct {
	*tchttp.BaseResponse
	Response *CreateIncrementalMigrationResponseParams `json:"Response"`
}

func NewCreateIncrementalMigrationResponse

func NewCreateIncrementalMigrationResponse() (response *CreateIncrementalMigrationResponse)

func (*CreateIncrementalMigrationResponse) FromJsonString

func (r *CreateIncrementalMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIncrementalMigrationResponse) ToJsonString

func (r *CreateIncrementalMigrationResponse) ToJsonString() string

type CreateIncrementalMigrationResponseParams

type CreateIncrementalMigrationResponseParams struct {
	// ID of an incremental backup import task
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateMigrationRequest

type CreateMigrationRequest struct {
	*tchttp.BaseRequest

	// Migration task name
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// Migration type (1: structure migration, 2: data migration, 3: incremental sync)
	MigrateType *uint64 `json:"MigrateType,omitnil,omitempty" name:"MigrateType"`

	// Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode)
	SourceType *uint64 `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Migration source
	Source *MigrateSource `json:"Source,omitnil,omitempty" name:"Source"`

	// Migration target
	Target *MigrateTarget `json:"Target,omitnil,omitempty" name:"Target"`

	// Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5)
	MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitnil,omitempty" name:"MigrateDBSet"`

	// Restore and rename the databases listed in `ReNameRestoreDatabase`. If this parameter is left empty, all restored databases will be renamed in the default format. This parameter takes effect only when `SourceType=5`.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`
}

func NewCreateMigrationRequest

func NewCreateMigrationRequest() (request *CreateMigrationRequest)

func (*CreateMigrationRequest) FromJsonString

func (r *CreateMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMigrationRequest) ToJsonString

func (r *CreateMigrationRequest) ToJsonString() string

type CreateMigrationRequestParams

type CreateMigrationRequestParams struct {
	// Migration task name
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// Migration type (1: structure migration, 2: data migration, 3: incremental sync)
	MigrateType *uint64 `json:"MigrateType,omitnil,omitempty" name:"MigrateType"`

	// Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode)
	SourceType *uint64 `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Migration source
	Source *MigrateSource `json:"Source,omitnil,omitempty" name:"Source"`

	// Migration target
	Target *MigrateTarget `json:"Target,omitnil,omitempty" name:"Target"`

	// Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5)
	MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitnil,omitempty" name:"MigrateDBSet"`

	// Restore and rename the databases listed in `ReNameRestoreDatabase`. If this parameter is left empty, all restored databases will be renamed in the default format. This parameter takes effect only when `SourceType=5`.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`
}

Predefined struct for user

type CreateMigrationResponse

type CreateMigrationResponse struct {
	*tchttp.BaseResponse
	Response *CreateMigrationResponseParams `json:"Response"`
}

func NewCreateMigrationResponse

func NewCreateMigrationResponse() (response *CreateMigrationResponse)

func (*CreateMigrationResponse) FromJsonString

func (r *CreateMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMigrationResponse) ToJsonString

func (r *CreateMigrationResponse) ToJsonString() string

type CreateMigrationResponseParams

type CreateMigrationResponseParams struct {
	// Migration task ID
	MigrateId *int64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePublishSubscribeRequest

type CreatePublishSubscribeRequest struct {
	*tchttp.BaseRequest

	// Publishing instance ID. For example, mssql-j8kv137v.
	PublishInstanceId *string `json:"PublishInstanceId,omitnil,omitempty" name:"PublishInstanceId"`

	// Subscription instance ID. For example, mssql-j8kv137v.
	SubscribeInstanceId *string `json:"SubscribeInstanceId,omitnil,omitempty" name:"SubscribeInstanceId"`

	// Publish/subscribe relationship collection of the database.
	DatabaseTupleSet []*DatabaseTuple `json:"DatabaseTupleSet,omitnil,omitempty" name:"DatabaseTupleSet"`

	// Publish/subscribe name. The default value is default_name.
	PublishSubscribeName *string `json:"PublishSubscribeName,omitnil,omitempty" name:"PublishSubscribeName"`
}

func NewCreatePublishSubscribeRequest

func NewCreatePublishSubscribeRequest() (request *CreatePublishSubscribeRequest)

func (*CreatePublishSubscribeRequest) FromJsonString

func (r *CreatePublishSubscribeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePublishSubscribeRequest) ToJsonString

func (r *CreatePublishSubscribeRequest) ToJsonString() string

type CreatePublishSubscribeRequestParams

type CreatePublishSubscribeRequestParams struct {
	// Publishing instance ID. For example, mssql-j8kv137v.
	PublishInstanceId *string `json:"PublishInstanceId,omitnil,omitempty" name:"PublishInstanceId"`

	// Subscription instance ID. For example, mssql-j8kv137v.
	SubscribeInstanceId *string `json:"SubscribeInstanceId,omitnil,omitempty" name:"SubscribeInstanceId"`

	// Publish/subscribe relationship collection of the database.
	DatabaseTupleSet []*DatabaseTuple `json:"DatabaseTupleSet,omitnil,omitempty" name:"DatabaseTupleSet"`

	// Publish/subscribe name. The default value is default_name.
	PublishSubscribeName *string `json:"PublishSubscribeName,omitnil,omitempty" name:"PublishSubscribeName"`
}

Predefined struct for user

type CreatePublishSubscribeResponse

type CreatePublishSubscribeResponse struct {
	*tchttp.BaseResponse
	Response *CreatePublishSubscribeResponseParams `json:"Response"`
}

func NewCreatePublishSubscribeResponse

func NewCreatePublishSubscribeResponse() (response *CreatePublishSubscribeResponse)

func (*CreatePublishSubscribeResponse) FromJsonString

func (r *CreatePublishSubscribeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePublishSubscribeResponse) ToJsonString

func (r *CreatePublishSubscribeResponse) ToJsonString() string

type CreatePublishSubscribeResponseParams

type CreatePublishSubscribeResponseParams struct {
	// Process ID. The DescribeFlowStatus API can be used to query the status of the immediate switch upgrade task.
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReadOnlyDBInstancesRequest

type CreateReadOnlyDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of  `mssql-3l3fgqn7`.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance AZ, such as `ap-guangzhou-1` (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Read-only group types. Valid values: `1` (each read-only replica is placed in one auto-created read-only group), `2` (all read-only replicas are placed in one auto-created read-only group), `3` (all read-only replicas are placed in one existing read-only group).
	ReadOnlyGroupType *int64 `json:"ReadOnlyGroupType,omitnil,omitempty" name:"ReadOnlyGroupType"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Valid values: `0` (not upgrade the primary instance by default), `1` (upgrade the primary instance to complete the RO deployment).  You need to pass in `1` for this parameter and upgrade the primary instance to cluster edition.
	ReadOnlyGroupForcedUpgrade *int64 `json:"ReadOnlyGroupForcedUpgrade,omitnil,omitempty" name:"ReadOnlyGroupForcedUpgrade"`

	// Existing read-only group ID, which is required when `ReadOnlyGroupType` is `3`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// New read-only group ID, which is required when `ReadOnlyGroupType` is `2`.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Whether delayed read-only instance removal is enabled in a new read-only group, which is required when `ReadOnlyGroupType` is `2`. Valid values: `1` (enabled), `0` (disabled).  The read-only replica will be automatically removed when the delay between it and the primary instance exceeds the threshold.
	ReadOnlyGroupIsOfflineDelay *int64 `json:"ReadOnlyGroupIsOfflineDelay,omitnil,omitempty" name:"ReadOnlyGroupIsOfflineDelay"`

	// The delay threshold for a new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMaxDelayTime *int64 `json:"ReadOnlyGroupMaxDelayTime,omitnil,omitempty" name:"ReadOnlyGroupMaxDelayTime"`

	// Minimum number of reserved read-only replicas when the delayed removal is enabled for the new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMinInGroup *int64 `json:"ReadOnlyGroupMinInGroup,omitnil,omitempty" name:"ReadOnlyGroupMinInGroup"`

	// Billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Number of read-only instances to be purchased this time. Default value: `2`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of `subnet-bdoe83fa`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of `vpc-dsp338hz`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// The purchase period of an instance. Default value: `1` (one month).  Maximum value: `48`.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of `sg-xxx`.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Whether to automatically use voucher. Valid values: `0` (no, default), `1` (yes).
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value:  Chinese_PRC_CI_AS.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value:  `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func NewCreateReadOnlyDBInstancesRequest

func NewCreateReadOnlyDBInstancesRequest() (request *CreateReadOnlyDBInstancesRequest)

func (*CreateReadOnlyDBInstancesRequest) FromJsonString

func (r *CreateReadOnlyDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyDBInstancesRequest) ToJsonString

func (r *CreateReadOnlyDBInstancesRequest) ToJsonString() string

type CreateReadOnlyDBInstancesRequestParams

type CreateReadOnlyDBInstancesRequestParams struct {
	// Instance ID in the format of  `mssql-3l3fgqn7`.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance AZ, such as `ap-guangzhou-1` (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the`DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Read-only group types. Valid values: `1` (each read-only replica is placed in one auto-created read-only group), `2` (all read-only replicas are placed in one auto-created read-only group), `3` (all read-only replicas are placed in one existing read-only group).
	ReadOnlyGroupType *int64 `json:"ReadOnlyGroupType,omitnil,omitempty" name:"ReadOnlyGroupType"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance disk size in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Valid values: `0` (not upgrade the primary instance by default), `1` (upgrade the primary instance to complete the RO deployment).  You need to pass in `1` for this parameter and upgrade the primary instance to cluster edition.
	ReadOnlyGroupForcedUpgrade *int64 `json:"ReadOnlyGroupForcedUpgrade,omitnil,omitempty" name:"ReadOnlyGroupForcedUpgrade"`

	// Existing read-only group ID, which is required when `ReadOnlyGroupType` is `3`.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// New read-only group ID, which is required when `ReadOnlyGroupType` is `2`.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Whether delayed read-only instance removal is enabled in a new read-only group, which is required when `ReadOnlyGroupType` is `2`. Valid values: `1` (enabled), `0` (disabled).  The read-only replica will be automatically removed when the delay between it and the primary instance exceeds the threshold.
	ReadOnlyGroupIsOfflineDelay *int64 `json:"ReadOnlyGroupIsOfflineDelay,omitnil,omitempty" name:"ReadOnlyGroupIsOfflineDelay"`

	// The delay threshold for a new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMaxDelayTime *int64 `json:"ReadOnlyGroupMaxDelayTime,omitnil,omitempty" name:"ReadOnlyGroupMaxDelayTime"`

	// Minimum number of reserved read-only replicas when the delayed removal is enabled for the new read-only group, which is required when `ReadOnlyGroupType` is `2` and `ReadOnlyGroupIsOfflineDelay` is `1`.
	ReadOnlyGroupMinInGroup *int64 `json:"ReadOnlyGroupMinInGroup,omitnil,omitempty" name:"ReadOnlyGroupMinInGroup"`

	// Billing mode. Valid values: `PREPAID` (monthly subscription), `POSTPAID` (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Number of read-only instances to be purchased this time. Default value: `2`.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// VPC subnet ID in the format of `subnet-bdoe83fa`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of `vpc-dsp338hz`. Both `SubnetId` and `VpcId` need to be set or unset at the same time.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// The purchase period of an instance. Default value: `1` (one month).  Maximum value: `48`.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of `sg-xxx`.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Whether to automatically use voucher. Valid values: `0` (no, default), `1` (yes).
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Array of voucher IDs (currently, only one voucher can be used per order).
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Collation of system character sets. Default value:  Chinese_PRC_CI_AS.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value:  `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

Predefined struct for user

type CreateReadOnlyDBInstancesResponse

type CreateReadOnlyDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateReadOnlyDBInstancesResponseParams `json:"Response"`
}

func NewCreateReadOnlyDBInstancesResponse

func NewCreateReadOnlyDBInstancesResponse() (response *CreateReadOnlyDBInstancesResponse)

func (*CreateReadOnlyDBInstancesResponse) FromJsonString

func (r *CreateReadOnlyDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReadOnlyDBInstancesResponse) ToJsonString

func (r *CreateReadOnlyDBInstancesResponse) ToJsonString() string

type CreateReadOnlyDBInstancesResponseParams

type CreateReadOnlyDBInstancesResponseParams struct {
	// Order name in array.
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CrossBackupAddr

type CrossBackupAddr struct {
	// The target region of cross-region backup
	CrossRegion *string `json:"CrossRegion,omitnil,omitempty" name:"CrossRegion"`

	// The address used to download the cross-region backup over a private network
	CrossInternalAddr *string `json:"CrossInternalAddr,omitnil,omitempty" name:"CrossInternalAddr"`

	// The address used to download the cross-region backup over a public network
	CrossExternalAddr *string `json:"CrossExternalAddr,omitnil,omitempty" name:"CrossExternalAddr"`
}

type CrossRegionStatus

type CrossRegionStatus struct {
	// The target region of cross-region backup
	CrossRegion *string `json:"CrossRegion,omitnil,omitempty" name:"CrossRegion"`

	// Synchronization status of cross-region backup. Valid values: `0` (creating), `1` (succeeded), `2`: (failed), `4` (syncing)
	CrossStatus *int64 `json:"CrossStatus,omitnil,omitempty" name:"CrossStatus"`
}

type CrossSummaryDetailRes

type CrossSummaryDetailRes struct {
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	CrossBackupEnabled *string `json:"CrossBackupEnabled,omitnil,omitempty" name:"CrossBackupEnabled"`

	CrossRegions []*string `json:"CrossRegions,omitnil,omitempty" name:"CrossRegions"`

	LastBackupStartTime *string `json:"LastBackupStartTime,omitnil,omitempty" name:"LastBackupStartTime"`

	CrossBackupSaveDays *int64 `json:"CrossBackupSaveDays,omitnil,omitempty" name:"CrossBackupSaveDays"`

	DataBackupSpace *uint64 `json:"DataBackupSpace,omitnil,omitempty" name:"DataBackupSpace"`

	DataBackupCount *uint64 `json:"DataBackupCount,omitnil,omitempty" name:"DataBackupCount"`

	LogBackupSpace *uint64 `json:"LogBackupSpace,omitnil,omitempty" name:"LogBackupSpace"`

	LogBackupCount *uint64 `json:"LogBackupCount,omitnil,omitempty" name:"LogBackupCount"`

	ActualUsedSpace *uint64 `json:"ActualUsedSpace,omitnil,omitempty" name:"ActualUsedSpace"`

	ActualUsedCount *uint64 `json:"ActualUsedCount,omitnil,omitempty" name:"ActualUsedCount"`
}

type CutXEventsRequest

type CutXEventsRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewCutXEventsRequest

func NewCutXEventsRequest() (request *CutXEventsRequest)

func (*CutXEventsRequest) FromJsonString

func (r *CutXEventsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CutXEventsRequest) ToJsonString

func (r *CutXEventsRequest) ToJsonString() string

type CutXEventsRequestParams

type CutXEventsRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type CutXEventsResponse

type CutXEventsResponse struct {
	*tchttp.BaseResponse
	Response *CutXEventsResponseParams `json:"Response"`
}

func NewCutXEventsResponse

func NewCutXEventsResponse() (response *CutXEventsResponse)

func (*CutXEventsResponse) FromJsonString

func (r *CutXEventsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CutXEventsResponse) ToJsonString

func (r *CutXEventsResponse) ToJsonString() string

type CutXEventsResponseParams

type CutXEventsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DBCreateInfo

type DBCreateInfo struct {
	// Database name
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// Character set, which can be queried by the `DescribeDBCharsets` API. Default value: `Chinese_PRC_CI_AS`.
	Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"`

	// Database account permission information
	Accounts []*AccountPrivilege `json:"Accounts,omitnil,omitempty" name:"Accounts"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

type DBDetail

type DBDetail struct {
	// Database name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Character set
	Charset *string `json:"Charset,omitnil,omitempty" name:"Charset"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Database creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Database status. 1: creating, 2: running, 3: modifying, -1: dropping
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Database account permission information
	Accounts []*AccountPrivilege `json:"Accounts,omitnil,omitempty" name:"Accounts"`

	// Internal status. ONLINE: running
	InternalStatus *string `json:"InternalStatus,omitnil,omitempty" name:"InternalStatus"`

	// TDE status. Valid values: `enable` (enabled), `disable` (disabled).
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`
}

type DBInstance

type DBInstance struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Project ID of instance
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance region ID
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Instance AZ ID
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Instance VPC ID, which will be 0 if the basic network is used
	VpcId *int64 `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Instance VPC subnet ID, which will be 0 if the basic network is used
	SubnetId *int64 `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Instance status. Valid values: <li>1: creating</li> <li>2: running</li> <li>3: instance operations restricted (due to the ongoing primary-replica switch)</li> <li>4: isolated</li> <li>5: repossessing</li> <li>6: repossessed</li> <li>7: running tasks (such as backup and rollback tasks)</li> <li>8: eliminated</li> <li>9: expanding capacity</li> <li>10: migrating</li> <li>11: read-only</li> <li>12: restarting</li>  <li>13: modifying configuration and waiting for switch</li> <li>14: implementing pub/sub</li> <li>15: modifying pub/sub configuration</li> <li>16: modifying configuration and switching</li> <li>17: creating read-only instances</li>
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance access IP
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Instance access port
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Instance creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Instance update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Instance billing start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Instance billing end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Instance isolation time
	IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"`

	// Instance memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Used storage capacity of instance in GB
	UsedStorage *int64 `json:"UsedStorage,omitnil,omitempty" name:"UsedStorage"`

	// Instance storage capacity in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Instance version
	VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"`

	// Instance renewal flag
	RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Instance disaster recovery type. 1: dual-server high availability; 2: single-node; 3: cross-AZ; 4: cross-AZ cluster; 5: cluster; 6: multi-node cluster; 7: multi-node cross-AZ cluster.
	Model *int64 `json:"Model,omitnil,omitempty" name:"Model"`

	// Instance region name, such as ap-guangzhou
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Instance AZ name, such as ap-guangzhou-1
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Backup time point
	BackupTime *string `json:"BackupTime,omitnil,omitempty" name:"BackupTime"`

	// Instance billing mode. 0: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Instance UID
	Uid *string `json:"Uid,omitnil,omitempty" name:"Uid"`

	// Number of CPU cores of instance
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Instance version code
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// Instance type. Valid values: `TS85` (physical machine, local SSD), `Z3` (early version of physical machine, local SSD), `CLOUD_BASIC` (virtual machine, HDD cloud disk), `CLOUD_PREMIUM` (virtual machine, premium cloud disk), `CLOUD_SSD` (virtual machine, SSD), `CLOUD_HSSD` (virtual machine, enhanced SSD), `CLOUD_TSSD` (virtual machine, ulTra SSD), `CLOUD_BSSD` virtual machine, balanced SSD).
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Billing ID
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Unique string-type ID of instance VPC in the format of `vpc-xxx`, which is an empty string if the basic network is used
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Unique string-type ID of instance subnet in the format of `subnet-xxx`, which is an empty string if the basic network is used
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`

	// Instance isolation operation.
	IsolateOperator *string `json:"IsolateOperator,omitnil,omitempty" name:"IsolateOperator"`

	// Publishing/Subscription flag. SUB: subscription instance; PUB: publishing instance. If this parameter is left blank, the instance is an ordinary instance that does not involve publishing or subscription.
	SubFlag *string `json:"SubFlag,omitnil,omitempty" name:"SubFlag"`

	// Read-only flag. RO: read-only instance; MASTER: primary instance bound to a read-only instance. If this parameter is left blank, the instance is not a read-only instance and is not in any read-only group.
	ROFlag *string `json:"ROFlag,omitnil,omitempty" name:"ROFlag"`

	// Disaster recovery type. MIRROR: image; ALWAYSON: Always On; SINGLE: single instance.
	HAFlag *string `json:"HAFlag,omitnil,omitempty" name:"HAFlag"`

	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// Backup mode. master_pkg: backup on the primary node (default value); master_no_pkg: no backup on the primary node; slave_pkg: backup on secondary nodes (valid for Always On clusters); slave_no_pkg: no backup on secondary nodes (valid for Always On clusters). This parameter is invalid for read-only instances.
	BackupModel *string `json:"BackupModel,omitnil,omitempty" name:"BackupModel"`

	// Instance backup information.
	InstanceNote *string `json:"InstanceNote,omitnil,omitempty" name:"InstanceNote"`

	// Backup cycle
	BackupCycle []*int64 `json:"BackupCycle,omitnil,omitempty" name:"BackupCycle"`

	// Backup cycle type. Valid values: `daily`, `weekly`, `monthly`.
	BackupCycleType *string `json:"BackupCycleType,omitnil,omitempty" name:"BackupCycleType"`

	// Data (log) backup retention period
	BackupSaveDays *int64 `json:"BackupSaveDays,omitnil,omitempty" name:"BackupSaveDays"`

	// Instance type. HA: high-availability instance; RO: read-only instance; SI: basic edition instance; BI: business intelligence service instance; cvmHA: high-availability instance with cloud disk; cvmRO: read-only instance with cloud disk; MultiHA: multi-node instance; cvmMultiHA: multi-node instance with cloud disk.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// The target region of cross-region backup. If this parameter left empty, it indicates that cross-region backup is disabled.
	CrossRegions []*string `json:"CrossRegions,omitnil,omitempty" name:"CrossRegions"`

	// Cross-region backup status. Valid values: `enable` (enabled), `disable` (disabed)
	CrossBackupEnabled *string `json:"CrossBackupEnabled,omitnil,omitempty" name:"CrossBackupEnabled"`

	// The retention period of cross-region backup. Default value: 7 days
	CrossBackupSaveDays *uint64 `json:"CrossBackupSaveDays,omitnil,omitempty" name:"CrossBackupSaveDays"`

	// Domain name of the public network address
	DnsPodDomain *string `json:"DnsPodDomain,omitnil,omitempty" name:"DnsPodDomain"`

	// Port number of the public network
	TgwWanVPort *int64 `json:"TgwWanVPort,omitnil,omitempty" name:"TgwWanVPort"`

	// Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone. Default value: `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Whether the instance is deployed across AZs
	IsDrZone *bool `json:"IsDrZone,omitnil,omitempty" name:"IsDrZone"`

	// Secondary AZ information on the two-node instance.
	SlaveZones *SlaveZones `json:"SlaveZones,omitnil,omitempty" name:"SlaveZones"`

	// Architecture flag. SINGLE: single-node; DOUBLE: two-node.
	Architecture *string `json:"Architecture,omitnil,omitempty" name:"Architecture"`

	// Type flag. EXCLUSIVE: exclusive; SHARED: shared.
	Style *string `json:"Style,omitnil,omitempty" name:"Style"`

	MultiSlaveZones []*SlaveZones `json:"MultiSlaveZones,omitnil,omitempty" name:"MultiSlaveZones"`
}

type DBPrivilege

type DBPrivilege struct {
	// Database name
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// Database permissions. Valid values: `ReadWrite` (read-write), `ReadOnly` (read-only), `DBOwner` (owner)
	Privilege *string `json:"Privilege,omitnil,omitempty" name:"Privilege"`
}

type DBPrivilegeModifyInfo

type DBPrivilegeModifyInfo struct {
	// Database name
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// Permission modification information. Valid values: `ReadWrite` (read-write), `ReadOnly` (read-only), `Delete` (delete the account's permission to this database), `DBOwner` (owner).
	Privilege *string `json:"Privilege,omitnil,omitempty" name:"Privilege"`
}

type DBRemark

type DBRemark struct {
	// Database name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

type DBRenameRes

type DBRenameRes struct {
	// Name of the new database
	NewName *string `json:"NewName,omitnil,omitempty" name:"NewName"`

	// Name of the old database
	OldName *string `json:"OldName,omitnil,omitempty" name:"OldName"`
}

type DBTDEEncrypt

type DBTDEEncrypt struct {
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// TDE status. Valid values: `enable` (enabled), `disable` (disabled).
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`
}

type DataBasePrivilegeModifyInfo

type DataBasePrivilegeModifyInfo struct {
	DataBaseName *string `json:"DataBaseName,omitnil,omitempty" name:"DataBaseName"`

	AccountPrivileges []*AccountPrivilege `json:"AccountPrivileges,omitnil,omitempty" name:"AccountPrivileges"`
}

type DatabaseTuple

type DatabaseTuple struct {
	PublishDatabase *string `json:"PublishDatabase,omitnil,omitempty" name:"PublishDatabase"`

	SubscribeDatabase *string `json:"SubscribeDatabase,omitnil,omitempty" name:"SubscribeDatabase"`
}

type DatabaseTupleStatus

type DatabaseTupleStatus struct {
	PublishDatabase *string `json:"PublishDatabase,omitnil,omitempty" name:"PublishDatabase"`

	SubscribeDatabase *string `json:"SubscribeDatabase,omitnil,omitempty" name:"SubscribeDatabase"`

	LastSyncTime *string `json:"LastSyncTime,omitnil,omitempty" name:"LastSyncTime"`

	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

type DbNormalDetail

type DbNormalDetail struct {
	// Whether it is subscribed. Valid values: `0` (no), `1` (yes)
	IsSubscribed *string `json:"IsSubscribed,omitnil,omitempty" name:"IsSubscribed"`

	// Database collation
	CollationName *string `json:"CollationName,omitnil,omitempty" name:"CollationName"`

	// Whether the cleanup task is enabled to automatically remove old change tracking information when CT is enabled. Valid values: `0` (no), `1` (yes)
	IsAutoCleanupOn *string `json:"IsAutoCleanupOn,omitnil,omitempty" name:"IsAutoCleanupOn"`

	// Whether SQL Server Service Broker is enabled. Valid values: `0` (no), `1` (yes)
	IsBrokerEnabled *string `json:"IsBrokerEnabled,omitnil,omitempty" name:"IsBrokerEnabled"`

	// Whether CDC is enabled. Valid values: `0` (disabled), `1` (enabled)
	IsCdcEnabled *string `json:"IsCdcEnabled,omitnil,omitempty" name:"IsCdcEnabled"`

	// Whether CT is enabled. Valid values: `0` (disabled), `1` (enabled)
	IsDbChainingOn *string `json:"IsDbChainingOn,omitnil,omitempty" name:"IsDbChainingOn"`

	// Whether it is encrypted. Valid values: `0` (no), `1` (yes)
	IsEncrypted *string `json:"IsEncrypted,omitnil,omitempty" name:"IsEncrypted"`

	// Whether full-text indexes are enabled. Valid values: `0` (no), `1` (yes)
	//
	// Deprecated: IsFulltextEnabled is deprecated.
	IsFulltextEnabled *string `json:"IsFulltextEnabled,omitnil,omitempty" name:"IsFulltextEnabled"`

	// Whether it is a mirror database. Valid values: `0` (no), `1` (yes)
	IsMirroring *string `json:"IsMirroring,omitnil,omitempty" name:"IsMirroring"`

	// Whether it is published. Valid values: `0` (no), `1` (yes)
	IsPublished *string `json:"IsPublished,omitnil,omitempty" name:"IsPublished"`

	// Whether snapshots are enabled. Valid values: `0` (no), `1` (yes)
	IsReadCommittedSnapshotOn *string `json:"IsReadCommittedSnapshotOn,omitnil,omitempty" name:"IsReadCommittedSnapshotOn"`

	// Whether it is trustworthy. Valid values: `0` (no), `1` (yes)
	IsTrustworthyOn *string `json:"IsTrustworthyOn,omitnil,omitempty" name:"IsTrustworthyOn"`

	// Mirroring state
	MirroringState *string `json:"MirroringState,omitnil,omitempty" name:"MirroringState"`

	// Database name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Recovery model
	RecoveryModelDesc *string `json:"RecoveryModelDesc,omitnil,omitempty" name:"RecoveryModelDesc"`

	// Retention period (in days) of change tracking information
	RetentionPeriod *string `json:"RetentionPeriod,omitnil,omitempty" name:"RetentionPeriod"`

	// Database status
	StateDesc *string `json:"StateDesc,omitnil,omitempty" name:"StateDesc"`

	// User type
	UserAccessDesc *string `json:"UserAccessDesc,omitnil,omitempty" name:"UserAccessDesc"`

	// Database creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type DbRollbackTimeInfo

type DbRollbackTimeInfo struct {
	// Database name
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// Start time of time range available for rollback
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of time range available for rollback
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type DealInfo

type DealInfo struct {
	// Order name
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// Number of items
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`

	// ID of associated flow, which can be used to query the flow execution status
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// This field is required only for an order that creates an instance, indicating the ID of the instance created by the order
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Account
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Instance billing type
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`
}

type DealInstance

type DealInstance struct {
	// Instance ID
	InstanceId []*string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Order ID
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`
}

type DeleteAccountRequest

type DeleteAccountRequest struct {
	*tchttp.BaseRequest

	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Array of instance usernames
	UserNames []*string `json:"UserNames,omitnil,omitempty" name:"UserNames"`
}

func NewDeleteAccountRequest

func NewDeleteAccountRequest() (request *DeleteAccountRequest)

func (*DeleteAccountRequest) FromJsonString

func (r *DeleteAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccountRequest) ToJsonString

func (r *DeleteAccountRequest) ToJsonString() string

type DeleteAccountRequestParams

type DeleteAccountRequestParams struct {
	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Array of instance usernames
	UserNames []*string `json:"UserNames,omitnil,omitempty" name:"UserNames"`
}

Predefined struct for user

type DeleteAccountResponse

type DeleteAccountResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAccountResponseParams `json:"Response"`
}

func NewDeleteAccountResponse

func NewDeleteAccountResponse() (response *DeleteAccountResponse)

func (*DeleteAccountResponse) FromJsonString

func (r *DeleteAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAccountResponse) ToJsonString

func (r *DeleteAccountResponse) ToJsonString() string

type DeleteAccountResponseParams

type DeleteAccountResponseParams struct {
	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteBackupMigrationRequest

type DeleteBackupMigrationRequest struct {
	*tchttp.BaseRequest

	// Target instance ID, which is returned through the API DescribeBackupMigration.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API DescribeBackupMigration.
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`
}

func NewDeleteBackupMigrationRequest

func NewDeleteBackupMigrationRequest() (request *DeleteBackupMigrationRequest)

func (*DeleteBackupMigrationRequest) FromJsonString

func (r *DeleteBackupMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBackupMigrationRequest) ToJsonString

func (r *DeleteBackupMigrationRequest) ToJsonString() string

type DeleteBackupMigrationRequestParams

type DeleteBackupMigrationRequestParams struct {
	// Target instance ID, which is returned through the API DescribeBackupMigration.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API DescribeBackupMigration.
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`
}

Predefined struct for user

type DeleteBackupMigrationResponse

type DeleteBackupMigrationResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBackupMigrationResponseParams `json:"Response"`
}

func NewDeleteBackupMigrationResponse

func NewDeleteBackupMigrationResponse() (response *DeleteBackupMigrationResponse)

func (*DeleteBackupMigrationResponse) FromJsonString

func (r *DeleteBackupMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBackupMigrationResponse) ToJsonString

func (r *DeleteBackupMigrationResponse) ToJsonString() string

type DeleteBackupMigrationResponseParams

type DeleteBackupMigrationResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteBusinessIntelligenceFileRequest

type DeleteBusinessIntelligenceFileRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// File name set
	FileNameSet []*string `json:"FileNameSet,omitnil,omitempty" name:"FileNameSet"`
}

func NewDeleteBusinessIntelligenceFileRequest

func NewDeleteBusinessIntelligenceFileRequest() (request *DeleteBusinessIntelligenceFileRequest)

func (*DeleteBusinessIntelligenceFileRequest) FromJsonString

func (r *DeleteBusinessIntelligenceFileRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBusinessIntelligenceFileRequest) ToJsonString

type DeleteBusinessIntelligenceFileRequestParams

type DeleteBusinessIntelligenceFileRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// File name set
	FileNameSet []*string `json:"FileNameSet,omitnil,omitempty" name:"FileNameSet"`
}

Predefined struct for user

type DeleteBusinessIntelligenceFileResponse

type DeleteBusinessIntelligenceFileResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBusinessIntelligenceFileResponseParams `json:"Response"`
}

func NewDeleteBusinessIntelligenceFileResponse

func NewDeleteBusinessIntelligenceFileResponse() (response *DeleteBusinessIntelligenceFileResponse)

func (*DeleteBusinessIntelligenceFileResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBusinessIntelligenceFileResponse) ToJsonString

type DeleteBusinessIntelligenceFileResponseParams

type DeleteBusinessIntelligenceFileResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDBInstanceRequest

type DeleteDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-3l3fgqn7 or mssqlro-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDeleteDBInstanceRequest

func NewDeleteDBInstanceRequest() (request *DeleteDBInstanceRequest)

func (*DeleteDBInstanceRequest) FromJsonString

func (r *DeleteDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDBInstanceRequest) ToJsonString

func (r *DeleteDBInstanceRequest) ToJsonString() string

type DeleteDBInstanceRequestParams

type DeleteDBInstanceRequestParams struct {
	// Instance ID, in the format of mssql-3l3fgqn7 or mssqlro-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DeleteDBInstanceResponse

type DeleteDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDBInstanceResponseParams `json:"Response"`
}

func NewDeleteDBInstanceResponse

func NewDeleteDBInstanceResponse() (response *DeleteDBInstanceResponse)

func (*DeleteDBInstanceResponse) FromJsonString

func (r *DeleteDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDBInstanceResponse) ToJsonString

func (r *DeleteDBInstanceResponse) ToJsonString() string

type DeleteDBInstanceResponseParams

type DeleteDBInstanceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDBRequest

type DeleteDBRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-rljoi3bf
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Array of database names
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

func NewDeleteDBRequest

func NewDeleteDBRequest() (request *DeleteDBRequest)

func (*DeleteDBRequest) FromJsonString

func (r *DeleteDBRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDBRequest) ToJsonString

func (r *DeleteDBRequest) ToJsonString() string

type DeleteDBRequestParams

type DeleteDBRequestParams struct {
	// Instance ID in the format of mssql-rljoi3bf
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Array of database names
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

Predefined struct for user

type DeleteDBResponse

type DeleteDBResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDBResponseParams `json:"Response"`
}

func NewDeleteDBResponse

func NewDeleteDBResponse() (response *DeleteDBResponse)

func (*DeleteDBResponse) FromJsonString

func (r *DeleteDBResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDBResponse) ToJsonString

func (r *DeleteDBResponse) ToJsonString() string

type DeleteDBResponseParams

type DeleteDBResponseParams struct {
	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteIncrementalMigrationRequest

type DeleteIncrementalMigrationRequest struct {
	*tchttp.BaseRequest

	// Target instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the `CreateBackupMigration` API
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

func NewDeleteIncrementalMigrationRequest

func NewDeleteIncrementalMigrationRequest() (request *DeleteIncrementalMigrationRequest)

func (*DeleteIncrementalMigrationRequest) FromJsonString

func (r *DeleteIncrementalMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteIncrementalMigrationRequest) ToJsonString

func (r *DeleteIncrementalMigrationRequest) ToJsonString() string

type DeleteIncrementalMigrationRequestParams

type DeleteIncrementalMigrationRequestParams struct {
	// Target instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the `CreateBackupMigration` API
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

Predefined struct for user

type DeleteIncrementalMigrationResponse

type DeleteIncrementalMigrationResponse struct {
	*tchttp.BaseResponse
	Response *DeleteIncrementalMigrationResponseParams `json:"Response"`
}

func NewDeleteIncrementalMigrationResponse

func NewDeleteIncrementalMigrationResponse() (response *DeleteIncrementalMigrationResponse)

func (*DeleteIncrementalMigrationResponse) FromJsonString

func (r *DeleteIncrementalMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteIncrementalMigrationResponse) ToJsonString

func (r *DeleteIncrementalMigrationResponse) ToJsonString() string

type DeleteIncrementalMigrationResponseParams

type DeleteIncrementalMigrationResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteMigrationRequest

type DeleteMigrationRequest struct {
	*tchttp.BaseRequest

	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

func NewDeleteMigrationRequest

func NewDeleteMigrationRequest() (request *DeleteMigrationRequest)

func (*DeleteMigrationRequest) FromJsonString

func (r *DeleteMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMigrationRequest) ToJsonString

func (r *DeleteMigrationRequest) ToJsonString() string

type DeleteMigrationRequestParams

type DeleteMigrationRequestParams struct {
	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

Predefined struct for user

type DeleteMigrationResponse

type DeleteMigrationResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMigrationResponseParams `json:"Response"`
}

func NewDeleteMigrationResponse

func NewDeleteMigrationResponse() (response *DeleteMigrationResponse)

func (*DeleteMigrationResponse) FromJsonString

func (r *DeleteMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMigrationResponse) ToJsonString

func (r *DeleteMigrationResponse) ToJsonString() string

type DeleteMigrationResponseParams

type DeleteMigrationResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePublishSubscribeRequest

type DeletePublishSubscribeRequest struct {
	*tchttp.BaseRequest

	// Publish/subscribe ID, which can be obtained through the DescribePublishSubscribe API.
	PublishSubscribeId *uint64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe relationship collection of the database to be deleted.
	DatabaseTupleSet []*DatabaseTuple `json:"DatabaseTupleSet,omitnil,omitempty" name:"DatabaseTupleSet"`
}

func NewDeletePublishSubscribeRequest

func NewDeletePublishSubscribeRequest() (request *DeletePublishSubscribeRequest)

func (*DeletePublishSubscribeRequest) FromJsonString

func (r *DeletePublishSubscribeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePublishSubscribeRequest) ToJsonString

func (r *DeletePublishSubscribeRequest) ToJsonString() string

type DeletePublishSubscribeRequestParams

type DeletePublishSubscribeRequestParams struct {
	// Publish/subscribe ID, which can be obtained through the DescribePublishSubscribe API.
	PublishSubscribeId *uint64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe relationship collection of the database to be deleted.
	DatabaseTupleSet []*DatabaseTuple `json:"DatabaseTupleSet,omitnil,omitempty" name:"DatabaseTupleSet"`
}

Predefined struct for user

type DeletePublishSubscribeResponse

type DeletePublishSubscribeResponse struct {
	*tchttp.BaseResponse
	Response *DeletePublishSubscribeResponseParams `json:"Response"`
}

func NewDeletePublishSubscribeResponse

func NewDeletePublishSubscribeResponse() (response *DeletePublishSubscribeResponse)

func (*DeletePublishSubscribeResponse) FromJsonString

func (r *DeletePublishSubscribeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePublishSubscribeResponse) ToJsonString

func (r *DeletePublishSubscribeResponse) ToJsonString() string

type DeletePublishSubscribeResponseParams

type DeletePublishSubscribeResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountPrivilegeByDBRequest

type DescribeAccountPrivilegeByDBRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-njj2mtpl7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database name.
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// Database account name.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeAccountPrivilegeByDBRequest

func NewDescribeAccountPrivilegeByDBRequest() (request *DescribeAccountPrivilegeByDBRequest)

func (*DescribeAccountPrivilegeByDBRequest) FromJsonString

func (r *DescribeAccountPrivilegeByDBRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountPrivilegeByDBRequest) ToJsonString

func (r *DescribeAccountPrivilegeByDBRequest) ToJsonString() string

type DescribeAccountPrivilegeByDBRequestParams

type DescribeAccountPrivilegeByDBRequestParams struct {
	// Instance ID, in the format of mssql-njj2mtpl7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database name.
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// Database account name.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeAccountPrivilegeByDBResponse

type DescribeAccountPrivilegeByDBResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountPrivilegeByDBResponseParams `json:"Response"`
}

func NewDescribeAccountPrivilegeByDBResponse

func NewDescribeAccountPrivilegeByDBResponse() (response *DescribeAccountPrivilegeByDBResponse)

func (*DescribeAccountPrivilegeByDBResponse) FromJsonString

func (r *DescribeAccountPrivilegeByDBResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountPrivilegeByDBResponse) ToJsonString

func (r *DescribeAccountPrivilegeByDBResponse) ToJsonString() string

type DescribeAccountPrivilegeByDBResponseParams

type DescribeAccountPrivilegeByDBResponseParams struct {
	// Total number of accounts.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Account permission list.
	Accounts []*AccountPrivilege `json:"Accounts,omitnil,omitempty" name:"Accounts"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Account ID
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Sorting by `createTime`, `updateTime`, or `passTime`. Default value: `createTime` (desc).
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewDescribeAccountsRequest

func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)

func (*DescribeAccountsRequest) FromJsonString

func (r *DescribeAccountsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountsRequest) ToJsonString

func (r *DescribeAccountsRequest) ToJsonString() string

type DescribeAccountsRequestParams

type DescribeAccountsRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Account ID
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Sorting by `createTime`, `updateTime`, or `passTime`. Default value: `createTime` (desc).
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAccountsResponseParams `json:"Response"`
}

func NewDescribeAccountsResponse

func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)

func (*DescribeAccountsResponse) FromJsonString

func (r *DescribeAccountsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAccountsResponse) ToJsonString

func (r *DescribeAccountsResponse) ToJsonString() string

type DescribeAccountsResponseParams

type DescribeAccountsResponseParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Account information list
	Accounts []*AccountDetail `json:"Accounts,omitnil,omitempty" name:"Accounts"`

	// Total number
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupByFlowIdRequest

type DescribeBackupByFlowIdRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup creation process ID, which can be obtained through the [CreateBackup](https://cloud.tencent.com/document/product/238/19946) API.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewDescribeBackupByFlowIdRequest

func NewDescribeBackupByFlowIdRequest() (request *DescribeBackupByFlowIdRequest)

func (*DescribeBackupByFlowIdRequest) FromJsonString

func (r *DescribeBackupByFlowIdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupByFlowIdRequest) ToJsonString

func (r *DescribeBackupByFlowIdRequest) ToJsonString() string

type DescribeBackupByFlowIdRequestParams

type DescribeBackupByFlowIdRequestParams struct {
	// Instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup creation process ID, which can be obtained through the [CreateBackup](https://cloud.tencent.com/document/product/238/19946) API.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type DescribeBackupByFlowIdResponse

type DescribeBackupByFlowIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupByFlowIdResponseParams `json:"Response"`
}

func NewDescribeBackupByFlowIdResponse

func NewDescribeBackupByFlowIdResponse() (response *DescribeBackupByFlowIdResponse)

func (*DescribeBackupByFlowIdResponse) FromJsonString

func (r *DescribeBackupByFlowIdResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupByFlowIdResponse) ToJsonString

func (r *DescribeBackupByFlowIdResponse) ToJsonString() string

type DescribeBackupByFlowIdResponseParams

type DescribeBackupByFlowIdResponseParams struct {
	// Unique identifier of the backup file. This field is used by the RestoreInstance API. For a single-database backup file, only the unique identifier of the backup file for the first record is returned. Through the DescribeBackupFiles API, IDs of all backup files that are available for rollback can be obtained for single-database backup files.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// File name. For a single-database backup file, only the file name of the first record is returned. Through the DescribeBackupFiles API, file names of all records can be obtained for single-database backup files.
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Backup task name, which can be customized.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// Backup start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Backup end time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// File size, in KB. For a single-database backup file, only the file size of the first record is returned. Through the DescribeBackupFiles API, file sizes of all records can be obtained for single-database backup files.
	Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"`

	// Backup policy: 0 - instance backup; 1 - multi-database backup. When the instance status is 0 - creating, the default value of this field is 0, which has no practical significance.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Backup file status. 0 - creating; 1 - successful; 2-failed.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Backup method. 0 - scheduled backup; 1 - manual temporary backup. When the instance status is 0 - creating, the default value of this field is 0, which has no practical significance.
	BackupWay *int64 `json:"BackupWay,omitnil,omitempty" name:"BackupWay"`

	// Database list. For a single-database backup file, only the database name included in the first record is returned. Through the DescribeBackupFiles API, the database names of all records can be obtained for single-database backup files.
	DBs []*string `json:"DBs,omitnil,omitempty" name:"DBs"`

	// Private network download address. For a single-database backup file, only the private network download address of the first record is returned. Through the DescribeBackupFiles API, download addresses of all records can be obtained for single-database backup files.
	InternalAddr *string `json:"InternalAddr,omitnil,omitempty" name:"InternalAddr"`

	// Public network download address. For a single-database backup file, only the public network download address of the first record is returned. Through the DescribeBackupFiles API, download addresses of all records can be obtained for single-database backup files.
	ExternalAddr *string `json:"ExternalAddr,omitnil,omitempty" name:"ExternalAddr"`

	// Aggregation ID. This value is not returned for packaging backup files. Call the DescribeBackupFiles API with this value to obtain detailed information about single-database backup files.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupCommandRequest

type DescribeBackupCommandRequest struct {
	*tchttp.BaseRequest

	// Backup file type. Full: full backup. FULL_LOG: full backup which needs log increments. FULL_DIFF: full backup which needs differential increments. LOG: log backup. DIFF: differential backup.
	BackupFileType *string `json:"BackupFileType,omitnil,omitempty" name:"BackupFileType"`

	// Database name
	DataBaseName *string `json:"DataBaseName,omitnil,omitempty" name:"DataBaseName"`

	// Whether restoration is required. No: not required. Yes: required.
	IsRecovery *string `json:"IsRecovery,omitnil,omitempty" name:"IsRecovery"`

	// Storage path of backup files. If this parameter is left empty, the default storage path will be D:\\.
	LocalPath *string `json:"LocalPath,omitnil,omitempty" name:"LocalPath"`
}

func NewDescribeBackupCommandRequest

func NewDescribeBackupCommandRequest() (request *DescribeBackupCommandRequest)

func (*DescribeBackupCommandRequest) FromJsonString

func (r *DescribeBackupCommandRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupCommandRequest) ToJsonString

func (r *DescribeBackupCommandRequest) ToJsonString() string

type DescribeBackupCommandRequestParams

type DescribeBackupCommandRequestParams struct {
	// Backup file type. Full: full backup. FULL_LOG: full backup which needs log increments. FULL_DIFF: full backup which needs differential increments. LOG: log backup. DIFF: differential backup.
	BackupFileType *string `json:"BackupFileType,omitnil,omitempty" name:"BackupFileType"`

	// Database name
	DataBaseName *string `json:"DataBaseName,omitnil,omitempty" name:"DataBaseName"`

	// Whether restoration is required. No: not required. Yes: required.
	IsRecovery *string `json:"IsRecovery,omitnil,omitempty" name:"IsRecovery"`

	// Storage path of backup files. If this parameter is left empty, the default storage path will be D:\\.
	LocalPath *string `json:"LocalPath,omitnil,omitempty" name:"LocalPath"`
}

Predefined struct for user

type DescribeBackupCommandResponse

type DescribeBackupCommandResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupCommandResponseParams `json:"Response"`
}

func NewDescribeBackupCommandResponse

func NewDescribeBackupCommandResponse() (response *DescribeBackupCommandResponse)

func (*DescribeBackupCommandResponse) FromJsonString

func (r *DescribeBackupCommandResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupCommandResponse) ToJsonString

func (r *DescribeBackupCommandResponse) ToJsonString() string

type DescribeBackupCommandResponseParams

type DescribeBackupCommandResponseParams struct {
	// Create a backup command
	Command *string `json:"Command,omitnil,omitempty" name:"Command"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupFilesRequest

type DescribeBackupFilesRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Group ID of unarchived backup files, which can be obtained by the `DescribeBackups` API (Querying archived backup record is not supported).
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Number of entries to be returned per page. Value range: 1-100. Default value: `20`
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter backups by database name. If the parameter is left empty, this filter criterion will not take effect.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// List items sorting by backup size. Valid values: `desc`(descending order), `asc` (ascending order). Default value: `desc`.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting field. Size - sort by backup size; DBs - sort by database name. The default value is size.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewDescribeBackupFilesRequest

func NewDescribeBackupFilesRequest() (request *DescribeBackupFilesRequest)

func (*DescribeBackupFilesRequest) FromJsonString

func (r *DescribeBackupFilesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupFilesRequest) ToJsonString

func (r *DescribeBackupFilesRequest) ToJsonString() string

type DescribeBackupFilesRequestParams

type DescribeBackupFilesRequestParams struct {
	// Instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Group ID of unarchived backup files, which can be obtained by the `DescribeBackups` API (Querying archived backup record is not supported).
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Number of entries to be returned per page. Value range: 1-100. Default value: `20`
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter backups by database name. If the parameter is left empty, this filter criterion will not take effect.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// List items sorting by backup size. Valid values: `desc`(descending order), `asc` (ascending order). Default value: `desc`.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting field. Size - sort by backup size; DBs - sort by database name. The default value is size.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeBackupFilesResponse

type DescribeBackupFilesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupFilesResponseParams `json:"Response"`
}

func NewDescribeBackupFilesResponse

func NewDescribeBackupFilesResponse() (response *DescribeBackupFilesResponse)

func (*DescribeBackupFilesResponse) FromJsonString

func (r *DescribeBackupFilesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupFilesResponse) ToJsonString

func (r *DescribeBackupFilesResponse) ToJsonString() string

type DescribeBackupFilesResponseParams

type DescribeBackupFilesResponseParams struct {
	// Total number of backups
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of backup file details
	BackupFiles []*BackupFile `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupMigrationRequest

type DescribeBackupMigrationRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration.
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Import task name
	MigrationName *string `json:"MigrationName,omitnil,omitempty" name:"MigrationName"`

	// Backup file name
	BackupFileName *string `json:"BackupFileName,omitnil,omitempty" name:"BackupFileName"`

	// Status set of import tasks
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// Import task restoration type: FULL,FULL_LOG,FULL_DIFF
	RecoveryType *string `json:"RecoveryType,omitnil,omitempty" name:"RecoveryType"`

	// COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user.
	UploadType *string `json:"UploadType,omitnil,omitempty" name:"UploadType"`

	// The maximum number of results returned per page. Default value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewDescribeBackupMigrationRequest

func NewDescribeBackupMigrationRequest() (request *DescribeBackupMigrationRequest)

func (*DescribeBackupMigrationRequest) FromJsonString

func (r *DescribeBackupMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupMigrationRequest) ToJsonString

func (r *DescribeBackupMigrationRequest) ToJsonString() string

type DescribeBackupMigrationRequestParams

type DescribeBackupMigrationRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration.
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Import task name
	MigrationName *string `json:"MigrationName,omitnil,omitempty" name:"MigrationName"`

	// Backup file name
	BackupFileName *string `json:"BackupFileName,omitnil,omitempty" name:"BackupFileName"`

	// Status set of import tasks
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// Import task restoration type: FULL,FULL_LOG,FULL_DIFF
	RecoveryType *string `json:"RecoveryType,omitnil,omitempty" name:"RecoveryType"`

	// COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user.
	UploadType *string `json:"UploadType,omitnil,omitempty" name:"UploadType"`

	// The maximum number of results returned per page. Default value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeBackupMigrationResponse

type DescribeBackupMigrationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupMigrationResponseParams `json:"Response"`
}

func NewDescribeBackupMigrationResponse

func NewDescribeBackupMigrationResponse() (response *DescribeBackupMigrationResponse)

func (*DescribeBackupMigrationResponse) FromJsonString

func (r *DescribeBackupMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupMigrationResponse) ToJsonString

func (r *DescribeBackupMigrationResponse) ToJsonString() string

type DescribeBackupMigrationResponseParams

type DescribeBackupMigrationResponseParams struct {
	// Total number of tasks
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Migration task set
	BackupMigrationSet []*Migration `json:"BackupMigrationSet,omitnil,omitempty" name:"BackupMigrationSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupMonitorRequest

type DescribeBackupMonitorRequest struct {
	*tchttp.BaseRequest

	// Sets the start time for querying backup space usage details.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of backup space usage.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Backup trend query type. local - local backup; cross - cross-region backup.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

func NewDescribeBackupMonitorRequest

func NewDescribeBackupMonitorRequest() (request *DescribeBackupMonitorRequest)

func (*DescribeBackupMonitorRequest) FromJsonString

func (r *DescribeBackupMonitorRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupMonitorRequest) ToJsonString

func (r *DescribeBackupMonitorRequest) ToJsonString() string

type DescribeBackupMonitorRequestParams

type DescribeBackupMonitorRequestParams struct {
	// Sets the start time for querying backup space usage details.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of backup space usage.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Backup trend query type. local - local backup; cross - cross-region backup.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

Predefined struct for user

type DescribeBackupMonitorResponse

type DescribeBackupMonitorResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupMonitorResponseParams `json:"Response"`
}

func NewDescribeBackupMonitorResponse

func NewDescribeBackupMonitorResponse() (response *DescribeBackupMonitorResponse)

func (*DescribeBackupMonitorResponse) FromJsonString

func (r *DescribeBackupMonitorResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupMonitorResponse) ToJsonString

func (r *DescribeBackupMonitorResponse) ToJsonString() string

type DescribeBackupMonitorResponseParams

type DescribeBackupMonitorResponseParams struct {
	// Backup trend chart timeline.
	TimeStamp []*string `json:"TimeStamp,omitnil,omitempty" name:"TimeStamp"`

	// Free backup space.
	FreeSpace []*float64 `json:"FreeSpace,omitnil,omitempty" name:"FreeSpace"`

	// Actual total backup space.
	ActualUsedSpace []*float64 `json:"ActualUsedSpace,omitnil,omitempty" name:"ActualUsedSpace"`

	// Backup space for logs.
	LogBackupSpace []*float64 `json:"LogBackupSpace,omitnil,omitempty" name:"LogBackupSpace"`

	// Backup space for data.
	DataBackupSpace []*float64 `json:"DataBackupSpace,omitnil,omitempty" name:"DataBackupSpace"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupStatisticalRequest

type DescribeBackupStatisticalRequest struct {
	*tchttp.BaseRequest

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// One or more instance IDs. The instance ID is in the format of mssql-si2823jyl.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Instance name list. Fuzzy query is supported.
	InstanceNameSet []*string `json:"InstanceNameSet,omitnil,omitempty" name:"InstanceNameSet"`

	// Sorting field. The default value is default, which indicates sorting by backup space in descending order. default - sort by backup space; data - sort by data backup; log - sort by log backup; auto - sort by automatic backup; manual - sort by manual backup.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// The default value is desc. [desc - descending order; asc - ascending order].
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewDescribeBackupStatisticalRequest

func NewDescribeBackupStatisticalRequest() (request *DescribeBackupStatisticalRequest)

func (*DescribeBackupStatisticalRequest) FromJsonString

func (r *DescribeBackupStatisticalRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupStatisticalRequest) ToJsonString

func (r *DescribeBackupStatisticalRequest) ToJsonString() string

type DescribeBackupStatisticalRequestParams

type DescribeBackupStatisticalRequestParams struct {
	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// One or more instance IDs. The instance ID is in the format of mssql-si2823jyl.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Instance name list. Fuzzy query is supported.
	InstanceNameSet []*string `json:"InstanceNameSet,omitnil,omitempty" name:"InstanceNameSet"`

	// Sorting field. The default value is default, which indicates sorting by backup space in descending order. default - sort by backup space; data - sort by data backup; log - sort by log backup; auto - sort by automatic backup; manual - sort by manual backup.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// The default value is desc. [desc - descending order; asc - ascending order].
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeBackupStatisticalResponse

type DescribeBackupStatisticalResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupStatisticalResponseParams `json:"Response"`
}

func NewDescribeBackupStatisticalResponse

func NewDescribeBackupStatisticalResponse() (response *DescribeBackupStatisticalResponse)

func (*DescribeBackupStatisticalResponse) FromJsonString

func (r *DescribeBackupStatisticalResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupStatisticalResponse) ToJsonString

func (r *DescribeBackupStatisticalResponse) ToJsonString() string

type DescribeBackupStatisticalResponseParams

type DescribeBackupStatisticalResponseParams struct {
	// Total number of instances meeting conditions. When results are returned in pagination mode, this value refers to the total number of instances that meet conditions, rather than the number of instances returned based on the specified Limit and Offset values.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance list.
	Items []*SummaryDetailRes `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupSummaryRequest

type DescribeBackupSummaryRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeBackupSummaryRequest

func NewDescribeBackupSummaryRequest() (request *DescribeBackupSummaryRequest)

func (*DescribeBackupSummaryRequest) FromJsonString

func (r *DescribeBackupSummaryRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupSummaryRequest) ToJsonString

func (r *DescribeBackupSummaryRequest) ToJsonString() string

type DescribeBackupSummaryRequestParams

type DescribeBackupSummaryRequestParams struct {
}

Predefined struct for user

type DescribeBackupSummaryResponse

type DescribeBackupSummaryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupSummaryResponseParams `json:"Response"`
}

func NewDescribeBackupSummaryResponse

func NewDescribeBackupSummaryResponse() (response *DescribeBackupSummaryResponse)

func (*DescribeBackupSummaryResponse) FromJsonString

func (r *DescribeBackupSummaryResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupSummaryResponse) ToJsonString

func (r *DescribeBackupSummaryResponse) ToJsonString() string

type DescribeBackupSummaryResponseParams

type DescribeBackupSummaryResponseParams struct {
	// Actual free total space, in KB.
	FreeSpace *uint64 `json:"FreeSpace,omitnil,omitempty" name:"FreeSpace"`

	// Actual used space of backups, in KB.
	ActualUsedSpace *uint64 `json:"ActualUsedSpace,omitnil,omitempty" name:"ActualUsedSpace"`

	// Total number of backup files.
	BackupFilesTotal *uint64 `json:"BackupFilesTotal,omitnil,omitempty" name:"BackupFilesTotal"`

	// Charged space of the space occupied by backups, in KB.
	BillingSpace *uint64 `json:"BillingSpace,omitnil,omitempty" name:"BillingSpace"`

	// Data backup usage space, in KB.
	DataBackupSpace *uint64 `json:"DataBackupSpace,omitnil,omitempty" name:"DataBackupSpace"`

	// Total number of data backup files.
	DataBackupCount *uint64 `json:"DataBackupCount,omitnil,omitempty" name:"DataBackupCount"`

	// Storage space used by manual backups in data backup, in KB.
	ManualBackupSpace *uint64 `json:"ManualBackupSpace,omitnil,omitempty" name:"ManualBackupSpace"`

	// Total number of files for manual backups in data backup.
	ManualBackupCount *uint64 `json:"ManualBackupCount,omitnil,omitempty" name:"ManualBackupCount"`

	// Storage space used by automatic backups in data backup, in KB.
	AutoBackupSpace *uint64 `json:"AutoBackupSpace,omitnil,omitempty" name:"AutoBackupSpace"`

	// Total number of files for automatic backups in data backup.
	AutoBackupCount *uint64 `json:"AutoBackupCount,omitnil,omitempty" name:"AutoBackupCount"`

	// Backup usage space for logs, in KB.
	LogBackupSpace *uint64 `json:"LogBackupSpace,omitnil,omitempty" name:"LogBackupSpace"`

	// Total number of log backup files.
	LogBackupCount *uint64 `json:"LogBackupCount,omitnil,omitempty" name:"LogBackupCount"`

	// Estimated fees, in USD/hour.
	EstimatedAmount *float64 `json:"EstimatedAmount,omitnil,omitempty" name:"EstimatedAmount"`

	// Total number of local backup files.
	LocalBackupFilesTotal *uint64 `json:"LocalBackupFilesTotal,omitnil,omitempty" name:"LocalBackupFilesTotal"`

	// Total number of cross-region backup files.
	CrossBackupFilesTotal *uint64 `json:"CrossBackupFilesTotal,omitnil,omitempty" name:"CrossBackupFilesTotal"`

	// Charged space of the space occupied by cross-region backups, in KB.
	CrossBillingSpace *uint64 `json:"CrossBillingSpace,omitnil,omitempty" name:"CrossBillingSpace"`

	// Space used by cross-region automatic data backups, in KB.
	CrossAutoBackupSpace *uint64 `json:"CrossAutoBackupSpace,omitnil,omitempty" name:"CrossAutoBackupSpace"`

	// Total number of files for cross-region automatic data backups.
	CrossAutoBackupCount *uint64 `json:"CrossAutoBackupCount,omitnil,omitempty" name:"CrossAutoBackupCount"`

	// Space used by local log backups, in KB.
	LocalLogBackupSpace *uint64 `json:"LocalLogBackupSpace,omitnil,omitempty" name:"LocalLogBackupSpace"`

	// Total number of files for local log backups.
	LocalLogBackupCount *uint64 `json:"LocalLogBackupCount,omitnil,omitempty" name:"LocalLogBackupCount"`

	// Space used by cross-region log backups, in KB.
	CrossLogBackupSpace *uint64 `json:"CrossLogBackupSpace,omitnil,omitempty" name:"CrossLogBackupSpace"`

	// Total number of files for cross-region log backups.
	CrossLogBackupCount *uint64 `json:"CrossLogBackupCount,omitnil,omitempty" name:"CrossLogBackupCount"`

	// Estimated fees for cross-region backups, in USD/hour.
	CrossEstimatedAmount *float64 `json:"CrossEstimatedAmount,omitnil,omitempty" name:"CrossEstimatedAmount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupUploadSizeRequest

type DescribeBackupUploadSizeRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental import task ID
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

func NewDescribeBackupUploadSizeRequest

func NewDescribeBackupUploadSizeRequest() (request *DescribeBackupUploadSizeRequest)

func (*DescribeBackupUploadSizeRequest) FromJsonString

func (r *DescribeBackupUploadSizeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupUploadSizeRequest) ToJsonString

func (r *DescribeBackupUploadSizeRequest) ToJsonString() string

type DescribeBackupUploadSizeRequestParams

type DescribeBackupUploadSizeRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental import task ID
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

Predefined struct for user

type DescribeBackupUploadSizeResponse

type DescribeBackupUploadSizeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupUploadSizeResponseParams `json:"Response"`
}

func NewDescribeBackupUploadSizeResponse

func NewDescribeBackupUploadSizeResponse() (response *DescribeBackupUploadSizeResponse)

func (*DescribeBackupUploadSizeResponse) FromJsonString

func (r *DescribeBackupUploadSizeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupUploadSizeResponse) ToJsonString

func (r *DescribeBackupUploadSizeResponse) ToJsonString() string

type DescribeBackupUploadSizeResponseParams

type DescribeBackupUploadSizeResponseParams struct {
	// Information of uploaded backups
	CosUploadBackupFileSet []*CosUploadBackupFile `json:"CosUploadBackupFileSet,omitnil,omitempty" name:"CosUploadBackupFileSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupsRequest

type DescribeBackupsRequest struct {
	*tchttp.BaseRequest

	// Start name (yyyy-MM-dd HH:mm:ss)
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time (yyyy-MM-dd HH:mm:ss)
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter by backup name. If this parameter is left empty, backup name will not be used in filtering.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// Filter by backup policy. Valid values: 0 (instance backup), 1 (multi-database backup). If this parameter is left empty, backup policy will not be used in filtering.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Filter by backup mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup). Default value: `2`.
	BackupWay *int64 `json:"BackupWay,omitnil,omitempty" name:"BackupWay"`

	// Filter by backup ID. If this parameter is left empty, backup ID will not be used in filtering.
	BackupId *uint64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Filter backups by the database name. If the parameter is left empty, this filter criteria will not take effect.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Whether to group backup files by backup task. Valid value: `0` (no), `1` (yes). Default value: `0`. This parameter is valid only for unarchived backup files.
	Group *int64 `json:"Group,omitnil,omitempty" name:"Group"`

	// Backup type. Valid values: `1` (data backup), `2` (log backup). Default value: `1`.
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Filter by backup file format. Valid values: `pkg` (archive file), `single` (Unarchived files).
	BackupFormat *string `json:"BackupFormat,omitnil,omitempty" name:"BackupFormat"`

	// Backup storage policy. 0 - follow the custom backup retention policy; 1 - follow the instance lifecycle until the instance is eliminated. The default value is 0.
	StorageStrategy *int64 `json:"StorageStrategy,omitnil,omitempty" name:"StorageStrategy"`
}

func NewDescribeBackupsRequest

func NewDescribeBackupsRequest() (request *DescribeBackupsRequest)

func (*DescribeBackupsRequest) FromJsonString

func (r *DescribeBackupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupsRequest) ToJsonString

func (r *DescribeBackupsRequest) ToJsonString() string

type DescribeBackupsRequestParams

type DescribeBackupsRequestParams struct {
	// Start name (yyyy-MM-dd HH:mm:ss)
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time (yyyy-MM-dd HH:mm:ss)
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter by backup name. If this parameter is left empty, backup name will not be used in filtering.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// Filter by backup policy. Valid values: 0 (instance backup), 1 (multi-database backup). If this parameter is left empty, backup policy will not be used in filtering.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Filter by backup mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup). Default value: `2`.
	BackupWay *int64 `json:"BackupWay,omitnil,omitempty" name:"BackupWay"`

	// Filter by backup ID. If this parameter is left empty, backup ID will not be used in filtering.
	BackupId *uint64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Filter backups by the database name. If the parameter is left empty, this filter criteria will not take effect.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Whether to group backup files by backup task. Valid value: `0` (no), `1` (yes). Default value: `0`. This parameter is valid only for unarchived backup files.
	Group *int64 `json:"Group,omitnil,omitempty" name:"Group"`

	// Backup type. Valid values: `1` (data backup), `2` (log backup). Default value: `1`.
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Filter by backup file format. Valid values: `pkg` (archive file), `single` (Unarchived files).
	BackupFormat *string `json:"BackupFormat,omitnil,omitempty" name:"BackupFormat"`

	// Backup storage policy. 0 - follow the custom backup retention policy; 1 - follow the instance lifecycle until the instance is eliminated. The default value is 0.
	StorageStrategy *int64 `json:"StorageStrategy,omitnil,omitempty" name:"StorageStrategy"`
}

Predefined struct for user

type DescribeBackupsResponse

type DescribeBackupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupsResponseParams `json:"Response"`
}

func NewDescribeBackupsResponse

func NewDescribeBackupsResponse() (response *DescribeBackupsResponse)

func (*DescribeBackupsResponse) FromJsonString

func (r *DescribeBackupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupsResponse) ToJsonString

func (r *DescribeBackupsResponse) ToJsonString() string

type DescribeBackupsResponseParams

type DescribeBackupsResponseParams struct {
	// Total number of backups
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Backup list details
	Backups []*Backup `json:"Backups,omitnil,omitempty" name:"Backups"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBusinessIntelligenceFileRequest

type DescribeBusinessIntelligenceFileRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// File name
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Migration task status set. Valid values: `1` (Initialize to be deployed), `2` (Deploying), `3` (Deployment successful), `4` (Deployment failed)
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// File type. Valid values: `FLAT` (flat files), `SSIS` (project file for business intelligence service).
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// The maximum number of results returned per page. Value range: 1-100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. Valid values: `file_name`, `create_time`, `start_time`.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order: Valid values: `desc`, `asc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewDescribeBusinessIntelligenceFileRequest

func NewDescribeBusinessIntelligenceFileRequest() (request *DescribeBusinessIntelligenceFileRequest)

func (*DescribeBusinessIntelligenceFileRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBusinessIntelligenceFileRequest) ToJsonString

type DescribeBusinessIntelligenceFileRequestParams

type DescribeBusinessIntelligenceFileRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// File name
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// Migration task status set. Valid values: `1` (Initialize to be deployed), `2` (Deploying), `3` (Deployment successful), `4` (Deployment failed)
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// File type. Valid values: `FLAT` (flat files), `SSIS` (project file for business intelligence service).
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// The maximum number of results returned per page. Value range: 1-100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sorting field. Valid values: `file_name`, `create_time`, `start_time`.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order: Valid values: `desc`, `asc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeBusinessIntelligenceFileResponse

type DescribeBusinessIntelligenceFileResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBusinessIntelligenceFileResponseParams `json:"Response"`
}

func NewDescribeBusinessIntelligenceFileResponse

func NewDescribeBusinessIntelligenceFileResponse() (response *DescribeBusinessIntelligenceFileResponse)

func (*DescribeBusinessIntelligenceFileResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBusinessIntelligenceFileResponse) ToJsonString

type DescribeBusinessIntelligenceFileResponseParams

type DescribeBusinessIntelligenceFileResponseParams struct {
	// Total number of file deployment tasks
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// File deployment task set
	BackupMigrationSet []*BusinessIntelligenceFile `json:"BackupMigrationSet,omitnil,omitempty" name:"BackupMigrationSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCollationTimeZoneRequest

type DescribeCollationTimeZoneRequest struct {
	*tchttp.BaseRequest

	// Host type of the purchased instance. PM: physical server; CLOUD_PREMIUM: CVM with Premium Cloud Disk;
	// CLOUD_SSD: CVM with Cloud SSD; CLOUD_HSSD: CVM with Enhanced SSD; CLOUD_TSSD: CVM with Tremendous SSD; CLOUD_BSSD: CVM with Balanced SSD; CLOUD_BASIC: CVM with cloud disk. PM is set as the default value.
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Version number of the purchased instance.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`
}

func NewDescribeCollationTimeZoneRequest

func NewDescribeCollationTimeZoneRequest() (request *DescribeCollationTimeZoneRequest)

func (*DescribeCollationTimeZoneRequest) FromJsonString

func (r *DescribeCollationTimeZoneRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCollationTimeZoneRequest) ToJsonString

func (r *DescribeCollationTimeZoneRequest) ToJsonString() string

type DescribeCollationTimeZoneRequestParams

type DescribeCollationTimeZoneRequestParams struct {
	// Host type of the purchased instance. PM: physical server; CLOUD_PREMIUM: CVM with Premium Cloud Disk;
	// CLOUD_SSD: CVM with Cloud SSD; CLOUD_HSSD: CVM with Enhanced SSD; CLOUD_TSSD: CVM with Tremendous SSD; CLOUD_BSSD: CVM with Balanced SSD; CLOUD_BASIC: CVM with cloud disk. PM is set as the default value.
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Version number of the purchased instance.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`
}

Predefined struct for user

type DescribeCollationTimeZoneResponse

type DescribeCollationTimeZoneResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCollationTimeZoneResponseParams `json:"Response"`
}

func NewDescribeCollationTimeZoneResponse

func NewDescribeCollationTimeZoneResponse() (response *DescribeCollationTimeZoneResponse)

func (*DescribeCollationTimeZoneResponse) FromJsonString

func (r *DescribeCollationTimeZoneResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCollationTimeZoneResponse) ToJsonString

func (r *DescribeCollationTimeZoneResponse) ToJsonString() string

type DescribeCollationTimeZoneResponseParams

type DescribeCollationTimeZoneResponseParams struct {
	// System character set collation list.
	Collation []*string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// System time zone list.
	TimeZone []*string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCrossBackupStatisticalRequest

type DescribeCrossBackupStatisticalRequest struct {
	*tchttp.BaseRequest

	// Pagination number.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination size.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Instance ID list.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Instance name list.
	InstanceNameSet []*string `json:"InstanceNameSet,omitnil,omitempty" name:"InstanceNameSet"`

	// Cross-region backup status. enable: enabled; disable: disabled.
	CrossBackupStatus *string `json:"CrossBackupStatus,omitnil,omitempty" name:"CrossBackupStatus"`

	// Target region for cross-region backups.
	CrossRegion *string `json:"CrossRegion,omitnil,omitempty" name:"CrossRegion"`

	// Sorting field. The default value is default, which indicates sorting by backup space in descending order. data - sort by data backup; log - sort by log backup.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Collation rule (desc - descending order; asc - ascending order). The default value is desc.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewDescribeCrossBackupStatisticalRequest

func NewDescribeCrossBackupStatisticalRequest() (request *DescribeCrossBackupStatisticalRequest)

func (*DescribeCrossBackupStatisticalRequest) FromJsonString

func (r *DescribeCrossBackupStatisticalRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCrossBackupStatisticalRequest) ToJsonString

type DescribeCrossBackupStatisticalRequestParams

type DescribeCrossBackupStatisticalRequestParams struct {
	// Pagination number.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination size.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Instance ID list.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Instance name list.
	InstanceNameSet []*string `json:"InstanceNameSet,omitnil,omitempty" name:"InstanceNameSet"`

	// Cross-region backup status. enable: enabled; disable: disabled.
	CrossBackupStatus *string `json:"CrossBackupStatus,omitnil,omitempty" name:"CrossBackupStatus"`

	// Target region for cross-region backups.
	CrossRegion *string `json:"CrossRegion,omitnil,omitempty" name:"CrossRegion"`

	// Sorting field. The default value is default, which indicates sorting by backup space in descending order. data - sort by data backup; log - sort by log backup.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Collation rule (desc - descending order; asc - ascending order). The default value is desc.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeCrossBackupStatisticalResponse

type DescribeCrossBackupStatisticalResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCrossBackupStatisticalResponseParams `json:"Response"`
}

func NewDescribeCrossBackupStatisticalResponse

func NewDescribeCrossBackupStatisticalResponse() (response *DescribeCrossBackupStatisticalResponse)

func (*DescribeCrossBackupStatisticalResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCrossBackupStatisticalResponse) ToJsonString

type DescribeCrossBackupStatisticalResponseParams

type DescribeCrossBackupStatisticalResponseParams struct {
	// Real-time statistics on the total number of cross-region backup overview data entries.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Real-time statistics list of cross-region backups.
	Items []*CrossSummaryDetailRes `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCrossRegionZoneRequest

type DescribeCrossRegionZoneRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeCrossRegionZoneRequest

func NewDescribeCrossRegionZoneRequest() (request *DescribeCrossRegionZoneRequest)

func (*DescribeCrossRegionZoneRequest) FromJsonString

func (r *DescribeCrossRegionZoneRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCrossRegionZoneRequest) ToJsonString

func (r *DescribeCrossRegionZoneRequest) ToJsonString() string

type DescribeCrossRegionZoneRequestParams

type DescribeCrossRegionZoneRequestParams struct {
	// Instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeCrossRegionZoneResponse

type DescribeCrossRegionZoneResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCrossRegionZoneResponseParams `json:"Response"`
}

func NewDescribeCrossRegionZoneResponse

func NewDescribeCrossRegionZoneResponse() (response *DescribeCrossRegionZoneResponse)

func (*DescribeCrossRegionZoneResponse) FromJsonString

func (r *DescribeCrossRegionZoneResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCrossRegionZoneResponse) ToJsonString

func (r *DescribeCrossRegionZoneResponse) ToJsonString() string

type DescribeCrossRegionZoneResponseParams

type DescribeCrossRegionZoneResponseParams struct {
	// String ID of the region where the secondary node is located, in the format of ap-guangzhou.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// String ID of the AZ where the secondary node is located, in the format of ap-guangzhou-1.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCrossRegionsRequest

type DescribeCrossRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeCrossRegionsRequest

func NewDescribeCrossRegionsRequest() (request *DescribeCrossRegionsRequest)

func (*DescribeCrossRegionsRequest) FromJsonString

func (r *DescribeCrossRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCrossRegionsRequest) ToJsonString

func (r *DescribeCrossRegionsRequest) ToJsonString() string

type DescribeCrossRegionsRequestParams

type DescribeCrossRegionsRequestParams struct {
}

Predefined struct for user

type DescribeCrossRegionsResponse

type DescribeCrossRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCrossRegionsResponseParams `json:"Response"`
}

func NewDescribeCrossRegionsResponse

func NewDescribeCrossRegionsResponse() (response *DescribeCrossRegionsResponse)

func (*DescribeCrossRegionsResponse) FromJsonString

func (r *DescribeCrossRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCrossRegionsResponse) ToJsonString

func (r *DescribeCrossRegionsResponse) ToJsonString() string

type DescribeCrossRegionsResponseParams

type DescribeCrossRegionsResponseParams struct {
	// Collection of target regions that support cross-region backups.
	Regions []*string `json:"Regions,omitnil,omitempty" name:"Regions"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBCharsetsRequest

type DescribeDBCharsetsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeDBCharsetsRequest

func NewDescribeDBCharsetsRequest() (request *DescribeDBCharsetsRequest)

func (*DescribeDBCharsetsRequest) FromJsonString

func (r *DescribeDBCharsetsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBCharsetsRequest) ToJsonString

func (r *DescribeDBCharsetsRequest) ToJsonString() string

type DescribeDBCharsetsRequestParams

type DescribeDBCharsetsRequestParams struct {
	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeDBCharsetsResponse

type DescribeDBCharsetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBCharsetsResponseParams `json:"Response"`
}

func NewDescribeDBCharsetsResponse

func NewDescribeDBCharsetsResponse() (response *DescribeDBCharsetsResponse)

func (*DescribeDBCharsetsResponse) FromJsonString

func (r *DescribeDBCharsetsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBCharsetsResponse) ToJsonString

func (r *DescribeDBCharsetsResponse) ToJsonString() string

type DescribeDBCharsetsResponseParams

type DescribeDBCharsetsResponseParams struct {
	// Database character set list
	DatabaseCharsets []*string `json:"DatabaseCharsets,omitnil,omitempty" name:"DatabaseCharsets"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBInstanceInterRequest

type DescribeDBInstanceInterRequest struct {
	*tchttp.BaseRequest

	// The maximum number of results returned per page. Value range: 1-100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter by instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Filter by status. Valid values: `1` (Enabling interworking IP), `2` (Enabled interworking IP), `3` (Adding to interworking group), `4` (Added to interworking group), `5` (Reclaiming interworking IP), `6` (Reclaimed interworking IP), `7` (Removing from interworking group), `8` (Removed from interworking group).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The list of instance version numbers.
	VersionSet []*string `json:"VersionSet,omitnil,omitempty" name:"VersionSet"`

	// Instance AZ ID in the format of ap-guangzhou-3.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeDBInstanceInterRequest

func NewDescribeDBInstanceInterRequest() (request *DescribeDBInstanceInterRequest)

func (*DescribeDBInstanceInterRequest) FromJsonString

func (r *DescribeDBInstanceInterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceInterRequest) ToJsonString

func (r *DescribeDBInstanceInterRequest) ToJsonString() string

type DescribeDBInstanceInterRequestParams

type DescribeDBInstanceInterRequestParams struct {
	// The maximum number of results returned per page. Value range: 1-100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter by instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Filter by status. Valid values: `1` (Enabling interworking IP), `2` (Enabled interworking IP), `3` (Adding to interworking group), `4` (Added to interworking group), `5` (Reclaiming interworking IP), `6` (Reclaimed interworking IP), `7` (Removing from interworking group), `8` (Removed from interworking group).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The list of instance version numbers.
	VersionSet []*string `json:"VersionSet,omitnil,omitempty" name:"VersionSet"`

	// Instance AZ ID in the format of ap-guangzhou-3.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeDBInstanceInterResponse

type DescribeDBInstanceInterResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBInstanceInterResponseParams `json:"Response"`
}

func NewDescribeDBInstanceInterResponse

func NewDescribeDBInstanceInterResponse() (response *DescribeDBInstanceInterResponse)

func (*DescribeDBInstanceInterResponse) FromJsonString

func (r *DescribeDBInstanceInterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstanceInterResponse) ToJsonString

func (r *DescribeDBInstanceInterResponse) ToJsonString() string

type DescribeDBInstanceInterResponseParams

type DescribeDBInstanceInterResponseParams struct {
	// Number of records returned.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Details of instance in the interworking group.
	InterInstanceSet []*InterInstance `json:"InterInstanceSet,omitnil,omitempty" name:"InterInstanceSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBInstancesAttributeRequest

type DescribeDBInstancesAttributeRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeDBInstancesAttributeRequest

func NewDescribeDBInstancesAttributeRequest() (request *DescribeDBInstancesAttributeRequest)

func (*DescribeDBInstancesAttributeRequest) FromJsonString

func (r *DescribeDBInstancesAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstancesAttributeRequest) ToJsonString

func (r *DescribeDBInstancesAttributeRequest) ToJsonString() string

type DescribeDBInstancesAttributeRequestParams

type DescribeDBInstancesAttributeRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeDBInstancesAttributeResponse

type DescribeDBInstancesAttributeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBInstancesAttributeResponseParams `json:"Response"`
}

func NewDescribeDBInstancesAttributeResponse

func NewDescribeDBInstancesAttributeResponse() (response *DescribeDBInstancesAttributeResponse)

func (*DescribeDBInstancesAttributeResponse) FromJsonString

func (r *DescribeDBInstancesAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstancesAttributeResponse) ToJsonString

func (r *DescribeDBInstancesAttributeResponse) ToJsonString() string

type DescribeDBInstancesAttributeResponseParams

type DescribeDBInstancesAttributeResponseParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Archive backup status. Valid values: `enable` (enabled), `disable` (disabled)
	RegularBackupEnable *string `json:"RegularBackupEnable,omitnil,omitempty" name:"RegularBackupEnable"`

	// Archive backup retention period: [90-3650] days
	RegularBackupSaveDays *uint64 `json:"RegularBackupSaveDays,omitnil,omitempty" name:"RegularBackupSaveDays"`

	// Archive backup policy. Valid values: `years` (yearly); `quarters (quarterly); `months` (monthly).
	RegularBackupStrategy *string `json:"RegularBackupStrategy,omitnil,omitempty" name:"RegularBackupStrategy"`

	// The number of retained archive backups
	RegularBackupCounts *uint64 `json:"RegularBackupCounts,omitnil,omitempty" name:"RegularBackupCounts"`

	// Archive backup start date in YYYY-MM-DD format, which is the current time by default.
	RegularBackupStartTime *string `json:"RegularBackupStartTime,omitnil,omitempty" name:"RegularBackupStartTime"`

	// Block process threshold in milliseconds
	BlockedThreshold *int64 `json:"BlockedThreshold,omitnil,omitempty" name:"BlockedThreshold"`

	// Retention period for the files of slow SQL, blocking, deadlock, and extended events.
	EventSaveDays *int64 `json:"EventSaveDays,omitnil,omitempty" name:"EventSaveDays"`

	// TDE configuration
	TDEConfig *TDEConfigAttribute `json:"TDEConfig,omitnil,omitempty" name:"TDEConfig"`

	SSLConfig *SSLConfig `json:"SSLConfig,omitnil,omitempty" name:"SSLConfig"`

	DrReadableInfo *DrReadableInfo `json:"DrReadableInfo,omitnil,omitempty" name:"DrReadableInfo"`

	OldVipList []*OldVip `json:"OldVipList,omitnil,omitempty" name:"OldVipList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBInstancesRequest

type DescribeDBInstancesRequest struct {
	*tchttp.BaseRequest

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance status. Valid values:
	// <li>1: applying</li>
	// <li>2: running</li>
	// <li>3: running restrictedly (primary/secondary switching)</li>
	// <li>4: isolated</li>
	// <li>5: repossessing</li>
	// <li>6: repossessed</li>
	// <li>7: executing task (e.g., backing up or rolling back instance)</li>
	// <li>8: deactivated</li>
	// <li>9: scaling out instance</li>
	// <li>10: migrating instance</li>
	// <li>11: read-only</li>
	// <li>12: restarting</li>
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of results per page. Value range: 1-100. Default value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// One or more instance IDs in the format of mssql-si2823jyl
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Retrieves billing type. 0: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Unique string-type ID of instance VPC in the format of `vpc-xxx`. If an empty string ("") is passed in, filtering will be made by basic network.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Unique string-type ID of instance subnet in the format of `subnet-xxx`. If an empty string ("") is passed in, filtering will be made by basic network.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// The list of instance private IPs, such as 172.1.0.12
	VipSet []*string `json:"VipSet,omitnil,omitempty" name:"VipSet"`

	// The list of instance names used for fuzzy match
	InstanceNameSet []*string `json:"InstanceNameSet,omitnil,omitempty" name:"InstanceNameSet"`

	// The list of instance version numbers, such as 2008R2, 2012SP3
	VersionSet []*string `json:"VersionSet,omitnil,omitempty" name:"VersionSet"`

	// Instance availability zone, such as ap-guangzhou-3
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// The list of instance tags
	TagKeys []*string `json:"TagKeys,omitnil,omitempty" name:"TagKeys"`

	// Keyword used for fuzzy match, including instance ID, instance name, and instance private IP
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`

	// Unique Uid of an instance
	UidSet []*string `json:"UidSet,omitnil,omitempty" name:"UidSet"`

	// Instance type. HA: high-availability instance; RO: read-only instance; SI: basic edition instance; BI: business intelligence service instance; cvmHA: dual-server high-availability instance with cloud disk; cvmRO: read-only instance with cloud disk; MultiHA: multi-node instance; cvmMultiHA: multi-node instance with cloud disk.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Pagination query method. offset - pagination query by offset; pageNumber - pagination query by number of pages. The default value is pageNumber.
	PaginationType *string `json:"PaginationType,omitnil,omitempty" name:"PaginationType"`
}

func NewDescribeDBInstancesRequest

func NewDescribeDBInstancesRequest() (request *DescribeDBInstancesRequest)

func (*DescribeDBInstancesRequest) FromJsonString

func (r *DescribeDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstancesRequest) ToJsonString

func (r *DescribeDBInstancesRequest) ToJsonString() string

type DescribeDBInstancesRequestParams

type DescribeDBInstancesRequestParams struct {
	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance status. Valid values:
	// <li>1: applying</li>
	// <li>2: running</li>
	// <li>3: running restrictedly (primary/secondary switching)</li>
	// <li>4: isolated</li>
	// <li>5: repossessing</li>
	// <li>6: repossessed</li>
	// <li>7: executing task (e.g., backing up or rolling back instance)</li>
	// <li>8: deactivated</li>
	// <li>9: scaling out instance</li>
	// <li>10: migrating instance</li>
	// <li>11: read-only</li>
	// <li>12: restarting</li>
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of results per page. Value range: 1-100. Default value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// One or more instance IDs in the format of mssql-si2823jyl
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Retrieves billing type. 0: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Unique string-type ID of instance VPC in the format of `vpc-xxx`. If an empty string ("") is passed in, filtering will be made by basic network.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Unique string-type ID of instance subnet in the format of `subnet-xxx`. If an empty string ("") is passed in, filtering will be made by basic network.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// The list of instance private IPs, such as 172.1.0.12
	VipSet []*string `json:"VipSet,omitnil,omitempty" name:"VipSet"`

	// The list of instance names used for fuzzy match
	InstanceNameSet []*string `json:"InstanceNameSet,omitnil,omitempty" name:"InstanceNameSet"`

	// The list of instance version numbers, such as 2008R2, 2012SP3
	VersionSet []*string `json:"VersionSet,omitnil,omitempty" name:"VersionSet"`

	// Instance availability zone, such as ap-guangzhou-3
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// The list of instance tags
	TagKeys []*string `json:"TagKeys,omitnil,omitempty" name:"TagKeys"`

	// Keyword used for fuzzy match, including instance ID, instance name, and instance private IP
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`

	// Unique Uid of an instance
	UidSet []*string `json:"UidSet,omitnil,omitempty" name:"UidSet"`

	// Instance type. HA: high-availability instance; RO: read-only instance; SI: basic edition instance; BI: business intelligence service instance; cvmHA: dual-server high-availability instance with cloud disk; cvmRO: read-only instance with cloud disk; MultiHA: multi-node instance; cvmMultiHA: multi-node instance with cloud disk.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Pagination query method. offset - pagination query by offset; pageNumber - pagination query by number of pages. The default value is pageNumber.
	PaginationType *string `json:"PaginationType,omitnil,omitempty" name:"PaginationType"`
}

Predefined struct for user

type DescribeDBInstancesResponse

type DescribeDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBInstancesResponseParams `json:"Response"`
}

func NewDescribeDBInstancesResponse

func NewDescribeDBInstancesResponse() (response *DescribeDBInstancesResponse)

func (*DescribeDBInstancesResponse) FromJsonString

func (r *DescribeDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBInstancesResponse) ToJsonString

func (r *DescribeDBInstancesResponse) ToJsonString() string

type DescribeDBInstancesResponseParams

type DescribeDBInstancesResponseParams struct {
	// Total number of eligible instances. If the results are returned in multiple pages, this value will be the number of all eligible instances but not the number of instances returned according to the current values of `Limit` and `Offset`
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance list
	DBInstances []*DBInstance `json:"DBInstances,omitnil,omitempty" name:"DBInstances"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBPrivilegeByAccountRequest

type DescribeDBPrivilegeByAccountRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Account name.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Database name associated with the account.
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeDBPrivilegeByAccountRequest

func NewDescribeDBPrivilegeByAccountRequest() (request *DescribeDBPrivilegeByAccountRequest)

func (*DescribeDBPrivilegeByAccountRequest) FromJsonString

func (r *DescribeDBPrivilegeByAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBPrivilegeByAccountRequest) ToJsonString

func (r *DescribeDBPrivilegeByAccountRequest) ToJsonString() string

type DescribeDBPrivilegeByAccountRequestParams

type DescribeDBPrivilegeByAccountRequestParams struct {
	// Instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Account name.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Database name associated with the account.
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeDBPrivilegeByAccountResponse

type DescribeDBPrivilegeByAccountResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBPrivilegeByAccountResponseParams `json:"Response"`
}

func NewDescribeDBPrivilegeByAccountResponse

func NewDescribeDBPrivilegeByAccountResponse() (response *DescribeDBPrivilegeByAccountResponse)

func (*DescribeDBPrivilegeByAccountResponse) FromJsonString

func (r *DescribeDBPrivilegeByAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBPrivilegeByAccountResponse) ToJsonString

func (r *DescribeDBPrivilegeByAccountResponse) ToJsonString() string

type DescribeDBPrivilegeByAccountResponseParams

type DescribeDBPrivilegeByAccountResponseParams struct {
	// Total number of databases.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Database permission list.
	DBList []*DBPrivilege `json:"DBList,omitnil,omitempty" name:"DBList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBRestoreTimeRequest

type DescribeDBRestoreTimeRequest struct {
	*tchttp.BaseRequest

	// Original instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// ID of the target instance for rollback. If this parameter is left unspecified, roll back to the original instance by default.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Queries databases that can be rolled back by time point, with the time format of YYYY-MM-DD HH:MM:SS. Either BackupId or Time should be specified, as they cannot be empty simultaneously.
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// Queries databases that can be rolled back by backup set ID, which can be obtained through the DescribeBackups API. Either BackupId or Time should be specified, as they cannot be empty simultaneously.
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Database name.
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`
}

func NewDescribeDBRestoreTimeRequest

func NewDescribeDBRestoreTimeRequest() (request *DescribeDBRestoreTimeRequest)

func (*DescribeDBRestoreTimeRequest) FromJsonString

func (r *DescribeDBRestoreTimeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBRestoreTimeRequest) ToJsonString

func (r *DescribeDBRestoreTimeRequest) ToJsonString() string

type DescribeDBRestoreTimeRequestParams

type DescribeDBRestoreTimeRequestParams struct {
	// Original instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// ID of the target instance for rollback. If this parameter is left unspecified, roll back to the original instance by default.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Queries databases that can be rolled back by time point, with the time format of YYYY-MM-DD HH:MM:SS. Either BackupId or Time should be specified, as they cannot be empty simultaneously.
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// Queries databases that can be rolled back by backup set ID, which can be obtained through the DescribeBackups API. Either BackupId or Time should be specified, as they cannot be empty simultaneously.
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Database name.
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`
}

Predefined struct for user

type DescribeDBRestoreTimeResponse

type DescribeDBRestoreTimeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBRestoreTimeResponseParams `json:"Response"`
}

func NewDescribeDBRestoreTimeResponse

func NewDescribeDBRestoreTimeResponse() (response *DescribeDBRestoreTimeResponse)

func (*DescribeDBRestoreTimeResponse) FromJsonString

func (r *DescribeDBRestoreTimeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBRestoreTimeResponse) ToJsonString

func (r *DescribeDBRestoreTimeResponse) ToJsonString() string

type DescribeDBRestoreTimeResponseParams

type DescribeDBRestoreTimeResponseParams struct {
	// Total number of databases that can be rolled back.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of databases that can be rolled back.
	Details []*DBRenameRes `json:"Details,omitnil,omitempty" name:"Details"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBSecurityGroupsRequest

type DescribeDBSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-c1nl9rpv or mssqlro-c1nl9rpv, which is the same as that displayed on the cloud database console page.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeDBSecurityGroupsRequest

func NewDescribeDBSecurityGroupsRequest() (request *DescribeDBSecurityGroupsRequest)

func (*DescribeDBSecurityGroupsRequest) FromJsonString

func (r *DescribeDBSecurityGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBSecurityGroupsRequest) ToJsonString

func (r *DescribeDBSecurityGroupsRequest) ToJsonString() string

type DescribeDBSecurityGroupsRequestParams

type DescribeDBSecurityGroupsRequestParams struct {
	// Instance ID, in the format of mssql-c1nl9rpv or mssqlro-c1nl9rpv, which is the same as that displayed on the cloud database console page.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeDBSecurityGroupsResponse

type DescribeDBSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeDBSecurityGroupsResponse

func NewDescribeDBSecurityGroupsResponse() (response *DescribeDBSecurityGroupsResponse)

func (*DescribeDBSecurityGroupsResponse) FromJsonString

func (r *DescribeDBSecurityGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBSecurityGroupsResponse) ToJsonString

func (r *DescribeDBSecurityGroupsResponse) ToJsonString() string

type DescribeDBSecurityGroupsResponseParams

type DescribeDBSecurityGroupsResponseParams struct {
	// Security group details.
	SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitnil,omitempty" name:"SecurityGroupSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBsNormalRequest

type DescribeDBsNormalRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-7vfv3rk3
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeDBsNormalRequest

func NewDescribeDBsNormalRequest() (request *DescribeDBsNormalRequest)

func (*DescribeDBsNormalRequest) FromJsonString

func (r *DescribeDBsNormalRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBsNormalRequest) ToJsonString

func (r *DescribeDBsNormalRequest) ToJsonString() string

type DescribeDBsNormalRequestParams

type DescribeDBsNormalRequestParams struct {
	// Instance ID in the format of mssql-7vfv3rk3
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeDBsNormalResponse

type DescribeDBsNormalResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBsNormalResponseParams `json:"Response"`
}

func NewDescribeDBsNormalResponse

func NewDescribeDBsNormalResponse() (response *DescribeDBsNormalResponse)

func (*DescribeDBsNormalResponse) FromJsonString

func (r *DescribeDBsNormalResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBsNormalResponse) ToJsonString

func (r *DescribeDBsNormalResponse) ToJsonString() string

type DescribeDBsNormalResponseParams

type DescribeDBsNormalResponseParams struct {
	// Total number of databases of the instance
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Detailed database configurations, such as whether CDC or CT is enabled for the database
	DBList []*DbNormalDetail `json:"DBList,omitnil,omitempty" name:"DBList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDBsRequest

type DescribeDBsRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Database name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// TDE status. Valid values: `enable` (enabled), `disable` (disabled).
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`
}

func NewDescribeDBsRequest

func NewDescribeDBsRequest() (request *DescribeDBsRequest)

func (*DescribeDBsRequest) FromJsonString

func (r *DescribeDBsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBsRequest) ToJsonString

func (r *DescribeDBsRequest) ToJsonString() string

type DescribeDBsRequestParams

type DescribeDBsRequestParams struct {
	// Instance ID
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Database name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Sorting rule. Valid values: `desc` (descending order), `asc` (ascending order). Default value: `desc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// TDE status. Valid values: `enable` (enabled), `disable` (disabled).
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`
}

Predefined struct for user

type DescribeDBsResponse

type DescribeDBsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBsResponseParams `json:"Response"`
}

func NewDescribeDBsResponse

func NewDescribeDBsResponse() (response *DescribeDBsResponse)

func (*DescribeDBsResponse) FromJsonString

func (r *DescribeDBsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBsResponse) ToJsonString

func (r *DescribeDBsResponse) ToJsonString() string

type DescribeDBsResponseParams

type DescribeDBsResponseParams struct {
	// Number of databases
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of instance databases
	DBInstances []*InstanceDBDetail `json:"DBInstances,omitnil,omitempty" name:"DBInstances"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDatabaseNamesRequest

type DescribeDatabaseNamesRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-rljoi3bf.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Account name.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`
}

func NewDescribeDatabaseNamesRequest

func NewDescribeDatabaseNamesRequest() (request *DescribeDatabaseNamesRequest)

func (*DescribeDatabaseNamesRequest) FromJsonString

func (r *DescribeDatabaseNamesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabaseNamesRequest) ToJsonString

func (r *DescribeDatabaseNamesRequest) ToJsonString() string

type DescribeDatabaseNamesRequestParams

type DescribeDatabaseNamesRequestParams struct {
	// Instance ID, in the format of mssql-rljoi3bf.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Account name.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`
}

Predefined struct for user

type DescribeDatabaseNamesResponse

type DescribeDatabaseNamesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDatabaseNamesResponseParams `json:"Response"`
}

func NewDescribeDatabaseNamesResponse

func NewDescribeDatabaseNamesResponse() (response *DescribeDatabaseNamesResponse)

func (*DescribeDatabaseNamesResponse) FromJsonString

func (r *DescribeDatabaseNamesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabaseNamesResponse) ToJsonString

func (r *DescribeDatabaseNamesResponse) ToJsonString() string

type DescribeDatabaseNamesResponseParams

type DescribeDatabaseNamesResponseParams struct {
	// Total number of databases associated with the account.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Database name set.
	DatabaseNameSet []*string `json:"DatabaseNameSet,omitnil,omitempty" name:"DatabaseNameSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDatabasesNormalRequest

type DescribeDatabasesNormalRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-7vfv3rk3.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeDatabasesNormalRequest

func NewDescribeDatabasesNormalRequest() (request *DescribeDatabasesNormalRequest)

func (*DescribeDatabasesNormalRequest) FromJsonString

func (r *DescribeDatabasesNormalRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesNormalRequest) ToJsonString

func (r *DescribeDatabasesNormalRequest) ToJsonString() string

type DescribeDatabasesNormalRequestParams

type DescribeDatabasesNormalRequestParams struct {
	// Instance ID, in the format of mssql-7vfv3rk3.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeDatabasesNormalResponse

type DescribeDatabasesNormalResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDatabasesNormalResponseParams `json:"Response"`
}

func NewDescribeDatabasesNormalResponse

func NewDescribeDatabasesNormalResponse() (response *DescribeDatabasesNormalResponse)

func (*DescribeDatabasesNormalResponse) FromJsonString

func (r *DescribeDatabasesNormalResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesNormalResponse) ToJsonString

func (r *DescribeDatabasesNormalResponse) ToJsonString() string

type DescribeDatabasesNormalResponseParams

type DescribeDatabasesNormalResponseParams struct {
	// Indicates the total number of databases under the current instance.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Returns detailed configuration information of the databases, such as whether CDC and CT are enabled for the databases.
	DBList []*DbNormalDetail `json:"DBList,omitnil,omitempty" name:"DBList"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDatabasesRequest

type DescribeDatabasesRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Database name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Collation rule (desc - descending order; asc - ascending order). The default value is desc.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Whether TDE encryption is enabled. enable - encrypted; disable - unencrypted.
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`

	// Sorting field. (Name - sort by name; CreateTime - sort by creation time). The default value is CreateTime.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`
}

func NewDescribeDatabasesRequest

func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)

func (*DescribeDatabasesRequest) FromJsonString

func (r *DescribeDatabasesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesRequest) ToJsonString

func (r *DescribeDatabasesRequest) ToJsonString() string

type DescribeDatabasesRequestParams

type DescribeDatabasesRequestParams struct {
	// Instance ID
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number in pagination mode. The default value is 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Database name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Collation rule (desc - descending order; asc - ascending order). The default value is desc.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Whether TDE encryption is enabled. enable - encrypted; disable - unencrypted.
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`

	// Sorting field. (Name - sort by name; CreateTime - sort by creation time). The default value is CreateTime.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`
}

Predefined struct for user

type DescribeDatabasesResponse

type DescribeDatabasesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDatabasesResponseParams `json:"Response"`
}

func NewDescribeDatabasesResponse

func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)

func (*DescribeDatabasesResponse) FromJsonString

func (r *DescribeDatabasesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesResponse) ToJsonString

func (r *DescribeDatabasesResponse) ToJsonString() string

type DescribeDatabasesResponseParams

type DescribeDatabasesResponseParams struct {
	// Number of databases.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance database list.
	DBInstances []*InstanceDBDetail `json:"DBInstances,omitnil,omitempty" name:"DBInstances"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeFlowStatusRequest

type DescribeFlowStatusRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewDescribeFlowStatusRequest

func NewDescribeFlowStatusRequest() (request *DescribeFlowStatusRequest)

func (*DescribeFlowStatusRequest) FromJsonString

func (r *DescribeFlowStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFlowStatusRequest) ToJsonString

func (r *DescribeFlowStatusRequest) ToJsonString() string

type DescribeFlowStatusRequestParams

type DescribeFlowStatusRequestParams struct {
	// Flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type DescribeFlowStatusResponse

type DescribeFlowStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeFlowStatusResponseParams `json:"Response"`
}

func NewDescribeFlowStatusResponse

func NewDescribeFlowStatusResponse() (response *DescribeFlowStatusResponse)

func (*DescribeFlowStatusResponse) FromJsonString

func (r *DescribeFlowStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFlowStatusResponse) ToJsonString

func (r *DescribeFlowStatusResponse) ToJsonString() string

type DescribeFlowStatusResponseParams

type DescribeFlowStatusResponseParams struct {
	// Flow status. 0: succeeded, 1: failed, 2: running
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeHASwitchLogRequest

type DescribeHASwitchLogRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time (yyyy-MM-dd HH:mm:ss).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time (yyyy-MM-dd HH:mm:ss).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Switch mode. 0 - system automatic switch; 1 - manual switch. Check all switch modes by default if the parameter is left unspecified.
	SwitchType *uint64 `json:"SwitchType,omitnil,omitempty" name:"SwitchType"`

	// Pagination size.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination number.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeHASwitchLogRequest

func NewDescribeHASwitchLogRequest() (request *DescribeHASwitchLogRequest)

func (*DescribeHASwitchLogRequest) FromJsonString

func (r *DescribeHASwitchLogRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHASwitchLogRequest) ToJsonString

func (r *DescribeHASwitchLogRequest) ToJsonString() string

type DescribeHASwitchLogRequestParams

type DescribeHASwitchLogRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time (yyyy-MM-dd HH:mm:ss).
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time (yyyy-MM-dd HH:mm:ss).
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Switch mode. 0 - system automatic switch; 1 - manual switch. Check all switch modes by default if the parameter is left unspecified.
	SwitchType *uint64 `json:"SwitchType,omitnil,omitempty" name:"SwitchType"`

	// Pagination size.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination number.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeHASwitchLogResponse

type DescribeHASwitchLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHASwitchLogResponseParams `json:"Response"`
}

func NewDescribeHASwitchLogResponse

func NewDescribeHASwitchLogResponse() (response *DescribeHASwitchLogResponse)

func (*DescribeHASwitchLogResponse) FromJsonString

func (r *DescribeHASwitchLogResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHASwitchLogResponse) ToJsonString

func (r *DescribeHASwitchLogResponse) ToJsonString() string

type DescribeHASwitchLogResponseParams

type DescribeHASwitchLogResponseParams struct {
	// Total number of logs.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Primary-secondary switch logs.
	SwitchLog []*SwitchLog `json:"SwitchLog,omitnil,omitempty" name:"SwitchLog"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIncrementalMigrationRequest

type DescribeIncrementalMigrationRequest struct {
	*tchttp.BaseRequest

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup file name
	BackupFileName *string `json:"BackupFileName,omitnil,omitempty" name:"BackupFileName"`

	// Status set of import tasks
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// The maximum number of results returned per page. Default value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API.
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

func NewDescribeIncrementalMigrationRequest

func NewDescribeIncrementalMigrationRequest() (request *DescribeIncrementalMigrationRequest)

func (*DescribeIncrementalMigrationRequest) FromJsonString

func (r *DescribeIncrementalMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIncrementalMigrationRequest) ToJsonString

func (r *DescribeIncrementalMigrationRequest) ToJsonString() string

type DescribeIncrementalMigrationRequestParams

type DescribeIncrementalMigrationRequestParams struct {
	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup file name
	BackupFileName *string `json:"BackupFileName,omitnil,omitempty" name:"BackupFileName"`

	// Status set of import tasks
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// The maximum number of results returned per page. Default value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Sort by field. Valid values: `name`, `createTime`, `startTime`, `endTime`. By default, the results returned are sorted by `createTime` in the ascending order.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order which is valid only when `OrderBy` is specified. Valid values: `asc` (ascending), `desc` (descending). Default value: `asc`.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API.
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

Predefined struct for user

type DescribeIncrementalMigrationResponse

type DescribeIncrementalMigrationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIncrementalMigrationResponseParams `json:"Response"`
}

func NewDescribeIncrementalMigrationResponse

func NewDescribeIncrementalMigrationResponse() (response *DescribeIncrementalMigrationResponse)

func (*DescribeIncrementalMigrationResponse) FromJsonString

func (r *DescribeIncrementalMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIncrementalMigrationResponse) ToJsonString

func (r *DescribeIncrementalMigrationResponse) ToJsonString() string

type DescribeIncrementalMigrationResponseParams

type DescribeIncrementalMigrationResponseParams struct {
	// Total number of import tasks
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Incremental import task set
	IncrementalMigrationSet []*Migration `json:"IncrementalMigrationSet,omitnil,omitempty" name:"IncrementalMigrationSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceByOrdersRequest

type DescribeInstanceByOrdersRequest struct {
	*tchttp.BaseRequest

	// Order ID set
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
}

func NewDescribeInstanceByOrdersRequest

func NewDescribeInstanceByOrdersRequest() (request *DescribeInstanceByOrdersRequest)

func (*DescribeInstanceByOrdersRequest) FromJsonString

func (r *DescribeInstanceByOrdersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceByOrdersRequest) ToJsonString

func (r *DescribeInstanceByOrdersRequest) ToJsonString() string

type DescribeInstanceByOrdersRequestParams

type DescribeInstanceByOrdersRequestParams struct {
	// Order ID set
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
}

Predefined struct for user

type DescribeInstanceByOrdersResponse

type DescribeInstanceByOrdersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceByOrdersResponseParams `json:"Response"`
}

func NewDescribeInstanceByOrdersResponse

func NewDescribeInstanceByOrdersResponse() (response *DescribeInstanceByOrdersResponse)

func (*DescribeInstanceByOrdersResponse) FromJsonString

func (r *DescribeInstanceByOrdersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceByOrdersResponse) ToJsonString

func (r *DescribeInstanceByOrdersResponse) ToJsonString() string

type DescribeInstanceByOrdersResponseParams

type DescribeInstanceByOrdersResponseParams struct {
	// Resource ID set.
	DealInstance []*DealInstance `json:"DealInstance,omitnil,omitempty" name:"DealInstance"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceParamRecordsRequest

type DescribeInstanceParamRecordsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The maximum number of results returned per page. Maximum value: `100`. Default value: `20`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeInstanceParamRecordsRequest

func NewDescribeInstanceParamRecordsRequest() (request *DescribeInstanceParamRecordsRequest)

func (*DescribeInstanceParamRecordsRequest) FromJsonString

func (r *DescribeInstanceParamRecordsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamRecordsRequest) ToJsonString

func (r *DescribeInstanceParamRecordsRequest) ToJsonString() string

type DescribeInstanceParamRecordsRequestParams

type DescribeInstanceParamRecordsRequestParams struct {
	// Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Page number. Default value: `0`.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The maximum number of results returned per page. Maximum value: `100`. Default value: `20`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeInstanceParamRecordsResponse

type DescribeInstanceParamRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceParamRecordsResponseParams `json:"Response"`
}

func NewDescribeInstanceParamRecordsResponse

func NewDescribeInstanceParamRecordsResponse() (response *DescribeInstanceParamRecordsResponse)

func (*DescribeInstanceParamRecordsResponse) FromJsonString

func (r *DescribeInstanceParamRecordsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamRecordsResponse) ToJsonString

func (r *DescribeInstanceParamRecordsResponse) ToJsonString() string

type DescribeInstanceParamRecordsResponseParams

type DescribeInstanceParamRecordsResponseParams struct {
	// Number of eligible records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Parameter modification records
	Items []*ParamRecord `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceParamsRequest

type DescribeInstanceParamsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeInstanceParamsRequest

func NewDescribeInstanceParamsRequest() (request *DescribeInstanceParamsRequest)

func (*DescribeInstanceParamsRequest) FromJsonString

func (r *DescribeInstanceParamsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamsRequest) ToJsonString

func (r *DescribeInstanceParamsRequest) ToJsonString() string

type DescribeInstanceParamsRequestParams

type DescribeInstanceParamsRequestParams struct {
	// Instance ID in the format of mssql-dj5i29c5n. It is the same as the instance ID displayed in the TencentDB console and the response parameter `InstanceId` of the `DescribeDBInstances` API.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceParamsResponse

type DescribeInstanceParamsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceParamsResponseParams `json:"Response"`
}

func NewDescribeInstanceParamsResponse

func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsResponse)

func (*DescribeInstanceParamsResponse) FromJsonString

func (r *DescribeInstanceParamsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamsResponse) ToJsonString

func (r *DescribeInstanceParamsResponse) ToJsonString() string

type DescribeInstanceParamsResponseParams

type DescribeInstanceParamsResponseParams struct {
	// Total number of instance parameters
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Parameter details
	Items []*ParameterDetail `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceTasksRequest

type DescribeInstanceTasksRequest struct {
	*tchttp.BaseRequest

	// Database instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Pagination size.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Asynchronous task status. 1 - running; 2 - running successful; 3 - running failed.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Pagination offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeInstanceTasksRequest

func NewDescribeInstanceTasksRequest() (request *DescribeInstanceTasksRequest)

func (*DescribeInstanceTasksRequest) FromJsonString

func (r *DescribeInstanceTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceTasksRequest) ToJsonString

func (r *DescribeInstanceTasksRequest) ToJsonString() string

type DescribeInstanceTasksRequestParams

type DescribeInstanceTasksRequestParams struct {
	// Database instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Pagination size.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Asynchronous task status. 1 - running; 2 - running successful; 3 - running failed.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Pagination offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeInstanceTasksResponse

type DescribeInstanceTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceTasksResponseParams `json:"Response"`
}

func NewDescribeInstanceTasksResponse

func NewDescribeInstanceTasksResponse() (response *DescribeInstanceTasksResponse)

func (*DescribeInstanceTasksResponse) FromJsonString

func (r *DescribeInstanceTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceTasksResponse) ToJsonString

func (r *DescribeInstanceTasksResponse) ToJsonString() string

type DescribeInstanceTasksResponseParams

type DescribeInstanceTasksResponseParams struct {
	// Total number of asynchronous tasks.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Asynchronous task information array.
	InstanceTaskSet []*InstanceTask `json:"InstanceTaskSet,omitnil,omitempty" name:"InstanceTaskSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceTradeParameterRequest

type DescribeInstanceTradeParameterRequest struct {
	*tchttp.BaseRequest

	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Number of CPU cores.
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance storage capacity in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Type of purchased instances. HA: high-availability edition (including dual-server high-availability edition and Always On cluster edition); RO: read-only replica edition; SI: single-node edition; BI: business intelligence edition; cvmHA: new high-availability edition; cvmRO: new read-only replica edition; MultiHA: multi-node edition; cvmMultiHA: multi-node cloud disk edition.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Host disk type of purchased instances. CLOUD_HSSD - Enhanced SSD for CVMs, CLOUD_TSSD - Tremendous SSD for CVMs, CLOUD_BSSD - Balanced SSD for CVMs.
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Billing mode. Valid value: POSTPAID (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: 1. Maximum value: 10.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Whether to deploy across availability zones. Default value: false.
	MultiZones *bool `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// System time zone. Default value: `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// Whether it is a multi-node architecture instance. Default value: `false`.
	MultiNodes *bool `json:"MultiNodes,omitnil,omitempty" name:"MultiNodes"`

	// The zone in which the standby node is available. Default is empty. If it is a multi-node architecture, it must be transmitted. When MultiNodes = true, the availability zones of the primary and standby nodes cannot all be the same. The minimum number of availability zones for the standby nodes is 2, and the maximum is 5.
	DrZones []*string `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

func NewDescribeInstanceTradeParameterRequest

func NewDescribeInstanceTradeParameterRequest() (request *DescribeInstanceTradeParameterRequest)

func (*DescribeInstanceTradeParameterRequest) FromJsonString

func (r *DescribeInstanceTradeParameterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceTradeParameterRequest) ToJsonString

type DescribeInstanceTradeParameterRequestParams

type DescribeInstanceTradeParameterRequestParams struct {
	// Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` API.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Number of CPU cores.
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Instance memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance storage capacity in GB.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Type of purchased instances. HA: high-availability edition (including dual-server high-availability edition and Always On cluster edition); RO: read-only replica edition; SI: single-node edition; BI: business intelligence edition; cvmHA: new high-availability edition; cvmRO: new read-only replica edition; MultiHA: multi-node edition; cvmMultiHA: multi-node cloud disk edition.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Host disk type of purchased instances. CLOUD_HSSD - Enhanced SSD for CVMs, CLOUD_TSSD - Tremendous SSD for CVMs, CLOUD_BSSD - Balanced SSD for CVMs.
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Billing mode. Valid value: POSTPAID (pay-as-you-go).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of instances purchased this time. Default value: 1. Maximum value: 10.
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneously.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Security group list, which contains security group IDs in the format of sg-xxx.
	SecurityGroupList []*string `json:"SecurityGroupList,omitnil,omitempty" name:"SecurityGroupList"`

	// Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Configuration of the maintenance window, which specifies the start time of daily maintenance.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configuration of the maintenance window, which specifies the maintenance duration in hours.
	Span *int64 `json:"Span,omitnil,omitempty" name:"Span"`

	// Whether to deploy across availability zones. Default value: false.
	MultiZones *bool `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Tags associated with the instances to be created.
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`

	// System time zone. Default value: `China Standard Time`.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
	Collation *string `json:"Collation,omitnil,omitempty" name:"Collation"`

	// Whether it is a multi-node architecture instance. Default value: `false`.
	MultiNodes *bool `json:"MultiNodes,omitnil,omitempty" name:"MultiNodes"`

	// The zone in which the standby node is available. Default is empty. If it is a multi-node architecture, it must be transmitted. When MultiNodes = true, the availability zones of the primary and standby nodes cannot all be the same. The minimum number of availability zones for the standby nodes is 2, and the maximum is 5.
	DrZones []*string `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

Predefined struct for user

type DescribeInstanceTradeParameterResponse

type DescribeInstanceTradeParameterResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceTradeParameterResponseParams `json:"Response"`
}

func NewDescribeInstanceTradeParameterResponse

func NewDescribeInstanceTradeParameterResponse() (response *DescribeInstanceTradeParameterResponse)

func (*DescribeInstanceTradeParameterResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceTradeParameterResponse) ToJsonString

type DescribeInstanceTradeParameterResponseParams

type DescribeInstanceTradeParameterResponseParams struct {
	// Billing parameter.
	Parameter *string `json:"Parameter,omitnil,omitempty" name:"Parameter"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMaintenanceSpanRequest

type DescribeMaintenanceSpanRequest struct {
	*tchttp.BaseRequest

	// Instance ID. For example, mssql-k8voqdlz.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeMaintenanceSpanRequest

func NewDescribeMaintenanceSpanRequest() (request *DescribeMaintenanceSpanRequest)

func (*DescribeMaintenanceSpanRequest) FromJsonString

func (r *DescribeMaintenanceSpanRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMaintenanceSpanRequest) ToJsonString

func (r *DescribeMaintenanceSpanRequest) ToJsonString() string

type DescribeMaintenanceSpanRequestParams

type DescribeMaintenanceSpanRequestParams struct {
	// Instance ID. For example, mssql-k8voqdlz.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeMaintenanceSpanResponse

type DescribeMaintenanceSpanResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMaintenanceSpanResponseParams `json:"Response"`
}

func NewDescribeMaintenanceSpanResponse

func NewDescribeMaintenanceSpanResponse() (response *DescribeMaintenanceSpanResponse)

func (*DescribeMaintenanceSpanResponse) FromJsonString

func (r *DescribeMaintenanceSpanResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMaintenanceSpanResponse) ToJsonString

func (r *DescribeMaintenanceSpanResponse) ToJsonString() string

type DescribeMaintenanceSpanResponseParams

type DescribeMaintenanceSpanResponseParams struct {
	// Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance.
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts.
	Span *uint64 `json:"Span,omitnil,omitempty" name:"Span"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMigrationDatabasesRequest

type DescribeMigrationDatabasesRequest struct {
	*tchttp.BaseRequest

	// Migration source instance ID, in the format of mssql-si2823jyl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Username of the migration source instance.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Password of the migration source instance.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

func NewDescribeMigrationDatabasesRequest

func NewDescribeMigrationDatabasesRequest() (request *DescribeMigrationDatabasesRequest)

func (*DescribeMigrationDatabasesRequest) FromJsonString

func (r *DescribeMigrationDatabasesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMigrationDatabasesRequest) ToJsonString

func (r *DescribeMigrationDatabasesRequest) ToJsonString() string

type DescribeMigrationDatabasesRequestParams

type DescribeMigrationDatabasesRequestParams struct {
	// Migration source instance ID, in the format of mssql-si2823jyl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Username of the migration source instance.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Password of the migration source instance.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

Predefined struct for user

type DescribeMigrationDatabasesResponse

type DescribeMigrationDatabasesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMigrationDatabasesResponseParams `json:"Response"`
}

func NewDescribeMigrationDatabasesResponse

func NewDescribeMigrationDatabasesResponse() (response *DescribeMigrationDatabasesResponse)

func (*DescribeMigrationDatabasesResponse) FromJsonString

func (r *DescribeMigrationDatabasesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMigrationDatabasesResponse) ToJsonString

func (r *DescribeMigrationDatabasesResponse) ToJsonString() string

type DescribeMigrationDatabasesResponseParams

type DescribeMigrationDatabasesResponseParams struct {
	// Number of databases.
	Amount *int64 `json:"Amount,omitnil,omitempty" name:"Amount"`

	// Database name array.
	MigrateDBSet []*string `json:"MigrateDBSet,omitnil,omitempty" name:"MigrateDBSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMigrationDetailRequest

type DescribeMigrationDetailRequest struct {
	*tchttp.BaseRequest

	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

func NewDescribeMigrationDetailRequest

func NewDescribeMigrationDetailRequest() (request *DescribeMigrationDetailRequest)

func (*DescribeMigrationDetailRequest) FromJsonString

func (r *DescribeMigrationDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMigrationDetailRequest) ToJsonString

func (r *DescribeMigrationDetailRequest) ToJsonString() string

type DescribeMigrationDetailRequestParams

type DescribeMigrationDetailRequestParams struct {
	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

Predefined struct for user

type DescribeMigrationDetailResponse

type DescribeMigrationDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMigrationDetailResponseParams `json:"Response"`
}

func NewDescribeMigrationDetailResponse

func NewDescribeMigrationDetailResponse() (response *DescribeMigrationDetailResponse)

func (*DescribeMigrationDetailResponse) FromJsonString

func (r *DescribeMigrationDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMigrationDetailResponse) ToJsonString

func (r *DescribeMigrationDetailResponse) ToJsonString() string

type DescribeMigrationDetailResponseParams

type DescribeMigrationDetailResponseParams struct {
	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`

	// Migration task name
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// User ID of migration task
	AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Migration task region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode)
	SourceType *int64 `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Migration task creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Migration task start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Migration task end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Migration task status (1: initializing, 4: migrating, 5: migration failed, 6: migration succeeded)
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Migration task progress
	Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"`

	// Migration type (1: structure migration, 2: data migration, 3: incremental sync)
	MigrateType *int64 `json:"MigrateType,omitnil,omitempty" name:"MigrateType"`

	// Migration source
	Source *MigrateSource `json:"Source,omitnil,omitempty" name:"Source"`

	// Migration target
	Target *MigrateTarget `json:"Target,omitnil,omitempty" name:"Target"`

	// Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5)
	MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitnil,omitempty" name:"MigrateDBSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMigrationsRequest

type DescribeMigrationsRequest struct {
	*tchttp.BaseRequest

	// Status set. As long as a migration task is in a status therein, it will be listed
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// Migration task name (fuzzy match)
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// Number of results per page. Value range: 1-100. Default value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The query results are sorted by keyword. Valid values: name, createTime, startTime, endTime, status
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: desc, asc
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

func NewDescribeMigrationsRequest

func NewDescribeMigrationsRequest() (request *DescribeMigrationsRequest)

func (*DescribeMigrationsRequest) FromJsonString

func (r *DescribeMigrationsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMigrationsRequest) ToJsonString

func (r *DescribeMigrationsRequest) ToJsonString() string

type DescribeMigrationsRequestParams

type DescribeMigrationsRequestParams struct {
	// Status set. As long as a migration task is in a status therein, it will be listed
	StatusSet []*int64 `json:"StatusSet,omitnil,omitempty" name:"StatusSet"`

	// Migration task name (fuzzy match)
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// Number of results per page. Value range: 1-100. Default value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The query results are sorted by keyword. Valid values: name, createTime, startTime, endTime, status
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order. Valid values: desc, asc
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`
}

Predefined struct for user

type DescribeMigrationsResponse

type DescribeMigrationsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMigrationsResponseParams `json:"Response"`
}

func NewDescribeMigrationsResponse

func NewDescribeMigrationsResponse() (response *DescribeMigrationsResponse)

func (*DescribeMigrationsResponse) FromJsonString

func (r *DescribeMigrationsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMigrationsResponse) ToJsonString

func (r *DescribeMigrationsResponse) ToJsonString() string

type DescribeMigrationsResponseParams

type DescribeMigrationsResponseParams struct {
	// Total number of query results
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of query results
	MigrateTaskSet []*MigrateTask `json:"MigrateTaskSet,omitnil,omitempty" name:"MigrateTaskSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOrdersRequest

type DescribeOrdersRequest struct {
	*tchttp.BaseRequest

	// Order array. The order name will be returned upon shipping, which can be used to call the `DescribeOrders` API to query shipment status
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
}

func NewDescribeOrdersRequest

func NewDescribeOrdersRequest() (request *DescribeOrdersRequest)

func (*DescribeOrdersRequest) FromJsonString

func (r *DescribeOrdersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrdersRequest) ToJsonString

func (r *DescribeOrdersRequest) ToJsonString() string

type DescribeOrdersRequestParams

type DescribeOrdersRequestParams struct {
	// Order array. The order name will be returned upon shipping, which can be used to call the `DescribeOrders` API to query shipment status
	DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
}

Predefined struct for user

type DescribeOrdersResponse

type DescribeOrdersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOrdersResponseParams `json:"Response"`
}

func NewDescribeOrdersResponse

func NewDescribeOrdersResponse() (response *DescribeOrdersResponse)

func (*DescribeOrdersResponse) FromJsonString

func (r *DescribeOrdersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOrdersResponse) ToJsonString

func (r *DescribeOrdersResponse) ToJsonString() string

type DescribeOrdersResponseParams

type DescribeOrdersResponseParams struct {
	// Order information array
	Deals []*DealInfo `json:"Deals,omitnil,omitempty" name:"Deals"`

	// Number of orders returned
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProductConfigRequest

type DescribeProductConfigRequest struct {
	*tchttp.BaseRequest

	// AZ ID in the format of ap-guangzhou-1.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Type of purchased instance. Valid values: HA - local disk high availability (including dual-machine high availability, AlwaysOn Cluster), RO - local disk read-only replica, SI - cloud disk edition single node, BI - business intelligence service, cvmHA - cloud disk edition high availability, cvmRO - cloud disk edition read-only replica.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
}

func NewDescribeProductConfigRequest

func NewDescribeProductConfigRequest() (request *DescribeProductConfigRequest)

func (*DescribeProductConfigRequest) FromJsonString

func (r *DescribeProductConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductConfigRequest) ToJsonString

func (r *DescribeProductConfigRequest) ToJsonString() string

type DescribeProductConfigRequestParams

type DescribeProductConfigRequestParams struct {
	// AZ ID in the format of ap-guangzhou-1.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Type of purchased instance. Valid values: HA - local disk high availability (including dual-machine high availability, AlwaysOn Cluster), RO - local disk read-only replica, SI - cloud disk edition single node, BI - business intelligence service, cvmHA - cloud disk edition high availability, cvmRO - cloud disk edition read-only replica.
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
}

Predefined struct for user

type DescribeProductConfigResponse

type DescribeProductConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProductConfigResponseParams `json:"Response"`
}

func NewDescribeProductConfigResponse

func NewDescribeProductConfigResponse() (response *DescribeProductConfigResponse)

func (*DescribeProductConfigResponse) FromJsonString

func (r *DescribeProductConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductConfigResponse) ToJsonString

func (r *DescribeProductConfigResponse) ToJsonString() string

type DescribeProductConfigResponseParams

type DescribeProductConfigResponseParams struct {
	// Specification information array.
	SpecInfoList []*SpecInfo `json:"SpecInfoList,omitnil,omitempty" name:"SpecInfoList"`

	// Number of date entries returned.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProjectSecurityGroupsRequest

type DescribeProjectSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Project ID, which can be viewed under project management in the console.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func NewDescribeProjectSecurityGroupsRequest

func NewDescribeProjectSecurityGroupsRequest() (request *DescribeProjectSecurityGroupsRequest)

func (*DescribeProjectSecurityGroupsRequest) FromJsonString

func (r *DescribeProjectSecurityGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectSecurityGroupsRequest) ToJsonString

func (r *DescribeProjectSecurityGroupsRequest) ToJsonString() string

type DescribeProjectSecurityGroupsRequestParams

type DescribeProjectSecurityGroupsRequestParams struct {
	// Project ID, which can be viewed under project management in the console.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

Predefined struct for user

type DescribeProjectSecurityGroupsResponse

type DescribeProjectSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProjectSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeProjectSecurityGroupsResponse

func NewDescribeProjectSecurityGroupsResponse() (response *DescribeProjectSecurityGroupsResponse)

func (*DescribeProjectSecurityGroupsResponse) FromJsonString

func (r *DescribeProjectSecurityGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectSecurityGroupsResponse) ToJsonString

type DescribeProjectSecurityGroupsResponseParams

type DescribeProjectSecurityGroupsResponseParams struct {
	// Security group details.
	SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitnil,omitempty" name:"SecurityGroupSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePublishSubscribeRequest

type DescribePublishSubscribeRequest struct {
	*tchttp.BaseRequest

	// Instance ID. For example, mssql-j8kv137v.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Publish/subscribe instance ID, which is related to whether InstanceId is a publishing instance or a subscription instance. When the value of InstanceId is a publishing instance, filtering by subscription instance ID is performed for this field. When the value of InstanceId is a subscription instance, filtering by publishing instance ID is performed for this field.
	PubOrSubInstanceId *string `json:"PubOrSubInstanceId,omitnil,omitempty" name:"PubOrSubInstanceId"`

	// Private address of the publish/subscribe instance, which is related to whether InstanceId is a publishing instance or a subscription instance. When the value of InstanceId is a publishing instance, filtering by private IP address of the subscription instance is performed for this field. When the value of InstanceId is a subscription instance, filtering by private IP address of the publishing instance is performed for this field.
	PubOrSubInstanceIp *string `json:"PubOrSubInstanceIp,omitnil,omitempty" name:"PubOrSubInstanceIp"`

	// Publish/subscribe ID, which is used for filtering.
	PublishSubscribeId *uint64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe name, which is used for filtering.
	PublishSubscribeName *string `json:"PublishSubscribeName,omitnil,omitempty" name:"PublishSubscribeName"`

	// Publishing database name, which is used for filtering.
	PublishDBName *string `json:"PublishDBName,omitnil,omitempty" name:"PublishDBName"`

	// Subscription database name, which is used for filtering.
	SubscribeDBName *string `json:"SubscribeDBName,omitnil,omitempty" name:"SubscribeDBName"`

	// Pagination number.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination size.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePublishSubscribeRequest

func NewDescribePublishSubscribeRequest() (request *DescribePublishSubscribeRequest)

func (*DescribePublishSubscribeRequest) FromJsonString

func (r *DescribePublishSubscribeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePublishSubscribeRequest) ToJsonString

func (r *DescribePublishSubscribeRequest) ToJsonString() string

type DescribePublishSubscribeRequestParams

type DescribePublishSubscribeRequestParams struct {
	// Instance ID. For example, mssql-j8kv137v.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Publish/subscribe instance ID, which is related to whether InstanceId is a publishing instance or a subscription instance. When the value of InstanceId is a publishing instance, filtering by subscription instance ID is performed for this field. When the value of InstanceId is a subscription instance, filtering by publishing instance ID is performed for this field.
	PubOrSubInstanceId *string `json:"PubOrSubInstanceId,omitnil,omitempty" name:"PubOrSubInstanceId"`

	// Private address of the publish/subscribe instance, which is related to whether InstanceId is a publishing instance or a subscription instance. When the value of InstanceId is a publishing instance, filtering by private IP address of the subscription instance is performed for this field. When the value of InstanceId is a subscription instance, filtering by private IP address of the publishing instance is performed for this field.
	PubOrSubInstanceIp *string `json:"PubOrSubInstanceIp,omitnil,omitempty" name:"PubOrSubInstanceIp"`

	// Publish/subscribe ID, which is used for filtering.
	PublishSubscribeId *uint64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe name, which is used for filtering.
	PublishSubscribeName *string `json:"PublishSubscribeName,omitnil,omitempty" name:"PublishSubscribeName"`

	// Publishing database name, which is used for filtering.
	PublishDBName *string `json:"PublishDBName,omitnil,omitempty" name:"PublishDBName"`

	// Subscription database name, which is used for filtering.
	SubscribeDBName *string `json:"SubscribeDBName,omitnil,omitempty" name:"SubscribeDBName"`

	// Pagination number.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination size.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePublishSubscribeResponse

type DescribePublishSubscribeResponse struct {
	*tchttp.BaseResponse
	Response *DescribePublishSubscribeResponseParams `json:"Response"`
}

func NewDescribePublishSubscribeResponse

func NewDescribePublishSubscribeResponse() (response *DescribePublishSubscribeResponse)

func (*DescribePublishSubscribeResponse) FromJsonString

func (r *DescribePublishSubscribeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePublishSubscribeResponse) ToJsonString

func (r *DescribePublishSubscribeResponse) ToJsonString() string

type DescribePublishSubscribeResponseParams

type DescribePublishSubscribeResponseParams struct {
	// Total number.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Publish/subscribe list.
	PublishSubscribeSet []*PublishSubscribe `json:"PublishSubscribeSet,omitnil,omitempty" name:"PublishSubscribeSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReadOnlyGroupAutoWeightRequest

type DescribeReadOnlyGroupAutoWeightRequest struct {
	*tchttp.BaseRequest

	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID, in the format of mssqlro-3l3fgqn7.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

func NewDescribeReadOnlyGroupAutoWeightRequest

func NewDescribeReadOnlyGroupAutoWeightRequest() (request *DescribeReadOnlyGroupAutoWeightRequest)

func (*DescribeReadOnlyGroupAutoWeightRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupAutoWeightRequest) ToJsonString

type DescribeReadOnlyGroupAutoWeightRequestParams

type DescribeReadOnlyGroupAutoWeightRequestParams struct {
	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID, in the format of mssqlro-3l3fgqn7.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type DescribeReadOnlyGroupAutoWeightResponse

type DescribeReadOnlyGroupAutoWeightResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReadOnlyGroupAutoWeightResponseParams `json:"Response"`
}

func NewDescribeReadOnlyGroupAutoWeightResponse

func NewDescribeReadOnlyGroupAutoWeightResponse() (response *DescribeReadOnlyGroupAutoWeightResponse)

func (*DescribeReadOnlyGroupAutoWeightResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupAutoWeightResponse) ToJsonString

type DescribeReadOnlyGroupAutoWeightResponseParams

type DescribeReadOnlyGroupAutoWeightResponseParams struct {
	// Read-only group ID, in the format of mssqlro-3l3fgqn7.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// Read-only group name.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Region ID of the read-only group, which is the same as that of the primary instance.
	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// AZ of the read-only group, which is the same as that of the primary instance.
	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Whether to enable the delayed read-only instance removal feature. 1 - enabled; 0 - disabled.
	IsOfflineDelay *int64 `json:"IsOfflineDelay,omitnil,omitempty" name:"IsOfflineDelay"`

	// Timeout threshold used after the delayed read-only instance removal feature is enabled, in seconds.
	ReadOnlyMaxDelayTime *int64 `json:"ReadOnlyMaxDelayTime,omitnil,omitempty" name:"ReadOnlyMaxDelayTime"`

	// Minimum number of retained read-only replicas in the read-only group, after the delayed read-only instance removal feature is enabled.
	MinReadOnlyInGroup *int64 `json:"MinReadOnlyInGroup,omitnil,omitempty" name:"MinReadOnlyInGroup"`

	// Read-only group VIP.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Read-only group VPort.
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// VPC ID of the read-only group.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VPC subnet ID of the read-only group.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Read-only instance replica collection.
	ReadOnlyInstanceSet []*ReadOnlyInstance `json:"ReadOnlyInstanceSet,omitnil,omitempty" name:"ReadOnlyInstanceSet"`

	// Read-only group status: 1 - running after successful application; 5 - applying.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Primary instance ID. For example, mssql-sgeshe3th.
	MasterInstanceId *string `json:"MasterInstanceId,omitnil,omitempty" name:"MasterInstanceId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReadOnlyGroupByReadOnlyInstanceRequest

type DescribeReadOnlyGroupByReadOnlyInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssqlro-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeReadOnlyGroupByReadOnlyInstanceRequest

func NewDescribeReadOnlyGroupByReadOnlyInstanceRequest() (request *DescribeReadOnlyGroupByReadOnlyInstanceRequest)

func (*DescribeReadOnlyGroupByReadOnlyInstanceRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupByReadOnlyInstanceRequest) ToJsonString

type DescribeReadOnlyGroupByReadOnlyInstanceRequestParams

type DescribeReadOnlyGroupByReadOnlyInstanceRequestParams struct {
	// Instance ID, in the format of mssqlro-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeReadOnlyGroupByReadOnlyInstanceResponse

type DescribeReadOnlyGroupByReadOnlyInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReadOnlyGroupByReadOnlyInstanceResponseParams `json:"Response"`
}

func NewDescribeReadOnlyGroupByReadOnlyInstanceResponse

func NewDescribeReadOnlyGroupByReadOnlyInstanceResponse() (response *DescribeReadOnlyGroupByReadOnlyInstanceResponse)

func (*DescribeReadOnlyGroupByReadOnlyInstanceResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupByReadOnlyInstanceResponse) ToJsonString

type DescribeReadOnlyGroupByReadOnlyInstanceResponseParams

type DescribeReadOnlyGroupByReadOnlyInstanceResponseParams struct {
	// Read only group ID.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// Read-only group name.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Region ID of the read-only group.
	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// AZ ID of the read-only group.
	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Whether to enable startup timeout elimination, 0 - disable removal, 1 - enable removal.
	IsOfflineDelay *int64 `json:"IsOfflineDelay,omitnil,omitempty" name:"IsOfflineDelay"`

	// Timeout threshold used after the delayed read-only instance removal feature is enabled, in seconds.
	ReadOnlyMaxDelayTime *int64 `json:"ReadOnlyMaxDelayTime,omitnil,omitempty" name:"ReadOnlyMaxDelayTime"`

	// Minimum number of retained read-only replicas in the read-only group, after the delayed read-only instance removal feature is enabled.
	MinReadOnlyInGroup *int64 `json:"MinReadOnlyInGroup,omitnil,omitempty" name:"MinReadOnlyInGroup"`

	// Read-only group VIP.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Read-only group VPort.
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// VPC ID of the read-only group.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VPC subnet ID of the read-only group.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Primary instance ID. For example, mssql-sgeshe3th.
	MasterInstanceId *string `json:"MasterInstanceId,omitnil,omitempty" name:"MasterInstanceId"`

	// Region ID of the primary instance.
	MasterRegionId *string `json:"MasterRegionId,omitnil,omitempty" name:"MasterRegionId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReadOnlyGroupDetailsRequest

type DescribeReadOnlyGroupDetailsRequest struct {
	*tchttp.BaseRequest

	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID, in the format of mssqlrg-3l3fgqn7.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

func NewDescribeReadOnlyGroupDetailsRequest

func NewDescribeReadOnlyGroupDetailsRequest() (request *DescribeReadOnlyGroupDetailsRequest)

func (*DescribeReadOnlyGroupDetailsRequest) FromJsonString

func (r *DescribeReadOnlyGroupDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupDetailsRequest) ToJsonString

func (r *DescribeReadOnlyGroupDetailsRequest) ToJsonString() string

type DescribeReadOnlyGroupDetailsRequestParams

type DescribeReadOnlyGroupDetailsRequestParams struct {
	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID, in the format of mssqlrg-3l3fgqn7.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type DescribeReadOnlyGroupDetailsResponse

type DescribeReadOnlyGroupDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReadOnlyGroupDetailsResponseParams `json:"Response"`
}

func NewDescribeReadOnlyGroupDetailsResponse

func NewDescribeReadOnlyGroupDetailsResponse() (response *DescribeReadOnlyGroupDetailsResponse)

func (*DescribeReadOnlyGroupDetailsResponse) FromJsonString

func (r *DescribeReadOnlyGroupDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupDetailsResponse) ToJsonString

func (r *DescribeReadOnlyGroupDetailsResponse) ToJsonString() string

type DescribeReadOnlyGroupDetailsResponseParams

type DescribeReadOnlyGroupDetailsResponseParams struct {
	// Read-only group ID.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// Read-only group name.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Region ID of the read-only group, which is the same as that of the primary instance.
	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// AZ ID of the read-only group, which is the same as that of the primary instance.
	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Whether to enable startup timeout elimination, 0 - disable removal, 1 - enable removal.
	IsOfflineDelay *int64 `json:"IsOfflineDelay,omitnil,omitempty" name:"IsOfflineDelay"`

	// Timeout threshold used after the delayed read-only instance removal feature is enabled.
	ReadOnlyMaxDelayTime *int64 `json:"ReadOnlyMaxDelayTime,omitnil,omitempty" name:"ReadOnlyMaxDelayTime"`

	// Minimum number of retained read-only replicas in the read-only group, after the delayed read-only instance removal feature is enabled.
	MinReadOnlyInGroup *int64 `json:"MinReadOnlyInGroup,omitnil,omitempty" name:"MinReadOnlyInGroup"`

	// Read-only group VIP.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Read-only group VPort.
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// VPC ID of the read-only group.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VPC subnet ID of the read-only group.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Read-only instance replica collection.
	ReadOnlyInstanceSet []*ReadOnlyInstance `json:"ReadOnlyInstanceSet,omitnil,omitempty" name:"ReadOnlyInstanceSet"`

	// Read-only group status: 1 - running after successful application; 5 - applying.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Primary instance ID. For example, mssql-sgeshe3th.
	MasterInstanceId *string `json:"MasterInstanceId,omitnil,omitempty" name:"MasterInstanceId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReadOnlyGroupListRequest

type DescribeReadOnlyGroupListRequest struct {
	*tchttp.BaseRequest

	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeReadOnlyGroupListRequest

func NewDescribeReadOnlyGroupListRequest() (request *DescribeReadOnlyGroupListRequest)

func (*DescribeReadOnlyGroupListRequest) FromJsonString

func (r *DescribeReadOnlyGroupListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupListRequest) ToJsonString

func (r *DescribeReadOnlyGroupListRequest) ToJsonString() string

type DescribeReadOnlyGroupListRequestParams

type DescribeReadOnlyGroupListRequestParams struct {
	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeReadOnlyGroupListResponse

type DescribeReadOnlyGroupListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReadOnlyGroupListResponseParams `json:"Response"`
}

func NewDescribeReadOnlyGroupListResponse

func NewDescribeReadOnlyGroupListResponse() (response *DescribeReadOnlyGroupListResponse)

func (*DescribeReadOnlyGroupListResponse) FromJsonString

func (r *DescribeReadOnlyGroupListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReadOnlyGroupListResponse) ToJsonString

func (r *DescribeReadOnlyGroupListResponse) ToJsonString() string

type DescribeReadOnlyGroupListResponseParams

type DescribeReadOnlyGroupListResponseParams struct {
	// Read-only group list.
	ReadOnlyGroupSet []*ReadOnlyGroup `json:"ReadOnlyGroupSet,omitnil,omitempty" name:"ReadOnlyGroupSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRegionsRequest

func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)

func (*DescribeRegionsRequest) FromJsonString

func (r *DescribeRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsRequest) ToJsonString

func (r *DescribeRegionsRequest) ToJsonString() string

type DescribeRegionsRequestParams

type DescribeRegionsRequestParams struct {
}

Predefined struct for user

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegionsResponseParams `json:"Response"`
}

func NewDescribeRegionsResponse

func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)

func (*DescribeRegionsResponse) FromJsonString

func (r *DescribeRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsResponse) ToJsonString

func (r *DescribeRegionsResponse) ToJsonString() string

type DescribeRegionsResponseParams

type DescribeRegionsResponseParams struct {
	// Total number of regions returned
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Region information array
	RegionSet []*RegionInfo `json:"RegionSet,omitnil,omitempty" name:"RegionSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRegularBackupPlanRequest

type DescribeRegularBackupPlanRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Scheduled backup retention days, in the range of [90 - 3650]. The default value is 365.
	RegularBackupSaveDays *uint64 `json:"RegularBackupSaveDays,omitnil,omitempty" name:"RegularBackupSaveDays"`

	// Scheduled backup policy. years - annually; quarters - quarterly; months - monthly. The default value is months.
	RegularBackupStrategy *string `json:"RegularBackupStrategy,omitnil,omitempty" name:"RegularBackupStrategy"`

	// Number of retained scheduled backups. The default value is 1.
	RegularBackupCounts *uint64 `json:"RegularBackupCounts,omitnil,omitempty" name:"RegularBackupCounts"`

	// Scheduled backup start date, in the format of YYYY-MM-DD. The current date is used by default.
	RegularBackupStartTime *string `json:"RegularBackupStartTime,omitnil,omitempty" name:"RegularBackupStartTime"`

	// Regular backup cycle.
	BackupCycle []*uint64 `json:"BackupCycle,omitnil,omitempty" name:"BackupCycle"`
}

func NewDescribeRegularBackupPlanRequest

func NewDescribeRegularBackupPlanRequest() (request *DescribeRegularBackupPlanRequest)

func (*DescribeRegularBackupPlanRequest) FromJsonString

func (r *DescribeRegularBackupPlanRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegularBackupPlanRequest) ToJsonString

func (r *DescribeRegularBackupPlanRequest) ToJsonString() string

type DescribeRegularBackupPlanRequestParams

type DescribeRegularBackupPlanRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Scheduled backup retention days, in the range of [90 - 3650]. The default value is 365.
	RegularBackupSaveDays *uint64 `json:"RegularBackupSaveDays,omitnil,omitempty" name:"RegularBackupSaveDays"`

	// Scheduled backup policy. years - annually; quarters - quarterly; months - monthly. The default value is months.
	RegularBackupStrategy *string `json:"RegularBackupStrategy,omitnil,omitempty" name:"RegularBackupStrategy"`

	// Number of retained scheduled backups. The default value is 1.
	RegularBackupCounts *uint64 `json:"RegularBackupCounts,omitnil,omitempty" name:"RegularBackupCounts"`

	// Scheduled backup start date, in the format of YYYY-MM-DD. The current date is used by default.
	RegularBackupStartTime *string `json:"RegularBackupStartTime,omitnil,omitempty" name:"RegularBackupStartTime"`

	// Regular backup cycle.
	BackupCycle []*uint64 `json:"BackupCycle,omitnil,omitempty" name:"BackupCycle"`
}

Predefined struct for user

type DescribeRegularBackupPlanResponse

type DescribeRegularBackupPlanResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegularBackupPlanResponseParams `json:"Response"`
}

func NewDescribeRegularBackupPlanResponse

func NewDescribeRegularBackupPlanResponse() (response *DescribeRegularBackupPlanResponse)

func (*DescribeRegularBackupPlanResponse) FromJsonString

func (r *DescribeRegularBackupPlanResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegularBackupPlanResponse) ToJsonString

func (r *DescribeRegularBackupPlanResponse) ToJsonString() string

type DescribeRegularBackupPlanResponseParams

type DescribeRegularBackupPlanResponseParams struct {
	// Regular backup plan.
	SaveModePeriod []*string `json:"SaveModePeriod,omitnil,omitempty" name:"SaveModePeriod"`

	// Scheduled backup plan.
	SaveModeRegular []*string `json:"SaveModeRegular,omitnil,omitempty" name:"SaveModeRegular"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRestoreTaskRequest

type DescribeRestoreTaskRequest struct {
	*tchttp.BaseRequest

	// Source Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Rollback method. 0 - roll back by time point; 1 - roll back by backup set.
	RestoreType *uint64 `json:"RestoreType,omitnil,omitempty" name:"RestoreType"`

	// Region where the target instance is located for rollback.
	TargetRegion *string `json:"TargetRegion,omitnil,omitempty" name:"TargetRegion"`

	// Type of the target instance for rollback. 0 - current instance; 1 - existing instance; 2 - new instance.
	TargetType *uint64 `json:"TargetType,omitnil,omitempty" name:"TargetType"`

	// Rollback status, 0: initialized; 1: running; 2: successful; 3: failed.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Page number in pagination mode. The default value is 0.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Sorting field. restoreTime - rollback time; startTime-task start time; endTime-task end time. By default, the results are sorted in descending order by task start time.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting rule. desc - descending order; asc - ascending order. The default value is desc.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Asynchronous rollback task ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewDescribeRestoreTaskRequest

func NewDescribeRestoreTaskRequest() (request *DescribeRestoreTaskRequest)

func (*DescribeRestoreTaskRequest) FromJsonString

func (r *DescribeRestoreTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRestoreTaskRequest) ToJsonString

func (r *DescribeRestoreTaskRequest) ToJsonString() string

type DescribeRestoreTaskRequestParams

type DescribeRestoreTaskRequestParams struct {
	// Source Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Rollback method. 0 - roll back by time point; 1 - roll back by backup set.
	RestoreType *uint64 `json:"RestoreType,omitnil,omitempty" name:"RestoreType"`

	// Region where the target instance is located for rollback.
	TargetRegion *string `json:"TargetRegion,omitnil,omitempty" name:"TargetRegion"`

	// Type of the target instance for rollback. 0 - current instance; 1 - existing instance; 2 - new instance.
	TargetType *uint64 `json:"TargetType,omitnil,omitempty" name:"TargetType"`

	// Rollback status, 0: initialized; 1: running; 2: successful; 3: failed.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The number of returned entries per page in pagination mode. Value range: 1-100. The default value is 20.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Page number in pagination mode. The default value is 0.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Sorting field. restoreTime - rollback time; startTime-task start time; endTime-task end time. By default, the results are sorted in descending order by task start time.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting rule. desc - descending order; asc - ascending order. The default value is desc.
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// Asynchronous rollback task ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type DescribeRestoreTaskResponse

type DescribeRestoreTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRestoreTaskResponseParams `json:"Response"`
}

func NewDescribeRestoreTaskResponse

func NewDescribeRestoreTaskResponse() (response *DescribeRestoreTaskResponse)

func (*DescribeRestoreTaskResponse) FromJsonString

func (r *DescribeRestoreTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRestoreTaskResponse) ToJsonString

func (r *DescribeRestoreTaskResponse) ToJsonString() string

type DescribeRestoreTaskResponseParams

type DescribeRestoreTaskResponseParams struct {
	// Total number of rollback tasks.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Rollback task record list.
	Tasks []*RestoreTask `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRestoreTimeRangeRequest

type DescribeRestoreTimeRangeRequest struct {
	*tchttp.BaseRequest

	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`
}

func NewDescribeRestoreTimeRangeRequest

func NewDescribeRestoreTimeRangeRequest() (request *DescribeRestoreTimeRangeRequest)

func (*DescribeRestoreTimeRangeRequest) FromJsonString

func (r *DescribeRestoreTimeRangeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRestoreTimeRangeRequest) ToJsonString

func (r *DescribeRestoreTimeRangeRequest) ToJsonString() string

type DescribeRestoreTimeRangeRequestParams

type DescribeRestoreTimeRangeRequestParams struct {
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`
}

Predefined struct for user

type DescribeRestoreTimeRangeResponse

type DescribeRestoreTimeRangeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRestoreTimeRangeResponseParams `json:"Response"`
}

func NewDescribeRestoreTimeRangeResponse

func NewDescribeRestoreTimeRangeResponse() (response *DescribeRestoreTimeRangeResponse)

func (*DescribeRestoreTimeRangeResponse) FromJsonString

func (r *DescribeRestoreTimeRangeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRestoreTimeRangeResponse) ToJsonString

func (r *DescribeRestoreTimeRangeResponse) ToJsonString() string

type DescribeRestoreTimeRangeResponseParams

type DescribeRestoreTimeRangeResponseParams struct {
	MinTime *string `json:"MinTime,omitnil,omitempty" name:"MinTime"`

	MaxTime *string `json:"MaxTime,omitnil,omitempty" name:"MaxTime"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRollbackTimeRequest

type DescribeRollbackTimeRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of databases to be queried
	DBs []*string `json:"DBs,omitnil,omitempty" name:"DBs"`
}

func NewDescribeRollbackTimeRequest

func NewDescribeRollbackTimeRequest() (request *DescribeRollbackTimeRequest)

func (*DescribeRollbackTimeRequest) FromJsonString

func (r *DescribeRollbackTimeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRollbackTimeRequest) ToJsonString

func (r *DescribeRollbackTimeRequest) ToJsonString() string

type DescribeRollbackTimeRequestParams

type DescribeRollbackTimeRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of databases to be queried
	DBs []*string `json:"DBs,omitnil,omitempty" name:"DBs"`
}

Predefined struct for user

type DescribeRollbackTimeResponse

type DescribeRollbackTimeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRollbackTimeResponseParams `json:"Response"`
}

func NewDescribeRollbackTimeResponse

func NewDescribeRollbackTimeResponse() (response *DescribeRollbackTimeResponse)

func (*DescribeRollbackTimeResponse) FromJsonString

func (r *DescribeRollbackTimeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRollbackTimeResponse) ToJsonString

func (r *DescribeRollbackTimeResponse) ToJsonString() string

type DescribeRollbackTimeResponseParams

type DescribeRollbackTimeResponseParams struct {
	// Information of time range available for database rollback
	Details []*DbRollbackTimeInfo `json:"Details,omitnil,omitempty" name:"Details"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSlowlogsRequest

type DescribeSlowlogsRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-k8voqdlz
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time in the format of `yyyy-MM-dd HH:mm:ss`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time in the format of `yyyy-MM-dd HH:mm:ss`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeSlowlogsRequest

func NewDescribeSlowlogsRequest() (request *DescribeSlowlogsRequest)

func (*DescribeSlowlogsRequest) FromJsonString

func (r *DescribeSlowlogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowlogsRequest) ToJsonString

func (r *DescribeSlowlogsRequest) ToJsonString() string

type DescribeSlowlogsRequestParams

type DescribeSlowlogsRequestParams struct {
	// Instance ID in the format of mssql-k8voqdlz
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time in the format of `yyyy-MM-dd HH:mm:ss`
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time in the format of `yyyy-MM-dd HH:mm:ss`
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Number of results per page. Value range: 1-100. Default value: 20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page number. Default value: 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeSlowlogsResponse

type DescribeSlowlogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSlowlogsResponseParams `json:"Response"`
}

func NewDescribeSlowlogsResponse

func NewDescribeSlowlogsResponse() (response *DescribeSlowlogsResponse)

func (*DescribeSlowlogsResponse) FromJsonString

func (r *DescribeSlowlogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowlogsResponse) ToJsonString

func (r *DescribeSlowlogsResponse) ToJsonString() string

type DescribeSlowlogsResponseParams

type DescribeSlowlogsResponseParams struct {
	// Total number of queries
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Information list of slow query logs
	//
	// Deprecated: Slowlogs is deprecated.
	Slowlogs []*SlowlogInfo `json:"Slowlogs,omitnil,omitempty" name:"Slowlogs"`

	SlowLogs []*SlowLog `json:"SlowLogs,omitnil,omitempty" name:"SlowLogs"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSpecSellStatusRequest

type DescribeSpecSellStatusRequest struct {
	*tchttp.BaseRequest

	// AZ ID. For example, ap-guangzhou-3.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance specification ID, which can be obtained by calling the DescribeProductConfig API.
	SpecIdSet []*uint64 `json:"SpecIdSet,omitnil,omitempty" name:"SpecIdSet"`

	// Database version, which can be obtained by calling the DescribeProductConfig API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Product ID, which can be obtained by calling the DescribeProductConfig API.
	Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Payment mode. POST: pay-as-you-go; PRE: monthly subscription.
	PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Currency. CNY; USD.
	Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`
}

func NewDescribeSpecSellStatusRequest

func NewDescribeSpecSellStatusRequest() (request *DescribeSpecSellStatusRequest)

func (*DescribeSpecSellStatusRequest) FromJsonString

func (r *DescribeSpecSellStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSpecSellStatusRequest) ToJsonString

func (r *DescribeSpecSellStatusRequest) ToJsonString() string

type DescribeSpecSellStatusRequestParams

type DescribeSpecSellStatusRequestParams struct {
	// AZ ID. For example, ap-guangzhou-3.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance specification ID, which can be obtained by calling the DescribeProductConfig API.
	SpecIdSet []*uint64 `json:"SpecIdSet,omitnil,omitempty" name:"SpecIdSet"`

	// Database version, which can be obtained by calling the DescribeProductConfig API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Product ID, which can be obtained by calling the DescribeProductConfig API.
	Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Payment mode. POST: pay-as-you-go; PRE: monthly subscription.
	PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Currency. CNY; USD.
	Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`
}

Predefined struct for user

type DescribeSpecSellStatusResponse

type DescribeSpecSellStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSpecSellStatusResponseParams `json:"Response"`
}

func NewDescribeSpecSellStatusResponse

func NewDescribeSpecSellStatusResponse() (response *DescribeSpecSellStatusResponse)

func (*DescribeSpecSellStatusResponse) FromJsonString

func (r *DescribeSpecSellStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSpecSellStatusResponse) ToJsonString

func (r *DescribeSpecSellStatusResponse) ToJsonString() string

type DescribeSpecSellStatusResponseParams

type DescribeSpecSellStatusResponseParams struct {
	// Status set of specifications in different regions.
	DescribeSpecSellStatusSet []*SpecSellStatus `json:"DescribeSpecSellStatusSet,omitnil,omitempty" name:"DescribeSpecSellStatusSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUpgradeInstanceCheckRequest

type DescribeUpgradeInstanceCheckRequest struct {
	*tchttp.BaseRequest

	// Database instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of CPU cores after instance configuration adjustment. If it is left blank, no modification is required.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory size after instance configuration adjustment, in GB. If it is left blank, no modification is required.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Disk size after instance configuration adjustment, in GB. If it is left blank, no modification is required.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Instance version. If it is left blank, no modification is required.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Type after instance configuration adjustment. Valid values: CLUSTER - cluster. If it is left blank, no modification is required.
	HAType *string `json:"HAType,omitnil,omitempty" name:"HAType"`

	// Cross-AZ type after instance configuration adjustment. Valid values: SameZones - change to the same AZ; MultiZones - change to cross-AZ. If it is left blank, no modification is required.
	MultiZones *string `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Secondary node AZ of the multi-node architecture instance. The default value is null. It should be specified when modifying the AZ of the specified secondary node needs to be performed during configuration adjustment. When MultiZones = MultiZones, the AZs of the primary nodes and secondary nodes cannot all be the same. The collection of AZs of the secondary node can include 2-5 AZs.
	DrZones []*DrZoneInfo `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

func NewDescribeUpgradeInstanceCheckRequest

func NewDescribeUpgradeInstanceCheckRequest() (request *DescribeUpgradeInstanceCheckRequest)

func (*DescribeUpgradeInstanceCheckRequest) FromJsonString

func (r *DescribeUpgradeInstanceCheckRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUpgradeInstanceCheckRequest) ToJsonString

func (r *DescribeUpgradeInstanceCheckRequest) ToJsonString() string

type DescribeUpgradeInstanceCheckRequestParams

type DescribeUpgradeInstanceCheckRequestParams struct {
	// Database instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of CPU cores after instance configuration adjustment. If it is left blank, no modification is required.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory size after instance configuration adjustment, in GB. If it is left blank, no modification is required.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Disk size after instance configuration adjustment, in GB. If it is left blank, no modification is required.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Instance version. If it is left blank, no modification is required.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Type after instance configuration adjustment. Valid values: CLUSTER - cluster. If it is left blank, no modification is required.
	HAType *string `json:"HAType,omitnil,omitempty" name:"HAType"`

	// Cross-AZ type after instance configuration adjustment. Valid values: SameZones - change to the same AZ; MultiZones - change to cross-AZ. If it is left blank, no modification is required.
	MultiZones *string `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// Secondary node AZ of the multi-node architecture instance. The default value is null. It should be specified when modifying the AZ of the specified secondary node needs to be performed during configuration adjustment. When MultiZones = MultiZones, the AZs of the primary nodes and secondary nodes cannot all be the same. The collection of AZs of the secondary node can include 2-5 AZs.
	DrZones []*DrZoneInfo `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

Predefined struct for user

type DescribeUpgradeInstanceCheckResponse

type DescribeUpgradeInstanceCheckResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUpgradeInstanceCheckResponseParams `json:"Response"`
}

func NewDescribeUpgradeInstanceCheckResponse

func NewDescribeUpgradeInstanceCheckResponse() (response *DescribeUpgradeInstanceCheckResponse)

func (*DescribeUpgradeInstanceCheckResponse) FromJsonString

func (r *DescribeUpgradeInstanceCheckResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUpgradeInstanceCheckResponse) ToJsonString

func (r *DescribeUpgradeInstanceCheckResponse) ToJsonString() string

type DescribeUpgradeInstanceCheckResponseParams

type DescribeUpgradeInstanceCheckResponseParams struct {
	// Whether the configuration adjustment has an impact on the instance. 0 - no; 1 - yes.
	IsAffect *int64 `json:"IsAffect,omitnil,omitempty" name:"IsAffect"`

	// Whether the configuration adjustment can be executed. 0 - no; 1 - yes.
	Passed *int64 `json:"Passed,omitnil,omitempty" name:"Passed"`

	// Whether the configuration adjustment is a downgrade or an upgrade. Down - downgrade; up - upgrade.
	ModifyMode *string `json:"ModifyMode,omitnil,omitempty" name:"ModifyMode"`

	// Check item list.
	CheckItems []*CheckItem `json:"CheckItems,omitnil,omitempty" name:"CheckItems"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUploadBackupInfoRequest

type DescribeUploadBackupInfoRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`
}

func NewDescribeUploadBackupInfoRequest

func NewDescribeUploadBackupInfoRequest() (request *DescribeUploadBackupInfoRequest)

func (*DescribeUploadBackupInfoRequest) FromJsonString

func (r *DescribeUploadBackupInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUploadBackupInfoRequest) ToJsonString

func (r *DescribeUploadBackupInfoRequest) ToJsonString() string

type DescribeUploadBackupInfoRequestParams

type DescribeUploadBackupInfoRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`
}

Predefined struct for user

type DescribeUploadBackupInfoResponse

type DescribeUploadBackupInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUploadBackupInfoResponseParams `json:"Response"`
}

func NewDescribeUploadBackupInfoResponse

func NewDescribeUploadBackupInfoResponse() (response *DescribeUploadBackupInfoResponse)

func (*DescribeUploadBackupInfoResponse) FromJsonString

func (r *DescribeUploadBackupInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUploadBackupInfoResponse) ToJsonString

func (r *DescribeUploadBackupInfoResponse) ToJsonString() string

type DescribeUploadBackupInfoResponseParams

type DescribeUploadBackupInfoResponseParams struct {
	// Bucket name
	BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"`

	// Bucket location information
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Storage path
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Temporary key ID
	TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"`

	// Temporary key (Key)
	TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"`

	// Temporary key (Token)
	//
	// Deprecated: XCosSecurityToken is deprecated.
	XCosSecurityToken *string `json:"XCosSecurityToken,omitnil,omitempty" name:"XCosSecurityToken"`

	// Temporary key start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Temporary key expiration time
	ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"`

	CosSecurityToken *string `json:"CosSecurityToken,omitnil,omitempty" name:"CosSecurityToken"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeXEventsRequest

type DescribeXEventsRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Event type. Valid values: `slow` (Slow SQL event), `blocked` (blocking event),  deadlock` (deadlock event).
	EventType *string `json:"EventType,omitnil,omitempty" name:"EventType"`

	// Generation start time of an extended file in the format of yyyy-MM-dd HH:mm:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Generation end time of an extended file in the format of yyyy-MM-dd HH:mm:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Page number. Default value: `0`
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of entries to be returned per page. Value range: 1-100. Default value: `20`
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeXEventsRequest

func NewDescribeXEventsRequest() (request *DescribeXEventsRequest)

func (*DescribeXEventsRequest) FromJsonString

func (r *DescribeXEventsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeXEventsRequest) ToJsonString

func (r *DescribeXEventsRequest) ToJsonString() string

type DescribeXEventsRequestParams

type DescribeXEventsRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Event type. Valid values: `slow` (Slow SQL event), `blocked` (blocking event),  deadlock` (deadlock event).
	EventType *string `json:"EventType,omitnil,omitempty" name:"EventType"`

	// Generation start time of an extended file in the format of yyyy-MM-dd HH:mm:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Generation end time of an extended file in the format of yyyy-MM-dd HH:mm:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Page number. Default value: `0`
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of entries to be returned per page. Value range: 1-100. Default value: `20`
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeXEventsResponse

type DescribeXEventsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeXEventsResponseParams `json:"Response"`
}

func NewDescribeXEventsResponse

func NewDescribeXEventsResponse() (response *DescribeXEventsResponse)

func (*DescribeXEventsResponse) FromJsonString

func (r *DescribeXEventsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeXEventsResponse) ToJsonString

func (r *DescribeXEventsResponse) ToJsonString() string

type DescribeXEventsResponseParams

type DescribeXEventsResponseParams struct {
	// List of extended events
	Events []*Events `json:"Events,omitnil,omitempty" name:"Events"`

	// Total number of extended events
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeZonesRequest

func NewDescribeZonesRequest() (request *DescribeZonesRequest)

func (*DescribeZonesRequest) FromJsonString

func (r *DescribeZonesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesRequest) ToJsonString

func (r *DescribeZonesRequest) ToJsonString() string

type DescribeZonesRequestParams

type DescribeZonesRequestParams struct {
}

Predefined struct for user

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZonesResponseParams `json:"Response"`
}

func NewDescribeZonesResponse

func NewDescribeZonesResponse() (response *DescribeZonesResponse)

func (*DescribeZonesResponse) FromJsonString

func (r *DescribeZonesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesResponse) ToJsonString

func (r *DescribeZonesResponse) ToJsonString() string

type DescribeZonesResponseParams

type DescribeZonesResponseParams struct {
	// Number of AZs returned.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Array of AZs.
	ZoneSet []*ZoneInfo `json:"ZoneSet,omitnil,omitempty" name:"ZoneSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisassociateSecurityGroupsRequest

type DisassociateSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Security group ID.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Instance ID list, which is an array of one or more instance IDs. Multiple instances should be in the same region, AZ, and project.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

func NewDisassociateSecurityGroupsRequest

func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest)

func (*DisassociateSecurityGroupsRequest) FromJsonString

func (r *DisassociateSecurityGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateSecurityGroupsRequest) ToJsonString

func (r *DisassociateSecurityGroupsRequest) ToJsonString() string

type DisassociateSecurityGroupsRequestParams

type DisassociateSecurityGroupsRequestParams struct {
	// Security group ID.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Instance ID list, which is an array of one or more instance IDs. Multiple instances should be in the same region, AZ, and project.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

Predefined struct for user

type DisassociateSecurityGroupsResponse

type DisassociateSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DisassociateSecurityGroupsResponseParams `json:"Response"`
}

func NewDisassociateSecurityGroupsResponse

func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse)

func (*DisassociateSecurityGroupsResponse) FromJsonString

func (r *DisassociateSecurityGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateSecurityGroupsResponse) ToJsonString

func (r *DisassociateSecurityGroupsResponse) ToJsonString() string

type DisassociateSecurityGroupsResponseParams

type DisassociateSecurityGroupsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DrReadableInfo

type DrReadableInfo struct {
	// Replica server status. Valid values: enable - running; disable - unavailable
	// Note: This field may return null, indicating that no valid values can be obtained.
	SlaveStatus *string `json:"SlaveStatus,omitnil,omitempty" name:"SlaveStatus"`

	// Replica server readable status. Valid values: enable - enabled; disable - disabled
	// Note: This field may return null, indicating that no valid values can be obtained.
	ReadableStatus *string `json:"ReadableStatus,omitnil,omitempty" name:"ReadableStatus"`

	// Replica server read-only VIP
	// Note: This field may return null, indicating that no valid values can be obtained.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Replica server read-only port
	// Note: This field may return null, indicating that no valid values can be obtained.
	VPort *int64 `json:"VPort,omitnil,omitempty" name:"VPort"`

	// Replica server VPC ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Replica server VPC subnet ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`
}

type DrZoneInfo

type DrZoneInfo struct {
	// Resource ID of the secondary node.
	DrInstanceId *string `json:"DrInstanceId,omitnil,omitempty" name:"DrInstanceId"`

	// AZ of the secondary node.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`
}

type EventConfig

type EventConfig struct {
	// Event type. Valid values: `slow` (set threshold for slow SQL ), `blocked` (set threshold for the blocking and deadlock).
	EventType *string `json:"EventType,omitnil,omitempty" name:"EventType"`

	// Threshold in milliseconds. Valid values: `0`(disable), `non-zero` (enable)
	Threshold *int64 `json:"Threshold,omitnil,omitempty" name:"Threshold"`
}

type Events

type Events struct {
	// ID
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// File name of an extended event
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// File size of an extended event
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// Event type. Valid values: `slow` (Slow SQL event), `blocked` (blocking event),  `deadlock` (deadlock event).
	EventType *string `json:"EventType,omitnil,omitempty" name:"EventType"`

	// Event record status. Valid values: `1` (succeeded), `2` (failed).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Generation start time of an extended file
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Generation end time of an extended file
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Download address on the private network
	InternalAddr *string `json:"InternalAddr,omitnil,omitempty" name:"InternalAddr"`

	// Download address on the public network
	ExternalAddr *string `json:"ExternalAddr,omitnil,omitempty" name:"ExternalAddr"`
}

type FileAction

type FileAction struct {
	// Allowed operations. Valid values: `view` (view list), `remark` (modify remark), `deploy` (deploy files), `delete` (delete files).
	AllAction []*string `json:"AllAction,omitnil,omitempty" name:"AllAction"`

	// Operation allowed in the current status. If the subset of `AllAction` is empty, no operations will be allowed.
	AllowedAction []*string `json:"AllowedAction,omitnil,omitempty" name:"AllowedAction"`
}

type InquiryPriceCreateDBInstancesRequest

type InquiryPriceCreateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance capacity in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Billing type. Valid value: POSTPAID.
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Length of purchase in months. Value range: 1-48. Default value: 1
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Number of instances purchased at a time. Value range: 1-100. Default value: 1
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// SQL version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), `201402` (SQL Server 2014 Standard)`, `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The purchasable version varies by region. It can be queried by the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// The number of CPU cores of the instance you want to purchase.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The type of instance to be purchased. Valid values: `HA` (high-availability edition, including dual-server high-availability and AlwaysOn cluster edition), `RO` (read-only replica edition), `SI` (single-node edition), `cvmHA` (dual-server high-availability edition for CVM), `cvmRO` (read-only edition for CVM).
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// The host type of the instance to be purchased. Valid values: `PM` (physical machine), `CLOUD_PREMIUM` (virtual machine with premium cloud disk), `CLOUD_SSD` (virtual machine with SSD),
	// `CLOUD_HSSD` (virtual machine with enhanced SSD), `CLOUD_TSSD` (virtual machine with ulTra SSD), `CLOUD_BSSD` (virtual machine with balanced SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`
}

func NewInquiryPriceCreateDBInstancesRequest

func NewInquiryPriceCreateDBInstancesRequest() (request *InquiryPriceCreateDBInstancesRequest)

func (*InquiryPriceCreateDBInstancesRequest) FromJsonString

func (r *InquiryPriceCreateDBInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateDBInstancesRequest) ToJsonString

func (r *InquiryPriceCreateDBInstancesRequest) ToJsonString() string

type InquiryPriceCreateDBInstancesRequestParams

type InquiryPriceCreateDBInstancesRequestParams struct {
	// AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance capacity in GB
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Billing type. Valid value: POSTPAID.
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Length of purchase in months. Value range: 1-48. Default value: 1
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Number of instances purchased at a time. Value range: 1-100. Default value: 1
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// SQL version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), `201402` (SQL Server 2014 Standard)`, `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The purchasable version varies by region. It can be queried by the `DescribeProductConfig` API.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// The number of CPU cores of the instance you want to purchase.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// The type of instance to be purchased. Valid values: `HA` (high-availability edition, including dual-server high-availability and AlwaysOn cluster edition), `RO` (read-only replica edition), `SI` (single-node edition), `cvmHA` (dual-server high-availability edition for CVM), `cvmRO` (read-only edition for CVM).
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// The host type of the instance to be purchased. Valid values: `PM` (physical machine), `CLOUD_PREMIUM` (virtual machine with premium cloud disk), `CLOUD_SSD` (virtual machine with SSD),
	// `CLOUD_HSSD` (virtual machine with enhanced SSD), `CLOUD_TSSD` (virtual machine with ulTra SSD), `CLOUD_BSSD` (virtual machine with balanced SSD).
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`
}

Predefined struct for user

type InquiryPriceCreateDBInstancesResponse

type InquiryPriceCreateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceCreateDBInstancesResponseParams `json:"Response"`
}

func NewInquiryPriceCreateDBInstancesResponse

func NewInquiryPriceCreateDBInstancesResponse() (response *InquiryPriceCreateDBInstancesResponse)

func (*InquiryPriceCreateDBInstancesResponse) FromJsonString

func (r *InquiryPriceCreateDBInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateDBInstancesResponse) ToJsonString

type InquiryPriceCreateDBInstancesResponseParams

type InquiryPriceCreateDBInstancesResponseParams struct {
	// Price before discount. This value divided by 100 indicates the price; for example, 10010 means 100.10 USD
	OriginalPrice *int64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// The actual price to be paid. This value divided by 100 indicates the price; for example, 10010 means 100.10 USD
	Price *int64 `json:"Price,omitnil,omitempty" name:"Price"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InquiryPriceUpgradeDBInstanceRequest

type InquiryPriceUpgradeDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`
}

func NewInquiryPriceUpgradeDBInstanceRequest

func NewInquiryPriceUpgradeDBInstanceRequest() (request *InquiryPriceUpgradeDBInstanceRequest)

func (*InquiryPriceUpgradeDBInstanceRequest) FromJsonString

func (r *InquiryPriceUpgradeDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceUpgradeDBInstanceRequest) ToJsonString

func (r *InquiryPriceUpgradeDBInstanceRequest) ToJsonString() string

type InquiryPriceUpgradeDBInstanceRequestParams

type InquiryPriceUpgradeDBInstanceRequestParams struct {
	// Instance ID in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity.
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// The number of CUP cores after the instance is upgraded, which cannot be smaller than that of the current cores.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`
}

Predefined struct for user

type InquiryPriceUpgradeDBInstanceResponse

type InquiryPriceUpgradeDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceUpgradeDBInstanceResponseParams `json:"Response"`
}

func NewInquiryPriceUpgradeDBInstanceResponse

func NewInquiryPriceUpgradeDBInstanceResponse() (response *InquiryPriceUpgradeDBInstanceResponse)

func (*InquiryPriceUpgradeDBInstanceResponse) FromJsonString

func (r *InquiryPriceUpgradeDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceUpgradeDBInstanceResponse) ToJsonString

type InquiryPriceUpgradeDBInstanceResponseParams

type InquiryPriceUpgradeDBInstanceResponseParams struct {
	// Price before discount. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
	OriginalPrice *int64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// The actual price to be paid. This value divided by 100 indicates the price; for example, 10094 means 100.94 USD.
	Price *int64 `json:"Price,omitnil,omitempty" name:"Price"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InstanceDBDetail

type InstanceDBDetail struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database information list
	DBDetails []*DBDetail `json:"DBDetails,omitnil,omitempty" name:"DBDetails"`
}

type InstanceTask

type InstanceTask struct {
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"`

	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"`

	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type InterInstance

type InterInstance struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance interworking IP, which can be accessed after the instance is added to the interworking group.
	InterVip *string `json:"InterVip,omitnil,omitempty" name:"InterVip"`

	// Instance interworking port, which can be accessed after the instance is added to the interworking group.
	InterPort *int64 `json:"InterPort,omitnil,omitempty" name:"InterPort"`

	// Instance interworking status. Valid values: `1` (Enabling interworking IP), `2` (Enabled interworking IP), `3` (Adding to interworking group), `4` (Added to interworking group), `5` (Reclaiming interworking IP), `6`(Reclaimed interworking IP), `7` (Removing from interworking group), `8` (Removed from interworking group).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance region, such as ap-guangzhou.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Instance AZ name, such as ap-guangzhou-1.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance version code
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// Instance version
	VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"`

	// Instance name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Instance access IP
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Instance access port
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`
}

type InterInstanceFlow

type InterInstanceFlow struct {
	// Instance ID, such as mssql-sdf32n1d.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance task ID for enabling or disabling the interworking group. When `FlowId` is less than 0, the interworking group will be enabled or disabled successfully; otherwise, the operation failed.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

type MigrateDB

type MigrateDB struct {
	// Name of migrated database
	DBName *string `json:"DBName,omitnil,omitempty" name:"DBName"`
}

type MigrateDetail

type MigrateDetail struct {
	// Name of current step
	StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"`

	// Progress of current step in %
	Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"`
}

type MigrateSource

type MigrateSource struct {
	// Source instance ID in the format of `mssql-si2823jyl`, which is used when `MigrateType` is 1 (TencentDB for SQL Server)
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// ID of source CVM instance, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
	CvmId *string `json:"CvmId,omitnil,omitempty" name:"CvmId"`

	// VPC ID of source CVM instance in the format of vpc-6ys9ont9, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VPC subnet ID of source CVM instance in the format of subnet-h9extioi, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Username, which is used when `MigrateType` is 1 or 2
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Password, which is used when `MigrateType` is 1 or 2
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Private IP of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Port number of source CVM database, which is used when `MigrateType` is 2 (CVM-based self-created SQL Server database)
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Source backup address for offline migration, which is used when `MigrateType` is 4 or 5
	Url []*string `json:"Url,omitnil,omitempty" name:"Url"`

	// Source backup password for offline migration, which is used when `MigrateType` is 4 or 5
	UrlPassword *string `json:"UrlPassword,omitnil,omitempty" name:"UrlPassword"`
}

type MigrateTarget

type MigrateTarget struct {
	// ID of target instance in the format of mssql-si2823jyl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Username of migration target instance
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Password of migration target instance
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

type MigrateTask

type MigrateTask struct {
	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`

	// Migration task name
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// User ID of migration task
	AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Migration task region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode)
	SourceType *int64 `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Migration task creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Migration task start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Migration task end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Migration task status (1: initializing, 4: migrating, 5: migration failed, 6: migration succeeded, 7: suspended, 8: deleted, 9: suspending, 10: completing, 11: suspension failed, 12: completion failed)
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Information
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// Whether migration task has been checked (0: not checked, 1: check succeeded, 2: check failed, 3: checking)
	CheckFlag *uint64 `json:"CheckFlag,omitnil,omitempty" name:"CheckFlag"`

	// Migration task progress in %
	Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"`

	// Migration task progress details
	MigrateDetail *MigrateDetail `json:"MigrateDetail,omitnil,omitempty" name:"MigrateDetail"`
}

type Migration

type Migration struct {
	// Backup import task ID or incremental import task ID
	MigrationId *string `json:"MigrationId,omitnil,omitempty" name:"MigrationId"`

	// Backup import task name. For an incremental import task, this field will be left empty.
	// Note: this field may return ‘null’, indicating that no valid values can be obtained.
	MigrationName *string `json:"MigrationName,omitnil,omitempty" name:"MigrationName"`

	// Application ID
	AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// ID of migrated target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Migration task restoration type
	RecoveryType *string `json:"RecoveryType,omitnil,omitempty" name:"RecoveryType"`

	// Backup user upload type. COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user.
	UploadType *string `json:"UploadType,omitnil,omitempty" name:"UploadType"`

	// Backup file list, which is determined by UploadType. If the upload type is COS_URL, URL will be saved. If the upload type is COS_UPLOAD, the backup name will be saved.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`

	// Migration task status. Valid values: `2` (Creation completed), `7` (Importing full backups), `8` (Waiting for incremental backups), `9` (Import success), `10` (Import failure), `12` (Importing incremental backups).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Migration task creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Migration task start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Migration task end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// More information
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// Migration detail
	Detail *MigrationDetail `json:"Detail,omitnil,omitempty" name:"Detail"`

	// Operation allowed in the current status
	Action *MigrationAction `json:"Action,omitnil,omitempty" name:"Action"`

	// Whether this is the final restoration. For a full import task, this field will be left empty.
	// Note: this field may return ‘null’, indicating that no valid values can be obtained.
	IsRecovery *string `json:"IsRecovery,omitnil,omitempty" name:"IsRecovery"`

	// Name set of renamed databases
	// Note: This field may return null, indicating that no valid values can be obtained.
	DBRename []*DBRenameRes `json:"DBRename,omitnil,omitempty" name:"DBRename"`
}

type MigrationAction

type MigrationAction struct {
	// All the allowed operations. Values include: view (viewing a task), modify (modifying a task), start (starting a task), incremental (creating an incremental task), delete (deleting a task), and upload (obtaining the upload permission).
	AllAction []*string `json:"AllAction,omitnil,omitempty" name:"AllAction"`

	// Operation allowed in the current status. If the subset of AllAction is left empty, no operations will be allowed.
	AllowedAction []*string `json:"AllowedAction,omitnil,omitempty" name:"AllowedAction"`
}

type MigrationDetail

type MigrationDetail struct {
	// Total number of steps
	StepAll *int64 `json:"StepAll,omitnil,omitempty" name:"StepAll"`

	// Current step
	StepNow *int64 `json:"StepNow,omitnil,omitempty" name:"StepNow"`

	// Overall progress. For example, “30” means 30%.
	Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"`

	// Step information. ‘null’ means the migration has not started
	// Note: this field may return ‘null’, indicating that no valid values can be obtained.
	StepInfo []*MigrationStep `json:"StepInfo,omitnil,omitempty" name:"StepInfo"`
}

type MigrationStep

type MigrationStep struct {
	// Step sequence
	StepNo *int64 `json:"StepNo,omitnil,omitempty" name:"StepNo"`

	// Step name
	StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"`

	// Step ID in English
	StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"`

	// Step status: 0 (default value), 1 (succeeded), 2 (failed), 3 (in progress), 4 (not started)
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type ModifyAccountPrivilegeRequest

type ModifyAccountPrivilegeRequest struct {
	*tchttp.BaseRequest

	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Account permission change information
	Accounts []*AccountPrivilegeModifyInfo `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

func NewModifyAccountPrivilegeRequest

func NewModifyAccountPrivilegeRequest() (request *ModifyAccountPrivilegeRequest)

func (*ModifyAccountPrivilegeRequest) FromJsonString

func (r *ModifyAccountPrivilegeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountPrivilegeRequest) ToJsonString

func (r *ModifyAccountPrivilegeRequest) ToJsonString() string

type ModifyAccountPrivilegeRequestParams

type ModifyAccountPrivilegeRequestParams struct {
	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Account permission change information
	Accounts []*AccountPrivilegeModifyInfo `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

Predefined struct for user

type ModifyAccountPrivilegeResponse

type ModifyAccountPrivilegeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountPrivilegeResponseParams `json:"Response"`
}

func NewModifyAccountPrivilegeResponse

func NewModifyAccountPrivilegeResponse() (response *ModifyAccountPrivilegeResponse)

func (*ModifyAccountPrivilegeResponse) FromJsonString

func (r *ModifyAccountPrivilegeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountPrivilegeResponse) ToJsonString

func (r *ModifyAccountPrivilegeResponse) ToJsonString() string

type ModifyAccountPrivilegeResponseParams

type ModifyAccountPrivilegeResponseParams struct {
	// Async task flow ID
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAccountRemarkRequest

type ModifyAccountRemarkRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Information of account for which to modify remarks
	Accounts []*AccountRemark `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

func NewModifyAccountRemarkRequest

func NewModifyAccountRemarkRequest() (request *ModifyAccountRemarkRequest)

func (*ModifyAccountRemarkRequest) FromJsonString

func (r *ModifyAccountRemarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountRemarkRequest) ToJsonString

func (r *ModifyAccountRemarkRequest) ToJsonString() string

type ModifyAccountRemarkRequestParams

type ModifyAccountRemarkRequestParams struct {
	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Information of account for which to modify remarks
	Accounts []*AccountRemark `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

Predefined struct for user

type ModifyAccountRemarkResponse

type ModifyAccountRemarkResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAccountRemarkResponseParams `json:"Response"`
}

func NewModifyAccountRemarkResponse

func NewModifyAccountRemarkResponse() (response *ModifyAccountRemarkResponse)

func (*ModifyAccountRemarkResponse) FromJsonString

func (r *ModifyAccountRemarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAccountRemarkResponse) ToJsonString

func (r *ModifyAccountRemarkResponse) ToJsonString() string

type ModifyAccountRemarkResponseParams

type ModifyAccountRemarkResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupMigrationRequest

type ModifyBackupMigrationRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Task name
	MigrationName *string `json:"MigrationName,omitnil,omitempty" name:"MigrationName"`

	// Migration task restoration type: FULL,FULL_LOG,FULL_DIFF
	RecoveryType *string `json:"RecoveryType,omitnil,omitempty" name:"RecoveryType"`

	// COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user.
	UploadType *string `json:"UploadType,omitnil,omitempty" name:"UploadType"`

	// If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`

	// Name set of databases to be renamed
	DBRename []*RenameRestoreDatabase `json:"DBRename,omitnil,omitempty" name:"DBRename"`
}

func NewModifyBackupMigrationRequest

func NewModifyBackupMigrationRequest() (request *ModifyBackupMigrationRequest)

func (*ModifyBackupMigrationRequest) FromJsonString

func (r *ModifyBackupMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupMigrationRequest) ToJsonString

func (r *ModifyBackupMigrationRequest) ToJsonString() string

type ModifyBackupMigrationRequestParams

type ModifyBackupMigrationRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Task name
	MigrationName *string `json:"MigrationName,omitnil,omitempty" name:"MigrationName"`

	// Migration task restoration type: FULL,FULL_LOG,FULL_DIFF
	RecoveryType *string `json:"RecoveryType,omitnil,omitempty" name:"RecoveryType"`

	// COS_URL: the backup is stored in user’s Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the application’s Cloud Object Storage and needs to be uploaded by the user.
	UploadType *string `json:"UploadType,omitnil,omitempty" name:"UploadType"`

	// If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`

	// Name set of databases to be renamed
	DBRename []*RenameRestoreDatabase `json:"DBRename,omitnil,omitempty" name:"DBRename"`
}

Predefined struct for user

type ModifyBackupMigrationResponse

type ModifyBackupMigrationResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupMigrationResponseParams `json:"Response"`
}

func NewModifyBackupMigrationResponse

func NewModifyBackupMigrationResponse() (response *ModifyBackupMigrationResponse)

func (*ModifyBackupMigrationResponse) FromJsonString

func (r *ModifyBackupMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupMigrationResponse) ToJsonString

func (r *ModifyBackupMigrationResponse) ToJsonString() string

type ModifyBackupMigrationResponseParams

type ModifyBackupMigrationResponseParams struct {
	// Backup import task ID
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupNameRequest

type ModifyBackupNameRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Modified backup name.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// The backup ID can be obtained through the [DescribeBackups](https://cloud.tencent.com/document/product/238/19943) API. When the value of GroupId is null, BackupId is required.
	BackupId *uint64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Backup task group ID, which can be obtained through the [DescribeBackups](https://cloud.tencent.com/document/product/238/19943) API in single-database backup file mode. BackupId and GroupId exist simultaneously, and are modified according to BackupId.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}

func NewModifyBackupNameRequest

func NewModifyBackupNameRequest() (request *ModifyBackupNameRequest)

func (*ModifyBackupNameRequest) FromJsonString

func (r *ModifyBackupNameRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupNameRequest) ToJsonString

func (r *ModifyBackupNameRequest) ToJsonString() string

type ModifyBackupNameRequestParams

type ModifyBackupNameRequestParams struct {
	// Instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Modified backup name.
	BackupName *string `json:"BackupName,omitnil,omitempty" name:"BackupName"`

	// The backup ID can be obtained through the [DescribeBackups](https://cloud.tencent.com/document/product/238/19943) API. When the value of GroupId is null, BackupId is required.
	BackupId *uint64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Backup task group ID, which can be obtained through the [DescribeBackups](https://cloud.tencent.com/document/product/238/19943) API in single-database backup file mode. BackupId and GroupId exist simultaneously, and are modified according to BackupId.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}

Predefined struct for user

type ModifyBackupNameResponse

type ModifyBackupNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupNameResponseParams `json:"Response"`
}

func NewModifyBackupNameResponse

func NewModifyBackupNameResponse() (response *ModifyBackupNameResponse)

func (*ModifyBackupNameResponse) FromJsonString

func (r *ModifyBackupNameResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupNameResponse) ToJsonString

func (r *ModifyBackupNameResponse) ToJsonString() string

type ModifyBackupNameResponseParams

type ModifyBackupNameResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupStrategyRequest

type ModifyBackupStrategyRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup type. Valid values: `weekly` (when length(BackupDay) <=7 && length(BackupDay) >=2), `daily` (when length(BackupDay)=1). Default value: `daily`.
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Backup time. Value range: an integer from 0 to 23.
	BackupTime *uint64 `json:"BackupTime,omitnil,omitempty" name:"BackupTime"`

	// Backup interval in days when the `BackupType` is `daily`. Valid value: 1.
	BackupDay *uint64 `json:"BackupDay,omitnil,omitempty" name:"BackupDay"`

	// Backup mode. Valid values: `master_pkg` (archive the backup files of the primary node), `master_no_pkg` (do not archive the backup files of the primary node), `slave_pkg` (archive the backup files of the replica node), `slave_no_pkg` (do not archive the backup files of the replica node). Backup files of the replica node are supported only when Always On disaster recovery is enabled.
	BackupModel *string `json:"BackupModel,omitnil,omitempty" name:"BackupModel"`

	// The days of the week on which backup will be performed when "BackupType" is `weekly`. If data backup retention period is less than 7 days, the values will be 1-7, indicating that backup will be performed everyday by default; if data backup retention period is greater than or equal to 7 days, the values will be at least any two days, indicating that backup will be performed at least twice in a week by default.
	BackupCycle []*uint64 `json:"BackupCycle,omitnil,omitempty" name:"BackupCycle"`

	// Data (log) backup retention period. Value range: 3-1830 days, default value: 7 days.
	BackupSaveDays *uint64 `json:"BackupSaveDays,omitnil,omitempty" name:"BackupSaveDays"`

	// Archive backup status. Valid values: `enable` (enabled); `disable` (disabled). Default value: `disable`.
	RegularBackupEnable *string `json:"RegularBackupEnable,omitnil,omitempty" name:"RegularBackupEnable"`

	// Archive backup retention days. Value range: 90-3650 days. Default value: 365 days.
	RegularBackupSaveDays *uint64 `json:"RegularBackupSaveDays,omitnil,omitempty" name:"RegularBackupSaveDays"`

	// Archive backup policy. Valid values: `years` (yearly); `quarters (quarterly); `months` (monthly); Default value: `months`.
	RegularBackupStrategy *string `json:"RegularBackupStrategy,omitnil,omitempty" name:"RegularBackupStrategy"`

	// The number of retained archive backups. Default value: `1`.
	RegularBackupCounts *uint64 `json:"RegularBackupCounts,omitnil,omitempty" name:"RegularBackupCounts"`

	// Archive backup start date in YYYY-MM-DD format, which is the current time by default.
	RegularBackupStartTime *string `json:"RegularBackupStartTime,omitnil,omitempty" name:"RegularBackupStartTime"`
}

func NewModifyBackupStrategyRequest

func NewModifyBackupStrategyRequest() (request *ModifyBackupStrategyRequest)

func (*ModifyBackupStrategyRequest) FromJsonString

func (r *ModifyBackupStrategyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupStrategyRequest) ToJsonString

func (r *ModifyBackupStrategyRequest) ToJsonString() string

type ModifyBackupStrategyRequestParams

type ModifyBackupStrategyRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup type. Valid values: `weekly` (when length(BackupDay) <=7 && length(BackupDay) >=2), `daily` (when length(BackupDay)=1). Default value: `daily`.
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Backup time. Value range: an integer from 0 to 23.
	BackupTime *uint64 `json:"BackupTime,omitnil,omitempty" name:"BackupTime"`

	// Backup interval in days when the `BackupType` is `daily`. Valid value: 1.
	BackupDay *uint64 `json:"BackupDay,omitnil,omitempty" name:"BackupDay"`

	// Backup mode. Valid values: `master_pkg` (archive the backup files of the primary node), `master_no_pkg` (do not archive the backup files of the primary node), `slave_pkg` (archive the backup files of the replica node), `slave_no_pkg` (do not archive the backup files of the replica node). Backup files of the replica node are supported only when Always On disaster recovery is enabled.
	BackupModel *string `json:"BackupModel,omitnil,omitempty" name:"BackupModel"`

	// The days of the week on which backup will be performed when "BackupType" is `weekly`. If data backup retention period is less than 7 days, the values will be 1-7, indicating that backup will be performed everyday by default; if data backup retention period is greater than or equal to 7 days, the values will be at least any two days, indicating that backup will be performed at least twice in a week by default.
	BackupCycle []*uint64 `json:"BackupCycle,omitnil,omitempty" name:"BackupCycle"`

	// Data (log) backup retention period. Value range: 3-1830 days, default value: 7 days.
	BackupSaveDays *uint64 `json:"BackupSaveDays,omitnil,omitempty" name:"BackupSaveDays"`

	// Archive backup status. Valid values: `enable` (enabled); `disable` (disabled). Default value: `disable`.
	RegularBackupEnable *string `json:"RegularBackupEnable,omitnil,omitempty" name:"RegularBackupEnable"`

	// Archive backup retention days. Value range: 90-3650 days. Default value: 365 days.
	RegularBackupSaveDays *uint64 `json:"RegularBackupSaveDays,omitnil,omitempty" name:"RegularBackupSaveDays"`

	// Archive backup policy. Valid values: `years` (yearly); `quarters (quarterly); `months` (monthly); Default value: `months`.
	RegularBackupStrategy *string `json:"RegularBackupStrategy,omitnil,omitempty" name:"RegularBackupStrategy"`

	// The number of retained archive backups. Default value: `1`.
	RegularBackupCounts *uint64 `json:"RegularBackupCounts,omitnil,omitempty" name:"RegularBackupCounts"`

	// Archive backup start date in YYYY-MM-DD format, which is the current time by default.
	RegularBackupStartTime *string `json:"RegularBackupStartTime,omitnil,omitempty" name:"RegularBackupStartTime"`
}

Predefined struct for user

type ModifyBackupStrategyResponse

type ModifyBackupStrategyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupStrategyResponseParams `json:"Response"`
}

func NewModifyBackupStrategyResponse

func NewModifyBackupStrategyResponse() (response *ModifyBackupStrategyResponse)

func (*ModifyBackupStrategyResponse) FromJsonString

func (r *ModifyBackupStrategyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupStrategyResponse) ToJsonString

func (r *ModifyBackupStrategyResponse) ToJsonString() string

type ModifyBackupStrategyResponseParams

type ModifyBackupStrategyResponseParams struct {
	// Returned error code.
	//
	// Deprecated: Errno is deprecated.
	Errno *int64 `json:"Errno,omitnil,omitempty" name:"Errno"`

	// Returned error message.
	Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"`

	// Returned error code.
	Code *int64 `json:"Code,omitnil,omitempty" name:"Code"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyCloseWanIpRequest

type ModifyCloseWanIpRequest struct {
	*tchttp.BaseRequest

	// Instance resource ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// RO group ID.
	RoGroupId *string `json:"RoGroupId,omitnil,omitempty" name:"RoGroupId"`
}

func NewModifyCloseWanIpRequest

func NewModifyCloseWanIpRequest() (request *ModifyCloseWanIpRequest)

func (*ModifyCloseWanIpRequest) FromJsonString

func (r *ModifyCloseWanIpRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCloseWanIpRequest) ToJsonString

func (r *ModifyCloseWanIpRequest) ToJsonString() string

type ModifyCloseWanIpRequestParams

type ModifyCloseWanIpRequestParams struct {
	// Instance resource ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// RO group ID.
	RoGroupId *string `json:"RoGroupId,omitnil,omitempty" name:"RoGroupId"`
}

Predefined struct for user

type ModifyCloseWanIpResponse

type ModifyCloseWanIpResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCloseWanIpResponseParams `json:"Response"`
}

func NewModifyCloseWanIpResponse

func NewModifyCloseWanIpResponse() (response *ModifyCloseWanIpResponse)

func (*ModifyCloseWanIpResponse) FromJsonString

func (r *ModifyCloseWanIpResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCloseWanIpResponse) ToJsonString

func (r *ModifyCloseWanIpResponse) ToJsonString() string

type ModifyCloseWanIpResponseParams

type ModifyCloseWanIpResponseParams struct {
	// ID of the process of disabling the public network.
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyCrossBackupStrategyRequest

type ModifyCrossBackupStrategyRequest struct {
	*tchttp.BaseRequest

	// Cross-region backup switch (data backup & log backup). enable - enabled; disable - disabled.
	CrossBackupEnabled *string `json:"CrossBackupEnabled,omitnil,omitempty" name:"CrossBackupEnabled"`

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance ID list.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Retention days for cross-region backups. Value range: 7-1830. The default value is 7.
	CrossBackupSaveDays *uint64 `json:"CrossBackupSaveDays,omitnil,omitempty" name:"CrossBackupSaveDays"`

	// Target region ID for cross-region backups, with a maximum of two and a minimum of one.
	CrossBackupRegion []*string `json:"CrossBackupRegion,omitnil,omitempty" name:"CrossBackupRegion"`

	// Whether to clean up cross-region backups (data backups & log backups) immediately. This parameter is only valid when the value of BackupEnabled is disabled. 1 - yes; 0 - no. The default value is 0.
	CleanUpCrossBackup *uint64 `json:"CleanUpCrossBackup,omitnil,omitempty" name:"CleanUpCrossBackup"`
}

func NewModifyCrossBackupStrategyRequest

func NewModifyCrossBackupStrategyRequest() (request *ModifyCrossBackupStrategyRequest)

func (*ModifyCrossBackupStrategyRequest) FromJsonString

func (r *ModifyCrossBackupStrategyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCrossBackupStrategyRequest) ToJsonString

func (r *ModifyCrossBackupStrategyRequest) ToJsonString() string

type ModifyCrossBackupStrategyRequestParams

type ModifyCrossBackupStrategyRequestParams struct {
	// Cross-region backup switch (data backup & log backup). enable - enabled; disable - disabled.
	CrossBackupEnabled *string `json:"CrossBackupEnabled,omitnil,omitempty" name:"CrossBackupEnabled"`

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance ID list.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Retention days for cross-region backups. Value range: 7-1830. The default value is 7.
	CrossBackupSaveDays *uint64 `json:"CrossBackupSaveDays,omitnil,omitempty" name:"CrossBackupSaveDays"`

	// Target region ID for cross-region backups, with a maximum of two and a minimum of one.
	CrossBackupRegion []*string `json:"CrossBackupRegion,omitnil,omitempty" name:"CrossBackupRegion"`

	// Whether to clean up cross-region backups (data backups & log backups) immediately. This parameter is only valid when the value of BackupEnabled is disabled. 1 - yes; 0 - no. The default value is 0.
	CleanUpCrossBackup *uint64 `json:"CleanUpCrossBackup,omitnil,omitempty" name:"CleanUpCrossBackup"`
}

Predefined struct for user

type ModifyCrossBackupStrategyResponse

type ModifyCrossBackupStrategyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCrossBackupStrategyResponseParams `json:"Response"`
}

func NewModifyCrossBackupStrategyResponse

func NewModifyCrossBackupStrategyResponse() (response *ModifyCrossBackupStrategyResponse)

func (*ModifyCrossBackupStrategyResponse) FromJsonString

func (r *ModifyCrossBackupStrategyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCrossBackupStrategyResponse) ToJsonString

func (r *ModifyCrossBackupStrategyResponse) ToJsonString() string

type ModifyCrossBackupStrategyResponseParams

type ModifyCrossBackupStrategyResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBEncryptAttributesRequest

type ModifyDBEncryptAttributesRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// A parameter used to enable or disable TDE of the database
	DBTDEEncrypt []*DBTDEEncrypt `json:"DBTDEEncrypt,omitnil,omitempty" name:"DBTDEEncrypt"`
}

func NewModifyDBEncryptAttributesRequest

func NewModifyDBEncryptAttributesRequest() (request *ModifyDBEncryptAttributesRequest)

func (*ModifyDBEncryptAttributesRequest) FromJsonString

func (r *ModifyDBEncryptAttributesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBEncryptAttributesRequest) ToJsonString

func (r *ModifyDBEncryptAttributesRequest) ToJsonString() string

type ModifyDBEncryptAttributesRequestParams

type ModifyDBEncryptAttributesRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// A parameter used to enable or disable TDE of the database
	DBTDEEncrypt []*DBTDEEncrypt `json:"DBTDEEncrypt,omitnil,omitempty" name:"DBTDEEncrypt"`
}

Predefined struct for user

type ModifyDBEncryptAttributesResponse

type ModifyDBEncryptAttributesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBEncryptAttributesResponseParams `json:"Response"`
}

func NewModifyDBEncryptAttributesResponse

func NewModifyDBEncryptAttributesResponse() (response *ModifyDBEncryptAttributesResponse)

func (*ModifyDBEncryptAttributesResponse) FromJsonString

func (r *ModifyDBEncryptAttributesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBEncryptAttributesResponse) ToJsonString

func (r *ModifyDBEncryptAttributesResponse) ToJsonString() string

type ModifyDBEncryptAttributesResponseParams

type ModifyDBEncryptAttributesResponseParams struct {
	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceNameRequest

type ModifyDBInstanceNameRequest struct {
	*tchttp.BaseRequest

	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// New name of database instance
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
}

func NewModifyDBInstanceNameRequest

func NewModifyDBInstanceNameRequest() (request *ModifyDBInstanceNameRequest)

func (*ModifyDBInstanceNameRequest) FromJsonString

func (r *ModifyDBInstanceNameRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNameRequest) ToJsonString

func (r *ModifyDBInstanceNameRequest) ToJsonString() string

type ModifyDBInstanceNameRequestParams

type ModifyDBInstanceNameRequestParams struct {
	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// New name of database instance
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
}

Predefined struct for user

type ModifyDBInstanceNameResponse

type ModifyDBInstanceNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceNameResponseParams `json:"Response"`
}

func NewModifyDBInstanceNameResponse

func NewModifyDBInstanceNameResponse() (response *ModifyDBInstanceNameResponse)

func (*ModifyDBInstanceNameResponse) FromJsonString

func (r *ModifyDBInstanceNameResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNameResponse) ToJsonString

func (r *ModifyDBInstanceNameResponse) ToJsonString() string

type ModifyDBInstanceNameResponseParams

type ModifyDBInstanceNameResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceNetworkRequest

type ModifyDBInstanceNetworkRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// ID of the new VPC.
	NewVpcId *string `json:"NewVpcId,omitnil,omitempty" name:"NewVpcId"`

	// ID of the new subnet.
	NewSubnetId *string `json:"NewSubnetId,omitnil,omitempty" name:"NewSubnetId"`

	// Retention period (in hours) of the original VIP. Value range: `0-168`. Default value: `0`, indicating the original VIP is released immediately.
	OldIpRetainTime *int64 `json:"OldIpRetainTime,omitnil,omitempty" name:"OldIpRetainTime"`

	// New VIP.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Target node. 0 - modify the primary node network; 1 - modify the secondary node network. The default value is 0.
	DRNetwork *uint64 `json:"DRNetwork,omitnil,omitempty" name:"DRNetwork"`

	// Secondary server resource ID. It is required when DRNetwork = 1.
	DrInstanceId *string `json:"DrInstanceId,omitnil,omitempty" name:"DrInstanceId"`
}

func NewModifyDBInstanceNetworkRequest

func NewModifyDBInstanceNetworkRequest() (request *ModifyDBInstanceNetworkRequest)

func (*ModifyDBInstanceNetworkRequest) FromJsonString

func (r *ModifyDBInstanceNetworkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNetworkRequest) ToJsonString

func (r *ModifyDBInstanceNetworkRequest) ToJsonString() string

type ModifyDBInstanceNetworkRequestParams

type ModifyDBInstanceNetworkRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// ID of the new VPC.
	NewVpcId *string `json:"NewVpcId,omitnil,omitempty" name:"NewVpcId"`

	// ID of the new subnet.
	NewSubnetId *string `json:"NewSubnetId,omitnil,omitempty" name:"NewSubnetId"`

	// Retention period (in hours) of the original VIP. Value range: `0-168`. Default value: `0`, indicating the original VIP is released immediately.
	OldIpRetainTime *int64 `json:"OldIpRetainTime,omitnil,omitempty" name:"OldIpRetainTime"`

	// New VIP.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Target node. 0 - modify the primary node network; 1 - modify the secondary node network. The default value is 0.
	DRNetwork *uint64 `json:"DRNetwork,omitnil,omitempty" name:"DRNetwork"`

	// Secondary server resource ID. It is required when DRNetwork = 1.
	DrInstanceId *string `json:"DrInstanceId,omitnil,omitempty" name:"DrInstanceId"`
}

Predefined struct for user

type ModifyDBInstanceNetworkResponse

type ModifyDBInstanceNetworkResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceNetworkResponseParams `json:"Response"`
}

func NewModifyDBInstanceNetworkResponse

func NewModifyDBInstanceNetworkResponse() (response *ModifyDBInstanceNetworkResponse)

func (*ModifyDBInstanceNetworkResponse) FromJsonString

func (r *ModifyDBInstanceNetworkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNetworkResponse) ToJsonString

func (r *ModifyDBInstanceNetworkResponse) ToJsonString() string

type ModifyDBInstanceNetworkResponseParams

type ModifyDBInstanceNetworkResponseParams struct {
	// ID of the instance network changing task. You can use the [DescribeFlowStatus](https://intl.cloud.tencent.com/document/product/238/19967?from_cn_redirect=1) API to query the task status.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceNoteRequest

type ModifyDBInstanceNoteRequest struct {
	*tchttp.BaseRequest

	// Database instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance remarks.
	InstanceNote *string `json:"InstanceNote,omitnil,omitempty" name:"InstanceNote"`
}

func NewModifyDBInstanceNoteRequest

func NewModifyDBInstanceNoteRequest() (request *ModifyDBInstanceNoteRequest)

func (*ModifyDBInstanceNoteRequest) FromJsonString

func (r *ModifyDBInstanceNoteRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNoteRequest) ToJsonString

func (r *ModifyDBInstanceNoteRequest) ToJsonString() string

type ModifyDBInstanceNoteRequestParams

type ModifyDBInstanceNoteRequestParams struct {
	// Database instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance remarks.
	InstanceNote *string `json:"InstanceNote,omitnil,omitempty" name:"InstanceNote"`
}

Predefined struct for user

type ModifyDBInstanceNoteResponse

type ModifyDBInstanceNoteResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceNoteResponseParams `json:"Response"`
}

func NewModifyDBInstanceNoteResponse

func NewModifyDBInstanceNoteResponse() (response *ModifyDBInstanceNoteResponse)

func (*ModifyDBInstanceNoteResponse) FromJsonString

func (r *ModifyDBInstanceNoteResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceNoteResponse) ToJsonString

func (r *ModifyDBInstanceNoteResponse) ToJsonString() string

type ModifyDBInstanceNoteResponseParams

type ModifyDBInstanceNoteResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceProjectRequest

type ModifyDBInstanceProjectRequest struct {
	*tchttp.BaseRequest

	// Array of instance IDs in the format of mssql-j8kv137v
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Project ID. If this parameter is 0, the default project will be used
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func NewModifyDBInstanceProjectRequest

func NewModifyDBInstanceProjectRequest() (request *ModifyDBInstanceProjectRequest)

func (*ModifyDBInstanceProjectRequest) FromJsonString

func (r *ModifyDBInstanceProjectRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceProjectRequest) ToJsonString

func (r *ModifyDBInstanceProjectRequest) ToJsonString() string

type ModifyDBInstanceProjectRequestParams

type ModifyDBInstanceProjectRequestParams struct {
	// Array of instance IDs in the format of mssql-j8kv137v
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// Project ID. If this parameter is 0, the default project will be used
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

Predefined struct for user

type ModifyDBInstanceProjectResponse

type ModifyDBInstanceProjectResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceProjectResponseParams `json:"Response"`
}

func NewModifyDBInstanceProjectResponse

func NewModifyDBInstanceProjectResponse() (response *ModifyDBInstanceProjectResponse)

func (*ModifyDBInstanceProjectResponse) FromJsonString

func (r *ModifyDBInstanceProjectResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceProjectResponse) ToJsonString

func (r *ModifyDBInstanceProjectResponse) ToJsonString() string

type ModifyDBInstanceProjectResponseParams

type ModifyDBInstanceProjectResponseParams struct {
	// Number of successfully modified instances
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceSSLRequest

type ModifyDBInstanceSSLRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Operation type. enable - enable SSL; disable - disable SSL; renew - update the validity period of the certificate.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Operation settings. 0 - execute immediately; 1 - execute within the maintenance time. The default value is 0.
	WaitSwitch *uint64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`

	// Whether it is protected through KMS encryption. 0 - no; 1 - yes. The default value is 0.
	IsKMS *int64 `json:"IsKMS,omitnil,omitempty" name:"IsKMS"`

	// This parameter is required when the value of IsKMS is 1.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// This parameter is required when the value of IsKMS is 1.
	KeyRegion *string `json:"KeyRegion,omitnil,omitempty" name:"KeyRegion"`
}

func NewModifyDBInstanceSSLRequest

func NewModifyDBInstanceSSLRequest() (request *ModifyDBInstanceSSLRequest)

func (*ModifyDBInstanceSSLRequest) FromJsonString

func (r *ModifyDBInstanceSSLRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSSLRequest) ToJsonString

func (r *ModifyDBInstanceSSLRequest) ToJsonString() string

type ModifyDBInstanceSSLRequestParams

type ModifyDBInstanceSSLRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Operation type. enable - enable SSL; disable - disable SSL; renew - update the validity period of the certificate.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Operation settings. 0 - execute immediately; 1 - execute within the maintenance time. The default value is 0.
	WaitSwitch *uint64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`

	// Whether it is protected through KMS encryption. 0 - no; 1 - yes. The default value is 0.
	IsKMS *int64 `json:"IsKMS,omitnil,omitempty" name:"IsKMS"`

	// This parameter is required when the value of IsKMS is 1.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// This parameter is required when the value of IsKMS is 1.
	KeyRegion *string `json:"KeyRegion,omitnil,omitempty" name:"KeyRegion"`
}

Predefined struct for user

type ModifyDBInstanceSSLResponse

type ModifyDBInstanceSSLResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceSSLResponseParams `json:"Response"`
}

func NewModifyDBInstanceSSLResponse

func NewModifyDBInstanceSSLResponse() (response *ModifyDBInstanceSSLResponse)

func (*ModifyDBInstanceSSLResponse) FromJsonString

func (r *ModifyDBInstanceSSLResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSSLResponse) ToJsonString

func (r *ModifyDBInstanceSSLResponse) ToJsonString() string

type ModifyDBInstanceSSLResponseParams

type ModifyDBInstanceSSLResponseParams struct {
	// Asynchronous task flow ID.
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsRequest

type ModifyDBInstanceSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-c1nl9rpv or mssqlro-c1nl9rpv, which is the same as that displayed on the cloud database console page.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of security group IDs to be modified, which is an array of one or more security group IDs.
	SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitnil,omitempty" name:"SecurityGroupIdSet"`
}

func NewModifyDBInstanceSecurityGroupsRequest

func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)

func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString

func (r *ModifyDBInstanceSecurityGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString

type ModifyDBInstanceSecurityGroupsRequestParams

type ModifyDBInstanceSecurityGroupsRequestParams struct {
	// Instance ID, in the format of mssql-c1nl9rpv or mssqlro-c1nl9rpv, which is the same as that displayed on the cloud database console page.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of security group IDs to be modified, which is an array of one or more security group IDs.
	SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitnil,omitempty" name:"SecurityGroupIdSet"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsResponse

type ModifyDBInstanceSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"`
}

func NewModifyDBInstanceSecurityGroupsResponse

func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)

func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString

type ModifyDBInstanceSecurityGroupsResponseParams

type ModifyDBInstanceSecurityGroupsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBNameRequest

type ModifyDBNameRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Old database name
	OldDBName *string `json:"OldDBName,omitnil,omitempty" name:"OldDBName"`

	// New name of database
	NewDBName *string `json:"NewDBName,omitnil,omitempty" name:"NewDBName"`
}

func NewModifyDBNameRequest

func NewModifyDBNameRequest() (request *ModifyDBNameRequest)

func (*ModifyDBNameRequest) FromJsonString

func (r *ModifyDBNameRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBNameRequest) ToJsonString

func (r *ModifyDBNameRequest) ToJsonString() string

type ModifyDBNameRequestParams

type ModifyDBNameRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Old database name
	OldDBName *string `json:"OldDBName,omitnil,omitempty" name:"OldDBName"`

	// New name of database
	NewDBName *string `json:"NewDBName,omitnil,omitempty" name:"NewDBName"`
}

Predefined struct for user

type ModifyDBNameResponse

type ModifyDBNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBNameResponseParams `json:"Response"`
}

func NewModifyDBNameResponse

func NewModifyDBNameResponse() (response *ModifyDBNameResponse)

func (*ModifyDBNameResponse) FromJsonString

func (r *ModifyDBNameResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBNameResponse) ToJsonString

func (r *ModifyDBNameResponse) ToJsonString() string

type ModifyDBNameResponseParams

type ModifyDBNameResponseParams struct {
	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDBRemarkRequest

type ModifyDBRemarkRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-rljoi3bf
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Array of database names and remarks, where each element contains a database name and the corresponding remarks
	DBRemarks []*DBRemark `json:"DBRemarks,omitnil,omitempty" name:"DBRemarks"`
}

func NewModifyDBRemarkRequest

func NewModifyDBRemarkRequest() (request *ModifyDBRemarkRequest)

func (*ModifyDBRemarkRequest) FromJsonString

func (r *ModifyDBRemarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBRemarkRequest) ToJsonString

func (r *ModifyDBRemarkRequest) ToJsonString() string

type ModifyDBRemarkRequestParams

type ModifyDBRemarkRequestParams struct {
	// Instance ID in the format of mssql-rljoi3bf
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Array of database names and remarks, where each element contains a database name and the corresponding remarks
	DBRemarks []*DBRemark `json:"DBRemarks,omitnil,omitempty" name:"DBRemarks"`
}

Predefined struct for user

type ModifyDBRemarkResponse

type ModifyDBRemarkResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBRemarkResponseParams `json:"Response"`
}

func NewModifyDBRemarkResponse

func NewModifyDBRemarkResponse() (response *ModifyDBRemarkResponse)

func (*ModifyDBRemarkResponse) FromJsonString

func (r *ModifyDBRemarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBRemarkResponse) ToJsonString

func (r *ModifyDBRemarkResponse) ToJsonString() string

type ModifyDBRemarkResponseParams

type ModifyDBRemarkResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDReadableRequest

type ModifyDReadableRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Operation type. Valid values: enable - enabling the read-only mode of the replica server; disable - disabling the read-only mode of the replica server
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Replica server network ID, which will be consistent with the primary instance by default if left blank
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Replica server subnet ID, which will be consistent with the primary instance by default if left blank
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Specified replica server read-only VIP, which will be assigned automatically if left blank
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
}

func NewModifyDReadableRequest

func NewModifyDReadableRequest() (request *ModifyDReadableRequest)

func (*ModifyDReadableRequest) FromJsonString

func (r *ModifyDReadableRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDReadableRequest) ToJsonString

func (r *ModifyDReadableRequest) ToJsonString() string

type ModifyDReadableRequestParams

type ModifyDReadableRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Operation type. Valid values: enable - enabling the read-only mode of the replica server; disable - disabling the read-only mode of the replica server
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Replica server network ID, which will be consistent with the primary instance by default if left blank
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Replica server subnet ID, which will be consistent with the primary instance by default if left blank
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Specified replica server read-only VIP, which will be assigned automatically if left blank
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
}

Predefined struct for user

type ModifyDReadableResponse

type ModifyDReadableResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDReadableResponseParams `json:"Response"`
}

func NewModifyDReadableResponse

func NewModifyDReadableResponse() (response *ModifyDReadableResponse)

func (*ModifyDReadableResponse) FromJsonString

func (r *ModifyDReadableResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDReadableResponse) ToJsonString

func (r *ModifyDReadableResponse) ToJsonString() string

type ModifyDReadableResponseParams

type ModifyDReadableResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDataBaseTuple

type ModifyDataBaseTuple struct {
	DatabaseTuple *DatabaseTuple `json:"DatabaseTuple,omitnil,omitempty" name:"DatabaseTuple"`

	NewDatabaseTuple *DatabaseTuple `json:"NewDatabaseTuple,omitnil,omitempty" name:"NewDatabaseTuple"`

	DeleteDataBasesTuple *bool `json:"DeleteDataBasesTuple,omitnil,omitempty" name:"DeleteDataBasesTuple"`
}

type ModifyDatabaseCDCRequest

type ModifyDatabaseCDCRequest struct {
	*tchttp.BaseRequest

	// Array of database names
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Enable or disable CDC. Valid values: `enable`, `disable`
	ModifyType *string `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewModifyDatabaseCDCRequest

func NewModifyDatabaseCDCRequest() (request *ModifyDatabaseCDCRequest)

func (*ModifyDatabaseCDCRequest) FromJsonString

func (r *ModifyDatabaseCDCRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseCDCRequest) ToJsonString

func (r *ModifyDatabaseCDCRequest) ToJsonString() string

type ModifyDatabaseCDCRequestParams

type ModifyDatabaseCDCRequestParams struct {
	// Array of database names
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Enable or disable CDC. Valid values: `enable`, `disable`
	ModifyType *string `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type ModifyDatabaseCDCResponse

type ModifyDatabaseCDCResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDatabaseCDCResponseParams `json:"Response"`
}

func NewModifyDatabaseCDCResponse

func NewModifyDatabaseCDCResponse() (response *ModifyDatabaseCDCResponse)

func (*ModifyDatabaseCDCResponse) FromJsonString

func (r *ModifyDatabaseCDCResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseCDCResponse) ToJsonString

func (r *ModifyDatabaseCDCResponse) ToJsonString() string

type ModifyDatabaseCDCResponseParams

type ModifyDatabaseCDCResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDatabaseCTRequest

type ModifyDatabaseCTRequest struct {
	*tchttp.BaseRequest

	// Array of database names
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Enable or disable CT. Valid values: `enable`, `disable`
	ModifyType *string `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Retention period (in days) of change tracking information when CT is enabled. Value range: 3-30. Default value: `3`
	ChangeRetentionDay *int64 `json:"ChangeRetentionDay,omitnil,omitempty" name:"ChangeRetentionDay"`
}

func NewModifyDatabaseCTRequest

func NewModifyDatabaseCTRequest() (request *ModifyDatabaseCTRequest)

func (*ModifyDatabaseCTRequest) FromJsonString

func (r *ModifyDatabaseCTRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseCTRequest) ToJsonString

func (r *ModifyDatabaseCTRequest) ToJsonString() string

type ModifyDatabaseCTRequestParams

type ModifyDatabaseCTRequestParams struct {
	// Array of database names
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Enable or disable CT. Valid values: `enable`, `disable`
	ModifyType *string `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Retention period (in days) of change tracking information when CT is enabled. Value range: 3-30. Default value: `3`
	ChangeRetentionDay *int64 `json:"ChangeRetentionDay,omitnil,omitempty" name:"ChangeRetentionDay"`
}

Predefined struct for user

type ModifyDatabaseCTResponse

type ModifyDatabaseCTResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDatabaseCTResponseParams `json:"Response"`
}

func NewModifyDatabaseCTResponse

func NewModifyDatabaseCTResponse() (response *ModifyDatabaseCTResponse)

func (*ModifyDatabaseCTResponse) FromJsonString

func (r *ModifyDatabaseCTResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseCTResponse) ToJsonString

func (r *ModifyDatabaseCTResponse) ToJsonString() string

type ModifyDatabaseCTResponseParams

type ModifyDatabaseCTResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDatabaseMdfRequest

type ModifyDatabaseMdfRequest struct {
	*tchttp.BaseRequest

	// Array of database names
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewModifyDatabaseMdfRequest

func NewModifyDatabaseMdfRequest() (request *ModifyDatabaseMdfRequest)

func (*ModifyDatabaseMdfRequest) FromJsonString

func (r *ModifyDatabaseMdfRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseMdfRequest) ToJsonString

func (r *ModifyDatabaseMdfRequest) ToJsonString() string

type ModifyDatabaseMdfRequestParams

type ModifyDatabaseMdfRequestParams struct {
	// Array of database names
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type ModifyDatabaseMdfResponse

type ModifyDatabaseMdfResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDatabaseMdfResponseParams `json:"Response"`
}

func NewModifyDatabaseMdfResponse

func NewModifyDatabaseMdfResponse() (response *ModifyDatabaseMdfResponse)

func (*ModifyDatabaseMdfResponse) FromJsonString

func (r *ModifyDatabaseMdfResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseMdfResponse) ToJsonString

func (r *ModifyDatabaseMdfResponse) ToJsonString() string

type ModifyDatabaseMdfResponseParams

type ModifyDatabaseMdfResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDatabasePrivilegeRequest

type ModifyDatabasePrivilegeRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database permission change information.
	DataBaseSet []*DataBasePrivilegeModifyInfo `json:"DataBaseSet,omitnil,omitempty" name:"DataBaseSet"`
}

func NewModifyDatabasePrivilegeRequest

func NewModifyDatabasePrivilegeRequest() (request *ModifyDatabasePrivilegeRequest)

func (*ModifyDatabasePrivilegeRequest) FromJsonString

func (r *ModifyDatabasePrivilegeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabasePrivilegeRequest) ToJsonString

func (r *ModifyDatabasePrivilegeRequest) ToJsonString() string

type ModifyDatabasePrivilegeRequestParams

type ModifyDatabasePrivilegeRequestParams struct {
	// Instance ID, in the format of mssql-njj2mtpl.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Database permission change information.
	DataBaseSet []*DataBasePrivilegeModifyInfo `json:"DataBaseSet,omitnil,omitempty" name:"DataBaseSet"`
}

Predefined struct for user

type ModifyDatabasePrivilegeResponse

type ModifyDatabasePrivilegeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDatabasePrivilegeResponseParams `json:"Response"`
}

func NewModifyDatabasePrivilegeResponse

func NewModifyDatabasePrivilegeResponse() (response *ModifyDatabasePrivilegeResponse)

func (*ModifyDatabasePrivilegeResponse) FromJsonString

func (r *ModifyDatabasePrivilegeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabasePrivilegeResponse) ToJsonString

func (r *ModifyDatabasePrivilegeResponse) ToJsonString() string

type ModifyDatabasePrivilegeResponseParams

type ModifyDatabasePrivilegeResponseParams struct {
	// Asynchronous task flow ID.
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDatabaseShrinkMDFRequest

type ModifyDatabaseShrinkMDFRequest struct {
	*tchttp.BaseRequest

	// Database name array.
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewModifyDatabaseShrinkMDFRequest

func NewModifyDatabaseShrinkMDFRequest() (request *ModifyDatabaseShrinkMDFRequest)

func (*ModifyDatabaseShrinkMDFRequest) FromJsonString

func (r *ModifyDatabaseShrinkMDFRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseShrinkMDFRequest) ToJsonString

func (r *ModifyDatabaseShrinkMDFRequest) ToJsonString() string

type ModifyDatabaseShrinkMDFRequestParams

type ModifyDatabaseShrinkMDFRequestParams struct {
	// Database name array.
	DBNames []*string `json:"DBNames,omitnil,omitempty" name:"DBNames"`

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type ModifyDatabaseShrinkMDFResponse

type ModifyDatabaseShrinkMDFResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDatabaseShrinkMDFResponseParams `json:"Response"`
}

func NewModifyDatabaseShrinkMDFResponse

func NewModifyDatabaseShrinkMDFResponse() (response *ModifyDatabaseShrinkMDFResponse)

func (*ModifyDatabaseShrinkMDFResponse) FromJsonString

func (r *ModifyDatabaseShrinkMDFResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDatabaseShrinkMDFResponse) ToJsonString

func (r *ModifyDatabaseShrinkMDFResponse) ToJsonString() string

type ModifyDatabaseShrinkMDFResponseParams

type ModifyDatabaseShrinkMDFResponseParams struct {
	// Process ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyIncrementalMigrationRequest

type ModifyIncrementalMigrationRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API.
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`

	// Whether to restore backups. Valid values: `NO`, `YES`. If this parameter is not specified, current settings will be applied.
	IsRecovery *string `json:"IsRecovery,omitnil,omitempty" name:"IsRecovery"`

	// If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`
}

func NewModifyIncrementalMigrationRequest

func NewModifyIncrementalMigrationRequest() (request *ModifyIncrementalMigrationRequest)

func (*ModifyIncrementalMigrationRequest) FromJsonString

func (r *ModifyIncrementalMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyIncrementalMigrationRequest) ToJsonString

func (r *ModifyIncrementalMigrationRequest) ToJsonString() string

type ModifyIncrementalMigrationRequestParams

type ModifyIncrementalMigrationRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// Incremental backup import task ID, which is returned through the `CreateIncrementalMigration` API.
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`

	// Whether to restore backups. Valid values: `NO`, `YES`. If this parameter is not specified, current settings will be applied.
	IsRecovery *string `json:"IsRecovery,omitnil,omitempty" name:"IsRecovery"`

	// If the UploadType is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
	BackupFiles []*string `json:"BackupFiles,omitnil,omitempty" name:"BackupFiles"`
}

Predefined struct for user

type ModifyIncrementalMigrationResponse

type ModifyIncrementalMigrationResponse struct {
	*tchttp.BaseResponse
	Response *ModifyIncrementalMigrationResponseParams `json:"Response"`
}

func NewModifyIncrementalMigrationResponse

func NewModifyIncrementalMigrationResponse() (response *ModifyIncrementalMigrationResponse)

func (*ModifyIncrementalMigrationResponse) FromJsonString

func (r *ModifyIncrementalMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyIncrementalMigrationResponse) ToJsonString

func (r *ModifyIncrementalMigrationResponse) ToJsonString() string

type ModifyIncrementalMigrationResponseParams

type ModifyIncrementalMigrationResponseParams struct {
	// ID of an incremental backup import task
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceEncryptAttributesRequest

type ModifyInstanceEncryptAttributesRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Certificate ownership. Valid values: `self` (certificate of this account), `others` (certificate of the other account). Default value: `self`.
	CertificateAttribution *string `json:"CertificateAttribution,omitnil,omitempty" name:"CertificateAttribution"`

	// ID of the other referenced root account, which is required when `CertificateAttribution` is `others`.
	QuoteUin *string `json:"QuoteUin,omitnil,omitempty" name:"QuoteUin"`
}

func NewModifyInstanceEncryptAttributesRequest

func NewModifyInstanceEncryptAttributesRequest() (request *ModifyInstanceEncryptAttributesRequest)

func (*ModifyInstanceEncryptAttributesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceEncryptAttributesRequest) ToJsonString

type ModifyInstanceEncryptAttributesRequestParams

type ModifyInstanceEncryptAttributesRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Certificate ownership. Valid values: `self` (certificate of this account), `others` (certificate of the other account). Default value: `self`.
	CertificateAttribution *string `json:"CertificateAttribution,omitnil,omitempty" name:"CertificateAttribution"`

	// ID of the other referenced root account, which is required when `CertificateAttribution` is `others`.
	QuoteUin *string `json:"QuoteUin,omitnil,omitempty" name:"QuoteUin"`
}

Predefined struct for user

type ModifyInstanceEncryptAttributesResponse

type ModifyInstanceEncryptAttributesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceEncryptAttributesResponseParams `json:"Response"`
}

func NewModifyInstanceEncryptAttributesResponse

func NewModifyInstanceEncryptAttributesResponse() (response *ModifyInstanceEncryptAttributesResponse)

func (*ModifyInstanceEncryptAttributesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceEncryptAttributesResponse) ToJsonString

type ModifyInstanceEncryptAttributesResponseParams

type ModifyInstanceEncryptAttributesResponseParams struct {
	// Task flow ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceParamRequest

type ModifyInstanceParamRequest struct {
	*tchttp.BaseRequest

	// Instance ID list.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// List of modified parameters. Each list element has two fields: `Name` and `CurrentValue`. Set `Name` to the parameter name and `CurrentValue` to the new value after modification. <b>Note</b>: if the instance needs to be <b>restarted</b> for the modified parameter to take effect, it will be <b>restarted</b> immediately or during the maintenance time. Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted.
	ParamList []*Parameter `json:"ParamList,omitnil,omitempty" name:"ParamList"`

	// When to execute the parameter modification task. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `0`.
	WaitSwitch *int64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`
}

func NewModifyInstanceParamRequest

func NewModifyInstanceParamRequest() (request *ModifyInstanceParamRequest)

func (*ModifyInstanceParamRequest) FromJsonString

func (r *ModifyInstanceParamRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceParamRequest) ToJsonString

func (r *ModifyInstanceParamRequest) ToJsonString() string

type ModifyInstanceParamRequestParams

type ModifyInstanceParamRequestParams struct {
	// Instance ID list.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// List of modified parameters. Each list element has two fields: `Name` and `CurrentValue`. Set `Name` to the parameter name and `CurrentValue` to the new value after modification. <b>Note</b>: if the instance needs to be <b>restarted</b> for the modified parameter to take effect, it will be <b>restarted</b> immediately or during the maintenance time. Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted.
	ParamList []*Parameter `json:"ParamList,omitnil,omitempty" name:"ParamList"`

	// When to execute the parameter modification task. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `0`.
	WaitSwitch *int64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`
}

Predefined struct for user

type ModifyInstanceParamResponse

type ModifyInstanceParamResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceParamResponseParams `json:"Response"`
}

func NewModifyInstanceParamResponse

func NewModifyInstanceParamResponse() (response *ModifyInstanceParamResponse)

func (*ModifyInstanceParamResponse) FromJsonString

func (r *ModifyInstanceParamResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceParamResponse) ToJsonString

func (r *ModifyInstanceParamResponse) ToJsonString() string

type ModifyInstanceParamResponseParams

type ModifyInstanceParamResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyMaintenanceSpanRequest

type ModifyMaintenanceSpanRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-k8voqdlz.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance. If this parameter is left unspecified, this value is not modified.
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24. If this parameter is left unspecified, this value is not modified.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts. If this parameter is left unspecified, this value is not modified.
	Span *uint64 `json:"Span,omitnil,omitempty" name:"Span"`
}

func NewModifyMaintenanceSpanRequest

func NewModifyMaintenanceSpanRequest() (request *ModifyMaintenanceSpanRequest)

func (*ModifyMaintenanceSpanRequest) FromJsonString

func (r *ModifyMaintenanceSpanRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMaintenanceSpanRequest) ToJsonString

func (r *ModifyMaintenanceSpanRequest) ToJsonString() string

type ModifyMaintenanceSpanRequestParams

type ModifyMaintenanceSpanRequestParams struct {
	// Instance ID, in the format of mssql-k8voqdlz.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance. If this parameter is left unspecified, this value is not modified.
	Weekly []*int64 `json:"Weekly,omitnil,omitempty" name:"Weekly"`

	// Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24. If this parameter is left unspecified, this value is not modified.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts. If this parameter is left unspecified, this value is not modified.
	Span *uint64 `json:"Span,omitnil,omitempty" name:"Span"`
}

Predefined struct for user

type ModifyMaintenanceSpanResponse

type ModifyMaintenanceSpanResponse struct {
	*tchttp.BaseResponse
	Response *ModifyMaintenanceSpanResponseParams `json:"Response"`
}

func NewModifyMaintenanceSpanResponse

func NewModifyMaintenanceSpanResponse() (response *ModifyMaintenanceSpanResponse)

func (*ModifyMaintenanceSpanResponse) FromJsonString

func (r *ModifyMaintenanceSpanResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMaintenanceSpanResponse) ToJsonString

func (r *ModifyMaintenanceSpanResponse) ToJsonString() string

type ModifyMaintenanceSpanResponseParams

type ModifyMaintenanceSpanResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyMigrationRequest

type ModifyMigrationRequest struct {
	*tchttp.BaseRequest

	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`

	// New name of migration task. If this parameter is left empty, no modification will be made
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// New migration type (1: structure migration, 2: data migration, 3: incremental sync). If this parameter is left empty, no modification will be made
	MigrateType *uint64 `json:"MigrateType,omitnil,omitempty" name:"MigrateType"`

	// Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode). If this parameter is left empty, no modification will be made
	SourceType *uint64 `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Migration source. If this parameter is left empty, no modification will be made
	Source *MigrateSource `json:"Source,omitnil,omitempty" name:"Source"`

	// Migration target. If this parameter is left empty, no modification will be made
	Target *MigrateTarget `json:"Target,omitnil,omitempty" name:"Target"`

	// Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5). If it left empty, no modification will be made
	MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitnil,omitempty" name:"MigrateDBSet"`
}

func NewModifyMigrationRequest

func NewModifyMigrationRequest() (request *ModifyMigrationRequest)

func (*ModifyMigrationRequest) FromJsonString

func (r *ModifyMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMigrationRequest) ToJsonString

func (r *ModifyMigrationRequest) ToJsonString() string

type ModifyMigrationRequestParams

type ModifyMigrationRequestParams struct {
	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`

	// New name of migration task. If this parameter is left empty, no modification will be made
	MigrateName *string `json:"MigrateName,omitnil,omitempty" name:"MigrateName"`

	// New migration type (1: structure migration, 2: data migration, 3: incremental sync). If this parameter is left empty, no modification will be made
	MigrateType *uint64 `json:"MigrateType,omitnil,omitempty" name:"MigrateType"`

	// Migration source type. 1: TencentDB for SQL Server, 2: CVM-based self-created SQL Server database; 3: SQL Server backup restoration, 4: SQL Server backup restoration (in COS mode). If this parameter is left empty, no modification will be made
	SourceType *uint64 `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Migration source. If this parameter is left empty, no modification will be made
	Source *MigrateSource `json:"Source,omitnil,omitempty" name:"Source"`

	// Migration target. If this parameter is left empty, no modification will be made
	Target *MigrateTarget `json:"Target,omitnil,omitempty" name:"Target"`

	// Database objects to be migrated. This parameter is not used for offline migration (SourceType=4 or SourceType=5). If it left empty, no modification will be made
	MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitnil,omitempty" name:"MigrateDBSet"`
}

Predefined struct for user

type ModifyMigrationResponse

type ModifyMigrationResponse struct {
	*tchttp.BaseResponse
	Response *ModifyMigrationResponseParams `json:"Response"`
}

func NewModifyMigrationResponse

func NewModifyMigrationResponse() (response *ModifyMigrationResponse)

func (*ModifyMigrationResponse) FromJsonString

func (r *ModifyMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMigrationResponse) ToJsonString

func (r *ModifyMigrationResponse) ToJsonString() string

type ModifyMigrationResponseParams

type ModifyMigrationResponseParams struct {
	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyOpenWanIpRequest

type ModifyOpenWanIpRequest struct {
	*tchttp.BaseRequest

	// Instance resource ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// RO group ID.
	RoGroupId *string `json:"RoGroupId,omitnil,omitempty" name:"RoGroupId"`
}

func NewModifyOpenWanIpRequest

func NewModifyOpenWanIpRequest() (request *ModifyOpenWanIpRequest)

func (*ModifyOpenWanIpRequest) FromJsonString

func (r *ModifyOpenWanIpRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOpenWanIpRequest) ToJsonString

func (r *ModifyOpenWanIpRequest) ToJsonString() string

type ModifyOpenWanIpRequestParams

type ModifyOpenWanIpRequestParams struct {
	// Instance resource ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// RO group ID.
	RoGroupId *string `json:"RoGroupId,omitnil,omitempty" name:"RoGroupId"`
}

Predefined struct for user

type ModifyOpenWanIpResponse

type ModifyOpenWanIpResponse struct {
	*tchttp.BaseResponse
	Response *ModifyOpenWanIpResponseParams `json:"Response"`
}

func NewModifyOpenWanIpResponse

func NewModifyOpenWanIpResponse() (response *ModifyOpenWanIpResponse)

func (*ModifyOpenWanIpResponse) FromJsonString

func (r *ModifyOpenWanIpResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOpenWanIpResponse) ToJsonString

func (r *ModifyOpenWanIpResponse) ToJsonString() string

type ModifyOpenWanIpResponseParams

type ModifyOpenWanIpResponseParams struct {
	// ID of the process of enabling the public network.
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPublishSubscribeNameRequest

type ModifyPublishSubscribeNameRequest struct {
	*tchttp.BaseRequest

	// Publish/subscribe ID.
	PublishSubscribeId *uint64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe name to be modified.
	PublishSubscribeName *string `json:"PublishSubscribeName,omitnil,omitempty" name:"PublishSubscribeName"`
}

func NewModifyPublishSubscribeNameRequest

func NewModifyPublishSubscribeNameRequest() (request *ModifyPublishSubscribeNameRequest)

func (*ModifyPublishSubscribeNameRequest) FromJsonString

func (r *ModifyPublishSubscribeNameRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPublishSubscribeNameRequest) ToJsonString

func (r *ModifyPublishSubscribeNameRequest) ToJsonString() string

type ModifyPublishSubscribeNameRequestParams

type ModifyPublishSubscribeNameRequestParams struct {
	// Publish/subscribe ID.
	PublishSubscribeId *uint64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe name to be modified.
	PublishSubscribeName *string `json:"PublishSubscribeName,omitnil,omitempty" name:"PublishSubscribeName"`
}

Predefined struct for user

type ModifyPublishSubscribeNameResponse

type ModifyPublishSubscribeNameResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPublishSubscribeNameResponseParams `json:"Response"`
}

func NewModifyPublishSubscribeNameResponse

func NewModifyPublishSubscribeNameResponse() (response *ModifyPublishSubscribeNameResponse)

func (*ModifyPublishSubscribeNameResponse) FromJsonString

func (r *ModifyPublishSubscribeNameResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPublishSubscribeNameResponse) ToJsonString

func (r *ModifyPublishSubscribeNameResponse) ToJsonString() string

type ModifyPublishSubscribeNameResponseParams

type ModifyPublishSubscribeNameResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPublishSubscribeRequest

type ModifyPublishSubscribeRequest struct {
	*tchttp.BaseRequest

	// Instance ID. For example: mssql-dg32dcv.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Publish/subscribe ID.
	PublishSubscribeId *int64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe relationship collection of the database to be modified.
	DatabaseTupleSet []*ModifyDataBaseTuple `json:"DatabaseTupleSet,omitnil,omitempty" name:"DatabaseTupleSet"`
}

func NewModifyPublishSubscribeRequest

func NewModifyPublishSubscribeRequest() (request *ModifyPublishSubscribeRequest)

func (*ModifyPublishSubscribeRequest) FromJsonString

func (r *ModifyPublishSubscribeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPublishSubscribeRequest) ToJsonString

func (r *ModifyPublishSubscribeRequest) ToJsonString() string

type ModifyPublishSubscribeRequestParams

type ModifyPublishSubscribeRequestParams struct {
	// Instance ID. For example: mssql-dg32dcv.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Publish/subscribe ID.
	PublishSubscribeId *int64 `json:"PublishSubscribeId,omitnil,omitempty" name:"PublishSubscribeId"`

	// Publish/subscribe relationship collection of the database to be modified.
	DatabaseTupleSet []*ModifyDataBaseTuple `json:"DatabaseTupleSet,omitnil,omitempty" name:"DatabaseTupleSet"`
}

Predefined struct for user

type ModifyPublishSubscribeResponse

type ModifyPublishSubscribeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPublishSubscribeResponseParams `json:"Response"`
}

func NewModifyPublishSubscribeResponse

func NewModifyPublishSubscribeResponse() (response *ModifyPublishSubscribeResponse)

func (*ModifyPublishSubscribeResponse) FromJsonString

func (r *ModifyPublishSubscribeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPublishSubscribeResponse) ToJsonString

func (r *ModifyPublishSubscribeResponse) ToJsonString() string

type ModifyPublishSubscribeResponseParams

type ModifyPublishSubscribeResponseParams struct {
	// Task flow ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyReadOnlyGroupDetailsRequest

type ModifyReadOnlyGroupDetailsRequest struct {
	*tchttp.BaseRequest

	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// Read-only group name. The modification is not performed if this parameter is left unspecified.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Whether to enable the delayed read-only instance removal feature. 0 - disabled; 1 - enabled. The modification is not performed if this parameter is left unspecified.
	IsOfflineDelay *int64 `json:"IsOfflineDelay,omitnil,omitempty" name:"IsOfflineDelay"`

	// Timeout threshold used after the delayed read-only instance removal feature is enabled. The modification is not performed if this parameter is left unspecified.
	ReadOnlyMaxDelayTime *int64 `json:"ReadOnlyMaxDelayTime,omitnil,omitempty" name:"ReadOnlyMaxDelayTime"`

	// Minimum number of retained read-only replicas in the read-only group, after the delayed read-only instance removal feature is enabled. The modification is not performed if this parameter is left unspecified.
	MinReadOnlyInGroup *int64 `json:"MinReadOnlyInGroup,omitnil,omitempty" name:"MinReadOnlyInGroup"`

	// Collection of read-only group instance weight modification. The modification is not performed if this parameter is left unspecified.
	WeightPairs []*ReadOnlyInstanceWeightPair `json:"WeightPairs,omitnil,omitempty" name:"WeightPairs"`

	// 0 - user-defined weight (adjust according to WeightPairs); 1 - automatically assigned weight by the system (invalid WeightPairs). The default value is 0.
	AutoWeight *int64 `json:"AutoWeight,omitnil,omitempty" name:"AutoWeight"`

	// 0 - not rebalance the load; 1 - rebalance the load. The default value is 0.
	BalanceWeight *int64 `json:"BalanceWeight,omitnil,omitempty" name:"BalanceWeight"`
}

func NewModifyReadOnlyGroupDetailsRequest

func NewModifyReadOnlyGroupDetailsRequest() (request *ModifyReadOnlyGroupDetailsRequest)

func (*ModifyReadOnlyGroupDetailsRequest) FromJsonString

func (r *ModifyReadOnlyGroupDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyReadOnlyGroupDetailsRequest) ToJsonString

func (r *ModifyReadOnlyGroupDetailsRequest) ToJsonString() string

type ModifyReadOnlyGroupDetailsRequestParams

type ModifyReadOnlyGroupDetailsRequestParams struct {
	// Primary instance ID, in the format of mssql-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	// Read-only group name. The modification is not performed if this parameter is left unspecified.
	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	// Whether to enable the delayed read-only instance removal feature. 0 - disabled; 1 - enabled. The modification is not performed if this parameter is left unspecified.
	IsOfflineDelay *int64 `json:"IsOfflineDelay,omitnil,omitempty" name:"IsOfflineDelay"`

	// Timeout threshold used after the delayed read-only instance removal feature is enabled. The modification is not performed if this parameter is left unspecified.
	ReadOnlyMaxDelayTime *int64 `json:"ReadOnlyMaxDelayTime,omitnil,omitempty" name:"ReadOnlyMaxDelayTime"`

	// Minimum number of retained read-only replicas in the read-only group, after the delayed read-only instance removal feature is enabled. The modification is not performed if this parameter is left unspecified.
	MinReadOnlyInGroup *int64 `json:"MinReadOnlyInGroup,omitnil,omitempty" name:"MinReadOnlyInGroup"`

	// Collection of read-only group instance weight modification. The modification is not performed if this parameter is left unspecified.
	WeightPairs []*ReadOnlyInstanceWeightPair `json:"WeightPairs,omitnil,omitempty" name:"WeightPairs"`

	// 0 - user-defined weight (adjust according to WeightPairs); 1 - automatically assigned weight by the system (invalid WeightPairs). The default value is 0.
	AutoWeight *int64 `json:"AutoWeight,omitnil,omitempty" name:"AutoWeight"`

	// 0 - not rebalance the load; 1 - rebalance the load. The default value is 0.
	BalanceWeight *int64 `json:"BalanceWeight,omitnil,omitempty" name:"BalanceWeight"`
}

Predefined struct for user

type ModifyReadOnlyGroupDetailsResponse

type ModifyReadOnlyGroupDetailsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyReadOnlyGroupDetailsResponseParams `json:"Response"`
}

func NewModifyReadOnlyGroupDetailsResponse

func NewModifyReadOnlyGroupDetailsResponse() (response *ModifyReadOnlyGroupDetailsResponse)

func (*ModifyReadOnlyGroupDetailsResponse) FromJsonString

func (r *ModifyReadOnlyGroupDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyReadOnlyGroupDetailsResponse) ToJsonString

func (r *ModifyReadOnlyGroupDetailsResponse) ToJsonString() string

type ModifyReadOnlyGroupDetailsResponseParams

type ModifyReadOnlyGroupDetailsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OldVip

type OldVip struct {
	// Unrecovered old IP addresses
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// IP recovery time
	RecycleTime *string `json:"RecycleTime,omitnil,omitempty" name:"RecycleTime"`

	// Old IP retention time (hours)
	// Note: This field may return null, indicating that no valid values can be obtained.
	OldIpRetainTime *int64 `json:"OldIpRetainTime,omitnil,omitempty" name:"OldIpRetainTime"`
}

type OpenInterCommunicationRequest

type OpenInterCommunicationRequest struct {
	*tchttp.BaseRequest

	// IDs of instances with interwoking group enabled
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

func NewOpenInterCommunicationRequest

func NewOpenInterCommunicationRequest() (request *OpenInterCommunicationRequest)

func (*OpenInterCommunicationRequest) FromJsonString

func (r *OpenInterCommunicationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenInterCommunicationRequest) ToJsonString

func (r *OpenInterCommunicationRequest) ToJsonString() string

type OpenInterCommunicationRequestParams

type OpenInterCommunicationRequestParams struct {
	// IDs of instances with interwoking group enabled
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

Predefined struct for user

type OpenInterCommunicationResponse

type OpenInterCommunicationResponse struct {
	*tchttp.BaseResponse
	Response *OpenInterCommunicationResponseParams `json:"Response"`
}

func NewOpenInterCommunicationResponse

func NewOpenInterCommunicationResponse() (response *OpenInterCommunicationResponse)

func (*OpenInterCommunicationResponse) FromJsonString

func (r *OpenInterCommunicationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenInterCommunicationResponse) ToJsonString

func (r *OpenInterCommunicationResponse) ToJsonString() string

type OpenInterCommunicationResponseParams

type OpenInterCommunicationResponseParams struct {
	// IDs of instance and async task
	InterInstanceFlowSet []*InterInstanceFlow `json:"InterInstanceFlowSet,omitnil,omitempty" name:"InterInstanceFlowSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ParamRecord

type ParamRecord struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Parameter value before modification
	OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"`

	// Parameter value after modification
	NewValue *string `json:"NewValue,omitnil,omitempty" name:"NewValue"`

	// Parameter modification status. Valid values: `1` (initializing and waiting for modification), `2` (modification succeed), `3` (modification failed), `4` (modifying)
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
}

type Parameter

type Parameter struct {
	// Parameter name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Parameter value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`
}

type ParameterDetail

type ParameterDetail struct {
	// Parameter name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data type of the parameter. Valid values: `integer`, `enum`
	ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"`

	// Default value of the parameter
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`

	// Parameter description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Current value of the parameter
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Whether the database needs to be restarted for the modified parameter to take effect. Valid values: `0` (no),`1` (yes)
	NeedReboot *int64 `json:"NeedReboot,omitnil,omitempty" name:"NeedReboot"`

	// Maximum value of the parameter
	Max *int64 `json:"Max,omitnil,omitempty" name:"Max"`

	// Minimum value of the parameter
	Min *int64 `json:"Min,omitnil,omitempty" name:"Min"`

	// Enumerated values of the parameter
	EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"`

	// Parameter status. Valid values: `0` (normal), `1` (modifying)
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type Price

type Price struct {
	PrepaidPrice *uint64 `json:"PrepaidPrice,omitnil,omitempty" name:"PrepaidPrice"`

	PrepaidPriceUnit *string `json:"PrepaidPriceUnit,omitnil,omitempty" name:"PrepaidPriceUnit"`

	PostpaidPrice *uint64 `json:"PostpaidPrice,omitnil,omitempty" name:"PostpaidPrice"`

	PostpaidPriceUnit *string `json:"PostpaidPriceUnit,omitnil,omitempty" name:"PostpaidPriceUnit"`
}

type PublishSubscribe

type PublishSubscribe struct {
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	PublishInstanceId *string `json:"PublishInstanceId,omitnil,omitempty" name:"PublishInstanceId"`

	PublishInstanceName *string `json:"PublishInstanceName,omitnil,omitempty" name:"PublishInstanceName"`

	PublishInstanceIp *string `json:"PublishInstanceIp,omitnil,omitempty" name:"PublishInstanceIp"`

	SubscribeInstanceId *string `json:"SubscribeInstanceId,omitnil,omitempty" name:"SubscribeInstanceId"`

	SubscribeInstanceName *string `json:"SubscribeInstanceName,omitnil,omitempty" name:"SubscribeInstanceName"`

	SubscribeInstanceIp *string `json:"SubscribeInstanceIp,omitnil,omitempty" name:"SubscribeInstanceIp"`

	DatabaseTupleSet []*DatabaseTupleStatus `json:"DatabaseTupleSet,omitnil,omitempty" name:"DatabaseTupleSet"`
}

type QueryMigrationCheckProcessRequest

type QueryMigrationCheckProcessRequest struct {
	*tchttp.BaseRequest

	// Migration task ID.
	MigrateId *int64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

func NewQueryMigrationCheckProcessRequest

func NewQueryMigrationCheckProcessRequest() (request *QueryMigrationCheckProcessRequest)

func (*QueryMigrationCheckProcessRequest) FromJsonString

func (r *QueryMigrationCheckProcessRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*QueryMigrationCheckProcessRequest) ToJsonString

func (r *QueryMigrationCheckProcessRequest) ToJsonString() string

type QueryMigrationCheckProcessRequestParams

type QueryMigrationCheckProcessRequestParams struct {
	// Migration task ID.
	MigrateId *int64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

Predefined struct for user

type QueryMigrationCheckProcessResponse

type QueryMigrationCheckProcessResponse struct {
	*tchttp.BaseResponse
	Response *QueryMigrationCheckProcessResponseParams `json:"Response"`
}

func NewQueryMigrationCheckProcessResponse

func NewQueryMigrationCheckProcessResponse() (response *QueryMigrationCheckProcessResponse)

func (*QueryMigrationCheckProcessResponse) FromJsonString

func (r *QueryMigrationCheckProcessResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*QueryMigrationCheckProcessResponse) ToJsonString

func (r *QueryMigrationCheckProcessResponse) ToJsonString() string

type QueryMigrationCheckProcessResponseParams

type QueryMigrationCheckProcessResponseParams struct {
	// Total number of steps.
	TotalStep *int64 `json:"TotalStep,omitnil,omitempty" name:"TotalStep"`

	// Current step number, starting from 1.
	CurrentStep *int64 `json:"CurrentStep,omitnil,omitempty" name:"CurrentStep"`

	// Details of all steps.
	StepDetails []*StepDetail `json:"StepDetails,omitnil,omitempty" name:"StepDetails"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReadOnlyGroup

type ReadOnlyGroup struct {
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`

	ReadOnlyGroupName *string `json:"ReadOnlyGroupName,omitnil,omitempty" name:"ReadOnlyGroupName"`

	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	IsOfflineDelay *int64 `json:"IsOfflineDelay,omitnil,omitempty" name:"IsOfflineDelay"`

	ReadOnlyMaxDelayTime *int64 `json:"ReadOnlyMaxDelayTime,omitnil,omitempty" name:"ReadOnlyMaxDelayTime"`

	MinReadOnlyInGroup *int64 `json:"MinReadOnlyInGroup,omitnil,omitempty" name:"MinReadOnlyInGroup"`

	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	MasterInstanceId *string `json:"MasterInstanceId,omitnil,omitempty" name:"MasterInstanceId"`

	ReadOnlyInstanceSet []*ReadOnlyInstance `json:"ReadOnlyInstanceSet,omitnil,omitempty" name:"ReadOnlyInstanceSet"`

	// RO group's public network address domain name
	DnsPodDomain *string `json:"DnsPodDomain,omitnil,omitempty" name:"DnsPodDomain"`

	// RO group's public network address port
	TgwWanVPort *uint64 `json:"TgwWanVPort,omitnil,omitempty" name:"TgwWanVPort"`
}

type ReadOnlyInstance

type ReadOnlyInstance struct {
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	Uid *string `json:"Uid,omitnil,omitempty" name:"Uid"`

	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	Model *int64 `json:"Model,omitnil,omitempty" name:"Model"`

	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"`

	DelayTime *string `json:"DelayTime,omitnil,omitempty" name:"DelayTime"`

	SynStatus *string `json:"SynStatus,omitnil,omitempty" name:"SynStatus"`

	DatabaseDifference *string `json:"DatabaseDifference,omitnil,omitempty" name:"DatabaseDifference"`

	AccountDifference *string `json:"AccountDifference,omitnil,omitempty" name:"AccountDifference"`

	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"`

	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
}

type ReadOnlyInstanceWeightPair

type ReadOnlyInstanceWeightPair struct {
	ReadOnlyInstanceId *string `json:"ReadOnlyInstanceId,omitnil,omitempty" name:"ReadOnlyInstanceId"`

	ReadOnlyWeight *int64 `json:"ReadOnlyWeight,omitnil,omitempty" name:"ReadOnlyWeight"`
}

type RecycleDBInstanceRequest

type RecycleDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewRecycleDBInstanceRequest

func NewRecycleDBInstanceRequest() (request *RecycleDBInstanceRequest)

func (*RecycleDBInstanceRequest) FromJsonString

func (r *RecycleDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RecycleDBInstanceRequest) ToJsonString

func (r *RecycleDBInstanceRequest) ToJsonString() string

type RecycleDBInstanceRequestParams

type RecycleDBInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type RecycleDBInstanceResponse

type RecycleDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RecycleDBInstanceResponseParams `json:"Response"`
}

func NewRecycleDBInstanceResponse

func NewRecycleDBInstanceResponse() (response *RecycleDBInstanceResponse)

func (*RecycleDBInstanceResponse) FromJsonString

func (r *RecycleDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RecycleDBInstanceResponse) ToJsonString

func (r *RecycleDBInstanceResponse) ToJsonString() string

type RecycleDBInstanceResponseParams

type RecycleDBInstanceResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RecycleReadOnlyGroupRequest

type RecycleReadOnlyGroupRequest struct {
	*tchttp.BaseRequest

	// Primary instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

func NewRecycleReadOnlyGroupRequest

func NewRecycleReadOnlyGroupRequest() (request *RecycleReadOnlyGroupRequest)

func (*RecycleReadOnlyGroupRequest) FromJsonString

func (r *RecycleReadOnlyGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RecycleReadOnlyGroupRequest) ToJsonString

func (r *RecycleReadOnlyGroupRequest) ToJsonString() string

type RecycleReadOnlyGroupRequestParams

type RecycleReadOnlyGroupRequestParams struct {
	// Primary instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only group ID.
	ReadOnlyGroupId *string `json:"ReadOnlyGroupId,omitnil,omitempty" name:"ReadOnlyGroupId"`
}

Predefined struct for user

type RecycleReadOnlyGroupResponse

type RecycleReadOnlyGroupResponse struct {
	*tchttp.BaseResponse
	Response *RecycleReadOnlyGroupResponseParams `json:"Response"`
}

func NewRecycleReadOnlyGroupResponse

func NewRecycleReadOnlyGroupResponse() (response *RecycleReadOnlyGroupResponse)

func (*RecycleReadOnlyGroupResponse) FromJsonString

func (r *RecycleReadOnlyGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RecycleReadOnlyGroupResponse) ToJsonString

func (r *RecycleReadOnlyGroupResponse) ToJsonString() string

type RecycleReadOnlyGroupResponseParams

type RecycleReadOnlyGroupResponseParams struct {
	// Task flow ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RegionInfo

type RegionInfo struct {
	// Region ID in the format of ap-guangzhou
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Region name
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// Numeric ID of region
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable
	RegionState *string `json:"RegionState,omitnil,omitempty" name:"RegionState"`
}

type RemoveBackupsRequest

type RemoveBackupsRequest struct {
	*tchttp.BaseRequest

	// Instance ID. For example, mssql-j8kv137v.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup names to be deleted. Backup names can be obtained through the FileName field of the DescribeBackups API. The number of backups for batch deletion in a single request should not exceed 10. This field is required when the values of StartTime and EndTime are null.
	BackupNames []*string `json:"BackupNames,omitnil,omitempty" name:"BackupNames"`

	// Start time for batch deletion of manual backups. This field is required when the value of BackupNames is null.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Deadline for batch deletion of manual backups. This field is required when the value of BackupNames is null.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewRemoveBackupsRequest

func NewRemoveBackupsRequest() (request *RemoveBackupsRequest)

func (*RemoveBackupsRequest) FromJsonString

func (r *RemoveBackupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveBackupsRequest) ToJsonString

func (r *RemoveBackupsRequest) ToJsonString() string

type RemoveBackupsRequestParams

type RemoveBackupsRequestParams struct {
	// Instance ID. For example, mssql-j8kv137v.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup names to be deleted. Backup names can be obtained through the FileName field of the DescribeBackups API. The number of backups for batch deletion in a single request should not exceed 10. This field is required when the values of StartTime and EndTime are null.
	BackupNames []*string `json:"BackupNames,omitnil,omitempty" name:"BackupNames"`

	// Start time for batch deletion of manual backups. This field is required when the value of BackupNames is null.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Deadline for batch deletion of manual backups. This field is required when the value of BackupNames is null.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type RemoveBackupsResponse

type RemoveBackupsResponse struct {
	*tchttp.BaseResponse
	Response *RemoveBackupsResponseParams `json:"Response"`
}

func NewRemoveBackupsResponse

func NewRemoveBackupsResponse() (response *RemoveBackupsResponse)

func (*RemoveBackupsResponse) FromJsonString

func (r *RemoveBackupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveBackupsResponse) ToJsonString

func (r *RemoveBackupsResponse) ToJsonString() string

type RemoveBackupsResponseParams

type RemoveBackupsResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RenameRestoreDatabase

type RenameRestoreDatabase struct {
	// Database name. If the `OldName` database does not exist, a failure will be returned.
	// It can be left empty in offline migration tasks.
	OldName *string `json:"OldName,omitnil,omitempty" name:"OldName"`

	// New database name. In offline migration, `OldName` will be used if `NewName` is left empty (`OldName` and `NewName` cannot be both empty). In database cloning, `OldName` and `NewName` must be both specified and cannot have the same value.
	NewName *string `json:"NewName,omitnil,omitempty" name:"NewName"`
}

type RenewPostpaidDBInstanceRequest

type RenewPostpaidDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID, in the format of mssql-3l3fgqn7 or mssqlro-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewRenewPostpaidDBInstanceRequest

func NewRenewPostpaidDBInstanceRequest() (request *RenewPostpaidDBInstanceRequest)

func (*RenewPostpaidDBInstanceRequest) FromJsonString

func (r *RenewPostpaidDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewPostpaidDBInstanceRequest) ToJsonString

func (r *RenewPostpaidDBInstanceRequest) ToJsonString() string

type RenewPostpaidDBInstanceRequestParams

type RenewPostpaidDBInstanceRequestParams struct {
	// Instance ID, in the format of mssql-3l3fgqn7 or mssqlro-3l3fgqn7.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type RenewPostpaidDBInstanceResponse

type RenewPostpaidDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RenewPostpaidDBInstanceResponseParams `json:"Response"`
}

func NewRenewPostpaidDBInstanceResponse

func NewRenewPostpaidDBInstanceResponse() (response *RenewPostpaidDBInstanceResponse)

func (*RenewPostpaidDBInstanceResponse) FromJsonString

func (r *RenewPostpaidDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewPostpaidDBInstanceResponse) ToJsonString

func (r *RenewPostpaidDBInstanceResponse) ToJsonString() string

type RenewPostpaidDBInstanceResponseParams

type RenewPostpaidDBInstanceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResetAccountPasswordRequest

type ResetAccountPasswordRequest struct {
	*tchttp.BaseRequest

	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Updated account password information array
	Accounts []*AccountPassword `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

func NewResetAccountPasswordRequest

func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)

func (*ResetAccountPasswordRequest) FromJsonString

func (r *ResetAccountPasswordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetAccountPasswordRequest) ToJsonString

func (r *ResetAccountPasswordRequest) ToJsonString() string

type ResetAccountPasswordRequestParams

type ResetAccountPasswordRequestParams struct {
	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Updated account password information array
	Accounts []*AccountPassword `json:"Accounts,omitnil,omitempty" name:"Accounts"`
}

Predefined struct for user

type ResetAccountPasswordResponse

type ResetAccountPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ResetAccountPasswordResponseParams `json:"Response"`
}

func NewResetAccountPasswordResponse

func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)

func (*ResetAccountPasswordResponse) FromJsonString

func (r *ResetAccountPasswordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetAccountPasswordResponse) ToJsonString

func (r *ResetAccountPasswordResponse) ToJsonString() string

type ResetAccountPasswordResponseParams

type ResetAccountPasswordResponseParams struct {
	// ID of asynchronous task flow for account password modification
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResourceTag

type ResourceTag struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type RestartDBInstanceRequest

type RestartDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewRestartDBInstanceRequest

func NewRestartDBInstanceRequest() (request *RestartDBInstanceRequest)

func (*RestartDBInstanceRequest) FromJsonString

func (r *RestartDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestartDBInstanceRequest) ToJsonString

func (r *RestartDBInstanceRequest) ToJsonString() string

type RestartDBInstanceRequestParams

type RestartDBInstanceRequestParams struct {
	// Database instance ID in the format of mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type RestartDBInstanceResponse

type RestartDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RestartDBInstanceResponseParams `json:"Response"`
}

func NewRestartDBInstanceResponse

func NewRestartDBInstanceResponse() (response *RestartDBInstanceResponse)

func (*RestartDBInstanceResponse) FromJsonString

func (r *RestartDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestartDBInstanceResponse) ToJsonString

func (r *RestartDBInstanceResponse) ToJsonString() string

type RestartDBInstanceResponseParams

type RestartDBInstanceResponseParams struct {
	// Async task flow ID
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RestoreInstanceRequest

type RestoreInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup file ID, which can be obtained through the `Id` field in the returned value of the `DescribeBackups` API
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Restore the databases listed in `ReNameRestoreDatabase` and rename them after restoration. If this parameter is left empty, all databases will be restored and renamed in the default format.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`

	// Rollback type. Valid values: `0` (overwriting), `1` (renaming).
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Database to be overwritten, which is required when overwriting a rollback database.
	DBList []*string `json:"DBList,omitnil,omitempty" name:"DBList"`

	// Group ID of unarchived backup files grouped by backup task
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}

func NewRestoreInstanceRequest

func NewRestoreInstanceRequest() (request *RestoreInstanceRequest)

func (*RestoreInstanceRequest) FromJsonString

func (r *RestoreInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestoreInstanceRequest) ToJsonString

func (r *RestoreInstanceRequest) ToJsonString() string

type RestoreInstanceRequestParams

type RestoreInstanceRequestParams struct {
	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup file ID, which can be obtained through the `Id` field in the returned value of the `DescribeBackups` API
	BackupId *int64 `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Restore the databases listed in `ReNameRestoreDatabase` and rename them after restoration. If this parameter is left empty, all databases will be restored and renamed in the default format.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`

	// Rollback type. Valid values: `0` (overwriting), `1` (renaming).
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Database to be overwritten, which is required when overwriting a rollback database.
	DBList []*string `json:"DBList,omitnil,omitempty" name:"DBList"`

	// Group ID of unarchived backup files grouped by backup task
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}

Predefined struct for user

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RestoreInstanceResponseParams `json:"Response"`
}

func NewRestoreInstanceResponse

func NewRestoreInstanceResponse() (response *RestoreInstanceResponse)

func (*RestoreInstanceResponse) FromJsonString

func (r *RestoreInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestoreInstanceResponse) ToJsonString

func (r *RestoreInstanceResponse) ToJsonString() string

type RestoreInstanceResponseParams

type RestoreInstanceResponseParams struct {
	// Async flow task ID, which can be used to call the `DescribeFlowStatus` API to get the task execution status
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RestoreTask

type RestoreTask struct {
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	TargetInstanceName *string `json:"TargetInstanceName,omitnil,omitempty" name:"TargetInstanceName"`

	TargetInstanceStatus *int64 `json:"TargetInstanceStatus,omitnil,omitempty" name:"TargetInstanceStatus"`

	TargetRegion *string `json:"TargetRegion,omitnil,omitempty" name:"TargetRegion"`

	RestoreId *int64 `json:"RestoreId,omitnil,omitempty" name:"RestoreId"`

	TargetType *int64 `json:"TargetType,omitnil,omitempty" name:"TargetType"`

	RestoreType *int64 `json:"RestoreType,omitnil,omitempty" name:"RestoreType"`

	RestoreTime *string `json:"RestoreTime,omitnil,omitempty" name:"RestoreTime"`

	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

type RollbackInstanceRequest

type RollbackInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Rollback type. 0: the database rolled back overwrites the original database; 1: the database rolled back is renamed and does not overwrite the original database
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Target time point for rollback
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// Database to be rolled back
	DBs []*string `json:"DBs,omitnil,omitempty" name:"DBs"`

	// ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Rename the databases listed in `ReNameRestoreDatabase`. This parameter takes effect only when `Type = 1` which indicates that backup rollback supports renaming databases. If it is left empty, databases will be renamed in the default format and the `DBs` parameter specifies the databases to be restored.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`
}

func NewRollbackInstanceRequest

func NewRollbackInstanceRequest() (request *RollbackInstanceRequest)

func (*RollbackInstanceRequest) FromJsonString

func (r *RollbackInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RollbackInstanceRequest) ToJsonString

func (r *RollbackInstanceRequest) ToJsonString() string

type RollbackInstanceRequestParams

type RollbackInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Rollback type. 0: the database rolled back overwrites the original database; 1: the database rolled back is renamed and does not overwrite the original database
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Target time point for rollback
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// Database to be rolled back
	DBs []*string `json:"DBs,omitnil,omitempty" name:"DBs"`

	// ID of the target instance to which the backup is restored. The target instance should be under the same `APPID`. If this parameter is left empty, ID of the source instance will be used.
	TargetInstanceId *string `json:"TargetInstanceId,omitnil,omitempty" name:"TargetInstanceId"`

	// Rename the databases listed in `ReNameRestoreDatabase`. This parameter takes effect only when `Type = 1` which indicates that backup rollback supports renaming databases. If it is left empty, databases will be renamed in the default format and the `DBs` parameter specifies the databases to be restored.
	RenameRestore []*RenameRestoreDatabase `json:"RenameRestore,omitnil,omitempty" name:"RenameRestore"`
}

Predefined struct for user

type RollbackInstanceResponse

type RollbackInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RollbackInstanceResponseParams `json:"Response"`
}

func NewRollbackInstanceResponse

func NewRollbackInstanceResponse() (response *RollbackInstanceResponse)

func (*RollbackInstanceResponse) FromJsonString

func (r *RollbackInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RollbackInstanceResponse) ToJsonString

func (r *RollbackInstanceResponse) ToJsonString() string

type RollbackInstanceResponseParams

type RollbackInstanceResponseParams struct {
	// The async job ID
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RunMigrationRequest

type RunMigrationRequest struct {
	*tchttp.BaseRequest

	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

func NewRunMigrationRequest

func NewRunMigrationRequest() (request *RunMigrationRequest)

func (*RunMigrationRequest) FromJsonString

func (r *RunMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunMigrationRequest) ToJsonString

func (r *RunMigrationRequest) ToJsonString() string

type RunMigrationRequestParams

type RunMigrationRequestParams struct {
	// Migration task ID
	MigrateId *uint64 `json:"MigrateId,omitnil,omitempty" name:"MigrateId"`
}

Predefined struct for user

type RunMigrationResponse

type RunMigrationResponse struct {
	*tchttp.BaseResponse
	Response *RunMigrationResponseParams `json:"Response"`
}

func NewRunMigrationResponse

func NewRunMigrationResponse() (response *RunMigrationResponse)

func (*RunMigrationResponse) FromJsonString

func (r *RunMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunMigrationResponse) ToJsonString

func (r *RunMigrationResponse) ToJsonString() string

type RunMigrationResponseParams

type RunMigrationResponseParams struct {
	// After the migration task starts, the flow ID will be returned
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SSLConfig

type SSLConfig struct {
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`

	SSLValidityPeriod *string `json:"SSLValidityPeriod,omitnil,omitempty" name:"SSLValidityPeriod"`

	SSLValidity *uint64 `json:"SSLValidity,omitnil,omitempty" name:"SSLValidity"`
}

type SecurityGroup

type SecurityGroup struct {
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	InboundSet []*SecurityGroupPolicy `json:"InboundSet,omitnil,omitempty" name:"InboundSet"`

	OutboundSet []*SecurityGroupPolicy `json:"OutboundSet,omitnil,omitempty" name:"OutboundSet"`

	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	SecurityGroupName *string `json:"SecurityGroupName,omitnil,omitempty" name:"SecurityGroupName"`

	SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil,omitempty" name:"SecurityGroupRemark"`
}

type SecurityGroupPolicy

type SecurityGroupPolicy struct {
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"`

	PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"`

	IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"`

	Dir *string `json:"Dir,omitnil,omitempty" name:"Dir"`
}

type SlaveZones

type SlaveZones struct {
	// Replica AZ region code
	SlaveZone *string `json:"SlaveZone,omitnil,omitempty" name:"SlaveZone"`

	// Replica AZ
	SlaveZoneName *string `json:"SlaveZoneName,omitnil,omitempty" name:"SlaveZoneName"`
}

type SlowLog

type SlowLog struct {
	// Unique ID of slow query log file
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// File generation start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// File generation end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// File size in KB
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// Number of logs in file
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Download address for private network
	InternalAddr *string `json:"InternalAddr,omitnil,omitempty" name:"InternalAddr"`

	// Download address for public network
	ExternalAddr *string `json:"ExternalAddr,omitnil,omitempty" name:"ExternalAddr"`

	// Status (1: success, 2: failure)
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type SlowlogInfo

type SlowlogInfo struct {
	// Unique ID of slow query log file
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// File generation start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// File generation end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// File size in KB
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// Number of logs in file
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Download address for private network
	InternalAddr *string `json:"InternalAddr,omitnil,omitempty" name:"InternalAddr"`

	// Download address for public network
	ExternalAddr *string `json:"ExternalAddr,omitnil,omitempty" name:"ExternalAddr"`

	// Status (1: success, 2: failure)
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type SpecInfo

type SpecInfo struct {
	// Instance specification ID. The `SpecId` returned by `DescribeZones` together with the purchasable specification information returned by `DescribeProductConfig` can be used to find out what specifications can be purchased in a specified AZ
	SpecId *int64 `json:"SpecId,omitnil,omitempty" name:"SpecId"`

	// Model ID
	MachineType *string `json:"MachineType,omitnil,omitempty" name:"MachineType"`

	// Model name
	MachineTypeName *string `json:"MachineTypeName,omitnil,omitempty" name:"MachineTypeName"`

	// Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise)
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// Version name corresponding to the `Version` field
	VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"`

	// Memory size in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Number of CPU cores
	CPU *int64 `json:"CPU,omitnil,omitempty" name:"CPU"`

	// Minimum disk size under this specification in GB
	MinStorage *int64 `json:"MinStorage,omitnil,omitempty" name:"MinStorage"`

	// Maximum disk size under this specification in GB
	MaxStorage *int64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"`

	// QPS of this specification
	QPS *int64 `json:"QPS,omitnil,omitempty" name:"QPS"`

	// Description of this specification
	SuitInfo *string `json:"SuitInfo,omitnil,omitempty" name:"SuitInfo"`

	// Pid of this specification
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// Pay-as-you-go Pid list corresponding to this specification
	// Note: this field may return null, indicating that no valid values can be obtained.
	PostPid []*int64 `json:"PostPid,omitnil,omitempty" name:"PostPid"`

	// Billing mode under this specification. POST: pay-as-you-go
	PayModeStatus *string `json:"PayModeStatus,omitnil,omitempty" name:"PayModeStatus"`

	// Instance type. Valid values: HA (High-Availability Edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (Basic Edition)
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Whether multi-AZ deployment is supported. Valid values: MultiZones (only multi-AZ deployment is supported), SameZones (only single-AZ deployment is supported), ALL (both deployments are supported)
	MultiZonesStatus *string `json:"MultiZonesStatus,omitnil,omitempty" name:"MultiZonesStatus"`
}

type SpecSellStatus

type SpecSellStatus struct {
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	SpecId *uint64 `json:"SpecId,omitnil,omitempty" name:"SpecId"`

	PayModeStatus *string `json:"PayModeStatus,omitnil,omitempty" name:"PayModeStatus"`

	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	MultiZonesStatus *string `json:"MultiZonesStatus,omitnil,omitempty" name:"MultiZonesStatus"`

	Architecture *string `json:"Architecture,omitnil,omitempty" name:"Architecture"`

	Style *string `json:"Style,omitnil,omitempty" name:"Style"`

	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	ZoneStatusSet []*ZoneStatus `json:"ZoneStatusSet,omitnil,omitempty" name:"ZoneStatusSet"`

	Price *Price `json:"Price,omitnil,omitempty" name:"Price"`

	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type StartBackupMigrationRequest

type StartBackupMigrationRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`
}

func NewStartBackupMigrationRequest

func NewStartBackupMigrationRequest() (request *StartBackupMigrationRequest)

func (*StartBackupMigrationRequest) FromJsonString

func (r *StartBackupMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartBackupMigrationRequest) ToJsonString

func (r *StartBackupMigrationRequest) ToJsonString() string

type StartBackupMigrationRequestParams

type StartBackupMigrationRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`
}

Predefined struct for user

type StartBackupMigrationResponse

type StartBackupMigrationResponse struct {
	*tchttp.BaseResponse
	Response *StartBackupMigrationResponseParams `json:"Response"`
}

func NewStartBackupMigrationResponse

func NewStartBackupMigrationResponse() (response *StartBackupMigrationResponse)

func (*StartBackupMigrationResponse) FromJsonString

func (r *StartBackupMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartBackupMigrationResponse) ToJsonString

func (r *StartBackupMigrationResponse) ToJsonString() string

type StartBackupMigrationResponseParams

type StartBackupMigrationResponseParams struct {
	// Task ID
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StartIncrementalMigrationRequest

type StartIncrementalMigrationRequest struct {
	*tchttp.BaseRequest

	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// ID of an incremental backup import task
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

func NewStartIncrementalMigrationRequest

func NewStartIncrementalMigrationRequest() (request *StartIncrementalMigrationRequest)

func (*StartIncrementalMigrationRequest) FromJsonString

func (r *StartIncrementalMigrationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartIncrementalMigrationRequest) ToJsonString

func (r *StartIncrementalMigrationRequest) ToJsonString() string

type StartIncrementalMigrationRequestParams

type StartIncrementalMigrationRequestParams struct {
	// ID of imported target instance
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Backup import task ID, which is returned through the API CreateBackupMigration
	BackupMigrationId *string `json:"BackupMigrationId,omitnil,omitempty" name:"BackupMigrationId"`

	// ID of an incremental backup import task
	IncrementalMigrationId *string `json:"IncrementalMigrationId,omitnil,omitempty" name:"IncrementalMigrationId"`
}

Predefined struct for user

type StartIncrementalMigrationResponse

type StartIncrementalMigrationResponse struct {
	*tchttp.BaseResponse
	Response *StartIncrementalMigrationResponseParams `json:"Response"`
}

func NewStartIncrementalMigrationResponse

func NewStartIncrementalMigrationResponse() (response *StartIncrementalMigrationResponse)

func (*StartIncrementalMigrationResponse) FromJsonString

func (r *StartIncrementalMigrationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartIncrementalMigrationResponse) ToJsonString

func (r *StartIncrementalMigrationResponse) ToJsonString() string

type StartIncrementalMigrationResponseParams

type StartIncrementalMigrationResponseParams struct {
	// Task ID
	FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StartInstanceXEventRequest

type StartInstanceXEventRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Whether to start or stop an extended event
	EventConfig []*EventConfig `json:"EventConfig,omitnil,omitempty" name:"EventConfig"`
}

func NewStartInstanceXEventRequest

func NewStartInstanceXEventRequest() (request *StartInstanceXEventRequest)

func (*StartInstanceXEventRequest) FromJsonString

func (r *StartInstanceXEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartInstanceXEventRequest) ToJsonString

func (r *StartInstanceXEventRequest) ToJsonString() string

type StartInstanceXEventRequestParams

type StartInstanceXEventRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Whether to start or stop an extended event
	EventConfig []*EventConfig `json:"EventConfig,omitnil,omitempty" name:"EventConfig"`
}

Predefined struct for user

type StartInstanceXEventResponse

type StartInstanceXEventResponse struct {
	*tchttp.BaseResponse
	Response *StartInstanceXEventResponseParams `json:"Response"`
}

func NewStartInstanceXEventResponse

func NewStartInstanceXEventResponse() (response *StartInstanceXEventResponse)

func (*StartInstanceXEventResponse) FromJsonString

func (r *StartInstanceXEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartInstanceXEventResponse) ToJsonString

func (r *StartInstanceXEventResponse) ToJsonString() string

type StartInstanceXEventResponseParams

type StartInstanceXEventResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StepDetail

type StepDetail struct {
	Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type SummaryDetailRes

type SummaryDetailRes struct {
	RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	ActualUsedSpace *uint64 `json:"ActualUsedSpace,omitnil,omitempty" name:"ActualUsedSpace"`

	DataBackupSpace *uint64 `json:"DataBackupSpace,omitnil,omitempty" name:"DataBackupSpace"`

	DataBackupCount *uint64 `json:"DataBackupCount,omitnil,omitempty" name:"DataBackupCount"`

	LogBackupSpace *uint64 `json:"LogBackupSpace,omitnil,omitempty" name:"LogBackupSpace"`

	LogBackupCount *uint64 `json:"LogBackupCount,omitnil,omitempty" name:"LogBackupCount"`

	AutoBackupSpace *uint64 `json:"AutoBackupSpace,omitnil,omitempty" name:"AutoBackupSpace"`

	AutoBackupCount *uint64 `json:"AutoBackupCount,omitnil,omitempty" name:"AutoBackupCount"`

	ManualBackupSpace *uint64 `json:"ManualBackupSpace,omitnil,omitempty" name:"ManualBackupSpace"`

	ManualBackupCount *uint64 `json:"ManualBackupCount,omitnil,omitempty" name:"ManualBackupCount"`

	Region *string `json:"Region,omitnil,omitempty" name:"Region"`
}

type SwitchCloudInstanceHARequest

type SwitchCloudInstanceHARequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Switch execution method. 0 - execute immediately; 1 - execute within the time window. The default value is 0.
	WaitSwitch *uint64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`
}

func NewSwitchCloudInstanceHARequest

func NewSwitchCloudInstanceHARequest() (request *SwitchCloudInstanceHARequest)

func (*SwitchCloudInstanceHARequest) FromJsonString

func (r *SwitchCloudInstanceHARequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchCloudInstanceHARequest) ToJsonString

func (r *SwitchCloudInstanceHARequest) ToJsonString() string

type SwitchCloudInstanceHARequestParams

type SwitchCloudInstanceHARequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Switch execution method. 0 - execute immediately; 1 - execute within the time window. The default value is 0.
	WaitSwitch *uint64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`
}

Predefined struct for user

type SwitchCloudInstanceHAResponse

type SwitchCloudInstanceHAResponse struct {
	*tchttp.BaseResponse
	Response *SwitchCloudInstanceHAResponseParams `json:"Response"`
}

func NewSwitchCloudInstanceHAResponse

func NewSwitchCloudInstanceHAResponse() (response *SwitchCloudInstanceHAResponse)

func (*SwitchCloudInstanceHAResponse) FromJsonString

func (r *SwitchCloudInstanceHAResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchCloudInstanceHAResponse) ToJsonString

func (r *SwitchCloudInstanceHAResponse) ToJsonString() string

type SwitchCloudInstanceHAResponseParams

type SwitchCloudInstanceHAResponseParams struct {
	// Asynchronous task flow ID.
	FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SwitchLog

type SwitchLog struct {
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`

	SwitchType *uint64 `json:"SwitchType,omitnil,omitempty" name:"SwitchType"`

	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`
}

type TDEConfigAttribute

type TDEConfigAttribute struct {
	// TDE status. Valid values: `enable` (enabled), `disable` (disabled).
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`

	// Certificate ownership. Valid values: `self` (certificate of the this account), `others` (certificate of the other account), `none` (no certificate).
	CertificateAttribution *string `json:"CertificateAttribution,omitnil,omitempty" name:"CertificateAttribution"`

	// Note: This field may return null, indicating that no valid values can be obtained.
	QuoteUin *string `json:"QuoteUin,omitnil,omitempty" name:"QuoteUin"`
}

type TerminateDBInstanceRequest

type TerminateDBInstanceRequest struct {
	*tchttp.BaseRequest

	// List of instance IDs manually terminated in the format of [mssql-3l3fgqn7], which are the same as the instance IDs displayed on the TencentDB Console page
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

func NewTerminateDBInstanceRequest

func NewTerminateDBInstanceRequest() (request *TerminateDBInstanceRequest)

func (*TerminateDBInstanceRequest) FromJsonString

func (r *TerminateDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TerminateDBInstanceRequest) ToJsonString

func (r *TerminateDBInstanceRequest) ToJsonString() string

type TerminateDBInstanceRequestParams

type TerminateDBInstanceRequestParams struct {
	// List of instance IDs manually terminated in the format of [mssql-3l3fgqn7], which are the same as the instance IDs displayed on the TencentDB Console page
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`
}

Predefined struct for user

type TerminateDBInstanceResponse

type TerminateDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *TerminateDBInstanceResponseParams `json:"Response"`
}

func NewTerminateDBInstanceResponse

func NewTerminateDBInstanceResponse() (response *TerminateDBInstanceResponse)

func (*TerminateDBInstanceResponse) FromJsonString

func (r *TerminateDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TerminateDBInstanceResponse) ToJsonString

func (r *TerminateDBInstanceResponse) ToJsonString() string

type TerminateDBInstanceResponseParams

type TerminateDBInstanceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeDBInstanceRequest

type UpgradeDBInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Whether to automatically use vouchers. 0: no, 1: yes. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Voucher ID (currently, only one voucher can be used per order)
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// The number of CUP cores after the instance is upgraded.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Upgrade the SQL Server version. Supported versions include SQL Server 2008 Enterprise (`2008R2`), SQL Server 2012 Enterprise (`2012SP3`), etc. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region. Downgrading is unsupported. If this parameter is left empty, the SQL Server version will not be changed.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Upgrade the high availability architecture from image-based disaster recovery to Always On cluster disaster recovery. This parameter is valid only for instances which support Always On high availability and run SQL Server 2017 or later. Neither downgrading to image-based disaster recovery nor upgrading from cluster disaster recovery to Always On disaster recovery is supported. If this parameter is left empty, the high availability architecture will not be changed.
	HAType *string `json:"HAType,omitnil,omitempty" name:"HAType"`

	// Change the instance deployment scheme. Valid values: `SameZones` (change to single-AZ deployment, which does not support cross-AZ disaster recovery), `MultiZones` (change to multi-AZ deployment, which supports cross-AZ disaster recovery).
	MultiZones *string `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// The time when configuration adjustment task is performed. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `1`.
	WaitSwitch *int64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`

	// Secondary node AZ of the multi-node architecture instance. The default value is null. It should be specified when modifying the AZ of the specified secondary node needs to be performed during configuration adjustment. When MultiZones = MultiZones, the AZs of the primary nodes and secondary nodes cannot all be the same. The collection of AZs of the secondary node can include 2-5 AZs.
	DrZones []*DrZoneInfo `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

func NewUpgradeDBInstanceRequest

func NewUpgradeDBInstanceRequest() (request *UpgradeDBInstanceRequest)

func (*UpgradeDBInstanceRequest) FromJsonString

func (r *UpgradeDBInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDBInstanceRequest) ToJsonString

func (r *UpgradeDBInstanceRequest) ToJsonString() string

type UpgradeDBInstanceRequestParams

type UpgradeDBInstanceRequestParams struct {
	// Instance ID in the format of mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Memory size after instance upgrade in GB, which cannot be smaller than the current instance memory size
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Storage capacity after instance upgrade in GB, which cannot be smaller than the current instance storage capacity
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Whether to automatically use vouchers. 0: no, 1: yes. Default value: 0
	AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Voucher ID (currently, only one voucher can be used per order)
	VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`

	// The number of CUP cores after the instance is upgraded.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Upgrade the SQL Server version. Supported versions include SQL Server 2008 Enterprise (`2008R2`), SQL Server 2012 Enterprise (`2012SP3`), etc. As the purchasable versions are region-specific, you can use the `DescribeProductConfig` API to query the information of purchasable versions in each region. Downgrading is unsupported. If this parameter is left empty, the SQL Server version will not be changed.
	DBVersion *string `json:"DBVersion,omitnil,omitempty" name:"DBVersion"`

	// Upgrade the high availability architecture from image-based disaster recovery to Always On cluster disaster recovery. This parameter is valid only for instances which support Always On high availability and run SQL Server 2017 or later. Neither downgrading to image-based disaster recovery nor upgrading from cluster disaster recovery to Always On disaster recovery is supported. If this parameter is left empty, the high availability architecture will not be changed.
	HAType *string `json:"HAType,omitnil,omitempty" name:"HAType"`

	// Change the instance deployment scheme. Valid values: `SameZones` (change to single-AZ deployment, which does not support cross-AZ disaster recovery), `MultiZones` (change to multi-AZ deployment, which supports cross-AZ disaster recovery).
	MultiZones *string `json:"MultiZones,omitnil,omitempty" name:"MultiZones"`

	// The time when configuration adjustment task is performed. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `1`.
	WaitSwitch *int64 `json:"WaitSwitch,omitnil,omitempty" name:"WaitSwitch"`

	// Secondary node AZ of the multi-node architecture instance. The default value is null. It should be specified when modifying the AZ of the specified secondary node needs to be performed during configuration adjustment. When MultiZones = MultiZones, the AZs of the primary nodes and secondary nodes cannot all be the same. The collection of AZs of the secondary node can include 2-5 AZs.
	DrZones []*DrZoneInfo `json:"DrZones,omitnil,omitempty" name:"DrZones"`
}

Predefined struct for user

type UpgradeDBInstanceResponse

type UpgradeDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeDBInstanceResponseParams `json:"Response"`
}

func NewUpgradeDBInstanceResponse

func NewUpgradeDBInstanceResponse() (response *UpgradeDBInstanceResponse)

func (*UpgradeDBInstanceResponse) FromJsonString

func (r *UpgradeDBInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeDBInstanceResponse) ToJsonString

func (r *UpgradeDBInstanceResponse) ToJsonString() string

type UpgradeDBInstanceResponseParams

type UpgradeDBInstanceResponseParams struct {
	// Order name.
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ZoneInfo

type ZoneInfo struct {
	// AZ ID in the format of ap-guangzhou-1 (i.e., Guangzhou Zone 1)
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// AZ name
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`

	// Numeric ID of AZ
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// ID of specification purchasable in this AZ, which, together with the returned value of the `DescribeProductConfig` API, can be used to find out the specifications currently purchasable in the AZ
	SpecId *int64 `json:"SpecId,omitnil,omitempty" name:"SpecId"`

	// Information of database versions purchasable under the current AZ and specification. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise)
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`
}

type ZoneStatus

type ZoneStatus struct {
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

Jump to

Keyboard shortcuts

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