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 PrivatezoneClient

type PrivatezoneClient struct {
	core.JDCloudClient
}

func NewPrivatezoneClient

func NewPrivatezoneClient(credential *core.Credential) *PrivatezoneClient

func (*PrivatezoneClient) BindVpc

绑定vpc

- vpc信息为空时,会将之前的绑定关系全部解除 - 该接口为覆盖类的接口,请将需要的vpc全部进行绑定

func (*PrivatezoneClient) CreateResourceRecord

创建解析记录

func (*PrivatezoneClient) CreateZone

  • 添加一个私有解析的zone,可添加以下三种类型的zone

- 云内全局zone:zone的后缀是指定的后缀,如:local。该域名在云内自动全局生效,不用关联vpc即可在vpc内解析,该类型全局唯一,不能重复添加 - 反向解析zone:zone的后缀是in-addr.arpa时,我们认为他是一个反向解析的zone,反向解析域名前缀目前支持10/172.16-31/192.168网段,如:10.in-addr.arpa、16.172.in-addr.arpa。反向解析的zone只能添加反向解析的记录 - 私有解析zone:该类型的zone可以时任意符合格式的域名,私有解析zone需要关联vpc后,在vpc内生效解析

func (*PrivatezoneClient) DeleteResourceRecords

删除解析记录。批量删除时多个resourceRecordId用","分隔。批量删除每次最多不超过100个记录

func (*PrivatezoneClient) DeleteZone

删除zone,该zone下的解析记录和绑定的vpc关联关系将会被删除

func (*PrivatezoneClient) DescribeActionLogs

查询操作日志

func (*PrivatezoneClient) DescribeInstances

查询实例信息

func (*PrivatezoneClient) DescribeResourceRecords

查询解析记录

func (*PrivatezoneClient) DescribeZones

查询私有解析zone列表

func (*PrivatezoneClient) DisableLogger

func (c *PrivatezoneClient) DisableLogger()

func (*PrivatezoneClient) ExportResourceRecords

导出当前zone下所有解析记录,返回的数据是可以转换为csv文件格式的字符串

func (*PrivatezoneClient) ImportResourceRecords

批量导入解析记录,批量导入每次不可超过100条记录

func (*PrivatezoneClient) ModifyResourceRecord

修改解析记录

func (*PrivatezoneClient) RetryRecurse

解析失败后,尝试递归解析开关

func (*PrivatezoneClient) SetConfig

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

func (*PrivatezoneClient) SetLogger

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

func (*PrivatezoneClient) SetResourceRecordsStatus

设置解析记录状态,STOP操作会将停止该记录的解析,直到再次START。批量设置时多个resourceRecordId用","分隔。批量设置时每次最多不超过100个记录

func (*PrivatezoneClient) ZoneFlowCount

统计zone的流量

func (*PrivatezoneClient) ZoneResolveCount

统计zone的解析量

Jump to

Keyboard shortcuts

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