client

package
v1.67.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 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) AttachNetworkInterface added in v1.59.0

云主机绑定一块弹性网卡。<br>

云主机状态必须为<b>running</b>或<b>stopped</b>状态,并且没有正在进行中的任务才可操作。<br> 弹性网卡上如果绑定了弹性公网IP,那么其所在az需要与云主机的az保持一致,或者为全可用区型弹性公网IP,才可挂载该网卡。<br> 云主机挂载弹性网卡的数量,不能超过实例规格的限制。可查询<a href="http://docs.jdcloud.com/virtual-machines/api/describeinstancetypes">DescribeInstanceTypes</a>接口获得指定规格可挂载弹性网卡的数量上限。<br> 弹性网卡与云主机必须在相同vpc下。

func (*YundingClient) BatchDescribeMetricData added in v1.62.0

查看某资源多个监控项数据,metric介绍:<a href="https://docs.jdcloud.com/cn/monitoring/metrics">Metrics</a>,可以使用接口<a href="https://docs.jdcloud.com/cn/monitoring/metrics">describeMetrics</a>:查询产品线可用的metric列表。

func (*YundingClient) CreateNetworkInterface added in v1.54.0

创建网卡接口,只能创建辅助网卡

func (*YundingClient) CreateRdsAccount added in v1.15.0

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

func (*YundingClient) CreateRdsDatabase added in v1.15.0

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

func (*YundingClient) CreateSubnet added in v1.54.0

创建子网

func (*YundingClient) DeleteNetworkInterface added in v1.54.0

删除弹性网卡接口

func (*YundingClient) DeleteRdsAccount added in v1.15.0

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

func (*YundingClient) DeleteRdsDatabase

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

func (*YundingClient) DeleteSubnet added in v1.54.0

删除子网

func (*YundingClient) DescribeInstanceInfo added in v1.15.0

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

func (*YundingClient) DescribeMetricData added in v1.62.0

查看某资源单个监控项数据,metric介绍:<a href="https://docs.jdcloud.com/cn/monitoring/metrics">Metrics</a>,可以使用接口<a href="https://docs.jdcloud.com/cn/monitoring/metrics">describeMetrics</a>:查询产品线可用的metric列表。

func (*YundingClient) DescribeNetworkInterface added in v1.52.0

查询弹性网卡信息详情

func (*YundingClient) DescribeNetworkInterfaces added in v1.54.0

查询弹性网卡列表

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) DescribeServices added in v1.62.0

查询监控图可用的产品线列表

func (*YundingClient) DescribeSubnet added in v1.54.0

查询子网信息详情

func (*YundingClient) DescribeSubnets added in v1.54.0

查询子网列表

func (*YundingClient) DescribeTasks added in v1.52.0

云拔测-可用性agent任务查询接口

func (*YundingClient) DescribeVmInstance added in v1.59.0

查询一台云主机的详细信息

func (*YundingClient) DescribeVmInstances added in v1.59.0

批量查询云主机列表信息<br>此接口支持分页查询,默认每页20条。

func (*YundingClient) DescribeYdRdsInstances added in v1.15.0

查询云鼎数据库实例列表

func (*YundingClient) DetachNetworkInterface added in v1.59.0

云主机缷载一块弹性网卡。<br>

云主机状态必须为<b>running</b>或<b>stopped</b>状态,并且没有正在进行中的任务才可操作。<br> 不能缷载主网卡。

func (*YundingClient) DisableLogger

func (c *YundingClient) DisableLogger()

func (*YundingClient) GrantRdsPrivilege added in v1.15.0

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

func (*YundingClient) LastDownsample added in v1.62.0

根据不同的聚合方式将metric的数据聚合为一个点。downAggrType:last(最后一个点)、max(最大值)、min(最小值)、avg(平均值)。该接口返回值为上报metric的原始值,没有做单位转换。metric介绍:<a href="https://docs.jdcloud.com/cn/monitoring/metrics">Metrics</a>

func (*YundingClient) ModifyRdsWhiteList added in v1.15.0

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

func (*YundingClient) Put added in v1.52.0

监控数据上报。

func (*YundingClient) PutProductMetricData added in v1.52.0

监控数据上报。

func (*YundingClient) RevokePrivilege added in v1.52.0

取消该账号对某个数据库的所有权限。权限取消后,该账号将不能访问此数据库。取消账号对某个数据库的访问权限,不影响该账号对其他数据库的访问权限

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