huaweicloudsdkdns 3.0.43rc0__py3-none-any.whl → 3.1.161__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 (274) hide show
  1. huaweicloudsdkdns/v2/__init__.py +137 -11
  2. huaweicloudsdkdns/v2/dns_async_client.py +4624 -1735
  3. huaweicloudsdkdns/v2/dns_client.py +4637 -1749
  4. huaweicloudsdkdns/v2/model/__init__.py +136 -9
  5. huaweicloudsdkdns/v2/model/alias_target.py +27 -20
  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 +27 -20
  12. huaweicloudsdkdns/v2/model/{associate_router_req.py → associate_router_request_body.py} +23 -20
  13. huaweicloudsdkdns/v2/model/associate_router_response.py +35 -25
  14. huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +200 -0
  15. huaweicloudsdkdns/v2/model/batch_create_tag_request.py +33 -22
  16. huaweicloudsdkdns/v2/model/batch_create_tag_response.py +14 -10
  17. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
  18. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
  19. huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
  20. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +139 -0
  21. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +114 -0
  22. huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +166 -0
  23. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
  24. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
  25. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
  26. huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
  27. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
  28. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
  29. huaweicloudsdkdns/v2/model/batch_hand_tags.py +24 -17
  30. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
  31. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
  32. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
  33. huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
  34. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
  35. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
  36. huaweicloudsdkdns/v2/model/batch_update_record_set.py +229 -0
  37. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +139 -0
  38. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +114 -0
  39. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +166 -0
  40. huaweicloudsdkdns/v2/model/create_custom_line_request.py +20 -17
  41. huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +36 -27
  42. huaweicloudsdkdns/v2/model/create_custom_line_response.py +53 -35
  43. huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +33 -22
  44. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +97 -50
  45. huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
  46. huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
  47. huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
  48. huaweicloudsdkdns/v2/model/create_line_group_request.py +111 -0
  49. huaweicloudsdkdns/v2/model/create_line_group_response.py +290 -0
  50. huaweicloudsdkdns/v2/model/create_line_groups_req.py +171 -0
  51. huaweicloudsdkdns/v2/model/create_line_groups_resp.py +289 -0
  52. huaweicloudsdkdns/v2/model/create_private_zone_req.py +101 -55
  53. huaweicloudsdkdns/v2/model/create_private_zone_request.py +19 -16
  54. huaweicloudsdkdns/v2/model/create_private_zone_response.py +156 -95
  55. huaweicloudsdkdns/v2/model/create_ptr_req.py +47 -34
  56. huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
  57. huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
  58. huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
  59. huaweicloudsdkdns/v2/model/create_public_zone_req.py +63 -46
  60. huaweicloudsdkdns/v2/model/create_public_zone_request.py +19 -16
  61. huaweicloudsdkdns/v2/model/create_public_zone_response.py +125 -91
  62. huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +199 -0
  63. huaweicloudsdkdns/v2/model/create_record_set_request.py +27 -20
  64. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +286 -0
  65. huaweicloudsdkdns/v2/model/create_record_set_response.py +111 -55
  66. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +139 -0
  67. huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +166 -0
  68. huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +27 -20
  69. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +370 -0
  70. huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +138 -102
  71. huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
  72. huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
  73. huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
  74. huaweicloudsdkdns/v2/model/create_tag_req.py +19 -16
  75. huaweicloudsdkdns/v2/model/create_tag_request.py +33 -22
  76. huaweicloudsdkdns/v2/model/create_tag_response.py +14 -10
  77. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +20 -13
  78. huaweicloudsdkdns/v2/model/delete_custom_line_response.py +53 -35
  79. huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
  80. huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
  81. huaweicloudsdkdns/v2/model/delete_line_group_request.py +114 -0
  82. huaweicloudsdkdns/v2/model/delete_line_group_response.py +290 -0
  83. huaweicloudsdkdns/v2/model/delete_private_zone_request.py +20 -13
  84. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +126 -92
  85. huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
  86. huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
  87. huaweicloudsdkdns/v2/model/delete_public_zone_request.py +20 -13
  88. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +121 -91
  89. huaweicloudsdkdns/v2/model/delete_record_set_request.py +27 -16
  90. huaweicloudsdkdns/v2/model/delete_record_set_response.py +111 -81
  91. huaweicloudsdkdns/v2/model/delete_record_sets_request.py +27 -16
  92. huaweicloudsdkdns/v2/model/delete_record_sets_response.py +138 -102
  93. huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
  94. huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
  95. huaweicloudsdkdns/v2/model/delete_tag_request.py +34 -19
  96. huaweicloudsdkdns/v2/model/delete_tag_response.py +14 -10
  97. huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
  98. huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
  99. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
  100. huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
  101. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
  102. huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
  103. huaweicloudsdkdns/v2/model/disassociate_router_request.py +27 -20
  104. huaweicloudsdkdns/v2/model/disassociate_router_response.py +35 -25
  105. huaweicloudsdkdns/v2/model/{disassociaterouter_req.py → disassociaterouter_request_body.py} +23 -20
  106. huaweicloudsdkdns/v2/model/domain_quota_response_quotas.py +198 -0
  107. huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
  108. huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
  109. huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
  110. huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
  111. huaweicloudsdkdns/v2/model/{update_public_zone_status.py → ip_info.py} +35 -29
  112. huaweicloudsdkdns/v2/model/ip_value.py +115 -0
  113. huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
  114. huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
  115. huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
  116. huaweicloudsdkdns/v2/model/line.py +52 -35
  117. huaweicloudsdkdns/v2/model/link.py +115 -0
  118. huaweicloudsdkdns/v2/model/links_item.py +27 -20
  119. huaweicloudsdkdns/v2/model/list_api_versions_item.py +35 -26
  120. huaweicloudsdkdns/v2/model/list_api_versions_request.py +13 -10
  121. huaweicloudsdkdns/v2/model/list_api_versions_response.py +20 -16
  122. huaweicloudsdkdns/v2/model/list_custom_line_request.py +109 -28
  123. huaweicloudsdkdns/v2/model/list_custom_line_response.py +29 -21
  124. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
  125. huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
  126. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
  127. huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
  128. huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
  129. huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
  130. huaweicloudsdkdns/v2/model/list_line_groups_request.py +202 -0
  131. huaweicloudsdkdns/v2/model/list_line_groups_response.py +141 -0
  132. huaweicloudsdkdns/v2/model/list_name_servers_request.py +27 -16
  133. huaweicloudsdkdns/v2/model/list_name_servers_response.py +22 -14
  134. huaweicloudsdkdns/v2/model/list_private_zones_request.py +217 -37
  135. huaweicloudsdkdns/v2/model/list_private_zones_response.py +35 -27
  136. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +99 -51
  137. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +55 -28
  138. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +35 -27
  139. huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
  140. huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
  141. huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
  142. huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
  143. huaweicloudsdkdns/v2/model/list_public_zones_request.py +186 -35
  144. huaweicloudsdkdns/v2/model/list_public_zones_response.py +36 -28
  145. huaweicloudsdkdns/v2/model/list_record_sets.py +110 -81
  146. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +124 -48
  147. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +35 -27
  148. huaweicloudsdkdns/v2/model/list_record_sets_request.py +131 -51
  149. huaweicloudsdkdns/v2/model/list_record_sets_response.py +36 -28
  150. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +152 -60
  151. huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +36 -28
  152. huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +517 -0
  153. huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
  154. huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
  155. huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
  156. huaweicloudsdkdns/v2/model/list_tag_req.py +64 -45
  157. huaweicloudsdkdns/v2/model/list_tag_request.py +26 -19
  158. huaweicloudsdkdns/v2/model/list_tag_response.py +29 -17
  159. huaweicloudsdkdns/v2/model/list_tags_request.py +20 -13
  160. huaweicloudsdkdns/v2/model/list_tags_response.py +20 -14
  161. huaweicloudsdkdns/v2/model/match.py +143 -0
  162. huaweicloudsdkdns/v2/model/{metedata.py → metadata.py} +24 -19
  163. huaweicloudsdkdns/v2/model/name_servers_resp.py +31 -20
  164. huaweicloudsdkdns/v2/model/nameserver.py +27 -20
  165. huaweicloudsdkdns/v2/model/ns_records.py +28 -19
  166. huaweicloudsdkdns/v2/model/page_info.py +173 -0
  167. huaweicloudsdkdns/v2/model/page_link.py +27 -20
  168. huaweicloudsdkdns/v2/model/private_name_server.py +27 -20
  169. huaweicloudsdkdns/v2/model/private_zone_resp.py +191 -98
  170. huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
  171. huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
  172. huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
  173. huaweicloudsdkdns/v2/model/public_zone_resp.py +575 -0
  174. huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +658 -0
  175. huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +169 -105
  176. huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
  177. huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
  178. huaweicloudsdkdns/v2/model/resource_item.py +36 -25
  179. huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +33 -22
  180. huaweicloudsdkdns/v2/model/restore_ptr_record_response.py +14 -10
  181. huaweicloudsdkdns/v2/model/restore_ptr_req.py +22 -17
  182. huaweicloudsdkdns/v2/model/router.py +59 -23
  183. huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
  184. huaweicloudsdkdns/v2/model/router_with_status.py +34 -25
  185. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
  186. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
  187. huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
  188. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +27 -20
  189. huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +24 -19
  190. huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +170 -105
  191. huaweicloudsdkdns/v2/model/show_api_info_request.py +20 -13
  192. huaweicloudsdkdns/v2/model/show_api_info_response.py +20 -16
  193. huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
  194. huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
  195. huaweicloudsdkdns/v2/model/show_domain_quota_request.py +114 -0
  196. huaweicloudsdkdns/v2/model/show_domain_quota_response.py +116 -0
  197. huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
  198. huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
  199. huaweicloudsdkdns/v2/model/show_line_group_request.py +114 -0
  200. huaweicloudsdkdns/v2/model/show_line_group_response.py +290 -0
  201. huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +20 -13
  202. huaweicloudsdkdns/v2/model/show_private_zone_name_server_response.py +22 -14
  203. huaweicloudsdkdns/v2/model/show_private_zone_request.py +20 -13
  204. huaweicloudsdkdns/v2/model/show_private_zone_response.py +187 -95
  205. huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +27 -16
  206. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +97 -50
  207. huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
  208. huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
  209. huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +20 -13
  210. huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +22 -16
  211. huaweicloudsdkdns/v2/model/show_public_zone_request.py +20 -13
  212. huaweicloudsdkdns/v2/model/show_public_zone_response.py +127 -93
  213. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +371 -16
  214. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +162 -127
  215. huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +35 -27
  216. huaweicloudsdkdns/v2/model/show_record_set_request.py +27 -16
  217. huaweicloudsdkdns/v2/model/show_record_set_response.py +143 -84
  218. huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +27 -16
  219. huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +170 -105
  220. huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
  221. huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
  222. huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
  223. huaweicloudsdkdns/v2/model/show_resource_tag_request.py +27 -16
  224. huaweicloudsdkdns/v2/model/show_resource_tag_response.py +22 -14
  225. huaweicloudsdkdns/v2/model/tag.py +27 -20
  226. huaweicloudsdkdns/v2/model/tag_values.py +27 -20
  227. huaweicloudsdkdns/v2/model/update_custom_line_request.py +27 -20
  228. huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +36 -27
  229. huaweicloudsdkdns/v2/model/update_custom_line_response.py +53 -35
  230. huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
  231. huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
  232. huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
  233. huaweicloudsdkdns/v2/model/update_line_groups_request.py +139 -0
  234. huaweicloudsdkdns/v2/model/update_line_groups_request_body.py +171 -0
  235. huaweicloudsdkdns/v2/model/update_line_groups_response.py +290 -0
  236. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +34 -25
  237. huaweicloudsdkdns/v2/model/update_private_zone_request.py +26 -19
  238. huaweicloudsdkdns/v2/model/update_private_zone_response.py +126 -92
  239. huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
  240. huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
  241. huaweicloudsdkdns/v2/model/update_ptr_record_request.py +33 -22
  242. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +65 -47
  243. huaweicloudsdkdns/v2/model/update_ptr_req.py +40 -29
  244. huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
  245. huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
  246. huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
  247. huaweicloudsdkdns/v2/model/update_public_zone_info.py +36 -27
  248. huaweicloudsdkdns/v2/model/update_public_zone_request.py +26 -19
  249. huaweicloudsdkdns/v2/model/update_public_zone_response.py +120 -88
  250. huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +27 -20
  251. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +118 -86
  252. huaweicloudsdkdns/v2/model/update_record_set_req.py +52 -37
  253. huaweicloudsdkdns/v2/model/update_record_set_request.py +33 -22
  254. huaweicloudsdkdns/v2/model/update_record_set_response.py +111 -55
  255. huaweicloudsdkdns/v2/model/update_record_sets_req.py +55 -40
  256. huaweicloudsdkdns/v2/model/update_record_sets_request.py +33 -22
  257. huaweicloudsdkdns/v2/model/update_record_sets_response.py +138 -102
  258. huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
  259. huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
  260. huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
  261. huaweicloudsdkdns/v2/model/update_zone_status_request_body.py +114 -0
  262. huaweicloudsdkdns/v2/model/values_item.py +21 -16
  263. huaweicloudsdkdns/v2/model/version_item.py +56 -41
  264. huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
  265. huaweicloudsdkdns/v2/model/zone_data.py +517 -0
  266. huaweicloudsdkdns/v2/region/dns_region.py +88 -38
  267. {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.dist-info}/METADATA +9 -9
  268. huaweicloudsdkdns-3.1.161.dist-info/RECORD +273 -0
  269. {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.dist-info}/WHEEL +1 -1
  270. huaweicloudsdkdns/v2/model/create_record_set_req.py +0 -263
  271. huaweicloudsdkdns/v2/model/create_record_set_with_line_req.py +0 -348
  272. huaweicloudsdkdns-3.0.43rc0.dist-info/RECORD +0 -146
  273. {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.dist-info}/LICENSE +0 -0
  274. {huaweicloudsdkdns-3.0.43rc0.dist-info → huaweicloudsdkdns-3.1.161.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,13 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
5
  from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
7
 
11
8
 
12
9
  class CreatePublicZoneResponse(SdkResponse):
13
10
 
14
-
15
11
  """
16
12
  Attributes:
17
13
  openapi_types (dict): The key is attribute name
@@ -19,7 +15,6 @@ class CreatePublicZoneResponse(SdkResponse):
19
15
  attribute_map (dict): The key is attribute name
20
16
  and the value is json key in definition.
21
17
  """
22
-
23
18
  sensitive_list = []
24
19
 
25
20
  openapi_types = {
@@ -61,9 +56,45 @@ class CreatePublicZoneResponse(SdkResponse):
61
56
  }
62
57
 
63
58
  def __init__(self, id=None, name=None, description=None, email=None, zone_type=None, ttl=None, serial=None, status=None, record_num=None, pool_id=None, project_id=None, created_at=None, updated_at=None, links=None, enterprise_project_id=None, masters=None):
64
- """CreatePublicZoneResponse - a model defined in huaweicloud sdk"""
59
+ r"""CreatePublicZoneResponse
60
+
61
+ The model defined in huaweicloud sdk
62
+
63
+ :param id: **参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
64
+ :type id: str
65
+ :param name: **参数解释:** 域名。 **取值范围:** 不涉及。
66
+ :type name: str
67
+ :param description: **参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
68
+ :type description: str
69
+ :param email: **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
70
+ :type email: str
71
+ :param zone_type: **参数解释:** 域名类型。 **取值范围:** public:公网域名。
72
+ :type zone_type: str
73
+ :param ttl: **参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 不涉及。
74
+ :type ttl: int
75
+ :param serial: **参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
76
+ :type serial: int
77
+ :param status: **参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - DISABLE:暂停
78
+ :type status: str
79
+ :param record_num: **参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
80
+ :type record_num: int
81
+ :param pool_id: **参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
82
+ :type pool_id: str
83
+ :param project_id: **参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
84
+ :type project_id: str
85
+ :param created_at: **参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
86
+ :type created_at: str
87
+ :param updated_at: **参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
88
+ :type updated_at: str
89
+ :param links:
90
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
91
+ :param enterprise_project_id: **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。
92
+ :type enterprise_project_id: str
93
+ :param masters: **参数解释:** 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。 **取值范围:** 不涉及。
94
+ :type masters: list[str]
95
+ """
65
96
 
66
- super().__init__()
97
+ super(CreatePublicZoneResponse, self).__init__()
67
98
 
68
99
  self._id = None
69
100
  self._name = None
@@ -118,9 +149,9 @@ class CreatePublicZoneResponse(SdkResponse):
118
149
 
119
150
  @property
120
151
  def id(self):
121
- """Gets the id of this CreatePublicZoneResponse.
152
+ r"""Gets the id of this CreatePublicZoneResponse.
122
153
 
123
- zone的ID,uuid形式的一个资源标识。
154
+ **参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
124
155
 
125
156
  :return: The id of this CreatePublicZoneResponse.
126
157
  :rtype: str
@@ -129,20 +160,20 @@ class CreatePublicZoneResponse(SdkResponse):
129
160
 
130
161
  @id.setter
131
162
  def id(self, id):
132
- """Sets the id of this CreatePublicZoneResponse.
163
+ r"""Sets the id of this CreatePublicZoneResponse.
133
164
 
134
- zone的ID,uuid形式的一个资源标识。
165
+ **参数解释:** 域名的ID,UUID形式的一个资源标识。 **取值范围:** 不涉及。
135
166
 
136
167
  :param id: The id of this CreatePublicZoneResponse.
137
- :type: str
168
+ :type id: str
138
169
  """
139
170
  self._id = id
140
171
 
141
172
  @property
142
173
  def name(self):
143
- """Gets the name of this CreatePublicZoneResponse.
174
+ r"""Gets the name of this CreatePublicZoneResponse.
144
175
 
145
- zone名称。
176
+ **参数解释:** 域名。 **取值范围:** 不涉及。
146
177
 
147
178
  :return: The name of this CreatePublicZoneResponse.
148
179
  :rtype: str
@@ -151,20 +182,20 @@ class CreatePublicZoneResponse(SdkResponse):
151
182
 
152
183
  @name.setter
153
184
  def name(self, name):
154
- """Sets the name of this CreatePublicZoneResponse.
185
+ r"""Sets the name of this CreatePublicZoneResponse.
155
186
 
156
- zone名称。
187
+ **参数解释:** 域名。 **取值范围:** 不涉及。
157
188
 
158
189
  :param name: The name of this CreatePublicZoneResponse.
159
- :type: str
190
+ :type name: str
160
191
  """
161
192
  self._name = name
162
193
 
163
194
  @property
164
195
  def description(self):
165
- """Gets the description of this CreatePublicZoneResponse.
196
+ r"""Gets the description of this CreatePublicZoneResponse.
166
197
 
167
- 对zone的描述信息。
198
+ **参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
168
199
 
169
200
  :return: The description of this CreatePublicZoneResponse.
170
201
  :rtype: str
@@ -173,20 +204,20 @@ class CreatePublicZoneResponse(SdkResponse):
173
204
 
174
205
  @description.setter
175
206
  def description(self, description):
176
- """Sets the description of this CreatePublicZoneResponse.
207
+ r"""Sets the description of this CreatePublicZoneResponse.
177
208
 
178
- 对zone的描述信息。
209
+ **参数解释:** 域名的描述信息。 **取值范围:** 长度不超过255个字符。
179
210
 
180
211
  :param description: The description of this CreatePublicZoneResponse.
181
- :type: str
212
+ :type description: str
182
213
  """
183
214
  self._description = description
184
215
 
185
216
  @property
186
217
  def email(self):
187
- """Gets the email of this CreatePublicZoneResponse.
218
+ r"""Gets the email of this CreatePublicZoneResponse.
188
219
 
189
- 管理该zone的管理员邮箱。
220
+ **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
190
221
 
191
222
  :return: The email of this CreatePublicZoneResponse.
192
223
  :rtype: str
@@ -195,20 +226,20 @@ class CreatePublicZoneResponse(SdkResponse):
195
226
 
196
227
  @email.setter
197
228
  def email(self, email):
198
- """Sets the email of this CreatePublicZoneResponse.
229
+ r"""Sets the email of this CreatePublicZoneResponse.
199
230
 
200
- 管理该zone的管理员邮箱。
231
+ **参数解释:** 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 **取值范围:** 不涉及。
201
232
 
202
233
  :param email: The email of this CreatePublicZoneResponse.
203
- :type: str
234
+ :type email: str
204
235
  """
205
236
  self._email = email
206
237
 
207
238
  @property
208
239
  def zone_type(self):
209
- """Gets the zone_type of this CreatePublicZoneResponse.
240
+ r"""Gets the zone_type of this CreatePublicZoneResponse.
210
241
 
211
- zone类型,公网(public)。
242
+ **参数解释:** 域名类型。 **取值范围:** public:公网域名。
212
243
 
213
244
  :return: The zone_type of this CreatePublicZoneResponse.
214
245
  :rtype: str
@@ -217,20 +248,20 @@ class CreatePublicZoneResponse(SdkResponse):
217
248
 
218
249
  @zone_type.setter
219
250
  def zone_type(self, zone_type):
220
- """Sets the zone_type of this CreatePublicZoneResponse.
251
+ r"""Sets the zone_type of this CreatePublicZoneResponse.
221
252
 
222
- zone类型,公网(public)。
253
+ **参数解释:** 域名类型。 **取值范围:** public:公网域名。
223
254
 
224
255
  :param zone_type: The zone_type of this CreatePublicZoneResponse.
225
- :type: str
256
+ :type zone_type: str
226
257
  """
227
258
  self._zone_type = zone_type
228
259
 
229
260
  @property
230
261
  def ttl(self):
231
- """Gets the ttl of this CreatePublicZoneResponse.
262
+ r"""Gets the ttl of this CreatePublicZoneResponse.
232
263
 
233
- 该zone下SOA记录中的ttl值。
264
+ **参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 不涉及。
234
265
 
235
266
  :return: The ttl of this CreatePublicZoneResponse.
236
267
  :rtype: int
@@ -239,20 +270,20 @@ class CreatePublicZoneResponse(SdkResponse):
239
270
 
240
271
  @ttl.setter
241
272
  def ttl(self, ttl):
242
- """Sets the ttl of this CreatePublicZoneResponse.
273
+ r"""Sets the ttl of this CreatePublicZoneResponse.
243
274
 
244
- 该zone下SOA记录中的ttl值。
275
+ **参数解释:** 该域名下SOA记录中的有效缓存时间,以秒为单位。 **取值范围:** 不涉及。
245
276
 
246
277
  :param ttl: The ttl of this CreatePublicZoneResponse.
247
- :type: int
278
+ :type ttl: int
248
279
  """
249
280
  self._ttl = ttl
250
281
 
251
282
  @property
252
283
  def serial(self):
253
- """Gets the serial of this CreatePublicZoneResponse.
284
+ r"""Gets the serial of this CreatePublicZoneResponse.
254
285
 
255
- 该zone下SOA记录中用于标识zone文件变更的序列值,用于主从节点同步。
286
+ **参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
256
287
 
257
288
  :return: The serial of this CreatePublicZoneResponse.
258
289
  :rtype: int
@@ -261,20 +292,20 @@ class CreatePublicZoneResponse(SdkResponse):
261
292
 
262
293
  @serial.setter
263
294
  def serial(self, serial):
264
- """Sets the serial of this CreatePublicZoneResponse.
295
+ r"""Sets the serial of this CreatePublicZoneResponse.
265
296
 
266
- 该zone下SOA记录中用于标识zone文件变更的序列值,用于主从节点同步。
297
+ **参数解释:** 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 **取值范围:** 不涉及。
267
298
 
268
299
  :param serial: The serial of this CreatePublicZoneResponse.
269
- :type: int
300
+ :type serial: int
270
301
  """
271
302
  self._serial = serial
272
303
 
273
304
  @property
274
305
  def status(self):
275
- """Gets the status of this CreatePublicZoneResponse.
306
+ r"""Gets the status of this CreatePublicZoneResponse.
276
307
 
277
- 资源状态。
308
+ **参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - DISABLE:暂停
278
309
 
279
310
  :return: The status of this CreatePublicZoneResponse.
280
311
  :rtype: str
@@ -283,20 +314,20 @@ class CreatePublicZoneResponse(SdkResponse):
283
314
 
284
315
  @status.setter
285
316
  def status(self, status):
286
- """Sets the status of this CreatePublicZoneResponse.
317
+ r"""Sets the status of this CreatePublicZoneResponse.
287
318
 
288
- 资源状态。
319
+ **参数解释:** 公网域名状态。 **取值范围:** - ACTIVE:正常 - PENDING_CREATE:创建中 - DISABLE:暂停
289
320
 
290
321
  :param status: The status of this CreatePublicZoneResponse.
291
- :type: str
322
+ :type status: str
292
323
  """
293
324
  self._status = status
294
325
 
295
326
  @property
296
327
  def record_num(self):
297
- """Gets the record_num of this CreatePublicZoneResponse.
328
+ r"""Gets the record_num of this CreatePublicZoneResponse.
298
329
 
299
- 该zone下的recordset个数。
330
+ **参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
300
331
 
301
332
  :return: The record_num of this CreatePublicZoneResponse.
302
333
  :rtype: int
@@ -305,20 +336,20 @@ class CreatePublicZoneResponse(SdkResponse):
305
336
 
306
337
  @record_num.setter
307
338
  def record_num(self, record_num):
308
- """Sets the record_num of this CreatePublicZoneResponse.
339
+ r"""Sets the record_num of this CreatePublicZoneResponse.
309
340
 
310
- 该zone下的recordset个数。
341
+ **参数解释:** 该域名下的记录集个数。 **取值范围:** 不涉及。
311
342
 
312
343
  :param record_num: The record_num of this CreatePublicZoneResponse.
313
- :type: int
344
+ :type record_num: int
314
345
  """
315
346
  self._record_num = record_num
316
347
 
317
348
  @property
318
349
  def pool_id(self):
319
- """Gets the pool_id of this CreatePublicZoneResponse.
350
+ r"""Gets the pool_id of this CreatePublicZoneResponse.
320
351
 
321
- 托管该zone的pool,由系统分配。
352
+ **参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
322
353
 
323
354
  :return: The pool_id of this CreatePublicZoneResponse.
324
355
  :rtype: str
@@ -327,20 +358,20 @@ class CreatePublicZoneResponse(SdkResponse):
327
358
 
328
359
  @pool_id.setter
329
360
  def pool_id(self, pool_id):
330
- """Sets the pool_id of this CreatePublicZoneResponse.
361
+ r"""Sets the pool_id of this CreatePublicZoneResponse.
331
362
 
332
- 托管该zone的pool,由系统分配。
363
+ **参数解释:** 托管该域名的pool,由系统分配。 **取值范围:** 不涉及。
333
364
 
334
365
  :param pool_id: The pool_id of this CreatePublicZoneResponse.
335
- :type: str
366
+ :type pool_id: str
336
367
  """
337
368
  self._pool_id = pool_id
338
369
 
339
370
  @property
340
371
  def project_id(self):
341
- """Gets the project_id of this CreatePublicZoneResponse.
372
+ r"""Gets the project_id of this CreatePublicZoneResponse.
342
373
 
343
- zone所属的项目ID。
374
+ **参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
344
375
 
345
376
  :return: The project_id of this CreatePublicZoneResponse.
346
377
  :rtype: str
@@ -349,20 +380,20 @@ class CreatePublicZoneResponse(SdkResponse):
349
380
 
350
381
  @project_id.setter
351
382
  def project_id(self, project_id):
352
- """Sets the project_id of this CreatePublicZoneResponse.
383
+ r"""Sets the project_id of this CreatePublicZoneResponse.
353
384
 
354
- zone所属的项目ID。
385
+ **参数解释:** 域名所属的项目ID。 **取值范围:** 不涉及。
355
386
 
356
387
  :param project_id: The project_id of this CreatePublicZoneResponse.
357
- :type: str
388
+ :type project_id: str
358
389
  """
359
390
  self._project_id = project_id
360
391
 
361
392
  @property
362
393
  def created_at(self):
363
- """Gets the created_at of this CreatePublicZoneResponse.
394
+ r"""Gets the created_at of this CreatePublicZoneResponse.
364
395
 
365
- 创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
396
+ **参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
366
397
 
367
398
  :return: The created_at of this CreatePublicZoneResponse.
368
399
  :rtype: str
@@ -371,20 +402,20 @@ class CreatePublicZoneResponse(SdkResponse):
371
402
 
372
403
  @created_at.setter
373
404
  def created_at(self, created_at):
374
- """Sets the created_at of this CreatePublicZoneResponse.
405
+ r"""Sets the created_at of this CreatePublicZoneResponse.
375
406
 
376
- 创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
407
+ **参数解释:** 域名的创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
377
408
 
378
409
  :param created_at: The created_at of this CreatePublicZoneResponse.
379
- :type: str
410
+ :type created_at: str
380
411
  """
381
412
  self._created_at = created_at
382
413
 
383
414
  @property
384
415
  def updated_at(self):
385
- """Gets the updated_at of this CreatePublicZoneResponse.
416
+ r"""Gets the updated_at of this CreatePublicZoneResponse.
386
417
 
387
- 更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
418
+ **参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
388
419
 
389
420
  :return: The updated_at of this CreatePublicZoneResponse.
390
421
  :rtype: str
@@ -393,40 +424,38 @@ class CreatePublicZoneResponse(SdkResponse):
393
424
 
394
425
  @updated_at.setter
395
426
  def updated_at(self, updated_at):
396
- """Sets the updated_at of this CreatePublicZoneResponse.
427
+ r"""Sets the updated_at of this CreatePublicZoneResponse.
397
428
 
398
- 更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
429
+ **参数解释:** 域名的最近一次修改时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。 **取值范围:** 不涉及。
399
430
 
400
431
  :param updated_at: The updated_at of this CreatePublicZoneResponse.
401
- :type: str
432
+ :type updated_at: str
402
433
  """
403
434
  self._updated_at = updated_at
404
435
 
405
436
  @property
406
437
  def links(self):
407
- """Gets the links of this CreatePublicZoneResponse.
408
-
438
+ r"""Gets the links of this CreatePublicZoneResponse.
409
439
 
410
440
  :return: The links of this CreatePublicZoneResponse.
411
- :rtype: PageLink
441
+ :rtype: :class:`huaweicloudsdkdns.v2.PageLink`
412
442
  """
413
443
  return self._links
414
444
 
415
445
  @links.setter
416
446
  def links(self, links):
417
- """Sets the links of this CreatePublicZoneResponse.
418
-
447
+ r"""Sets the links of this CreatePublicZoneResponse.
419
448
 
420
449
  :param links: The links of this CreatePublicZoneResponse.
421
- :type: PageLink
450
+ :type links: :class:`huaweicloudsdkdns.v2.PageLink`
422
451
  """
423
452
  self._links = links
424
453
 
425
454
  @property
426
455
  def enterprise_project_id(self):
427
- """Gets the enterprise_project_id of this CreatePublicZoneResponse.
456
+ r"""Gets the enterprise_project_id of this CreatePublicZoneResponse.
428
457
 
429
- 域名关联的企业项目ID,长度不超过36个字符。
458
+ **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。
430
459
 
431
460
  :return: The enterprise_project_id of this CreatePublicZoneResponse.
432
461
  :rtype: str
@@ -435,20 +464,20 @@ class CreatePublicZoneResponse(SdkResponse):
435
464
 
436
465
  @enterprise_project_id.setter
437
466
  def enterprise_project_id(self, enterprise_project_id):
438
- """Sets the enterprise_project_id of this CreatePublicZoneResponse.
467
+ r"""Sets the enterprise_project_id of this CreatePublicZoneResponse.
439
468
 
440
- 域名关联的企业项目ID,长度不超过36个字符。
469
+ **参数解释:** 域名所属的企业项目ID。可以使用该字段过滤企业项目下的域名。 **取值范围:** 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。
441
470
 
442
471
  :param enterprise_project_id: The enterprise_project_id of this CreatePublicZoneResponse.
443
- :type: str
472
+ :type enterprise_project_id: str
444
473
  """
445
474
  self._enterprise_project_id = enterprise_project_id
446
475
 
447
476
  @property
448
477
  def masters(self):
449
- """Gets the masters of this CreatePublicZoneResponse.
478
+ r"""Gets the masters of this CreatePublicZoneResponse.
450
479
 
451
- 主从模式中,从DNS服务器用以获取DNS信息。 目前暂未使用。
480
+ **参数解释:** 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。 **取值范围:** 不涉及。
452
481
 
453
482
  :return: The masters of this CreatePublicZoneResponse.
454
483
  :rtype: list[str]
@@ -457,12 +486,12 @@ class CreatePublicZoneResponse(SdkResponse):
457
486
 
458
487
  @masters.setter
459
488
  def masters(self, masters):
460
- """Sets the masters of this CreatePublicZoneResponse.
489
+ r"""Sets the masters of this CreatePublicZoneResponse.
461
490
 
462
- 主从模式中,从DNS服务器用以获取DNS信息。 目前暂未使用。
491
+ **参数解释:** 主从模式中,从DNS服务器获取DNS信息。目前暂未使用。 **取值范围:** 不涉及。
463
492
 
464
493
  :param masters: The masters of this CreatePublicZoneResponse.
465
- :type: list[str]
494
+ :type masters: list[str]
466
495
  """
467
496
  self._masters = masters
468
497
 
@@ -495,10 +524,15 @@ class CreatePublicZoneResponse(SdkResponse):
495
524
 
496
525
  def to_str(self):
497
526
  """Returns the string representation of the model"""
498
- return pprint.pformat(self.to_dict())
527
+ import simplejson as json
528
+ if six.PY2:
529
+ import sys
530
+ reload(sys)
531
+ sys.setdefaultencoding("utf-8")
532
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
499
533
 
500
534
  def __repr__(self):
501
- """For `print` and `pprint`"""
535
+ """For `print`"""
502
536
  return self.to_str()
503
537
 
504
538
  def __eq__(self, other):