apis

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignSecondaryIpsRequest

type AssignSecondaryIpsRequest struct {
	core.JDCloudRequest

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

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配,默认抢占重分配。默认值:true (Optional) */
	Force *bool `json:"force"`

	/* 指定分配的secondaryIp地址 (Optional) */
	SecondaryIps []string `json:"secondaryIps"`

	/* 指定自动分配的secondaryIp个数 (Optional) */
	SecondaryIpCount *int `json:"secondaryIpCount"`
}

func NewAssignSecondaryIpsRequest

func NewAssignSecondaryIpsRequest(
	regionId string,
	networkInterfaceId string,
) *AssignSecondaryIpsRequest

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

func NewAssignSecondaryIpsRequestWithAllParams

func NewAssignSecondaryIpsRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
	force *bool,
	secondaryIps []string,
	secondaryIpCount *int,
) *AssignSecondaryIpsRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param force: secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配,默认抢占重分配。默认值:true (Optional) * param secondaryIps: 指定分配的secondaryIp地址 (Optional) * param secondaryIpCount: 指定自动分配的secondaryIp个数 (Optional)

func NewAssignSecondaryIpsRequestWithoutParam

func NewAssignSecondaryIpsRequestWithoutParam() *AssignSecondaryIpsRequest

This constructor has better compatible ability when API parameters changed

func (AssignSecondaryIpsRequest) GetRegionId

func (r AssignSecondaryIpsRequest) GetRegionId() string

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

func (*AssignSecondaryIpsRequest) SetForce

func (r *AssignSecondaryIpsRequest) SetForce(force bool)

param force: secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配,默认抢占重分配。默认值:true(Optional)

func (*AssignSecondaryIpsRequest) SetNetworkInterfaceId

func (r *AssignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*AssignSecondaryIpsRequest) SetRegionId

func (r *AssignSecondaryIpsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*AssignSecondaryIpsRequest) SetSecondaryIpCount

func (r *AssignSecondaryIpsRequest) SetSecondaryIpCount(secondaryIpCount int)

param secondaryIpCount: 指定自动分配的secondaryIp个数(Optional)

func (*AssignSecondaryIpsRequest) SetSecondaryIps

func (r *AssignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)

param secondaryIps: 指定分配的secondaryIp地址(Optional)

type AssignSecondaryIpsResponse

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

type AssignSecondaryIpsResult

type AssignSecondaryIpsResult struct {
}

type CreateRdsAccountRequest added in v1.15.0

type CreateRdsAccountRequest 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 NewCreateRdsAccountRequest added in v1.15.0

func NewCreateRdsAccountRequest(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
) *CreateRdsAccountRequest

* 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 NewCreateRdsAccountRequestWithAllParams added in v1.15.0

func NewCreateRdsAccountRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	accountPassword string,
) *CreateRdsAccountRequest

* 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 NewCreateRdsAccountRequestWithoutParam added in v1.15.0

func NewCreateRdsAccountRequestWithoutParam() *CreateRdsAccountRequest

This constructor has better compatible ability when API parameters changed

func (CreateRdsAccountRequest) GetRegionId added in v1.15.0

func (r CreateRdsAccountRequest) GetRegionId() string

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

func (*CreateRdsAccountRequest) SetAccountName added in v1.15.0

func (r *CreateRdsAccountRequest) SetAccountName(accountName string)

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

func (*CreateRdsAccountRequest) SetAccountPassword added in v1.15.0

func (r *CreateRdsAccountRequest) SetAccountPassword(accountPassword string)

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

func (*CreateRdsAccountRequest) SetInstanceId added in v1.15.0

func (r *CreateRdsAccountRequest) SetInstanceId(instanceId string)

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

func (*CreateRdsAccountRequest) SetRegionId added in v1.15.0

func (r *CreateRdsAccountRequest) SetRegionId(regionId string)

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

type CreateRdsAccountResponse added in v1.15.0

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

type CreateRdsAccountResult added in v1.15.0

type CreateRdsAccountResult struct {
}

type CreateRdsDatabaseRequest added in v1.15.0

type CreateRdsDatabaseRequest 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 NewCreateRdsDatabaseRequest added in v1.15.0

func NewCreateRdsDatabaseRequest(
	regionId string,
	instanceId string,
	dbName string,
	characterSetName string,
) *CreateRdsDatabaseRequest

* 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 NewCreateRdsDatabaseRequestWithAllParams added in v1.15.0

func NewCreateRdsDatabaseRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
	characterSetName string,
) *CreateRdsDatabaseRequest

* 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 NewCreateRdsDatabaseRequestWithoutParam added in v1.15.0

func NewCreateRdsDatabaseRequestWithoutParam() *CreateRdsDatabaseRequest

This constructor has better compatible ability when API parameters changed

func (CreateRdsDatabaseRequest) GetRegionId added in v1.15.0

func (r CreateRdsDatabaseRequest) GetRegionId() string

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

func (*CreateRdsDatabaseRequest) SetCharacterSetName added in v1.15.0

func (r *CreateRdsDatabaseRequest) SetCharacterSetName(characterSetName string)

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

func (*CreateRdsDatabaseRequest) SetDbName added in v1.15.0

func (r *CreateRdsDatabaseRequest) SetDbName(dbName string)

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

func (*CreateRdsDatabaseRequest) SetInstanceId added in v1.15.0

func (r *CreateRdsDatabaseRequest) SetInstanceId(instanceId string)

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

func (*CreateRdsDatabaseRequest) SetRegionId added in v1.15.0

func (r *CreateRdsDatabaseRequest) SetRegionId(regionId string)

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

type CreateRdsDatabaseResponse added in v1.15.0

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

type CreateRdsDatabaseResult added in v1.15.0

type CreateRdsDatabaseResult struct {
}

type DeleteRdsAccountRequest added in v1.15.0

type DeleteRdsAccountRequest struct {
	core.JDCloudRequest

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

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

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

func NewDeleteRdsAccountRequest added in v1.15.0

func NewDeleteRdsAccountRequest(
	regionId string,
	instanceId string,
	accountName string,
) *DeleteRdsAccountRequest

* 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 NewDeleteRdsAccountRequestWithAllParams added in v1.15.0

func NewDeleteRdsAccountRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
) *DeleteRdsAccountRequest

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

func NewDeleteRdsAccountRequestWithoutParam added in v1.15.0

func NewDeleteRdsAccountRequestWithoutParam() *DeleteRdsAccountRequest

This constructor has better compatible ability when API parameters changed

func (DeleteRdsAccountRequest) GetRegionId added in v1.15.0

func (r DeleteRdsAccountRequest) GetRegionId() string

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

func (*DeleteRdsAccountRequest) SetAccountName added in v1.15.0

func (r *DeleteRdsAccountRequest) SetAccountName(accountName string)

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

func (*DeleteRdsAccountRequest) SetInstanceId added in v1.15.0

func (r *DeleteRdsAccountRequest) SetInstanceId(instanceId string)

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

func (*DeleteRdsAccountRequest) SetRegionId added in v1.15.0

func (r *DeleteRdsAccountRequest) SetRegionId(regionId string)

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

type DeleteRdsAccountResponse added in v1.15.0

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

type DeleteRdsAccountResult added in v1.15.0

type DeleteRdsAccountResult struct {
}

type DeleteRdsDatabaseRequest

type DeleteRdsDatabaseRequest struct {
	core.JDCloudRequest

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

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

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

func NewDeleteRdsDatabaseRequest

func NewDeleteRdsDatabaseRequest(
	regionId string,
	instanceId string,
	dbName string,
) *DeleteRdsDatabaseRequest

* 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 NewDeleteRdsDatabaseRequestWithAllParams

func NewDeleteRdsDatabaseRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName string,
) *DeleteRdsDatabaseRequest

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

func NewDeleteRdsDatabaseRequestWithoutParam

func NewDeleteRdsDatabaseRequestWithoutParam() *DeleteRdsDatabaseRequest

This constructor has better compatible ability when API parameters changed

func (DeleteRdsDatabaseRequest) GetRegionId

func (r DeleteRdsDatabaseRequest) GetRegionId() string

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

func (*DeleteRdsDatabaseRequest) SetDbName

func (r *DeleteRdsDatabaseRequest) SetDbName(dbName string)

param dbName: 库名称(Required)

func (*DeleteRdsDatabaseRequest) SetInstanceId

func (r *DeleteRdsDatabaseRequest) SetInstanceId(instanceId string)

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

func (*DeleteRdsDatabaseRequest) SetRegionId

func (r *DeleteRdsDatabaseRequest) SetRegionId(regionId string)

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

type DeleteRdsDatabaseResponse

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

type DeleteRdsDatabaseResult

type DeleteRdsDatabaseResult struct {
}

type DescribeInstanceInfoRequest added in v1.15.0

type DescribeInstanceInfoRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeInstanceInfoRequest added in v1.15.0

func NewDescribeInstanceInfoRequest(
	regionId string,
	instanceId string,
) *DescribeInstanceInfoRequest

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

func NewDescribeInstanceInfoRequestWithAllParams added in v1.15.0

func NewDescribeInstanceInfoRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeInstanceInfoRequest

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

func NewDescribeInstanceInfoRequestWithoutParam added in v1.15.0

func NewDescribeInstanceInfoRequestWithoutParam() *DescribeInstanceInfoRequest

This constructor has better compatible ability when API parameters changed

func (DescribeInstanceInfoRequest) GetRegionId added in v1.15.0

func (r DescribeInstanceInfoRequest) GetRegionId() string

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

func (*DescribeInstanceInfoRequest) SetInstanceId added in v1.15.0

func (r *DescribeInstanceInfoRequest) SetInstanceId(instanceId string)

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

func (*DescribeInstanceInfoRequest) SetRegionId added in v1.15.0

func (r *DescribeInstanceInfoRequest) SetRegionId(regionId string)

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

type DescribeInstanceInfoResponse added in v1.15.0

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

type DescribeInstanceInfoResult added in v1.15.0

type DescribeInstanceInfoResult struct {
	InstanceStatus string `json:"instanceStatus"`
	InternalDns    string `json:"internalDns"`
}

type DescribeRdsAccountsRequest added in v1.15.0

type DescribeRdsAccountsRequest 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 NewDescribeRdsAccountsRequest added in v1.15.0

func NewDescribeRdsAccountsRequest(
	regionId string,
	instanceId string,
) *DescribeRdsAccountsRequest

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

func NewDescribeRdsAccountsRequestWithAllParams added in v1.15.0

func NewDescribeRdsAccountsRequestWithAllParams(
	regionId string,
	instanceId string,
	pageNumber *int,
	pageSize *int,
) *DescribeRdsAccountsRequest

* 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 NewDescribeRdsAccountsRequestWithoutParam added in v1.15.0

func NewDescribeRdsAccountsRequestWithoutParam() *DescribeRdsAccountsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRdsAccountsRequest) GetRegionId added in v1.15.0

func (r DescribeRdsAccountsRequest) GetRegionId() string

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

func (*DescribeRdsAccountsRequest) SetInstanceId added in v1.15.0

func (r *DescribeRdsAccountsRequest) SetInstanceId(instanceId string)

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

func (*DescribeRdsAccountsRequest) SetPageNumber added in v1.15.0

func (r *DescribeRdsAccountsRequest) SetPageNumber(pageNumber int)

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

func (*DescribeRdsAccountsRequest) SetPageSize added in v1.15.0

func (r *DescribeRdsAccountsRequest) SetPageSize(pageSize int)

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

func (*DescribeRdsAccountsRequest) SetRegionId added in v1.15.0

func (r *DescribeRdsAccountsRequest) SetRegionId(regionId string)

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

type DescribeRdsAccountsResponse added in v1.15.0

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

type DescribeRdsAccountsResult added in v1.15.0

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

type DescribeRdsDatabasesRequest added in v1.15.0

type DescribeRdsDatabasesRequest 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 NewDescribeRdsDatabasesRequest added in v1.15.0

func NewDescribeRdsDatabasesRequest(
	regionId string,
	instanceId string,
) *DescribeRdsDatabasesRequest

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

func NewDescribeRdsDatabasesRequestWithAllParams added in v1.15.0

func NewDescribeRdsDatabasesRequestWithAllParams(
	regionId string,
	instanceId string,
	dbName *string,
	pageNumber *int,
	pageSize *int,
) *DescribeRdsDatabasesRequest

* 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 NewDescribeRdsDatabasesRequestWithoutParam added in v1.15.0

func NewDescribeRdsDatabasesRequestWithoutParam() *DescribeRdsDatabasesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRdsDatabasesRequest) GetRegionId added in v1.15.0

func (r DescribeRdsDatabasesRequest) GetRegionId() string

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

func (*DescribeRdsDatabasesRequest) SetDbName added in v1.15.0

func (r *DescribeRdsDatabasesRequest) SetDbName(dbName string)

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

func (*DescribeRdsDatabasesRequest) SetInstanceId added in v1.15.0

func (r *DescribeRdsDatabasesRequest) SetInstanceId(instanceId string)

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

func (*DescribeRdsDatabasesRequest) SetPageNumber added in v1.15.0

func (r *DescribeRdsDatabasesRequest) SetPageNumber(pageNumber int)

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

func (*DescribeRdsDatabasesRequest) SetPageSize added in v1.15.0

func (r *DescribeRdsDatabasesRequest) SetPageSize(pageSize int)

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

func (*DescribeRdsDatabasesRequest) SetRegionId added in v1.15.0

func (r *DescribeRdsDatabasesRequest) SetRegionId(regionId string)

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

type DescribeRdsDatabasesResponse added in v1.15.0

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

type DescribeRdsDatabasesResult added in v1.15.0

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

type DescribeRdsInstanceRequest added in v1.15.0

type DescribeRdsInstanceRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeRdsInstanceRequest added in v1.15.0

func NewDescribeRdsInstanceRequest(
	regionId string,
	instanceId string,
) *DescribeRdsInstanceRequest

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

func NewDescribeRdsInstanceRequestWithAllParams added in v1.15.0

func NewDescribeRdsInstanceRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeRdsInstanceRequest

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

func NewDescribeRdsInstanceRequestWithoutParam added in v1.15.0

func NewDescribeRdsInstanceRequestWithoutParam() *DescribeRdsInstanceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRdsInstanceRequest) GetRegionId added in v1.15.0

func (r DescribeRdsInstanceRequest) GetRegionId() string

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

func (*DescribeRdsInstanceRequest) SetInstanceId added in v1.15.0

func (r *DescribeRdsInstanceRequest) SetInstanceId(instanceId string)

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

func (*DescribeRdsInstanceRequest) SetRegionId added in v1.15.0

func (r *DescribeRdsInstanceRequest) SetRegionId(regionId string)

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

type DescribeRdsInstanceResponse added in v1.15.0

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

type DescribeRdsInstanceResult added in v1.15.0

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

type DescribeRdsInstancesRequest added in v1.15.0

type DescribeRdsInstancesRequest struct {
	core.JDCloudRequest

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

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

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

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

	/* 资源类型,MySQL:1,SqlServer:2 (Optional) */
	Type *int `json:"type"`
}

func NewDescribeRdsInstancesRequest added in v1.15.0

func NewDescribeRdsInstancesRequest(
	regionId string,
) *DescribeRdsInstancesRequest

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

func NewDescribeRdsInstancesRequestWithAllParams added in v1.15.0

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

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

(Optional)
* param type_: 资源类型,MySQL:1,SqlServer:2 (Optional)

func NewDescribeRdsInstancesRequestWithoutParam added in v1.15.0

func NewDescribeRdsInstancesRequestWithoutParam() *DescribeRdsInstancesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRdsInstancesRequest) GetRegionId added in v1.15.0

func (r DescribeRdsInstancesRequest) GetRegionId() string

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

func (*DescribeRdsInstancesRequest) SetFilters added in v1.15.0

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

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

func (*DescribeRdsInstancesRequest) SetPageNumber added in v1.15.0

func (r *DescribeRdsInstancesRequest) SetPageNumber(pageNumber int)

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

func (*DescribeRdsInstancesRequest) SetPageSize added in v1.15.0

func (r *DescribeRdsInstancesRequest) SetPageSize(pageSize int)

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

func (*DescribeRdsInstancesRequest) SetRegionId added in v1.15.0

func (r *DescribeRdsInstancesRequest) SetRegionId(regionId string)

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

func (*DescribeRdsInstancesRequest) SetType added in v1.15.0

func (r *DescribeRdsInstancesRequest) SetType(type_ int)

param type_: 资源类型,MySQL:1,SqlServer:2(Optional)

type DescribeRdsInstancesResponse added in v1.15.0

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

type DescribeRdsInstancesResult added in v1.15.0

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

type DescribeRdsWhiteListRequest added in v1.15.0

type DescribeRdsWhiteListRequest struct {
	core.JDCloudRequest

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

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

func NewDescribeRdsWhiteListRequest added in v1.15.0

func NewDescribeRdsWhiteListRequest(
	regionId string,
	instanceId string,
) *DescribeRdsWhiteListRequest

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

func NewDescribeRdsWhiteListRequestWithAllParams added in v1.15.0

func NewDescribeRdsWhiteListRequestWithAllParams(
	regionId string,
	instanceId string,
) *DescribeRdsWhiteListRequest

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

func NewDescribeRdsWhiteListRequestWithoutParam added in v1.15.0

func NewDescribeRdsWhiteListRequestWithoutParam() *DescribeRdsWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRdsWhiteListRequest) GetRegionId added in v1.15.0

func (r DescribeRdsWhiteListRequest) GetRegionId() string

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

func (*DescribeRdsWhiteListRequest) SetInstanceId added in v1.15.0

func (r *DescribeRdsWhiteListRequest) SetInstanceId(instanceId string)

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

func (*DescribeRdsWhiteListRequest) SetRegionId added in v1.15.0

func (r *DescribeRdsWhiteListRequest) SetRegionId(regionId string)

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

type DescribeRdsWhiteListResponse added in v1.15.0

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

type DescribeRdsWhiteListResult added in v1.15.0

type DescribeRdsWhiteListResult struct {
	WhiteLists []rds.WhiteList `json:"whiteLists"`
}

type DescribeYdRdsInstancesRequest added in v1.15.0

type DescribeYdRdsInstancesRequest struct {
	core.JDCloudRequest

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

	/* 应用appKey;  */
	AppKey string `json:"appKey"`
}

func NewDescribeYdRdsInstancesRequest added in v1.15.0

func NewDescribeYdRdsInstancesRequest(
	regionId string,
	appKey string,
) *DescribeYdRdsInstancesRequest

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

func NewDescribeYdRdsInstancesRequestWithAllParams added in v1.15.0

func NewDescribeYdRdsInstancesRequestWithAllParams(
	regionId string,
	appKey string,
) *DescribeYdRdsInstancesRequest

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

func NewDescribeYdRdsInstancesRequestWithoutParam added in v1.15.0

func NewDescribeYdRdsInstancesRequestWithoutParam() *DescribeYdRdsInstancesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeYdRdsInstancesRequest) GetRegionId added in v1.15.0

func (r DescribeYdRdsInstancesRequest) GetRegionId() string

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

func (*DescribeYdRdsInstancesRequest) SetAppKey added in v1.15.0

func (r *DescribeYdRdsInstancesRequest) SetAppKey(appKey string)

param appKey: 应用appKey;(Required)

func (*DescribeYdRdsInstancesRequest) SetRegionId added in v1.15.0

func (r *DescribeYdRdsInstancesRequest) SetRegionId(regionId string)

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

type DescribeYdRdsInstancesResponse added in v1.15.0

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

type DescribeYdRdsInstancesResult added in v1.15.0

type DescribeYdRdsInstancesResult struct {
	Clusters   []yunding.RdsInstance `json:"clusters"`
	TotalCount int                   `json:"totalCount"`
}

type GrantRdsPrivilegeRequest added in v1.15.0

type GrantRdsPrivilegeRequest 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 NewGrantRdsPrivilegeRequest added in v1.15.0

func NewGrantRdsPrivilegeRequest(
	regionId string,
	instanceId string,
	accountName string,
	accountPrivileges []rds.AccountPrivilege,
) *GrantRdsPrivilegeRequest

* 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 NewGrantRdsPrivilegeRequestWithAllParams added in v1.15.0

func NewGrantRdsPrivilegeRequestWithAllParams(
	regionId string,
	instanceId string,
	accountName string,
	accountPrivileges []rds.AccountPrivilege,
) *GrantRdsPrivilegeRequest

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

func NewGrantRdsPrivilegeRequestWithoutParam added in v1.15.0

func NewGrantRdsPrivilegeRequestWithoutParam() *GrantRdsPrivilegeRequest

This constructor has better compatible ability when API parameters changed

func (GrantRdsPrivilegeRequest) GetRegionId added in v1.15.0

func (r GrantRdsPrivilegeRequest) GetRegionId() string

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

func (*GrantRdsPrivilegeRequest) SetAccountName added in v1.15.0

func (r *GrantRdsPrivilegeRequest) SetAccountName(accountName string)

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

func (*GrantRdsPrivilegeRequest) SetAccountPrivileges added in v1.15.0

func (r *GrantRdsPrivilegeRequest) SetAccountPrivileges(accountPrivileges []rds.AccountPrivilege)

param accountPrivileges: 账号的访问权限(Required)

func (*GrantRdsPrivilegeRequest) SetInstanceId added in v1.15.0

func (r *GrantRdsPrivilegeRequest) SetInstanceId(instanceId string)

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

func (*GrantRdsPrivilegeRequest) SetRegionId added in v1.15.0

func (r *GrantRdsPrivilegeRequest) SetRegionId(regionId string)

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

type GrantRdsPrivilegeResponse added in v1.15.0

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

type GrantRdsPrivilegeResult added in v1.15.0

type GrantRdsPrivilegeResult struct {
}

type ModifyRdsWhiteListRequest added in v1.15.0

type ModifyRdsWhiteListRequest 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 NewModifyRdsWhiteListRequest added in v1.15.0

func NewModifyRdsWhiteListRequest(
	regionId string,
	instanceId string,
	ips string,
) *ModifyRdsWhiteListRequest

* 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 NewModifyRdsWhiteListRequestWithAllParams added in v1.15.0

func NewModifyRdsWhiteListRequestWithAllParams(
	regionId string,
	instanceId string,
	ips string,
) *ModifyRdsWhiteListRequest

* 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 NewModifyRdsWhiteListRequestWithoutParam added in v1.15.0

func NewModifyRdsWhiteListRequestWithoutParam() *ModifyRdsWhiteListRequest

This constructor has better compatible ability when API parameters changed

func (ModifyRdsWhiteListRequest) GetRegionId added in v1.15.0

func (r ModifyRdsWhiteListRequest) GetRegionId() string

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

func (*ModifyRdsWhiteListRequest) SetInstanceId added in v1.15.0

func (r *ModifyRdsWhiteListRequest) SetInstanceId(instanceId string)

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

func (*ModifyRdsWhiteListRequest) SetIps added in v1.15.0

func (r *ModifyRdsWhiteListRequest) SetIps(ips string)

param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10(Required)

func (*ModifyRdsWhiteListRequest) SetRegionId added in v1.15.0

func (r *ModifyRdsWhiteListRequest) SetRegionId(regionId string)

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

type ModifyRdsWhiteListResponse added in v1.15.0

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

type ModifyRdsWhiteListResult added in v1.15.0

type ModifyRdsWhiteListResult struct {
}

type UnassignSecondaryIpsRequest

type UnassignSecondaryIpsRequest struct {
	core.JDCloudRequest

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

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* 指定删除的secondaryIp地址 (Optional) */
	SecondaryIps []string `json:"secondaryIps"`
}

func NewUnassignSecondaryIpsRequest

func NewUnassignSecondaryIpsRequest(
	regionId string,
	networkInterfaceId string,
) *UnassignSecondaryIpsRequest

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

func NewUnassignSecondaryIpsRequestWithAllParams

func NewUnassignSecondaryIpsRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
	secondaryIps []string,
) *UnassignSecondaryIpsRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param secondaryIps: 指定删除的secondaryIp地址 (Optional)

func NewUnassignSecondaryIpsRequestWithoutParam

func NewUnassignSecondaryIpsRequestWithoutParam() *UnassignSecondaryIpsRequest

This constructor has better compatible ability when API parameters changed

func (UnassignSecondaryIpsRequest) GetRegionId

func (r UnassignSecondaryIpsRequest) GetRegionId() string

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

func (*UnassignSecondaryIpsRequest) SetNetworkInterfaceId

func (r *UnassignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*UnassignSecondaryIpsRequest) SetRegionId

func (r *UnassignSecondaryIpsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*UnassignSecondaryIpsRequest) SetSecondaryIps

func (r *UnassignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)

param secondaryIps: 指定删除的secondaryIp地址(Optional)

type UnassignSecondaryIpsResponse

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

type UnassignSecondaryIpsResult

type UnassignSecondaryIpsResult struct {
}

Jump to

Keyboard shortcuts

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