client

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YundingClient

type YundingClient struct {
	core.JDCloudClient
}

func NewYundingClient

func NewYundingClient(credential *core.Credential) *YundingClient

func (*YundingClient) AssignSecondaryIps

给网卡分配secondaryIp接口

func (*YundingClient) CreateRdsAccount added in v1.15.0

创建数据库账号,用户可以使用客户端,应用程序等通过该账号和密码登录RDS数据库实例。<br>为便于管理和恢复,RDS对账号进行了限制,数据库账号只能通过控制台或者OpenAPI进行创建、删除账号以及对账号授权等,用户不能通过SQL语句对账号进行相关操作。

func (*YundingClient) CreateRdsDatabase added in v1.15.0

创建一个数据库。 为了实例的管理和数据恢复,RDS对用户权限进行了限制,用户仅能通过控制台或本接口创建数据库

func (*YundingClient) DeleteRdsAccount added in v1.15.0

删除数据库账号,账号删除后不可恢复,用户无法再使用该账号登录RDS实例

func (*YundingClient) DeleteRdsDatabase

从RDS实例中删除数据库。为便于管理和数据恢复,RDS对用户权限进行了控制,用户仅能通过控制台或本接口删除数据库 [MFA enabled]

func (*YundingClient) DescribeInstanceInfo added in v1.15.0

查询RDS实例(MySQL、SQL Server等)的真实状态

func (*YundingClient) DescribeRdsAccounts added in v1.15.0

查看某个RDS实例下所有账号信息,包括账号名称、对各个数据库的访问权限信息等

func (*YundingClient) DescribeRdsDatabases added in v1.15.0

获取当前实例的所有数据库详细信息的列表

func (*YundingClient) DescribeRdsInstance added in v1.15.0

查询RDS实例(MySQL、SQL Server等)的详细信息以及MySQL只读实例详细信息

func (*YundingClient) DescribeRdsInstances added in v1.15.0

批量查询云数据库实例列表信息<br>此接口支持分页查询,默认每页20条。

func (*YundingClient) DescribeRdsWhiteList added in v1.15.0

查看RDS实例当前白名单。白名单是允许访问当前实例的IP/IP段列表,缺省情况下,白名单对本VPC开放。如果用户开启了外网访问的功能,还需要对外网的IP配置白名单。

func (*YundingClient) DescribeYdRdsInstances added in v1.15.0

查询云鼎数据库实例列表

func (*YundingClient) DisableLogger

func (c *YundingClient) DisableLogger()

func (*YundingClient) GrantRdsPrivilege added in v1.15.0

授予账号的数据库访问权限,即该账号对数据库拥有什么权限。一个账号可以对多个数据库具有访问权限。<br>为便于管理,RDS对权限进行了归类,目前提供以下两种权限<br>- ro:只读权限,用户只能读取数据库中的数据,不能进行创建、插入、删除、更改等操作。<br>- rw:读写权限,用户可以对数据库进行增删改查等操作

func (*YundingClient) ModifyRdsWhiteList added in v1.15.0

修改允许访问实例的IP白名单。白名单是允许访问当前实例的IP/IP段列表,缺省情况下,白名单对本VPC开放。如果用户开启了外网访问的功能,还需要对外网的IP配置白名单。

func (*YundingClient) SetConfig

func (c *YundingClient) SetConfig(config *core.Config)

func (*YundingClient) SetLogger

func (c *YundingClient) SetLogger(logger core.Logger)

func (*YundingClient) UnassignSecondaryIps

给网卡删除secondaryIp接口

Jump to

Keyboard shortcuts

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