v2

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DnsClientBuilder

func DnsClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForAssociateRouter

func GenReqDefForAssociateRouter() *def.HttpRequestDef

func GenReqDefForBatchCreateTag

func GenReqDefForBatchCreateTag() *def.HttpRequestDef

func GenReqDefForCreateCustomLine

func GenReqDefForCreateCustomLine() *def.HttpRequestDef

func GenReqDefForCreateEipRecordSet

func GenReqDefForCreateEipRecordSet() *def.HttpRequestDef

func GenReqDefForCreatePrivateZone

func GenReqDefForCreatePrivateZone() *def.HttpRequestDef

func GenReqDefForCreatePublicZone

func GenReqDefForCreatePublicZone() *def.HttpRequestDef

func GenReqDefForCreateRecordSet

func GenReqDefForCreateRecordSet() *def.HttpRequestDef

func GenReqDefForCreateRecordSetWithLine

func GenReqDefForCreateRecordSetWithLine() *def.HttpRequestDef

func GenReqDefForCreateTag

func GenReqDefForCreateTag() *def.HttpRequestDef

func GenReqDefForDeleteCustomLine

func GenReqDefForDeleteCustomLine() *def.HttpRequestDef

func GenReqDefForDeletePrivateZone

func GenReqDefForDeletePrivateZone() *def.HttpRequestDef

func GenReqDefForDeletePublicZone

func GenReqDefForDeletePublicZone() *def.HttpRequestDef

func GenReqDefForDeleteRecordSet

func GenReqDefForDeleteRecordSet() *def.HttpRequestDef

func GenReqDefForDeleteRecordSets

func GenReqDefForDeleteRecordSets() *def.HttpRequestDef

func GenReqDefForDeleteTag

func GenReqDefForDeleteTag() *def.HttpRequestDef

func GenReqDefForDisassociateRouter

func GenReqDefForDisassociateRouter() *def.HttpRequestDef

func GenReqDefForListApiVersions

func GenReqDefForListApiVersions() *def.HttpRequestDef

func GenReqDefForListCustomLine

func GenReqDefForListCustomLine() *def.HttpRequestDef

func GenReqDefForListNameServers

func GenReqDefForListNameServers() *def.HttpRequestDef

func GenReqDefForListPrivateZones

func GenReqDefForListPrivateZones() *def.HttpRequestDef

func GenReqDefForListPtrRecords

func GenReqDefForListPtrRecords() *def.HttpRequestDef

func GenReqDefForListPublicZones

func GenReqDefForListPublicZones() *def.HttpRequestDef

func GenReqDefForListRecordSets

func GenReqDefForListRecordSets() *def.HttpRequestDef

func GenReqDefForListRecordSetsByZone

func GenReqDefForListRecordSetsByZone() *def.HttpRequestDef

func GenReqDefForListRecordSetsWithLine

func GenReqDefForListRecordSetsWithLine() *def.HttpRequestDef

func GenReqDefForListTag

func GenReqDefForListTag() *def.HttpRequestDef

func GenReqDefForListTags

func GenReqDefForListTags() *def.HttpRequestDef

func GenReqDefForRestorePtrRecord

func GenReqDefForRestorePtrRecord() *def.HttpRequestDef

func GenReqDefForSetRecordSetsStatus

func GenReqDefForSetRecordSetsStatus() *def.HttpRequestDef

func GenReqDefForShowApiInfo

func GenReqDefForShowApiInfo() *def.HttpRequestDef

func GenReqDefForShowPrivateZone

func GenReqDefForShowPrivateZone() *def.HttpRequestDef

func GenReqDefForShowPrivateZoneNameServer

func GenReqDefForShowPrivateZoneNameServer() *def.HttpRequestDef

func GenReqDefForShowPtrRecordSet

func GenReqDefForShowPtrRecordSet() *def.HttpRequestDef

func GenReqDefForShowPublicZone

func GenReqDefForShowPublicZone() *def.HttpRequestDef

func GenReqDefForShowPublicZoneNameServer

func GenReqDefForShowPublicZoneNameServer() *def.HttpRequestDef

func GenReqDefForShowRecordSet

func GenReqDefForShowRecordSet() *def.HttpRequestDef

func GenReqDefForShowRecordSetByZone

func GenReqDefForShowRecordSetByZone() *def.HttpRequestDef

func GenReqDefForShowRecordSetWithLine

func GenReqDefForShowRecordSetWithLine() *def.HttpRequestDef

func GenReqDefForShowResourceTag

func GenReqDefForShowResourceTag() *def.HttpRequestDef

func GenReqDefForUpdateCustomLine

func GenReqDefForUpdateCustomLine() *def.HttpRequestDef

func GenReqDefForUpdatePrivateZone

func GenReqDefForUpdatePrivateZone() *def.HttpRequestDef

func GenReqDefForUpdatePtrRecord

func GenReqDefForUpdatePtrRecord() *def.HttpRequestDef

func GenReqDefForUpdatePublicZone

func GenReqDefForUpdatePublicZone() *def.HttpRequestDef

func GenReqDefForUpdatePublicZoneStatus

func GenReqDefForUpdatePublicZoneStatus() *def.HttpRequestDef

func GenReqDefForUpdateRecordSet

func GenReqDefForUpdateRecordSet() *def.HttpRequestDef

func GenReqDefForUpdateRecordSets

func GenReqDefForUpdateRecordSets() *def.HttpRequestDef

Types

type DnsClient

type DnsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewDnsClient

func NewDnsClient(hcClient *http_client.HcHttpClient) *DnsClient

func (*DnsClient) AssociateRouter

func (c *DnsClient) AssociateRouter(request *model.AssociateRouterRequest) (*model.AssociateRouterResponse, error)

在内网Zone上关联VPC

func (*DnsClient) BatchCreateTag

func (c *DnsClient) BatchCreateTag(request *model.BatchCreateTagRequest) (*model.BatchCreateTagResponse, error)

为指定实例批量添加或删除标签

func (*DnsClient) CreateCustomLine

func (c *DnsClient) CreateCustomLine(request *model.CreateCustomLineRequest) (*model.CreateCustomLineResponse, error)

创建单个自定义线路

func (*DnsClient) CreateEipRecordSet

func (c *DnsClient) CreateEipRecordSet(request *model.CreateEipRecordSetRequest) (*model.CreateEipRecordSetResponse, error)

设置弹性IP的PTR记录

func (*DnsClient) CreatePrivateZone

func (c *DnsClient) CreatePrivateZone(request *model.CreatePrivateZoneRequest) (*model.CreatePrivateZoneResponse, error)

创建单个内网Zone

func (*DnsClient) CreatePublicZone

func (c *DnsClient) CreatePublicZone(request *model.CreatePublicZoneRequest) (*model.CreatePublicZoneResponse, error)

创建单个公网Zone

func (*DnsClient) CreateRecordSet

func (c *DnsClient) CreateRecordSet(request *model.CreateRecordSetRequest) (*model.CreateRecordSetResponse, error)

创建单个Record Set

func (*DnsClient) CreateRecordSetWithLine

创建单个Record Set,仅适用于公网DNS

func (*DnsClient) CreateTag

func (c *DnsClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)

为指定实例添加标签

func (*DnsClient) DeleteCustomLine

func (c *DnsClient) DeleteCustomLine(request *model.DeleteCustomLineRequest) (*model.DeleteCustomLineResponse, error)

删除单个自定义线路

func (*DnsClient) DeletePrivateZone

func (c *DnsClient) DeletePrivateZone(request *model.DeletePrivateZoneRequest) (*model.DeletePrivateZoneResponse, error)

删除单个内网Zone

func (*DnsClient) DeletePublicZone

func (c *DnsClient) DeletePublicZone(request *model.DeletePublicZoneRequest) (*model.DeletePublicZoneResponse, error)

删除单个公网Zone

func (*DnsClient) DeleteRecordSet

func (c *DnsClient) DeleteRecordSet(request *model.DeleteRecordSetRequest) (*model.DeleteRecordSetResponse, error)

删除单个Record Set

func (*DnsClient) DeleteRecordSets

func (c *DnsClient) DeleteRecordSets(request *model.DeleteRecordSetsRequest) (*model.DeleteRecordSetsResponse, error)

删除单个Record Set

func (*DnsClient) DeleteTag

func (c *DnsClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)

删除资源标签

func (*DnsClient) DisassociateRouter

func (c *DnsClient) DisassociateRouter(request *model.DisassociateRouterRequest) (*model.DisassociateRouterResponse, error)

在Private Zone上解关联VPC

func (*DnsClient) ListApiVersions

func (c *DnsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)

查询所有的云解析服务API版本号列表

func (*DnsClient) ListCustomLine

func (c *DnsClient) ListCustomLine(request *model.ListCustomLineRequest) (*model.ListCustomLineResponse, error)

查询自定义线路

func (*DnsClient) ListNameServers

func (c *DnsClient) ListNameServers(request *model.ListNameServersRequest) (*model.ListNameServersResponse, error)

查询名称服务器列表

func (*DnsClient) ListPrivateZones

func (c *DnsClient) ListPrivateZones(request *model.ListPrivateZonesRequest) (*model.ListPrivateZonesResponse, error)

查询内网Zone的列表

func (*DnsClient) ListPtrRecords

func (c *DnsClient) ListPtrRecords(request *model.ListPtrRecordsRequest) (*model.ListPtrRecordsResponse, error)

查询租户弹性IP的PTR记录列表

func (*DnsClient) ListPublicZones

func (c *DnsClient) ListPublicZones(request *model.ListPublicZonesRequest) (*model.ListPublicZonesResponse, error)

查询公网Zone的列表

func (*DnsClient) ListRecordSets

func (c *DnsClient) ListRecordSets(request *model.ListRecordSetsRequest) (*model.ListRecordSetsResponse, error)

查询租户Record Set资源列表

func (*DnsClient) ListRecordSetsByZone

查询单个Zone下Record Set列表

func (*DnsClient) ListRecordSetsWithLine

查询租户Record Set资源列表

func (*DnsClient) ListTag

func (c *DnsClient) ListTag(request *model.ListTagRequest) (*model.ListTagResponse, error)

使用标签查询资源实例

func (*DnsClient) ListTags

func (c *DnsClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)

查询指定实例类型的所有标签集合

func (*DnsClient) RestorePtrRecord

func (c *DnsClient) RestorePtrRecord(request *model.RestorePtrRecordRequest) (*model.RestorePtrRecordResponse, error)

将弹性IP的PTR记录恢复为默认值

func (*DnsClient) SetRecordSetsStatus

设置Record Set状态

func (*DnsClient) ShowApiInfo

func (c *DnsClient) ShowApiInfo(request *model.ShowApiInfoRequest) (*model.ShowApiInfoResponse, error)

查询指定的云解析服务API版本号

func (*DnsClient) ShowPrivateZone

func (c *DnsClient) ShowPrivateZone(request *model.ShowPrivateZoneRequest) (*model.ShowPrivateZoneResponse, error)

查询单个内网Zone

func (*DnsClient) ShowPrivateZoneNameServer

查询内网Zone的列表

func (*DnsClient) ShowPtrRecordSet

func (c *DnsClient) ShowPtrRecordSet(request *model.ShowPtrRecordSetRequest) (*model.ShowPtrRecordSetResponse, error)

查询单个弹性IP的PTR记录

func (*DnsClient) ShowPublicZone

func (c *DnsClient) ShowPublicZone(request *model.ShowPublicZoneRequest) (*model.ShowPublicZoneResponse, error)

查询单个公网Zone

func (*DnsClient) ShowPublicZoneNameServer

查询单个公网Zone的名称服务器

func (*DnsClient) ShowRecordSet

func (c *DnsClient) ShowRecordSet(request *model.ShowRecordSetRequest) (*model.ShowRecordSetResponse, error)

查询单个Record Set

func (*DnsClient) ShowRecordSetByZone

查询单个Zone下Record Set列表

func (*DnsClient) ShowRecordSetWithLine

查询单个Record Set,仅适用于公网DNS

func (*DnsClient) ShowResourceTag

func (c *DnsClient) ShowResourceTag(request *model.ShowResourceTagRequest) (*model.ShowResourceTagResponse, error)

查询指定实例的标签信息

func (*DnsClient) UpdateCustomLine

func (c *DnsClient) UpdateCustomLine(request *model.UpdateCustomLineRequest) (*model.UpdateCustomLineResponse, error)

更新单个自定义线路

func (*DnsClient) UpdatePrivateZone

func (c *DnsClient) UpdatePrivateZone(request *model.UpdatePrivateZoneRequest) (*model.UpdatePrivateZoneResponse, error)

修改单个Zone

func (*DnsClient) UpdatePtrRecord

func (c *DnsClient) UpdatePtrRecord(request *model.UpdatePtrRecordRequest) (*model.UpdatePtrRecordResponse, error)

修改弹性IP的PTR记录

func (*DnsClient) UpdatePublicZone

func (c *DnsClient) UpdatePublicZone(request *model.UpdatePublicZoneRequest) (*model.UpdatePublicZoneResponse, error)

修改单个Zone

func (*DnsClient) UpdatePublicZoneStatus

设置单个公网Zone状态,支持暂停、启用Zone

func (*DnsClient) UpdateRecordSet

func (c *DnsClient) UpdateRecordSet(request *model.UpdateRecordSetRequest) (*model.UpdateRecordSetResponse, error)

修改单个Record Set

func (*DnsClient) UpdateRecordSets

func (c *DnsClient) UpdateRecordSets(request *model.UpdateRecordSetsRequest) (*model.UpdateRecordSetsResponse, error)

修改单个Record Set

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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