huaweicloudsdkdns 3.1.145__py2.py3-none-any.whl → 3.1.147__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. huaweicloudsdkdns/v2/__init__.py +82 -1
  2. huaweicloudsdkdns/v2/dns_async_client.py +2933 -1055
  3. huaweicloudsdkdns/v2/dns_client.py +2933 -1055
  4. huaweicloudsdkdns/v2/model/__init__.py +82 -1
  5. huaweicloudsdkdns/v2/model/alias_target.py +3 -3
  6. huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
  7. huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
  8. huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
  9. huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
  10. huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
  11. huaweicloudsdkdns/v2/model/associate_router_request.py +3 -3
  12. huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +3 -3
  13. huaweicloudsdkdns/v2/model/batch_create_tag_request.py +3 -3
  14. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
  15. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
  16. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
  17. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +3 -3
  18. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +3 -3
  19. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +3 -3
  20. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +6 -6
  21. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +3 -3
  22. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +6 -6
  23. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +3 -3
  24. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +6 -6
  25. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +3 -3
  26. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +6 -6
  27. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +3 -3
  28. huaweicloudsdkdns/v2/model/batch_update_record_set.py +9 -9
  29. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +3 -3
  30. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +3 -3
  31. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +3 -3
  32. huaweicloudsdkdns/v2/model/create_custom_line_response.py +6 -6
  33. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +12 -12
  34. huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
  35. huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
  36. huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
  37. huaweicloudsdkdns/v2/model/create_line_group_response.py +3 -3
  38. huaweicloudsdkdns/v2/model/create_line_groups_resp.py +3 -3
  39. huaweicloudsdkdns/v2/model/create_private_zone_req.py +9 -9
  40. huaweicloudsdkdns/v2/model/create_private_zone_response.py +39 -39
  41. huaweicloudsdkdns/v2/model/create_ptr_req.py +12 -12
  42. huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
  43. huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
  44. huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
  45. huaweicloudsdkdns/v2/model/create_public_zone_req.py +15 -15
  46. huaweicloudsdkdns/v2/model/create_public_zone_response.py +39 -39
  47. huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +6 -6
  48. huaweicloudsdkdns/v2/model/create_record_set_request.py +3 -3
  49. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
  50. huaweicloudsdkdns/v2/model/create_record_set_response.py +27 -27
  51. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +3 -3
  52. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +3 -3
  53. huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +3 -3
  54. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +12 -12
  55. huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +27 -27
  56. huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
  57. huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
  58. huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
  59. huaweicloudsdkdns/v2/model/create_tag_request.py +3 -3
  60. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
  61. huaweicloudsdkdns/v2/model/delete_custom_line_response.py +6 -6
  62. huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
  63. huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
  64. huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
  65. huaweicloudsdkdns/v2/model/delete_line_group_response.py +3 -3
  66. huaweicloudsdkdns/v2/model/delete_private_zone_request.py +3 -3
  67. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +42 -42
  68. huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
  69. huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
  70. huaweicloudsdkdns/v2/model/delete_public_zone_request.py +3 -3
  71. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +42 -42
  72. huaweicloudsdkdns/v2/model/delete_record_set_request.py +6 -6
  73. huaweicloudsdkdns/v2/model/delete_record_set_response.py +27 -27
  74. huaweicloudsdkdns/v2/model/delete_record_sets_request.py +6 -6
  75. huaweicloudsdkdns/v2/model/delete_record_sets_response.py +27 -27
  76. huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
  77. huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
  78. huaweicloudsdkdns/v2/model/delete_tag_request.py +3 -3
  79. huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
  80. huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
  81. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
  82. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
  83. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
  84. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
  85. huaweicloudsdkdns/v2/model/disassociate_router_request.py +3 -3
  86. huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
  87. huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
  88. huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
  89. huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
  90. huaweicloudsdkdns/v2/model/ip_info.py +115 -0
  91. huaweicloudsdkdns/v2/model/ip_value.py +115 -0
  92. huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
  93. huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
  94. huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
  95. huaweicloudsdkdns/v2/model/line.py +6 -6
  96. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
  97. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
  98. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
  99. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
  100. huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
  101. huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
  102. huaweicloudsdkdns/v2/model/list_private_zones_request.py +15 -15
  103. huaweicloudsdkdns/v2/model/list_private_zones_response.py +3 -3
  104. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +12 -12
  105. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
  106. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
  107. huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
  108. huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
  109. huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
  110. huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
  111. huaweicloudsdkdns/v2/model/list_public_zones_request.py +18 -18
  112. huaweicloudsdkdns/v2/model/list_public_zones_response.py +3 -3
  113. huaweicloudsdkdns/v2/model/list_record_sets.py +27 -27
  114. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +24 -24
  115. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +3 -3
  116. huaweicloudsdkdns/v2/model/list_record_sets_request.py +27 -27
  117. huaweicloudsdkdns/v2/model/list_record_sets_response.py +3 -3
  118. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +33 -33
  119. huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +3 -3
  120. huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +27 -27
  121. huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
  122. huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
  123. huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
  124. huaweicloudsdkdns/v2/model/match.py +3 -3
  125. huaweicloudsdkdns/v2/model/page_info.py +173 -0
  126. huaweicloudsdkdns/v2/model/private_zone_resp.py +42 -42
  127. huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
  128. huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
  129. huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
  130. huaweicloudsdkdns/v2/model/public_zone_resp.py +39 -39
  131. huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +57 -28
  132. huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +27 -27
  133. huaweicloudsdkdns/v2/model/recordset_data.py +27 -27
  134. huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
  135. huaweicloudsdkdns/v2/model/restore_ptr_req.py +3 -3
  136. huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
  137. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
  138. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
  139. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
  140. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +3 -3
  141. huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +27 -27
  142. huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
  143. huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
  144. huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
  145. huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
  146. huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
  147. huaweicloudsdkdns/v2/model/show_line_group_response.py +3 -3
  148. huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +3 -3
  149. huaweicloudsdkdns/v2/model/show_private_zone_request.py +3 -3
  150. huaweicloudsdkdns/v2/model/show_private_zone_response.py +42 -42
  151. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +12 -12
  152. huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
  153. huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
  154. huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +3 -3
  155. huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +3 -3
  156. huaweicloudsdkdns/v2/model/show_public_zone_request.py +3 -3
  157. huaweicloudsdkdns/v2/model/show_public_zone_response.py +45 -45
  158. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +27 -27
  159. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +27 -27
  160. huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +3 -3
  161. huaweicloudsdkdns/v2/model/show_record_set_request.py +6 -6
  162. huaweicloudsdkdns/v2/model/show_record_set_response.py +27 -27
  163. huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +6 -6
  164. huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +27 -27
  165. huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
  166. huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
  167. huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
  168. huaweicloudsdkdns/v2/model/show_resource_tag_request.py +3 -3
  169. huaweicloudsdkdns/v2/model/update_custom_line_request.py +3 -3
  170. huaweicloudsdkdns/v2/model/update_custom_line_response.py +6 -6
  171. huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
  172. huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
  173. huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
  174. huaweicloudsdkdns/v2/model/update_line_groups_request.py +3 -3
  175. huaweicloudsdkdns/v2/model/update_line_groups_response.py +3 -3
  176. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
  177. huaweicloudsdkdns/v2/model/update_private_zone_request.py +3 -3
  178. huaweicloudsdkdns/v2/model/update_private_zone_response.py +39 -39
  179. huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
  180. huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
  181. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +12 -12
  182. huaweicloudsdkdns/v2/model/update_ptr_req.py +9 -9
  183. huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
  184. huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
  185. huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
  186. huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
  187. huaweicloudsdkdns/v2/model/update_public_zone_request.py +3 -3
  188. huaweicloudsdkdns/v2/model/update_public_zone_response.py +36 -36
  189. huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +7 -7
  190. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +36 -36
  191. huaweicloudsdkdns/v2/model/update_record_set_req.py +3 -3
  192. huaweicloudsdkdns/v2/model/update_record_set_request.py +6 -6
  193. huaweicloudsdkdns/v2/model/update_record_set_response.py +27 -27
  194. huaweicloudsdkdns/v2/model/update_record_sets_req.py +3 -3
  195. huaweicloudsdkdns/v2/model/update_record_sets_request.py +6 -6
  196. huaweicloudsdkdns/v2/model/update_record_sets_response.py +27 -27
  197. huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
  198. huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
  199. huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
  200. huaweicloudsdkdns/v2/model/{update_public_zone_status_request_body.py → update_zone_status_request_body.py} +10 -10
  201. huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
  202. huaweicloudsdkdns/v2/model/zone_data.py +52 -52
  203. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/METADATA +2 -2
  204. huaweicloudsdkdns-3.1.147.dist-info/RECORD +273 -0
  205. huaweicloudsdkdns-3.1.145.dist-info/RECORD +0 -192
  206. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/LICENSE +0 -0
  207. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/WHEEL +0 -0
  208. {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/top_level.txt +0 -0
@@ -53,7 +53,7 @@ class ListPrivateZonesRequest:
53
53
 
54
54
  The model defined in huaweicloud sdk
55
55
 
56
- :param type: 待查询的zone的类型。 取值范围:private。
56
+ :param type: 待查询的域名的类型。 取值范围:private。
57
57
  :type type: str
58
58
  :param limit: 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
59
59
  :type limit: int
@@ -63,17 +63,17 @@ class ListPrivateZonesRequest:
63
63
  :type offset: int
64
64
  :param tags: 资源标签。
65
65
  :type tags: str
66
- :param name: Zone名称。 搜索模式默认为模糊搜索。
66
+ :param name: 域名。 搜索模式默认为模糊搜索。
67
67
  :type name: str
68
- :param id: Zone ID。
68
+ :param id: 域名ID。
69
69
  :type id: str
70
70
  :param status: 资源状态。
71
71
  :type status: str
72
72
  :param search_mode: 查询条件搜索模式。 取值范围: like:模糊搜索 equal:精确搜索
73
73
  :type search_mode: str
74
- :param sort_key: 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
74
+ :param sort_key: 查询结果中域名列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
75
75
  :type sort_key: str
76
- :param sort_dir: 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
76
+ :param sort_dir: 查询结果中域名列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
77
77
  :type sort_dir: str
78
78
  :param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
79
79
  :type enterprise_project_id: str
@@ -128,7 +128,7 @@ class ListPrivateZonesRequest:
128
128
  def type(self):
129
129
  r"""Gets the type of this ListPrivateZonesRequest.
130
130
 
131
- 待查询的zone的类型。 取值范围:private。
131
+ 待查询的域名的类型。 取值范围:private。
132
132
 
133
133
  :return: The type of this ListPrivateZonesRequest.
134
134
  :rtype: str
@@ -139,7 +139,7 @@ class ListPrivateZonesRequest:
139
139
  def type(self, type):
140
140
  r"""Sets the type of this ListPrivateZonesRequest.
141
141
 
142
- 待查询的zone的类型。 取值范围:private。
142
+ 待查询的域名的类型。 取值范围:private。
143
143
 
144
144
  :param type: The type of this ListPrivateZonesRequest.
145
145
  :type type: str
@@ -238,7 +238,7 @@ class ListPrivateZonesRequest:
238
238
  def name(self):
239
239
  r"""Gets the name of this ListPrivateZonesRequest.
240
240
 
241
- Zone名称。 搜索模式默认为模糊搜索。
241
+ 域名。 搜索模式默认为模糊搜索。
242
242
 
243
243
  :return: The name of this ListPrivateZonesRequest.
244
244
  :rtype: str
@@ -249,7 +249,7 @@ class ListPrivateZonesRequest:
249
249
  def name(self, name):
250
250
  r"""Sets the name of this ListPrivateZonesRequest.
251
251
 
252
- Zone名称。 搜索模式默认为模糊搜索。
252
+ 域名。 搜索模式默认为模糊搜索。
253
253
 
254
254
  :param name: The name of this ListPrivateZonesRequest.
255
255
  :type name: str
@@ -260,7 +260,7 @@ class ListPrivateZonesRequest:
260
260
  def id(self):
261
261
  r"""Gets the id of this ListPrivateZonesRequest.
262
262
 
263
- Zone ID。
263
+ 域名ID。
264
264
 
265
265
  :return: The id of this ListPrivateZonesRequest.
266
266
  :rtype: str
@@ -271,7 +271,7 @@ class ListPrivateZonesRequest:
271
271
  def id(self, id):
272
272
  r"""Sets the id of this ListPrivateZonesRequest.
273
273
 
274
- Zone ID。
274
+ 域名ID。
275
275
 
276
276
  :param id: The id of this ListPrivateZonesRequest.
277
277
  :type id: str
@@ -326,7 +326,7 @@ class ListPrivateZonesRequest:
326
326
  def sort_key(self):
327
327
  r"""Gets the sort_key of this ListPrivateZonesRequest.
328
328
 
329
- 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
329
+ 查询结果中域名列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
330
330
 
331
331
  :return: The sort_key of this ListPrivateZonesRequest.
332
332
  :rtype: str
@@ -337,7 +337,7 @@ class ListPrivateZonesRequest:
337
337
  def sort_key(self, sort_key):
338
338
  r"""Sets the sort_key of this ListPrivateZonesRequest.
339
339
 
340
- 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
340
+ 查询结果中域名列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
341
341
 
342
342
  :param sort_key: The sort_key of this ListPrivateZonesRequest.
343
343
  :type sort_key: str
@@ -348,7 +348,7 @@ class ListPrivateZonesRequest:
348
348
  def sort_dir(self):
349
349
  r"""Gets the sort_dir of this ListPrivateZonesRequest.
350
350
 
351
- 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
351
+ 查询结果中域名列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
352
352
 
353
353
  :return: The sort_dir of this ListPrivateZonesRequest.
354
354
  :rtype: str
@@ -359,7 +359,7 @@ class ListPrivateZonesRequest:
359
359
  def sort_dir(self, sort_dir):
360
360
  r"""Sets the sort_dir of this ListPrivateZonesRequest.
361
361
 
362
- 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
362
+ 查询结果中域名列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
363
363
 
364
364
  :param sort_dir: The sort_dir of this ListPrivateZonesRequest.
365
365
  :type sort_dir: str
@@ -38,7 +38,7 @@ class ListPrivateZonesResponse(SdkResponse):
38
38
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
39
39
  :param metadata:
40
40
  :type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
41
- :param zones: zone列表信息。
41
+ :param zones: 域名列表信息。
42
42
  :type zones: list[:class:`huaweicloudsdkdns.v2.PrivateZoneResp`]
43
43
  """
44
44
 
@@ -96,7 +96,7 @@ class ListPrivateZonesResponse(SdkResponse):
96
96
  def zones(self):
97
97
  r"""Gets the zones of this ListPrivateZonesResponse.
98
98
 
99
- zone列表信息。
99
+ 域名列表信息。
100
100
 
101
101
  :return: The zones of this ListPrivateZonesResponse.
102
102
  :rtype: list[:class:`huaweicloudsdkdns.v2.PrivateZoneResp`]
@@ -107,7 +107,7 @@ class ListPrivateZonesResponse(SdkResponse):
107
107
  def zones(self, zones):
108
108
  r"""Sets the zones of this ListPrivateZonesResponse.
109
109
 
110
- zone列表信息。
110
+ 域名列表信息。
111
111
 
112
112
  :param zones: The zones of this ListPrivateZonesResponse.
113
113
  :type zones: list[:class:`huaweicloudsdkdns.v2.PrivateZoneResp`]
@@ -47,13 +47,13 @@ class ListPtrRecordsFloatingResp:
47
47
 
48
48
  The model defined in huaweicloud sdk
49
49
 
50
- :param id: PTR记录的ID,格式形如{region}:{floatingip_id}。
50
+ :param id: 反向解析记录的ID,格式形如{region}:{floatingip_id}。
51
51
  :type id: str
52
- :param ptrdname: PTR记录对应的域名。
52
+ :param ptrdname: 反向解析记录对应的域名。
53
53
  :type ptrdname: str
54
- :param description: 对PTR记录的描述。
54
+ :param description: 对反向解析记录的描述。
55
55
  :type description: str
56
- :param ttl: PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
56
+ :param ttl: 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
57
57
  :type ttl: int
58
58
  :param address: 弹性公网IP的IP地址。
59
59
  :type address: str
@@ -108,7 +108,7 @@ class ListPtrRecordsFloatingResp:
108
108
  def id(self):
109
109
  r"""Gets the id of this ListPtrRecordsFloatingResp.
110
110
 
111
- PTR记录的ID,格式形如{region}:{floatingip_id}。
111
+ 反向解析记录的ID,格式形如{region}:{floatingip_id}。
112
112
 
113
113
  :return: The id of this ListPtrRecordsFloatingResp.
114
114
  :rtype: str
@@ -119,7 +119,7 @@ class ListPtrRecordsFloatingResp:
119
119
  def id(self, id):
120
120
  r"""Sets the id of this ListPtrRecordsFloatingResp.
121
121
 
122
- PTR记录的ID,格式形如{region}:{floatingip_id}。
122
+ 反向解析记录的ID,格式形如{region}:{floatingip_id}。
123
123
 
124
124
  :param id: The id of this ListPtrRecordsFloatingResp.
125
125
  :type id: str
@@ -130,7 +130,7 @@ class ListPtrRecordsFloatingResp:
130
130
  def ptrdname(self):
131
131
  r"""Gets the ptrdname of this ListPtrRecordsFloatingResp.
132
132
 
133
- PTR记录对应的域名。
133
+ 反向解析记录对应的域名。
134
134
 
135
135
  :return: The ptrdname of this ListPtrRecordsFloatingResp.
136
136
  :rtype: str
@@ -141,7 +141,7 @@ class ListPtrRecordsFloatingResp:
141
141
  def ptrdname(self, ptrdname):
142
142
  r"""Sets the ptrdname of this ListPtrRecordsFloatingResp.
143
143
 
144
- PTR记录对应的域名。
144
+ 反向解析记录对应的域名。
145
145
 
146
146
  :param ptrdname: The ptrdname of this ListPtrRecordsFloatingResp.
147
147
  :type ptrdname: str
@@ -152,7 +152,7 @@ class ListPtrRecordsFloatingResp:
152
152
  def description(self):
153
153
  r"""Gets the description of this ListPtrRecordsFloatingResp.
154
154
 
155
- 对PTR记录的描述。
155
+ 对反向解析记录的描述。
156
156
 
157
157
  :return: The description of this ListPtrRecordsFloatingResp.
158
158
  :rtype: str
@@ -163,7 +163,7 @@ class ListPtrRecordsFloatingResp:
163
163
  def description(self, description):
164
164
  r"""Sets the description of this ListPtrRecordsFloatingResp.
165
165
 
166
- 对PTR记录的描述。
166
+ 对反向解析记录的描述。
167
167
 
168
168
  :param description: The description of this ListPtrRecordsFloatingResp.
169
169
  :type description: str
@@ -174,7 +174,7 @@ class ListPtrRecordsFloatingResp:
174
174
  def ttl(self):
175
175
  r"""Gets the ttl of this ListPtrRecordsFloatingResp.
176
176
 
177
- PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
177
+ 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
178
178
 
179
179
  :return: The ttl of this ListPtrRecordsFloatingResp.
180
180
  :rtype: int
@@ -185,7 +185,7 @@ class ListPtrRecordsFloatingResp:
185
185
  def ttl(self, ttl):
186
186
  r"""Sets the ttl of this ListPtrRecordsFloatingResp.
187
187
 
188
- PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
188
+ 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
189
189
 
190
190
  :param ttl: The ttl of this ListPtrRecordsFloatingResp.
191
191
  :type ttl: int
@@ -47,7 +47,7 @@ class ListPtrRecordsRequest:
47
47
  :type offset: int
48
48
  :param enterprise_project_id: 反向解析关联的企业项目ID,长度不超过36个字符。
49
49
  :type enterprise_project_id: str
50
- :param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。
50
+ :param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。
51
51
  :type tags: str
52
52
  :param status: 资源状态。
53
53
  :type status: str
@@ -168,7 +168,7 @@ class ListPtrRecordsRequest:
168
168
  def tags(self):
169
169
  r"""Gets the tags of this ListPtrRecordsRequest.
170
170
 
171
- 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。
171
+ 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。
172
172
 
173
173
  :return: The tags of this ListPtrRecordsRequest.
174
174
  :rtype: str
@@ -179,7 +179,7 @@ class ListPtrRecordsRequest:
179
179
  def tags(self, tags):
180
180
  r"""Sets the tags of this ListPtrRecordsRequest.
181
181
 
182
- 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。
182
+ 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。
183
183
 
184
184
  :param tags: The tags of this ListPtrRecordsRequest.
185
185
  :type tags: str
@@ -38,7 +38,7 @@ class ListPtrRecordsResponse(SdkResponse):
38
38
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
39
39
  :param metadata:
40
40
  :type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
41
- :param floatingips: 弹性公网IP的PTR记录ID列表信息。
41
+ :param floatingips: 弹性公网IP的反向解析记录ID列表信息。
42
42
  :type floatingips: list[:class:`huaweicloudsdkdns.v2.ListPtrRecordsFloatingResp`]
43
43
  """
44
44
 
@@ -96,7 +96,7 @@ class ListPtrRecordsResponse(SdkResponse):
96
96
  def floatingips(self):
97
97
  r"""Gets the floatingips of this ListPtrRecordsResponse.
98
98
 
99
- 弹性公网IP的PTR记录ID列表信息。
99
+ 弹性公网IP的反向解析记录ID列表信息。
100
100
 
101
101
  :return: The floatingips of this ListPtrRecordsResponse.
102
102
  :rtype: list[:class:`huaweicloudsdkdns.v2.ListPtrRecordsFloatingResp`]
@@ -107,7 +107,7 @@ class ListPtrRecordsResponse(SdkResponse):
107
107
  def floatingips(self, floatingips):
108
108
  r"""Sets the floatingips of this ListPtrRecordsResponse.
109
109
 
110
- 弹性公网IP的PTR记录ID列表信息。
110
+ 弹性公网IP的反向解析记录ID列表信息。
111
111
 
112
112
  :param floatingips: The floatingips of this ListPtrRecordsResponse.
113
113
  :type floatingips: list[:class:`huaweicloudsdkdns.v2.ListPtrRecordsFloatingResp`]
@@ -0,0 +1,289 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListPtrsRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'marker': 'str',
21
+ 'limit': 'int',
22
+ 'offset': 'int',
23
+ 'enterprise_project_id': 'str',
24
+ 'tags': 'str',
25
+ 'status': 'str',
26
+ 'resource_type': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'marker': 'marker',
31
+ 'limit': 'limit',
32
+ 'offset': 'offset',
33
+ 'enterprise_project_id': 'enterprise_project_id',
34
+ 'tags': 'tags',
35
+ 'status': 'status',
36
+ 'resource_type': 'resource_type'
37
+ }
38
+
39
+ def __init__(self, marker=None, limit=None, offset=None, enterprise_project_id=None, tags=None, status=None, resource_type=None):
40
+ r"""ListPtrsRequest
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param marker: 分页查询起始的资源ID,为空时为查询第一页。 默认值为空。
45
+ :type marker: str
46
+ :param limit: 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
47
+ :type limit: int
48
+ :param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
49
+ :type offset: int
50
+ :param enterprise_project_id: 反向解析关联的企业项目ID,长度不超过36个字符。
51
+ :type enterprise_project_id: str
52
+ :param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。
53
+ :type tags: str
54
+ :param status: 资源状态。
55
+ :type status: str
56
+ :param resource_type: 弹性公网IP类型。 取值范围: publicip:弹性公网IP(EIP)
57
+ :type resource_type: str
58
+ """
59
+
60
+
61
+
62
+ self._marker = None
63
+ self._limit = None
64
+ self._offset = None
65
+ self._enterprise_project_id = None
66
+ self._tags = None
67
+ self._status = None
68
+ self._resource_type = None
69
+ self.discriminator = None
70
+
71
+ if marker is not None:
72
+ self.marker = marker
73
+ if limit is not None:
74
+ self.limit = limit
75
+ if offset is not None:
76
+ self.offset = offset
77
+ if enterprise_project_id is not None:
78
+ self.enterprise_project_id = enterprise_project_id
79
+ if tags is not None:
80
+ self.tags = tags
81
+ if status is not None:
82
+ self.status = status
83
+ if resource_type is not None:
84
+ self.resource_type = resource_type
85
+
86
+ @property
87
+ def marker(self):
88
+ r"""Gets the marker of this ListPtrsRequest.
89
+
90
+ 分页查询起始的资源ID,为空时为查询第一页。 默认值为空。
91
+
92
+ :return: The marker of this ListPtrsRequest.
93
+ :rtype: str
94
+ """
95
+ return self._marker
96
+
97
+ @marker.setter
98
+ def marker(self, marker):
99
+ r"""Sets the marker of this ListPtrsRequest.
100
+
101
+ 分页查询起始的资源ID,为空时为查询第一页。 默认值为空。
102
+
103
+ :param marker: The marker of this ListPtrsRequest.
104
+ :type marker: str
105
+ """
106
+ self._marker = marker
107
+
108
+ @property
109
+ def limit(self):
110
+ r"""Gets the limit of this ListPtrsRequest.
111
+
112
+ 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
113
+
114
+ :return: The limit of this ListPtrsRequest.
115
+ :rtype: int
116
+ """
117
+ return self._limit
118
+
119
+ @limit.setter
120
+ def limit(self, limit):
121
+ r"""Sets the limit of this ListPtrsRequest.
122
+
123
+ 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
124
+
125
+ :param limit: The limit of this ListPtrsRequest.
126
+ :type limit: int
127
+ """
128
+ self._limit = limit
129
+
130
+ @property
131
+ def offset(self):
132
+ r"""Gets the offset of this ListPtrsRequest.
133
+
134
+ 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
135
+
136
+ :return: The offset of this ListPtrsRequest.
137
+ :rtype: int
138
+ """
139
+ return self._offset
140
+
141
+ @offset.setter
142
+ def offset(self, offset):
143
+ r"""Sets the offset of this ListPtrsRequest.
144
+
145
+ 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
146
+
147
+ :param offset: The offset of this ListPtrsRequest.
148
+ :type offset: int
149
+ """
150
+ self._offset = offset
151
+
152
+ @property
153
+ def enterprise_project_id(self):
154
+ r"""Gets the enterprise_project_id of this ListPtrsRequest.
155
+
156
+ 反向解析关联的企业项目ID,长度不超过36个字符。
157
+
158
+ :return: The enterprise_project_id of this ListPtrsRequest.
159
+ :rtype: str
160
+ """
161
+ return self._enterprise_project_id
162
+
163
+ @enterprise_project_id.setter
164
+ def enterprise_project_id(self, enterprise_project_id):
165
+ r"""Sets the enterprise_project_id of this ListPtrsRequest.
166
+
167
+ 反向解析关联的企业项目ID,长度不超过36个字符。
168
+
169
+ :param enterprise_project_id: The enterprise_project_id of this ListPtrsRequest.
170
+ :type enterprise_project_id: str
171
+ """
172
+ self._enterprise_project_id = enterprise_project_id
173
+
174
+ @property
175
+ def tags(self):
176
+ r"""Gets the tags of this ListPtrsRequest.
177
+
178
+ 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。
179
+
180
+ :return: The tags of this ListPtrsRequest.
181
+ :rtype: str
182
+ """
183
+ return self._tags
184
+
185
+ @tags.setter
186
+ def tags(self, tags):
187
+ r"""Sets the tags of this ListPtrsRequest.
188
+
189
+ 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用“|”分开,每个标签的键值用英文逗号“,”相隔。
190
+
191
+ :param tags: The tags of this ListPtrsRequest.
192
+ :type tags: str
193
+ """
194
+ self._tags = tags
195
+
196
+ @property
197
+ def status(self):
198
+ r"""Gets the status of this ListPtrsRequest.
199
+
200
+ 资源状态。
201
+
202
+ :return: The status of this ListPtrsRequest.
203
+ :rtype: str
204
+ """
205
+ return self._status
206
+
207
+ @status.setter
208
+ def status(self, status):
209
+ r"""Sets the status of this ListPtrsRequest.
210
+
211
+ 资源状态。
212
+
213
+ :param status: The status of this ListPtrsRequest.
214
+ :type status: str
215
+ """
216
+ self._status = status
217
+
218
+ @property
219
+ def resource_type(self):
220
+ r"""Gets the resource_type of this ListPtrsRequest.
221
+
222
+ 弹性公网IP类型。 取值范围: publicip:弹性公网IP(EIP)
223
+
224
+ :return: The resource_type of this ListPtrsRequest.
225
+ :rtype: str
226
+ """
227
+ return self._resource_type
228
+
229
+ @resource_type.setter
230
+ def resource_type(self, resource_type):
231
+ r"""Sets the resource_type of this ListPtrsRequest.
232
+
233
+ 弹性公网IP类型。 取值范围: publicip:弹性公网IP(EIP)
234
+
235
+ :param resource_type: The resource_type of this ListPtrsRequest.
236
+ :type resource_type: str
237
+ """
238
+ self._resource_type = resource_type
239
+
240
+ def to_dict(self):
241
+ """Returns the model properties as a dict"""
242
+ result = {}
243
+
244
+ for attr, _ in six.iteritems(self.openapi_types):
245
+ value = getattr(self, attr)
246
+ if isinstance(value, list):
247
+ result[attr] = list(map(
248
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249
+ value
250
+ ))
251
+ elif hasattr(value, "to_dict"):
252
+ result[attr] = value.to_dict()
253
+ elif isinstance(value, dict):
254
+ result[attr] = dict(map(
255
+ lambda item: (item[0], item[1].to_dict())
256
+ if hasattr(item[1], "to_dict") else item,
257
+ value.items()
258
+ ))
259
+ else:
260
+ if attr in self.sensitive_list:
261
+ result[attr] = "****"
262
+ else:
263
+ result[attr] = value
264
+
265
+ return result
266
+
267
+ def to_str(self):
268
+ """Returns the string representation of the model"""
269
+ import simplejson as json
270
+ if six.PY2:
271
+ import sys
272
+ reload(sys)
273
+ sys.setdefaultencoding("utf-8")
274
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
275
+
276
+ def __repr__(self):
277
+ """For `print`"""
278
+ return self.to_str()
279
+
280
+ def __eq__(self, other):
281
+ """Returns true if both objects are equal"""
282
+ if not isinstance(other, ListPtrsRequest):
283
+ return False
284
+
285
+ return self.__dict__ == other.__dict__
286
+
287
+ def __ne__(self, other):
288
+ """Returns true if both objects are not equal"""
289
+ return not self == other