apis

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlterTableWithOnlineDDLRequest

type AlterTableWithOnlineDDLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* DDL命令修改的库名  */
	Database string `json:"database"`

	/* DDL命令修改的表名  */
	Table string `json:"table"`

	/* 需要执行的的DDL命令  */
	Command string `json:"command"`
}

func NewAlterTableWithOnlineDDLRequest

func NewAlterTableWithOnlineDDLRequest(
	regionId string,
	instanceId string,
	database string,
	table string,
	command string,
) *AlterTableWithOnlineDDLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param database: DDL命令修改的库名 (Required) * param table: DDL命令修改的表名 (Required) * param command: 需要执行的的DDL命令 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAlterTableWithOnlineDDLRequestWithAllParams

func NewAlterTableWithOnlineDDLRequestWithAllParams(
	regionId string,
	instanceId string,
	database string,
	table string,
	command string,
) *AlterTableWithOnlineDDLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param database: DDL命令修改的库名 (Required) * param table: DDL命令修改的表名 (Required) * param command: 需要执行的的DDL命令 (Required)

func NewAlterTableWithOnlineDDLRequestWithoutParam

func NewAlterTableWithOnlineDDLRequestWithoutParam() *AlterTableWithOnlineDDLRequest

This constructor has better compatible ability when API parameters changed

func (AlterTableWithOnlineDDLRequest) GetRegionId

func (r AlterTableWithOnlineDDLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AlterTableWithOnlineDDLRequest) SetCommand

func (r *AlterTableWithOnlineDDLRequest) SetCommand(command string)

param command: 需要执行的的DDL命令(Required)

func (*AlterTableWithOnlineDDLRequest) SetDatabase

func (r *AlterTableWithOnlineDDLRequest) SetDatabase(database string)

param database: DDL命令修改的库名(Required)

func (*AlterTableWithOnlineDDLRequest) SetInstanceId

func (r *AlterTableWithOnlineDDLRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*AlterTableWithOnlineDDLRequest) SetRegionId

func (r *AlterTableWithOnlineDDLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*AlterTableWithOnlineDDLRequest) SetTable

func (r *AlterTableWithOnlineDDLRequest) SetTable(table string)

param table: DDL命令修改的表名(Required)

type AlterTableWithOnlineDDLResponse

type AlterTableWithOnlineDDLResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    AlterTableWithOnlineDDLResult `json:"result"`
}

type AlterTableWithOnlineDDLResult

type AlterTableWithOnlineDDLResult struct {
}

type ClearBinlogsRequest

type ClearBinlogsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewClearBinlogsRequest

func NewClearBinlogsRequest(
	regionId string,
	instanceId string,
) *ClearBinlogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewClearBinlogsRequestWithAllParams

func NewClearBinlogsRequestWithAllParams(
	regionId string,
	instanceId string,
) *ClearBinlogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewClearBinlogsRequestWithoutParam

func NewClearBinlogsRequestWithoutParam() *ClearBinlogsRequest

This constructor has better compatible ability when API parameters changed

func (ClearBinlogsRequest) GetRegionId

func (r ClearBinlogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ClearBinlogsRequest) SetInstanceId

func (r *ClearBinlogsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ClearBinlogsRequest) SetRegionId

func (r *ClearBinlogsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ClearBinlogsResponse

type ClearBinlogsResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    ClearBinlogsResult `json:"result"`
}

type ClearBinlogsResult

type ClearBinlogsResult struct {
}

type CopyParameterGroupRequest

type CopyParameterGroupRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 参数组ID  */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 参数组的名字  */
	ParameterGroupName string `json:"parameterGroupName"`

	/* 参数组的描述 (Optional) */
	Description *string `json:"description"`
}

func NewCopyParameterGroupRequest

func NewCopyParameterGroupRequest(
	regionId string,
	parameterGroupId string,
	parameterGroupName string,
) *CopyParameterGroupRequest

* param regionId: Region ID (Required) * param parameterGroupId: 参数组ID (Required) * param parameterGroupName: 参数组的名字 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCopyParameterGroupRequestWithAllParams

func NewCopyParameterGroupRequestWithAllParams(
	regionId string,
	parameterGroupId string,
	parameterGroupName string,
	description *string,
) *CopyParameterGroupRequest

* param regionId: Region ID (Required) * param parameterGroupId: 参数组ID (Required) * param parameterGroupName: 参数组的名字 (Required) * param description: 参数组的描述 (Optional)

func NewCopyParameterGroupRequestWithoutParam

func NewCopyParameterGroupRequestWithoutParam() *CopyParameterGroupRequest

This constructor has better compatible ability when API parameters changed

func (CopyParameterGroupRequest) GetRegionId

func (r CopyParameterGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CopyParameterGroupRequest) SetDescription

func (r *CopyParameterGroupRequest) SetDescription(description string)

param description: 参数组的描述(Optional)

func (*CopyParameterGroupRequest) SetParameterGroupId

func (r *CopyParameterGroupRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: 参数组ID(Required)

func (*CopyParameterGroupRequest) SetParameterGroupName

func (r *CopyParameterGroupRequest) SetParameterGroupName(parameterGroupName string)

param parameterGroupName: 参数组的名字(Required)

func (*CopyParameterGroupRequest) SetRegionId

func (r *CopyParameterGroupRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type CopyParameterGroupResponse

type CopyParameterGroupResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    CopyParameterGroupResult `json:"result"`
}

type CopyParameterGroupResult

type CopyParameterGroupResult struct {
	ParameterGroupId string `json:"parameterGroupId"`
}

type CreateAccountForOpsRequest

type CreateAccountForOpsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 运维账号到期时间,UTC时间格式 (Optional) */
	ExpiredTime *string `json:"expiredTime"`
}

func NewCreateAccountForOpsRequest

func NewCreateAccountForOpsRequest(
	regionId string,
	instanceId string,
) *CreateAccountForOpsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateAccountForOpsRequestWithAllParams

func NewCreateAccountForOpsRequestWithAllParams(
	regionId string,
	instanceId string,
	expiredTime *string,
) *CreateAccountForOpsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param expiredTime: 运维账号到期时间,UTC时间格式 (Optional)

func NewCreateAccountForOpsRequestWithoutParam

func NewCreateAccountForOpsRequestWithoutParam() *CreateAccountForOpsRequest

This constructor has better compatible ability when API parameters changed

func (CreateAccountForOpsRequest) GetRegionId

func (r CreateAccountForOpsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateAccountForOpsRequest) SetExpiredTime

func (r *CreateAccountForOpsRequest) SetExpiredTime(expiredTime string)

param expiredTime: 运维账号到期时间,UTC时间格式(Optional)

func (*CreateAccountForOpsRequest) SetInstanceId

func (r *CreateAccountForOpsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*CreateAccountForOpsRequest) SetRegionId

func (r *CreateAccountForOpsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateAccountForOpsResponse

type CreateAccountForOpsResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    CreateAccountForOpsResult `json:"result"`
}

type CreateAccountForOpsResult

type CreateAccountForOpsResult struct {
}

type CreateAccountRequest

type CreateAccountRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	AccountName string `json:"accountName"`

	/* 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	AccountPassword string `json:"accountPassword"`

	/* 备注信息,仅支持PostgreSQL (Optional) */
	Notes *string `json:"notes"`
}

func NewCreateAccountRequest

func NewCreateAccountRequest(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
) *CreateAccountRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateAccountRequestWithAllParams

func NewCreateAccountRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
	notes *string,
) *CreateAccountRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param notes: 备注信息,仅支持PostgreSQL (Optional)

func NewCreateAccountRequestWithoutParam

func NewCreateAccountRequestWithoutParam() *CreateAccountRequest

This constructor has better compatible ability when API parameters changed

func (CreateAccountRequest) GetRegionId

func (r CreateAccountRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateAccountRequest) SetAccountName

func (r *CreateAccountRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*CreateAccountRequest) SetAccountPassword

func (r *CreateAccountRequest) SetAccountPassword(accountPassword string)

param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*CreateAccountRequest) SetInstanceId

func (r *CreateAccountRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*CreateAccountRequest) SetNotes

func (r *CreateAccountRequest) SetNotes(notes string)

param notes: 备注信息,仅支持PostgreSQL(Optional)

func (*CreateAccountRequest) SetRegionId

func (r *CreateAccountRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateAccountResponse

type CreateAccountResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    CreateAccountResult `json:"result"`
}

type CreateAccountResult

type CreateAccountResult struct {
}

type CreateAuditRequest

type CreateAuditRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档  */
	Enabled string `json:"enabled"`
}

func NewCreateAuditRequest

func NewCreateAuditRequest(
	regionId string,
	instanceId string,
	enabled string,
) *CreateAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param enabled: 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateAuditRequestWithAllParams

func NewCreateAuditRequestWithAllParams(
	regionId string,
	instanceId string,
	enabled string,
) *CreateAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param enabled: 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档 (Required)

func NewCreateAuditRequestWithoutParam

func NewCreateAuditRequestWithoutParam() *CreateAuditRequest

This constructor has better compatible ability when API parameters changed

func (CreateAuditRequest) GetRegionId

func (r CreateAuditRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateAuditRequest) SetEnabled

func (r *CreateAuditRequest) SetEnabled(enabled string)

param enabled: 要开启的审计选项,各个选项之间用英文逗号或空格进行分割,例如:DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROU等<br>各个数据库版本支持的审计选项可以通过接口[describeAuditOptions](./describeAuditOptions.md)获得,各个审计项的具体含义可以参看微软的官方文档(Required)

func (*CreateAuditRequest) SetInstanceId

func (r *CreateAuditRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*CreateAuditRequest) SetRegionId

func (r *CreateAuditRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateAuditResponse

type CreateAuditResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateAuditResult  `json:"result"`
}

type CreateAuditResult

type CreateAuditResult struct {
}

type CreateBackupRequest

type CreateBackupRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS实例ID,唯一标识一个实例 (Optional) */
	InstanceId *string `json:"instanceId"`

	/* 备份规格 (Optional) */
	BackupSpec *rds.BackupSpec `json:"backupSpec"`
}

func NewCreateBackupRequest

func NewCreateBackupRequest(
	regionId string,
) *CreateBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateBackupRequestWithAllParams

func NewCreateBackupRequestWithAllParams(
	regionId string,
	instanceId *string,
	backupSpec *rds.BackupSpec,
) *CreateBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Optional) * param backupSpec: 备份规格 (Optional)

func NewCreateBackupRequestWithoutParam

func NewCreateBackupRequestWithoutParam() *CreateBackupRequest

This constructor has better compatible ability when API parameters changed

func (CreateBackupRequest) GetRegionId

func (r CreateBackupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateBackupRequest) SetBackupSpec

func (r *CreateBackupRequest) SetBackupSpec(backupSpec *rds.BackupSpec)

param backupSpec: 备份规格(Optional)

func (*CreateBackupRequest) SetInstanceId

func (r *CreateBackupRequest) SetInstanceId(instanceId string)

param instanceId: RDS实例ID,唯一标识一个实例(Optional)

func (*CreateBackupRequest) SetRegionId

func (r *CreateBackupRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateBackupResponse

type CreateBackupResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateBackupResult `json:"result"`
}

type CreateBackupResult

type CreateBackupResult struct {
	BackupId string `json:"backupId"`
}

type CreateBackupSynchronicityRequest

type CreateBackupSynchronicityRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 源实例ID  */
	InstanceId string `json:"instanceId"`

	/* 备份同步的目标地域  */
	DestRegion string `json:"destRegion"`
}

func NewCreateBackupSynchronicityRequest

func NewCreateBackupSynchronicityRequest(
	regionId string,
	instanceId string,
	destRegion string,
) *CreateBackupSynchronicityRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: 源实例ID (Required) * param destRegion: 备份同步的目标地域 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateBackupSynchronicityRequestWithAllParams

func NewCreateBackupSynchronicityRequestWithAllParams(
	regionId string,
	instanceId string,
	destRegion string,
) *CreateBackupSynchronicityRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: 源实例ID (Required) * param destRegion: 备份同步的目标地域 (Required)

func NewCreateBackupSynchronicityRequestWithoutParam

func NewCreateBackupSynchronicityRequestWithoutParam() *CreateBackupSynchronicityRequest

This constructor has better compatible ability when API parameters changed

func (CreateBackupSynchronicityRequest) GetRegionId

func (r CreateBackupSynchronicityRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateBackupSynchronicityRequest) SetDestRegion

func (r *CreateBackupSynchronicityRequest) SetDestRegion(destRegion string)

param destRegion: 备份同步的目标地域(Required)

func (*CreateBackupSynchronicityRequest) SetInstanceId

func (r *CreateBackupSynchronicityRequest) SetInstanceId(instanceId string)

param instanceId: 源实例ID(Required)

func (*CreateBackupSynchronicityRequest) SetRegionId

func (r *CreateBackupSynchronicityRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateBackupSynchronicityResponse

type CreateBackupSynchronicityResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    CreateBackupSynchronicityResult `json:"result"`
}

type CreateBackupSynchronicityResult

type CreateBackupSynchronicityResult struct {
	ServiceId string `json:"serviceId"`
}

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	DbName string `json:"dbName"`

	/* 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)  */
	CharacterSetName string `json:"characterSetName"`
}

func NewCreateDatabaseRequest

func NewCreateDatabaseRequest(
	regionId string,
	instanceId string,
	dbName string,
	characterSetName string,
) *CreateDatabaseRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateDatabaseRequestWithAllParams

func NewCreateDatabaseRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
	characterSetName string,
) *CreateDatabaseRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required)

func NewCreateDatabaseRequestWithoutParam

func NewCreateDatabaseRequestWithoutParam() *CreateDatabaseRequest

This constructor has better compatible ability when API parameters changed

func (CreateDatabaseRequest) GetRegionId

func (r CreateDatabaseRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateDatabaseRequest) SetCharacterSetName

func (r *CreateDatabaseRequest) SetCharacterSetName(characterSetName string)

param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)

func (*CreateDatabaseRequest) SetDbName

func (r *CreateDatabaseRequest) SetDbName(dbName string)

param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*CreateDatabaseRequest) SetInstanceId

func (r *CreateDatabaseRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*CreateDatabaseRequest) SetRegionId

func (r *CreateDatabaseRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    CreateDatabaseResult `json:"result"`
}

type CreateDatabaseResult

type CreateDatabaseResult struct {
}

type CreateInstanceByTimeInCrossRegionRequest

type CreateInstanceByTimeInCrossRegionRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 根据源实例的哪个时间点创建新实例  */
	RestoreTime string `json:"restoreTime"`

	/* 跨地域备份同步服务ID  */
	ServiceId string `json:"serviceId"`

	/* 新建实例规格  */
	InstanceSpec *rds.RestoredNewDBInstanceSpec `json:"instanceSpec"`
}

func NewCreateInstanceByTimeInCrossRegionRequest

func NewCreateInstanceByTimeInCrossRegionRequest(
	regionId string,
	restoreTime string,
	serviceId string,
	instanceSpec *rds.RestoredNewDBInstanceSpec,
) *CreateInstanceByTimeInCrossRegionRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param serviceId: 跨地域备份同步服务ID (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateInstanceByTimeInCrossRegionRequestWithAllParams

func NewCreateInstanceByTimeInCrossRegionRequestWithAllParams(
	regionId string,
	restoreTime string,
	serviceId string,
	instanceSpec *rds.RestoredNewDBInstanceSpec,
) *CreateInstanceByTimeInCrossRegionRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param serviceId: 跨地域备份同步服务ID (Required) * param instanceSpec: 新建实例规格 (Required)

func NewCreateInstanceByTimeInCrossRegionRequestWithoutParam

func NewCreateInstanceByTimeInCrossRegionRequestWithoutParam() *CreateInstanceByTimeInCrossRegionRequest

This constructor has better compatible ability when API parameters changed

func (CreateInstanceByTimeInCrossRegionRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateInstanceByTimeInCrossRegionRequest) SetInstanceSpec

param instanceSpec: 新建实例规格(Required)

func (*CreateInstanceByTimeInCrossRegionRequest) SetRegionId

func (r *CreateInstanceByTimeInCrossRegionRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*CreateInstanceByTimeInCrossRegionRequest) SetRestoreTime

func (r *CreateInstanceByTimeInCrossRegionRequest) SetRestoreTime(restoreTime string)

param restoreTime: 根据源实例的哪个时间点创建新实例(Required)

func (*CreateInstanceByTimeInCrossRegionRequest) SetServiceId

func (r *CreateInstanceByTimeInCrossRegionRequest) SetServiceId(serviceId string)

param serviceId: 跨地域备份同步服务ID(Required)

type CreateInstanceByTimeInCrossRegionResponse

type CreateInstanceByTimeInCrossRegionResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    CreateInstanceByTimeInCrossRegionResult `json:"result"`
}

type CreateInstanceByTimeInCrossRegionResult

type CreateInstanceByTimeInCrossRegionResult struct {
	InstanceId string `json:"instanceId"`
	OrderId    string `json:"orderId"`
}

type CreateInstanceByTimeRequest

type CreateInstanceByTimeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 根据源实例的哪个时间点创建新实例  */
	RestoreTime string `json:"restoreTime"`

	/* 新建实例规格  */
	InstanceSpec *rds.RestoredNewDBInstanceSpec `json:"instanceSpec"`
}

func NewCreateInstanceByTimeRequest

func NewCreateInstanceByTimeRequest(
	regionId string,
	instanceId string,
	restoreTime string,
	instanceSpec *rds.RestoredNewDBInstanceSpec,
) *CreateInstanceByTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateInstanceByTimeRequestWithAllParams

func NewCreateInstanceByTimeRequestWithAllParams(
	regionId string,
	instanceId string,
	restoreTime string,
	instanceSpec *rds.RestoredNewDBInstanceSpec,
) *CreateInstanceByTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param instanceSpec: 新建实例规格 (Required)

func NewCreateInstanceByTimeRequestWithoutParam

func NewCreateInstanceByTimeRequestWithoutParam() *CreateInstanceByTimeRequest

This constructor has better compatible ability when API parameters changed

func (CreateInstanceByTimeRequest) GetRegionId

func (r CreateInstanceByTimeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateInstanceByTimeRequest) SetInstanceId

func (r *CreateInstanceByTimeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*CreateInstanceByTimeRequest) SetInstanceSpec

func (r *CreateInstanceByTimeRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)

param instanceSpec: 新建实例规格(Required)

func (*CreateInstanceByTimeRequest) SetRegionId

func (r *CreateInstanceByTimeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*CreateInstanceByTimeRequest) SetRestoreTime

func (r *CreateInstanceByTimeRequest) SetRestoreTime(restoreTime string)

param restoreTime: 根据源实例的哪个时间点创建新实例(Required)

type CreateInstanceByTimeResponse

type CreateInstanceByTimeResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    CreateInstanceByTimeResult `json:"result"`
}

type CreateInstanceByTimeResult

type CreateInstanceByTimeResult struct {
	InstanceId string `json:"instanceId"`
	OrderId    string `json:"orderId"`
}

type CreateInstanceFromBackupRequest

type CreateInstanceFromBackupRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 备份ID  */
	BackupId string `json:"backupId"`

	/* 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致**  */
	Engine string `json:"engine"`

	/* 新建实例规格  */
	InstanceSpec *rds.RestoredNewDBInstanceSpec `json:"instanceSpec"`
}

func NewCreateInstanceFromBackupRequest

func NewCreateInstanceFromBackupRequest(
	regionId string,
	backupId string,
	engine string,
	instanceSpec *rds.RestoredNewDBInstanceSpec,
) *CreateInstanceFromBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * param engine: 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致** (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateInstanceFromBackupRequestWithAllParams

func NewCreateInstanceFromBackupRequestWithAllParams(
	regionId string,
	backupId string,
	engine string,
	instanceSpec *rds.RestoredNewDBInstanceSpec,
) *CreateInstanceFromBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * param engine: 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致** (Required) * param instanceSpec: 新建实例规格 (Required)

func NewCreateInstanceFromBackupRequestWithoutParam

func NewCreateInstanceFromBackupRequestWithoutParam() *CreateInstanceFromBackupRequest

This constructor has better compatible ability when API parameters changed

func (CreateInstanceFromBackupRequest) GetRegionId

func (r CreateInstanceFromBackupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateInstanceFromBackupRequest) SetBackupId

func (r *CreateInstanceFromBackupRequest) SetBackupId(backupId string)

param backupId: 备份ID(Required)

func (*CreateInstanceFromBackupRequest) SetEngine

func (r *CreateInstanceFromBackupRequest) SetEngine(engine string)

param engine: 标识是创建什么类型的实例,例如MySQL,SQL Server等,具体可参见文档[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)<br>**注意:备份来源实例的engine和要创建的实例的engine必须一致**(Required)

func (*CreateInstanceFromBackupRequest) SetInstanceSpec

func (r *CreateInstanceFromBackupRequest) SetInstanceSpec(instanceSpec *rds.RestoredNewDBInstanceSpec)

param instanceSpec: 新建实例规格(Required)

func (*CreateInstanceFromBackupRequest) SetRegionId

func (r *CreateInstanceFromBackupRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateInstanceFromBackupResponse

type CreateInstanceFromBackupResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    CreateInstanceFromBackupResult `json:"result"`
}

type CreateInstanceFromBackupResult

type CreateInstanceFromBackupResult struct {
	InstanceId string `json:"instanceId"`
	OrderId    string `json:"orderId"`
}

type CreateInstanceRequest

type CreateInstanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 新建实例规格  */
	InstanceSpec *rds.DBInstanceSpec `json:"instanceSpec"`
}

func NewCreateInstanceRequest

func NewCreateInstanceRequest(
	regionId string,
	instanceSpec *rds.DBInstanceSpec,
) *CreateInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceSpec: 新建实例规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateInstanceRequestWithAllParams

func NewCreateInstanceRequestWithAllParams(
	regionId string,
	instanceSpec *rds.DBInstanceSpec,
) *CreateInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceSpec: 新建实例规格 (Required)

func NewCreateInstanceRequestWithoutParam

func NewCreateInstanceRequestWithoutParam() *CreateInstanceRequest

This constructor has better compatible ability when API parameters changed

func (CreateInstanceRequest) GetRegionId

func (r CreateInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateInstanceRequest) SetInstanceSpec

func (r *CreateInstanceRequest) SetInstanceSpec(instanceSpec *rds.DBInstanceSpec)

param instanceSpec: 新建实例规格(Required)

func (*CreateInstanceRequest) SetRegionId

func (r *CreateInstanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateInstanceResponse

type CreateInstanceResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    CreateInstanceResult `json:"result"`
}

type CreateInstanceResult

type CreateInstanceResult struct {
	InstanceId string `json:"instanceId"`
	OrderId    string `json:"orderId"`
}

type CreateParameterGroupRequest

type CreateParameterGroupRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)  */
	Engine string `json:"engine"`

	/* 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)  */
	EngineVersion string `json:"engineVersion"`

	/* 参数组的名字  */
	ParameterGroupName string `json:"parameterGroupName"`

	/* 参数组的描述 (Optional) */
	Description *string `json:"description"`
}

func NewCreateParameterGroupRequest

func NewCreateParameterGroupRequest(
	regionId string,
	engine string,
	engineVersion string,
	parameterGroupName string,
) *CreateParameterGroupRequest

* param regionId: Region ID (Required) * param engine: 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param engineVersion: 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param parameterGroupName: 参数组的名字 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateParameterGroupRequestWithAllParams

func NewCreateParameterGroupRequestWithAllParams(
	regionId string,
	engine string,
	engineVersion string,
	parameterGroupName string,
	description *string,
) *CreateParameterGroupRequest

* param regionId: Region ID (Required) * param engine: 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param engineVersion: 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * param parameterGroupName: 参数组的名字 (Required) * param description: 参数组的描述 (Optional)

func NewCreateParameterGroupRequestWithoutParam

func NewCreateParameterGroupRequestWithoutParam() *CreateParameterGroupRequest

This constructor has better compatible ability when API parameters changed

func (CreateParameterGroupRequest) GetRegionId

func (r CreateParameterGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateParameterGroupRequest) SetDescription

func (r *CreateParameterGroupRequest) SetDescription(description string)

param description: 参数组的描述(Optional)

func (*CreateParameterGroupRequest) SetEngine

func (r *CreateParameterGroupRequest) SetEngine(engine string)

param engine: 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)

func (*CreateParameterGroupRequest) SetEngineVersion

func (r *CreateParameterGroupRequest) SetEngineVersion(engineVersion string)

param engineVersion: 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)

func (*CreateParameterGroupRequest) SetParameterGroupName

func (r *CreateParameterGroupRequest) SetParameterGroupName(parameterGroupName string)

param parameterGroupName: 参数组的名字(Required)

func (*CreateParameterGroupRequest) SetRegionId

func (r *CreateParameterGroupRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type CreateParameterGroupResponse

type CreateParameterGroupResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    CreateParameterGroupResult `json:"result"`
}

type CreateParameterGroupResult

type CreateParameterGroupResult struct {
	ParameterGroupId string `json:"parameterGroupId"`
}

type CreateROInstanceRequest

type CreateROInstanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	InstanceName string `json:"instanceName"`

	/* 只读实例规格FlavorId  */
	InstanceClass string `json:"instanceClass"`

	/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md),缺省值为:LOCAL_SSD (Optional) */
	InstanceStorageType *string `json:"instanceStorageType"`

	/* 磁盘空间  */
	InstanceStorageGB int `json:"instanceStorageGB"`

	/* 可用区ID  */
	AzId string `json:"azId"`

	/* VPC的ID,如果没有填写就保持和常规实例一样的VPC (Optional) */
	VpcId *string `json:"vpcId"`

	/* 子网ID,如果没有填写就保持和常规实例一样的subnet (Optional) */
	SubnetId *string `json:"subnetId"`

	/* 参数组ID,缺省采用和常规实例一样的参数组 (Optional) */
	ParameterGroup *string `json:"parameterGroup"`

	/* 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密;true:加密。缺省为false。 (Optional) */
	StorageEncrypted *bool `json:"storageEncrypted"`

	/* 创建只读实例的数目,缺省为1 (Optional) */
	Count *int `json:"count"`

	/* 只读代理服务的ID,缺省值为 “NULL”,表示不绑定代理服务 (Optional) */
	RoInstanceProxy *string `json:"roInstanceProxy"`

	/* 标签信息 (Optional) */
	TagSpec []rds.Tag `json:"tagSpec"`
}

func NewCreateROInstanceRequest

func NewCreateROInstanceRequest(
	regionId string,
	instanceId string,
	instanceName string,
	instanceClass string,
	instanceStorageGB int,
	azId string,
) *CreateROInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param instanceClass: 只读实例规格FlavorId (Required) * param instanceStorageGB: 磁盘空间 (Required) * param azId: 可用区ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateROInstanceRequestWithAllParams

func NewCreateROInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
	instanceName string,
	instanceClass string,
	instanceStorageType *string,
	instanceStorageGB int,
	azId string,
	vpcId *string,
	subnetId *string,
	parameterGroup *string,
	storageEncrypted *bool,
	count *int,
	roInstanceProxy *string,
	tagSpec []rds.Tag,
) *CreateROInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param instanceClass: 只读实例规格FlavorId (Required) * param instanceStorageType: 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md),缺省值为:LOCAL_SSD (Optional) * param instanceStorageGB: 磁盘空间 (Required) * param azId: 可用区ID (Required) * param vpcId: VPC的ID,如果没有填写就保持和常规实例一样的VPC (Optional) * param subnetId: 子网ID,如果没有填写就保持和常规实例一样的subnet (Optional) * param parameterGroup: 参数组ID,缺省采用和常规实例一样的参数组 (Optional) * param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密;true:加密。缺省为false。 (Optional) * param count: 创建只读实例的数目,缺省为1 (Optional) * param roInstanceProxy: 只读代理服务的ID,缺省值为 “NULL”,表示不绑定代理服务 (Optional) * param tagSpec: 标签信息 (Optional)

func NewCreateROInstanceRequestWithoutParam

func NewCreateROInstanceRequestWithoutParam() *CreateROInstanceRequest

This constructor has better compatible ability when API parameters changed

func (CreateROInstanceRequest) GetRegionId

func (r CreateROInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateROInstanceRequest) SetAzId

func (r *CreateROInstanceRequest) SetAzId(azId string)

param azId: 可用区ID(Required)

func (*CreateROInstanceRequest) SetCount

func (r *CreateROInstanceRequest) SetCount(count int)

param count: 创建只读实例的数目,缺省为1(Optional)

func (*CreateROInstanceRequest) SetInstanceClass

func (r *CreateROInstanceRequest) SetInstanceClass(instanceClass string)

param instanceClass: 只读实例规格FlavorId(Required)

func (*CreateROInstanceRequest) SetInstanceId

func (r *CreateROInstanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*CreateROInstanceRequest) SetInstanceName

func (r *CreateROInstanceRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*CreateROInstanceRequest) SetInstanceStorageGB

func (r *CreateROInstanceRequest) SetInstanceStorageGB(instanceStorageGB int)

param instanceStorageGB: 磁盘空间(Required)

func (*CreateROInstanceRequest) SetInstanceStorageType

func (r *CreateROInstanceRequest) SetInstanceStorageType(instanceStorageType string)

param instanceStorageType: 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md),缺省值为:LOCAL_SSD(Optional)

func (*CreateROInstanceRequest) SetParameterGroup

func (r *CreateROInstanceRequest) SetParameterGroup(parameterGroup string)

param parameterGroup: 参数组ID,缺省采用和常规实例一样的参数组(Optional)

func (*CreateROInstanceRequest) SetRegionId

func (r *CreateROInstanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*CreateROInstanceRequest) SetRoInstanceProxy

func (r *CreateROInstanceRequest) SetRoInstanceProxy(roInstanceProxy string)

param roInstanceProxy: 只读代理服务的ID,缺省值为 “NULL”,表示不绑定代理服务(Optional)

func (*CreateROInstanceRequest) SetStorageEncrypted

func (r *CreateROInstanceRequest) SetStorageEncrypted(storageEncrypted bool)

param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密)。false:不加密;true:加密。缺省为false。(Optional)

func (*CreateROInstanceRequest) SetSubnetId

func (r *CreateROInstanceRequest) SetSubnetId(subnetId string)

param subnetId: 子网ID,如果没有填写就保持和常规实例一样的subnet(Optional)

func (*CreateROInstanceRequest) SetTagSpec

func (r *CreateROInstanceRequest) SetTagSpec(tagSpec []rds.Tag)

param tagSpec: 标签信息(Optional)

func (*CreateROInstanceRequest) SetVpcId

func (r *CreateROInstanceRequest) SetVpcId(vpcId string)

param vpcId: VPC的ID,如果没有填写就保持和常规实例一样的VPC(Optional)

type CreateROInstanceResponse

type CreateROInstanceResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreateROInstanceResult `json:"result"`
}

type CreateROInstanceResult

type CreateROInstanceResult struct {
	RoInstanceId []string `json:"roInstanceId"`
	OrderId      string   `json:"orderId"`
}

type CreateReadWriteProxyRequest

type CreateReadWriteProxyRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID  */
	InstanceId string `json:"instanceId"`

	/* 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) */
	DelayThreshold *int `json:"delayThreshold"`

	/* 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	LoadBalancerPolicy *string `json:"loadBalancerPolicy"`

	/* 后端实例健康检查配置 (Optional) */
	HealthCheckSpec *rds.HealthCheckSpec `json:"healthCheckSpec"`
}

func NewCreateReadWriteProxyRequest

func NewCreateReadWriteProxyRequest(
	regionId string,
	instanceId string,
) *CreateReadWriteProxyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateReadWriteProxyRequestWithAllParams

func NewCreateReadWriteProxyRequestWithAllParams(
	regionId string,
	instanceId string,
	delayThreshold *int,
	loadBalancerPolicy *string,
	healthCheckSpec *rds.HealthCheckSpec,
) *CreateReadWriteProxyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID (Required) * param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) * param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) * param healthCheckSpec: 后端实例健康检查配置 (Optional)

func NewCreateReadWriteProxyRequestWithoutParam

func NewCreateReadWriteProxyRequestWithoutParam() *CreateReadWriteProxyRequest

This constructor has better compatible ability when API parameters changed

func (CreateReadWriteProxyRequest) GetRegionId

func (r CreateReadWriteProxyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateReadWriteProxyRequest) SetDelayThreshold

func (r *CreateReadWriteProxyRequest) SetDelayThreshold(delayThreshold int)

param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100(Optional)

func (*CreateReadWriteProxyRequest) SetHealthCheckSpec

func (r *CreateReadWriteProxyRequest) SetHealthCheckSpec(healthCheckSpec *rds.HealthCheckSpec)

param healthCheckSpec: 后端实例健康检查配置(Optional)

func (*CreateReadWriteProxyRequest) SetInstanceId

func (r *CreateReadWriteProxyRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID(Required)

func (*CreateReadWriteProxyRequest) SetLoadBalancerPolicy

func (r *CreateReadWriteProxyRequest) SetLoadBalancerPolicy(loadBalancerPolicy string)

param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Optional)

func (*CreateReadWriteProxyRequest) SetRegionId

func (r *CreateReadWriteProxyRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateReadWriteProxyResponse

type CreateReadWriteProxyResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    CreateReadWriteProxyResult `json:"result"`
}

type CreateReadWriteProxyResult

type CreateReadWriteProxyResult struct {
	ReadWriteProxyId string `json:"readWriteProxyId"`
}

type CreateSuperAccountRequest

type CreateSuperAccountRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	AccountName string `json:"accountName"`

	/* 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	AccountPassword string `json:"accountPassword"`
}

func NewCreateSuperAccountRequest

func NewCreateSuperAccountRequest(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
) *CreateSuperAccountRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateSuperAccountRequestWithAllParams

func NewCreateSuperAccountRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
) *CreateSuperAccountRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required)

func NewCreateSuperAccountRequestWithoutParam

func NewCreateSuperAccountRequestWithoutParam() *CreateSuperAccountRequest

This constructor has better compatible ability when API parameters changed

func (CreateSuperAccountRequest) GetRegionId

func (r CreateSuperAccountRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateSuperAccountRequest) SetAccountName

func (r *CreateSuperAccountRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*CreateSuperAccountRequest) SetAccountPassword

func (r *CreateSuperAccountRequest) SetAccountPassword(accountPassword string)

param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*CreateSuperAccountRequest) SetInstanceId

func (r *CreateSuperAccountRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*CreateSuperAccountRequest) SetRegionId

func (r *CreateSuperAccountRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type CreateSuperAccountResponse

type CreateSuperAccountResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    CreateSuperAccountResult `json:"result"`
}

type CreateSuperAccountResult

type CreateSuperAccountResult struct {
}

type DeleteAccountRequest

type DeleteAccountRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个实例中账号名不能重复  */
	AccountName string `json:"accountName"`
}

func NewDeleteAccountRequest

func NewDeleteAccountRequest(
	regionId string,
	instanceId string,
	accountName string,
) *DeleteAccountRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteAccountRequestWithAllParams

func NewDeleteAccountRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
) *DeleteAccountRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required)

func NewDeleteAccountRequestWithoutParam

func NewDeleteAccountRequestWithoutParam() *DeleteAccountRequest

This constructor has better compatible ability when API parameters changed

func (DeleteAccountRequest) GetRegionId

func (r DeleteAccountRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteAccountRequest) SetAccountName

func (r *DeleteAccountRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个实例中账号名不能重复(Required)

func (*DeleteAccountRequest) SetInstanceId

func (r *DeleteAccountRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DeleteAccountRequest) SetRegionId

func (r *DeleteAccountRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DeleteAccountResponse

type DeleteAccountResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DeleteAccountResult `json:"result"`
}

type DeleteAccountResult

type DeleteAccountResult struct {
}

type DeleteAuditRequest

type DeleteAuditRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDeleteAuditRequest

func NewDeleteAuditRequest(
	regionId string,
	instanceId string,
) *DeleteAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteAuditRequestWithAllParams

func NewDeleteAuditRequestWithAllParams(
	regionId string,
	instanceId string,
) *DeleteAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDeleteAuditRequestWithoutParam

func NewDeleteAuditRequestWithoutParam() *DeleteAuditRequest

This constructor has better compatible ability when API parameters changed

func (DeleteAuditRequest) GetRegionId

func (r DeleteAuditRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteAuditRequest) SetInstanceId

func (r *DeleteAuditRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DeleteAuditRequest) SetRegionId

func (r *DeleteAuditRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DeleteAuditResponse

type DeleteAuditResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteAuditResult  `json:"result"`
}

type DeleteAuditResult

type DeleteAuditResult struct {
}

type DeleteBackupRequest

type DeleteBackupRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 备份ID  */
	BackupId string `json:"backupId"`
}

func NewDeleteBackupRequest

func NewDeleteBackupRequest(
	regionId string,
	backupId string,
) *DeleteBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteBackupRequestWithAllParams

func NewDeleteBackupRequestWithAllParams(
	regionId string,
	backupId string,
) *DeleteBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required)

func NewDeleteBackupRequestWithoutParam

func NewDeleteBackupRequestWithoutParam() *DeleteBackupRequest

This constructor has better compatible ability when API parameters changed

func (DeleteBackupRequest) GetRegionId

func (r DeleteBackupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteBackupRequest) SetBackupId

func (r *DeleteBackupRequest) SetBackupId(backupId string)

param backupId: 备份ID(Required)

func (*DeleteBackupRequest) SetRegionId

func (r *DeleteBackupRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DeleteBackupResponse

type DeleteBackupResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteBackupResult `json:"result"`
}

type DeleteBackupResult

type DeleteBackupResult struct {
}

type DeleteBackupSynchronicityRequest

type DeleteBackupSynchronicityRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 跨地域备份同步服务ID  */
	ServiceId string `json:"serviceId"`
}

func NewDeleteBackupSynchronicityRequest

func NewDeleteBackupSynchronicityRequest(
	regionId string,
	serviceId string,
) *DeleteBackupSynchronicityRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param serviceId: 跨地域备份同步服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteBackupSynchronicityRequestWithAllParams

func NewDeleteBackupSynchronicityRequestWithAllParams(
	regionId string,
	serviceId string,
) *DeleteBackupSynchronicityRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param serviceId: 跨地域备份同步服务ID (Required)

func NewDeleteBackupSynchronicityRequestWithoutParam

func NewDeleteBackupSynchronicityRequestWithoutParam() *DeleteBackupSynchronicityRequest

This constructor has better compatible ability when API parameters changed

func (DeleteBackupSynchronicityRequest) GetRegionId

func (r DeleteBackupSynchronicityRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteBackupSynchronicityRequest) SetRegionId

func (r *DeleteBackupSynchronicityRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DeleteBackupSynchronicityRequest) SetServiceId

func (r *DeleteBackupSynchronicityRequest) SetServiceId(serviceId string)

param serviceId: 跨地域备份同步服务ID(Required)

type DeleteBackupSynchronicityResponse

type DeleteBackupSynchronicityResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DeleteBackupSynchronicityResult `json:"result"`
}

type DeleteBackupSynchronicityResult

type DeleteBackupSynchronicityResult struct {
}

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 库名称  */
	DbName string `json:"dbName"`
}

func NewDeleteDatabaseRequest

func NewDeleteDatabaseRequest(
	regionId string,
	instanceId string,
	dbName string,
) *DeleteDatabaseRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteDatabaseRequestWithAllParams

func NewDeleteDatabaseRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
) *DeleteDatabaseRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required)

func NewDeleteDatabaseRequestWithoutParam

func NewDeleteDatabaseRequestWithoutParam() *DeleteDatabaseRequest

This constructor has better compatible ability when API parameters changed

func (DeleteDatabaseRequest) GetRegionId

func (r DeleteDatabaseRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteDatabaseRequest) SetDbName

func (r *DeleteDatabaseRequest) SetDbName(dbName string)

param dbName: 库名称(Required)

func (*DeleteDatabaseRequest) SetInstanceId

func (r *DeleteDatabaseRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DeleteDatabaseRequest) SetRegionId

func (r *DeleteDatabaseRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DeleteDatabaseResult `json:"result"`
}

type DeleteDatabaseResult

type DeleteDatabaseResult struct {
}

type DeleteImportFileRequest

type DeleteImportFileRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 单库上云文件名  */
	FileName string `json:"fileName"`

	/* 共享文件的全局ID,可从上传文件查询接口describeImportFiles中获取;如果该文件不是共享文件,则无须输入该字段 (Optional) */
	SharedFileGid *string `json:"sharedFileGid"`
}

func NewDeleteImportFileRequest

func NewDeleteImportFileRequest(
	regionId string,
	instanceId string,
	fileName string,
) *DeleteImportFileRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteImportFileRequestWithAllParams

func NewDeleteImportFileRequestWithAllParams(
	regionId string,
	instanceId string,
	fileName string,
	sharedFileGid *string,
) *DeleteImportFileRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口describeImportFiles中获取;如果该文件不是共享文件,则无须输入该字段 (Optional)

func NewDeleteImportFileRequestWithoutParam

func NewDeleteImportFileRequestWithoutParam() *DeleteImportFileRequest

This constructor has better compatible ability when API parameters changed

func (DeleteImportFileRequest) GetRegionId

func (r DeleteImportFileRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteImportFileRequest) SetFileName

func (r *DeleteImportFileRequest) SetFileName(fileName string)

param fileName: 单库上云文件名(Required)

func (*DeleteImportFileRequest) SetInstanceId

func (r *DeleteImportFileRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DeleteImportFileRequest) SetRegionId

func (r *DeleteImportFileRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DeleteImportFileRequest) SetSharedFileGid

func (r *DeleteImportFileRequest) SetSharedFileGid(sharedFileGid string)

param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口describeImportFiles中获取;如果该文件不是共享文件,则无须输入该字段(Optional)

type DeleteImportFileResponse

type DeleteImportFileResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DeleteImportFileResult `json:"result"`
}

type DeleteImportFileResult

type DeleteImportFileResult struct {
}

type DeleteInstanceRequest

type DeleteInstanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDeleteInstanceRequest

func NewDeleteInstanceRequest(
	regionId string,
	instanceId string,
) *DeleteInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteInstanceRequestWithAllParams

func NewDeleteInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
) *DeleteInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDeleteInstanceRequestWithoutParam

func NewDeleteInstanceRequestWithoutParam() *DeleteInstanceRequest

This constructor has better compatible ability when API parameters changed

func (DeleteInstanceRequest) GetRegionId

func (r DeleteInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteInstanceRequest) SetInstanceId

func (r *DeleteInstanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DeleteInstanceRequest) SetRegionId

func (r *DeleteInstanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DeleteInstanceResult `json:"result"`
}

type DeleteInstanceResult

type DeleteInstanceResult struct {
}

type DeleteParameterGroupRequest

type DeleteParameterGroupRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Parameter Group ID  */
	ParameterGroupId string `json:"parameterGroupId"`
}

func NewDeleteParameterGroupRequest

func NewDeleteParameterGroupRequest(
	regionId string,
	parameterGroupId string,
) *DeleteParameterGroupRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteParameterGroupRequestWithAllParams

func NewDeleteParameterGroupRequestWithAllParams(
	regionId string,
	parameterGroupId string,
) *DeleteParameterGroupRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required)

func NewDeleteParameterGroupRequestWithoutParam

func NewDeleteParameterGroupRequestWithoutParam() *DeleteParameterGroupRequest

This constructor has better compatible ability when API parameters changed

func (DeleteParameterGroupRequest) GetRegionId

func (r DeleteParameterGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteParameterGroupRequest) SetParameterGroupId

func (r *DeleteParameterGroupRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: Parameter Group ID(Required)

func (*DeleteParameterGroupRequest) SetRegionId

func (r *DeleteParameterGroupRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DeleteParameterGroupResponse

type DeleteParameterGroupResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DeleteParameterGroupResult `json:"result"`
}

type DeleteParameterGroupResult

type DeleteParameterGroupResult struct {
}

type DeleteReadWriteProxyRequest

type DeleteReadWriteProxyRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 读写分离代理服务ID  */
	ReadWriteProxyId string `json:"readWriteProxyId"`
}

func NewDeleteReadWriteProxyRequest

func NewDeleteReadWriteProxyRequest(
	regionId string,
	readWriteProxyId string,
) *DeleteReadWriteProxyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteReadWriteProxyRequestWithAllParams

func NewDeleteReadWriteProxyRequestWithAllParams(
	regionId string,
	readWriteProxyId string,
) *DeleteReadWriteProxyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)

func NewDeleteReadWriteProxyRequestWithoutParam

func NewDeleteReadWriteProxyRequestWithoutParam() *DeleteReadWriteProxyRequest

This constructor has better compatible ability when API parameters changed

func (DeleteReadWriteProxyRequest) GetRegionId

func (r DeleteReadWriteProxyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteReadWriteProxyRequest) SetReadWriteProxyId

func (r *DeleteReadWriteProxyRequest) SetReadWriteProxyId(readWriteProxyId string)

param readWriteProxyId: 读写分离代理服务ID(Required)

func (*DeleteReadWriteProxyRequest) SetRegionId

func (r *DeleteReadWriteProxyRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DeleteReadWriteProxyResponse

type DeleteReadWriteProxyResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DeleteReadWriteProxyResult `json:"result"`
}

type DeleteReadWriteProxyResult

type DeleteReadWriteProxyResult struct {
}

type DescribeAccountPrivilegeRequest

type DescribeAccountPrivilegeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个实例中账号名不能重复  */
	AccountName string `json:"accountName"`
}

func NewDescribeAccountPrivilegeRequest

func NewDescribeAccountPrivilegeRequest(
	regionId string,
	instanceId string,
	accountName string,
) *DescribeAccountPrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAccountPrivilegeRequestWithAllParams

func NewDescribeAccountPrivilegeRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
) *DescribeAccountPrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required)

func NewDescribeAccountPrivilegeRequestWithoutParam

func NewDescribeAccountPrivilegeRequestWithoutParam() *DescribeAccountPrivilegeRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAccountPrivilegeRequest) GetRegionId

func (r DescribeAccountPrivilegeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAccountPrivilegeRequest) SetAccountName

func (r *DescribeAccountPrivilegeRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个实例中账号名不能重复(Required)

func (*DescribeAccountPrivilegeRequest) SetInstanceId

func (r *DescribeAccountPrivilegeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAccountPrivilegeRequest) SetRegionId

func (r *DescribeAccountPrivilegeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAccountPrivilegeResponse

type DescribeAccountPrivilegeResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeAccountPrivilegeResult `json:"result"`
}

type DescribeAccountPrivilegeResult

type DescribeAccountPrivilegeResult struct {
	DatabasePrivileges []rds.DatabasePrivilege `json:"databasePrivileges"`
	GlobalPrivileges   []string                `json:"globalPrivileges"`
}

type DescribeAccountsForOpsRequest

type DescribeAccountsForOpsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeAccountsForOpsRequest

func NewDescribeAccountsForOpsRequest(
	regionId string,
	instanceId string,
) *DescribeAccountsForOpsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAccountsForOpsRequestWithAllParams

func NewDescribeAccountsForOpsRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeAccountsForOpsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeAccountsForOpsRequestWithoutParam

func NewDescribeAccountsForOpsRequestWithoutParam() *DescribeAccountsForOpsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAccountsForOpsRequest) GetRegionId

func (r DescribeAccountsForOpsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAccountsForOpsRequest) SetInstanceId

func (r *DescribeAccountsForOpsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAccountsForOpsRequest) SetRegionId

func (r *DescribeAccountsForOpsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAccountsForOpsResponse

type DescribeAccountsForOpsResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DescribeAccountsForOpsResult `json:"result"`
}

type DescribeAccountsForOpsResult

type DescribeAccountsForOpsResult struct {
	Accounts   []rds.DBInstanceAccountForOps `json:"accounts"`
	TotalCount int                           `json:"totalCount"`
}

type DescribeAccountsRequest

type DescribeAccountsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeAccountsRequest

func NewDescribeAccountsRequest(
	regionId string,
	instanceId string,
) *DescribeAccountsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAccountsRequestWithAllParams

func NewDescribeAccountsRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
) *DescribeAccountsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)

func NewDescribeAccountsRequestWithoutParam

func NewDescribeAccountsRequestWithoutParam() *DescribeAccountsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAccountsRequest) GetRegionId

func (r DescribeAccountsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAccountsRequest) SetInstanceId

func (r *DescribeAccountsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAccountsRequest) SetPageNumber

func (r *DescribeAccountsRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeAccountsRequest) SetPageSize

func (r *DescribeAccountsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)

func (*DescribeAccountsRequest) SetRegionId

func (r *DescribeAccountsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeAccountsResult `json:"result"`
}

type DescribeAccountsResult

type DescribeAccountsResult struct {
	Accounts   []rds.Account `json:"accounts"`
	TotalCount int           `json:"totalCount"`
}

type DescribeActiveQueryPerformanceRequest

type DescribeActiveQueryPerformanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) */
	Db *string `json:"db"`

	/* 返回执行时间大于等于threshold的记录,默认10,单位秒 (Optional) */
	Threshold *int `json:"threshold"`

	/* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeActiveQueryPerformanceRequest

func NewDescribeActiveQueryPerformanceRequest(
	regionId string,
	instanceId string,
) *DescribeActiveQueryPerformanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeActiveQueryPerformanceRequestWithAllParams

func NewDescribeActiveQueryPerformanceRequestWithAllParams(
	regionId string,
	instanceId string,
	db *string,
	threshold *int,
	pageNumber *int,
	pageSize *int,
) *DescribeActiveQueryPerformanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) * param threshold: 返回执行时间大于等于threshold的记录,默认10,单位秒 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数 (Optional)

func NewDescribeActiveQueryPerformanceRequestWithoutParam

func NewDescribeActiveQueryPerformanceRequestWithoutParam() *DescribeActiveQueryPerformanceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeActiveQueryPerformanceRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeActiveQueryPerformanceRequest) SetDb

param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库(Optional)

func (*DescribeActiveQueryPerformanceRequest) SetInstanceId

func (r *DescribeActiveQueryPerformanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeActiveQueryPerformanceRequest) SetPageNumber

func (r *DescribeActiveQueryPerformanceRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)

func (*DescribeActiveQueryPerformanceRequest) SetPageSize

func (r *DescribeActiveQueryPerformanceRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数(Optional)

func (*DescribeActiveQueryPerformanceRequest) SetRegionId

func (r *DescribeActiveQueryPerformanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeActiveQueryPerformanceRequest) SetThreshold

func (r *DescribeActiveQueryPerformanceRequest) SetThreshold(threshold int)

param threshold: 返回执行时间大于等于threshold的记录,默认10,单位秒(Optional)

type DescribeActiveQueryPerformanceResponse

type DescribeActiveQueryPerformanceResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DescribeActiveQueryPerformanceResult `json:"result"`
}

type DescribeActiveQueryPerformanceResult

type DescribeActiveQueryPerformanceResult struct {
	ActiveQueryPerformanceResult []rds.ActiveQueryPerformanceResult `json:"activeQueryPerformanceResult"`
	TotalCount                   int                                `json:"totalCount"`
	PageNumber                   int                                `json:"pageNumber"`
	PageSize                     int                                `json:"pageSize"`
}

type DescribeAuditDownloadURLRequest

type DescribeAuditDownloadURLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 审计文件名  */
	FileName string `json:"fileName"`
}

func NewDescribeAuditDownloadURLRequest

func NewDescribeAuditDownloadURLRequest(
	regionId string,
	instanceId string,
	fileName string,
) *DescribeAuditDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 审计文件名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAuditDownloadURLRequestWithAllParams

func NewDescribeAuditDownloadURLRequestWithAllParams(
	regionId string,
	instanceId string,
	fileName string,
) *DescribeAuditDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 审计文件名 (Required)

func NewDescribeAuditDownloadURLRequestWithoutParam

func NewDescribeAuditDownloadURLRequestWithoutParam() *DescribeAuditDownloadURLRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAuditDownloadURLRequest) GetRegionId

func (r DescribeAuditDownloadURLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAuditDownloadURLRequest) SetFileName

func (r *DescribeAuditDownloadURLRequest) SetFileName(fileName string)

param fileName: 审计文件名(Required)

func (*DescribeAuditDownloadURLRequest) SetInstanceId

func (r *DescribeAuditDownloadURLRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAuditDownloadURLRequest) SetRegionId

func (r *DescribeAuditDownloadURLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAuditDownloadURLResponse

type DescribeAuditDownloadURLResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeAuditDownloadURLResult `json:"result"`
}

type DescribeAuditDownloadURLResult

type DescribeAuditDownloadURLResult struct {
	PublicURL   string `json:"publicURL"`
	InternalURL string `json:"internalURL"`
}

type DescribeAuditFilesRequest

type DescribeAuditFilesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeAuditFilesRequest

func NewDescribeAuditFilesRequest(
	regionId string,
	instanceId string,
) *DescribeAuditFilesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAuditFilesRequestWithAllParams

func NewDescribeAuditFilesRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeAuditFilesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeAuditFilesRequestWithoutParam

func NewDescribeAuditFilesRequestWithoutParam() *DescribeAuditFilesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAuditFilesRequest) GetRegionId

func (r DescribeAuditFilesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAuditFilesRequest) SetInstanceId

func (r *DescribeAuditFilesRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAuditFilesRequest) SetRegionId

func (r *DescribeAuditFilesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAuditFilesResponse

type DescribeAuditFilesResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeAuditFilesResult `json:"result"`
}

type DescribeAuditFilesResult

type DescribeAuditFilesResult struct {
	AuditFiles []rds.AuditFile `json:"auditFiles"`
}

type DescribeAuditOptionsRequest

type DescribeAuditOptionsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项  */
	Name string `json:"name"`
}

func NewDescribeAuditOptionsRequest

func NewDescribeAuditOptionsRequest(
	regionId string,
	instanceId string,
	name string,
) *DescribeAuditOptionsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param name: 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAuditOptionsRequestWithAllParams

func NewDescribeAuditOptionsRequestWithAllParams(
	regionId string,
	instanceId string,
	name string,
) *DescribeAuditOptionsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param name: 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项 (Required)

func NewDescribeAuditOptionsRequestWithoutParam

func NewDescribeAuditOptionsRequestWithoutParam() *DescribeAuditOptionsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAuditOptionsRequest) GetRegionId

func (r DescribeAuditOptionsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAuditOptionsRequest) SetInstanceId

func (r *DescribeAuditOptionsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAuditOptionsRequest) SetName

func (r *DescribeAuditOptionsRequest) SetName(name string)

param name: 审计选项类别,**大小写敏感**,目前支持两种类型:<br>(1)AuditOptions开头:在disalbed参数中返回SQL Server各个版本支持的所有选项,支持的名称为<br>AuditOptions2008R2<br>AuditOptions2012<br>AuditOptions2014<br>AuditOptions2016<br>例如输入参数为"AuditOptions2016",则在disabled字段中返回SQL Server 2016 版本所支持的所有的审计选项<br>(2)AuditDefault开头:京东云建议的默认选项,在enabled参数中返回建议开启的选项,在disabled参数中返回不开启的选项,支持的名称为:<br>AuditDefault2008R2<br>AuditDefault2012<br>AuditDefault2014<br>AuditDefault2016<br>例如输入参数为"AuditDefault2016",则在enabled字段返回SQL Server 2016 版本中京东云建议开启的审计选项,在disabled字段中返回建议不开启的选项(Required)

func (*DescribeAuditOptionsRequest) SetRegionId

func (r *DescribeAuditOptionsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAuditOptionsResponse

type DescribeAuditOptionsResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeAuditOptionsResult `json:"result"`
}

type DescribeAuditOptionsResult

type DescribeAuditOptionsResult struct {
	Enabled  []string `json:"enabled"`
	Disabled []string `json:"disabled"`
}

type DescribeAuditRequest

type DescribeAuditRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeAuditRequest

func NewDescribeAuditRequest(
	regionId string,
	instanceId string,
) *DescribeAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAuditRequestWithAllParams

func NewDescribeAuditRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeAuditRequestWithoutParam

func NewDescribeAuditRequestWithoutParam() *DescribeAuditRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAuditRequest) GetRegionId

func (r DescribeAuditRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAuditRequest) SetInstanceId

func (r *DescribeAuditRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAuditRequest) SetRegionId

func (r *DescribeAuditRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAuditResponse

type DescribeAuditResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DescribeAuditResult `json:"result"`
}

type DescribeAuditResult

type DescribeAuditResult struct {
	Enabled []string `json:"enabled"`
}

type DescribeAuditResultRequest

type DescribeAuditResultRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天  */
	StartTime string `json:"startTime"`

	/* 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天  */
	EndTime string `json:"endTime"`

	/* 数据库名 (Optional) */
	DbName *string `json:"dbName"`

	/* 账号名 (Optional) */
	AccountName *string `json:"accountName"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞) (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:10、20、50 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 过滤参数,多个过滤参数之间的关系为“与”(and)
	支持以下属性的过滤:
	operation
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeAuditResultRequest

func NewDescribeAuditResultRequest(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
) *DescribeAuditResultRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天 (Required) * param endTime: 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAuditResultRequestWithAllParams

func NewDescribeAuditResultRequestWithAllParams(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
	dbName *string,
	accountName *string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeAuditResultRequest
  • param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required)
  • param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
  • param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天 (Required)
  • param endTime: 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天 (Required)
  • param dbName: 数据库名 (Optional)
  • param accountName: 账号名 (Optional)
  • param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞) (Optional)
  • param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、50 (Optional)
  • param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)

支持以下属性的过滤: operation

(Optional)

func NewDescribeAuditResultRequestWithoutParam

func NewDescribeAuditResultRequestWithoutParam() *DescribeAuditResultRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAuditResultRequest) GetRegionId

func (r DescribeAuditResultRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAuditResultRequest) SetAccountName

func (r *DescribeAuditResultRequest) SetAccountName(accountName string)

param accountName: 账号名(Optional)

func (*DescribeAuditResultRequest) SetDbName

func (r *DescribeAuditResultRequest) SetDbName(dbName string)

param dbName: 数据库名(Optional)

func (*DescribeAuditResultRequest) SetEndTime

func (r *DescribeAuditResultRequest) SetEndTime(endTime string)

param endTime: 查询截止时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不能超过3天(Required)

func (*DescribeAuditResultRequest) SetFilters

func (r *DescribeAuditResultRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)

支持以下属性的过滤: operation (Optional)

func (*DescribeAuditResultRequest) SetInstanceId

func (r *DescribeAuditResultRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeAuditResultRequest) SetPageNumber

func (r *DescribeAuditResultRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)(Optional)

func (*DescribeAuditResultRequest) SetPageSize

func (r *DescribeAuditResultRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、50(Optional)

func (*DescribeAuditResultRequest) SetRegionId

func (r *DescribeAuditResultRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeAuditResultRequest) SetStartTime

func (r *DescribeAuditResultRequest) SetStartTime(startTime string)

param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间不能早于当前时间30天(Required)

type DescribeAuditResultResponse

type DescribeAuditResultResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeAuditResultResult `json:"result"`
}

type DescribeAuditResultResult

type DescribeAuditResultResult struct {
	AuditResult []rds.AuditResult `json:"auditResult"`
	TotalCount  int               `json:"totalCount"`
}

type DescribeAzsRequest

type DescribeAzsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)  */
	Engine string `json:"engine"`
}

func NewDescribeAzsRequest

func NewDescribeAzsRequest(
	regionId string,
	engine string,
) *DescribeAzsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeAzsRequestWithAllParams

func NewDescribeAzsRequestWithAllParams(
	regionId string,
	engine string,
) *DescribeAzsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required)

func NewDescribeAzsRequestWithoutParam

func NewDescribeAzsRequestWithoutParam() *DescribeAzsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeAzsRequest) GetRegionId

func (r DescribeAzsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeAzsRequest) SetEngine

func (r *DescribeAzsRequest) SetEngine(engine string)

param engine: RDS引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)

func (*DescribeAzsRequest) SetRegionId

func (r *DescribeAzsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeAzsResponse

type DescribeAzsResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DescribeAzsResult  `json:"result"`
}

type DescribeAzsResult

type DescribeAzsResult struct {
	Azs []string `json:"azs"`
}

type DescribeBackupChargeRequest

type DescribeBackupChargeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 实例引擎类型  */
	Engine string `json:"engine"`
}

func NewDescribeBackupChargeRequest

func NewDescribeBackupChargeRequest(
	regionId string,
	engine string,
) *DescribeBackupChargeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: 实例引擎类型 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBackupChargeRequestWithAllParams

func NewDescribeBackupChargeRequestWithAllParams(
	regionId string,
	engine string,
) *DescribeBackupChargeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: 实例引擎类型 (Required)

func NewDescribeBackupChargeRequestWithoutParam

func NewDescribeBackupChargeRequestWithoutParam() *DescribeBackupChargeRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBackupChargeRequest) GetRegionId

func (r DescribeBackupChargeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBackupChargeRequest) SetEngine

func (r *DescribeBackupChargeRequest) SetEngine(engine string)

param engine: 实例引擎类型(Required)

func (*DescribeBackupChargeRequest) SetRegionId

func (r *DescribeBackupChargeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeBackupChargeResponse

type DescribeBackupChargeResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeBackupChargeResult `json:"result"`
}

type DescribeBackupChargeResult

type DescribeBackupChargeResult struct {
	Charge charge.Charge `json:"charge"`
}

type DescribeBackupDownloadURLRequest

type DescribeBackupDownloadURLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 备份ID  */
	BackupId string `json:"backupId"`

	/* 文件名称<br>- MySQL:不支持该参数<br>- SQL Server:必须输入该参数,指定该备份中需要获取下载链接的文件名称。备份中的文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Optional) */
	FileName *string `json:"fileName"`

	/* 指定下载链接的过期时间,单位秒, 取值范围为 1 ~ 86400 秒;支持 SQL Server:缺省为 86400 秒。支持 MySQL, Percona, MariaDB:缺省为 300 秒。 (Optional) */
	UrlExpirationSecond *string `json:"urlExpirationSecond"`
}

func NewDescribeBackupDownloadURLRequest

func NewDescribeBackupDownloadURLRequest(
	regionId string,
	backupId string,
) *DescribeBackupDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBackupDownloadURLRequestWithAllParams

func NewDescribeBackupDownloadURLRequestWithAllParams(
	regionId string,
	backupId string,
	fileName *string,
	urlExpirationSecond *string,
) *DescribeBackupDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param backupId: 备份ID (Required) * param fileName: 文件名称<br>- MySQL:不支持该参数<br>- SQL Server:必须输入该参数,指定该备份中需要获取下载链接的文件名称。备份中的文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Optional) * param urlExpirationSecond: 指定下载链接的过期时间,单位秒, 取值范围为 1 ~ 86400 秒;支持 SQL Server:缺省为 86400 秒。支持 MySQL, Percona, MariaDB:缺省为 300 秒。 (Optional)

func NewDescribeBackupDownloadURLRequestWithoutParam

func NewDescribeBackupDownloadURLRequestWithoutParam() *DescribeBackupDownloadURLRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBackupDownloadURLRequest) GetRegionId

func (r DescribeBackupDownloadURLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBackupDownloadURLRequest) SetBackupId

func (r *DescribeBackupDownloadURLRequest) SetBackupId(backupId string)

param backupId: 备份ID(Required)

func (*DescribeBackupDownloadURLRequest) SetFileName

func (r *DescribeBackupDownloadURLRequest) SetFileName(fileName string)

param fileName: 文件名称<br>- MySQL:不支持该参数<br>- SQL Server:必须输入该参数,指定该备份中需要获取下载链接的文件名称。备份中的文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份(Optional)

func (*DescribeBackupDownloadURLRequest) SetRegionId

func (r *DescribeBackupDownloadURLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeBackupDownloadURLRequest) SetUrlExpirationSecond

func (r *DescribeBackupDownloadURLRequest) SetUrlExpirationSecond(urlExpirationSecond string)

param urlExpirationSecond: 指定下载链接的过期时间,单位秒, 取值范围为 1 ~ 86400 秒;支持 SQL Server:缺省为 86400 秒。支持 MySQL, Percona, MariaDB:缺省为 300 秒。(Optional)

type DescribeBackupDownloadURLResponse

type DescribeBackupDownloadURLResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeBackupDownloadURLResult `json:"result"`
}

type DescribeBackupDownloadURLResult

type DescribeBackupDownloadURLResult struct {
	PublicURL   string `json:"publicURL"`
	InternalURL string `json:"internalURL"`
}

type DescribeBackupPolicyRequest

type DescribeBackupPolicyRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeBackupPolicyRequest

func NewDescribeBackupPolicyRequest(
	regionId string,
	instanceId string,
) *DescribeBackupPolicyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBackupPolicyRequestWithAllParams

func NewDescribeBackupPolicyRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeBackupPolicyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeBackupPolicyRequestWithoutParam

func NewDescribeBackupPolicyRequestWithoutParam() *DescribeBackupPolicyRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBackupPolicyRequest) GetRegionId

func (r DescribeBackupPolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBackupPolicyRequest) SetInstanceId

func (r *DescribeBackupPolicyRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeBackupPolicyRequest) SetRegionId

func (r *DescribeBackupPolicyRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeBackupPolicyResponse

type DescribeBackupPolicyResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeBackupPolicyResult `json:"result"`
}

type DescribeBackupPolicyResult

type DescribeBackupPolicyResult struct {
	StartWindow           string `json:"startWindow"`
	RetentionPeriod       int    `json:"retentionPeriod"`
	BinlogRetentionPeriod int    `json:"binlogRetentionPeriod"`
	BinlogUsageLimit      int    `json:"binlogUsageLimit"`
	BinlogSpaceProtection string `json:"binlogSpaceProtection"`
	CycleMode             int    `json:"cycleMode"`
	BackupBinlog          string `json:"backupBinlog"`
	EnhancedBackup        string `json:"enhancedBackup"`
}

type DescribeBackupSpaceRequest

type DescribeBackupSpaceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeBackupSpaceRequest

func NewDescribeBackupSpaceRequest(
	regionId string,
	instanceId string,
) *DescribeBackupSpaceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBackupSpaceRequestWithAllParams

func NewDescribeBackupSpaceRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeBackupSpaceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeBackupSpaceRequestWithoutParam

func NewDescribeBackupSpaceRequestWithoutParam() *DescribeBackupSpaceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBackupSpaceRequest) GetRegionId

func (r DescribeBackupSpaceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBackupSpaceRequest) SetInstanceId

func (r *DescribeBackupSpaceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeBackupSpaceRequest) SetRegionId

func (r *DescribeBackupSpaceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeBackupSpaceResponse

type DescribeBackupSpaceResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeBackupSpaceResult `json:"result"`
}

type DescribeBackupSpaceResult

type DescribeBackupSpaceResult struct {
	TotalFreeSpace float64 `json:"totalFreeSpace"`
	TotalUsedSpace float64 `json:"totalUsedSpace"`
	Current        float64 `json:"current"`
}

type DescribeBackupSynchronicitiesRequest

type DescribeBackupSynchronicitiesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 显示数据的页码,默认为1,取值范围:[1,∞),页码超过总页数时,显示最后一页,用于查询列表的接口 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeBackupSynchronicitiesRequest

func NewDescribeBackupSynchronicitiesRequest(
	regionId string,
) *DescribeBackupSynchronicitiesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBackupSynchronicitiesRequestWithAllParams

func NewDescribeBackupSynchronicitiesRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
) *DescribeBackupSynchronicitiesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[1,∞),页码超过总页数时,显示最后一页,用于查询列表的接口 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional)

func NewDescribeBackupSynchronicitiesRequestWithoutParam

func NewDescribeBackupSynchronicitiesRequestWithoutParam() *DescribeBackupSynchronicitiesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBackupSynchronicitiesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBackupSynchronicitiesRequest) SetPageNumber

func (r *DescribeBackupSynchronicitiesRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[1,∞),页码超过总页数时,显示最后一页,用于查询列表的接口(Optional)

func (*DescribeBackupSynchronicitiesRequest) SetPageSize

func (r *DescribeBackupSynchronicitiesRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)

func (*DescribeBackupSynchronicitiesRequest) SetRegionId

func (r *DescribeBackupSynchronicitiesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeBackupSynchronicitiesResponse

type DescribeBackupSynchronicitiesResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeBackupSynchronicitiesResult `json:"result"`
}

type DescribeBackupSynchronicitiesResult

type DescribeBackupSynchronicitiesResult struct {
	BackupSynchronicities []rds.BackupSynchronicity `json:"backupSynchronicities"`
	TotalCount            int                       `json:"totalCount"`
}

type DescribeBackupsRequest

type DescribeBackupsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS实例ID,唯一标识一个实例  */
	InstanceId string `json:"instanceId"`

	/* 查询备份类型,0为手动备份,1为自动备份,不传表示全部. <br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */
	Auto *int `json:"auto"`

	/* 返回backupType等于指定值的备份列表。full为全量备份,diff为增量备份<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */
	BackupTypeFilter *string `json:"backupTypeFilter"`

	/* 返回dbName等于指定值的备份列表,不传或为空返回全部<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */
	DbNameFilter *string `json:"dbNameFilter"`

	/* 返回备份开始时间大于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */
	BackupTimeRangeStartFilter *string `json:"backupTimeRangeStartFilter"`

	/* 返回备份开始时间小于等于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) */
	BackupTimeRangeEndFilter *string `json:"backupTimeRangeEndFilter"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。  */
	PageNumber int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100  */
	PageSize int `json:"pageSize"`
}

func NewDescribeBackupsRequest

func NewDescribeBackupsRequest(
	regionId string,
	instanceId string,
	pageNumber int,
	pageSize int,
) *DescribeBackupsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Required) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBackupsRequestWithAllParams

func NewDescribeBackupsRequestWithAllParams(
	regionId string,
	instanceId string,
	auto *int,
	backupTypeFilter *string,
	dbNameFilter *string,
	backupTimeRangeStartFilter *string,
	backupTimeRangeEndFilter *string,
	pageNumber int,
	pageSize int,
) *DescribeBackupsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Required) * param auto: 查询备份类型,0为手动备份,1为自动备份,不传表示全部. <br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param backupTypeFilter: 返回backupType等于指定值的备份列表。full为全量备份,diff为增量备份<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param dbNameFilter: 返回dbName等于指定值的备份列表,不传或为空返回全部<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param backupTimeRangeStartFilter: 返回备份开始时间大于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param backupTimeRangeEndFilter: 返回备份开始时间小于等于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代** (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Required) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Required)

func NewDescribeBackupsRequestWithoutParam

func NewDescribeBackupsRequestWithoutParam() *DescribeBackupsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBackupsRequest) GetRegionId

func (r DescribeBackupsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBackupsRequest) SetAuto

func (r *DescribeBackupsRequest) SetAuto(auto int)

param auto: 查询备份类型,0为手动备份,1为自动备份,不传表示全部. <br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)

func (*DescribeBackupsRequest) SetBackupTimeRangeEndFilter

func (r *DescribeBackupsRequest) SetBackupTimeRangeEndFilter(backupTimeRangeEndFilter string)

param backupTimeRangeEndFilter: 返回备份开始时间小于等于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)

func (*DescribeBackupsRequest) SetBackupTimeRangeStartFilter

func (r *DescribeBackupsRequest) SetBackupTimeRangeStartFilter(backupTimeRangeStartFilter string)

param backupTimeRangeStartFilter: 返回备份开始时间大于该时间的备份列表<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)

func (*DescribeBackupsRequest) SetBackupTypeFilter

func (r *DescribeBackupsRequest) SetBackupTypeFilter(backupTypeFilter string)

param backupTypeFilter: 返回backupType等于指定值的备份列表。full为全量备份,diff为增量备份<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)

func (*DescribeBackupsRequest) SetDbNameFilter

func (r *DescribeBackupsRequest) SetDbNameFilter(dbNameFilter string)

param dbNameFilter: 返回dbName等于指定值的备份列表,不传或为空返回全部<br>**- 测试参数,仅支持SQL Server,后续可能被其他参数取代**(Optional)

func (*DescribeBackupsRequest) SetInstanceId

func (r *DescribeBackupsRequest) SetInstanceId(instanceId string)

param instanceId: RDS实例ID,唯一标识一个实例(Required)

func (*DescribeBackupsRequest) SetPageNumber

func (r *DescribeBackupsRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Required)

func (*DescribeBackupsRequest) SetPageSize

func (r *DescribeBackupsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Required)

func (*DescribeBackupsRequest) SetRegionId

func (r *DescribeBackupsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeBackupsResponse

type DescribeBackupsResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeBackupsResult `json:"result"`
}

type DescribeBackupsResult

type DescribeBackupsResult struct {
	Backup     []rds.Backup `json:"backup"`
	TotalCount int          `json:"totalCount"`
}

type DescribeBinlogDownloadURLRequest

type DescribeBinlogDownloadURLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* binlog的备份ID,可以通过describeBinlogs获得  */
	BinlogBackupId string `json:"binlogBackupId"`

	/* 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional) */
	Seconds *int `json:"seconds"`
}

func NewDescribeBinlogDownloadURLRequest

func NewDescribeBinlogDownloadURLRequest(
	regionId string,
	instanceId string,
	binlogBackupId string,
) *DescribeBinlogDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param binlogBackupId: binlog的备份ID,可以通过describeBinlogs获得 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBinlogDownloadURLRequestWithAllParams

func NewDescribeBinlogDownloadURLRequestWithAllParams(
	regionId string,
	instanceId string,
	binlogBackupId string,
	seconds *int,
) *DescribeBinlogDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param binlogBackupId: binlog的备份ID,可以通过describeBinlogs获得 (Required) * param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional)

func NewDescribeBinlogDownloadURLRequestWithoutParam

func NewDescribeBinlogDownloadURLRequestWithoutParam() *DescribeBinlogDownloadURLRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBinlogDownloadURLRequest) GetRegionId

func (r DescribeBinlogDownloadURLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBinlogDownloadURLRequest) SetBinlogBackupId

func (r *DescribeBinlogDownloadURLRequest) SetBinlogBackupId(binlogBackupId string)

param binlogBackupId: binlog的备份ID,可以通过describeBinlogs获得(Required)

func (*DescribeBinlogDownloadURLRequest) SetInstanceId

func (r *DescribeBinlogDownloadURLRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeBinlogDownloadURLRequest) SetRegionId

func (r *DescribeBinlogDownloadURLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeBinlogDownloadURLRequest) SetSeconds

func (r *DescribeBinlogDownloadURLRequest) SetSeconds(seconds int)

param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒(Optional)

type DescribeBinlogDownloadURLResponse

type DescribeBinlogDownloadURLResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeBinlogDownloadURLResult `json:"result"`
}

type DescribeBinlogDownloadURLResult

type DescribeBinlogDownloadURLResult struct {
	PublicURL   string `json:"publicURL"`
	InternalURL string `json:"internalURL"`
}

type DescribeBinlogsRequest

type DescribeBinlogsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional) */
	StartTime *string `json:"startTime"`

	/* 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeBinlogsRequest

func NewDescribeBinlogsRequest(
	regionId string,
	instanceId string,
) *DescribeBinlogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBinlogsRequestWithAllParams

func NewDescribeBinlogsRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
	startTime *string,
	endTime *string,
) *DescribeBinlogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) * param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional) * param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天 (Optional)

func NewDescribeBinlogsRequestWithoutParam

func NewDescribeBinlogsRequestWithoutParam() *DescribeBinlogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBinlogsRequest) GetRegionId

func (r DescribeBinlogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBinlogsRequest) SetEndTime

func (r *DescribeBinlogsRequest) SetEndTime(endTime string)

param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天(Optional)

func (*DescribeBinlogsRequest) SetInstanceId

func (r *DescribeBinlogsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeBinlogsRequest) SetPageNumber

func (r *DescribeBinlogsRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)

func (*DescribeBinlogsRequest) SetPageSize

func (r *DescribeBinlogsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)

func (*DescribeBinlogsRequest) SetRegionId

func (r *DescribeBinlogsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeBinlogsRequest) SetStartTime

func (r *DescribeBinlogsRequest) SetStartTime(startTime string)

param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到结束时间不超过三天(Optional)

type DescribeBinlogsResponse

type DescribeBinlogsResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeBinlogsResult `json:"result"`
}

type DescribeBinlogsResult

type DescribeBinlogsResult struct {
	TotalCount int          `json:"totalCount"`
	Binlogs    []rds.Binlog `json:"binlogs"`
}

type DescribeDatabasesRequest

type DescribeDatabasesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段** (Optional) */
	DbName *string `json:"dbName"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeDatabasesRequest

func NewDescribeDatabasesRequest(
	regionId string,
	instanceId string,
) *DescribeDatabasesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDatabasesRequestWithAllParams

func NewDescribeDatabasesRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName *string,
	pageNumber *int,
	pageSize *int,
) *DescribeDatabasesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段** (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)

func NewDescribeDatabasesRequestWithoutParam

func NewDescribeDatabasesRequestWithoutParam() *DescribeDatabasesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDatabasesRequest) GetRegionId

func (r DescribeDatabasesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDatabasesRequest) SetDbName

func (r *DescribeDatabasesRequest) SetDbName(dbName string)

param dbName: 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段**(Optional)

func (*DescribeDatabasesRequest) SetInstanceId

func (r *DescribeDatabasesRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeDatabasesRequest) SetPageNumber

func (r *DescribeDatabasesRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeDatabasesRequest) SetPageSize

func (r *DescribeDatabasesRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)

func (*DescribeDatabasesRequest) SetRegionId

func (r *DescribeDatabasesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeDatabasesResponse

type DescribeDatabasesResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeDatabasesResult `json:"result"`
}

type DescribeDatabasesResult

type DescribeDatabasesResult struct {
	Databases  []rds.Database `json:"databases"`
	TotalCount int            `json:"totalCount"`
}

type DescribeErrorLogRequest

type DescribeErrorLogRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间  */
	StartTime string `json:"startTime"`

	/* 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间  */
	EndTime string `json:"endTime"`

	/* 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) */
	DbName *string `json:"dbName"`

	/* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeErrorLogRequest

func NewDescribeErrorLogRequest(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
) *DescribeErrorLogRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeErrorLogRequestWithAllParams

func NewDescribeErrorLogRequestWithAllParams(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
	dbName *string,
	pageNumber *int,
	pageSize *int,
) *DescribeErrorLogRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional)

func NewDescribeErrorLogRequestWithoutParam

func NewDescribeErrorLogRequestWithoutParam() *DescribeErrorLogRequest

This constructor has better compatible ability when API parameters changed

func (DescribeErrorLogRequest) GetRegionId

func (r DescribeErrorLogRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeErrorLogRequest) SetDbName

func (r *DescribeErrorLogRequest) SetDbName(dbName string)

param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志(Optional)

func (*DescribeErrorLogRequest) SetEndTime

func (r *DescribeErrorLogRequest) SetEndTime(endTime string)

param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)

func (*DescribeErrorLogRequest) SetInstanceId

func (r *DescribeErrorLogRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeErrorLogRequest) SetPageNumber

func (r *DescribeErrorLogRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)

func (*DescribeErrorLogRequest) SetPageSize

func (r *DescribeErrorLogRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)

func (*DescribeErrorLogRequest) SetRegionId

func (r *DescribeErrorLogRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeErrorLogRequest) SetStartTime

func (r *DescribeErrorLogRequest) SetStartTime(startTime string)

param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)

type DescribeErrorLogResponse

type DescribeErrorLogResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeErrorLogResult `json:"result"`
}

type DescribeErrorLogResult

type DescribeErrorLogResult struct {
	ErrorLogs  []rds.ErrorLogDigest `json:"errorLogs"`
	TotalCount int                  `json:"totalCount"`
}

type DescribeErrorLogsRequest

type DescribeErrorLogsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeErrorLogsRequest

func NewDescribeErrorLogsRequest(
	regionId string,
	instanceId string,
) *DescribeErrorLogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeErrorLogsRequestWithAllParams

func NewDescribeErrorLogsRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeErrorLogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeErrorLogsRequestWithoutParam

func NewDescribeErrorLogsRequestWithoutParam() *DescribeErrorLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeErrorLogsRequest) GetRegionId

func (r DescribeErrorLogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeErrorLogsRequest) SetInstanceId

func (r *DescribeErrorLogsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeErrorLogsRequest) SetRegionId

func (r *DescribeErrorLogsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeErrorLogsResponse

type DescribeErrorLogsResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeErrorLogsResult `json:"result"`
}

type DescribeErrorLogsResult

type DescribeErrorLogsResult struct {
	ErrorLogs []rds.ErrorLog `json:"errorLogs"`
}

type DescribeImportFilesRequest

type DescribeImportFilesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeImportFilesRequest

func NewDescribeImportFilesRequest(
	regionId string,
	instanceId string,
) *DescribeImportFilesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeImportFilesRequestWithAllParams

func NewDescribeImportFilesRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeImportFilesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeImportFilesRequestWithoutParam

func NewDescribeImportFilesRequestWithoutParam() *DescribeImportFilesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeImportFilesRequest) GetRegionId

func (r DescribeImportFilesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeImportFilesRequest) SetInstanceId

func (r *DescribeImportFilesRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeImportFilesRequest) SetRegionId

func (r *DescribeImportFilesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeImportFilesResponse

type DescribeImportFilesResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeImportFilesResult `json:"result"`
}

type DescribeImportFilesResult

type DescribeImportFilesResult struct {
	ImportFiles []rds.ImportFile `json:"importFiles"`
}

type DescribeIndexPerformanceRequest

type DescribeIndexPerformanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br>  */
	QueryType string `json:"queryType"`

	/* 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) */
	Db *string `json:"db"`

	/* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeIndexPerformanceRequest

func NewDescribeIndexPerformanceRequest(
	regionId string,
	instanceId string,
	queryType string,
) *DescribeIndexPerformanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br> (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeIndexPerformanceRequestWithAllParams

func NewDescribeIndexPerformanceRequestWithAllParams(
	regionId string,
	instanceId string,
	queryType string,
	db *string,
	pageNumber *int,
	pageSize *int,
) *DescribeIndexPerformanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br> (Required) * param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional)

func NewDescribeIndexPerformanceRequestWithoutParam

func NewDescribeIndexPerformanceRequestWithoutParam() *DescribeIndexPerformanceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeIndexPerformanceRequest) GetRegionId

func (r DescribeIndexPerformanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeIndexPerformanceRequest) SetDb

param db: 需要查询的数据库名,多个数据库名之间用英文逗号分隔,默认所有数据库(Optional)

func (*DescribeIndexPerformanceRequest) SetInstanceId

func (r *DescribeIndexPerformanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeIndexPerformanceRequest) SetPageNumber

func (r *DescribeIndexPerformanceRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)

func (*DescribeIndexPerformanceRequest) SetPageSize

func (r *DescribeIndexPerformanceRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口(Optional)

func (*DescribeIndexPerformanceRequest) SetQueryType

func (r *DescribeIndexPerformanceRequest) SetQueryType(queryType string)

param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>Missing:缺失索引<br>Size:索引大小,单位KB<br>Updates:索引更新次数<br>Scans:表扫描次数<br>Used:最少使用<br>(Required)

func (*DescribeIndexPerformanceRequest) SetRegionId

func (r *DescribeIndexPerformanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeIndexPerformanceResponse

type DescribeIndexPerformanceResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeIndexPerformanceResult `json:"result"`
}

type DescribeIndexPerformanceResult

type DescribeIndexPerformanceResult struct {
	MissingIndexResult     []rds.MissingIndexResult     `json:"missingIndexResult"`
	IndexPerformanceResult []rds.IndexPerformanceResult `json:"indexPerformanceResult"`
	TotalCount             int                          `json:"totalCount"`
	PageNumber             int                          `json:"pageNumber"`
	PageSize               int                          `json:"pageSize"`
}

type DescribeInstanceAttributesRequest

type DescribeInstanceAttributesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeInstanceAttributesRequest

func NewDescribeInstanceAttributesRequest(
	regionId string,
	instanceId string,
) *DescribeInstanceAttributesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstanceAttributesRequestWithAllParams

func NewDescribeInstanceAttributesRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeInstanceAttributesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeInstanceAttributesRequestWithoutParam

func NewDescribeInstanceAttributesRequestWithoutParam() *DescribeInstanceAttributesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceAttributesRequest) GetRegionId

func (r DescribeInstanceAttributesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInstanceAttributesRequest) SetInstanceId

func (r *DescribeInstanceAttributesRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeInstanceAttributesRequest) SetRegionId

func (r *DescribeInstanceAttributesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeInstanceAttributesResponse

type DescribeInstanceAttributesResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DescribeInstanceAttributesResult `json:"result"`
}

type DescribeInstanceAttributesResult

type DescribeInstanceAttributesResult struct {
	DbInstanceAttributes rds.DBInstanceAttribute `json:"dbInstanceAttributes"`
}

type DescribeInstanceMaintainTimeRequest

type DescribeInstanceMaintainTimeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeInstanceMaintainTimeRequest

func NewDescribeInstanceMaintainTimeRequest(
	regionId string,
	instanceId string,
) *DescribeInstanceMaintainTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstanceMaintainTimeRequestWithAllParams

func NewDescribeInstanceMaintainTimeRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeInstanceMaintainTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeInstanceMaintainTimeRequestWithoutParam

func NewDescribeInstanceMaintainTimeRequestWithoutParam() *DescribeInstanceMaintainTimeRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceMaintainTimeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInstanceMaintainTimeRequest) SetInstanceId

func (r *DescribeInstanceMaintainTimeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeInstanceMaintainTimeRequest) SetRegionId

func (r *DescribeInstanceMaintainTimeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeInstanceMaintainTimeResponse

type DescribeInstanceMaintainTimeResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DescribeInstanceMaintainTimeResult `json:"result"`
}

type DescribeInstanceMaintainTimeResult

type DescribeInstanceMaintainTimeResult struct {
	MaintainTime   string   `json:"maintainTime"`
	MaintainPeriod []string `json:"maintainPeriod"`
}

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 过滤参数,多个过滤参数之间的关系为“与”(and)
	支持以下属性的过滤:
	instanceId, 支持operator选项:eq
	instanceName, 支持operator选项:eq, like
	engine, 支持operator选项:eq
	engineVersion, 支持operator选项:eq
	instanceStatus, 支持operator选项:eq
	vpcId, 支持operator选项:eq
	instanceType, 支持operator选项:eq
	internalDomainName, 支持operator选项:eq
	publicDomainName, 支持operator选项:eq
	 (Optional) */
	Filters []common.Filter `json:"filters"`

	/* 资源标签 (Optional) */
	TagFilters []common.TagFilter `json:"tagFilters"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest(
	regionId string,
) *DescribeInstancesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInstancesRequestWithAllParams

func NewDescribeInstancesRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
	tagFilters []common.TagFilter,
) *DescribeInstancesRequest
  • param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required)
  • param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional)
  • param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)
  • param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)

支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq, like engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq vpcId, 支持operator选项:eq instanceType, 支持operator选项:eq internalDomainName, 支持operator选项:eq publicDomainName, 支持operator选项:eq

(Optional)
* param tagFilters: 资源标签 (Optional)

func NewDescribeInstancesRequestWithoutParam

func NewDescribeInstancesRequestWithoutParam() *DescribeInstancesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstancesRequest) GetRegionId

func (r DescribeInstancesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInstancesRequest) SetFilters

func (r *DescribeInstancesRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)

支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq, like engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq vpcId, 支持operator选项:eq instanceType, 支持operator选项:eq internalDomainName, 支持operator选项:eq publicDomainName, 支持operator选项:eq (Optional)

func (*DescribeInstancesRequest) SetPageNumber

func (r *DescribeInstancesRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeInstancesRequest) SetPageSize

func (r *DescribeInstancesRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)

func (*DescribeInstancesRequest) SetRegionId

func (r *DescribeInstancesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeInstancesRequest) SetTagFilters

func (r *DescribeInstancesRequest) SetTagFilters(tagFilters []common.TagFilter)

param tagFilters: 资源标签(Optional)

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeInstancesResult `json:"result"`
}

type DescribeInstancesResult

type DescribeInstancesResult struct {
	DbInstances []rds.DBInstance `json:"dbInstances"`
	TotalCount  int              `json:"totalCount"`
}

type DescribeInterceptRequest

type DescribeInterceptRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Instance ID  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeInterceptRequest

func NewDescribeInterceptRequest(
	regionId string,
	instanceId string,
) *DescribeInterceptRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInterceptRequestWithAllParams

func NewDescribeInterceptRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeInterceptRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)

func NewDescribeInterceptRequestWithoutParam

func NewDescribeInterceptRequestWithoutParam() *DescribeInterceptRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInterceptRequest) GetRegionId

func (r DescribeInterceptRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInterceptRequest) SetInstanceId

func (r *DescribeInterceptRequest) SetInstanceId(instanceId string)

param instanceId: Instance ID(Required)

func (*DescribeInterceptRequest) SetRegionId

func (r *DescribeInterceptRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeInterceptResponse

type DescribeInterceptResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeInterceptResult `json:"result"`
}

type DescribeInterceptResult

type DescribeInterceptResult struct {
	Available bool `json:"available"`
}

type DescribeInterceptResultRequest

type DescribeInterceptResultRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Instance ID  */
	InstanceId string `json:"instanceId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 过滤参数,多个过滤参数之间的关系为“与”(and);
	支持以下属性的过滤:account,database,keyword; 支持operator选项:eq,in; 仅支持 MySQL,Percona,MariaDB
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeInterceptResultRequest

func NewDescribeInterceptResultRequest(
	regionId string,
	instanceId string,
) *DescribeInterceptResultRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeInterceptResultRequestWithAllParams

func NewDescribeInterceptResultRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeInterceptResultRequest
  • param regionId: Region ID (Required)
  • param instanceId: Instance ID (Required)
  • param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional)
  • param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)
  • param filters: 过滤参数,多个过滤参数之间的关系为“与”(and);

支持以下属性的过滤:account,database,keyword; 支持operator选项:eq,in; 仅支持 MySQL,Percona,MariaDB

(Optional)

func NewDescribeInterceptResultRequestWithoutParam

func NewDescribeInterceptResultRequestWithoutParam() *DescribeInterceptResultRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInterceptResultRequest) GetRegionId

func (r DescribeInterceptResultRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeInterceptResultRequest) SetFilters

func (r *DescribeInterceptResultRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and);

支持以下属性的过滤:account,database,keyword; 支持operator选项:eq,in; 仅支持 MySQL,Percona,MariaDB (Optional)

func (*DescribeInterceptResultRequest) SetInstanceId

func (r *DescribeInterceptResultRequest) SetInstanceId(instanceId string)

param instanceId: Instance ID(Required)

func (*DescribeInterceptResultRequest) SetPageNumber

func (r *DescribeInterceptResultRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeInterceptResultRequest) SetPageSize

func (r *DescribeInterceptResultRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)

func (*DescribeInterceptResultRequest) SetRegionId

func (r *DescribeInterceptResultRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeInterceptResultResponse

type DescribeInterceptResultResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DescribeInterceptResultResult `json:"result"`
}

type DescribeInterceptResultResult

type DescribeInterceptResultResult struct {
	InterceptResult []rds.InterceptResult `json:"interceptResult"`
	TotalCount      int                   `json:"totalCount"`
}

type DescribeLatestRestoreTimeRequest

type DescribeLatestRestoreTimeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeLatestRestoreTimeRequest

func NewDescribeLatestRestoreTimeRequest(
	regionId string,
	instanceId string,
) *DescribeLatestRestoreTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLatestRestoreTimeRequestWithAllParams

func NewDescribeLatestRestoreTimeRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeLatestRestoreTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeLatestRestoreTimeRequestWithoutParam

func NewDescribeLatestRestoreTimeRequestWithoutParam() *DescribeLatestRestoreTimeRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLatestRestoreTimeRequest) GetRegionId

func (r DescribeLatestRestoreTimeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLatestRestoreTimeRequest) SetInstanceId

func (r *DescribeLatestRestoreTimeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeLatestRestoreTimeRequest) SetRegionId

func (r *DescribeLatestRestoreTimeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeLatestRestoreTimeResponse

type DescribeLatestRestoreTimeResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeLatestRestoreTimeResult `json:"result"`
}

type DescribeLatestRestoreTimeResult

type DescribeLatestRestoreTimeResult struct {
	LatestRestoreTime string `json:"latestRestoreTime"`
}

type DescribeLogDownloadURLRequest

type DescribeLogDownloadURLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 日志文件ID  */
	LogId string `json:"logId"`

	/* 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional) */
	Seconds *int `json:"seconds"`
}

func NewDescribeLogDownloadURLRequest

func NewDescribeLogDownloadURLRequest(
	regionId string,
	instanceId string,
	logId string,
) *DescribeLogDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLogDownloadURLRequestWithAllParams

func NewDescribeLogDownloadURLRequestWithAllParams(
	regionId string,
	instanceId string,
	logId string,
	seconds *int,
) *DescribeLogDownloadURLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒 (Optional)

func NewDescribeLogDownloadURLRequestWithoutParam

func NewDescribeLogDownloadURLRequestWithoutParam() *DescribeLogDownloadURLRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLogDownloadURLRequest) GetRegionId

func (r DescribeLogDownloadURLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLogDownloadURLRequest) SetInstanceId

func (r *DescribeLogDownloadURLRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeLogDownloadURLRequest) SetLogId

func (r *DescribeLogDownloadURLRequest) SetLogId(logId string)

param logId: 日志文件ID(Required)

func (*DescribeLogDownloadURLRequest) SetRegionId

func (r *DescribeLogDownloadURLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeLogDownloadURLRequest) SetSeconds

func (r *DescribeLogDownloadURLRequest) SetSeconds(seconds int)

param seconds: 设置链接地址的过期时间,单位是秒,默认值是 300 秒,最长不能超过取值范围为 1 ~ 86400 秒(Optional)

type DescribeLogDownloadURLResponse

type DescribeLogDownloadURLResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DescribeLogDownloadURLResult `json:"result"`
}

type DescribeLogDownloadURLResult

type DescribeLogDownloadURLResult struct {
	PublicURL   string `json:"publicURL"`
	InternalURL string `json:"internalURL"`
}

type DescribeLogsRequest

type DescribeLogsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 过滤参数,多个过滤参数之间的关系为“与”(and)
	支持以下属性的过滤:logType, 支持operator选项:eq, 仅支持 MySQL,Percona,MariaDB
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeLogsRequest

func NewDescribeLogsRequest(
	regionId string,
	instanceId string,
) *DescribeLogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeLogsRequestWithAllParams

func NewDescribeLogsRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeLogsRequest
  • param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required)
  • param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
  • param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional)
  • param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
  • param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)

支持以下属性的过滤:logType, 支持operator选项:eq, 仅支持 MySQL,Percona,MariaDB

(Optional)

func NewDescribeLogsRequestWithoutParam

func NewDescribeLogsRequestWithoutParam() *DescribeLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeLogsRequest) GetRegionId

func (r DescribeLogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeLogsRequest) SetFilters

func (r *DescribeLogsRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)

支持以下属性的过滤:logType, 支持operator选项:eq, 仅支持 MySQL,Percona,MariaDB (Optional)

func (*DescribeLogsRequest) SetInstanceId

func (r *DescribeLogsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeLogsRequest) SetPageNumber

func (r *DescribeLogsRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeLogsRequest) SetPageSize

func (r *DescribeLogsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)

func (*DescribeLogsRequest) SetRegionId

func (r *DescribeLogsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeLogsResponse

type DescribeLogsResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DescribeLogsResult `json:"result"`
}

type DescribeLogsResult

type DescribeLogsResult struct {
	Logs       []rds.Log `json:"logs"`
	TotalCount int       `json:"totalCount"`
}

type DescribeParameterGroupAttachedInstancesRequest

type DescribeParameterGroupAttachedInstancesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Parameter Group ID  */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeParameterGroupAttachedInstancesRequest

func NewDescribeParameterGroupAttachedInstancesRequest(
	regionId string,
	parameterGroupId string,
) *DescribeParameterGroupAttachedInstancesRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeParameterGroupAttachedInstancesRequestWithAllParams

func NewDescribeParameterGroupAttachedInstancesRequestWithAllParams(
	regionId string,
	parameterGroupId string,
	pageNumber *int,
	pageSize *int,
) *DescribeParameterGroupAttachedInstancesRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)

func NewDescribeParameterGroupAttachedInstancesRequestWithoutParam

func NewDescribeParameterGroupAttachedInstancesRequestWithoutParam() *DescribeParameterGroupAttachedInstancesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeParameterGroupAttachedInstancesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeParameterGroupAttachedInstancesRequest) SetPageNumber

func (r *DescribeParameterGroupAttachedInstancesRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页(Optional)

func (*DescribeParameterGroupAttachedInstancesRequest) SetPageSize

func (r *DescribeParameterGroupAttachedInstancesRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)

func (*DescribeParameterGroupAttachedInstancesRequest) SetParameterGroupId

func (r *DescribeParameterGroupAttachedInstancesRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: Parameter Group ID(Required)

func (*DescribeParameterGroupAttachedInstancesRequest) SetRegionId

func (r *DescribeParameterGroupAttachedInstancesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeParameterGroupAttachedInstancesResponse

type DescribeParameterGroupAttachedInstancesResponse struct {
	RequestID string                                        `json:"requestId"`
	Error     core.ErrorResponse                            `json:"error"`
	Result    DescribeParameterGroupAttachedInstancesResult `json:"result"`
}

type DescribeParameterGroupAttachedInstancesResult

type DescribeParameterGroupAttachedInstancesResult struct {
	Instances  []rds.AttachedDBInstance `json:"instances"`
	TotalCount int                      `json:"totalCount"`
}

type DescribeParameterGroupParametersRequest

type DescribeParameterGroupParametersRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Parameter Group ID  */
	ParameterGroupId string `json:"parameterGroupId"`
}

func NewDescribeParameterGroupParametersRequest

func NewDescribeParameterGroupParametersRequest(
	regionId string,
	parameterGroupId string,
) *DescribeParameterGroupParametersRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeParameterGroupParametersRequestWithAllParams

func NewDescribeParameterGroupParametersRequestWithAllParams(
	regionId string,
	parameterGroupId string,
) *DescribeParameterGroupParametersRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required)

func NewDescribeParameterGroupParametersRequestWithoutParam

func NewDescribeParameterGroupParametersRequestWithoutParam() *DescribeParameterGroupParametersRequest

This constructor has better compatible ability when API parameters changed

func (DescribeParameterGroupParametersRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeParameterGroupParametersRequest) SetParameterGroupId

func (r *DescribeParameterGroupParametersRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: Parameter Group ID(Required)

func (*DescribeParameterGroupParametersRequest) SetRegionId

func (r *DescribeParameterGroupParametersRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeParameterGroupParametersResponse

type DescribeParameterGroupParametersResponse struct {
	RequestID string                                 `json:"requestId"`
	Error     core.ErrorResponse                     `json:"error"`
	Result    DescribeParameterGroupParametersResult `json:"result"`
}

type DescribeParameterGroupParametersResult

type DescribeParameterGroupParametersResult struct {
	Parameters []rds.ParameterGroupParameter `json:"parameters"`
}

type DescribeParameterGroupsRequest

type DescribeParameterGroupsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeParameterGroupsRequest

func NewDescribeParameterGroupsRequest(
	regionId string,
) *DescribeParameterGroupsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeParameterGroupsRequestWithAllParams

func NewDescribeParameterGroupsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
) *DescribeParameterGroupsRequest

* param regionId: Region ID (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional)

func NewDescribeParameterGroupsRequestWithoutParam

func NewDescribeParameterGroupsRequestWithoutParam() *DescribeParameterGroupsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeParameterGroupsRequest) GetRegionId

func (r DescribeParameterGroupsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeParameterGroupsRequest) SetPageNumber

func (r *DescribeParameterGroupsRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeParameterGroupsRequest) SetPageSize

func (r *DescribeParameterGroupsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)

func (*DescribeParameterGroupsRequest) SetRegionId

func (r *DescribeParameterGroupsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeParameterGroupsResponse

type DescribeParameterGroupsResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DescribeParameterGroupsResult `json:"result"`
}

type DescribeParameterGroupsResult

type DescribeParameterGroupsResult struct {
	ParameterGroups []rds.ParameterGroup `json:"parameterGroups"`
	TotalCount      int                  `json:"totalCount"`
}

type DescribeParameterModifyRecordsRequest

type DescribeParameterModifyRecordsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Parameter Group ID  */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	StartTime *string `json:"startTime"`

	/* 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) */
	EndTime *string `json:"endTime"`
}

func NewDescribeParameterModifyRecordsRequest

func NewDescribeParameterModifyRecordsRequest(
	regionId string,
	parameterGroupId string,
) *DescribeParameterModifyRecordsRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeParameterModifyRecordsRequestWithAllParams

func NewDescribeParameterModifyRecordsRequestWithAllParams(
	regionId string,
	parameterGroupId string,
	pageNumber *int,
	pageSize *int,
	startTime *string,
	endTime *string,
) *DescribeParameterModifyRecordsRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍 (Optional) * param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss (Optional) * param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss (Optional)

func NewDescribeParameterModifyRecordsRequestWithoutParam

func NewDescribeParameterModifyRecordsRequestWithoutParam() *DescribeParameterModifyRecordsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeParameterModifyRecordsRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeParameterModifyRecordsRequest) SetEndTime

func (r *DescribeParameterModifyRecordsRequest) SetEndTime(endTime string)

param endTime: 查询结束时间,格式为:YYYY-MM-DD HH:mm:ss(Optional)

func (*DescribeParameterModifyRecordsRequest) SetPageNumber

func (r *DescribeParameterModifyRecordsRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeParameterModifyRecordsRequest) SetPageSize

func (r *DescribeParameterModifyRecordsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:[10,100],且为10的整数倍(Optional)

func (*DescribeParameterModifyRecordsRequest) SetParameterGroupId

func (r *DescribeParameterModifyRecordsRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: Parameter Group ID(Required)

func (*DescribeParameterModifyRecordsRequest) SetRegionId

func (r *DescribeParameterModifyRecordsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeParameterModifyRecordsRequest) SetStartTime

func (r *DescribeParameterModifyRecordsRequest) SetStartTime(startTime string)

param startTime: 查询开始时间,格式为:YYYY-MM-DD HH:mm:ss(Optional)

type DescribeParameterModifyRecordsResponse

type DescribeParameterModifyRecordsResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    DescribeParameterModifyRecordsResult `json:"result"`
}

type DescribeParameterModifyRecordsResult

type DescribeParameterModifyRecordsResult struct {
	Records    []rds.ParameterModifyRecords `json:"records"`
	TotalCount int                          `json:"totalCount"`
}

type DescribeParametersRequest

type DescribeParametersRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Instance ID  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeParametersRequest

func NewDescribeParametersRequest(
	regionId string,
	instanceId string,
) *DescribeParametersRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeParametersRequestWithAllParams

func NewDescribeParametersRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeParametersRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)

func NewDescribeParametersRequestWithoutParam

func NewDescribeParametersRequestWithoutParam() *DescribeParametersRequest

This constructor has better compatible ability when API parameters changed

func (DescribeParametersRequest) GetRegionId

func (r DescribeParametersRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeParametersRequest) SetInstanceId

func (r *DescribeParametersRequest) SetInstanceId(instanceId string)

param instanceId: Instance ID(Required)

func (*DescribeParametersRequest) SetRegionId

func (r *DescribeParametersRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeParametersResponse

type DescribeParametersResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeParametersResult `json:"result"`
}

type DescribeParametersResult

type DescribeParametersResult struct {
	Parameters []rds.DBInstanceParameter `json:"parameters"`
}

type DescribePrivilegeRequest

type DescribePrivilegeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 设置可见的引擎类型,如 MySQL 等  */
	Engine string `json:"engine"`

	/* RDS 实例ID,唯一标识一个RDS实例 (Optional) */
	InstanceId *string `json:"instanceId"`

	/* true表示展示高权限,默认false (Optional) */
	AllAdminPrivileges *bool `json:"allAdminPrivileges"`
}

func NewDescribePrivilegeRequest

func NewDescribePrivilegeRequest(
	regionId string,
	engine string,
) *DescribePrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: 设置可见的引擎类型,如 MySQL 等 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribePrivilegeRequestWithAllParams

func NewDescribePrivilegeRequestWithAllParams(
	regionId string,
	engine string,
	instanceId *string,
	allAdminPrivileges *bool,
) *DescribePrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param engine: 设置可见的引擎类型,如 MySQL 等 (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Optional) * param allAdminPrivileges: true表示展示高权限,默认false (Optional)

func NewDescribePrivilegeRequestWithoutParam

func NewDescribePrivilegeRequestWithoutParam() *DescribePrivilegeRequest

This constructor has better compatible ability when API parameters changed

func (DescribePrivilegeRequest) GetRegionId

func (r DescribePrivilegeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribePrivilegeRequest) SetAllAdminPrivileges

func (r *DescribePrivilegeRequest) SetAllAdminPrivileges(allAdminPrivileges bool)

param allAdminPrivileges: true表示展示高权限,默认false(Optional)

func (*DescribePrivilegeRequest) SetEngine

func (r *DescribePrivilegeRequest) SetEngine(engine string)

param engine: 设置可见的引擎类型,如 MySQL 等(Required)

func (*DescribePrivilegeRequest) SetInstanceId

func (r *DescribePrivilegeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Optional)

func (*DescribePrivilegeRequest) SetRegionId

func (r *DescribePrivilegeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribePrivilegeResponse

type DescribePrivilegeResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribePrivilegeResult `json:"result"`
}

type DescribePrivilegeResult

type DescribePrivilegeResult struct {
	GlobalPrivileges   []string `json:"globalPrivileges"`
	DatabasePrivileges []string `json:"databasePrivileges"`
	TablePrivileges    []string `json:"tablePrivileges"`
}

type DescribeQueryPerformanceRequest

type DescribeQueryPerformanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br>  */
	QueryType string `json:"queryType"`

	/* 只返回查询条件大于等于threshold的记录,默认为0 (Optional) */
	Threshold *int `json:"threshold"`

	/* 显示数据的页码,默认为1,取值范围:[-1,1000]。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeQueryPerformanceRequest

func NewDescribeQueryPerformanceRequest(
	regionId string,
	instanceId string,
	queryType string,
) *DescribeQueryPerformanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br> (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeQueryPerformanceRequestWithAllParams

func NewDescribeQueryPerformanceRequestWithAllParams(
	regionId string,
	instanceId string,
	queryType string,
	threshold *int,
	pageNumber *int,
	pageSize *int,
) *DescribeQueryPerformanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br> (Required) * param threshold: 只返回查询条件大于等于threshold的记录,默认为0 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000]。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口 (Optional)

func NewDescribeQueryPerformanceRequestWithoutParam

func NewDescribeQueryPerformanceRequestWithoutParam() *DescribeQueryPerformanceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeQueryPerformanceRequest) GetRegionId

func (r DescribeQueryPerformanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeQueryPerformanceRequest) SetInstanceId

func (r *DescribeQueryPerformanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeQueryPerformanceRequest) SetPageNumber

func (r *DescribeQueryPerformanceRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000]。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)

func (*DescribeQueryPerformanceRequest) SetPageSize

func (r *DescribeQueryPerformanceRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为50,取值范围:[1,100],只能为10的倍数,用于查询列表的接口(Optional)

func (*DescribeQueryPerformanceRequest) SetQueryType

func (r *DescribeQueryPerformanceRequest) SetQueryType(queryType string)

param queryType: 查询类型,不同的查询类型按照相应的字段从高到低返回结果。<br>支持如下类型:<br>ExecutionCount:执行次数<br>LastRows:上次返回行数<br>ElapsedTime:平均执行时间<br>CPUTime:平均CPU时间<br>LogicalReads:平均逻辑读<br>LogicalWrites:平均逻辑写<br>PhysicalReads:平均物理读<br>(Required)

func (*DescribeQueryPerformanceRequest) SetRegionId

func (r *DescribeQueryPerformanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeQueryPerformanceRequest) SetThreshold

func (r *DescribeQueryPerformanceRequest) SetThreshold(threshold int)

param threshold: 只返回查询条件大于等于threshold的记录,默认为0(Optional)

type DescribeQueryPerformanceResponse

type DescribeQueryPerformanceResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeQueryPerformanceResult `json:"result"`
}

type DescribeQueryPerformanceResult

type DescribeQueryPerformanceResult struct {
	QueryPerformanceResult []rds.QueryPerformanceResult `json:"queryPerformanceResult"`
	TotalCount             int                          `json:"totalCount"`
	PageNumber             int                          `json:"pageNumber"`
	PageSize               int                          `json:"pageSize"`
}

type DescribeReadWriteProxiesRequest

type DescribeReadWriteProxiesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS实例ID,唯一标识一个实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeReadWriteProxiesRequest

func NewDescribeReadWriteProxiesRequest(
	regionId string,
	instanceId string,
) *DescribeReadWriteProxiesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeReadWriteProxiesRequestWithAllParams

func NewDescribeReadWriteProxiesRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeReadWriteProxiesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS实例ID,唯一标识一个实例 (Required)

func NewDescribeReadWriteProxiesRequestWithoutParam

func NewDescribeReadWriteProxiesRequestWithoutParam() *DescribeReadWriteProxiesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeReadWriteProxiesRequest) GetRegionId

func (r DescribeReadWriteProxiesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeReadWriteProxiesRequest) SetInstanceId

func (r *DescribeReadWriteProxiesRequest) SetInstanceId(instanceId string)

param instanceId: RDS实例ID,唯一标识一个实例(Required)

func (*DescribeReadWriteProxiesRequest) SetRegionId

func (r *DescribeReadWriteProxiesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeReadWriteProxiesResponse

type DescribeReadWriteProxiesResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeReadWriteProxiesResult `json:"result"`
}

type DescribeReadWriteProxiesResult

type DescribeReadWriteProxiesResult struct {
	ReadWriteProxies []rds.ReadWriteProxy `json:"readWriteProxies"`
	TotalCount       int                  `json:"totalCount"`
}

type DescribeReadWriteProxyAttributeRequest

type DescribeReadWriteProxyAttributeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 读写分离代理服务ID  */
	ReadWriteProxyId string `json:"readWriteProxyId"`
}

func NewDescribeReadWriteProxyAttributeRequest

func NewDescribeReadWriteProxyAttributeRequest(
	regionId string,
	readWriteProxyId string,
) *DescribeReadWriteProxyAttributeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeReadWriteProxyAttributeRequestWithAllParams

func NewDescribeReadWriteProxyAttributeRequestWithAllParams(
	regionId string,
	readWriteProxyId string,
) *DescribeReadWriteProxyAttributeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)

func NewDescribeReadWriteProxyAttributeRequestWithoutParam

func NewDescribeReadWriteProxyAttributeRequestWithoutParam() *DescribeReadWriteProxyAttributeRequest

This constructor has better compatible ability when API parameters changed

func (DescribeReadWriteProxyAttributeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeReadWriteProxyAttributeRequest) SetReadWriteProxyId

func (r *DescribeReadWriteProxyAttributeRequest) SetReadWriteProxyId(readWriteProxyId string)

param readWriteProxyId: 读写分离代理服务ID(Required)

func (*DescribeReadWriteProxyAttributeRequest) SetRegionId

func (r *DescribeReadWriteProxyAttributeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeReadWriteProxyAttributeResponse

type DescribeReadWriteProxyAttributeResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    DescribeReadWriteProxyAttributeResult `json:"result"`
}

type DescribeReadWriteProxyAttributeResult

type DescribeReadWriteProxyAttributeResult struct {
	ReadWriteProxy rds.ReadWriteProxy `json:"readWriteProxy"`
}

type DescribeSSLRequest

type DescribeSSLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeSSLRequest

func NewDescribeSSLRequest(
	regionId string,
	instanceId string,
) *DescribeSSLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSSLRequestWithAllParams

func NewDescribeSSLRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeSSLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeSSLRequestWithoutParam

func NewDescribeSSLRequestWithoutParam() *DescribeSSLRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSSLRequest) GetRegionId

func (r DescribeSSLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSSLRequest) SetInstanceId

func (r *DescribeSSLRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeSSLRequest) SetRegionId

func (r *DescribeSSLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeSSLResponse

type DescribeSSLResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DescribeSSLResult  `json:"result"`
}

type DescribeSSLResult

type DescribeSSLResult struct {
	Available bool `json:"available"`
}

type DescribeSlowLogAttributesRequest

type DescribeSlowLogAttributesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间  */
	StartTime string `json:"startTime"`

	/* 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间  */
	EndTime string `json:"endTime"`

	/* 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) */
	DbName *string `json:"dbName"`

	/* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 慢日志明细的排序规则,不指定时按上报日志的时间戳降序返回所有的日志 (Optional) */
	Sorts []common.Sort `json:"sorts"`

	/*  (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeSlowLogAttributesRequest

func NewDescribeSlowLogAttributesRequest(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
) *DescribeSlowLogAttributesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSlowLogAttributesRequestWithAllParams

func NewDescribeSlowLogAttributesRequestWithAllParams(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
	dbName *string,
	pageNumber *int,
	pageSize *int,
	sorts []common.Sort,
	filters []common.Filter,
) *DescribeSlowLogAttributesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) * param sorts: 慢日志明细的排序规则,不指定时按上报日志的时间戳降序返回所有的日志 (Optional) * param filters: (Optional)

func NewDescribeSlowLogAttributesRequestWithoutParam

func NewDescribeSlowLogAttributesRequestWithoutParam() *DescribeSlowLogAttributesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSlowLogAttributesRequest) GetRegionId

func (r DescribeSlowLogAttributesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSlowLogAttributesRequest) SetDbName

func (r *DescribeSlowLogAttributesRequest) SetDbName(dbName string)

param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志(Optional)

func (*DescribeSlowLogAttributesRequest) SetEndTime

func (r *DescribeSlowLogAttributesRequest) SetEndTime(endTime string)

param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间(Required)

func (*DescribeSlowLogAttributesRequest) SetFilters

func (r *DescribeSlowLogAttributesRequest) SetFilters(filters []common.Filter)

param filters: (Optional)

func (*DescribeSlowLogAttributesRequest) SetInstanceId

func (r *DescribeSlowLogAttributesRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeSlowLogAttributesRequest) SetPageNumber

func (r *DescribeSlowLogAttributesRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)

func (*DescribeSlowLogAttributesRequest) SetPageSize

func (r *DescribeSlowLogAttributesRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)

func (*DescribeSlowLogAttributesRequest) SetRegionId

func (r *DescribeSlowLogAttributesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeSlowLogAttributesRequest) SetSorts

func (r *DescribeSlowLogAttributesRequest) SetSorts(sorts []common.Sort)

param sorts: 慢日志明细的排序规则,不指定时按上报日志的时间戳降序返回所有的日志(Optional)

func (*DescribeSlowLogAttributesRequest) SetStartTime

func (r *DescribeSlowLogAttributesRequest) SetStartTime(startTime string)

param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天, 开始时间不能大于结束时间,结束时间不能大于当前时间(Required)

type DescribeSlowLogAttributesResponse

type DescribeSlowLogAttributesResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeSlowLogAttributesResult `json:"result"`
}

type DescribeSlowLogAttributesResult

type DescribeSlowLogAttributesResult struct {
	SlowLogsAttributes []rds.SlowLogAttributes `json:"slowLogsAttributes"`
	TotalCount         int                     `json:"totalCount"`
}

type DescribeSlowLogsRequest

type DescribeSlowLogsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间  */
	StartTime string `json:"startTime"`

	/* 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间  */
	EndTime string `json:"endTime"`

	/* 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) */
	DbName *string `json:"dbName"`

	/* 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) */
	PageSize *int `json:"pageSize"`

	/*  (Optional) */
	Filters []common.Filter `json:"filters"`

	/* 排序参数,支持rowsExaminedSum、rowsSentSum、lockTimeSum、executionCount、executionTimeSum (Optional) */
	Sorts []common.Sort `json:"sorts"`
}

func NewDescribeSlowLogsRequest

func NewDescribeSlowLogsRequest(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
) *DescribeSlowLogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSlowLogsRequestWithAllParams

func NewDescribeSlowLogsRequestWithAllParams(
	regionId string,
	instanceId string,
	startTime string,
	endTime string,
	dbName *string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
	sorts []common.Sort,
) *DescribeSlowLogsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间 (Required) * param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志 (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。 (Optional) * param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100 (Optional) * param filters: (Optional) * param sorts: 排序参数,支持rowsExaminedSum、rowsSentSum、lockTimeSum、executionCount、executionTimeSum (Optional)

func NewDescribeSlowLogsRequestWithoutParam

func NewDescribeSlowLogsRequestWithoutParam() *DescribeSlowLogsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSlowLogsRequest) GetRegionId

func (r DescribeSlowLogsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSlowLogsRequest) SetDbName

func (r *DescribeSlowLogsRequest) SetDbName(dbName string)

param dbName: 查询哪个数据库的慢日志,不填表示返回所有数据库的慢日志(Optional)

func (*DescribeSlowLogsRequest) SetEndTime

func (r *DescribeSlowLogsRequest) SetEndTime(endTime string)

param endTime: 慢日志结束时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)

func (*DescribeSlowLogsRequest) SetFilters

func (r *DescribeSlowLogsRequest) SetFilters(filters []common.Filter)

param filters: (Optional)

func (*DescribeSlowLogsRequest) SetInstanceId

func (r *DescribeSlowLogsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeSlowLogsRequest) SetPageNumber

func (r *DescribeSlowLogsRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,1000)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页。(Optional)

func (*DescribeSlowLogsRequest) SetPageSize

func (r *DescribeSlowLogsRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为10,取值范围:10、20、30、50、100(Optional)

func (*DescribeSlowLogsRequest) SetRegionId

func (r *DescribeSlowLogsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*DescribeSlowLogsRequest) SetSorts

func (r *DescribeSlowLogsRequest) SetSorts(sorts []common.Sort)

param sorts: 排序参数,支持rowsExaminedSum、rowsSentSum、lockTimeSum、executionCount、executionTimeSum(Optional)

func (*DescribeSlowLogsRequest) SetStartTime

func (r *DescribeSlowLogsRequest) SetStartTime(startTime string)

param startTime: 慢日志开始时间,格式为:YYYY-MM-DD HH:mm:ss,开始时间到当前时间不能大于 7 天,开始时间不能大于结束时间,结束时间不能大于当前时间(Required)

type DescribeSlowLogsResponse

type DescribeSlowLogsResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeSlowLogsResult `json:"result"`
}

type DescribeSlowLogsResult

type DescribeSlowLogsResult struct {
	SlowLogs   []rds.SlowLogDigest `json:"slowLogs"`
	TotalCount int                 `json:"totalCount"`
}

type DescribeTablesRequest

type DescribeTablesRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 库名称  */
	DbName string `json:"dbName"`

	/* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescribeTablesRequest

func NewDescribeTablesRequest(
	regionId string,
	instanceId string,
	dbName string,
) *DescribeTablesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeTablesRequestWithAllParams

func NewDescribeTablesRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
	pageNumber *int,
	pageSize *int,
) *DescribeTablesRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)

func NewDescribeTablesRequestWithoutParam

func NewDescribeTablesRequestWithoutParam() *DescribeTablesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeTablesRequest) GetRegionId

func (r DescribeTablesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeTablesRequest) SetDbName

func (r *DescribeTablesRequest) SetDbName(dbName string)

param dbName: 库名称(Required)

func (*DescribeTablesRequest) SetInstanceId

func (r *DescribeTablesRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeTablesRequest) SetPageNumber

func (r *DescribeTablesRequest) SetPageNumber(pageNumber int)

param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)

func (*DescribeTablesRequest) SetPageSize

func (r *DescribeTablesRequest) SetPageSize(pageSize int)

param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)

func (*DescribeTablesRequest) SetRegionId

func (r *DescribeTablesRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeTablesResponse

type DescribeTablesResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DescribeTablesResult `json:"result"`
}

type DescribeTablesResult

type DescribeTablesResult struct {
	Tables     []string `json:"tables"`
	TotalCount int      `json:"totalCount"`
}

type DescribeTdeRequest

type DescribeTdeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeTdeRequest

func NewDescribeTdeRequest(
	regionId string,
	instanceId string,
) *DescribeTdeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeTdeRequestWithAllParams

func NewDescribeTdeRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeTdeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeTdeRequestWithoutParam

func NewDescribeTdeRequestWithoutParam() *DescribeTdeRequest

This constructor has better compatible ability when API parameters changed

func (DescribeTdeRequest) GetRegionId

func (r DescribeTdeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeTdeRequest) SetInstanceId

func (r *DescribeTdeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeTdeRequest) SetRegionId

func (r *DescribeTdeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeTdeResponse

type DescribeTdeResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DescribeTdeResult  `json:"result"`
}

type DescribeTdeResult

type DescribeTdeResult struct {
	Status       string           `json:"status"`
	StatusDetail rds.StatusDetail `json:"statusDetail"`
}

type DescribeUpgradePlanRequest

type DescribeUpgradePlanRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeUpgradePlanRequest

func NewDescribeUpgradePlanRequest(
	regionId string,
	instanceId string,
) *DescribeUpgradePlanRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeUpgradePlanRequestWithAllParams

func NewDescribeUpgradePlanRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeUpgradePlanRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeUpgradePlanRequestWithoutParam

func NewDescribeUpgradePlanRequestWithoutParam() *DescribeUpgradePlanRequest

This constructor has better compatible ability when API parameters changed

func (DescribeUpgradePlanRequest) GetRegionId

func (r DescribeUpgradePlanRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeUpgradePlanRequest) SetInstanceId

func (r *DescribeUpgradePlanRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeUpgradePlanRequest) SetRegionId

func (r *DescribeUpgradePlanRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeUpgradePlanResponse

type DescribeUpgradePlanResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeUpgradePlanResult `json:"result"`
}

type DescribeUpgradePlanResult

type DescribeUpgradePlanResult struct {
	NewVersion      string `json:"newVersion"`
	UpgradeSchedule int    `json:"upgradeSchedule"`
}

type DescribeUpgradeVersionsRequest

type DescribeUpgradeVersionsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeUpgradeVersionsRequest

func NewDescribeUpgradeVersionsRequest(
	regionId string,
	instanceId string,
) *DescribeUpgradeVersionsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeUpgradeVersionsRequestWithAllParams

func NewDescribeUpgradeVersionsRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeUpgradeVersionsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeUpgradeVersionsRequestWithoutParam

func NewDescribeUpgradeVersionsRequestWithoutParam() *DescribeUpgradeVersionsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeUpgradeVersionsRequest) GetRegionId

func (r DescribeUpgradeVersionsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeUpgradeVersionsRequest) SetInstanceId

func (r *DescribeUpgradeVersionsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeUpgradeVersionsRequest) SetRegionId

func (r *DescribeUpgradeVersionsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeUpgradeVersionsResponse

type DescribeUpgradeVersionsResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DescribeUpgradeVersionsResult `json:"result"`
}

type DescribeUpgradeVersionsResult

type DescribeUpgradeVersionsResult struct {
	Versions []string `json:"versions"`
}

type DescribeWhiteListRequest

type DescribeWhiteListRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDescribeWhiteListRequest

func NewDescribeWhiteListRequest(
	regionId string,
	instanceId string,
) *DescribeWhiteListRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeWhiteListRequestWithAllParams

func NewDescribeWhiteListRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeWhiteListRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDescribeWhiteListRequestWithoutParam

func NewDescribeWhiteListRequestWithoutParam() *DescribeWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeWhiteListRequest) GetRegionId

func (r DescribeWhiteListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeWhiteListRequest) SetInstanceId

func (r *DescribeWhiteListRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DescribeWhiteListRequest) SetRegionId

func (r *DescribeWhiteListRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DescribeWhiteListResponse

type DescribeWhiteListResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeWhiteListResult `json:"result"`
}

type DescribeWhiteListResult

type DescribeWhiteListResult struct {
	WhiteLists []rds.WhiteList `json:"whiteLists"`
}

type DisableAuditRequest

type DisableAuditRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDisableAuditRequest

func NewDisableAuditRequest(
	regionId string,
	instanceId string,
) *DisableAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableAuditRequestWithAllParams

func NewDisableAuditRequestWithAllParams(
	regionId string,
	instanceId string,
) *DisableAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDisableAuditRequestWithoutParam

func NewDisableAuditRequestWithoutParam() *DisableAuditRequest

This constructor has better compatible ability when API parameters changed

func (DisableAuditRequest) GetRegionId

func (r DisableAuditRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableAuditRequest) SetInstanceId

func (r *DisableAuditRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DisableAuditRequest) SetRegionId

func (r *DisableAuditRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DisableAuditResponse

type DisableAuditResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DisableAuditResult `json:"result"`
}

type DisableAuditResult

type DisableAuditResult struct {
}

type DisableInterceptRequest

type DisableInterceptRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Instance ID  */
	InstanceId string `json:"instanceId"`
}

func NewDisableInterceptRequest

func NewDisableInterceptRequest(
	regionId string,
	instanceId string,
) *DisableInterceptRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableInterceptRequestWithAllParams

func NewDisableInterceptRequestWithAllParams(
	regionId string,
	instanceId string,
) *DisableInterceptRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)

func NewDisableInterceptRequestWithoutParam

func NewDisableInterceptRequestWithoutParam() *DisableInterceptRequest

This constructor has better compatible ability when API parameters changed

func (DisableInterceptRequest) GetRegionId

func (r DisableInterceptRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableInterceptRequest) SetInstanceId

func (r *DisableInterceptRequest) SetInstanceId(instanceId string)

param instanceId: Instance ID(Required)

func (*DisableInterceptRequest) SetRegionId

func (r *DisableInterceptRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisableInterceptResponse

type DisableInterceptResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DisableInterceptResult `json:"result"`
}

type DisableInterceptResult

type DisableInterceptResult struct {
}

type DisableInternetAccessRequest

type DisableInternetAccessRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDisableInternetAccessRequest

func NewDisableInternetAccessRequest(
	regionId string,
	instanceId string,
) *DisableInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableInternetAccessRequestWithAllParams

func NewDisableInternetAccessRequestWithAllParams(
	regionId string,
	instanceId string,
) *DisableInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDisableInternetAccessRequestWithoutParam

func NewDisableInternetAccessRequestWithoutParam() *DisableInternetAccessRequest

This constructor has better compatible ability when API parameters changed

func (DisableInternetAccessRequest) GetRegionId

func (r DisableInternetAccessRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableInternetAccessRequest) SetInstanceId

func (r *DisableInternetAccessRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DisableInternetAccessRequest) SetRegionId

func (r *DisableInternetAccessRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DisableInternetAccessResponse

type DisableInternetAccessResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DisableInternetAccessResult `json:"result"`
}

type DisableInternetAccessResult

type DisableInternetAccessResult struct {
}

type DisableReadWriteProxyInternetAccessRequest

type DisableReadWriteProxyInternetAccessRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 读写分离代理服务ID  */
	ReadWriteProxyId string `json:"readWriteProxyId"`
}

func NewDisableReadWriteProxyInternetAccessRequest

func NewDisableReadWriteProxyInternetAccessRequest(
	regionId string,
	readWriteProxyId string,
) *DisableReadWriteProxyInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableReadWriteProxyInternetAccessRequestWithAllParams

func NewDisableReadWriteProxyInternetAccessRequestWithAllParams(
	regionId string,
	readWriteProxyId string,
) *DisableReadWriteProxyInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)

func NewDisableReadWriteProxyInternetAccessRequestWithoutParam

func NewDisableReadWriteProxyInternetAccessRequestWithoutParam() *DisableReadWriteProxyInternetAccessRequest

This constructor has better compatible ability when API parameters changed

func (DisableReadWriteProxyInternetAccessRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId

func (r *DisableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId(readWriteProxyId string)

param readWriteProxyId: 读写分离代理服务ID(Required)

func (*DisableReadWriteProxyInternetAccessRequest) SetRegionId

func (r *DisableReadWriteProxyInternetAccessRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DisableReadWriteProxyInternetAccessResponse

type DisableReadWriteProxyInternetAccessResponse struct {
	RequestID string                                    `json:"requestId"`
	Error     core.ErrorResponse                        `json:"error"`
	Result    DisableReadWriteProxyInternetAccessResult `json:"result"`
}

type DisableReadWriteProxyInternetAccessResult

type DisableReadWriteProxyInternetAccessResult struct {
}

type DisableSSLRequest

type DisableSSLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewDisableSSLRequest

func NewDisableSSLRequest(
	regionId string,
	instanceId string,
) *DisableSSLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisableSSLRequestWithAllParams

func NewDisableSSLRequestWithAllParams(
	regionId string,
	instanceId string,
) *DisableSSLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewDisableSSLRequestWithoutParam

func NewDisableSSLRequestWithoutParam() *DisableSSLRequest

This constructor has better compatible ability when API parameters changed

func (DisableSSLRequest) GetRegionId

func (r DisableSSLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisableSSLRequest) SetInstanceId

func (r *DisableSSLRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*DisableSSLRequest) SetRegionId

func (r *DisableSSLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type DisableSSLResponse

type DisableSSLResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DisableSSLResult   `json:"result"`
}

type DisableSSLResult

type DisableSSLResult struct {
}

type EnableAuditRequest

type EnableAuditRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewEnableAuditRequest

func NewEnableAuditRequest(
	regionId string,
	instanceId string,
) *EnableAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableAuditRequestWithAllParams

func NewEnableAuditRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewEnableAuditRequestWithoutParam

func NewEnableAuditRequestWithoutParam() *EnableAuditRequest

This constructor has better compatible ability when API parameters changed

func (EnableAuditRequest) GetRegionId

func (r EnableAuditRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableAuditRequest) SetInstanceId

func (r *EnableAuditRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*EnableAuditRequest) SetRegionId

func (r *EnableAuditRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type EnableAuditResponse

type EnableAuditResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    EnableAuditResult  `json:"result"`
}

type EnableAuditResult

type EnableAuditResult struct {
}

type EnableEnhancedBackupRequest

type EnableEnhancedBackupRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewEnableEnhancedBackupRequest

func NewEnableEnhancedBackupRequest(
	regionId string,
	instanceId string,
) *EnableEnhancedBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableEnhancedBackupRequestWithAllParams

func NewEnableEnhancedBackupRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableEnhancedBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewEnableEnhancedBackupRequestWithoutParam

func NewEnableEnhancedBackupRequestWithoutParam() *EnableEnhancedBackupRequest

This constructor has better compatible ability when API parameters changed

func (EnableEnhancedBackupRequest) GetRegionId

func (r EnableEnhancedBackupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableEnhancedBackupRequest) SetInstanceId

func (r *EnableEnhancedBackupRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*EnableEnhancedBackupRequest) SetRegionId

func (r *EnableEnhancedBackupRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type EnableEnhancedBackupResponse

type EnableEnhancedBackupResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    EnableEnhancedBackupResult `json:"result"`
}

type EnableEnhancedBackupResult

type EnableEnhancedBackupResult struct {
}

type EnableInterceptRequest

type EnableInterceptRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Instance ID  */
	InstanceId string `json:"instanceId"`
}

func NewEnableInterceptRequest

func NewEnableInterceptRequest(
	regionId string,
	instanceId string,
) *EnableInterceptRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableInterceptRequestWithAllParams

func NewEnableInterceptRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableInterceptRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required)

func NewEnableInterceptRequestWithoutParam

func NewEnableInterceptRequestWithoutParam() *EnableInterceptRequest

This constructor has better compatible ability when API parameters changed

func (EnableInterceptRequest) GetRegionId

func (r EnableInterceptRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableInterceptRequest) SetInstanceId

func (r *EnableInterceptRequest) SetInstanceId(instanceId string)

param instanceId: Instance ID(Required)

func (*EnableInterceptRequest) SetRegionId

func (r *EnableInterceptRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type EnableInterceptResponse

type EnableInterceptResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    EnableInterceptResult `json:"result"`
}

type EnableInterceptResult

type EnableInterceptResult struct {
}

type EnableInternetAccessRequest

type EnableInternetAccessRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewEnableInternetAccessRequest

func NewEnableInternetAccessRequest(
	regionId string,
	instanceId string,
) *EnableInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableInternetAccessRequestWithAllParams

func NewEnableInternetAccessRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewEnableInternetAccessRequestWithoutParam

func NewEnableInternetAccessRequestWithoutParam() *EnableInternetAccessRequest

This constructor has better compatible ability when API parameters changed

func (EnableInternetAccessRequest) GetRegionId

func (r EnableInternetAccessRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableInternetAccessRequest) SetInstanceId

func (r *EnableInternetAccessRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*EnableInternetAccessRequest) SetRegionId

func (r *EnableInternetAccessRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type EnableInternetAccessResponse

type EnableInternetAccessResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    EnableInternetAccessResult `json:"result"`
}

type EnableInternetAccessResult

type EnableInternetAccessResult struct {
}

type EnableReadWriteProxyInternetAccessRequest

type EnableReadWriteProxyInternetAccessRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 读写分离代理服务ID  */
	ReadWriteProxyId string `json:"readWriteProxyId"`
}

func NewEnableReadWriteProxyInternetAccessRequest

func NewEnableReadWriteProxyInternetAccessRequest(
	regionId string,
	readWriteProxyId string,
) *EnableReadWriteProxyInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableReadWriteProxyInternetAccessRequestWithAllParams

func NewEnableReadWriteProxyInternetAccessRequestWithAllParams(
	regionId string,
	readWriteProxyId string,
) *EnableReadWriteProxyInternetAccessRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required)

func NewEnableReadWriteProxyInternetAccessRequestWithoutParam

func NewEnableReadWriteProxyInternetAccessRequestWithoutParam() *EnableReadWriteProxyInternetAccessRequest

This constructor has better compatible ability when API parameters changed

func (EnableReadWriteProxyInternetAccessRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId

func (r *EnableReadWriteProxyInternetAccessRequest) SetReadWriteProxyId(readWriteProxyId string)

param readWriteProxyId: 读写分离代理服务ID(Required)

func (*EnableReadWriteProxyInternetAccessRequest) SetRegionId

func (r *EnableReadWriteProxyInternetAccessRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type EnableReadWriteProxyInternetAccessResponse

type EnableReadWriteProxyInternetAccessResponse struct {
	RequestID string                                   `json:"requestId"`
	Error     core.ErrorResponse                       `json:"error"`
	Result    EnableReadWriteProxyInternetAccessResult `json:"result"`
}

type EnableReadWriteProxyInternetAccessResult

type EnableReadWriteProxyInternetAccessResult struct {
}

type EnableSSLRequest

type EnableSSLRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewEnableSSLRequest

func NewEnableSSLRequest(
	regionId string,
	instanceId string,
) *EnableSSLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableSSLRequestWithAllParams

func NewEnableSSLRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableSSLRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewEnableSSLRequestWithoutParam

func NewEnableSSLRequestWithoutParam() *EnableSSLRequest

This constructor has better compatible ability when API parameters changed

func (EnableSSLRequest) GetRegionId

func (r EnableSSLRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableSSLRequest) SetInstanceId

func (r *EnableSSLRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*EnableSSLRequest) SetRegionId

func (r *EnableSSLRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type EnableSSLResponse

type EnableSSLResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    EnableSSLResult    `json:"result"`
}

type EnableSSLResult

type EnableSSLResult struct {
}

type EnableTdeRequest

type EnableTdeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewEnableTdeRequest

func NewEnableTdeRequest(
	regionId string,
	instanceId string,
) *EnableTdeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewEnableTdeRequestWithAllParams

func NewEnableTdeRequestWithAllParams(
	regionId string,
	instanceId string,
) *EnableTdeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewEnableTdeRequestWithoutParam

func NewEnableTdeRequestWithoutParam() *EnableTdeRequest

This constructor has better compatible ability when API parameters changed

func (EnableTdeRequest) GetRegionId

func (r EnableTdeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*EnableTdeRequest) SetInstanceId

func (r *EnableTdeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*EnableTdeRequest) SetRegionId

func (r *EnableTdeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type EnableTdeResponse

type EnableTdeResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    EnableTdeResult    `json:"result"`
}

type EnableTdeResult

type EnableTdeResult struct {
}

type ExchangeInstanceDnsRequest

type ExchangeInstanceDnsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 要交换的实例ID  */
	TargetInstanceId string `json:"targetInstanceId"`
}

func NewExchangeInstanceDnsRequest

func NewExchangeInstanceDnsRequest(
	regionId string,
	instanceId string,
	targetInstanceId string,
) *ExchangeInstanceDnsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param targetInstanceId: 要交换的实例ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewExchangeInstanceDnsRequestWithAllParams

func NewExchangeInstanceDnsRequestWithAllParams(
	regionId string,
	instanceId string,
	targetInstanceId string,
) *ExchangeInstanceDnsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param targetInstanceId: 要交换的实例ID (Required)

func NewExchangeInstanceDnsRequestWithoutParam

func NewExchangeInstanceDnsRequestWithoutParam() *ExchangeInstanceDnsRequest

This constructor has better compatible ability when API parameters changed

func (ExchangeInstanceDnsRequest) GetRegionId

func (r ExchangeInstanceDnsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ExchangeInstanceDnsRequest) SetInstanceId

func (r *ExchangeInstanceDnsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ExchangeInstanceDnsRequest) SetRegionId

func (r *ExchangeInstanceDnsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*ExchangeInstanceDnsRequest) SetTargetInstanceId

func (r *ExchangeInstanceDnsRequest) SetTargetInstanceId(targetInstanceId string)

param targetInstanceId: 要交换的实例ID(Required)

type ExchangeInstanceDnsResponse

type ExchangeInstanceDnsResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    ExchangeInstanceDnsResult `json:"result"`
}

type ExchangeInstanceDnsResult

type ExchangeInstanceDnsResult struct {
}

type FailoverInstanceRequest

type FailoverInstanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewFailoverInstanceRequest

func NewFailoverInstanceRequest(
	regionId string,
	instanceId string,
) *FailoverInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewFailoverInstanceRequestWithAllParams

func NewFailoverInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
) *FailoverInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewFailoverInstanceRequestWithoutParam

func NewFailoverInstanceRequestWithoutParam() *FailoverInstanceRequest

This constructor has better compatible ability when API parameters changed

func (FailoverInstanceRequest) GetRegionId

func (r FailoverInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*FailoverInstanceRequest) SetInstanceId

func (r *FailoverInstanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*FailoverInstanceRequest) SetRegionId

func (r *FailoverInstanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type FailoverInstanceResponse

type FailoverInstanceResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    FailoverInstanceResult `json:"result"`
}

type FailoverInstanceResult

type FailoverInstanceResult struct {
}

type GetUploadKeyRequest

type GetUploadKeyRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewGetUploadKeyRequest

func NewGetUploadKeyRequest(
	regionId string,
	instanceId string,
) *GetUploadKeyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetUploadKeyRequestWithAllParams

func NewGetUploadKeyRequestWithAllParams(
	regionId string,
	instanceId string,
) *GetUploadKeyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewGetUploadKeyRequestWithoutParam

func NewGetUploadKeyRequestWithoutParam() *GetUploadKeyRequest

This constructor has better compatible ability when API parameters changed

func (GetUploadKeyRequest) GetRegionId

func (r GetUploadKeyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetUploadKeyRequest) SetInstanceId

func (r *GetUploadKeyRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*GetUploadKeyRequest) SetRegionId

func (r *GetUploadKeyRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type GetUploadKeyResponse

type GetUploadKeyResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    GetUploadKeyResult `json:"result"`
}

type GetUploadKeyResult

type GetUploadKeyResult struct {
	Key string `json:"key"`
}

type GrantAccountPrivilegeRequest

type GrantAccountPrivilegeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个实例中账号名不能重复  */
	AccountName string `json:"accountName"`

	/* 设置数据库细粒度权限内容 (Optional) */
	DatabasePrivileges []rds.DatabasePrivilege `json:"databasePrivileges"`

	/* 设置全局权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	GlobalPrivileges []string `json:"globalPrivileges"`
}

func NewGrantAccountPrivilegeRequest

func NewGrantAccountPrivilegeRequest(
	regionId string,
	instanceId string,
	accountName string,
) *GrantAccountPrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGrantAccountPrivilegeRequestWithAllParams

func NewGrantAccountPrivilegeRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	databasePrivileges []rds.DatabasePrivilege,
	globalPrivileges []string,
) *GrantAccountPrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param databasePrivileges: 设置数据库细粒度权限内容 (Optional) * param globalPrivileges: 设置全局权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional)

func NewGrantAccountPrivilegeRequestWithoutParam

func NewGrantAccountPrivilegeRequestWithoutParam() *GrantAccountPrivilegeRequest

This constructor has better compatible ability when API parameters changed

func (GrantAccountPrivilegeRequest) GetRegionId

func (r GrantAccountPrivilegeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GrantAccountPrivilegeRequest) SetAccountName

func (r *GrantAccountPrivilegeRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个实例中账号名不能重复(Required)

func (*GrantAccountPrivilegeRequest) SetDatabasePrivileges

func (r *GrantAccountPrivilegeRequest) SetDatabasePrivileges(databasePrivileges []rds.DatabasePrivilege)

param databasePrivileges: 设置数据库细粒度权限内容(Optional)

func (*GrantAccountPrivilegeRequest) SetGlobalPrivileges

func (r *GrantAccountPrivilegeRequest) SetGlobalPrivileges(globalPrivileges []string)

param globalPrivileges: 设置全局权限,权限的具体定义参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Optional)

func (*GrantAccountPrivilegeRequest) SetInstanceId

func (r *GrantAccountPrivilegeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*GrantAccountPrivilegeRequest) SetRegionId

func (r *GrantAccountPrivilegeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type GrantAccountPrivilegeResponse

type GrantAccountPrivilegeResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    GrantAccountPrivilegeResult `json:"result"`
}

type GrantAccountPrivilegeResult

type GrantAccountPrivilegeResult struct {
}

type GrantPrivilegeRequest

type GrantPrivilegeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个实例中账号名不能重复  */
	AccountName string `json:"accountName"`

	/* 账号的访问权限  */
	AccountPrivileges []rds.AccountPrivilege `json:"accountPrivileges"`
}

func NewGrantPrivilegeRequest

func NewGrantPrivilegeRequest(
	regionId string,
	instanceId string,
	accountName string,
	accountPrivileges []rds.AccountPrivilege,
) *GrantPrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPrivileges: 账号的访问权限 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGrantPrivilegeRequestWithAllParams

func NewGrantPrivilegeRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	accountPrivileges []rds.AccountPrivilege,
) *GrantPrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPrivileges: 账号的访问权限 (Required)

func NewGrantPrivilegeRequestWithoutParam

func NewGrantPrivilegeRequestWithoutParam() *GrantPrivilegeRequest

This constructor has better compatible ability when API parameters changed

func (GrantPrivilegeRequest) GetRegionId

func (r GrantPrivilegeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GrantPrivilegeRequest) SetAccountName

func (r *GrantPrivilegeRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个实例中账号名不能重复(Required)

func (*GrantPrivilegeRequest) SetAccountPrivileges

func (r *GrantPrivilegeRequest) SetAccountPrivileges(accountPrivileges []rds.AccountPrivilege)

param accountPrivileges: 账号的访问权限(Required)

func (*GrantPrivilegeRequest) SetInstanceId

func (r *GrantPrivilegeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*GrantPrivilegeRequest) SetRegionId

func (r *GrantPrivilegeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type GrantPrivilegeResponse

type GrantPrivilegeResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    GrantPrivilegeResult `json:"result"`
}

type GrantPrivilegeResult

type GrantPrivilegeResult struct {
}

type ModifyAccountForOpsRequest

type ModifyAccountForOpsRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 运维账号到期时间,UTC时间格式 (Optional) */
	ExpiredTime *string `json:"expiredTime"`

	/*  (Optional) */
	GlobalPrivileges []string `json:"globalPrivileges"`
}

func NewModifyAccountForOpsRequest

func NewModifyAccountForOpsRequest(
	regionId string,
	instanceId string,
) *ModifyAccountForOpsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyAccountForOpsRequestWithAllParams

func NewModifyAccountForOpsRequestWithAllParams(
	regionId string,
	instanceId string,
	expiredTime *string,
	globalPrivileges []string,
) *ModifyAccountForOpsRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param expiredTime: 运维账号到期时间,UTC时间格式 (Optional) * param globalPrivileges: (Optional)

func NewModifyAccountForOpsRequestWithoutParam

func NewModifyAccountForOpsRequestWithoutParam() *ModifyAccountForOpsRequest

This constructor has better compatible ability when API parameters changed

func (ModifyAccountForOpsRequest) GetRegionId

func (r ModifyAccountForOpsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyAccountForOpsRequest) SetExpiredTime

func (r *ModifyAccountForOpsRequest) SetExpiredTime(expiredTime string)

param expiredTime: 运维账号到期时间,UTC时间格式(Optional)

func (*ModifyAccountForOpsRequest) SetGlobalPrivileges

func (r *ModifyAccountForOpsRequest) SetGlobalPrivileges(globalPrivileges []string)

param globalPrivileges: (Optional)

func (*ModifyAccountForOpsRequest) SetInstanceId

func (r *ModifyAccountForOpsRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyAccountForOpsRequest) SetRegionId

func (r *ModifyAccountForOpsRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyAccountForOpsResponse

type ModifyAccountForOpsResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    ModifyAccountForOpsResult `json:"result"`
}

type ModifyAccountForOpsResult

type ModifyAccountForOpsResult struct {
}

type ModifyActiveDirectoryRequest

type ModifyActiveDirectoryRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写  */
	AdResourceId string `json:"adResourceId"`

	/* 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启  */
	ForceRestart string `json:"forceRestart"`
}

func NewModifyActiveDirectoryRequest

func NewModifyActiveDirectoryRequest(
	regionId string,
	instanceId string,
	adResourceId string,
	forceRestart string,
) *ModifyActiveDirectoryRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param adResourceId: 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写 (Required) * param forceRestart: 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyActiveDirectoryRequestWithAllParams

func NewModifyActiveDirectoryRequestWithAllParams(
	regionId string,
	instanceId string,
	adResourceId string,
	forceRestart string,
) *ModifyActiveDirectoryRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param adResourceId: 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写 (Required) * param forceRestart: 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启 (Required)

func NewModifyActiveDirectoryRequestWithoutParam

func NewModifyActiveDirectoryRequestWithoutParam() *ModifyActiveDirectoryRequest

This constructor has better compatible ability when API parameters changed

func (ModifyActiveDirectoryRequest) GetRegionId

func (r ModifyActiveDirectoryRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyActiveDirectoryRequest) SetAdResourceId

func (r *ModifyActiveDirectoryRequest) SetAdResourceId(adResourceId string)

param adResourceId: 目录服务的资源ID<br>- 加入目录服务:要加入的目录服务的资源ID<br>- 修改目录服务:新目录服务的资源ID<br>- 移除目录服务:传入字符串“none”,不区分大小写(Required)

func (*ModifyActiveDirectoryRequest) SetForceRestart

func (r *ModifyActiveDirectoryRequest) SetForceRestart(forceRestart string)

param forceRestart: 修改后,是否强制重启实例,使修改生效。<br> - true 修改后立即重启<br>- false:默认值,修改后不重启,需用户自行重启(Required)

func (*ModifyActiveDirectoryRequest) SetInstanceId

func (r *ModifyActiveDirectoryRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyActiveDirectoryRequest) SetRegionId

func (r *ModifyActiveDirectoryRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyActiveDirectoryResponse

type ModifyActiveDirectoryResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    ModifyActiveDirectoryResult `json:"result"`
}

type ModifyActiveDirectoryResult

type ModifyActiveDirectoryResult struct {
}

type ModifyAuditRequest

type ModifyAuditRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 在原有审计项基础上,增加新的审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP (Optional) */
	Add *string `json:"add"`

	/* 删除审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP<br>如删除了所有审计项,则审计自动关闭 (Optional) */
	Drop *string `json:"drop"`
}

func NewModifyAuditRequest

func NewModifyAuditRequest(
	regionId string,
	instanceId string,
) *ModifyAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyAuditRequestWithAllParams

func NewModifyAuditRequestWithAllParams(
	regionId string,
	instanceId string,
	add *string,
	drop *string,
) *ModifyAuditRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param add: 在原有审计项基础上,增加新的审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP (Optional) * param drop: 删除审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP<br>如删除了所有审计项,则审计自动关闭 (Optional)

func NewModifyAuditRequestWithoutParam

func NewModifyAuditRequestWithoutParam() *ModifyAuditRequest

This constructor has better compatible ability when API parameters changed

func (ModifyAuditRequest) GetRegionId

func (r ModifyAuditRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyAuditRequest) SetAdd

func (r *ModifyAuditRequest) SetAdd(add string)

param add: 在原有审计项基础上,增加新的审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP(Optional)

func (*ModifyAuditRequest) SetDrop

func (r *ModifyAuditRequest) SetDrop(drop string)

param drop: 删除审计项,多个审计项之间用英文逗号,分号或空格分隔,例如DATABASE_OBJECT_ACCESS_GROUP,ACKUP_RESTORE_GROUP<br>如删除了所有审计项,则审计自动关闭(Optional)

func (*ModifyAuditRequest) SetInstanceId

func (r *ModifyAuditRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyAuditRequest) SetRegionId

func (r *ModifyAuditRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyAuditResponse

type ModifyAuditResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    ModifyAuditResult  `json:"result"`
}

type ModifyAuditResult

type ModifyAuditResult struct {
}

type ModifyBackupPolicyRequest

type ModifyBackupPolicyRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 自动备份开始时间窗口,例如:00:00-01:00,表示0点到1点开始进行数据库自动备份,备份完成时间则跟实例大小有关,不一定在这个时间范围中<br>SQL Server:范围00:00-23:59,时间范围差不得小于30分钟。<br>MySQL,只能是以下取值:<br>00:00-01:00<br>01:00-02:00<br>......<br>23:00-24:00 (Optional) */
	StartWindow *string `json:"startWindow"`

	/* binlog本地保留周期,单位小时,范围1-168 (Optional) */
	BinlogRetentionPeriod *int `json:"binlogRetentionPeriod"`

	/* binlog本地占用空间上限,单位%,范围1-50 (Optional) */
	BinlogUsageLimit *int `json:"binlogUsageLimit"`

	/* 设置空间保护,开启:on,关闭:off <br>- 仅支持MySQL (Optional) */
	BinlogSpaceProtection *string `json:"binlogSpaceProtection"`

	/* 自动备份保留周期,单位天,范围7-730<br>当enhancedBackup为true时可修改<br>- 仅支持SQL Server (Optional) */
	RetentionPeriod *int `json:"retentionPeriod"`

	/* 自动备份循环模式<br>1:表示每天都是全量备份<br>2:表示自动备份按照全量、增量、增量这样的方式进行,例如第1天是全量备份,第2、3天是增量备份;第4天又是全量备份,以此类推<br>当enhancedBackup为true时可修改<br>- 仅支持SQL Server (Optional) */
	CycleMode *int `json:"cycleMode"`
}

func NewModifyBackupPolicyRequest

func NewModifyBackupPolicyRequest(
	regionId string,
	instanceId string,
) *ModifyBackupPolicyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyBackupPolicyRequestWithAllParams

func NewModifyBackupPolicyRequestWithAllParams(
	regionId string,
	instanceId string,
	startWindow *string,
	binlogRetentionPeriod *int,
	binlogUsageLimit *int,
	binlogSpaceProtection *string,
	retentionPeriod *int,
	cycleMode *int,
) *ModifyBackupPolicyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param startWindow: 自动备份开始时间窗口,例如:00:00-01:00,表示0点到1点开始进行数据库自动备份,备份完成时间则跟实例大小有关,不一定在这个时间范围中<br>SQL Server:范围00:00-23:59,时间范围差不得小于30分钟。<br>MySQL,只能是以下取值:<br>00:00-01:00<br>01:00-02:00<br>......<br>23:00-24:00 (Optional) * param binlogRetentionPeriod: binlog本地保留周期,单位小时,范围1-168 (Optional) * param binlogUsageLimit: binlog本地占用空间上限,单位%,范围1-50 (Optional) * param binlogSpaceProtection: 设置空间保护,开启:on,关闭:off <br>- 仅支持MySQL (Optional) * param retentionPeriod: 自动备份保留周期,单位天,范围7-730<br>当enhancedBackup为true时可修改<br>- 仅支持SQL Server (Optional) * param cycleMode: 自动备份循环模式<br>1:表示每天都是全量备份<br>2:表示自动备份按照全量、增量、增量这样的方式进行,例如第1天是全量备份,第2、3天是增量备份;第4天又是全量备份,以此类推<br>当enhancedBackup为true时可修改<br>- 仅支持SQL Server (Optional)

func NewModifyBackupPolicyRequestWithoutParam

func NewModifyBackupPolicyRequestWithoutParam() *ModifyBackupPolicyRequest

This constructor has better compatible ability when API parameters changed

func (ModifyBackupPolicyRequest) GetRegionId

func (r ModifyBackupPolicyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyBackupPolicyRequest) SetBinlogRetentionPeriod

func (r *ModifyBackupPolicyRequest) SetBinlogRetentionPeriod(binlogRetentionPeriod int)

param binlogRetentionPeriod: binlog本地保留周期,单位小时,范围1-168(Optional)

func (*ModifyBackupPolicyRequest) SetBinlogSpaceProtection

func (r *ModifyBackupPolicyRequest) SetBinlogSpaceProtection(binlogSpaceProtection string)

param binlogSpaceProtection: 设置空间保护,开启:on,关闭:off <br>- 仅支持MySQL(Optional)

func (*ModifyBackupPolicyRequest) SetBinlogUsageLimit

func (r *ModifyBackupPolicyRequest) SetBinlogUsageLimit(binlogUsageLimit int)

param binlogUsageLimit: binlog本地占用空间上限,单位%,范围1-50(Optional)

func (*ModifyBackupPolicyRequest) SetCycleMode

func (r *ModifyBackupPolicyRequest) SetCycleMode(cycleMode int)

param cycleMode: 自动备份循环模式<br>1:表示每天都是全量备份<br>2:表示自动备份按照全量、增量、增量这样的方式进行,例如第1天是全量备份,第2、3天是增量备份;第4天又是全量备份,以此类推<br>当enhancedBackup为true时可修改<br>- 仅支持SQL Server(Optional)

func (*ModifyBackupPolicyRequest) SetInstanceId

func (r *ModifyBackupPolicyRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyBackupPolicyRequest) SetRegionId

func (r *ModifyBackupPolicyRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*ModifyBackupPolicyRequest) SetRetentionPeriod

func (r *ModifyBackupPolicyRequest) SetRetentionPeriod(retentionPeriod int)

param retentionPeriod: 自动备份保留周期,单位天,范围7-730<br>当enhancedBackup为true时可修改<br>- 仅支持SQL Server(Optional)

func (*ModifyBackupPolicyRequest) SetStartWindow

func (r *ModifyBackupPolicyRequest) SetStartWindow(startWindow string)

param startWindow: 自动备份开始时间窗口,例如:00:00-01:00,表示0点到1点开始进行数据库自动备份,备份完成时间则跟实例大小有关,不一定在这个时间范围中<br>SQL Server:范围00:00-23:59,时间范围差不得小于30分钟。<br>MySQL,只能是以下取值:<br>00:00-01:00<br>01:00-02:00<br>......<br>23:00-24:00(Optional)

type ModifyBackupPolicyResponse

type ModifyBackupPolicyResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    ModifyBackupPolicyResult `json:"result"`
}

type ModifyBackupPolicyResult

type ModifyBackupPolicyResult struct {
}

type ModifyConnectionModeRequest

type ModifyConnectionModeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间  */
	ConnectionMode string `json:"connectionMode"`
}

func NewModifyConnectionModeRequest

func NewModifyConnectionModeRequest(
	regionId string,
	instanceId string,
	connectionMode string,
) *ModifyConnectionModeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param connectionMode: 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyConnectionModeRequestWithAllParams

func NewModifyConnectionModeRequestWithAllParams(
	regionId string,
	instanceId string,
	connectionMode string,
) *ModifyConnectionModeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param connectionMode: 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间 (Required)

func NewModifyConnectionModeRequestWithoutParam

func NewModifyConnectionModeRequestWithoutParam() *ModifyConnectionModeRequest

This constructor has better compatible ability when API parameters changed

func (ModifyConnectionModeRequest) GetRegionId

func (r ModifyConnectionModeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyConnectionModeRequest) SetConnectionMode

func (r *ModifyConnectionModeRequest) SetConnectionMode(connectionMode string)

param connectionMode: 连接模式<br> - standard:标准模式(缺省),响应时间短,但没有 SQL 审计和拦截的能力 <br>- security:高安全模式,具备一定的 SQL注入拦截能力,并可开启 SQL 审计,但会增加一定的响应时间(Required)

func (*ModifyConnectionModeRequest) SetInstanceId

func (r *ModifyConnectionModeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyConnectionModeRequest) SetRegionId

func (r *ModifyConnectionModeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyConnectionModeResponse

type ModifyConnectionModeResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    ModifyConnectionModeResult `json:"result"`
}

type ModifyConnectionModeResult

type ModifyConnectionModeResult struct {
}

type ModifyDatabaseCommentRequest

type ModifyDatabaseCommentRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 库名称  */
	DbName string `json:"dbName"`

	/* 数据库的备注信息,支持中午,ASCII字符,最大长度64  */
	Comment string `json:"comment"`
}

func NewModifyDatabaseCommentRequest

func NewModifyDatabaseCommentRequest(
	regionId string,
	instanceId string,
	dbName string,
	comment string,
) *ModifyDatabaseCommentRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param comment: 数据库的备注信息,支持中午,ASCII字符,最大长度64 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyDatabaseCommentRequestWithAllParams

func NewModifyDatabaseCommentRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
	comment string,
) *ModifyDatabaseCommentRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param comment: 数据库的备注信息,支持中午,ASCII字符,最大长度64 (Required)

func NewModifyDatabaseCommentRequestWithoutParam

func NewModifyDatabaseCommentRequestWithoutParam() *ModifyDatabaseCommentRequest

This constructor has better compatible ability when API parameters changed

func (ModifyDatabaseCommentRequest) GetRegionId

func (r ModifyDatabaseCommentRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyDatabaseCommentRequest) SetComment

func (r *ModifyDatabaseCommentRequest) SetComment(comment string)

param comment: 数据库的备注信息,支持中午,ASCII字符,最大长度64(Required)

func (*ModifyDatabaseCommentRequest) SetDbName

func (r *ModifyDatabaseCommentRequest) SetDbName(dbName string)

param dbName: 库名称(Required)

func (*ModifyDatabaseCommentRequest) SetInstanceId

func (r *ModifyDatabaseCommentRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyDatabaseCommentRequest) SetRegionId

func (r *ModifyDatabaseCommentRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyDatabaseCommentResponse

type ModifyDatabaseCommentResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    ModifyDatabaseCommentResult `json:"result"`
}

type ModifyDatabaseCommentResult

type ModifyDatabaseCommentResult struct {
}

type ModifyInstanceAzRequest

type ModifyInstanceAzRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同  */
	NewAzId []string `json:"newAzId"`
}

func NewModifyInstanceAzRequest

func NewModifyInstanceAzRequest(
	regionId string,
	instanceId string,
	newAzId []string,
) *ModifyInstanceAzRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newAzId: 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceAzRequestWithAllParams

func NewModifyInstanceAzRequestWithAllParams(
	regionId string,
	instanceId string,
	newAzId []string,
) *ModifyInstanceAzRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newAzId: 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同 (Required)

func NewModifyInstanceAzRequestWithoutParam

func NewModifyInstanceAzRequestWithoutParam() *ModifyInstanceAzRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceAzRequest) GetRegionId

func (r ModifyInstanceAzRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceAzRequest) SetInstanceId

func (r *ModifyInstanceAzRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyInstanceAzRequest) SetNewAzId

func (r *ModifyInstanceAzRequest) SetNewAzId(newAzId []string)

param newAzId: 新可用区ID。 如果是单机实例,只需输入一个可用区;如果是主备实例,则必须输入两个可用区ID:第一个为主节点所在可用区,第二个为备节点所在可用区。主备两个可用区可以相同,也可以不同(Required)

func (*ModifyInstanceAzRequest) SetRegionId

func (r *ModifyInstanceAzRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyInstanceAzResponse

type ModifyInstanceAzResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ModifyInstanceAzResult `json:"result"`
}

type ModifyInstanceAzResult

type ModifyInstanceAzResult struct {
}

type ModifyInstanceMaintainTimeRequest

type ModifyInstanceMaintainTimeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 实例的可维护时间段。格式:HH:mm-HH:mm,取值为一个小时整点 (Optional) */
	MaintainTime *string `json:"maintainTime"`

	/* 选择维护周期,可选择一周中的某一天或多天 (Optional) */
	MaintainPeriod []string `json:"maintainPeriod"`
}

func NewModifyInstanceMaintainTimeRequest

func NewModifyInstanceMaintainTimeRequest(
	regionId string,
	instanceId string,
) *ModifyInstanceMaintainTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceMaintainTimeRequestWithAllParams

func NewModifyInstanceMaintainTimeRequestWithAllParams(
	regionId string,
	instanceId string,
	maintainTime *string,
	maintainPeriod []string,
) *ModifyInstanceMaintainTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param maintainTime: 实例的可维护时间段。格式:HH:mm-HH:mm,取值为一个小时整点 (Optional) * param maintainPeriod: 选择维护周期,可选择一周中的某一天或多天 (Optional)

func NewModifyInstanceMaintainTimeRequestWithoutParam

func NewModifyInstanceMaintainTimeRequestWithoutParam() *ModifyInstanceMaintainTimeRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceMaintainTimeRequest) GetRegionId

func (r ModifyInstanceMaintainTimeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceMaintainTimeRequest) SetInstanceId

func (r *ModifyInstanceMaintainTimeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyInstanceMaintainTimeRequest) SetMaintainPeriod

func (r *ModifyInstanceMaintainTimeRequest) SetMaintainPeriod(maintainPeriod []string)

param maintainPeriod: 选择维护周期,可选择一周中的某一天或多天(Optional)

func (*ModifyInstanceMaintainTimeRequest) SetMaintainTime

func (r *ModifyInstanceMaintainTimeRequest) SetMaintainTime(maintainTime string)

param maintainTime: 实例的可维护时间段。格式:HH:mm-HH:mm,取值为一个小时整点(Optional)

func (*ModifyInstanceMaintainTimeRequest) SetRegionId

func (r *ModifyInstanceMaintainTimeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyInstanceMaintainTimeResponse

type ModifyInstanceMaintainTimeResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    ModifyInstanceMaintainTimeResult `json:"result"`
}

type ModifyInstanceMaintainTimeResult

type ModifyInstanceMaintainTimeResult struct {
}

type ModifyInstanceNameRequest

type ModifyInstanceNameRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	InstanceName string `json:"instanceName"`
}

func NewModifyInstanceNameRequest

func NewModifyInstanceNameRequest(
	regionId string,
	instanceId string,
	instanceName string,
) *ModifyInstanceNameRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceNameRequestWithAllParams

func NewModifyInstanceNameRequestWithAllParams(
	regionId string,
	instanceId string,
	instanceName string,
) *ModifyInstanceNameRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param instanceName: 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required)

func NewModifyInstanceNameRequestWithoutParam

func NewModifyInstanceNameRequestWithoutParam() *ModifyInstanceNameRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceNameRequest) GetRegionId

func (r ModifyInstanceNameRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceNameRequest) SetInstanceId

func (r *ModifyInstanceNameRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyInstanceNameRequest) SetInstanceName

func (r *ModifyInstanceNameRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称,名称支持中文,实例名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*ModifyInstanceNameRequest) SetRegionId

func (r *ModifyInstanceNameRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyInstanceNameResponse

type ModifyInstanceNameResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    ModifyInstanceNameResult `json:"result"`
}

type ModifyInstanceNameResult

type ModifyInstanceNameResult struct {
}

type ModifyInstanceSpecRequest

type ModifyInstanceSpecRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 扩容后实例规格  */
	NewInstanceClass string `json:"newInstanceClass"`

	/* 扩容后实例磁盘大小  */
	NewInstanceStorageGB int `json:"newInstanceStorageGB"`

	/* 存储类型,如果不指定,默认会采用实例原存储类型. (Optional) */
	NewInstanceStorageType *string `json:"newInstanceStorageType"`

	/* 实例数据加密(存储类型为云硬盘才支持数据加密). false:不加密; true:加密. 如果实例从本地盘变为云硬盘,缺省为false. 如果实例本来就是使用云硬盘的,缺省和源实例保持一致 (Optional) */
	StorageEncrypted *bool `json:"storageEncrypted"`

	/* 变配后的子网ID (Optional) */
	SubnetId *string `json:"subnetId"`

	/* 生效时间,取值:<br>immediate:立即生效<br>maintainTime:在可维护时间段内生效。<br>postpone:延后生效。 (Optional) */
	EffectiveTime *string `json:"effectiveTime"`

	/* 延后生效的时间,单位为分钟。effectiveTime为postpone时必传,取值1-1440分钟 (Optional) */
	PostponeTime *int `json:"postponeTime"`
}

func NewModifyInstanceSpecRequest

func NewModifyInstanceSpecRequest(
	regionId string,
	instanceId string,
	newInstanceClass string,
	newInstanceStorageGB int,
) *ModifyInstanceSpecRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newInstanceClass: 扩容后实例规格 (Required) * param newInstanceStorageGB: 扩容后实例磁盘大小 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyInstanceSpecRequestWithAllParams

func NewModifyInstanceSpecRequestWithAllParams(
	regionId string,
	instanceId string,
	newInstanceClass string,
	newInstanceStorageGB int,
	newInstanceStorageType *string,
	storageEncrypted *bool,
	subnetId *string,
	effectiveTime *string,
	postponeTime *int,
) *ModifyInstanceSpecRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param newInstanceClass: 扩容后实例规格 (Required) * param newInstanceStorageGB: 扩容后实例磁盘大小 (Required) * param newInstanceStorageType: 存储类型,如果不指定,默认会采用实例原存储类型. (Optional) * param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密). false:不加密; true:加密. 如果实例从本地盘变为云硬盘,缺省为false. 如果实例本来就是使用云硬盘的,缺省和源实例保持一致 (Optional) * param subnetId: 变配后的子网ID (Optional) * param effectiveTime: 生效时间,取值:<br>immediate:立即生效<br>maintainTime:在可维护时间段内生效。<br>postpone:延后生效。 (Optional) * param postponeTime: 延后生效的时间,单位为分钟。effectiveTime为postpone时必传,取值1-1440分钟 (Optional)

func NewModifyInstanceSpecRequestWithoutParam

func NewModifyInstanceSpecRequestWithoutParam() *ModifyInstanceSpecRequest

This constructor has better compatible ability when API parameters changed

func (ModifyInstanceSpecRequest) GetRegionId

func (r ModifyInstanceSpecRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyInstanceSpecRequest) SetEffectiveTime

func (r *ModifyInstanceSpecRequest) SetEffectiveTime(effectiveTime string)

param effectiveTime: 生效时间,取值:<br>immediate:立即生效<br>maintainTime:在可维护时间段内生效。<br>postpone:延后生效。(Optional)

func (*ModifyInstanceSpecRequest) SetInstanceId

func (r *ModifyInstanceSpecRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyInstanceSpecRequest) SetNewInstanceClass

func (r *ModifyInstanceSpecRequest) SetNewInstanceClass(newInstanceClass string)

param newInstanceClass: 扩容后实例规格(Required)

func (*ModifyInstanceSpecRequest) SetNewInstanceStorageGB

func (r *ModifyInstanceSpecRequest) SetNewInstanceStorageGB(newInstanceStorageGB int)

param newInstanceStorageGB: 扩容后实例磁盘大小(Required)

func (*ModifyInstanceSpecRequest) SetNewInstanceStorageType

func (r *ModifyInstanceSpecRequest) SetNewInstanceStorageType(newInstanceStorageType string)

param newInstanceStorageType: 存储类型,如果不指定,默认会采用实例原存储类型.(Optional)

func (*ModifyInstanceSpecRequest) SetPostponeTime

func (r *ModifyInstanceSpecRequest) SetPostponeTime(postponeTime int)

param postponeTime: 延后生效的时间,单位为分钟。effectiveTime为postpone时必传,取值1-1440分钟(Optional)

func (*ModifyInstanceSpecRequest) SetRegionId

func (r *ModifyInstanceSpecRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*ModifyInstanceSpecRequest) SetStorageEncrypted

func (r *ModifyInstanceSpecRequest) SetStorageEncrypted(storageEncrypted bool)

param storageEncrypted: 实例数据加密(存储类型为云硬盘才支持数据加密). false:不加密; true:加密. 如果实例从本地盘变为云硬盘,缺省为false. 如果实例本来就是使用云硬盘的,缺省和源实例保持一致(Optional)

func (*ModifyInstanceSpecRequest) SetSubnetId

func (r *ModifyInstanceSpecRequest) SetSubnetId(subnetId string)

param subnetId: 变配后的子网ID(Optional)

type ModifyInstanceSpecResponse

type ModifyInstanceSpecResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    ModifyInstanceSpecResult `json:"result"`
}

type ModifyInstanceSpecResult

type ModifyInstanceSpecResult struct {
	OrderId string `json:"orderId"`
}

type ModifyParameterGroupAttributeRequest

type ModifyParameterGroupAttributeRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Parameter Group ID  */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 参数组名称  */
	ParameterGroupName string `json:"parameterGroupName"`

	/* 参数组描述 (Optional) */
	Description *string `json:"description"`
}

func NewModifyParameterGroupAttributeRequest

func NewModifyParameterGroupAttributeRequest(
	regionId string,
	parameterGroupId string,
	parameterGroupName string,
) *ModifyParameterGroupAttributeRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameterGroupName: 参数组名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyParameterGroupAttributeRequestWithAllParams

func NewModifyParameterGroupAttributeRequestWithAllParams(
	regionId string,
	parameterGroupId string,
	parameterGroupName string,
	description *string,
) *ModifyParameterGroupAttributeRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameterGroupName: 参数组名称 (Required) * param description: 参数组描述 (Optional)

func NewModifyParameterGroupAttributeRequestWithoutParam

func NewModifyParameterGroupAttributeRequestWithoutParam() *ModifyParameterGroupAttributeRequest

This constructor has better compatible ability when API parameters changed

func (ModifyParameterGroupAttributeRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyParameterGroupAttributeRequest) SetDescription

func (r *ModifyParameterGroupAttributeRequest) SetDescription(description string)

param description: 参数组描述(Optional)

func (*ModifyParameterGroupAttributeRequest) SetParameterGroupId

func (r *ModifyParameterGroupAttributeRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: Parameter Group ID(Required)

func (*ModifyParameterGroupAttributeRequest) SetParameterGroupName

func (r *ModifyParameterGroupAttributeRequest) SetParameterGroupName(parameterGroupName string)

param parameterGroupName: 参数组名称(Required)

func (*ModifyParameterGroupAttributeRequest) SetRegionId

func (r *ModifyParameterGroupAttributeRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyParameterGroupAttributeResponse

type ModifyParameterGroupAttributeResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    ModifyParameterGroupAttributeResult `json:"result"`
}

type ModifyParameterGroupAttributeResult

type ModifyParameterGroupAttributeResult struct {
}

type ModifyParameterGroupParametersRequest

type ModifyParameterGroupParametersRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Parameter Group ID  */
	ParameterGroupId string `json:"parameterGroupId"`

	/* 修改的参数  */
	Parameters []rds.Parameter `json:"parameters"`
}

func NewModifyParameterGroupParametersRequest

func NewModifyParameterGroupParametersRequest(
	regionId string,
	parameterGroupId string,
	parameters []rds.Parameter,
) *ModifyParameterGroupParametersRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameters: 修改的参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyParameterGroupParametersRequestWithAllParams

func NewModifyParameterGroupParametersRequestWithAllParams(
	regionId string,
	parameterGroupId string,
	parameters []rds.Parameter,
) *ModifyParameterGroupParametersRequest

* param regionId: Region ID (Required) * param parameterGroupId: Parameter Group ID (Required) * param parameters: 修改的参数 (Required)

func NewModifyParameterGroupParametersRequestWithoutParam

func NewModifyParameterGroupParametersRequestWithoutParam() *ModifyParameterGroupParametersRequest

This constructor has better compatible ability when API parameters changed

func (ModifyParameterGroupParametersRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyParameterGroupParametersRequest) SetParameterGroupId

func (r *ModifyParameterGroupParametersRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: Parameter Group ID(Required)

func (*ModifyParameterGroupParametersRequest) SetParameters

func (r *ModifyParameterGroupParametersRequest) SetParameters(parameters []rds.Parameter)

param parameters: 修改的参数(Required)

func (*ModifyParameterGroupParametersRequest) SetRegionId

func (r *ModifyParameterGroupParametersRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyParameterGroupParametersResponse

type ModifyParameterGroupParametersResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    ModifyParameterGroupParametersResult `json:"result"`
}

type ModifyParameterGroupParametersResult

type ModifyParameterGroupParametersResult struct {
}

type ModifyParameterGroupRequest

type ModifyParameterGroupRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 参数组ID  */
	ParameterGroupId string `json:"parameterGroupId"`
}

func NewModifyParameterGroupRequest

func NewModifyParameterGroupRequest(
	regionId string,
	instanceId string,
	parameterGroupId string,
) *ModifyParameterGroupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param parameterGroupId: 参数组ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyParameterGroupRequestWithAllParams

func NewModifyParameterGroupRequestWithAllParams(
	regionId string,
	instanceId string,
	parameterGroupId string,
) *ModifyParameterGroupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param parameterGroupId: 参数组ID (Required)

func NewModifyParameterGroupRequestWithoutParam

func NewModifyParameterGroupRequestWithoutParam() *ModifyParameterGroupRequest

This constructor has better compatible ability when API parameters changed

func (ModifyParameterGroupRequest) GetRegionId

func (r ModifyParameterGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyParameterGroupRequest) SetInstanceId

func (r *ModifyParameterGroupRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyParameterGroupRequest) SetParameterGroupId

func (r *ModifyParameterGroupRequest) SetParameterGroupId(parameterGroupId string)

param parameterGroupId: 参数组ID(Required)

func (*ModifyParameterGroupRequest) SetRegionId

func (r *ModifyParameterGroupRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyParameterGroupResponse

type ModifyParameterGroupResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    ModifyParameterGroupResult `json:"result"`
}

type ModifyParameterGroupResult

type ModifyParameterGroupResult struct {
}

type ModifyParametersRequest

type ModifyParametersRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Instance ID  */
	InstanceId string `json:"instanceId"`

	/* 修改的实例参数  */
	Parameters []rds.Parameter `json:"parameters"`
}

func NewModifyParametersRequest

func NewModifyParametersRequest(
	regionId string,
	instanceId string,
	parameters []rds.Parameter,
) *ModifyParametersRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param parameters: 修改的实例参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyParametersRequestWithAllParams

func NewModifyParametersRequestWithAllParams(
	regionId string,
	instanceId string,
	parameters []rds.Parameter,
) *ModifyParametersRequest

* param regionId: Region ID (Required) * param instanceId: Instance ID (Required) * param parameters: 修改的实例参数 (Required)

func NewModifyParametersRequestWithoutParam

func NewModifyParametersRequestWithoutParam() *ModifyParametersRequest

This constructor has better compatible ability when API parameters changed

func (ModifyParametersRequest) GetRegionId

func (r ModifyParametersRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyParametersRequest) SetInstanceId

func (r *ModifyParametersRequest) SetInstanceId(instanceId string)

param instanceId: Instance ID(Required)

func (*ModifyParametersRequest) SetParameters

func (r *ModifyParametersRequest) SetParameters(parameters []rds.Parameter)

param parameters: 修改的实例参数(Required)

func (*ModifyParametersRequest) SetRegionId

func (r *ModifyParametersRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyParametersResponse

type ModifyParametersResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ModifyParametersResult `json:"result"`
}

type ModifyParametersResult

type ModifyParametersResult struct {
}

type ModifyReadWriteProxyRequest

type ModifyReadWriteProxyRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* 读写分离代理服务ID  */
	ReadWriteProxyId string `json:"readWriteProxyId"`

	/* 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) */
	DelayThreshold *int `json:"delayThreshold"`

	/* 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
	LoadBalancerPolicy *string `json:"loadBalancerPolicy"`

	/* 后端实例健康检查配置 (Optional) */
	HealthCheckSpec *rds.HealthCheckSpec `json:"healthCheckSpec"`
}

func NewModifyReadWriteProxyRequest

func NewModifyReadWriteProxyRequest(
	regionId string,
	readWriteProxyId string,
) *ModifyReadWriteProxyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyReadWriteProxyRequestWithAllParams

func NewModifyReadWriteProxyRequestWithAllParams(
	regionId string,
	readWriteProxyId string,
	delayThreshold *int,
	loadBalancerPolicy *string,
	healthCheckSpec *rds.HealthCheckSpec,
) *ModifyReadWriteProxyRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param readWriteProxyId: 读写分离代理服务ID (Required) * param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100 (Optional) * param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) * param healthCheckSpec: 后端实例健康检查配置 (Optional)

func NewModifyReadWriteProxyRequestWithoutParam

func NewModifyReadWriteProxyRequestWithoutParam() *ModifyReadWriteProxyRequest

This constructor has better compatible ability when API parameters changed

func (ModifyReadWriteProxyRequest) GetRegionId

func (r ModifyReadWriteProxyRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyReadWriteProxyRequest) SetDelayThreshold

func (r *ModifyReadWriteProxyRequest) SetDelayThreshold(delayThreshold int)

param delayThreshold: 延迟阈值,范围是0~1000,单位:秒,默认为100(Optional)

func (*ModifyReadWriteProxyRequest) SetHealthCheckSpec

func (r *ModifyReadWriteProxyRequest) SetHealthCheckSpec(healthCheckSpec *rds.HealthCheckSpec)

param healthCheckSpec: 后端实例健康检查配置(Optional)

func (*ModifyReadWriteProxyRequest) SetLoadBalancerPolicy

func (r *ModifyReadWriteProxyRequest) SetLoadBalancerPolicy(loadBalancerPolicy string)

param loadBalancerPolicy: 读写分离代理后端实例负载均衡策略,默认值为LEAST_CURRENT_OPERATIONS;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Optional)

func (*ModifyReadWriteProxyRequest) SetReadWriteProxyId

func (r *ModifyReadWriteProxyRequest) SetReadWriteProxyId(readWriteProxyId string)

param readWriteProxyId: 读写分离代理服务ID(Required)

func (*ModifyReadWriteProxyRequest) SetRegionId

func (r *ModifyReadWriteProxyRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyReadWriteProxyResponse

type ModifyReadWriteProxyResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    ModifyReadWriteProxyResult `json:"result"`
}

type ModifyReadWriteProxyResult

type ModifyReadWriteProxyResult struct {
}

type ModifyWhiteListRequest

type ModifyWhiteListRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10  */
	Ips string `json:"ips"`
}

func NewModifyWhiteListRequest

func NewModifyWhiteListRequest(
	regionId string,
	instanceId string,
	ips string,
) *ModifyWhiteListRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyWhiteListRequestWithAllParams

func NewModifyWhiteListRequestWithAllParams(
	regionId string,
	instanceId string,
	ips string,
) *ModifyWhiteListRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 (Required)

func NewModifyWhiteListRequestWithoutParam

func NewModifyWhiteListRequestWithoutParam() *ModifyWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (ModifyWhiteListRequest) GetRegionId

func (r ModifyWhiteListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyWhiteListRequest) SetInstanceId

func (r *ModifyWhiteListRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ModifyWhiteListRequest) SetIps

func (r *ModifyWhiteListRequest) SetIps(ips string)

param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10(Required)

func (*ModifyWhiteListRequest) SetRegionId

func (r *ModifyWhiteListRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ModifyWhiteListResponse

type ModifyWhiteListResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    ModifyWhiteListResult `json:"result"`
}

type ModifyWhiteListResult

type ModifyWhiteListResult struct {
}

type RebootInstanceRequest

type RebootInstanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 是否重启主节点。<br> - 仅SQL Server 支持该参数 (Optional) */
	RebootMaster *bool `json:"rebootMaster"`

	/* 是否重启备节点。<br> - 仅SQL Server 支持该参数 (Optional) */
	RebootSlave *bool `json:"rebootSlave"`

	/* 是否强制重启 <br>- 仅支持MySQL (Optional) */
	Force *bool `json:"force"`
}

func NewRebootInstanceRequest

func NewRebootInstanceRequest(
	regionId string,
	instanceId string,
) *RebootInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRebootInstanceRequestWithAllParams

func NewRebootInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
	rebootMaster *bool,
	rebootSlave *bool,
	force *bool,
) *RebootInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param rebootMaster: 是否重启主节点。<br> - 仅SQL Server 支持该参数 (Optional) * param rebootSlave: 是否重启备节点。<br> - 仅SQL Server 支持该参数 (Optional) * param force: 是否强制重启 <br>- 仅支持MySQL (Optional)

func NewRebootInstanceRequestWithoutParam

func NewRebootInstanceRequestWithoutParam() *RebootInstanceRequest

This constructor has better compatible ability when API parameters changed

func (RebootInstanceRequest) GetRegionId

func (r RebootInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RebootInstanceRequest) SetForce

func (r *RebootInstanceRequest) SetForce(force bool)

param force: 是否强制重启 <br>- 仅支持MySQL(Optional)

func (*RebootInstanceRequest) SetInstanceId

func (r *RebootInstanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*RebootInstanceRequest) SetRebootMaster

func (r *RebootInstanceRequest) SetRebootMaster(rebootMaster bool)

param rebootMaster: 是否重启主节点。<br> - 仅SQL Server 支持该参数(Optional)

func (*RebootInstanceRequest) SetRebootSlave

func (r *RebootInstanceRequest) SetRebootSlave(rebootSlave bool)

param rebootSlave: 是否重启备节点。<br> - 仅SQL Server 支持该参数(Optional)

func (*RebootInstanceRequest) SetRegionId

func (r *RebootInstanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type RebootInstanceResponse

type RebootInstanceResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    RebootInstanceResult `json:"result"`
}

type RebootInstanceResult

type RebootInstanceResult struct {
}

type ResetPasswordRequest

type ResetPasswordRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个实例中账号名不能重复  */
	AccountName string `json:"accountName"`

	/* 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)  */
	AccountPassword string `json:"accountPassword"`
}

func NewResetPasswordRequest

func NewResetPasswordRequest(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
) *ResetPasswordRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPassword: 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewResetPasswordRequestWithAllParams

func NewResetPasswordRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
) *ResetPasswordRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPassword: 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required)

func NewResetPasswordRequestWithoutParam

func NewResetPasswordRequestWithoutParam() *ResetPasswordRequest

This constructor has better compatible ability when API parameters changed

func (ResetPasswordRequest) GetRegionId

func (r ResetPasswordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ResetPasswordRequest) SetAccountName

func (r *ResetPasswordRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个实例中账号名不能重复(Required)

func (*ResetPasswordRequest) SetAccountPassword

func (r *ResetPasswordRequest) SetAccountPassword(accountPassword string)

param accountPassword: 新密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)

func (*ResetPasswordRequest) SetInstanceId

func (r *ResetPasswordRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*ResetPasswordRequest) SetRegionId

func (r *ResetPasswordRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type ResetPasswordResponse

type ResetPasswordResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    ResetPasswordResult `json:"result"`
}

type ResetPasswordResult

type ResetPasswordResult struct {
}

type RestoreDatabaseFromBackupRequest

type RestoreDatabaseFromBackupRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 库名称  */
	DbName string `json:"dbName"`

	/* 备份ID,可从备份查询接口describeBackups获取  */
	BackupId string `json:"backupId"`

	/* 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份  */
	BackupFileName string `json:"backupFileName"`
}

func NewRestoreDatabaseFromBackupRequest

func NewRestoreDatabaseFromBackupRequest(
	regionId string,
	instanceId string,
	dbName string,
	backupId string,
	backupFileName string,
) *RestoreDatabaseFromBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param backupId: 备份ID,可从备份查询接口describeBackups获取 (Required) * param backupFileName: 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRestoreDatabaseFromBackupRequestWithAllParams

func NewRestoreDatabaseFromBackupRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
	backupId string,
	backupFileName string,
) *RestoreDatabaseFromBackupRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param backupId: 备份ID,可从备份查询接口describeBackups获取 (Required) * param backupFileName: 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份 (Required)

func NewRestoreDatabaseFromBackupRequestWithoutParam

func NewRestoreDatabaseFromBackupRequestWithoutParam() *RestoreDatabaseFromBackupRequest

This constructor has better compatible ability when API parameters changed

func (RestoreDatabaseFromBackupRequest) GetRegionId

func (r RestoreDatabaseFromBackupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RestoreDatabaseFromBackupRequest) SetBackupFileName

func (r *RestoreDatabaseFromBackupRequest) SetBackupFileName(backupFileName string)

param backupFileName: 指定该备份中用于恢复数据库的文件名称。通常情况下文件名(不包括后缀)即为备份的数据库名。例如文件名为my_test_db.bak,表示该文件是my_test_db数据库的备份(Required)

func (*RestoreDatabaseFromBackupRequest) SetBackupId

func (r *RestoreDatabaseFromBackupRequest) SetBackupId(backupId string)

param backupId: 备份ID,可从备份查询接口describeBackups获取(Required)

func (*RestoreDatabaseFromBackupRequest) SetDbName

func (r *RestoreDatabaseFromBackupRequest) SetDbName(dbName string)

param dbName: 库名称(Required)

func (*RestoreDatabaseFromBackupRequest) SetInstanceId

func (r *RestoreDatabaseFromBackupRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*RestoreDatabaseFromBackupRequest) SetRegionId

func (r *RestoreDatabaseFromBackupRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type RestoreDatabaseFromBackupResponse

type RestoreDatabaseFromBackupResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    RestoreDatabaseFromBackupResult `json:"result"`
}

type RestoreDatabaseFromBackupResult

type RestoreDatabaseFromBackupResult struct {
}

type RestoreDatabaseFromFileRequest

type RestoreDatabaseFromFileRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 库名称  */
	DbName string `json:"dbName"`

	/* 共享文件的全局ID,可从上传文件查询接口[describeImportFiles](../Cloud-on-Single-Database/describeImportFiles.md)获取;如果该文件不是共享文件,则不用输入该参数 (Optional) */
	SharedFileGid *string `json:"sharedFileGid"`

	/* 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak  */
	FileName string `json:"fileName"`
}

func NewRestoreDatabaseFromFileRequest

func NewRestoreDatabaseFromFileRequest(
	regionId string,
	instanceId string,
	dbName string,
	fileName string,
) *RestoreDatabaseFromFileRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param fileName: 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRestoreDatabaseFromFileRequestWithAllParams

func NewRestoreDatabaseFromFileRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
	sharedFileGid *string,
	fileName string,
) *RestoreDatabaseFromFileRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口[describeImportFiles](../Cloud-on-Single-Database/describeImportFiles.md)获取;如果该文件不是共享文件,则不用输入该参数 (Optional) * param fileName: 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak (Required)

func NewRestoreDatabaseFromFileRequestWithoutParam

func NewRestoreDatabaseFromFileRequestWithoutParam() *RestoreDatabaseFromFileRequest

This constructor has better compatible ability when API parameters changed

func (RestoreDatabaseFromFileRequest) GetRegionId

func (r RestoreDatabaseFromFileRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RestoreDatabaseFromFileRequest) SetDbName

func (r *RestoreDatabaseFromFileRequest) SetDbName(dbName string)

param dbName: 库名称(Required)

func (*RestoreDatabaseFromFileRequest) SetFileName

func (r *RestoreDatabaseFromFileRequest) SetFileName(fileName string)

param fileName: 用户上传的备份文件名称(包括文件后缀名),例如mydb1.bak(Required)

func (*RestoreDatabaseFromFileRequest) SetInstanceId

func (r *RestoreDatabaseFromFileRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*RestoreDatabaseFromFileRequest) SetRegionId

func (r *RestoreDatabaseFromFileRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*RestoreDatabaseFromFileRequest) SetSharedFileGid

func (r *RestoreDatabaseFromFileRequest) SetSharedFileGid(sharedFileGid string)

param sharedFileGid: 共享文件的全局ID,可从上传文件查询接口[describeImportFiles](../Cloud-on-Single-Database/describeImportFiles.md)获取;如果该文件不是共享文件,则不用输入该参数(Optional)

type RestoreDatabaseFromFileResponse

type RestoreDatabaseFromFileResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    RestoreDatabaseFromFileResult `json:"result"`
}

type RestoreDatabaseFromFileResult

type RestoreDatabaseFromFileResult struct {
}

type RestoreDatabaseFromOSSRequest

type RestoreDatabaseFromOSSRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 库名称  */
	DbName string `json:"dbName"`

	/* 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。  */
	OssURL string `json:"ossURL"`
}

func NewRestoreDatabaseFromOSSRequest

func NewRestoreDatabaseFromOSSRequest(
	regionId string,
	instanceId string,
	dbName string,
	ossURL string,
) *RestoreDatabaseFromOSSRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param ossURL: 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRestoreDatabaseFromOSSRequestWithAllParams

func NewRestoreDatabaseFromOSSRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
	ossURL string,
) *RestoreDatabaseFromOSSRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * param ossURL: 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。 (Required)

func NewRestoreDatabaseFromOSSRequestWithoutParam

func NewRestoreDatabaseFromOSSRequestWithoutParam() *RestoreDatabaseFromOSSRequest

This constructor has better compatible ability when API parameters changed

func (RestoreDatabaseFromOSSRequest) GetRegionId

func (r RestoreDatabaseFromOSSRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RestoreDatabaseFromOSSRequest) SetDbName

func (r *RestoreDatabaseFromOSSRequest) SetDbName(dbName string)

param dbName: 库名称(Required)

func (*RestoreDatabaseFromOSSRequest) SetInstanceId

func (r *RestoreDatabaseFromOSSRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*RestoreDatabaseFromOSSRequest) SetOssURL

func (r *RestoreDatabaseFromOSSRequest) SetOssURL(ossURL string)

param ossURL: 用户上传到对象存储OSS上的备份文件的路径。<br>例如用户备份上传的bucket为db_backup,文件为test_server/db1.bak,那么ossULR为db_backup/test_server/db1.bak。<br>**授权说明**:需要授予账户ID:785455908940,对这个bucket的读取权限,具体步骤可以查看[文档](https://docs.jdcloud.com/cn/object-storage-service/set-bucket-policy-2)。(Required)

func (*RestoreDatabaseFromOSSRequest) SetRegionId

func (r *RestoreDatabaseFromOSSRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type RestoreDatabaseFromOSSResponse

type RestoreDatabaseFromOSSResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    RestoreDatabaseFromOSSResult `json:"result"`
}

type RestoreDatabaseFromOSSResult

type RestoreDatabaseFromOSSResult struct {
}

type RestoreInstanceByTimeRequest

type RestoreInstanceByTimeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 根据源实例的哪个时间点创建新实例  */
	RestoreTime string `json:"restoreTime"`

	/* 需要进行单库,单表恢复的概要信息  */
	RestoreSchema []rds.Schema `json:"restoreSchema"`
}

func NewRestoreInstanceByTimeRequest

func NewRestoreInstanceByTimeRequest(
	regionId string,
	instanceId string,
	restoreTime string,
	restoreSchema []rds.Schema,
) *RestoreInstanceByTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param restoreSchema: 需要进行单库,单表恢复的概要信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRestoreInstanceByTimeRequestWithAllParams

func NewRestoreInstanceByTimeRequestWithAllParams(
	regionId string,
	instanceId string,
	restoreTime string,
	restoreSchema []rds.Schema,
) *RestoreInstanceByTimeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param restoreTime: 根据源实例的哪个时间点创建新实例 (Required) * param restoreSchema: 需要进行单库,单表恢复的概要信息 (Required)

func NewRestoreInstanceByTimeRequestWithoutParam

func NewRestoreInstanceByTimeRequestWithoutParam() *RestoreInstanceByTimeRequest

This constructor has better compatible ability when API parameters changed

func (RestoreInstanceByTimeRequest) GetRegionId

func (r RestoreInstanceByTimeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RestoreInstanceByTimeRequest) SetInstanceId

func (r *RestoreInstanceByTimeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*RestoreInstanceByTimeRequest) SetRegionId

func (r *RestoreInstanceByTimeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*RestoreInstanceByTimeRequest) SetRestoreSchema

func (r *RestoreInstanceByTimeRequest) SetRestoreSchema(restoreSchema []rds.Schema)

param restoreSchema: 需要进行单库,单表恢复的概要信息(Required)

func (*RestoreInstanceByTimeRequest) SetRestoreTime

func (r *RestoreInstanceByTimeRequest) SetRestoreTime(restoreTime string)

param restoreTime: 根据源实例的哪个时间点创建新实例(Required)

type RestoreInstanceByTimeResponse

type RestoreInstanceByTimeResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    RestoreInstanceByTimeResult `json:"result"`
}

type RestoreInstanceByTimeResult

type RestoreInstanceByTimeResult struct {
}

type RestoreInstanceRequest

type RestoreInstanceRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 用于恢复的备份Id,仅限于本实例生成的备份 (Optional) */
	BackupId *string `json:"backupId"`
}

func NewRestoreInstanceRequest

func NewRestoreInstanceRequest(
	regionId string,
	instanceId string,
) *RestoreInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRestoreInstanceRequestWithAllParams

func NewRestoreInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
	backupId *string,
) *RestoreInstanceRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param backupId: 用于恢复的备份Id,仅限于本实例生成的备份 (Optional)

func NewRestoreInstanceRequestWithoutParam

func NewRestoreInstanceRequestWithoutParam() *RestoreInstanceRequest

This constructor has better compatible ability when API parameters changed

func (RestoreInstanceRequest) GetRegionId

func (r RestoreInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RestoreInstanceRequest) SetBackupId

func (r *RestoreInstanceRequest) SetBackupId(backupId string)

param backupId: 用于恢复的备份Id,仅限于本实例生成的备份(Optional)

func (*RestoreInstanceRequest) SetInstanceId

func (r *RestoreInstanceRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*RestoreInstanceRequest) SetRegionId

func (r *RestoreInstanceRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    RestoreInstanceResult `json:"result"`
}

type RestoreInstanceResult

type RestoreInstanceResult struct {
}

type RevokePrivilegeRequest

type RevokePrivilegeRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 账号名,在同一个实例中账号名不能重复  */
	AccountName string `json:"accountName"`

	/* 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库  */
	DbNames []string `json:"dbNames"`
}

func NewRevokePrivilegeRequest

func NewRevokePrivilegeRequest(
	regionId string,
	instanceId string,
	accountName string,
	dbNames []string,
) *RevokePrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRevokePrivilegeRequestWithAllParams

func NewRevokePrivilegeRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	dbNames []string,
) *RevokePrivilegeRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 (Required)

func NewRevokePrivilegeRequestWithoutParam

func NewRevokePrivilegeRequestWithoutParam() *RevokePrivilegeRequest

This constructor has better compatible ability when API parameters changed

func (RevokePrivilegeRequest) GetRegionId

func (r RevokePrivilegeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RevokePrivilegeRequest) SetAccountName

func (r *RevokePrivilegeRequest) SetAccountName(accountName string)

param accountName: 账号名,在同一个实例中账号名不能重复(Required)

func (*RevokePrivilegeRequest) SetDbNames

func (r *RevokePrivilegeRequest) SetDbNames(dbNames []string)

param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库(Required)

func (*RevokePrivilegeRequest) SetInstanceId

func (r *RevokePrivilegeRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*RevokePrivilegeRequest) SetRegionId

func (r *RevokePrivilegeRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type RevokePrivilegeResponse

type RevokePrivilegeResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    RevokePrivilegeResult `json:"result"`
}

type RevokePrivilegeResult

type RevokePrivilegeResult struct {
}

type SetImportFileSharedRequest

type SetImportFileSharedRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 单库上云文件名  */
	FileName string `json:"fileName"`

	/* 文件是否共享<br>true:共享<br>false:不共享  */
	Shared string `json:"shared"`
}

func NewSetImportFileSharedRequest

func NewSetImportFileSharedRequest(
	regionId string,
	instanceId string,
	fileName string,
	shared string,
) *SetImportFileSharedRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * param shared: 文件是否共享<br>true:共享<br>false:不共享 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSetImportFileSharedRequestWithAllParams

func NewSetImportFileSharedRequestWithAllParams(
	regionId string,
	instanceId string,
	fileName string,
	shared string,
) *SetImportFileSharedRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param fileName: 单库上云文件名 (Required) * param shared: 文件是否共享<br>true:共享<br>false:不共享 (Required)

func NewSetImportFileSharedRequestWithoutParam

func NewSetImportFileSharedRequestWithoutParam() *SetImportFileSharedRequest

This constructor has better compatible ability when API parameters changed

func (SetImportFileSharedRequest) GetRegionId

func (r SetImportFileSharedRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetImportFileSharedRequest) SetFileName

func (r *SetImportFileSharedRequest) SetFileName(fileName string)

param fileName: 单库上云文件名(Required)

func (*SetImportFileSharedRequest) SetInstanceId

func (r *SetImportFileSharedRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*SetImportFileSharedRequest) SetRegionId

func (r *SetImportFileSharedRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*SetImportFileSharedRequest) SetShared

func (r *SetImportFileSharedRequest) SetShared(shared string)

param shared: 文件是否共享<br>true:共享<br>false:不共享(Required)

type SetImportFileSharedResponse

type SetImportFileSharedResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    SetImportFileSharedResult `json:"result"`
}

type SetImportFileSharedResult

type SetImportFileSharedResult struct {
}

type SwitchForModifyingInstanceSpecRequest

type SwitchForModifyingInstanceSpecRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`
}

func NewSwitchForModifyingInstanceSpecRequest

func NewSwitchForModifyingInstanceSpecRequest(
	regionId string,
	instanceId string,
) *SwitchForModifyingInstanceSpecRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSwitchForModifyingInstanceSpecRequestWithAllParams

func NewSwitchForModifyingInstanceSpecRequestWithAllParams(
	regionId string,
	instanceId string,
) *SwitchForModifyingInstanceSpecRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)

func NewSwitchForModifyingInstanceSpecRequestWithoutParam

func NewSwitchForModifyingInstanceSpecRequestWithoutParam() *SwitchForModifyingInstanceSpecRequest

This constructor has better compatible ability when API parameters changed

func (SwitchForModifyingInstanceSpecRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SwitchForModifyingInstanceSpecRequest) SetInstanceId

func (r *SwitchForModifyingInstanceSpecRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*SwitchForModifyingInstanceSpecRequest) SetRegionId

func (r *SwitchForModifyingInstanceSpecRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

type SwitchForModifyingInstanceSpecResponse

type SwitchForModifyingInstanceSpecResponse struct {
	RequestID string                               `json:"requestId"`
	Error     core.ErrorResponse                   `json:"error"`
	Result    SwitchForModifyingInstanceSpecResult `json:"result"`
}

type SwitchForModifyingInstanceSpecResult

type SwitchForModifyingInstanceSpecResult struct {
}

type UpdateLogDownloadURLInternalRequest

type UpdateLogDownloadURLInternalRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 日志文件ID  */
	LogId string `json:"logId"`

	/* 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒  */
	Seconds int `json:"seconds"`
}

func NewUpdateLogDownloadURLInternalRequest

func NewUpdateLogDownloadURLInternalRequest(
	regionId string,
	instanceId string,
	logId string,
	seconds int,
) *UpdateLogDownloadURLInternalRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * param seconds: 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUpdateLogDownloadURLInternalRequestWithAllParams

func NewUpdateLogDownloadURLInternalRequestWithAllParams(
	regionId string,
	instanceId string,
	logId string,
	seconds int,
) *UpdateLogDownloadURLInternalRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param logId: 日志文件ID (Required) * param seconds: 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒 (Required)

func NewUpdateLogDownloadURLInternalRequestWithoutParam

func NewUpdateLogDownloadURLInternalRequestWithoutParam() *UpdateLogDownloadURLInternalRequest

This constructor has better compatible ability when API parameters changed

func (UpdateLogDownloadURLInternalRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UpdateLogDownloadURLInternalRequest) SetInstanceId

func (r *UpdateLogDownloadURLInternalRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*UpdateLogDownloadURLInternalRequest) SetLogId

func (r *UpdateLogDownloadURLInternalRequest) SetLogId(logId string)

param logId: 日志文件ID(Required)

func (*UpdateLogDownloadURLInternalRequest) SetRegionId

func (r *UpdateLogDownloadURLInternalRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*UpdateLogDownloadURLInternalRequest) SetSeconds

func (r *UpdateLogDownloadURLInternalRequest) SetSeconds(seconds int)

param seconds: 设置链接地址的过期时间,单位是秒,最长不能超过取值范围为 1 ~ 86400 秒(Required)

type UpdateLogDownloadURLInternalResponse

type UpdateLogDownloadURLInternalResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    UpdateLogDownloadURLInternalResult `json:"result"`
}

type UpdateLogDownloadURLInternalResult

type UpdateLogDownloadURLInternalResult struct {
	PublicURL   string `json:"publicURL"`
	InternalURL string `json:"internalURL"`
}

type UpgradeEngineVersionRequest

type UpgradeEngineVersionRequest struct {
	core.JDCloudRequest

	/* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)  */
	RegionId string `json:"regionId"`

	/* RDS 实例ID,唯一标识一个RDS实例  */
	InstanceId string `json:"instanceId"`

	/* 计划开始升级的时间,1:立即开始升级,2:维护时间窗口升级,0:取消升级  */
	UpgradeSchedule int `json:"upgradeSchedule"`

	/* 升级到的新版本,默认为当前实例可升级到的最新版本 (Optional) */
	NewVersion *string `json:"newVersion"`
}

func NewUpgradeEngineVersionRequest

func NewUpgradeEngineVersionRequest(
	regionId string,
	instanceId string,
	upgradeSchedule int,
) *UpgradeEngineVersionRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param upgradeSchedule: 计划开始升级的时间,1:立即开始升级,2:维护时间窗口升级,0:取消升级 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUpgradeEngineVersionRequestWithAllParams

func NewUpgradeEngineVersionRequestWithAllParams(
	regionId string,
	instanceId string,
	upgradeSchedule int,
	newVersion *string,
) *UpgradeEngineVersionRequest

* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param upgradeSchedule: 计划开始升级的时间,1:立即开始升级,2:维护时间窗口升级,0:取消升级 (Required) * param newVersion: 升级到的新版本,默认为当前实例可升级到的最新版本 (Optional)

func NewUpgradeEngineVersionRequestWithoutParam

func NewUpgradeEngineVersionRequestWithoutParam() *UpgradeEngineVersionRequest

This constructor has better compatible ability when API parameters changed

func (UpgradeEngineVersionRequest) GetRegionId

func (r UpgradeEngineVersionRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UpgradeEngineVersionRequest) SetInstanceId

func (r *UpgradeEngineVersionRequest) SetInstanceId(instanceId string)

param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)

func (*UpgradeEngineVersionRequest) SetNewVersion

func (r *UpgradeEngineVersionRequest) SetNewVersion(newVersion string)

param newVersion: 升级到的新版本,默认为当前实例可升级到的最新版本(Optional)

func (*UpgradeEngineVersionRequest) SetRegionId

func (r *UpgradeEngineVersionRequest) SetRegionId(regionId string)

param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)

func (*UpgradeEngineVersionRequest) SetUpgradeSchedule

func (r *UpgradeEngineVersionRequest) SetUpgradeSchedule(upgradeSchedule int)

param upgradeSchedule: 计划开始升级的时间,1:立即开始升级,2:维护时间窗口升级,0:取消升级(Required)

type UpgradeEngineVersionResponse

type UpgradeEngineVersionResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    UpgradeEngineVersionResult `json:"result"`
}

type UpgradeEngineVersionResult

type UpgradeEngineVersionResult struct {
}

Source Files

Jump to

Keyboard shortcuts

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