Documentation ¶
Index ¶
- type DomainserviceClient
- func (c *DomainserviceClient) BatchSetResourceRecords(request *domainservice.BatchSetResourceRecordsRequest) (*domainservice.BatchSetResourceRecordsResponse, error)
- func (c *DomainserviceClient) CreateDomain(request *domainservice.CreateDomainRequest) (*domainservice.CreateDomainResponse, error)
- func (c *DomainserviceClient) CreateMonitor(request *domainservice.CreateMonitorRequest) (*domainservice.CreateMonitorResponse, error)
- func (c *DomainserviceClient) CreateMonitorTarget(request *domainservice.CreateMonitorTargetRequest) (*domainservice.CreateMonitorTargetResponse, error)
- func (c *DomainserviceClient) CreateResourceRecord(request *domainservice.CreateResourceRecordRequest) (*domainservice.CreateResourceRecordResponse, error)
- func (c *DomainserviceClient) CreateUserView(request *domainservice.CreateUserViewRequest) (*domainservice.CreateUserViewResponse, error)
- func (c *DomainserviceClient) CreateUserViewIP(request *domainservice.CreateUserViewIPRequest) (*domainservice.CreateUserViewIPResponse, error)
- func (c *DomainserviceClient) DeleteDomain(request *domainservice.DeleteDomainRequest) (*domainservice.DeleteDomainResponse, error)
- func (c *DomainserviceClient) DeleteMonitor(request *domainservice.DeleteMonitorRequest) (*domainservice.DeleteMonitorResponse, error)
- func (c *DomainserviceClient) DeleteResourceRecord(request *domainservice.DeleteResourceRecordRequest) (*domainservice.DeleteResourceRecordResponse, error)
- func (c *DomainserviceClient) DeleteUserView(request *domainservice.DeleteUserViewRequest) (*domainservice.DeleteUserViewResponse, error)
- func (c *DomainserviceClient) DeleteUserViewIP(request *domainservice.DeleteUserViewIPRequest) (*domainservice.DeleteUserViewIPResponse, error)
- func (c *DomainserviceClient) DescribeActionLog(request *domainservice.DescribeActionLogRequest) (*domainservice.DescribeActionLogResponse, error)
- func (c *DomainserviceClient) DescribeDomainQueryCount(request *domainservice.DescribeDomainQueryCountRequest) (*domainservice.DescribeDomainQueryCountResponse, error)
- func (c *DomainserviceClient) DescribeDomainQueryTraffic(request *domainservice.DescribeDomainQueryTrafficRequest) (*domainservice.DescribeDomainQueryTrafficResponse, error)
- func (c *DomainserviceClient) DescribeDomains(request *domainservice.DescribeDomainsRequest) (*domainservice.DescribeDomainsResponse, error)
- func (c *DomainserviceClient) DescribeMonitor(request *domainservice.DescribeMonitorRequest) (*domainservice.DescribeMonitorResponse, error)
- func (c *DomainserviceClient) DescribeMonitorAlarm(request *domainservice.DescribeMonitorAlarmRequest) (*domainservice.DescribeMonitorAlarmResponse, error)
- func (c *DomainserviceClient) DescribeMonitorTarget(request *domainservice.DescribeMonitorTargetRequest) (*domainservice.DescribeMonitorTargetResponse, error)
- func (c *DomainserviceClient) DescribeResourceRecord(request *domainservice.DescribeResourceRecordRequest) (*domainservice.DescribeResourceRecordResponse, error)
- func (c *DomainserviceClient) DescribeUserView(request *domainservice.DescribeUserViewRequest) (*domainservice.DescribeUserViewResponse, error)
- func (c *DomainserviceClient) DescribeUserViewIP(request *domainservice.DescribeUserViewIPRequest) (*domainservice.DescribeUserViewIPResponse, error)
- func (c *DomainserviceClient) DescribeViewTree(request *domainservice.DescribeViewTreeRequest) (*domainservice.DescribeViewTreeResponse, error)
- func (c *DomainserviceClient) DisableLogger()
- func (c *DomainserviceClient) ModifyDomain(request *domainservice.ModifyDomainRequest) (*domainservice.ModifyDomainResponse, error)
- func (c *DomainserviceClient) ModifyMonitor(request *domainservice.ModifyMonitorRequest) (*domainservice.ModifyMonitorResponse, error)
- func (c *DomainserviceClient) ModifyMonitorStatus(request *domainservice.ModifyMonitorStatusRequest) (*domainservice.ModifyMonitorStatusResponse, error)
- func (c *DomainserviceClient) ModifyResourceRecord(request *domainservice.ModifyResourceRecordRequest) (*domainservice.ModifyResourceRecordResponse, error)
- func (c *DomainserviceClient) ModifyResourceRecordStatus(request *domainservice.ModifyResourceRecordStatusRequest) (*domainservice.ModifyResourceRecordStatusResponse, error)
- func (c *DomainserviceClient) SetConfig(config *core.Config)
- func (c *DomainserviceClient) SetLogger(logger core.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainserviceClient ¶
type DomainserviceClient struct {
core.JDCloudClient
}
func NewDomainserviceClient ¶
func NewDomainserviceClient(credential *core.Credential) *DomainserviceClient
func (*DomainserviceClient) BatchSetResourceRecords ¶
func (c *DomainserviceClient) BatchSetResourceRecords(request *domainservice.BatchSetResourceRecordsRequest) (*domainservice.BatchSetResourceRecordsResponse, error)
同一个主域名下,批量新增或者批量更新导入解析记录。
如果解析记录的ID为0,是新增解析记录,如果不为0,则是更新解析记录。
func (*DomainserviceClient) CreateDomain ¶
func (c *DomainserviceClient) CreateDomain(request *domainservice.CreateDomainRequest) (*domainservice.CreateDomainResponse, error)
添加主域名
如何添加免费域名,详细情况请查阅<a href="https://docs.jdcloud.com/cn/jd-cloud-dns/domainadd">文档</a> 添加收费域名,请查阅<a href="https://docs.jdcloud.com/cn/jd-cloud-dns/purchase-process">文档</a>, 添加收费域名前,请确保用户的京东云账户有足够的资金支付,Openapi接口回返回订单号,可以用此订单号向计费系统查阅详情。
func (*DomainserviceClient) CreateMonitor ¶
func (c *DomainserviceClient) CreateMonitor(request *domainservice.CreateMonitorRequest) (*domainservice.CreateMonitorResponse, error)
添加子域名的监控项,默认把子域名的所有监控项都添加上监控
func (*DomainserviceClient) CreateMonitorTarget ¶
func (c *DomainserviceClient) CreateMonitorTarget(request *domainservice.CreateMonitorTargetRequest) (*domainservice.CreateMonitorTargetResponse, error)
添加子域名的某些特定监控对象为监控项
func (*DomainserviceClient) CreateResourceRecord ¶
func (c *DomainserviceClient) CreateResourceRecord(request *domainservice.CreateResourceRecordRequest) (*domainservice.CreateResourceRecordResponse, error)
添加主域名的解析记录
func (*DomainserviceClient) CreateUserView ¶
func (c *DomainserviceClient) CreateUserView(request *domainservice.CreateUserViewRequest) (*domainservice.CreateUserViewResponse, error)
添加主域名的自定义解析线路
func (*DomainserviceClient) CreateUserViewIP ¶
func (c *DomainserviceClient) CreateUserViewIP(request *domainservice.CreateUserViewIPRequest) (*domainservice.CreateUserViewIPResponse, error)
添加主域名的自定义解析线路的IP段
func (*DomainserviceClient) DeleteDomain ¶
func (c *DomainserviceClient) DeleteDomain(request *domainservice.DeleteDomainRequest) (*domainservice.DeleteDomainResponse, error)
删除主域名
func (*DomainserviceClient) DeleteMonitor ¶
func (c *DomainserviceClient) DeleteMonitor(request *domainservice.DeleteMonitorRequest) (*domainservice.DeleteMonitorResponse, error)
监控项的删除
func (*DomainserviceClient) DeleteResourceRecord ¶
func (c *DomainserviceClient) DeleteResourceRecord(request *domainservice.DeleteResourceRecordRequest) (*domainservice.DeleteResourceRecordResponse, error)
删除主域名下的解析记录
func (*DomainserviceClient) DeleteUserView ¶
func (c *DomainserviceClient) DeleteUserView(request *domainservice.DeleteUserViewRequest) (*domainservice.DeleteUserViewResponse, error)
删除主域名的自定义解析线路
func (*DomainserviceClient) DeleteUserViewIP ¶
func (c *DomainserviceClient) DeleteUserViewIP(request *domainservice.DeleteUserViewIPRequest) (*domainservice.DeleteUserViewIPResponse, error)
删除主域名的自定义解析线路的IP段
func (*DomainserviceClient) DescribeActionLog ¶
func (c *DomainserviceClient) DescribeActionLog(request *domainservice.DescribeActionLogRequest) (*domainservice.DescribeActionLogResponse, error)
查看用户在云解析服务下的操作记录
func (*DomainserviceClient) DescribeDomainQueryCount ¶
func (c *DomainserviceClient) DescribeDomainQueryCount(request *domainservice.DescribeDomainQueryCountRequest) (*domainservice.DescribeDomainQueryCountResponse, error)
查看主域名的解析次数
func (*DomainserviceClient) DescribeDomainQueryTraffic ¶
func (c *DomainserviceClient) DescribeDomainQueryTraffic(request *domainservice.DescribeDomainQueryTrafficRequest) (*domainservice.DescribeDomainQueryTrafficResponse, error)
查看域名的查询流量
func (*DomainserviceClient) DescribeDomains ¶
func (c *DomainserviceClient) DescribeDomains(request *domainservice.DescribeDomainsRequest) (*domainservice.DescribeDomainsResponse, error)
获取用户所属的主域名列表。
请在调用域名相关的接口之前,调用此接口获取相关的domainId和domainName。 主域名的相关概念,请查阅<a href="https://docs.jdcloud.com/cn/jd-cloud-dns/product-overview">云解析文档</a>
func (*DomainserviceClient) DescribeMonitor ¶
func (c *DomainserviceClient) DescribeMonitor(request *domainservice.DescribeMonitorRequest) (*domainservice.DescribeMonitorResponse, error)
查看主域名的监控项的配置以及状态
func (*DomainserviceClient) DescribeMonitorAlarm ¶
func (c *DomainserviceClient) DescribeMonitorAlarm(request *domainservice.DescribeMonitorAlarmRequest) (*domainservice.DescribeMonitorAlarmResponse, error)
主域名的监控项的报警信息
func (*DomainserviceClient) DescribeMonitorTarget ¶
func (c *DomainserviceClient) DescribeMonitorTarget(request *domainservice.DescribeMonitorTargetRequest) (*domainservice.DescribeMonitorTargetResponse, error)
查询子域名的可用监控对象
func (*DomainserviceClient) DescribeResourceRecord ¶
func (c *DomainserviceClient) DescribeResourceRecord(request *domainservice.DescribeResourceRecordRequest) (*domainservice.DescribeResourceRecordResponse, error)
查询主域名的解析记录。
在使用解析记录相关的接口之前,请调用此接口获取解析记录的列表。
func (*DomainserviceClient) DescribeUserView ¶
func (c *DomainserviceClient) DescribeUserView(request *domainservice.DescribeUserViewRequest) (*domainservice.DescribeUserViewResponse, error)
查询主域名的自定义解析线路
func (*DomainserviceClient) DescribeUserViewIP ¶
func (c *DomainserviceClient) DescribeUserViewIP(request *domainservice.DescribeUserViewIPRequest) (*domainservice.DescribeUserViewIPResponse, error)
查询主域名的自定义解析线路的IP段
func (*DomainserviceClient) DescribeViewTree ¶
func (c *DomainserviceClient) DescribeViewTree(request *domainservice.DescribeViewTreeRequest) (*domainservice.DescribeViewTreeResponse, error)
查询云解析所有的基础解析线路。
在使用解析线路的参数之前,请调用此接口获取解析线路的ID。
func (*DomainserviceClient) DisableLogger ¶ added in v1.13.0
func (c *DomainserviceClient) DisableLogger()
func (*DomainserviceClient) ModifyDomain ¶
func (c *DomainserviceClient) ModifyDomain(request *domainservice.ModifyDomainRequest) (*domainservice.ModifyDomainResponse, error)
修改主域名
func (*DomainserviceClient) ModifyMonitor ¶
func (c *DomainserviceClient) ModifyMonitor(request *domainservice.ModifyMonitorRequest) (*domainservice.ModifyMonitorResponse, error)
域名的监控项修改
func (*DomainserviceClient) ModifyMonitorStatus ¶
func (c *DomainserviceClient) ModifyMonitorStatus(request *domainservice.ModifyMonitorStatusRequest) (*domainservice.ModifyMonitorStatusResponse, error)
监控项的操作集合,包括:暂停,启动, 手动恢复, 手动切换
func (*DomainserviceClient) ModifyResourceRecord ¶
func (c *DomainserviceClient) ModifyResourceRecord(request *domainservice.ModifyResourceRecordRequest) (*domainservice.ModifyResourceRecordResponse, error)
修改主域名的某个解析记录
func (*DomainserviceClient) ModifyResourceRecordStatus ¶
func (c *DomainserviceClient) ModifyResourceRecordStatus(request *domainservice.ModifyResourceRecordStatusRequest) (*domainservice.ModifyResourceRecordStatusResponse, error)
启用、停用主域名下的解析记录
func (*DomainserviceClient) SetConfig ¶
func (c *DomainserviceClient) SetConfig(config *core.Config)
func (*DomainserviceClient) SetLogger ¶
func (c *DomainserviceClient) SetLogger(logger core.Logger)