开发者社区> 问答> 正文

云解析怎么 获取云解析收费版本产品列表



描述


根据传入参数获取云解析收费版本产品列表。如果返回参数中未包含域名,则表示该云解析产品尚未绑定任何域名。

请求参数

名称类型是否必须描述
ActionString操作接口名,系统规定参数,取值:DescribeDnsProductInstances
PageNumberLong当前页数,起始值为1,默认为1
PageSizeLong分页查询时设置的每页行数,最大值100,默认为20


返回参数


公共返回参数,详见 公共返回参数
名称类型描述
RequestIdString唯一请求识别码
TotalCountLong域名列表总数
PageNumberLong当前页码
PageSizeLong本次查询获取的域名数量
DnsProductsList<DnsProduct>本次获取的云解析产品列表


错误码


对于所有接口的通用性错误,请参考 错误代码表

示例



请求示例

  1. [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//alidns.aliyuncs.com/?Action=DescribeDnsProductInstances
  2. [backcolor=transparent]&[backcolor=transparent]PageNumber[backcolor=transparent]=[backcolor=transparent]1
  3. [backcolor=transparent]&[backcolor=transparent]PageSize[backcolor=transparent]=[backcolor=transparent]20
  4. [backcolor=transparent]&<公共请求参数>


返回示例



XML格式

  1. [backcolor=transparent]<DescribeDnsProductInstancesResponse>
  2. [backcolor=transparent]    [backcolor=transparent]<RequestId>[backcolor=transparent]536E9CAD-DB30-4647-AC87-AA5CC38C5382[backcolor=transparent]</RequestId>
  3. [backcolor=transparent]    [backcolor=transparent]<TotalCount>[backcolor=transparent]1[backcolor=transparent]</TotalCount>
  4. [backcolor=transparent]    [backcolor=transparent]<PageNumber>[backcolor=transparent]1[backcolor=transparent]</PageNumber>
  5. [backcolor=transparent]    [backcolor=transparent]<PageSize>[backcolor=transparent]2[backcolor=transparent]</PageSize>
  6. [backcolor=transparent]    [backcolor=transparent]<DnsProducts>
  7. [backcolor=transparent]        [backcolor=transparent]<DnsProduct>
  8. [backcolor=transparent]            [backcolor=transparent]<InstanceId>[backcolor=transparent]i-8fj[backcolor=transparent]</InstanceId>
  9. [backcolor=transparent]            [backcolor=transparent]<StartTime>[backcolor=transparent]2015-12-12T09:23Z[backcolor=transparent]</StartTime>
  10. [backcolor=transparent]            [backcolor=transparent]<EndTime>[backcolor=transparent]2016-12-12T09:23Z[backcolor=transparent]</EndTime>
  11. [backcolor=transparent]            [backcolor=transparent]<Domain>[backcolor=transparent]abc.com[backcolor=transparent]</Domain>
  12. [backcolor=transparent]            [backcolor=transparent]<BindCount>[backcolor=transparent]3[backcolor=transparent]</BindCount>
  13. [backcolor=transparent]            [backcolor=transparent]<BindUsedCount>[backcolor=transparent]1[backcolor=transparent]</BindUsedCount>
  14. [backcolor=transparent]            [backcolor=transparent]<TTLMinValue>[backcolor=transparent]10[backcolor=transparent]</TTLMinValue>
  15. [backcolor=transparent]            [backcolor=transparent]<SubDomainLevel>[backcolor=transparent]6[backcolor=transparent]</SubDomainLevel>
  16. [backcolor=transparent]            [backcolor=transparent]<DnsSLBCount>[backcolor=transparent]15[backcolor=transparent]</DnsSLBCount>
  17. [backcolor=transparent]            [backcolor=transparent]<URLForwardCount>[backcolor=transparent]20[backcolor=transparent]</URLForwardCount>
  18. [backcolor=transparent]            [backcolor=transparent]<DDosDefendFlow>[backcolor=transparent]50[backcolor=transparent]</DDosDefendFlow>
  19. [backcolor=transparent]            [backcolor=transparent]<DDosDefendQuery>[backcolor=transparent]50[backcolor=transparent]</DDosDefendQuery>
  20. [backcolor=transparent]            [backcolor=transparent]<OverseaDDosDefendFlow>[backcolor=transparent]1[backcolor=transparent]</OverseaDDosDefendFlow>
  21. [backcolor=transparent]            [backcolor=transparent]<SearchEngineLines>[backcolor=transparent]搜索引擎、谷歌、百度、必应[backcolor=transparent]</SearchEngineLines>
  22. [backcolor=transparent]            [backcolor=transparent]<ISPLines>[backcolor=transparent]电信、移动、联通、教育网[backcolor=transparent]</ISPLines>
  23. [backcolor=transparent]            [backcolor=transparent]<ISPRegionLines>[backcolor=transparent]电信(省份)、移动(省份)、联通(省份)、教育网(省份)[backcolor=transparent]</ISPRegionLines>
  24. [backcolor=transparent]            [backcolor=transparent]<OverseaLine>[backcolor=transparent]海外大洲[backcolor=transparent]</OverseaLine>
  25. [backcolor=transparent]        [backcolor=transparent]</DnsProduct>
  26. [backcolor=transparent]    [backcolor=transparent]</DnsProducts>
  27. [backcolor=transparent]</DescribeDnsProductInstancesResponse>


JSON示例

  1. [backcolor=transparent]{
  2. [backcolor=transparent]        [backcolor=transparent]"DescribeDnsProductInstancesResponse"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  3. [backcolor=transparent]        [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"536E9CAD-DB30-4647-AC87-AA5CC38C5382"[backcolor=transparent],[backcolor=transparent]
  4. [backcolor=transparent]        [backcolor=transparent]"TotalCount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"1"[backcolor=transparent],[backcolor=transparent]
  5. [backcolor=transparent]        [backcolor=transparent]"PageNumber"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"1"[backcolor=transparent],[backcolor=transparent]
  6. [backcolor=transparent]        [backcolor=transparent]"PageSize"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"2"[backcolor=transparent],[backcolor=transparent]
  7. [backcolor=transparent]        [backcolor=transparent]"DnsProducts"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  8. [backcolor=transparent]            [backcolor=transparent]"DnsProduct"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  9. [backcolor=transparent]                [backcolor=transparent]"InstanceId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"i-8fj"[backcolor=transparent],[backcolor=transparent]
  10. [backcolor=transparent]                [backcolor=transparent]"StartTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"2015-12-12T09:23Z"[backcolor=transparent],[backcolor=transparent]
  11. [backcolor=transparent]                [backcolor=transparent]"EndTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"2016-12-12T09:23Z"[backcolor=transparent],[backcolor=transparent]
  12. [backcolor=transparent]                [backcolor=transparent]"Domain"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"abc.com"[backcolor=transparent],[backcolor=transparent]
  13. [backcolor=transparent]                [backcolor=transparent]"BindCount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"3"[backcolor=transparent],[backcolor=transparent]
  14. [backcolor=transparent]                [backcolor=transparent]"BindUsedCount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"1"[backcolor=transparent],[backcolor=transparent]
  15. [backcolor=transparent]                [backcolor=transparent]"TTLMinValue"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"10"[backcolor=transparent],[backcolor=transparent]
  16. [backcolor=transparent]                [backcolor=transparent]"SubDomainLevel"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"6"[backcolor=transparent],[backcolor=transparent]
  17. [backcolor=transparent]                [backcolor=transparent]"DnsSLBCount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"15"[backcolor=transparent],[backcolor=transparent]
  18. [backcolor=transparent]                [backcolor=transparent]"URLForwardCount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"20"[backcolor=transparent],[backcolor=transparent]
  19. [backcolor=transparent]                [backcolor=transparent]"DDosDefendFlow"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"50"[backcolor=transparent],[backcolor=transparent]
  20. [backcolor=transparent]                [backcolor=transparent]"DDosDefendQuery"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"50"[backcolor=transparent],[backcolor=transparent]
  21. [backcolor=transparent]                [backcolor=transparent]"OverseaDDosDefendFlow"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"1"[backcolor=transparent],[backcolor=transparent]
  22. [backcolor=transparent]                [backcolor=transparent]"SearchEngineLines"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"搜索引擎、谷歌、百度、必应"[backcolor=transparent],[backcolor=transparent]
  23. [backcolor=transparent]                [backcolor=transparent]"ISPLines"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"电信、移动、联通、教育网"[backcolor=transparent],[backcolor=transparent]
  24. [backcolor=transparent]                [backcolor=transparent]"ISPRegionLines"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"电信(省份)、移动(省份)、联通(省份)、教育网(省份)"[backcolor=transparent],[backcolor=transparent]
  25. [backcolor=transparent]                [backcolor=transparent]"OverseaLine"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"海外大洲"
  26. [backcolor=transparent]            [backcolor=transparent]}
  27. [backcolor=transparent]        [backcolor=transparent]}
  28. [backcolor=transparent]    [backcolor=transparent]}
  29. [backcolor=transparent]}

展开
收起
boxti 2017-10-18 10:28:03 2318 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
神龙云服务器产品及技术深度解析 立即下载
弹性创造价值:基于ECS的最佳性价比实践解析 立即下载
又快又稳:阿里云下一代虚拟交换机解析 立即下载

相关镜像