v20180328

package
v3.0.77+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-03-28"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCreateInfo

type AccountCreateInfo struct {

	// 实例用户名
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// 实例密码
	Password *string `json:"Password,omitempty" name:"Password"`

	// DB权限列表
	DBPrivileges []*DBPrivilege `json:"DBPrivileges,omitempty" name:"DBPrivileges" list`

	// 账号备注信息
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

type AccountDetail

type AccountDetail struct {

	// 账户名
	Name *string `json:"Name,omitempty" name:"Name"`

	// 账户备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// 账户创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 账户状态,1-创建中,2-正常,3-修改中,4-密码重置中,-1-删除中
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 账户更新时间
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 密码更新时间
	PassTime *string `json:"PassTime,omitempty" name:"PassTime"`

	// 账户内部状态,正常为enable
	InternalStatus *string `json:"InternalStatus,omitempty" name:"InternalStatus"`

	// 该账户对相关db的读写权限信息
	Dbs []*DBPrivilege `json:"Dbs,omitempty" name:"Dbs" list`
}

type AccountPassword

type AccountPassword struct {

	// 用户名
	UserName *string `json:"UserName,omitempty" name:"UserName"`

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

type AccountPrivilege

type AccountPrivilege struct {

	// 数据库用户名
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// 数据库权限。ReadWrite表示可读写,ReadOnly表示只读
	Privilege *string `json:"Privilege,omitempty" name:"Privilege"`
}

type AccountPrivilegeModifyInfo

type AccountPrivilegeModifyInfo struct {

	// 数据库用户名
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// 账号权限变更信息
	DBPrivileges []*DBPrivilegeModifyInfo `json:"DBPrivileges,omitempty" name:"DBPrivileges" list`
}

type AccountRemark

type AccountRemark struct {

	// 账户名
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// 对应账户新的备注信息
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

type Backup

type Backup struct {

	// 文件名
	FileName *string `json:"FileName,omitempty" name:"FileName"`

	// 文件大小,单位 KB
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// 备份开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 备份结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 内网下载地址
	InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"`

	// 外网下载地址
	ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"`

	// 备份文件唯一标识,RestoreInstance接口会用到该字段
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// 备份文件状态(0-创建中;1-成功;2-失败)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// 多库备份时的DB列表
	DBs []*string `json:"DBs,omitempty" name:"DBs" list`

	// 备份策略(0-实例备份;1-多库备份)
	Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"`

	// 备份方式,0-定时备份;1-手动临时备份
	BackupWay *int64 `json:"BackupWay,omitempty" name:"BackupWay"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) CreateAccount

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

本接口(CreateAccount)用于创建实例账号

func (*Client) CreateBackup

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

本接口(CreateBackup)用于创建备份。

func (*Client) CreateDB

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

本接口(CreateDB)用于创建数据库。

func (*Client) CreateDBInstances

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

本接口(CreateDBInstances)用于创建实例。

func (*Client) CreateMigration

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

本接口(CreateMigration)作用是创建一个迁移任务

func (*Client) DeleteAccount

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

本接口(DeleteAccount)用于删除实例账号。

func (*Client) DeleteDB

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

本接口(DeleteDB)用于删除数据库。

func (*Client) DeleteMigration

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

本接口(DeleteMigration)用于删除迁移任务

func (*Client) DescribeAccounts

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

本接口(DescribeAccounts)用于拉取实例账户列表。

func (*Client) DescribeBackups

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

本接口(DescribeBackups)用于查询备份列表。

func (*Client) DescribeDBInstances

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

本接口(DescribeDBInstances)用于查询实例列表。

func (*Client) DescribeDBs

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

本接口(DescribeDBs)用于查询数据库列表。

func (*Client) DescribeFlowStatus

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

本接口(DescribeFlowStatus)用于查询流程状态。

func (*Client) DescribeMigrationDetail

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

本接口(DescribeMigrationDetail)用于查询迁移任务的详细情况

func (*Client) DescribeMigrations

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

本接口(DescribeMigrations)根据输入的限定条件,查询符合条件的迁移任务列表

func (*Client) DescribeOrders

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

本接口(DescribeOrders)用于查询订单信息

func (*Client) DescribeProductConfig

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

本接口 (DescribeProductConfig) 用于查询售卖规格配置。

func (*Client) DescribeRegions

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

本接口 (DescribeRegions) 用于查询售卖地域信息。

func (*Client) DescribeRollbackTime

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

本接口(DescribeRollbackTime)用于查询实例可回档时间范围

func (*Client) DescribeSlowlogs

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

本接口(DescribeSlowlogs)用于获取慢查询日志文件信息

func (*Client) DescribeZones

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

本接口 (DescribeZones) 用于查询当前可售卖的可用区信息。

func (*Client) InquiryPriceCreateDBInstances

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

本接口(InquiryPriceCreateDBInstances)用于查询申请实例价格。

func (*Client) InquiryPriceRenewDBInstance

func (c *Client) InquiryPriceRenewDBInstance(request *InquiryPriceRenewDBInstanceRequest) (response *InquiryPriceRenewDBInstanceResponse, err error)

本接口(InquiryPriceRenewDBInstance)用于查询续费实例的价格。

func (*Client) InquiryPriceUpgradeDBInstance

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

本接口(InquiryPriceUpgradeDBInstance)用于查询升级实例的价格。

func (*Client) ModifyAccountPrivilege

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

本接口(ModifyAccountPrivilege)用于修改实例账户权限。

func (*Client) ModifyAccountRemark

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

本接口(ModifyAccountRemark)用于修改账户备注。

func (*Client) ModifyDBInstanceName

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

本接口(ModifyDBInstanceName)用于修改实例名字。

func (*Client) ModifyDBInstanceProject

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

本接口(ModifyDBInstanceProject)用于修改数据库实例所属项目。

func (*Client) ModifyDBInstanceRenewFlag

func (c *Client) ModifyDBInstanceRenewFlag(request *ModifyDBInstanceRenewFlagRequest) (response *ModifyDBInstanceRenewFlagResponse, err error)

本接口(ModifyDBInstanceRenewFlag)用于修改实例续费标记

func (*Client) ModifyDBName

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

本接口(ModifyDBName)用于更新数据库名。

func (*Client) ModifyDBRemark

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

本接口(ModifyDBRemark)用于修改数据库备注。

func (*Client) ModifyMigration

func (c *Client) ModifyMigration(request *ModifyMigrationRequest) (response *ModifyMigrationResponse, err error)

本接口(ModifyMigration)可以修改已有的迁移任务信息

func (*Client) RenewDBInstance

func (c *Client) RenewDBInstance(request *RenewDBInstanceRequest) (response *RenewDBInstanceResponse, err error)

本接口(RenewDBInstance)用于续费实例。

func (*Client) ResetAccountPassword

func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)

本接口(ResetAccountPassword)用于重置实例的账户密码。

func (*Client) RestartDBInstance

func (c *Client) RestartDBInstance(request *RestartDBInstanceRequest) (response *RestartDBInstanceResponse, err error)

本接口(RestartDBInstance)用于重启数据库实例。

func (*Client) RestoreInstance

func (c *Client) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)

本接口(RestoreInstance)用于根据备份文件恢复实例。

func (*Client) RollbackInstance

func (c *Client) RollbackInstance(request *RollbackInstanceRequest) (response *RollbackInstanceResponse, err error)

本接口(RollbackInstance)用于回档实例

func (*Client) RunMigration

func (c *Client) RunMigration(request *RunMigrationRequest) (response *RunMigrationResponse, err error)

本接口(RunMigration)用于启动迁移任务,开始迁移

func (*Client) UpgradeDBInstance

func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)

本接口(UpgradeDBInstance)用于升级实例

type CreateAccountRequest

type CreateAccountRequest struct {
	*tchttp.BaseRequest

	// 数据库实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 数据库实例账户信息
	Accounts []*AccountCreateInfo `json:"Accounts,omitempty" name:"Accounts" list`
}

func NewCreateAccountRequest

func NewCreateAccountRequest() (request *CreateAccountRequest)

func (*CreateAccountRequest) FromJsonString

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

func (*CreateAccountRequest) ToJsonString

func (r *CreateAccountRequest) ToJsonString() string

type CreateAccountResponse

type CreateAccountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务流id
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAccountResponse

func NewCreateAccountResponse() (response *CreateAccountResponse)

func (*CreateAccountResponse) FromJsonString

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

func (*CreateAccountResponse) ToJsonString

func (r *CreateAccountResponse) ToJsonString() string

type CreateBackupRequest

type CreateBackupRequest struct {
	*tchttp.BaseRequest

	// 备份策略(0-实例备份 1-多库备份)
	Strategy *int64 `json:"Strategy,omitempty" name:"Strategy"`

	// 需要备份库名的列表(多库备份才填写)
	DBNames []*string `json:"DBNames,omitempty" name:"DBNames" list`

	// 实例ID,形如mssql-i1z41iwd
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewCreateBackupRequest

func NewCreateBackupRequest() (request *CreateBackupRequest)

func (*CreateBackupRequest) FromJsonString

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

func (*CreateBackupRequest) ToJsonString

func (r *CreateBackupRequest) ToJsonString() string

type CreateBackupResponse

type CreateBackupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 异步任务ID
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateBackupResponse

func NewCreateBackupResponse() (response *CreateBackupResponse)

func (*CreateBackupResponse) FromJsonString

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

func (*CreateBackupResponse) ToJsonString

func (r *CreateBackupResponse) ToJsonString() string

type CreateDBInstancesRequest

type CreateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// 实例可用区,类似ap-guangzhou-1(广州一区);实例可售卖区域可以通过接口DescribeZones获取
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 实例内存大小,单位GB
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// 实例磁盘大小,单位GB
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// 付费模式,目前只支持预付费,其值为PREPAID。可不填,默认值为PREPAID
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// 项目ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 本次购买几个实例,默认值为1。取值不超过10
	GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"`

	// VPC子网ID,形如subnet-bdoe83fa;SubnetId和VpcId需同时设置或者同时不设置
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// VPC网络ID,形如vpc-dsp338hz;SubnetId和VpcId需同时设置或者同时不设置
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 购买实例周期,默认取值为1,表示一个月。取值不超过48
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// 是否自动使用代金券;1 - 是,0 - 否,默认不使用
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// 代金券ID数组,目前单个订单只能使用一张
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds" list`

	// 数据库版本号,目前取值有2012SP3,表示SQL Server 2012;2008R2,表示SQL Server 2008 R2;2016SP1,表示SQL Server 2016 SP1。每个地域支持售卖的版本可能不一样,可以通过DescribeZones接口来拉取每个地域可售卖的版本信息。不填的话,默认为版本2008R2
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`
}

func NewCreateDBInstancesRequest

func NewCreateDBInstancesRequest() (request *CreateDBInstancesRequest)

func (*CreateDBInstancesRequest) FromJsonString

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

func (*CreateDBInstancesRequest) ToJsonString

func (r *CreateDBInstancesRequest) ToJsonString() string

type CreateDBInstancesResponse

type CreateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单名称
		DealName *string `json:"DealName,omitempty" name:"DealName"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateDBInstancesResponse

func NewCreateDBInstancesResponse() (response *CreateDBInstancesResponse)

func (*CreateDBInstancesResponse) FromJsonString

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

func (*CreateDBInstancesResponse) ToJsonString

func (r *CreateDBInstancesResponse) ToJsonString() string

type CreateDBRequest

type CreateDBRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 数据库创建信息
	DBs []*DBCreateInfo `json:"DBs,omitempty" name:"DBs" list`
}

func NewCreateDBRequest

func NewCreateDBRequest() (request *CreateDBRequest)

func (*CreateDBRequest) FromJsonString

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

func (*CreateDBRequest) ToJsonString

func (r *CreateDBRequest) ToJsonString() string

type CreateDBResponse

type CreateDBResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务流id
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateDBResponse

func NewCreateDBResponse() (response *CreateDBResponse)

func (*CreateDBResponse) FromJsonString

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

func (*CreateDBResponse) ToJsonString

func (r *CreateDBResponse) ToJsonString() string

type CreateMigrationRequest

type CreateMigrationRequest struct {
	*tchttp.BaseRequest

	// 迁移任务的名称
	MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"`

	// 迁移类型(1:结构迁移 2:数据迁移 3:增量同步)
	MigrateType *uint64 `json:"MigrateType,omitempty" name:"MigrateType"`

	// 迁移源的类型 1:CDB for SQLServer 2:云服务器自建SQLServer数据库 4:SQLServer备份还原 5:SQLServer备份还原(COS方式)
	SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"`

	// 迁移源
	Source *MigrateSource `json:"Source,omitempty" name:"Source"`

	// 迁移目标
	Target *MigrateTarget `json:"Target,omitempty" name:"Target"`

	// 迁移DB对象 ,离线迁移不使用(SourceType=4或SourceType=5)。
	MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet" list`
}

func NewCreateMigrationRequest

func NewCreateMigrationRequest() (request *CreateMigrationRequest)

func (*CreateMigrationRequest) FromJsonString

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

func (*CreateMigrationRequest) ToJsonString

func (r *CreateMigrationRequest) ToJsonString() string

type CreateMigrationResponse

type CreateMigrationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 迁移任务ID
		MigrateId *int64 `json:"MigrateId,omitempty" name:"MigrateId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateMigrationResponse

func NewCreateMigrationResponse() (response *CreateMigrationResponse)

func (*CreateMigrationResponse) FromJsonString

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

func (*CreateMigrationResponse) ToJsonString

func (r *CreateMigrationResponse) ToJsonString() string

type DBCreateInfo

type DBCreateInfo struct {

	// 数据库名
	DBName *string `json:"DBName,omitempty" name:"DBName"`

	// 字符集。可选值包括:Chinese_PRC_CI_AS, Chinese_PRC_CS_AS, Chinese_PRC_BIN, Chinese_Taiwan_Stroke_CI_AS, SQL_Latin1_General_CP1_CI_AS, SQL_Latin1_General_CP1_CS_AS。不填默认为Chinese_PRC_CI_AS
	Charset *string `json:"Charset,omitempty" name:"Charset"`

	// 数据库账号权限信息
	Accounts []*AccountPrivilege `json:"Accounts,omitempty" name:"Accounts" list`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

type DBDetail

type DBDetail struct {

	// 实例id
	Name *string `json:"Name,omitempty" name:"Name"`

	// 字符集
	Charset *string `json:"Charset,omitempty" name:"Charset"`

	// 备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// 数据库创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 数据库状态。1--创建中, 2--运行中, 3--修改中,-1--删除中
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 数据库账号权限信息
	Accounts []*AccountPrivilege `json:"Accounts,omitempty" name:"Accounts" list`

	// 内部状态。ONLINE表示运行中
	InternalStatus *string `json:"InternalStatus,omitempty" name:"InternalStatus"`
}

type DBInstance

type DBInstance struct {

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 实例所在项目ID
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 实例所在地域ID
	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`

	// 实例所在可用区ID
	ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// 实例所在私有网络ID,基础网络时为 0
	VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"`

	// 实例所在私有网络子网ID,基础网络时为 0
	SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"`

	// 实例状态。取值范围: <li>1:申请中</li> <li>2:运行中</li> <li>3:受限运行中 (主备切换中)</li> <li>4:已隔离</li> <li>5:回收中</li> <li>6:已回收</li> <li>7:任务执行中 (实例做备份、回档等操作)</li> <li>8:已下线</li> <li>9:实例扩容中</li> <li>10:实例迁移中</li> <li>11:只读</li> <li>12:重启中</li>
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 实例访问IP
	Vip *string `json:"Vip,omitempty" name:"Vip"`

	// 实例访问端口
	Vport *int64 `json:"Vport,omitempty" name:"Vport"`

	// 实例创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 实例更新时间
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 实例计费开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 实例计费结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 实例隔离时间
	IsolateTime *string `json:"IsolateTime,omitempty" name:"IsolateTime"`

	// 实例内存大小,单位G
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// 实例已经使用存储空间大小,单位G
	UsedStorage *int64 `json:"UsedStorage,omitempty" name:"UsedStorage"`

	// 实例存储空间大小,单位G
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// 实例版本
	VersionName *string `json:"VersionName,omitempty" name:"VersionName"`

	// 实例续费标记,0-正常续费,1-自动续费,2-到期不续费
	RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"`

	// 实例高可用, 1-双机高可用,2-单机
	Model *int64 `json:"Model,omitempty" name:"Model"`

	// 实例所在地域名称,如 ap-guangzhou
	Region *string `json:"Region,omitempty" name:"Region"`

	// 实例所在可用区名称,如 ap-guangzhou-1
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 备份时间点
	BackupTime *string `json:"BackupTime,omitempty" name:"BackupTime"`
}

type DBPrivilege

type DBPrivilege struct {

	// 数据库名
	DBName *string `json:"DBName,omitempty" name:"DBName"`

	// 数据库权限,ReadWrite表示可读写,ReadOnly表示只读
	Privilege *string `json:"Privilege,omitempty" name:"Privilege"`
}

type DBPrivilegeModifyInfo

type DBPrivilegeModifyInfo struct {

	// 数据库名
	DBName *string `json:"DBName,omitempty" name:"DBName"`

	// 权限变更信息。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除账号对该DB的权限
	Privilege *string `json:"Privilege,omitempty" name:"Privilege"`
}

type DBRemark

type DBRemark struct {

	// 据库名
	Name *string `json:"Name,omitempty" name:"Name"`

	// 备注信息
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

type DbRollbackTimeInfo

type DbRollbackTimeInfo struct {

	// 数据库名称
	DBName *string `json:"DBName,omitempty" name:"DBName"`

	// 可回档开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 可回档结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type DealInfo

type DealInfo struct {

	// 订单名
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// 商品数量
	Count *uint64 `json:"Count,omitempty" name:"Count"`

	// 关联的流程 Id,可用于查询流程执行状态
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

	// 只有创建实例的订单会填充该字段,表示该订单创建的实例的 ID。
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet" list`

	// 所属账号
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`
}

type DeleteAccountRequest

type DeleteAccountRequest struct {
	*tchttp.BaseRequest

	// 数据库实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例用户名数组
	UserNames []*string `json:"UserNames,omitempty" name:"UserNames" list`
}

func NewDeleteAccountRequest

func NewDeleteAccountRequest() (request *DeleteAccountRequest)

func (*DeleteAccountRequest) FromJsonString

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

func (*DeleteAccountRequest) ToJsonString

func (r *DeleteAccountRequest) ToJsonString() string

type DeleteAccountResponse

type DeleteAccountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务流id
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAccountResponse

func NewDeleteAccountResponse() (response *DeleteAccountResponse)

func (*DeleteAccountResponse) FromJsonString

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

func (*DeleteAccountResponse) ToJsonString

func (r *DeleteAccountResponse) ToJsonString() string

type DeleteDBRequest

type DeleteDBRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-rljoi3bf
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 数据库名数组
	Names []*string `json:"Names,omitempty" name:"Names" list`
}

func NewDeleteDBRequest

func NewDeleteDBRequest() (request *DeleteDBRequest)

func (*DeleteDBRequest) FromJsonString

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

func (*DeleteDBRequest) ToJsonString

func (r *DeleteDBRequest) ToJsonString() string

type DeleteDBResponse

type DeleteDBResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务流id
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteDBResponse

func NewDeleteDBResponse() (response *DeleteDBResponse)

func (*DeleteDBResponse) FromJsonString

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

func (*DeleteDBResponse) ToJsonString

func (r *DeleteDBResponse) ToJsonString() string

type DeleteMigrationRequest

type DeleteMigrationRequest struct {
	*tchttp.BaseRequest

	// 迁移任务ID
	MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"`
}

func NewDeleteMigrationRequest

func NewDeleteMigrationRequest() (request *DeleteMigrationRequest)

func (*DeleteMigrationRequest) FromJsonString

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

func (*DeleteMigrationRequest) ToJsonString

func (r *DeleteMigrationRequest) ToJsonString() string

type DeleteMigrationResponse

type DeleteMigrationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteMigrationResponse

func NewDeleteMigrationResponse() (response *DeleteMigrationResponse)

func (*DeleteMigrationResponse) FromJsonString

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

func (*DeleteMigrationResponse) ToJsonString

func (r *DeleteMigrationResponse) ToJsonString() string

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 分页返回,每页返回的数目,取值为1-100,默认值为20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 分页返回,从第几页开始返回。从第0页开始,默认第0页
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeAccountsRequest

func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)

func (*DescribeAccountsRequest) FromJsonString

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

func (*DescribeAccountsRequest) ToJsonString

func (r *DescribeAccountsRequest) ToJsonString() string

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 实例ID
		InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

		// 账户信息列表
		Accounts []*AccountDetail `json:"Accounts,omitempty" name:"Accounts" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAccountsResponse

func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)

func (*DescribeAccountsResponse) FromJsonString

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

func (*DescribeAccountsResponse) ToJsonString

func (r *DescribeAccountsResponse) ToJsonString() string

type DescribeBackupsRequest

type DescribeBackupsRequest struct {
	*tchttp.BaseRequest

	// 开始时间(yyyy-MM-dd HH:mm:ss)
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间(yyyy-MM-dd HH:mm:ss)
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 分页返回,每页返回数量,默认为20,最大值为 100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 偏移量,默认为 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeBackupsRequest

func NewDescribeBackupsRequest() (request *DescribeBackupsRequest)

func (*DescribeBackupsRequest) FromJsonString

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

func (*DescribeBackupsRequest) ToJsonString

func (r *DescribeBackupsRequest) ToJsonString() string

type DescribeBackupsResponse

type DescribeBackupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 备份总数量
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 备份列表详情
		Backups []*Backup `json:"Backups,omitempty" name:"Backups" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeBackupsResponse

func NewDescribeBackupsResponse() (response *DescribeBackupsResponse)

func (*DescribeBackupsResponse) FromJsonString

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

func (*DescribeBackupsResponse) ToJsonString

func (r *DescribeBackupsResponse) ToJsonString() string

type DescribeDBInstancesRequest

type DescribeDBInstancesRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 实例状态。取值范围:
	// <li>1:申请中</li>
	// <li>2:运行中</li>
	// <li>3:受限运行中 (主备切换中)</li>
	// <li>4:已隔离</li>
	// <li>5:回收中</li>
	// <li>6:已回收</li>
	// <li>7:任务执行中 (实例做备份、回档等操作)</li>
	// <li>8:已下线</li>
	// <li>9:实例扩容中</li>
	// <li>10:实例迁移中</li>
	// <li>11:只读</li>
	// <li>12:重启中</li>
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 偏移量,默认为 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为50
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 一个或者多个实例ID。实例ID,格式如:mssql-si2823jyl
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet" list`
}

func NewDescribeDBInstancesRequest

func NewDescribeDBInstancesRequest() (request *DescribeDBInstancesRequest)

func (*DescribeDBInstancesRequest) FromJsonString

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

func (*DescribeDBInstancesRequest) ToJsonString

func (r *DescribeDBInstancesRequest) ToJsonString() string

type DescribeDBInstancesResponse

type DescribeDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合条件的实例总数。分页返回的话,这个值指的是所有符合条件的实例的个数,而非当前根据Limit和Offset值返回的实例个数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 实例列表
		DBInstances []*DBInstance `json:"DBInstances,omitempty" name:"DBInstances" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDBInstancesResponse

func NewDescribeDBInstancesResponse() (response *DescribeDBInstancesResponse)

func (*DescribeDBInstancesResponse) FromJsonString

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

func (*DescribeDBInstancesResponse) ToJsonString

func (r *DescribeDBInstancesResponse) ToJsonString() string

type DescribeDBsRequest

type DescribeDBsRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet" list`

	// 每页记录数,最大为100,默认20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 页编号,从第0页开始
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeDBsRequest

func NewDescribeDBsRequest() (request *DescribeDBsRequest)

func (*DescribeDBsRequest) FromJsonString

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

func (*DescribeDBsRequest) ToJsonString

func (r *DescribeDBsRequest) ToJsonString() string

type DescribeDBsResponse

type DescribeDBsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 数据库数量
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 实例数据库列表
		DBInstances []*InstanceDBDetail `json:"DBInstances,omitempty" name:"DBInstances" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDBsResponse

func NewDescribeDBsResponse() (response *DescribeDBsResponse)

func (*DescribeDBsResponse) FromJsonString

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

func (*DescribeDBsResponse) ToJsonString

func (r *DescribeDBsResponse) ToJsonString() string

type DescribeFlowStatusRequest

type DescribeFlowStatusRequest struct {
	*tchttp.BaseRequest

	// 流程ID
	FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`
}

func NewDescribeFlowStatusRequest

func NewDescribeFlowStatusRequest() (request *DescribeFlowStatusRequest)

func (*DescribeFlowStatusRequest) FromJsonString

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

func (*DescribeFlowStatusRequest) ToJsonString

func (r *DescribeFlowStatusRequest) ToJsonString() string

type DescribeFlowStatusResponse

type DescribeFlowStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 流程状态,0:成功,1:失败,2:运行中
		Status *int64 `json:"Status,omitempty" name:"Status"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeFlowStatusResponse

func NewDescribeFlowStatusResponse() (response *DescribeFlowStatusResponse)

func (*DescribeFlowStatusResponse) FromJsonString

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

func (*DescribeFlowStatusResponse) ToJsonString

func (r *DescribeFlowStatusResponse) ToJsonString() string

type DescribeMigrationDetailRequest

type DescribeMigrationDetailRequest struct {
	*tchttp.BaseRequest

	// 迁移任务ID
	MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"`
}

func NewDescribeMigrationDetailRequest

func NewDescribeMigrationDetailRequest() (request *DescribeMigrationDetailRequest)

func (*DescribeMigrationDetailRequest) FromJsonString

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

func (*DescribeMigrationDetailRequest) ToJsonString

func (r *DescribeMigrationDetailRequest) ToJsonString() string

type DescribeMigrationDetailResponse

type DescribeMigrationDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 迁移任务ID
		MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"`

		// 迁移任务名称
		MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"`

		// 迁移任务所属的用户ID
		AppId *uint64 `json:"AppId,omitempty" name:"AppId"`

		// 迁移任务所属的地域
		Region *string `json:"Region,omitempty" name:"Region"`

		// 迁移源的类型 1:CDB for SQLServer 2:云服务器自建SQLServer数据库 4:SQLServer备份还原 5:SQLServer备份还原(COS方式)
		SourceType *int64 `json:"SourceType,omitempty" name:"SourceType"`

		// 迁移任务的创建时间
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

		// 迁移任务的开始时间
		StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

		// 迁移任务的结束时间
		EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

		// 迁移任务的状态(1:初始化,4:迁移中,5.迁移失败,6.迁移成功)
		Status *uint64 `json:"Status,omitempty" name:"Status"`

		// 迁移任务当前进度
		Progress *int64 `json:"Progress,omitempty" name:"Progress"`

		// 迁移类型(1:结构迁移 2:数据迁移 3:增量同步)
		MigrateType *int64 `json:"MigrateType,omitempty" name:"MigrateType"`

		// 迁移源
		Source *MigrateSource `json:"Source,omitempty" name:"Source"`

		// 迁移目标
		Target *MigrateTarget `json:"Target,omitempty" name:"Target"`

		// 迁移DB对象 ,离线迁移(SourceType=4或SourceType=5)不使用。
		MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMigrationDetailResponse

func NewDescribeMigrationDetailResponse() (response *DescribeMigrationDetailResponse)

func (*DescribeMigrationDetailResponse) FromJsonString

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

func (*DescribeMigrationDetailResponse) ToJsonString

func (r *DescribeMigrationDetailResponse) ToJsonString() string

type DescribeMigrationsRequest

type DescribeMigrationsRequest struct {
	*tchttp.BaseRequest

	// 状态集合。只要符合集合中某一状态的迁移任务,就会查出来
	StatusSet []*int64 `json:"StatusSet,omitempty" name:"StatusSet" list`

	// 迁移任务的名称,模糊匹配
	MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"`

	// 每页的记录数
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 查询第几页的记录
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 查询结果按照关键字排序,可选值为name、createTime、startTime,endTime,status
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// 排序方式,可选值为desc、asc
	OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"`
}

func NewDescribeMigrationsRequest

func NewDescribeMigrationsRequest() (request *DescribeMigrationsRequest)

func (*DescribeMigrationsRequest) FromJsonString

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

func (*DescribeMigrationsRequest) ToJsonString

func (r *DescribeMigrationsRequest) ToJsonString() string

type DescribeMigrationsResponse

type DescribeMigrationsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 查询结果的总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 查询结果的列表
		MigrateTaskSet []*MigrateTask `json:"MigrateTaskSet,omitempty" name:"MigrateTaskSet" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMigrationsResponse

func NewDescribeMigrationsResponse() (response *DescribeMigrationsResponse)

func (*DescribeMigrationsResponse) FromJsonString

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

func (*DescribeMigrationsResponse) ToJsonString

func (r *DescribeMigrationsResponse) ToJsonString() string

type DescribeOrdersRequest

type DescribeOrdersRequest struct {
	*tchttp.BaseRequest

	// 订单数组。发货时会返回订单名字,利用该订单名字调用DescribeOrders接口查询发货情况
	DealNames []*string `json:"DealNames,omitempty" name:"DealNames" list`
}

func NewDescribeOrdersRequest

func NewDescribeOrdersRequest() (request *DescribeOrdersRequest)

func (*DescribeOrdersRequest) FromJsonString

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

func (*DescribeOrdersRequest) ToJsonString

func (r *DescribeOrdersRequest) ToJsonString() string

type DescribeOrdersResponse

type DescribeOrdersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单信息数组
		Deals []*DealInfo `json:"Deals,omitempty" name:"Deals" list`

		// 返回多少个订单的信息
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeOrdersResponse

func NewDescribeOrdersResponse() (response *DescribeOrdersResponse)

func (*DescribeOrdersResponse) FromJsonString

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

func (*DescribeOrdersResponse) ToJsonString

func (r *DescribeOrdersResponse) ToJsonString() string

type DescribeProductConfigRequest

type DescribeProductConfigRequest struct {
	*tchttp.BaseRequest

	// 可用区英文ID,形如ap-guangzhou-1
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

func NewDescribeProductConfigRequest

func NewDescribeProductConfigRequest() (request *DescribeProductConfigRequest)

func (*DescribeProductConfigRequest) FromJsonString

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

func (*DescribeProductConfigRequest) ToJsonString

func (r *DescribeProductConfigRequest) ToJsonString() string

type DescribeProductConfigResponse

type DescribeProductConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 规格信息数组
		SpecInfoList []*SpecInfo `json:"SpecInfoList,omitempty" name:"SpecInfoList" list`

		// 返回总共多少条数据
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProductConfigResponse

func NewDescribeProductConfigResponse() (response *DescribeProductConfigResponse)

func (*DescribeProductConfigResponse) FromJsonString

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

func (*DescribeProductConfigResponse) ToJsonString

func (r *DescribeProductConfigResponse) ToJsonString() string

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRegionsRequest

func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)

func (*DescribeRegionsRequest) FromJsonString

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

func (*DescribeRegionsRequest) ToJsonString

func (r *DescribeRegionsRequest) ToJsonString() string

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回地域信息总的条目
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 地域信息数组
		RegionSet []*RegionInfo `json:"RegionSet,omitempty" name:"RegionSet" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRegionsResponse

func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)

func (*DescribeRegionsResponse) FromJsonString

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

func (*DescribeRegionsResponse) ToJsonString

func (r *DescribeRegionsResponse) ToJsonString() string

type DescribeRollbackTimeRequest

type DescribeRollbackTimeRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 需要查询的数据库列表
	DBs []*string `json:"DBs,omitempty" name:"DBs" list`
}

func NewDescribeRollbackTimeRequest

func NewDescribeRollbackTimeRequest() (request *DescribeRollbackTimeRequest)

func (*DescribeRollbackTimeRequest) FromJsonString

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

func (*DescribeRollbackTimeRequest) ToJsonString

func (r *DescribeRollbackTimeRequest) ToJsonString() string

type DescribeRollbackTimeResponse

type DescribeRollbackTimeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 数据库可回档实例信息
		Details []*DbRollbackTimeInfo `json:"Details,omitempty" name:"Details" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRollbackTimeResponse

func NewDescribeRollbackTimeResponse() (response *DescribeRollbackTimeResponse)

func (*DescribeRollbackTimeResponse) FromJsonString

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

func (*DescribeRollbackTimeResponse) ToJsonString

func (r *DescribeRollbackTimeResponse) ToJsonString() string

type DescribeSlowlogsRequest

type DescribeSlowlogsRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-k8voqdlz
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 查询开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 查询结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 分页返回结果,分页大小,默认20,不超过100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 从第几页开始返回,起始页,从0开始,默认为0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeSlowlogsRequest

func NewDescribeSlowlogsRequest() (request *DescribeSlowlogsRequest)

func (*DescribeSlowlogsRequest) FromJsonString

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

func (*DescribeSlowlogsRequest) ToJsonString

func (r *DescribeSlowlogsRequest) ToJsonString() string

type DescribeSlowlogsResponse

type DescribeSlowlogsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 查询总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 慢查询日志信息列表
		Slowlogs []*SlowlogInfo `json:"Slowlogs,omitempty" name:"Slowlogs" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSlowlogsResponse

func NewDescribeSlowlogsResponse() (response *DescribeSlowlogsResponse)

func (*DescribeSlowlogsResponse) FromJsonString

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

func (*DescribeSlowlogsResponse) ToJsonString

func (r *DescribeSlowlogsResponse) ToJsonString() string

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeZonesRequest

func NewDescribeZonesRequest() (request *DescribeZonesRequest)

func (*DescribeZonesRequest) FromJsonString

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

func (*DescribeZonesRequest) ToJsonString

func (r *DescribeZonesRequest) ToJsonString() string

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回多少个可用区信息
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 可用区数组
		ZoneSet []*ZoneInfo `json:"ZoneSet,omitempty" name:"ZoneSet" list`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeZonesResponse

func NewDescribeZonesResponse() (response *DescribeZonesResponse)

func (*DescribeZonesResponse) FromJsonString

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

func (*DescribeZonesResponse) ToJsonString

func (r *DescribeZonesResponse) ToJsonString() string

type InquiryPriceCreateDBInstancesRequest

type InquiryPriceCreateDBInstancesRequest struct {
	*tchttp.BaseRequest

	// 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 内存大小,单位:GB
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// 实例容量大小,单位:GB。
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// 计费类型,当前只支持预付费,即包年包月,取值为PREPAID。默认值为PREPAID
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// 购买时长,单位:月。取值为1到48,默认为1
	Period *int64 `json:"Period,omitempty" name:"Period"`

	// 一次性购买的实例数量。取值1-100,默认取值为1
	GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"`

	// sqlserver版本,目前只支持:2008R2(SQL Server 2008 R2),2012SP3(SQL Server 2012),2016SP1(SQL Server 2016 SP1)两种版本。默认为2008R2版本
	DBVersion *string `json:"DBVersion,omitempty" name:"DBVersion"`
}

func NewInquiryPriceCreateDBInstancesRequest

func NewInquiryPriceCreateDBInstancesRequest() (request *InquiryPriceCreateDBInstancesRequest)

func (*InquiryPriceCreateDBInstancesRequest) FromJsonString

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

func (*InquiryPriceCreateDBInstancesRequest) ToJsonString

func (r *InquiryPriceCreateDBInstancesRequest) ToJsonString() string

type InquiryPriceCreateDBInstancesResponse

type InquiryPriceCreateDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 未打折前价格,其值除以100表示多少钱。比如10010表示100.10元
		OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

		// 实际需要支付的价格,其值除以100表示多少钱。比如10010表示100.10元
		Price *int64 `json:"Price,omitempty" name:"Price"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewInquiryPriceCreateDBInstancesResponse

func NewInquiryPriceCreateDBInstancesResponse() (response *InquiryPriceCreateDBInstancesResponse)

func (*InquiryPriceCreateDBInstancesResponse) FromJsonString

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

func (*InquiryPriceCreateDBInstancesResponse) ToJsonString

type InquiryPriceRenewDBInstanceRequest

type InquiryPriceRenewDBInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 续费周期。按月续费最多48个月。默认查询续费一个月的价格
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// 续费周期单位。month表示按月续费,当前只支持按月付费查询价格
	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`
}

func NewInquiryPriceRenewDBInstanceRequest

func NewInquiryPriceRenewDBInstanceRequest() (request *InquiryPriceRenewDBInstanceRequest)

func (*InquiryPriceRenewDBInstanceRequest) FromJsonString

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

func (*InquiryPriceRenewDBInstanceRequest) ToJsonString

func (r *InquiryPriceRenewDBInstanceRequest) ToJsonString() string

type InquiryPriceRenewDBInstanceResponse

type InquiryPriceRenewDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 未打折的原价,其值除以100表示最终的价格。比如10094表示100.94元
		OriginalPrice *uint64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

		// 实际需要支付价格,其值除以100表示最终的价格。比如10094表示100.94元
		Price *uint64 `json:"Price,omitempty" name:"Price"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewInquiryPriceRenewDBInstanceResponse

func NewInquiryPriceRenewDBInstanceResponse() (response *InquiryPriceRenewDBInstanceResponse)

func (*InquiryPriceRenewDBInstanceResponse) FromJsonString

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

func (*InquiryPriceRenewDBInstanceResponse) ToJsonString

func (r *InquiryPriceRenewDBInstanceResponse) ToJsonString() string

type InquiryPriceUpgradeDBInstanceRequest

type InquiryPriceUpgradeDBInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例升级后的内存大小,单位GB,其值不能比当前实例内存小
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// 实例升级后的磁盘大小,单位GB,其值不能比当前实例磁盘小
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`
}

func NewInquiryPriceUpgradeDBInstanceRequest

func NewInquiryPriceUpgradeDBInstanceRequest() (request *InquiryPriceUpgradeDBInstanceRequest)

func (*InquiryPriceUpgradeDBInstanceRequest) FromJsonString

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

func (*InquiryPriceUpgradeDBInstanceRequest) ToJsonString

func (r *InquiryPriceUpgradeDBInstanceRequest) ToJsonString() string

type InquiryPriceUpgradeDBInstanceResponse

type InquiryPriceUpgradeDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 未打折的原价,其值除以100表示最终的价格。比如10094表示100.94元
		OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`

		// 实际需要支付价格,其值除以100表示最终的价格。比如10094表示100.94元
		Price *int64 `json:"Price,omitempty" name:"Price"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewInquiryPriceUpgradeDBInstanceResponse

func NewInquiryPriceUpgradeDBInstanceResponse() (response *InquiryPriceUpgradeDBInstanceResponse)

func (*InquiryPriceUpgradeDBInstanceResponse) FromJsonString

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

func (*InquiryPriceUpgradeDBInstanceResponse) ToJsonString

type InstanceDBDetail

type InstanceDBDetail struct {

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 数据库信息列表
	DBDetails []*DBDetail `json:"DBDetails,omitempty" name:"DBDetails" list`
}

type InstanceRenewInfo

type InstanceRenewInfo struct {

	// 实例ID,形如mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例续费标记。0:正常续费,1:自动续费,2:到期不续
	RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"`
}

type MigrateDB

type MigrateDB struct {

	// 迁移数据库的名称
	DBName *string `json:"DBName,omitempty" name:"DBName"`
}

type MigrateDetail

type MigrateDetail struct {

	// 当前环节的名称
	StepName *string `json:"StepName,omitempty" name:"StepName"`

	// 当前环节的进度(单位是%)
	Progress *int64 `json:"Progress,omitempty" name:"Progress"`
}

type MigrateSource

type MigrateSource struct {

	// 迁移源实例的ID,MigrateType=1(CDB for SQLServers)时使用,格式如:mssql-si2823jyl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 迁移源Cvm的ID,MigrateType=2(云服务器自建SQLServer数据库)时使用
	CvmId *string `json:"CvmId,omitempty" name:"CvmId"`

	// 迁移源Cvm的Vpc网络标识,MigrateType=2(云服务器自建SQLServer数据库)时使用,格式如:vpc-6ys9ont9
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 迁移源Cvm的Vpc下的子网标识,MigrateType=2(云服务器自建SQLServer数据库)时使用,格式如:subnet-h9extioi
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 用户名,MigrateType=1或MigrateType=2使用
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// 密码,MigrateType=1或MigrateType=2使用
	Password *string `json:"Password,omitempty" name:"Password"`

	// 迁移源Cvm自建库的内网IP,MigrateType=2(云服务器自建SQLServer数据库)时使用
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// 迁移源Cvm自建库的端口号,MigrateType=2(云服务器自建SQLServer数据库)时使用
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// 离线迁移的源备份地址,MigrateType=4或MigrateType=5使用
	Url []*string `json:"Url,omitempty" name:"Url" list`

	// 离线迁移的源备份密码,MigrateType=4或MigrateType=5使用
	UrlPassword *string `json:"UrlPassword,omitempty" name:"UrlPassword"`
}

type MigrateTarget

type MigrateTarget struct {

	// 迁移目标实例的ID,格式如:mssql-si2823jyl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 迁移目标实例的用户名
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// 迁移目标实例的密码
	Password *string `json:"Password,omitempty" name:"Password"`
}

type MigrateTask

type MigrateTask struct {

	// 迁移任务ID
	MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"`

	// 迁移任务名称
	MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"`

	// 迁移任务所属的用户ID
	AppId *uint64 `json:"AppId,omitempty" name:"AppId"`

	// 迁移任务所属的地域
	Region *string `json:"Region,omitempty" name:"Region"`

	// 迁移源的类型 1:CDB for SQLServer 2:云服务器自建SQLServer数据库 4:SQLServer备份还原 5:SQLServer备份还原(COS方式)
	SourceType *int64 `json:"SourceType,omitempty" name:"SourceType"`

	// 迁移任务的创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 迁移任务的开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 迁移任务的结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 迁移任务的状态(1:初始化,4:迁移中,5.迁移失败,6.迁移成功)
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// 信息
	Message *string `json:"Message,omitempty" name:"Message"`

	// 是否迁移任务经过检查(0:未校验,1:校验成功,2:校验失败,3:校验中)
	CheckFlag *uint64 `json:"CheckFlag,omitempty" name:"CheckFlag"`

	// 迁移任务当前进度(单位%)
	Progress *int64 `json:"Progress,omitempty" name:"Progress"`

	// 迁移任务进度细节
	MigrateDetail *MigrateDetail `json:"MigrateDetail,omitempty" name:"MigrateDetail"`
}

type ModifyAccountPrivilegeRequest

type ModifyAccountPrivilegeRequest struct {
	*tchttp.BaseRequest

	// 数据库实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 账号权限变更信息
	Accounts []*AccountPrivilegeModifyInfo `json:"Accounts,omitempty" name:"Accounts" list`
}

func NewModifyAccountPrivilegeRequest

func NewModifyAccountPrivilegeRequest() (request *ModifyAccountPrivilegeRequest)

func (*ModifyAccountPrivilegeRequest) FromJsonString

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

func (*ModifyAccountPrivilegeRequest) ToJsonString

func (r *ModifyAccountPrivilegeRequest) ToJsonString() string

type ModifyAccountPrivilegeResponse

type ModifyAccountPrivilegeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 异步任务流程ID
		FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAccountPrivilegeResponse

func NewModifyAccountPrivilegeResponse() (response *ModifyAccountPrivilegeResponse)

func (*ModifyAccountPrivilegeResponse) FromJsonString

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

func (*ModifyAccountPrivilegeResponse) ToJsonString

func (r *ModifyAccountPrivilegeResponse) ToJsonString() string

type ModifyAccountRemarkRequest

type ModifyAccountRemarkRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 修改备注的账户信息
	Accounts []*AccountRemark `json:"Accounts,omitempty" name:"Accounts" list`
}

func NewModifyAccountRemarkRequest

func NewModifyAccountRemarkRequest() (request *ModifyAccountRemarkRequest)

func (*ModifyAccountRemarkRequest) FromJsonString

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

func (*ModifyAccountRemarkRequest) ToJsonString

func (r *ModifyAccountRemarkRequest) ToJsonString() string

type ModifyAccountRemarkResponse

type ModifyAccountRemarkResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAccountRemarkResponse

func NewModifyAccountRemarkResponse() (response *ModifyAccountRemarkResponse)

func (*ModifyAccountRemarkResponse) FromJsonString

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

func (*ModifyAccountRemarkResponse) ToJsonString

func (r *ModifyAccountRemarkResponse) ToJsonString() string

type ModifyDBInstanceNameRequest

type ModifyDBInstanceNameRequest struct {
	*tchttp.BaseRequest

	// 数据库实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 新的数据库实例名字
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`
}

func NewModifyDBInstanceNameRequest

func NewModifyDBInstanceNameRequest() (request *ModifyDBInstanceNameRequest)

func (*ModifyDBInstanceNameRequest) FromJsonString

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

func (*ModifyDBInstanceNameRequest) ToJsonString

func (r *ModifyDBInstanceNameRequest) ToJsonString() string

type ModifyDBInstanceNameResponse

type ModifyDBInstanceNameResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyDBInstanceNameResponse

func NewModifyDBInstanceNameResponse() (response *ModifyDBInstanceNameResponse)

func (*ModifyDBInstanceNameResponse) FromJsonString

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

func (*ModifyDBInstanceNameResponse) ToJsonString

func (r *ModifyDBInstanceNameResponse) ToJsonString() string

type ModifyDBInstanceProjectRequest

type ModifyDBInstanceProjectRequest struct {
	*tchttp.BaseRequest

	// 实例ID数组,形如mssql-j8kv137v
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet" list`

	// 项目ID,为0的话表示默认项目
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

func NewModifyDBInstanceProjectRequest

func NewModifyDBInstanceProjectRequest() (request *ModifyDBInstanceProjectRequest)

func (*ModifyDBInstanceProjectRequest) FromJsonString

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

func (*ModifyDBInstanceProjectRequest) ToJsonString

func (r *ModifyDBInstanceProjectRequest) ToJsonString() string

type ModifyDBInstanceProjectResponse

type ModifyDBInstanceProjectResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 修改成功的实例个数
		Count *int64 `json:"Count,omitempty" name:"Count"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyDBInstanceProjectResponse

func NewModifyDBInstanceProjectResponse() (response *ModifyDBInstanceProjectResponse)

func (*ModifyDBInstanceProjectResponse) FromJsonString

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

func (*ModifyDBInstanceProjectResponse) ToJsonString

func (r *ModifyDBInstanceProjectResponse) ToJsonString() string

type ModifyDBInstanceRenewFlagRequest

type ModifyDBInstanceRenewFlagRequest struct {
	*tchttp.BaseRequest

	// 实例续费状态标记信息
	RenewFlags []*InstanceRenewInfo `json:"RenewFlags,omitempty" name:"RenewFlags" list`
}

func NewModifyDBInstanceRenewFlagRequest

func NewModifyDBInstanceRenewFlagRequest() (request *ModifyDBInstanceRenewFlagRequest)

func (*ModifyDBInstanceRenewFlagRequest) FromJsonString

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

func (*ModifyDBInstanceRenewFlagRequest) ToJsonString

func (r *ModifyDBInstanceRenewFlagRequest) ToJsonString() string

type ModifyDBInstanceRenewFlagResponse

type ModifyDBInstanceRenewFlagResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 修改成功的个数
		Count *int64 `json:"Count,omitempty" name:"Count"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyDBInstanceRenewFlagResponse

func NewModifyDBInstanceRenewFlagResponse() (response *ModifyDBInstanceRenewFlagResponse)

func (*ModifyDBInstanceRenewFlagResponse) FromJsonString

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

func (*ModifyDBInstanceRenewFlagResponse) ToJsonString

func (r *ModifyDBInstanceRenewFlagResponse) ToJsonString() string

type ModifyDBNameRequest

type ModifyDBNameRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 旧数据库名
	OldDBName *string `json:"OldDBName,omitempty" name:"OldDBName"`

	// 新数据库名
	NewDBName *string `json:"NewDBName,omitempty" name:"NewDBName"`
}

func NewModifyDBNameRequest

func NewModifyDBNameRequest() (request *ModifyDBNameRequest)

func (*ModifyDBNameRequest) FromJsonString

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

func (*ModifyDBNameRequest) ToJsonString

func (r *ModifyDBNameRequest) ToJsonString() string

type ModifyDBNameResponse

type ModifyDBNameResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务流id
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyDBNameResponse

func NewModifyDBNameResponse() (response *ModifyDBNameResponse)

func (*ModifyDBNameResponse) FromJsonString

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

func (*ModifyDBNameResponse) ToJsonString

func (r *ModifyDBNameResponse) ToJsonString() string

type ModifyDBRemarkRequest

type ModifyDBRemarkRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-rljoi3bf
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 数据库名称及备注数组,每个元素包含数据库名和对应的备注
	DBRemarks []*DBRemark `json:"DBRemarks,omitempty" name:"DBRemarks" list`
}

func NewModifyDBRemarkRequest

func NewModifyDBRemarkRequest() (request *ModifyDBRemarkRequest)

func (*ModifyDBRemarkRequest) FromJsonString

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

func (*ModifyDBRemarkRequest) ToJsonString

func (r *ModifyDBRemarkRequest) ToJsonString() string

type ModifyDBRemarkResponse

type ModifyDBRemarkResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyDBRemarkResponse

func NewModifyDBRemarkResponse() (response *ModifyDBRemarkResponse)

func (*ModifyDBRemarkResponse) FromJsonString

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

func (*ModifyDBRemarkResponse) ToJsonString

func (r *ModifyDBRemarkResponse) ToJsonString() string

type ModifyMigrationRequest

type ModifyMigrationRequest struct {
	*tchttp.BaseRequest

	// 迁移任务ID
	MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"`

	// 新的迁移任务的名称,若不填则不修改
	MigrateName *string `json:"MigrateName,omitempty" name:"MigrateName"`

	// 新的迁移类型(1:结构迁移 2:数据迁移 3:增量同步),若不填则不修改
	MigrateType *uint64 `json:"MigrateType,omitempty" name:"MigrateType"`

	// 迁移源的类型 1:CDB for SQLServer 2:云服务器自建SQLServer数据库 4:SQLServer备份还原 5:SQLServer备份还原(COS方式),若不填则不修改
	SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"`

	// 迁移源,若不填则不修改
	Source *MigrateSource `json:"Source,omitempty" name:"Source"`

	// 迁移目标,若不填则不修改
	Target *MigrateTarget `json:"Target,omitempty" name:"Target"`

	// 迁移DB对象 ,离线迁移(SourceType=4或SourceType=5)不使用,若不填则不修改
	MigrateDBSet []*MigrateDB `json:"MigrateDBSet,omitempty" name:"MigrateDBSet" list`
}

func NewModifyMigrationRequest

func NewModifyMigrationRequest() (request *ModifyMigrationRequest)

func (*ModifyMigrationRequest) FromJsonString

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

func (*ModifyMigrationRequest) ToJsonString

func (r *ModifyMigrationRequest) ToJsonString() string

type ModifyMigrationResponse

type ModifyMigrationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 迁移任务ID
		MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyMigrationResponse

func NewModifyMigrationResponse() (response *ModifyMigrationResponse)

func (*ModifyMigrationResponse) FromJsonString

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

func (*ModifyMigrationResponse) ToJsonString

func (r *ModifyMigrationResponse) ToJsonString() string

type RegionInfo

type RegionInfo struct {

	// 地域英文ID,类似ap-guanghou
	Region *string `json:"Region,omitempty" name:"Region"`

	// 地域中文名称
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// 地域数字ID
	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`

	// 该地域目前是否可以售卖,UNAVAILABLE-不可售卖;AVAILABLE-可售卖
	RegionState *string `json:"RegionState,omitempty" name:"RegionState"`
}

type RenewDBInstanceRequest

type RenewDBInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 续费多少个月,取值范围为1-48,默认为1
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// 是否自动使用代金券,0-不使用;1-使用;默认不实用
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// 代金券ID数组,目前只支持使用1张代金券
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds" list`
}

func NewRenewDBInstanceRequest

func NewRenewDBInstanceRequest() (request *RenewDBInstanceRequest)

func (*RenewDBInstanceRequest) FromJsonString

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

func (*RenewDBInstanceRequest) ToJsonString

func (r *RenewDBInstanceRequest) ToJsonString() string

type RenewDBInstanceResponse

type RenewDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单名称
		DealName *string `json:"DealName,omitempty" name:"DealName"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRenewDBInstanceResponse

func NewRenewDBInstanceResponse() (response *RenewDBInstanceResponse)

func (*RenewDBInstanceResponse) FromJsonString

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

func (*RenewDBInstanceResponse) ToJsonString

func (r *RenewDBInstanceResponse) ToJsonString() string

type ResetAccountPasswordRequest

type ResetAccountPasswordRequest struct {
	*tchttp.BaseRequest

	// 数据库实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 更新后的账户密码信息数组
	Accounts []*AccountPassword `json:"Accounts,omitempty" name:"Accounts" list`
}

func NewResetAccountPasswordRequest

func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)

func (*ResetAccountPasswordRequest) FromJsonString

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

func (*ResetAccountPasswordRequest) ToJsonString

func (r *ResetAccountPasswordRequest) ToJsonString() string

type ResetAccountPasswordResponse

type ResetAccountPasswordResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 修改帐号密码的异步任务流程ID
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetAccountPasswordResponse

func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)

func (*ResetAccountPasswordResponse) FromJsonString

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

func (*ResetAccountPasswordResponse) ToJsonString

func (r *ResetAccountPasswordResponse) ToJsonString() string

type RestartDBInstanceRequest

type RestartDBInstanceRequest struct {
	*tchttp.BaseRequest

	// 数据库实例ID,形如mssql-njj2mtpl
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewRestartDBInstanceRequest

func NewRestartDBInstanceRequest() (request *RestartDBInstanceRequest)

func (*RestartDBInstanceRequest) FromJsonString

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

func (*RestartDBInstanceRequest) ToJsonString

func (r *RestartDBInstanceRequest) ToJsonString() string

type RestartDBInstanceResponse

type RestartDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 异步任务流程ID
		FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRestartDBInstanceResponse

func NewRestartDBInstanceResponse() (response *RestartDBInstanceResponse)

func (*RestartDBInstanceResponse) FromJsonString

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

func (*RestartDBInstanceResponse) ToJsonString

func (r *RestartDBInstanceResponse) ToJsonString() string

type RestoreInstanceRequest

type RestoreInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 备份文件ID,该ID可以通过DescribeBackups接口返回数据中的Id字段获得
	BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"`
}

func NewRestoreInstanceRequest

func NewRestoreInstanceRequest() (request *RestoreInstanceRequest)

func (*RestoreInstanceRequest) FromJsonString

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

func (*RestoreInstanceRequest) ToJsonString

func (r *RestoreInstanceRequest) ToJsonString() string

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 异步流程任务ID,使用FlowId调用DescribeFlowStatus接口获取任务执行状态
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRestoreInstanceResponse

func NewRestoreInstanceResponse() (response *RestoreInstanceResponse)

func (*RestoreInstanceResponse) FromJsonString

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

func (*RestoreInstanceResponse) ToJsonString

func (r *RestoreInstanceResponse) ToJsonString() string

type RollbackInstanceRequest

type RollbackInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 回档类型,0-回档的数据库覆盖原库;1-回档的数据库以重命名的形式生成,不覆盖原库
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// 需要回档的数据库
	DBs []*string `json:"DBs,omitempty" name:"DBs" list`

	// 回档目标时间点
	Time *string `json:"Time,omitempty" name:"Time"`
}

func NewRollbackInstanceRequest

func NewRollbackInstanceRequest() (request *RollbackInstanceRequest)

func (*RollbackInstanceRequest) FromJsonString

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

func (*RollbackInstanceRequest) ToJsonString

func (r *RollbackInstanceRequest) ToJsonString() string

type RollbackInstanceResponse

type RollbackInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 异步任务ID
		FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRollbackInstanceResponse

func NewRollbackInstanceResponse() (response *RollbackInstanceResponse)

func (*RollbackInstanceResponse) FromJsonString

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

func (*RollbackInstanceResponse) ToJsonString

func (r *RollbackInstanceResponse) ToJsonString() string

type RunMigrationRequest

type RunMigrationRequest struct {
	*tchttp.BaseRequest

	// 迁移任务ID
	MigrateId *uint64 `json:"MigrateId,omitempty" name:"MigrateId"`
}

func NewRunMigrationRequest

func NewRunMigrationRequest() (request *RunMigrationRequest)

func (*RunMigrationRequest) FromJsonString

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

func (*RunMigrationRequest) ToJsonString

func (r *RunMigrationRequest) ToJsonString() string

type RunMigrationResponse

type RunMigrationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 迁移流程启动后,返回流程ID
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRunMigrationResponse

func NewRunMigrationResponse() (response *RunMigrationResponse)

func (*RunMigrationResponse) FromJsonString

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

func (*RunMigrationResponse) ToJsonString

func (r *RunMigrationResponse) ToJsonString() string

type SlowlogInfo

type SlowlogInfo struct {

	// 慢查询日志文件唯一标识
	Id *int64 `json:"Id,omitempty" name:"Id"`

	// 文件生成的开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 文件生成的结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 文件大小(KB)
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// 文件中log条数
	Count *int64 `json:"Count,omitempty" name:"Count"`

	// 内网下载地址
	InternalAddr *string `json:"InternalAddr,omitempty" name:"InternalAddr"`

	// 外网下载地址
	ExternalAddr *string `json:"ExternalAddr,omitempty" name:"ExternalAddr"`
}

type SpecInfo

type SpecInfo struct {

	// 实例规格ID,利用DescribeZones返回的SpecId,结合DescribeProductConfig返回的可售卖规格信息,可获悉某个可用区下可购买什么规格的实例
	SpecId *int64 `json:"SpecId,omitempty" name:"SpecId"`

	// 机型ID
	MachineType *string `json:"MachineType,omitempty" name:"MachineType"`

	// 机型中文名称
	MachineTypeName *string `json:"MachineTypeName,omitempty" name:"MachineTypeName"`

	// 数据库版本信息。取值为2008R2(表示SQL Server 2008 R2),2012SP3(表示SQL Server 2012),2016SP1(表示SQL Server 2016 SP1)
	Version *string `json:"Version,omitempty" name:"Version"`

	// Version字段对应的版本名称
	VersionName *string `json:"VersionName,omitempty" name:"VersionName"`

	// 内存大小,单位GB
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// CPU核数
	CPU *int64 `json:"CPU,omitempty" name:"CPU"`

	// 此规格下最小的磁盘大小,单位GB
	MinStorage *int64 `json:"MinStorage,omitempty" name:"MinStorage"`

	// 此规格下最大的磁盘大小,单位GB
	MaxStorage *int64 `json:"MaxStorage,omitempty" name:"MaxStorage"`

	// 此规格对应的QPS大小
	QPS *int64 `json:"QPS,omitempty" name:"QPS"`

	// 此规格的中文描述信息
	SuitInfo *string `json:"SuitInfo,omitempty" name:"SuitInfo"`

	// 此规格对应的Pid
	Pid *int64 `json:"Pid,omitempty" name:"Pid"`
}

type UpgradeDBInstanceRequest

type UpgradeDBInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID,形如mssql-j8kv137v
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例升级后内存大小,单位GB,其值不能小于当前实例内存大小
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// 实例升级后磁盘大小,单位GB,其值不能小于当前实例磁盘大小
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// 是否自动使用代金券,0 - 不使用;1 - 默认使用。取值默认为0
	AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"`

	// 代金券ID,目前单个订单只能使用一张代金券
	VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds" list`
}

func NewUpgradeDBInstanceRequest

func NewUpgradeDBInstanceRequest() (request *UpgradeDBInstanceRequest)

func (*UpgradeDBInstanceRequest) FromJsonString

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

func (*UpgradeDBInstanceRequest) ToJsonString

func (r *UpgradeDBInstanceRequest) ToJsonString() string

type UpgradeDBInstanceResponse

type UpgradeDBInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单名称
		DealName *string `json:"DealName,omitempty" name:"DealName"`

		// 唯一请求ID,每次请求都会返回。定位问题时需要提供该次请求的RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpgradeDBInstanceResponse

func NewUpgradeDBInstanceResponse() (response *UpgradeDBInstanceResponse)

func (*UpgradeDBInstanceResponse) FromJsonString

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

func (*UpgradeDBInstanceResponse) ToJsonString

func (r *UpgradeDBInstanceResponse) ToJsonString() string

type ZoneInfo

type ZoneInfo struct {

	// 可用区英文ID,形如ap-guangzhou-1,表示广州一区
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// 可用区中文名称
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// 可用区数字ID
	ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// 该可用区目前可售卖的规格ID,利用SpecId,结合接口DescribeProductConfig返回的数据,可获悉该可用区目前可售卖的规格大小
	SpecId *int64 `json:"SpecId,omitempty" name:"SpecId"`

	// 当前可用区与规格下,可售卖的数据库版本,形如2008R2(表示SQL Server 2008 R2)。其可选值有2008R2(表示SQL Server 2008 R2),2012SP3(表示SQL Server 2012),2016SP1(表示SQL Server 2016 SP1)
	Version *string `json:"Version,omitempty" name:"Version"`
}

Jump to

Keyboard shortcuts

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