huaweicloudsdkdns 3.1.144__py2.py3-none-any.whl → 3.1.146__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.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/METADATA +2 -2
  204. huaweicloudsdkdns-3.1.146.dist-info/RECORD +273 -0
  205. huaweicloudsdkdns-3.1.144.dist-info/RECORD +0 -192
  206. {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/LICENSE +0 -0
  207. {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/WHEEL +0 -0
  208. {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/top_level.txt +0 -0
@@ -51,17 +51,17 @@ class CreateRecordSetWithLineRequestBody:
51
51
  :type name: str
52
52
  :param description: 可选配置,对域名的描述。
53
53
  :type description: str
54
- :param type: Record Set的类型。
54
+ :param type: 记录集的类型。
55
55
  :type type: str
56
- :param status: 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
56
+ :param status: 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
57
57
  :type status: str
58
58
  :param ttl: 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
59
59
  :type ttl: int
60
60
  :param records: 解析记录的值。不同类型解析记录对应的值的规则不同。
61
61
  :type records: list[str]
62
- :param line: 解析线路ID
62
+ :param line: 解析线路ID
63
63
  :type line: str
64
- :param tags: 资源标签
64
+ :param tags: 资源标签。
65
65
  :type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
66
66
  :param weight: 解析记录的权重。
67
67
  :type weight: int
@@ -150,7 +150,7 @@ class CreateRecordSetWithLineRequestBody:
150
150
  def type(self):
151
151
  r"""Gets the type of this CreateRecordSetWithLineRequestBody.
152
152
 
153
- Record Set的类型。
153
+ 记录集的类型。
154
154
 
155
155
  :return: The type of this CreateRecordSetWithLineRequestBody.
156
156
  :rtype: str
@@ -161,7 +161,7 @@ class CreateRecordSetWithLineRequestBody:
161
161
  def type(self, type):
162
162
  r"""Sets the type of this CreateRecordSetWithLineRequestBody.
163
163
 
164
- Record Set的类型。
164
+ 记录集的类型。
165
165
 
166
166
  :param type: The type of this CreateRecordSetWithLineRequestBody.
167
167
  :type type: str
@@ -172,7 +172,7 @@ class CreateRecordSetWithLineRequestBody:
172
172
  def status(self):
173
173
  r"""Gets the status of this CreateRecordSetWithLineRequestBody.
174
174
 
175
- 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
175
+ 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
176
176
 
177
177
  :return: The status of this CreateRecordSetWithLineRequestBody.
178
178
  :rtype: str
@@ -183,7 +183,7 @@ class CreateRecordSetWithLineRequestBody:
183
183
  def status(self, status):
184
184
  r"""Sets the status of this CreateRecordSetWithLineRequestBody.
185
185
 
186
- 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
186
+ 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
187
187
 
188
188
  :param status: The status of this CreateRecordSetWithLineRequestBody.
189
189
  :type status: str
@@ -238,7 +238,7 @@ class CreateRecordSetWithLineRequestBody:
238
238
  def line(self):
239
239
  r"""Gets the line of this CreateRecordSetWithLineRequestBody.
240
240
 
241
- 解析线路ID
241
+ 解析线路ID
242
242
 
243
243
  :return: The line of this CreateRecordSetWithLineRequestBody.
244
244
  :rtype: str
@@ -249,7 +249,7 @@ class CreateRecordSetWithLineRequestBody:
249
249
  def line(self, line):
250
250
  r"""Sets the line of this CreateRecordSetWithLineRequestBody.
251
251
 
252
- 解析线路ID
252
+ 解析线路ID
253
253
 
254
254
  :param line: The line of this CreateRecordSetWithLineRequestBody.
255
255
  :type line: str
@@ -260,7 +260,7 @@ class CreateRecordSetWithLineRequestBody:
260
260
  def tags(self):
261
261
  r"""Gets the tags of this CreateRecordSetWithLineRequestBody.
262
262
 
263
- 资源标签
263
+ 资源标签。
264
264
 
265
265
  :return: The tags of this CreateRecordSetWithLineRequestBody.
266
266
  :rtype: list[:class:`huaweicloudsdkdns.v2.Tag`]
@@ -271,7 +271,7 @@ class CreateRecordSetWithLineRequestBody:
271
271
  def tags(self, tags):
272
272
  r"""Sets the tags of this CreateRecordSetWithLineRequestBody.
273
273
 
274
- 资源标签
274
+ 资源标签。
275
275
 
276
276
  :param tags: The tags of this CreateRecordSetWithLineRequestBody.
277
277
  :type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
@@ -64,15 +64,15 @@ class CreateRecordSetWithLineResponse(SdkResponse):
64
64
 
65
65
  The model defined in huaweicloud sdk
66
66
 
67
- :param id: Record Set的ID。
67
+ :param id: 记录集的ID。
68
68
  :type id: str
69
- :param name: Record Set的名称。
69
+ :param name: 记录集的名称。
70
70
  :type name: str
71
- :param description: Record Set的描述信息。
71
+ :param description: 记录集的描述信息。
72
72
  :type description: str
73
- :param zone_id: 托管该记录的zone_id
73
+ :param zone_id: 托管该记录的域名ID
74
74
  :type zone_id: str
75
- :param zone_name: 托管该记录的zone_name。
75
+ :param zone_name: 托管该记录的域名。
76
76
  :type zone_name: str
77
77
  :param type: 记录类型。 取值范围:A、AAAA、MX、CNAME、TXT、NS、SRV、CAA。
78
78
  :type type: str
@@ -80,15 +80,15 @@ class CreateRecordSetWithLineResponse(SdkResponse):
80
80
  :type ttl: int
81
81
  :param records: 域名解析后的值。
82
82
  :type records: list[str]
83
- :param created_at: 创建时间。
83
+ :param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
84
84
  :type created_at: str
85
- :param updated_at: 更新时间。
85
+ :param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
86
86
  :type updated_at: str
87
87
  :param status: 资源状态。
88
88
  :type status: str
89
- :param default: 标识是否由系统默认生成,系统默认生成的Record Set不能删除。
89
+ :param default: 标识是否由系统默认生成,系统默认生成的记录集不能删除。
90
90
  :type default: bool
91
- :param project_id: 该Record Set所属的项目ID。
91
+ :param project_id: 该记录集所属的项目ID。
92
92
  :type project_id: str
93
93
  :param links:
94
94
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
@@ -165,7 +165,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
165
165
  def id(self):
166
166
  r"""Gets the id of this CreateRecordSetWithLineResponse.
167
167
 
168
- Record Set的ID。
168
+ 记录集的ID。
169
169
 
170
170
  :return: The id of this CreateRecordSetWithLineResponse.
171
171
  :rtype: str
@@ -176,7 +176,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
176
176
  def id(self, id):
177
177
  r"""Sets the id of this CreateRecordSetWithLineResponse.
178
178
 
179
- Record Set的ID。
179
+ 记录集的ID。
180
180
 
181
181
  :param id: The id of this CreateRecordSetWithLineResponse.
182
182
  :type id: str
@@ -187,7 +187,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
187
187
  def name(self):
188
188
  r"""Gets the name of this CreateRecordSetWithLineResponse.
189
189
 
190
- Record Set的名称。
190
+ 记录集的名称。
191
191
 
192
192
  :return: The name of this CreateRecordSetWithLineResponse.
193
193
  :rtype: str
@@ -198,7 +198,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
198
198
  def name(self, name):
199
199
  r"""Sets the name of this CreateRecordSetWithLineResponse.
200
200
 
201
- Record Set的名称。
201
+ 记录集的名称。
202
202
 
203
203
  :param name: The name of this CreateRecordSetWithLineResponse.
204
204
  :type name: str
@@ -209,7 +209,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
209
209
  def description(self):
210
210
  r"""Gets the description of this CreateRecordSetWithLineResponse.
211
211
 
212
- Record Set的描述信息。
212
+ 记录集的描述信息。
213
213
 
214
214
  :return: The description of this CreateRecordSetWithLineResponse.
215
215
  :rtype: str
@@ -220,7 +220,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
220
220
  def description(self, description):
221
221
  r"""Sets the description of this CreateRecordSetWithLineResponse.
222
222
 
223
- Record Set的描述信息。
223
+ 记录集的描述信息。
224
224
 
225
225
  :param description: The description of this CreateRecordSetWithLineResponse.
226
226
  :type description: str
@@ -231,7 +231,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
231
231
  def zone_id(self):
232
232
  r"""Gets the zone_id of this CreateRecordSetWithLineResponse.
233
233
 
234
- 托管该记录的zone_id
234
+ 托管该记录的域名ID
235
235
 
236
236
  :return: The zone_id of this CreateRecordSetWithLineResponse.
237
237
  :rtype: str
@@ -242,7 +242,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
242
242
  def zone_id(self, zone_id):
243
243
  r"""Sets the zone_id of this CreateRecordSetWithLineResponse.
244
244
 
245
- 托管该记录的zone_id
245
+ 托管该记录的域名ID
246
246
 
247
247
  :param zone_id: The zone_id of this CreateRecordSetWithLineResponse.
248
248
  :type zone_id: str
@@ -253,7 +253,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
253
253
  def zone_name(self):
254
254
  r"""Gets the zone_name of this CreateRecordSetWithLineResponse.
255
255
 
256
- 托管该记录的zone_name。
256
+ 托管该记录的域名。
257
257
 
258
258
  :return: The zone_name of this CreateRecordSetWithLineResponse.
259
259
  :rtype: str
@@ -264,7 +264,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
264
264
  def zone_name(self, zone_name):
265
265
  r"""Sets the zone_name of this CreateRecordSetWithLineResponse.
266
266
 
267
- 托管该记录的zone_name。
267
+ 托管该记录的域名。
268
268
 
269
269
  :param zone_name: The zone_name of this CreateRecordSetWithLineResponse.
270
270
  :type zone_name: str
@@ -341,7 +341,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
341
341
  def created_at(self):
342
342
  r"""Gets the created_at of this CreateRecordSetWithLineResponse.
343
343
 
344
- 创建时间。
344
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
345
345
 
346
346
  :return: The created_at of this CreateRecordSetWithLineResponse.
347
347
  :rtype: str
@@ -352,7 +352,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
352
352
  def created_at(self, created_at):
353
353
  r"""Sets the created_at of this CreateRecordSetWithLineResponse.
354
354
 
355
- 创建时间。
355
+ 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
356
356
 
357
357
  :param created_at: The created_at of this CreateRecordSetWithLineResponse.
358
358
  :type created_at: str
@@ -363,7 +363,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
363
363
  def updated_at(self):
364
364
  r"""Gets the updated_at of this CreateRecordSetWithLineResponse.
365
365
 
366
- 更新时间。
366
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
367
367
 
368
368
  :return: The updated_at of this CreateRecordSetWithLineResponse.
369
369
  :rtype: str
@@ -374,7 +374,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
374
374
  def updated_at(self, updated_at):
375
375
  r"""Sets the updated_at of this CreateRecordSetWithLineResponse.
376
376
 
377
- 更新时间。
377
+ 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
378
378
 
379
379
  :param updated_at: The updated_at of this CreateRecordSetWithLineResponse.
380
380
  :type updated_at: str
@@ -407,7 +407,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
407
407
  def default(self):
408
408
  r"""Gets the default of this CreateRecordSetWithLineResponse.
409
409
 
410
- 标识是否由系统默认生成,系统默认生成的Record Set不能删除。
410
+ 标识是否由系统默认生成,系统默认生成的记录集不能删除。
411
411
 
412
412
  :return: The default of this CreateRecordSetWithLineResponse.
413
413
  :rtype: bool
@@ -418,7 +418,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
418
418
  def default(self, default):
419
419
  r"""Sets the default of this CreateRecordSetWithLineResponse.
420
420
 
421
- 标识是否由系统默认生成,系统默认生成的Record Set不能删除。
421
+ 标识是否由系统默认生成,系统默认生成的记录集不能删除。
422
422
 
423
423
  :param default: The default of this CreateRecordSetWithLineResponse.
424
424
  :type default: bool
@@ -429,7 +429,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
429
429
  def project_id(self):
430
430
  r"""Gets the project_id of this CreateRecordSetWithLineResponse.
431
431
 
432
- 该Record Set所属的项目ID。
432
+ 该记录集所属的项目ID。
433
433
 
434
434
  :return: The project_id of this CreateRecordSetWithLineResponse.
435
435
  :rtype: str
@@ -440,7 +440,7 @@ class CreateRecordSetWithLineResponse(SdkResponse):
440
440
  def project_id(self, project_id):
441
441
  r"""Sets the project_id of this CreateRecordSetWithLineResponse.
442
442
 
443
- 该Record Set所属的项目ID。
443
+ 该记录集所属的项目ID。
444
444
 
445
445
  :param project_id: The project_id of this CreateRecordSetWithLineResponse.
446
446
  :type project_id: str
@@ -0,0 +1,111 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CreateResolverRuleRequest:
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
+ 'body': 'CreateResolverRuleRequestBody'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'body': 'body'
25
+ }
26
+
27
+ def __init__(self, body=None):
28
+ r"""CreateResolverRuleRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param body: Body of the CreateResolverRuleRequest
33
+ :type body: :class:`huaweicloudsdkdns.v2.CreateResolverRuleRequestBody`
34
+ """
35
+
36
+
37
+
38
+ self._body = None
39
+ self.discriminator = None
40
+
41
+ if body is not None:
42
+ self.body = body
43
+
44
+ @property
45
+ def body(self):
46
+ r"""Gets the body of this CreateResolverRuleRequest.
47
+
48
+ :return: The body of this CreateResolverRuleRequest.
49
+ :rtype: :class:`huaweicloudsdkdns.v2.CreateResolverRuleRequestBody`
50
+ """
51
+ return self._body
52
+
53
+ @body.setter
54
+ def body(self, body):
55
+ r"""Sets the body of this CreateResolverRuleRequest.
56
+
57
+ :param body: The body of this CreateResolverRuleRequest.
58
+ :type body: :class:`huaweicloudsdkdns.v2.CreateResolverRuleRequestBody`
59
+ """
60
+ self._body = body
61
+
62
+ def to_dict(self):
63
+ """Returns the model properties as a dict"""
64
+ result = {}
65
+
66
+ for attr, _ in six.iteritems(self.openapi_types):
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ if attr in self.sensitive_list:
83
+ result[attr] = "****"
84
+ else:
85
+ result[attr] = value
86
+
87
+ return result
88
+
89
+ def to_str(self):
90
+ """Returns the string representation of the model"""
91
+ import simplejson as json
92
+ if six.PY2:
93
+ import sys
94
+ reload(sys)
95
+ sys.setdefaultencoding("utf-8")
96
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
97
+
98
+ def __repr__(self):
99
+ """For `print`"""
100
+ return self.to_str()
101
+
102
+ def __eq__(self, other):
103
+ """Returns true if both objects are equal"""
104
+ if not isinstance(other, CreateResolverRuleRequest):
105
+ return False
106
+
107
+ return self.__dict__ == other.__dict__
108
+
109
+ def __ne__(self, other):
110
+ """Returns true if both objects are not equal"""
111
+ return not self == other
@@ -0,0 +1,198 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CreateResolverRuleRequestBody:
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
+ 'name': 'str',
21
+ 'domain_name': 'str',
22
+ 'endpoint_id': 'str',
23
+ 'ipaddresses': 'list[IpInfo]'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'name': 'name',
28
+ 'domain_name': 'domain_name',
29
+ 'endpoint_id': 'endpoint_id',
30
+ 'ipaddresses': 'ipaddresses'
31
+ }
32
+
33
+ def __init__(self, name=None, domain_name=None, endpoint_id=None, ipaddresses=None):
34
+ r"""CreateResolverRuleRequestBody
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param name: 规则名称。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
39
+ :type name: str
40
+ :param domain_name: 域名。
41
+ :type domain_name: str
42
+ :param endpoint_id: 当前规则所属的终端节点ID。
43
+ :type endpoint_id: str
44
+ :param ipaddresses: 规则的目标IP地址。
45
+ :type ipaddresses: list[:class:`huaweicloudsdkdns.v2.IpInfo`]
46
+ """
47
+
48
+
49
+
50
+ self._name = None
51
+ self._domain_name = None
52
+ self._endpoint_id = None
53
+ self._ipaddresses = None
54
+ self.discriminator = None
55
+
56
+ self.name = name
57
+ self.domain_name = domain_name
58
+ self.endpoint_id = endpoint_id
59
+ self.ipaddresses = ipaddresses
60
+
61
+ @property
62
+ def name(self):
63
+ r"""Gets the name of this CreateResolverRuleRequestBody.
64
+
65
+ 规则名称。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
66
+
67
+ :return: The name of this CreateResolverRuleRequestBody.
68
+ :rtype: str
69
+ """
70
+ return self._name
71
+
72
+ @name.setter
73
+ def name(self, name):
74
+ r"""Sets the name of this CreateResolverRuleRequestBody.
75
+
76
+ 规则名称。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
77
+
78
+ :param name: The name of this CreateResolverRuleRequestBody.
79
+ :type name: str
80
+ """
81
+ self._name = name
82
+
83
+ @property
84
+ def domain_name(self):
85
+ r"""Gets the domain_name of this CreateResolverRuleRequestBody.
86
+
87
+ 域名。
88
+
89
+ :return: The domain_name of this CreateResolverRuleRequestBody.
90
+ :rtype: str
91
+ """
92
+ return self._domain_name
93
+
94
+ @domain_name.setter
95
+ def domain_name(self, domain_name):
96
+ r"""Sets the domain_name of this CreateResolverRuleRequestBody.
97
+
98
+ 域名。
99
+
100
+ :param domain_name: The domain_name of this CreateResolverRuleRequestBody.
101
+ :type domain_name: str
102
+ """
103
+ self._domain_name = domain_name
104
+
105
+ @property
106
+ def endpoint_id(self):
107
+ r"""Gets the endpoint_id of this CreateResolverRuleRequestBody.
108
+
109
+ 当前规则所属的终端节点ID。
110
+
111
+ :return: The endpoint_id of this CreateResolverRuleRequestBody.
112
+ :rtype: str
113
+ """
114
+ return self._endpoint_id
115
+
116
+ @endpoint_id.setter
117
+ def endpoint_id(self, endpoint_id):
118
+ r"""Sets the endpoint_id of this CreateResolverRuleRequestBody.
119
+
120
+ 当前规则所属的终端节点ID。
121
+
122
+ :param endpoint_id: The endpoint_id of this CreateResolverRuleRequestBody.
123
+ :type endpoint_id: str
124
+ """
125
+ self._endpoint_id = endpoint_id
126
+
127
+ @property
128
+ def ipaddresses(self):
129
+ r"""Gets the ipaddresses of this CreateResolverRuleRequestBody.
130
+
131
+ 规则的目标IP地址。
132
+
133
+ :return: The ipaddresses of this CreateResolverRuleRequestBody.
134
+ :rtype: list[:class:`huaweicloudsdkdns.v2.IpInfo`]
135
+ """
136
+ return self._ipaddresses
137
+
138
+ @ipaddresses.setter
139
+ def ipaddresses(self, ipaddresses):
140
+ r"""Sets the ipaddresses of this CreateResolverRuleRequestBody.
141
+
142
+ 规则的目标IP地址。
143
+
144
+ :param ipaddresses: The ipaddresses of this CreateResolverRuleRequestBody.
145
+ :type ipaddresses: list[:class:`huaweicloudsdkdns.v2.IpInfo`]
146
+ """
147
+ self._ipaddresses = ipaddresses
148
+
149
+ def to_dict(self):
150
+ """Returns the model properties as a dict"""
151
+ result = {}
152
+
153
+ for attr, _ in six.iteritems(self.openapi_types):
154
+ value = getattr(self, attr)
155
+ if isinstance(value, list):
156
+ result[attr] = list(map(
157
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
158
+ value
159
+ ))
160
+ elif hasattr(value, "to_dict"):
161
+ result[attr] = value.to_dict()
162
+ elif isinstance(value, dict):
163
+ result[attr] = dict(map(
164
+ lambda item: (item[0], item[1].to_dict())
165
+ if hasattr(item[1], "to_dict") else item,
166
+ value.items()
167
+ ))
168
+ else:
169
+ if attr in self.sensitive_list:
170
+ result[attr] = "****"
171
+ else:
172
+ result[attr] = value
173
+
174
+ return result
175
+
176
+ def to_str(self):
177
+ """Returns the string representation of the model"""
178
+ import simplejson as json
179
+ if six.PY2:
180
+ import sys
181
+ reload(sys)
182
+ sys.setdefaultencoding("utf-8")
183
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
184
+
185
+ def __repr__(self):
186
+ """For `print`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, CreateResolverRuleRequestBody):
192
+ return False
193
+
194
+ return self.__dict__ == other.__dict__
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ return not self == other