Documentation ¶
Index ¶
- func DnsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAssociateRouter() *def.HttpRequestDef
- func GenReqDefForBatchCreateTag() *def.HttpRequestDef
- func GenReqDefForCreateCustomLine() *def.HttpRequestDef
- func GenReqDefForCreateEipRecordSet() *def.HttpRequestDef
- func GenReqDefForCreatePrivateZone() *def.HttpRequestDef
- func GenReqDefForCreatePublicZone() *def.HttpRequestDef
- func GenReqDefForCreateRecordSet() *def.HttpRequestDef
- func GenReqDefForCreateRecordSetWithLine() *def.HttpRequestDef
- func GenReqDefForCreateTag() *def.HttpRequestDef
- func GenReqDefForDeleteCustomLine() *def.HttpRequestDef
- func GenReqDefForDeletePrivateZone() *def.HttpRequestDef
- func GenReqDefForDeletePublicZone() *def.HttpRequestDef
- func GenReqDefForDeleteRecordSet() *def.HttpRequestDef
- func GenReqDefForDeleteRecordSets() *def.HttpRequestDef
- func GenReqDefForDeleteTag() *def.HttpRequestDef
- func GenReqDefForDisassociateRouter() *def.HttpRequestDef
- func GenReqDefForListApiVersions() *def.HttpRequestDef
- func GenReqDefForListCustomLine() *def.HttpRequestDef
- func GenReqDefForListNameServers() *def.HttpRequestDef
- func GenReqDefForListPrivateZones() *def.HttpRequestDef
- func GenReqDefForListPtrRecords() *def.HttpRequestDef
- func GenReqDefForListPublicZones() *def.HttpRequestDef
- func GenReqDefForListRecordSets() *def.HttpRequestDef
- func GenReqDefForListRecordSetsByZone() *def.HttpRequestDef
- func GenReqDefForListRecordSetsWithLine() *def.HttpRequestDef
- func GenReqDefForListTag() *def.HttpRequestDef
- func GenReqDefForListTags() *def.HttpRequestDef
- func GenReqDefForRestorePtrRecord() *def.HttpRequestDef
- func GenReqDefForSetRecordSetsStatus() *def.HttpRequestDef
- func GenReqDefForShowApiInfo() *def.HttpRequestDef
- func GenReqDefForShowDomainQuota() *def.HttpRequestDef
- func GenReqDefForShowPrivateZone() *def.HttpRequestDef
- func GenReqDefForShowPrivateZoneNameServer() *def.HttpRequestDef
- func GenReqDefForShowPtrRecordSet() *def.HttpRequestDef
- func GenReqDefForShowPublicZone() *def.HttpRequestDef
- func GenReqDefForShowPublicZoneNameServer() *def.HttpRequestDef
- func GenReqDefForShowRecordSet() *def.HttpRequestDef
- func GenReqDefForShowRecordSetByZone() *def.HttpRequestDef
- func GenReqDefForShowRecordSetWithLine() *def.HttpRequestDef
- func GenReqDefForShowResourceTag() *def.HttpRequestDef
- func GenReqDefForUpdateCustomLine() *def.HttpRequestDef
- func GenReqDefForUpdatePrivateZone() *def.HttpRequestDef
- func GenReqDefForUpdatePtrRecord() *def.HttpRequestDef
- func GenReqDefForUpdatePublicZone() *def.HttpRequestDef
- func GenReqDefForUpdatePublicZoneStatus() *def.HttpRequestDef
- func GenReqDefForUpdateRecordSet() *def.HttpRequestDef
- func GenReqDefForUpdateRecordSets() *def.HttpRequestDef
- type DnsClient
- func (c *DnsClient) AssociateRouter(request *model.AssociateRouterRequest) (*model.AssociateRouterResponse, error)
- func (c *DnsClient) BatchCreateTag(request *model.BatchCreateTagRequest) (*model.BatchCreateTagResponse, error)
- func (c *DnsClient) CreateCustomLine(request *model.CreateCustomLineRequest) (*model.CreateCustomLineResponse, error)
- func (c *DnsClient) CreateEipRecordSet(request *model.CreateEipRecordSetRequest) (*model.CreateEipRecordSetResponse, error)
- func (c *DnsClient) CreatePrivateZone(request *model.CreatePrivateZoneRequest) (*model.CreatePrivateZoneResponse, error)
- func (c *DnsClient) CreatePublicZone(request *model.CreatePublicZoneRequest) (*model.CreatePublicZoneResponse, error)
- func (c *DnsClient) CreateRecordSet(request *model.CreateRecordSetRequest) (*model.CreateRecordSetResponse, error)
- func (c *DnsClient) CreateRecordSetWithLine(request *model.CreateRecordSetWithLineRequest) (*model.CreateRecordSetWithLineResponse, error)
- func (c *DnsClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)
- func (c *DnsClient) DeleteCustomLine(request *model.DeleteCustomLineRequest) (*model.DeleteCustomLineResponse, error)
- func (c *DnsClient) DeletePrivateZone(request *model.DeletePrivateZoneRequest) (*model.DeletePrivateZoneResponse, error)
- func (c *DnsClient) DeletePublicZone(request *model.DeletePublicZoneRequest) (*model.DeletePublicZoneResponse, error)
- func (c *DnsClient) DeleteRecordSet(request *model.DeleteRecordSetRequest) (*model.DeleteRecordSetResponse, error)
- func (c *DnsClient) DeleteRecordSets(request *model.DeleteRecordSetsRequest) (*model.DeleteRecordSetsResponse, error)
- func (c *DnsClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
- func (c *DnsClient) DisassociateRouter(request *model.DisassociateRouterRequest) (*model.DisassociateRouterResponse, error)
- func (c *DnsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *DnsClient) ListCustomLine(request *model.ListCustomLineRequest) (*model.ListCustomLineResponse, error)
- func (c *DnsClient) ListNameServers(request *model.ListNameServersRequest) (*model.ListNameServersResponse, error)
- func (c *DnsClient) ListPrivateZones(request *model.ListPrivateZonesRequest) (*model.ListPrivateZonesResponse, error)
- func (c *DnsClient) ListPtrRecords(request *model.ListPtrRecordsRequest) (*model.ListPtrRecordsResponse, error)
- func (c *DnsClient) ListPublicZones(request *model.ListPublicZonesRequest) (*model.ListPublicZonesResponse, error)
- func (c *DnsClient) ListRecordSets(request *model.ListRecordSetsRequest) (*model.ListRecordSetsResponse, error)
- func (c *DnsClient) ListRecordSetsByZone(request *model.ListRecordSetsByZoneRequest) (*model.ListRecordSetsByZoneResponse, error)
- func (c *DnsClient) ListRecordSetsWithLine(request *model.ListRecordSetsWithLineRequest) (*model.ListRecordSetsWithLineResponse, error)
- func (c *DnsClient) ListTag(request *model.ListTagRequest) (*model.ListTagResponse, error)
- func (c *DnsClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
- func (c *DnsClient) RestorePtrRecord(request *model.RestorePtrRecordRequest) (*model.RestorePtrRecordResponse, error)
- func (c *DnsClient) SetRecordSetsStatus(request *model.SetRecordSetsStatusRequest) (*model.SetRecordSetsStatusResponse, error)
- func (c *DnsClient) ShowApiInfo(request *model.ShowApiInfoRequest) (*model.ShowApiInfoResponse, error)
- func (c *DnsClient) ShowDomainQuota(request *model.ShowDomainQuotaRequest) (*model.ShowDomainQuotaResponse, error)
- func (c *DnsClient) ShowPrivateZone(request *model.ShowPrivateZoneRequest) (*model.ShowPrivateZoneResponse, error)
- func (c *DnsClient) ShowPrivateZoneNameServer(request *model.ShowPrivateZoneNameServerRequest) (*model.ShowPrivateZoneNameServerResponse, error)
- func (c *DnsClient) ShowPtrRecordSet(request *model.ShowPtrRecordSetRequest) (*model.ShowPtrRecordSetResponse, error)
- func (c *DnsClient) ShowPublicZone(request *model.ShowPublicZoneRequest) (*model.ShowPublicZoneResponse, error)
- func (c *DnsClient) ShowPublicZoneNameServer(request *model.ShowPublicZoneNameServerRequest) (*model.ShowPublicZoneNameServerResponse, error)
- func (c *DnsClient) ShowRecordSet(request *model.ShowRecordSetRequest) (*model.ShowRecordSetResponse, error)
- func (c *DnsClient) ShowRecordSetByZone(request *model.ShowRecordSetByZoneRequest) (*model.ShowRecordSetByZoneResponse, error)
- func (c *DnsClient) ShowRecordSetWithLine(request *model.ShowRecordSetWithLineRequest) (*model.ShowRecordSetWithLineResponse, error)
- func (c *DnsClient) ShowResourceTag(request *model.ShowResourceTagRequest) (*model.ShowResourceTagResponse, error)
- func (c *DnsClient) UpdateCustomLine(request *model.UpdateCustomLineRequest) (*model.UpdateCustomLineResponse, error)
- func (c *DnsClient) UpdatePrivateZone(request *model.UpdatePrivateZoneRequest) (*model.UpdatePrivateZoneResponse, error)
- func (c *DnsClient) UpdatePtrRecord(request *model.UpdatePtrRecordRequest) (*model.UpdatePtrRecordResponse, error)
- func (c *DnsClient) UpdatePublicZone(request *model.UpdatePublicZoneRequest) (*model.UpdatePublicZoneResponse, error)
- func (c *DnsClient) UpdatePublicZoneStatus(request *model.UpdatePublicZoneStatusRequest) (*model.UpdatePublicZoneStatusResponse, error)
- func (c *DnsClient) UpdateRecordSet(request *model.UpdateRecordSetRequest) (*model.UpdateRecordSetResponse, error)
- func (c *DnsClient) UpdateRecordSets(request *model.UpdateRecordSetsRequest) (*model.UpdateRecordSetsResponse, error)
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 GenReqDefForShowDomainQuota ¶ added in v0.0.67
func GenReqDefForShowDomainQuota() *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
在内网Zone上关联VPC
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) BatchCreateTag ¶
func (c *DnsClient) BatchCreateTag(request *model.BatchCreateTagRequest) (*model.BatchCreateTagResponse, error)
为指定实例批量添加或删除标签
为指定实例批量添加或删除标签
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) CreateCustomLine ¶
func (c *DnsClient) CreateCustomLine(request *model.CreateCustomLineRequest) (*model.CreateCustomLineResponse, error)
创建单个自定义线路
创建单个自定义线路
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) CreateEipRecordSet ¶
func (c *DnsClient) CreateEipRecordSet(request *model.CreateEipRecordSetRequest) (*model.CreateEipRecordSetResponse, error)
设置弹性IP的PTR记录
设置弹性IP的PTR记录
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) CreatePrivateZone ¶
func (c *DnsClient) CreatePrivateZone(request *model.CreatePrivateZoneRequest) (*model.CreatePrivateZoneResponse, error)
创建单个内网Zone
创建单个内网Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) CreatePublicZone ¶
func (c *DnsClient) CreatePublicZone(request *model.CreatePublicZoneRequest) (*model.CreatePublicZoneResponse, error)
创建单个公网Zone
创建单个公网Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) CreateRecordSet ¶
func (c *DnsClient) CreateRecordSet(request *model.CreateRecordSetRequest) (*model.CreateRecordSetResponse, error)
创建单个Record Set
创建单个Record Set
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) CreateRecordSetWithLine ¶
func (c *DnsClient) CreateRecordSetWithLine(request *model.CreateRecordSetWithLineRequest) (*model.CreateRecordSetWithLineResponse, error)
创建单个Record Set,仅适用于公网DNS
创建单个Record Set,仅适用于公网DNS
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) CreateTag ¶
func (c *DnsClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)
为指定实例添加标签
为指定实例添加标签
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) DeleteCustomLine ¶
func (c *DnsClient) DeleteCustomLine(request *model.DeleteCustomLineRequest) (*model.DeleteCustomLineResponse, error)
删除单个自定义线路
删除单个自定义线路
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) DeletePrivateZone ¶
func (c *DnsClient) DeletePrivateZone(request *model.DeletePrivateZoneRequest) (*model.DeletePrivateZoneResponse, error)
删除单个内网Zone
删除单个内网Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) DeletePublicZone ¶
func (c *DnsClient) DeletePublicZone(request *model.DeletePublicZoneRequest) (*model.DeletePublicZoneResponse, error)
删除单个公网Zone
删除单个公网Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) DeleteRecordSet ¶
func (c *DnsClient) DeleteRecordSet(request *model.DeleteRecordSetRequest) (*model.DeleteRecordSetResponse, error)
删除单个Record Set
删除单个Record Set
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) DeleteRecordSets ¶
func (c *DnsClient) DeleteRecordSets(request *model.DeleteRecordSetsRequest) (*model.DeleteRecordSetsResponse, error)
删除单个Record Set
删除单个Record Set
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) DeleteTag ¶
func (c *DnsClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
删除资源标签
删除资源标签
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) DisassociateRouter ¶
func (c *DnsClient) DisassociateRouter(request *model.DisassociateRouterRequest) (*model.DisassociateRouterResponse, error)
在Private Zone上解关联VPC
在Private Zone上解关联VPC
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListApiVersions ¶
func (c *DnsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
查询所有的云解析服务API版本号
查询所有的云解析服务API版本号列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListCustomLine ¶
func (c *DnsClient) ListCustomLine(request *model.ListCustomLineRequest) (*model.ListCustomLineResponse, error)
查询自定义线路
查询自定义线路
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListNameServers ¶
func (c *DnsClient) ListNameServers(request *model.ListNameServersRequest) (*model.ListNameServersResponse, error)
查询名称服务器列表
查询名称服务器列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListPrivateZones ¶
func (c *DnsClient) ListPrivateZones(request *model.ListPrivateZonesRequest) (*model.ListPrivateZonesResponse, error)
查询内网Zone的列表
查询内网Zone的列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListPtrRecords ¶
func (c *DnsClient) ListPtrRecords(request *model.ListPtrRecordsRequest) (*model.ListPtrRecordsResponse, error)
查询租户弹性IP的PTR记录列表
查询租户弹性IP的PTR记录列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListPublicZones ¶
func (c *DnsClient) ListPublicZones(request *model.ListPublicZonesRequest) (*model.ListPublicZonesResponse, error)
查询公网Zone的列表
查询公网Zone的列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListRecordSets ¶
func (c *DnsClient) ListRecordSets(request *model.ListRecordSetsRequest) (*model.ListRecordSetsResponse, error)
查询租户Record Set资源列表
查询租户Record Set资源列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListRecordSetsByZone ¶
func (c *DnsClient) ListRecordSetsByZone(request *model.ListRecordSetsByZoneRequest) (*model.ListRecordSetsByZoneResponse, error)
查询单个Zone下Record Set列表
查询单个Zone下Record Set列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListRecordSetsWithLine ¶
func (c *DnsClient) ListRecordSetsWithLine(request *model.ListRecordSetsWithLineRequest) (*model.ListRecordSetsWithLineResponse, error)
查询租户Record Set资源列表
查询租户Record Set资源列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListTag ¶
func (c *DnsClient) ListTag(request *model.ListTagRequest) (*model.ListTagResponse, error)
使用标签查询资源实例
使用标签查询资源实例
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ListTags ¶
func (c *DnsClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
查询指定实例类型的所有标签集合
查询指定实例类型的所有标签集合
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) RestorePtrRecord ¶
func (c *DnsClient) RestorePtrRecord(request *model.RestorePtrRecordRequest) (*model.RestorePtrRecordResponse, error)
将弹性IP的PTR记录恢复为默认值
将弹性IP的PTR记录恢复为默认值
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) SetRecordSetsStatus ¶
func (c *DnsClient) SetRecordSetsStatus(request *model.SetRecordSetsStatusRequest) (*model.SetRecordSetsStatusResponse, error)
设置Record Set状态
设置Record Set状态
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowApiInfo ¶
func (c *DnsClient) ShowApiInfo(request *model.ShowApiInfoRequest) (*model.ShowApiInfoResponse, error)
查询指定的云解析服务API版本号
查询指定的云解析服务API版本号
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowDomainQuota ¶ added in v0.0.67
func (c *DnsClient) ShowDomainQuota(request *model.ShowDomainQuotaRequest) (*model.ShowDomainQuotaResponse, error)
查询租户配额
查询单租户在DNS服务下的资源配额,包括公网zone配额、内网zone配额、Record Set配额、PTR Record配额、入站终端节点配额、出站终端节点配额、自定义线路配额、线路分组配额等。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowPrivateZone ¶
func (c *DnsClient) ShowPrivateZone(request *model.ShowPrivateZoneRequest) (*model.ShowPrivateZoneResponse, error)
查询单个内网Zone
查询单个内网Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowPrivateZoneNameServer ¶
func (c *DnsClient) ShowPrivateZoneNameServer(request *model.ShowPrivateZoneNameServerRequest) (*model.ShowPrivateZoneNameServerResponse, error)
查询内网Zone的名称服务器
查询内网Zone的名称服务器
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowPtrRecordSet ¶
func (c *DnsClient) ShowPtrRecordSet(request *model.ShowPtrRecordSetRequest) (*model.ShowPtrRecordSetResponse, error)
查询单个弹性IP的PTR记录
查询单个弹性IP的PTR记录
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowPublicZone ¶
func (c *DnsClient) ShowPublicZone(request *model.ShowPublicZoneRequest) (*model.ShowPublicZoneResponse, error)
查询单个公网Zone
查询单个公网Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowPublicZoneNameServer ¶
func (c *DnsClient) ShowPublicZoneNameServer(request *model.ShowPublicZoneNameServerRequest) (*model.ShowPublicZoneNameServerResponse, error)
查询单个公网Zone的名称服务器
查询单个公网Zone的名称服务器
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowRecordSet ¶
func (c *DnsClient) ShowRecordSet(request *model.ShowRecordSetRequest) (*model.ShowRecordSetResponse, error)
查询单个Record Set
查询单个Record Set
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowRecordSetByZone ¶
func (c *DnsClient) ShowRecordSetByZone(request *model.ShowRecordSetByZoneRequest) (*model.ShowRecordSetByZoneResponse, error)
查询单个Zone下Record Set列表
查询单个Zone下Record Set列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowRecordSetWithLine ¶
func (c *DnsClient) ShowRecordSetWithLine(request *model.ShowRecordSetWithLineRequest) (*model.ShowRecordSetWithLineResponse, error)
查询单个Record Set,仅适用于公网DNS
查询单个Record Set,仅适用于公网DNS
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) ShowResourceTag ¶
func (c *DnsClient) ShowResourceTag(request *model.ShowResourceTagRequest) (*model.ShowResourceTagResponse, error)
查询指定实例的标签信息
查询指定实例的标签信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) UpdateCustomLine ¶
func (c *DnsClient) UpdateCustomLine(request *model.UpdateCustomLineRequest) (*model.UpdateCustomLineResponse, error)
更新单个自定义线路
更新单个自定义线路
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) UpdatePrivateZone ¶
func (c *DnsClient) UpdatePrivateZone(request *model.UpdatePrivateZoneRequest) (*model.UpdatePrivateZoneResponse, error)
修改单个Zone
修改单个Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) UpdatePtrRecord ¶
func (c *DnsClient) UpdatePtrRecord(request *model.UpdatePtrRecordRequest) (*model.UpdatePtrRecordResponse, error)
修改弹性IP的PTR记录
修改弹性IP的PTR记录
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) UpdatePublicZone ¶
func (c *DnsClient) UpdatePublicZone(request *model.UpdatePublicZoneRequest) (*model.UpdatePublicZoneResponse, error)
修改单个Zone
修改单个Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) UpdatePublicZoneStatus ¶
func (c *DnsClient) UpdatePublicZoneStatus(request *model.UpdatePublicZoneStatusRequest) (*model.UpdatePublicZoneStatusResponse, error)
设置单个公网Zone状态,支持暂停、启用Zone
设置单个公网Zone状态,支持暂停、启用Zone
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) UpdateRecordSet ¶
func (c *DnsClient) UpdateRecordSet(request *model.UpdateRecordSetRequest) (*model.UpdateRecordSetResponse, error)
修改单个Record Set
修改单个Record Set
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DnsClient) UpdateRecordSets ¶
func (c *DnsClient) UpdateRecordSets(request *model.UpdateRecordSetsRequest) (*model.UpdateRecordSetsResponse, error)
修改单个Record Set
修改单个Record Set
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.