huaweicloudsdkcae 3.1.179__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 (259) hide show
  1. huaweicloudsdkcae/__init__.py +0 -0
  2. huaweicloudsdkcae/v1/__init__.py +256 -0
  3. huaweicloudsdkcae/v1/cae_async_client.py +3941 -0
  4. huaweicloudsdkcae/v1/cae_client.py +3938 -0
  5. huaweicloudsdkcae/v1/model/__init__.py +253 -0
  6. huaweicloudsdkcae/v1/model/access.py +137 -0
  7. huaweicloudsdkcae/v1/model/access_configuration_data_items.py +361 -0
  8. huaweicloudsdkcae/v1/model/access_configuration_http_path.py +166 -0
  9. huaweicloudsdkcae/v1/model/access_configuration_metadata.py +108 -0
  10. huaweicloudsdkcae/v1/model/access_configuration_port.py +365 -0
  11. huaweicloudsdkcae/v1/model/access_control.py +137 -0
  12. huaweicloudsdkcae/v1/model/action_kind_obj.py +80 -0
  13. huaweicloudsdkcae/v1/model/action_on_component_build.py +133 -0
  14. huaweicloudsdkcae/v1/model/action_on_component_source.py +191 -0
  15. huaweicloudsdkcae/v1/model/action_on_component_spec.py +212 -0
  16. huaweicloudsdkcae/v1/model/agency.py +151 -0
  17. huaweicloudsdkcae/v1/model/agency_item.py +108 -0
  18. huaweicloudsdkcae/v1/model/agency_kind_obj.py +80 -0
  19. huaweicloudsdkcae/v1/model/agency_metadata.py +132 -0
  20. huaweicloudsdkcae/v1/model/api_version_obj.py +80 -0
  21. huaweicloudsdkcae/v1/model/app_info.py +137 -0
  22. huaweicloudsdkcae/v1/model/application_item.py +195 -0
  23. huaweicloudsdkcae/v1/model/application_kind_obj.py +80 -0
  24. huaweicloudsdkcae/v1/model/application_metadata.py +195 -0
  25. huaweicloudsdkcae/v1/model/archive.py +108 -0
  26. huaweicloudsdkcae/v1/model/build.py +131 -0
  27. huaweicloudsdkcae/v1/model/cert_item.py +129 -0
  28. huaweicloudsdkcae/v1/model/cert_req.py +175 -0
  29. huaweicloudsdkcae/v1/model/certificate_kind_obj.py +80 -0
  30. huaweicloudsdkcae/v1/model/cloud_storage_log_path_info.py +137 -0
  31. huaweicloudsdkcae/v1/model/component_configuration_kind_obj.py +80 -0
  32. huaweicloudsdkcae/v1/model/component_execution_result.py +195 -0
  33. huaweicloudsdkcae/v1/model/component_info.py +137 -0
  34. huaweicloudsdkcae/v1/model/component_item.py +249 -0
  35. huaweicloudsdkcae/v1/model/component_kind_obj.py +80 -0
  36. huaweicloudsdkcae/v1/model/component_snapshot_context.py +717 -0
  37. huaweicloudsdkcae/v1/model/component_snapshot_item.py +220 -0
  38. huaweicloudsdkcae/v1/model/component_snapshot_kind_obj.py +80 -0
  39. huaweicloudsdkcae/v1/model/component_spec.py +473 -0
  40. huaweicloudsdkcae/v1/model/configuration.py +249 -0
  41. huaweicloudsdkcae/v1/model/configuration_data.py +129 -0
  42. huaweicloudsdkcae/v1/model/configuration_data_metadata.py +108 -0
  43. huaweicloudsdkcae/v1/model/configuration_item.py +131 -0
  44. huaweicloudsdkcae/v1/model/configuration_request_data_spec.py +896 -0
  45. huaweicloudsdkcae/v1/model/configuration_request_data_spec_post_start.py +104 -0
  46. huaweicloudsdkcae/v1/model/configuration_request_data_spec_pre_stop.py +104 -0
  47. huaweicloudsdkcae/v1/model/configuration_response_data_spec.py +1186 -0
  48. huaweicloudsdkcae/v1/model/configuration_response_data_spec_post_start.py +104 -0
  49. huaweicloudsdkcae/v1/model/configuration_response_data_spec_pre_stop.py +104 -0
  50. huaweicloudsdkcae/v1/model/create_agency_request.py +104 -0
  51. huaweicloudsdkcae/v1/model/create_agency_response.py +81 -0
  52. huaweicloudsdkcae/v1/model/create_application_request.py +161 -0
  53. huaweicloudsdkcae/v1/model/create_application_request_body.py +151 -0
  54. huaweicloudsdkcae/v1/model/create_application_request_body_metadata.py +107 -0
  55. huaweicloudsdkcae/v1/model/create_application_response.py +158 -0
  56. huaweicloudsdkcae/v1/model/create_certificate_request.py +161 -0
  57. huaweicloudsdkcae/v1/model/create_certificate_response.py +162 -0
  58. huaweicloudsdkcae/v1/model/create_component_configuration_request.py +217 -0
  59. huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py +155 -0
  60. huaweicloudsdkcae/v1/model/create_component_configuration_response.py +81 -0
  61. huaweicloudsdkcae/v1/model/create_component_request.py +189 -0
  62. huaweicloudsdkcae/v1/model/create_component_request_body.py +175 -0
  63. huaweicloudsdkcae/v1/model/create_component_response.py +183 -0
  64. huaweicloudsdkcae/v1/model/create_component_spec.py +299 -0
  65. huaweicloudsdkcae/v1/model/create_component_with_configuration_request.py +189 -0
  66. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py +206 -0
  67. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_metadata.py +135 -0
  68. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_spec.py +237 -0
  69. huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py +237 -0
  70. huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py +108 -0
  71. huaweicloudsdkcae/v1/model/create_domain_req.py +151 -0
  72. huaweicloudsdkcae/v1/model/create_domain_request.py +161 -0
  73. huaweicloudsdkcae/v1/model/create_domain_response.py +166 -0
  74. huaweicloudsdkcae/v1/model/create_environment_request.py +133 -0
  75. huaweicloudsdkcae/v1/model/create_environment_request_body.py +151 -0
  76. huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +136 -0
  77. huaweicloudsdkcae/v1/model/create_environment_response.py +112 -0
  78. huaweicloudsdkcae/v1/model/create_meta_cert.py +107 -0
  79. huaweicloudsdkcae/v1/model/create_meta_domain.py +107 -0
  80. huaweicloudsdkcae/v1/model/create_monitor_system_request.py +161 -0
  81. huaweicloudsdkcae/v1/model/create_monitor_system_response.py +81 -0
  82. huaweicloudsdkcae/v1/model/create_notice_rule_item.py +237 -0
  83. huaweicloudsdkcae/v1/model/create_notice_rule_req.py +159 -0
  84. huaweicloudsdkcae/v1/model/create_notice_rule_request.py +133 -0
  85. huaweicloudsdkcae/v1/model/create_notice_rule_resp_item.py +270 -0
  86. huaweicloudsdkcae/v1/model/create_notice_rule_response.py +166 -0
  87. huaweicloudsdkcae/v1/model/create_or_update_secret_detail.py +135 -0
  88. huaweicloudsdkcae/v1/model/create_or_update_secret_req.py +159 -0
  89. huaweicloudsdkcae/v1/model/create_secret_request.py +161 -0
  90. huaweicloudsdkcae/v1/model/create_secret_response.py +166 -0
  91. huaweicloudsdkcae/v1/model/create_spec_cert.py +135 -0
  92. huaweicloudsdkcae/v1/model/create_timer_rule_req.py +154 -0
  93. huaweicloudsdkcae/v1/model/create_timer_rule_request.py +161 -0
  94. huaweicloudsdkcae/v1/model/create_timer_rule_response.py +158 -0
  95. huaweicloudsdkcae/v1/model/create_volume_req.py +151 -0
  96. huaweicloudsdkcae/v1/model/create_volume_request.py +161 -0
  97. huaweicloudsdkcae/v1/model/create_volume_response.py +81 -0
  98. huaweicloudsdkcae/v1/model/create_vpc_egress_request.py +161 -0
  99. huaweicloudsdkcae/v1/model/create_vpc_egress_response.py +158 -0
  100. huaweicloudsdkcae/v1/model/cron_trigger_scheduler.py +137 -0
  101. huaweicloudsdkcae/v1/model/delete_application_request.py +164 -0
  102. huaweicloudsdkcae/v1/model/delete_application_response.py +81 -0
  103. huaweicloudsdkcae/v1/model/delete_certificate_request.py +164 -0
  104. huaweicloudsdkcae/v1/model/delete_certificate_response.py +81 -0
  105. huaweicloudsdkcae/v1/model/delete_component_configuration_request.py +192 -0
  106. huaweicloudsdkcae/v1/model/delete_component_configuration_response.py +81 -0
  107. huaweicloudsdkcae/v1/model/delete_component_request.py +192 -0
  108. huaweicloudsdkcae/v1/model/delete_component_response.py +112 -0
  109. huaweicloudsdkcae/v1/model/delete_domain_request.py +164 -0
  110. huaweicloudsdkcae/v1/model/delete_domain_response.py +81 -0
  111. huaweicloudsdkcae/v1/model/delete_environment_request.py +136 -0
  112. huaweicloudsdkcae/v1/model/delete_environment_response.py +112 -0
  113. huaweicloudsdkcae/v1/model/delete_notice_rule_request.py +132 -0
  114. huaweicloudsdkcae/v1/model/delete_notice_rule_response.py +108 -0
  115. huaweicloudsdkcae/v1/model/delete_secret_request.py +136 -0
  116. huaweicloudsdkcae/v1/model/delete_secret_response.py +81 -0
  117. huaweicloudsdkcae/v1/model/delete_timer_rule_request.py +164 -0
  118. huaweicloudsdkcae/v1/model/delete_timer_rule_response.py +81 -0
  119. huaweicloudsdkcae/v1/model/delete_volume_request.py +164 -0
  120. huaweicloudsdkcae/v1/model/delete_volume_response.py +162 -0
  121. huaweicloudsdkcae/v1/model/delete_vpc_egress_request.py +164 -0
  122. huaweicloudsdkcae/v1/model/delete_vpc_egress_response.py +81 -0
  123. huaweicloudsdkcae/v1/model/domain_item.py +104 -0
  124. huaweicloudsdkcae/v1/model/domain_kind_obj.py +80 -0
  125. huaweicloudsdkcae/v1/model/egress_cidr.py +164 -0
  126. huaweicloudsdkcae/v1/model/eip_kind_obj.py +80 -0
  127. huaweicloudsdkcae/v1/model/environment_item.py +282 -0
  128. huaweicloudsdkcae/v1/model/environment_kind_obj.py +80 -0
  129. huaweicloudsdkcae/v1/model/execute_action_request.py +217 -0
  130. huaweicloudsdkcae/v1/model/execute_action_request_body.py +177 -0
  131. huaweicloudsdkcae/v1/model/execute_action_request_body_metadata.py +136 -0
  132. huaweicloudsdkcae/v1/model/execute_action_response.py +112 -0
  133. huaweicloudsdkcae/v1/model/execution_details.py +137 -0
  134. huaweicloudsdkcae/v1/model/health_check_configuration_exec.py +108 -0
  135. huaweicloudsdkcae/v1/model/health_check_configuration_http_get.py +166 -0
  136. huaweicloudsdkcae/v1/model/health_check_configuration_liveness_probe.py +299 -0
  137. huaweicloudsdkcae/v1/model/health_check_configuration_readiness_probe.py +299 -0
  138. huaweicloudsdkcae/v1/model/health_check_configuration_startup_probe.py +299 -0
  139. huaweicloudsdkcae/v1/model/health_check_configuration_tcp_socket.py +108 -0
  140. huaweicloudsdkcae/v1/model/instance.py +166 -0
  141. huaweicloudsdkcae/v1/model/job_kind_obj.py +80 -0
  142. huaweicloudsdkcae/v1/model/job_spec.py +166 -0
  143. huaweicloudsdkcae/v1/model/life_cycle_configuration_exec.py +108 -0
  144. huaweicloudsdkcae/v1/model/list_agencies_request.py +77 -0
  145. huaweicloudsdkcae/v1/model/list_agencies_response.py +162 -0
  146. huaweicloudsdkcae/v1/model/list_applications_request.py +136 -0
  147. huaweicloudsdkcae/v1/model/list_applications_response.py +162 -0
  148. huaweicloudsdkcae/v1/model/list_certificates_request.py +136 -0
  149. huaweicloudsdkcae/v1/model/list_certificates_response.py +162 -0
  150. huaweicloudsdkcae/v1/model/list_component_configurations_request.py +221 -0
  151. huaweicloudsdkcae/v1/model/list_component_configurations_response.py +170 -0
  152. huaweicloudsdkcae/v1/model/list_component_configurations_response_data.py +129 -0
  153. huaweicloudsdkcae/v1/model/list_component_instances_request.py +192 -0
  154. huaweicloudsdkcae/v1/model/list_component_instances_response.py +162 -0
  155. huaweicloudsdkcae/v1/model/list_component_snapshots_request.py +192 -0
  156. huaweicloudsdkcae/v1/model/list_component_snapshots_response.py +162 -0
  157. huaweicloudsdkcae/v1/model/list_components_request.py +280 -0
  158. huaweicloudsdkcae/v1/model/list_components_response.py +191 -0
  159. huaweicloudsdkcae/v1/model/list_domains_request.py +136 -0
  160. huaweicloudsdkcae/v1/model/list_domains_response.py +166 -0
  161. huaweicloudsdkcae/v1/model/list_effective_components_request.py +136 -0
  162. huaweicloudsdkcae/v1/model/list_effective_components_response.py +170 -0
  163. huaweicloudsdkcae/v1/model/list_eip_response_body_spec.py +129 -0
  164. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_egress.py +166 -0
  165. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_ingress.py +166 -0
  166. huaweicloudsdkcae/v1/model/list_eips_request.py +136 -0
  167. huaweicloudsdkcae/v1/model/list_eips_response.py +158 -0
  168. huaweicloudsdkcae/v1/model/list_environments_request.py +108 -0
  169. huaweicloudsdkcae/v1/model/list_environments_response.py +162 -0
  170. huaweicloudsdkcae/v1/model/list_notice_rules_request.py +108 -0
  171. huaweicloudsdkcae/v1/model/list_notice_rules_response.py +170 -0
  172. huaweicloudsdkcae/v1/model/list_secrets_request.py +108 -0
  173. huaweicloudsdkcae/v1/model/list_secrets_response.py +170 -0
  174. huaweicloudsdkcae/v1/model/list_timer_rules_request.py +136 -0
  175. huaweicloudsdkcae/v1/model/list_timer_rules_response.py +158 -0
  176. huaweicloudsdkcae/v1/model/list_volumes_request.py +164 -0
  177. huaweicloudsdkcae/v1/model/list_volumes_response.py +162 -0
  178. huaweicloudsdkcae/v1/model/list_vpc_egress_request.py +136 -0
  179. huaweicloudsdkcae/v1/model/list_vpc_egress_response.py +158 -0
  180. huaweicloudsdkcae/v1/model/meta_cert.py +137 -0
  181. huaweicloudsdkcae/v1/model/meta_domain.py +166 -0
  182. huaweicloudsdkcae/v1/model/metadata_response.py +224 -0
  183. huaweicloudsdkcae/v1/model/monitor_system_kind_obj.py +80 -0
  184. huaweicloudsdkcae/v1/model/monitor_system_request_body.py +154 -0
  185. huaweicloudsdkcae/v1/model/monitor_system_request_body_spec.py +306 -0
  186. huaweicloudsdkcae/v1/model/mount_component.py +253 -0
  187. huaweicloudsdkcae/v1/model/notice_rule_notification.py +164 -0
  188. huaweicloudsdkcae/v1/model/notice_rule_scope.py +194 -0
  189. huaweicloudsdkcae/v1/model/repo.py +166 -0
  190. huaweicloudsdkcae/v1/model/resource_limit.py +135 -0
  191. huaweicloudsdkcae/v1/model/resource_limit_for_upgrade.py +137 -0
  192. huaweicloudsdkcae/v1/model/resources_credential.py +137 -0
  193. huaweicloudsdkcae/v1/model/retry_job_request.py +164 -0
  194. huaweicloudsdkcae/v1/model/retry_job_response.py +81 -0
  195. huaweicloudsdkcae/v1/model/scale_configuration_data_advanced.py +224 -0
  196. huaweicloudsdkcae/v1/model/scale_configuration_data_trigger.py +133 -0
  197. huaweicloudsdkcae/v1/model/scaling_trigger_meta.py +195 -0
  198. huaweicloudsdkcae/v1/model/secret_detail.py +276 -0
  199. huaweicloudsdkcae/v1/model/show_application_request.py +164 -0
  200. huaweicloudsdkcae/v1/model/show_application_response.py +158 -0
  201. huaweicloudsdkcae/v1/model/show_component_request.py +192 -0
  202. huaweicloudsdkcae/v1/model/show_component_response.py +183 -0
  203. huaweicloudsdkcae/v1/model/show_execution_result_request.py +164 -0
  204. huaweicloudsdkcae/v1/model/show_execution_result_response.py +158 -0
  205. huaweicloudsdkcae/v1/model/show_job_request.py +164 -0
  206. huaweicloudsdkcae/v1/model/show_job_response.py +158 -0
  207. huaweicloudsdkcae/v1/model/show_monitor_system_request.py +136 -0
  208. huaweicloudsdkcae/v1/model/show_monitor_system_response.py +158 -0
  209. huaweicloudsdkcae/v1/model/show_monitor_system_response_body_spec.py +427 -0
  210. huaweicloudsdkcae/v1/model/show_notice_rule_request.py +132 -0
  211. huaweicloudsdkcae/v1/model/show_notice_rule_response.py +166 -0
  212. huaweicloudsdkcae/v1/model/source.py +189 -0
  213. huaweicloudsdkcae/v1/model/spec_cert.py +166 -0
  214. huaweicloudsdkcae/v1/model/task.py +253 -0
  215. huaweicloudsdkcae/v1/model/time_rule_kind_obj.py +80 -0
  216. huaweicloudsdkcae/v1/model/timer_rule_details.py +427 -0
  217. huaweicloudsdkcae/v1/model/trigger_policy.py +194 -0
  218. huaweicloudsdkcae/v1/model/update_cert_req.py +151 -0
  219. huaweicloudsdkcae/v1/model/update_certificate_request.py +189 -0
  220. huaweicloudsdkcae/v1/model/update_certificate_response.py +81 -0
  221. huaweicloudsdkcae/v1/model/update_component_request.py +217 -0
  222. huaweicloudsdkcae/v1/model/update_component_request_body.py +175 -0
  223. huaweicloudsdkcae/v1/model/update_component_request_metadata.py +136 -0
  224. huaweicloudsdkcae/v1/model/update_component_request_spec.py +211 -0
  225. huaweicloudsdkcae/v1/model/update_component_response.py +81 -0
  226. huaweicloudsdkcae/v1/model/update_eip_request.py +161 -0
  227. huaweicloudsdkcae/v1/model/update_eip_request_body.py +154 -0
  228. huaweicloudsdkcae/v1/model/update_eip_request_body_spec.py +129 -0
  229. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_egress.py +137 -0
  230. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_ingress.py +137 -0
  231. huaweicloudsdkcae/v1/model/update_eip_response.py +81 -0
  232. huaweicloudsdkcae/v1/model/update_monitor_system_request.py +189 -0
  233. huaweicloudsdkcae/v1/model/update_monitor_system_response.py +81 -0
  234. huaweicloudsdkcae/v1/model/update_notice_rule_item.py +185 -0
  235. huaweicloudsdkcae/v1/model/update_notice_rule_req.py +159 -0
  236. huaweicloudsdkcae/v1/model/update_notice_rule_request.py +157 -0
  237. huaweicloudsdkcae/v1/model/update_notice_rule_response.py +166 -0
  238. huaweicloudsdkcae/v1/model/update_secret_request.py +161 -0
  239. huaweicloudsdkcae/v1/model/update_secret_response.py +166 -0
  240. huaweicloudsdkcae/v1/model/update_spec_cert.py +135 -0
  241. huaweicloudsdkcae/v1/model/update_timer_rule_details.py +305 -0
  242. huaweicloudsdkcae/v1/model/update_timer_rule_req.py +151 -0
  243. huaweicloudsdkcae/v1/model/update_timer_rule_request.py +189 -0
  244. huaweicloudsdkcae/v1/model/update_timer_rule_response.py +81 -0
  245. huaweicloudsdkcae/v1/model/volume.py +282 -0
  246. huaweicloudsdkcae/v1/model/volume_configuration_data_volume.py +249 -0
  247. huaweicloudsdkcae/v1/model/volume_configuration_mount_info.py +166 -0
  248. huaweicloudsdkcae/v1/model/volume_kind_obj.py +80 -0
  249. huaweicloudsdkcae/v1/model/volume_spec.py +192 -0
  250. huaweicloudsdkcae/v1/model/vpc_egress_kind_obj.py +80 -0
  251. huaweicloudsdkcae/v1/model/vpc_egress_request_body.py +154 -0
  252. huaweicloudsdkcae/v1/model/vpc_egress_request_body_spec.py +107 -0
  253. huaweicloudsdkcae/v1/model/vpc_egress_response_body_spec.py +166 -0
  254. huaweicloudsdkcae/v1/region/__init__.py +0 -0
  255. huaweicloudsdkcae/v1/region/cae_region.py +60 -0
  256. huaweicloudsdkcae-3.1.179.dist-info/METADATA +25 -0
  257. huaweicloudsdkcae-3.1.179.dist-info/RECORD +259 -0
  258. huaweicloudsdkcae-3.1.179.dist-info/WHEEL +4 -0
  259. huaweicloudsdkcae-3.1.179.dist-info/licenses/LICENSE +13 -0
@@ -0,0 +1,1186 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ConfigurationResponseDataSpec:
7
+
8
+ """
9
+ Attributes:
10
+ openapi_types (dict): The key is attribute name
11
+ and the value is attribute type.
12
+ attribute_map (dict): The key is attribute name
13
+ and the value is json key in definition.
14
+ """
15
+ sensitive_list = []
16
+
17
+ openapi_types = {
18
+ 'rds_id': 'str',
19
+ 'rds_db_name': 'str',
20
+ 'rds_address': 'str',
21
+ 'rds_username': 'str',
22
+ 'rds_password': 'str',
23
+ 'rds_port': 'str',
24
+ 'config_center_addr': 'str',
25
+ 'service_center_addr': 'str',
26
+ 'cse_id': 'str',
27
+ 'envs': 'dict(str, str)',
28
+ 'ip': 'str',
29
+ 'items': 'list[AccessConfigurationDataItems]',
30
+ 'scale_strategy': 'str',
31
+ 'max_replica_count': 'int',
32
+ 'min_replica_count': 'int',
33
+ 'advanced': 'ScaleConfigurationDataAdvanced',
34
+ 'triggers': 'list[ScaleConfigurationDataTrigger]',
35
+ 'volumes': 'list[VolumeConfigurationDataVolume]',
36
+ 'liveness_probe': 'HealthCheckConfigurationLivenessProbe',
37
+ 'startup_probe': 'HealthCheckConfigurationStartupProbe',
38
+ 'readiness_probe': 'HealthCheckConfigurationReadinessProbe',
39
+ 'post_start': 'ConfigurationResponseDataSpecPostStart',
40
+ 'pre_stop': 'ConfigurationResponseDataSpecPreStop',
41
+ 'log_paths': 'list[str]',
42
+ 'cloud_storage_log_paths': 'list[CloudStorageLogPathInfo]',
43
+ 'instrumentation': 'str',
44
+ 'apm_application': 'str',
45
+ 'type': 'str',
46
+ 'app_name': 'str',
47
+ 'instance_name': 'str',
48
+ 'env_name': 'str',
49
+ 'image_pull_policy': 'str',
50
+ 'version': 'str',
51
+ 'access_key': 'str',
52
+ 'access_value': 'str',
53
+ 'business': 'str',
54
+ 'path': 'str',
55
+ 'port': 'int',
56
+ 'metrics': 'list[str]'
57
+ }
58
+
59
+ attribute_map = {
60
+ 'rds_id': 'rds_id',
61
+ 'rds_db_name': 'rds_db_name',
62
+ 'rds_address': 'rds_address',
63
+ 'rds_username': 'rds_username',
64
+ 'rds_password': 'rds_password',
65
+ 'rds_port': 'rds_port',
66
+ 'config_center_addr': 'config_center_addr',
67
+ 'service_center_addr': 'service_center_addr',
68
+ 'cse_id': 'cse_id',
69
+ 'envs': 'envs',
70
+ 'ip': 'ip',
71
+ 'items': 'items',
72
+ 'scale_strategy': 'scale_strategy',
73
+ 'max_replica_count': 'max_replica_count',
74
+ 'min_replica_count': 'min_replica_count',
75
+ 'advanced': 'advanced',
76
+ 'triggers': 'triggers',
77
+ 'volumes': 'volumes',
78
+ 'liveness_probe': 'livenessProbe',
79
+ 'startup_probe': 'startupProbe',
80
+ 'readiness_probe': 'readinessProbe',
81
+ 'post_start': 'postStart',
82
+ 'pre_stop': 'preStop',
83
+ 'log_paths': 'log_paths',
84
+ 'cloud_storage_log_paths': 'cloud_storage_log_paths',
85
+ 'instrumentation': 'instrumentation',
86
+ 'apm_application': 'apm_application',
87
+ 'type': 'type',
88
+ 'app_name': 'app_name',
89
+ 'instance_name': 'instance_name',
90
+ 'env_name': 'env_name',
91
+ 'image_pull_policy': 'image_pull_policy',
92
+ 'version': 'version',
93
+ 'access_key': 'access_key',
94
+ 'access_value': 'access_value',
95
+ 'business': 'business',
96
+ 'path': 'path',
97
+ 'port': 'port',
98
+ 'metrics': 'metrics'
99
+ }
100
+
101
+ def __init__(self, rds_id=None, rds_db_name=None, rds_address=None, rds_username=None, rds_password=None, rds_port=None, config_center_addr=None, service_center_addr=None, cse_id=None, envs=None, ip=None, items=None, scale_strategy=None, max_replica_count=None, min_replica_count=None, advanced=None, triggers=None, volumes=None, liveness_probe=None, startup_probe=None, readiness_probe=None, post_start=None, pre_stop=None, log_paths=None, cloud_storage_log_paths=None, instrumentation=None, apm_application=None, type=None, app_name=None, instance_name=None, env_name=None, image_pull_policy=None, version=None, access_key=None, access_value=None, business=None, path=None, port=None, metrics=None):
102
+ r"""ConfigurationResponseDataSpec
103
+
104
+ The model defined in huaweicloud sdk
105
+
106
+ :param rds_id: RDS数据库实例ID。 Configuration.type为\"rds\"时,返回此参数。
107
+ :type rds_id: str
108
+ :param rds_db_name: RDS数据库名称。 Configuration.type为\"rds\"时,返回此参数。
109
+ :type rds_db_name: str
110
+ :param rds_address: RDS数据库地址。 Configuration.type为\"rds\"时,返回此参数。
111
+ :type rds_address: str
112
+ :param rds_username: RDS数据库用户名称。 Configuration.type为\"rds\"时,返回此参数。
113
+ :type rds_username: str
114
+ :param rds_password: RDS数据库密码。 Configuration.type为\"rds\"时,返回此参数。
115
+ :type rds_password: str
116
+ :param rds_port: RDS数据库端口。 Configuration.type为\"rds\"时,返回此参数。
117
+ :type rds_port: str
118
+ :param config_center_addr: CSE配置中心地址。 Configuration.type为\"cse\"时,返回此参数。
119
+ :type config_center_addr: str
120
+ :param service_center_addr: CSE服务注册发现地址。 Configuration.type为\"cse\"时,返回此参数。
121
+ :type service_center_addr: str
122
+ :param cse_id: CSE引擎ID。 Configuration.type为\"cse\"时,返回此参数。
123
+ :type cse_id: str
124
+ :param envs: 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
125
+ :type envs: dict(str, str)
126
+ :param ip: 弹性公网IP,响应体参数,未配置域名时返回此参数。
127
+ :type ip: str
128
+ :param items: 访问方式配置列表。 Configuration.type为\"access\"时,返回此参数。
129
+ :type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
130
+ :param scale_strategy: 伸缩策略配置策略类型。 Configuration.type为\"scaling\"时,返回此参数。
131
+ :type scale_strategy: str
132
+ :param max_replica_count: 伸缩策略配置最大伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
133
+ :type max_replica_count: int
134
+ :param min_replica_count: 伸缩策略配置最小伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
135
+ :type min_replica_count: int
136
+ :param advanced:
137
+ :type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
138
+ :param triggers: 伸缩策略配置触发器列表。 Configuration.type为\"scaling\"时,返回此参数。
139
+ :type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
140
+ :param volumes: 云存储配置列表。 Configuration.type为\"volume\"时,返回此参数。
141
+ :type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
142
+ :param liveness_probe:
143
+ :type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
144
+ :param startup_probe:
145
+ :type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
146
+ :param readiness_probe:
147
+ :type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
148
+ :param post_start:
149
+ :type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPostStart`
150
+ :param pre_stop:
151
+ :type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPreStop`
152
+ :param log_paths: 自定义本地磁盘日志路径数组。 Configuration.type为\"log\"时,返回此参数。
153
+ :type log_paths: list[str]
154
+ :param cloud_storage_log_paths: 自定义云存储日志路径数组。 Configuration.type为\"log\"时,返回此参数。
155
+ :type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
156
+ :param instrumentation: 探针注入方式。 Configuration.type为\"apm2\"时,返回此参数。
157
+ :type instrumentation: str
158
+ :param apm_application: apm2应用。 Configuration.type为\"apm2\"时,返回此参数。
159
+ :type apm_application: str
160
+ :param type: 监控系统类别,包括apm2和opentelemetry。 Configuration.type为\"apm2\"时,返回此参数。
161
+ :type type: str
162
+ :param app_name: apm2组件。 Configuration.type为\"apm2\"时,返回此参数。
163
+ :type app_name: str
164
+ :param instance_name: apm2实例。 Configuration.type为\"apm2\"时,返回此参数。
165
+ :type instance_name: str
166
+ :param env_name: apm2环境。 Configuration.type为\"apm2\"时,返回此参数。
167
+ :type env_name: str
168
+ :param image_pull_policy: 探针镜像更新策略,已废弃,迁移到监控系统。 - Always,重启自动升级:每次都尝试重新下载镜像。 - IfNotPresent,手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。 Configuration.type为\"apm2\"时,返回此参数。
169
+ :type image_pull_policy: str
170
+ :param version: 增强型探针/opentelemetry探针版本,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
171
+ :type version: str
172
+ :param access_key: apm2访问密钥Key,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
173
+ :type access_key: str
174
+ :param access_value: apm2访问密钥value,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
175
+ :type access_value: str
176
+ :param business: apm2应用,同apm_application,已废弃。 Configuration.type为\"apm2\"时,返回此参数。
177
+ :type business: str
178
+ :param path: 自定义监控指标配置采集路径。 Configuration.type为\"customMetric\"时,返回此参数。
179
+ :type path: str
180
+ :param port: 自定义监控指标配置采集端口。 Configuration.type为\"customMetric\"时,返回此参数。
181
+ :type port: int
182
+ :param metrics: 自定义监控指标配置指标名称。 Configuration.type为\"customMetric\"时,返回此参数。
183
+ :type metrics: list[str]
184
+ """
185
+
186
+
187
+
188
+ self._rds_id = None
189
+ self._rds_db_name = None
190
+ self._rds_address = None
191
+ self._rds_username = None
192
+ self._rds_password = None
193
+ self._rds_port = None
194
+ self._config_center_addr = None
195
+ self._service_center_addr = None
196
+ self._cse_id = None
197
+ self._envs = None
198
+ self._ip = None
199
+ self._items = None
200
+ self._scale_strategy = None
201
+ self._max_replica_count = None
202
+ self._min_replica_count = None
203
+ self._advanced = None
204
+ self._triggers = None
205
+ self._volumes = None
206
+ self._liveness_probe = None
207
+ self._startup_probe = None
208
+ self._readiness_probe = None
209
+ self._post_start = None
210
+ self._pre_stop = None
211
+ self._log_paths = None
212
+ self._cloud_storage_log_paths = None
213
+ self._instrumentation = None
214
+ self._apm_application = None
215
+ self._type = None
216
+ self._app_name = None
217
+ self._instance_name = None
218
+ self._env_name = None
219
+ self._image_pull_policy = None
220
+ self._version = None
221
+ self._access_key = None
222
+ self._access_value = None
223
+ self._business = None
224
+ self._path = None
225
+ self._port = None
226
+ self._metrics = None
227
+ self.discriminator = None
228
+
229
+ if rds_id is not None:
230
+ self.rds_id = rds_id
231
+ if rds_db_name is not None:
232
+ self.rds_db_name = rds_db_name
233
+ if rds_address is not None:
234
+ self.rds_address = rds_address
235
+ if rds_username is not None:
236
+ self.rds_username = rds_username
237
+ if rds_password is not None:
238
+ self.rds_password = rds_password
239
+ if rds_port is not None:
240
+ self.rds_port = rds_port
241
+ if config_center_addr is not None:
242
+ self.config_center_addr = config_center_addr
243
+ if service_center_addr is not None:
244
+ self.service_center_addr = service_center_addr
245
+ if cse_id is not None:
246
+ self.cse_id = cse_id
247
+ if envs is not None:
248
+ self.envs = envs
249
+ if ip is not None:
250
+ self.ip = ip
251
+ if items is not None:
252
+ self.items = items
253
+ if scale_strategy is not None:
254
+ self.scale_strategy = scale_strategy
255
+ if max_replica_count is not None:
256
+ self.max_replica_count = max_replica_count
257
+ if min_replica_count is not None:
258
+ self.min_replica_count = min_replica_count
259
+ if advanced is not None:
260
+ self.advanced = advanced
261
+ if triggers is not None:
262
+ self.triggers = triggers
263
+ if volumes is not None:
264
+ self.volumes = volumes
265
+ if liveness_probe is not None:
266
+ self.liveness_probe = liveness_probe
267
+ if startup_probe is not None:
268
+ self.startup_probe = startup_probe
269
+ if readiness_probe is not None:
270
+ self.readiness_probe = readiness_probe
271
+ if post_start is not None:
272
+ self.post_start = post_start
273
+ if pre_stop is not None:
274
+ self.pre_stop = pre_stop
275
+ if log_paths is not None:
276
+ self.log_paths = log_paths
277
+ if cloud_storage_log_paths is not None:
278
+ self.cloud_storage_log_paths = cloud_storage_log_paths
279
+ if instrumentation is not None:
280
+ self.instrumentation = instrumentation
281
+ if apm_application is not None:
282
+ self.apm_application = apm_application
283
+ if type is not None:
284
+ self.type = type
285
+ if app_name is not None:
286
+ self.app_name = app_name
287
+ if instance_name is not None:
288
+ self.instance_name = instance_name
289
+ if env_name is not None:
290
+ self.env_name = env_name
291
+ if image_pull_policy is not None:
292
+ self.image_pull_policy = image_pull_policy
293
+ if version is not None:
294
+ self.version = version
295
+ if access_key is not None:
296
+ self.access_key = access_key
297
+ if access_value is not None:
298
+ self.access_value = access_value
299
+ if business is not None:
300
+ self.business = business
301
+ if path is not None:
302
+ self.path = path
303
+ if port is not None:
304
+ self.port = port
305
+ if metrics is not None:
306
+ self.metrics = metrics
307
+
308
+ @property
309
+ def rds_id(self):
310
+ r"""Gets the rds_id of this ConfigurationResponseDataSpec.
311
+
312
+ RDS数据库实例ID。 Configuration.type为\"rds\"时,返回此参数。
313
+
314
+ :return: The rds_id of this ConfigurationResponseDataSpec.
315
+ :rtype: str
316
+ """
317
+ return self._rds_id
318
+
319
+ @rds_id.setter
320
+ def rds_id(self, rds_id):
321
+ r"""Sets the rds_id of this ConfigurationResponseDataSpec.
322
+
323
+ RDS数据库实例ID。 Configuration.type为\"rds\"时,返回此参数。
324
+
325
+ :param rds_id: The rds_id of this ConfigurationResponseDataSpec.
326
+ :type rds_id: str
327
+ """
328
+ self._rds_id = rds_id
329
+
330
+ @property
331
+ def rds_db_name(self):
332
+ r"""Gets the rds_db_name of this ConfigurationResponseDataSpec.
333
+
334
+ RDS数据库名称。 Configuration.type为\"rds\"时,返回此参数。
335
+
336
+ :return: The rds_db_name of this ConfigurationResponseDataSpec.
337
+ :rtype: str
338
+ """
339
+ return self._rds_db_name
340
+
341
+ @rds_db_name.setter
342
+ def rds_db_name(self, rds_db_name):
343
+ r"""Sets the rds_db_name of this ConfigurationResponseDataSpec.
344
+
345
+ RDS数据库名称。 Configuration.type为\"rds\"时,返回此参数。
346
+
347
+ :param rds_db_name: The rds_db_name of this ConfigurationResponseDataSpec.
348
+ :type rds_db_name: str
349
+ """
350
+ self._rds_db_name = rds_db_name
351
+
352
+ @property
353
+ def rds_address(self):
354
+ r"""Gets the rds_address of this ConfigurationResponseDataSpec.
355
+
356
+ RDS数据库地址。 Configuration.type为\"rds\"时,返回此参数。
357
+
358
+ :return: The rds_address of this ConfigurationResponseDataSpec.
359
+ :rtype: str
360
+ """
361
+ return self._rds_address
362
+
363
+ @rds_address.setter
364
+ def rds_address(self, rds_address):
365
+ r"""Sets the rds_address of this ConfigurationResponseDataSpec.
366
+
367
+ RDS数据库地址。 Configuration.type为\"rds\"时,返回此参数。
368
+
369
+ :param rds_address: The rds_address of this ConfigurationResponseDataSpec.
370
+ :type rds_address: str
371
+ """
372
+ self._rds_address = rds_address
373
+
374
+ @property
375
+ def rds_username(self):
376
+ r"""Gets the rds_username of this ConfigurationResponseDataSpec.
377
+
378
+ RDS数据库用户名称。 Configuration.type为\"rds\"时,返回此参数。
379
+
380
+ :return: The rds_username of this ConfigurationResponseDataSpec.
381
+ :rtype: str
382
+ """
383
+ return self._rds_username
384
+
385
+ @rds_username.setter
386
+ def rds_username(self, rds_username):
387
+ r"""Sets the rds_username of this ConfigurationResponseDataSpec.
388
+
389
+ RDS数据库用户名称。 Configuration.type为\"rds\"时,返回此参数。
390
+
391
+ :param rds_username: The rds_username of this ConfigurationResponseDataSpec.
392
+ :type rds_username: str
393
+ """
394
+ self._rds_username = rds_username
395
+
396
+ @property
397
+ def rds_password(self):
398
+ r"""Gets the rds_password of this ConfigurationResponseDataSpec.
399
+
400
+ RDS数据库密码。 Configuration.type为\"rds\"时,返回此参数。
401
+
402
+ :return: The rds_password of this ConfigurationResponseDataSpec.
403
+ :rtype: str
404
+ """
405
+ return self._rds_password
406
+
407
+ @rds_password.setter
408
+ def rds_password(self, rds_password):
409
+ r"""Sets the rds_password of this ConfigurationResponseDataSpec.
410
+
411
+ RDS数据库密码。 Configuration.type为\"rds\"时,返回此参数。
412
+
413
+ :param rds_password: The rds_password of this ConfigurationResponseDataSpec.
414
+ :type rds_password: str
415
+ """
416
+ self._rds_password = rds_password
417
+
418
+ @property
419
+ def rds_port(self):
420
+ r"""Gets the rds_port of this ConfigurationResponseDataSpec.
421
+
422
+ RDS数据库端口。 Configuration.type为\"rds\"时,返回此参数。
423
+
424
+ :return: The rds_port of this ConfigurationResponseDataSpec.
425
+ :rtype: str
426
+ """
427
+ return self._rds_port
428
+
429
+ @rds_port.setter
430
+ def rds_port(self, rds_port):
431
+ r"""Sets the rds_port of this ConfigurationResponseDataSpec.
432
+
433
+ RDS数据库端口。 Configuration.type为\"rds\"时,返回此参数。
434
+
435
+ :param rds_port: The rds_port of this ConfigurationResponseDataSpec.
436
+ :type rds_port: str
437
+ """
438
+ self._rds_port = rds_port
439
+
440
+ @property
441
+ def config_center_addr(self):
442
+ r"""Gets the config_center_addr of this ConfigurationResponseDataSpec.
443
+
444
+ CSE配置中心地址。 Configuration.type为\"cse\"时,返回此参数。
445
+
446
+ :return: The config_center_addr of this ConfigurationResponseDataSpec.
447
+ :rtype: str
448
+ """
449
+ return self._config_center_addr
450
+
451
+ @config_center_addr.setter
452
+ def config_center_addr(self, config_center_addr):
453
+ r"""Sets the config_center_addr of this ConfigurationResponseDataSpec.
454
+
455
+ CSE配置中心地址。 Configuration.type为\"cse\"时,返回此参数。
456
+
457
+ :param config_center_addr: The config_center_addr of this ConfigurationResponseDataSpec.
458
+ :type config_center_addr: str
459
+ """
460
+ self._config_center_addr = config_center_addr
461
+
462
+ @property
463
+ def service_center_addr(self):
464
+ r"""Gets the service_center_addr of this ConfigurationResponseDataSpec.
465
+
466
+ CSE服务注册发现地址。 Configuration.type为\"cse\"时,返回此参数。
467
+
468
+ :return: The service_center_addr of this ConfigurationResponseDataSpec.
469
+ :rtype: str
470
+ """
471
+ return self._service_center_addr
472
+
473
+ @service_center_addr.setter
474
+ def service_center_addr(self, service_center_addr):
475
+ r"""Sets the service_center_addr of this ConfigurationResponseDataSpec.
476
+
477
+ CSE服务注册发现地址。 Configuration.type为\"cse\"时,返回此参数。
478
+
479
+ :param service_center_addr: The service_center_addr of this ConfigurationResponseDataSpec.
480
+ :type service_center_addr: str
481
+ """
482
+ self._service_center_addr = service_center_addr
483
+
484
+ @property
485
+ def cse_id(self):
486
+ r"""Gets the cse_id of this ConfigurationResponseDataSpec.
487
+
488
+ CSE引擎ID。 Configuration.type为\"cse\"时,返回此参数。
489
+
490
+ :return: The cse_id of this ConfigurationResponseDataSpec.
491
+ :rtype: str
492
+ """
493
+ return self._cse_id
494
+
495
+ @cse_id.setter
496
+ def cse_id(self, cse_id):
497
+ r"""Sets the cse_id of this ConfigurationResponseDataSpec.
498
+
499
+ CSE引擎ID。 Configuration.type为\"cse\"时,返回此参数。
500
+
501
+ :param cse_id: The cse_id of this ConfigurationResponseDataSpec.
502
+ :type cse_id: str
503
+ """
504
+ self._cse_id = cse_id
505
+
506
+ @property
507
+ def envs(self):
508
+ r"""Gets the envs of this ConfigurationResponseDataSpec.
509
+
510
+ 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
511
+
512
+ :return: The envs of this ConfigurationResponseDataSpec.
513
+ :rtype: dict(str, str)
514
+ """
515
+ return self._envs
516
+
517
+ @envs.setter
518
+ def envs(self, envs):
519
+ r"""Sets the envs of this ConfigurationResponseDataSpec.
520
+
521
+ 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
522
+
523
+ :param envs: The envs of this ConfigurationResponseDataSpec.
524
+ :type envs: dict(str, str)
525
+ """
526
+ self._envs = envs
527
+
528
+ @property
529
+ def ip(self):
530
+ r"""Gets the ip of this ConfigurationResponseDataSpec.
531
+
532
+ 弹性公网IP,响应体参数,未配置域名时返回此参数。
533
+
534
+ :return: The ip of this ConfigurationResponseDataSpec.
535
+ :rtype: str
536
+ """
537
+ return self._ip
538
+
539
+ @ip.setter
540
+ def ip(self, ip):
541
+ r"""Sets the ip of this ConfigurationResponseDataSpec.
542
+
543
+ 弹性公网IP,响应体参数,未配置域名时返回此参数。
544
+
545
+ :param ip: The ip of this ConfigurationResponseDataSpec.
546
+ :type ip: str
547
+ """
548
+ self._ip = ip
549
+
550
+ @property
551
+ def items(self):
552
+ r"""Gets the items of this ConfigurationResponseDataSpec.
553
+
554
+ 访问方式配置列表。 Configuration.type为\"access\"时,返回此参数。
555
+
556
+ :return: The items of this ConfigurationResponseDataSpec.
557
+ :rtype: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
558
+ """
559
+ return self._items
560
+
561
+ @items.setter
562
+ def items(self, items):
563
+ r"""Sets the items of this ConfigurationResponseDataSpec.
564
+
565
+ 访问方式配置列表。 Configuration.type为\"access\"时,返回此参数。
566
+
567
+ :param items: The items of this ConfigurationResponseDataSpec.
568
+ :type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
569
+ """
570
+ self._items = items
571
+
572
+ @property
573
+ def scale_strategy(self):
574
+ r"""Gets the scale_strategy of this ConfigurationResponseDataSpec.
575
+
576
+ 伸缩策略配置策略类型。 Configuration.type为\"scaling\"时,返回此参数。
577
+
578
+ :return: The scale_strategy of this ConfigurationResponseDataSpec.
579
+ :rtype: str
580
+ """
581
+ return self._scale_strategy
582
+
583
+ @scale_strategy.setter
584
+ def scale_strategy(self, scale_strategy):
585
+ r"""Sets the scale_strategy of this ConfigurationResponseDataSpec.
586
+
587
+ 伸缩策略配置策略类型。 Configuration.type为\"scaling\"时,返回此参数。
588
+
589
+ :param scale_strategy: The scale_strategy of this ConfigurationResponseDataSpec.
590
+ :type scale_strategy: str
591
+ """
592
+ self._scale_strategy = scale_strategy
593
+
594
+ @property
595
+ def max_replica_count(self):
596
+ r"""Gets the max_replica_count of this ConfigurationResponseDataSpec.
597
+
598
+ 伸缩策略配置最大伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
599
+
600
+ :return: The max_replica_count of this ConfigurationResponseDataSpec.
601
+ :rtype: int
602
+ """
603
+ return self._max_replica_count
604
+
605
+ @max_replica_count.setter
606
+ def max_replica_count(self, max_replica_count):
607
+ r"""Sets the max_replica_count of this ConfigurationResponseDataSpec.
608
+
609
+ 伸缩策略配置最大伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
610
+
611
+ :param max_replica_count: The max_replica_count of this ConfigurationResponseDataSpec.
612
+ :type max_replica_count: int
613
+ """
614
+ self._max_replica_count = max_replica_count
615
+
616
+ @property
617
+ def min_replica_count(self):
618
+ r"""Gets the min_replica_count of this ConfigurationResponseDataSpec.
619
+
620
+ 伸缩策略配置最小伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
621
+
622
+ :return: The min_replica_count of this ConfigurationResponseDataSpec.
623
+ :rtype: int
624
+ """
625
+ return self._min_replica_count
626
+
627
+ @min_replica_count.setter
628
+ def min_replica_count(self, min_replica_count):
629
+ r"""Sets the min_replica_count of this ConfigurationResponseDataSpec.
630
+
631
+ 伸缩策略配置最小伸缩个数。 Configuration.type为\"scaling\"时,返回此参数。
632
+
633
+ :param min_replica_count: The min_replica_count of this ConfigurationResponseDataSpec.
634
+ :type min_replica_count: int
635
+ """
636
+ self._min_replica_count = min_replica_count
637
+
638
+ @property
639
+ def advanced(self):
640
+ r"""Gets the advanced of this ConfigurationResponseDataSpec.
641
+
642
+ :return: The advanced of this ConfigurationResponseDataSpec.
643
+ :rtype: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
644
+ """
645
+ return self._advanced
646
+
647
+ @advanced.setter
648
+ def advanced(self, advanced):
649
+ r"""Sets the advanced of this ConfigurationResponseDataSpec.
650
+
651
+ :param advanced: The advanced of this ConfigurationResponseDataSpec.
652
+ :type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
653
+ """
654
+ self._advanced = advanced
655
+
656
+ @property
657
+ def triggers(self):
658
+ r"""Gets the triggers of this ConfigurationResponseDataSpec.
659
+
660
+ 伸缩策略配置触发器列表。 Configuration.type为\"scaling\"时,返回此参数。
661
+
662
+ :return: The triggers of this ConfigurationResponseDataSpec.
663
+ :rtype: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
664
+ """
665
+ return self._triggers
666
+
667
+ @triggers.setter
668
+ def triggers(self, triggers):
669
+ r"""Sets the triggers of this ConfigurationResponseDataSpec.
670
+
671
+ 伸缩策略配置触发器列表。 Configuration.type为\"scaling\"时,返回此参数。
672
+
673
+ :param triggers: The triggers of this ConfigurationResponseDataSpec.
674
+ :type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
675
+ """
676
+ self._triggers = triggers
677
+
678
+ @property
679
+ def volumes(self):
680
+ r"""Gets the volumes of this ConfigurationResponseDataSpec.
681
+
682
+ 云存储配置列表。 Configuration.type为\"volume\"时,返回此参数。
683
+
684
+ :return: The volumes of this ConfigurationResponseDataSpec.
685
+ :rtype: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
686
+ """
687
+ return self._volumes
688
+
689
+ @volumes.setter
690
+ def volumes(self, volumes):
691
+ r"""Sets the volumes of this ConfigurationResponseDataSpec.
692
+
693
+ 云存储配置列表。 Configuration.type为\"volume\"时,返回此参数。
694
+
695
+ :param volumes: The volumes of this ConfigurationResponseDataSpec.
696
+ :type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
697
+ """
698
+ self._volumes = volumes
699
+
700
+ @property
701
+ def liveness_probe(self):
702
+ r"""Gets the liveness_probe of this ConfigurationResponseDataSpec.
703
+
704
+ :return: The liveness_probe of this ConfigurationResponseDataSpec.
705
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
706
+ """
707
+ return self._liveness_probe
708
+
709
+ @liveness_probe.setter
710
+ def liveness_probe(self, liveness_probe):
711
+ r"""Sets the liveness_probe of this ConfigurationResponseDataSpec.
712
+
713
+ :param liveness_probe: The liveness_probe of this ConfigurationResponseDataSpec.
714
+ :type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
715
+ """
716
+ self._liveness_probe = liveness_probe
717
+
718
+ @property
719
+ def startup_probe(self):
720
+ r"""Gets the startup_probe of this ConfigurationResponseDataSpec.
721
+
722
+ :return: The startup_probe of this ConfigurationResponseDataSpec.
723
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
724
+ """
725
+ return self._startup_probe
726
+
727
+ @startup_probe.setter
728
+ def startup_probe(self, startup_probe):
729
+ r"""Sets the startup_probe of this ConfigurationResponseDataSpec.
730
+
731
+ :param startup_probe: The startup_probe of this ConfigurationResponseDataSpec.
732
+ :type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
733
+ """
734
+ self._startup_probe = startup_probe
735
+
736
+ @property
737
+ def readiness_probe(self):
738
+ r"""Gets the readiness_probe of this ConfigurationResponseDataSpec.
739
+
740
+ :return: The readiness_probe of this ConfigurationResponseDataSpec.
741
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
742
+ """
743
+ return self._readiness_probe
744
+
745
+ @readiness_probe.setter
746
+ def readiness_probe(self, readiness_probe):
747
+ r"""Sets the readiness_probe of this ConfigurationResponseDataSpec.
748
+
749
+ :param readiness_probe: The readiness_probe of this ConfigurationResponseDataSpec.
750
+ :type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
751
+ """
752
+ self._readiness_probe = readiness_probe
753
+
754
+ @property
755
+ def post_start(self):
756
+ r"""Gets the post_start of this ConfigurationResponseDataSpec.
757
+
758
+ :return: The post_start of this ConfigurationResponseDataSpec.
759
+ :rtype: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPostStart`
760
+ """
761
+ return self._post_start
762
+
763
+ @post_start.setter
764
+ def post_start(self, post_start):
765
+ r"""Sets the post_start of this ConfigurationResponseDataSpec.
766
+
767
+ :param post_start: The post_start of this ConfigurationResponseDataSpec.
768
+ :type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPostStart`
769
+ """
770
+ self._post_start = post_start
771
+
772
+ @property
773
+ def pre_stop(self):
774
+ r"""Gets the pre_stop of this ConfigurationResponseDataSpec.
775
+
776
+ :return: The pre_stop of this ConfigurationResponseDataSpec.
777
+ :rtype: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPreStop`
778
+ """
779
+ return self._pre_stop
780
+
781
+ @pre_stop.setter
782
+ def pre_stop(self, pre_stop):
783
+ r"""Sets the pre_stop of this ConfigurationResponseDataSpec.
784
+
785
+ :param pre_stop: The pre_stop of this ConfigurationResponseDataSpec.
786
+ :type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationResponseDataSpecPreStop`
787
+ """
788
+ self._pre_stop = pre_stop
789
+
790
+ @property
791
+ def log_paths(self):
792
+ r"""Gets the log_paths of this ConfigurationResponseDataSpec.
793
+
794
+ 自定义本地磁盘日志路径数组。 Configuration.type为\"log\"时,返回此参数。
795
+
796
+ :return: The log_paths of this ConfigurationResponseDataSpec.
797
+ :rtype: list[str]
798
+ """
799
+ return self._log_paths
800
+
801
+ @log_paths.setter
802
+ def log_paths(self, log_paths):
803
+ r"""Sets the log_paths of this ConfigurationResponseDataSpec.
804
+
805
+ 自定义本地磁盘日志路径数组。 Configuration.type为\"log\"时,返回此参数。
806
+
807
+ :param log_paths: The log_paths of this ConfigurationResponseDataSpec.
808
+ :type log_paths: list[str]
809
+ """
810
+ self._log_paths = log_paths
811
+
812
+ @property
813
+ def cloud_storage_log_paths(self):
814
+ r"""Gets the cloud_storage_log_paths of this ConfigurationResponseDataSpec.
815
+
816
+ 自定义云存储日志路径数组。 Configuration.type为\"log\"时,返回此参数。
817
+
818
+ :return: The cloud_storage_log_paths of this ConfigurationResponseDataSpec.
819
+ :rtype: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
820
+ """
821
+ return self._cloud_storage_log_paths
822
+
823
+ @cloud_storage_log_paths.setter
824
+ def cloud_storage_log_paths(self, cloud_storage_log_paths):
825
+ r"""Sets the cloud_storage_log_paths of this ConfigurationResponseDataSpec.
826
+
827
+ 自定义云存储日志路径数组。 Configuration.type为\"log\"时,返回此参数。
828
+
829
+ :param cloud_storage_log_paths: The cloud_storage_log_paths of this ConfigurationResponseDataSpec.
830
+ :type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
831
+ """
832
+ self._cloud_storage_log_paths = cloud_storage_log_paths
833
+
834
+ @property
835
+ def instrumentation(self):
836
+ r"""Gets the instrumentation of this ConfigurationResponseDataSpec.
837
+
838
+ 探针注入方式。 Configuration.type为\"apm2\"时,返回此参数。
839
+
840
+ :return: The instrumentation of this ConfigurationResponseDataSpec.
841
+ :rtype: str
842
+ """
843
+ return self._instrumentation
844
+
845
+ @instrumentation.setter
846
+ def instrumentation(self, instrumentation):
847
+ r"""Sets the instrumentation of this ConfigurationResponseDataSpec.
848
+
849
+ 探针注入方式。 Configuration.type为\"apm2\"时,返回此参数。
850
+
851
+ :param instrumentation: The instrumentation of this ConfigurationResponseDataSpec.
852
+ :type instrumentation: str
853
+ """
854
+ self._instrumentation = instrumentation
855
+
856
+ @property
857
+ def apm_application(self):
858
+ r"""Gets the apm_application of this ConfigurationResponseDataSpec.
859
+
860
+ apm2应用。 Configuration.type为\"apm2\"时,返回此参数。
861
+
862
+ :return: The apm_application of this ConfigurationResponseDataSpec.
863
+ :rtype: str
864
+ """
865
+ return self._apm_application
866
+
867
+ @apm_application.setter
868
+ def apm_application(self, apm_application):
869
+ r"""Sets the apm_application of this ConfigurationResponseDataSpec.
870
+
871
+ apm2应用。 Configuration.type为\"apm2\"时,返回此参数。
872
+
873
+ :param apm_application: The apm_application of this ConfigurationResponseDataSpec.
874
+ :type apm_application: str
875
+ """
876
+ self._apm_application = apm_application
877
+
878
+ @property
879
+ def type(self):
880
+ r"""Gets the type of this ConfigurationResponseDataSpec.
881
+
882
+ 监控系统类别,包括apm2和opentelemetry。 Configuration.type为\"apm2\"时,返回此参数。
883
+
884
+ :return: The type of this ConfigurationResponseDataSpec.
885
+ :rtype: str
886
+ """
887
+ return self._type
888
+
889
+ @type.setter
890
+ def type(self, type):
891
+ r"""Sets the type of this ConfigurationResponseDataSpec.
892
+
893
+ 监控系统类别,包括apm2和opentelemetry。 Configuration.type为\"apm2\"时,返回此参数。
894
+
895
+ :param type: The type of this ConfigurationResponseDataSpec.
896
+ :type type: str
897
+ """
898
+ self._type = type
899
+
900
+ @property
901
+ def app_name(self):
902
+ r"""Gets the app_name of this ConfigurationResponseDataSpec.
903
+
904
+ apm2组件。 Configuration.type为\"apm2\"时,返回此参数。
905
+
906
+ :return: The app_name of this ConfigurationResponseDataSpec.
907
+ :rtype: str
908
+ """
909
+ return self._app_name
910
+
911
+ @app_name.setter
912
+ def app_name(self, app_name):
913
+ r"""Sets the app_name of this ConfigurationResponseDataSpec.
914
+
915
+ apm2组件。 Configuration.type为\"apm2\"时,返回此参数。
916
+
917
+ :param app_name: The app_name of this ConfigurationResponseDataSpec.
918
+ :type app_name: str
919
+ """
920
+ self._app_name = app_name
921
+
922
+ @property
923
+ def instance_name(self):
924
+ r"""Gets the instance_name of this ConfigurationResponseDataSpec.
925
+
926
+ apm2实例。 Configuration.type为\"apm2\"时,返回此参数。
927
+
928
+ :return: The instance_name of this ConfigurationResponseDataSpec.
929
+ :rtype: str
930
+ """
931
+ return self._instance_name
932
+
933
+ @instance_name.setter
934
+ def instance_name(self, instance_name):
935
+ r"""Sets the instance_name of this ConfigurationResponseDataSpec.
936
+
937
+ apm2实例。 Configuration.type为\"apm2\"时,返回此参数。
938
+
939
+ :param instance_name: The instance_name of this ConfigurationResponseDataSpec.
940
+ :type instance_name: str
941
+ """
942
+ self._instance_name = instance_name
943
+
944
+ @property
945
+ def env_name(self):
946
+ r"""Gets the env_name of this ConfigurationResponseDataSpec.
947
+
948
+ apm2环境。 Configuration.type为\"apm2\"时,返回此参数。
949
+
950
+ :return: The env_name of this ConfigurationResponseDataSpec.
951
+ :rtype: str
952
+ """
953
+ return self._env_name
954
+
955
+ @env_name.setter
956
+ def env_name(self, env_name):
957
+ r"""Sets the env_name of this ConfigurationResponseDataSpec.
958
+
959
+ apm2环境。 Configuration.type为\"apm2\"时,返回此参数。
960
+
961
+ :param env_name: The env_name of this ConfigurationResponseDataSpec.
962
+ :type env_name: str
963
+ """
964
+ self._env_name = env_name
965
+
966
+ @property
967
+ def image_pull_policy(self):
968
+ r"""Gets the image_pull_policy of this ConfigurationResponseDataSpec.
969
+
970
+ 探针镜像更新策略,已废弃,迁移到监控系统。 - Always,重启自动升级:每次都尝试重新下载镜像。 - IfNotPresent,手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。 Configuration.type为\"apm2\"时,返回此参数。
971
+
972
+ :return: The image_pull_policy of this ConfigurationResponseDataSpec.
973
+ :rtype: str
974
+ """
975
+ return self._image_pull_policy
976
+
977
+ @image_pull_policy.setter
978
+ def image_pull_policy(self, image_pull_policy):
979
+ r"""Sets the image_pull_policy of this ConfigurationResponseDataSpec.
980
+
981
+ 探针镜像更新策略,已废弃,迁移到监控系统。 - Always,重启自动升级:每次都尝试重新下载镜像。 - IfNotPresent,手动升级: 如果本地有该镜像,则继续使用本地镜像,不下载镜像。 Configuration.type为\"apm2\"时,返回此参数。
982
+
983
+ :param image_pull_policy: The image_pull_policy of this ConfigurationResponseDataSpec.
984
+ :type image_pull_policy: str
985
+ """
986
+ self._image_pull_policy = image_pull_policy
987
+
988
+ @property
989
+ def version(self):
990
+ r"""Gets the version of this ConfigurationResponseDataSpec.
991
+
992
+ 增强型探针/opentelemetry探针版本,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
993
+
994
+ :return: The version of this ConfigurationResponseDataSpec.
995
+ :rtype: str
996
+ """
997
+ return self._version
998
+
999
+ @version.setter
1000
+ def version(self, version):
1001
+ r"""Sets the version of this ConfigurationResponseDataSpec.
1002
+
1003
+ 增强型探针/opentelemetry探针版本,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
1004
+
1005
+ :param version: The version of this ConfigurationResponseDataSpec.
1006
+ :type version: str
1007
+ """
1008
+ self._version = version
1009
+
1010
+ @property
1011
+ def access_key(self):
1012
+ r"""Gets the access_key of this ConfigurationResponseDataSpec.
1013
+
1014
+ apm2访问密钥Key,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
1015
+
1016
+ :return: The access_key of this ConfigurationResponseDataSpec.
1017
+ :rtype: str
1018
+ """
1019
+ return self._access_key
1020
+
1021
+ @access_key.setter
1022
+ def access_key(self, access_key):
1023
+ r"""Sets the access_key of this ConfigurationResponseDataSpec.
1024
+
1025
+ apm2访问密钥Key,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
1026
+
1027
+ :param access_key: The access_key of this ConfigurationResponseDataSpec.
1028
+ :type access_key: str
1029
+ """
1030
+ self._access_key = access_key
1031
+
1032
+ @property
1033
+ def access_value(self):
1034
+ r"""Gets the access_value of this ConfigurationResponseDataSpec.
1035
+
1036
+ apm2访问密钥value,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
1037
+
1038
+ :return: The access_value of this ConfigurationResponseDataSpec.
1039
+ :rtype: str
1040
+ """
1041
+ return self._access_value
1042
+
1043
+ @access_value.setter
1044
+ def access_value(self, access_value):
1045
+ r"""Sets the access_value of this ConfigurationResponseDataSpec.
1046
+
1047
+ apm2访问密钥value,已废弃,迁移到监控系统。 Configuration.type为\"apm2\"时,返回此参数。
1048
+
1049
+ :param access_value: The access_value of this ConfigurationResponseDataSpec.
1050
+ :type access_value: str
1051
+ """
1052
+ self._access_value = access_value
1053
+
1054
+ @property
1055
+ def business(self):
1056
+ r"""Gets the business of this ConfigurationResponseDataSpec.
1057
+
1058
+ apm2应用,同apm_application,已废弃。 Configuration.type为\"apm2\"时,返回此参数。
1059
+
1060
+ :return: The business of this ConfigurationResponseDataSpec.
1061
+ :rtype: str
1062
+ """
1063
+ return self._business
1064
+
1065
+ @business.setter
1066
+ def business(self, business):
1067
+ r"""Sets the business of this ConfigurationResponseDataSpec.
1068
+
1069
+ apm2应用,同apm_application,已废弃。 Configuration.type为\"apm2\"时,返回此参数。
1070
+
1071
+ :param business: The business of this ConfigurationResponseDataSpec.
1072
+ :type business: str
1073
+ """
1074
+ self._business = business
1075
+
1076
+ @property
1077
+ def path(self):
1078
+ r"""Gets the path of this ConfigurationResponseDataSpec.
1079
+
1080
+ 自定义监控指标配置采集路径。 Configuration.type为\"customMetric\"时,返回此参数。
1081
+
1082
+ :return: The path of this ConfigurationResponseDataSpec.
1083
+ :rtype: str
1084
+ """
1085
+ return self._path
1086
+
1087
+ @path.setter
1088
+ def path(self, path):
1089
+ r"""Sets the path of this ConfigurationResponseDataSpec.
1090
+
1091
+ 自定义监控指标配置采集路径。 Configuration.type为\"customMetric\"时,返回此参数。
1092
+
1093
+ :param path: The path of this ConfigurationResponseDataSpec.
1094
+ :type path: str
1095
+ """
1096
+ self._path = path
1097
+
1098
+ @property
1099
+ def port(self):
1100
+ r"""Gets the port of this ConfigurationResponseDataSpec.
1101
+
1102
+ 自定义监控指标配置采集端口。 Configuration.type为\"customMetric\"时,返回此参数。
1103
+
1104
+ :return: The port of this ConfigurationResponseDataSpec.
1105
+ :rtype: int
1106
+ """
1107
+ return self._port
1108
+
1109
+ @port.setter
1110
+ def port(self, port):
1111
+ r"""Sets the port of this ConfigurationResponseDataSpec.
1112
+
1113
+ 自定义监控指标配置采集端口。 Configuration.type为\"customMetric\"时,返回此参数。
1114
+
1115
+ :param port: The port of this ConfigurationResponseDataSpec.
1116
+ :type port: int
1117
+ """
1118
+ self._port = port
1119
+
1120
+ @property
1121
+ def metrics(self):
1122
+ r"""Gets the metrics of this ConfigurationResponseDataSpec.
1123
+
1124
+ 自定义监控指标配置指标名称。 Configuration.type为\"customMetric\"时,返回此参数。
1125
+
1126
+ :return: The metrics of this ConfigurationResponseDataSpec.
1127
+ :rtype: list[str]
1128
+ """
1129
+ return self._metrics
1130
+
1131
+ @metrics.setter
1132
+ def metrics(self, metrics):
1133
+ r"""Sets the metrics of this ConfigurationResponseDataSpec.
1134
+
1135
+ 自定义监控指标配置指标名称。 Configuration.type为\"customMetric\"时,返回此参数。
1136
+
1137
+ :param metrics: The metrics of this ConfigurationResponseDataSpec.
1138
+ :type metrics: list[str]
1139
+ """
1140
+ self._metrics = metrics
1141
+
1142
+ def to_dict(self):
1143
+ result = {}
1144
+
1145
+ for attr, _ in self.openapi_types.items():
1146
+ value = getattr(self, attr)
1147
+ if isinstance(value, list):
1148
+ result[attr] = list(map(
1149
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
1150
+ value
1151
+ ))
1152
+ elif hasattr(value, "to_dict"):
1153
+ result[attr] = value.to_dict()
1154
+ elif isinstance(value, dict):
1155
+ result[attr] = dict(map(
1156
+ lambda item: (item[0], item[1].to_dict())
1157
+ if hasattr(item[1], "to_dict") else item,
1158
+ value.items()
1159
+ ))
1160
+ else:
1161
+ if attr in self.sensitive_list:
1162
+ result[attr] = "****"
1163
+ else:
1164
+ result[attr] = value
1165
+
1166
+ return result
1167
+
1168
+ def to_str(self):
1169
+ """Returns the string representation of the model"""
1170
+ import simplejson as json
1171
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
1172
+
1173
+ def __repr__(self):
1174
+ """For `print`"""
1175
+ return self.to_str()
1176
+
1177
+ def __eq__(self, other):
1178
+ """Returns true if both objects are equal"""
1179
+ if not isinstance(other, ConfigurationResponseDataSpec):
1180
+ return False
1181
+
1182
+ return self.__dict__ == other.__dict__
1183
+
1184
+ def __ne__(self, other):
1185
+ """Returns true if both objects are not equal"""
1186
+ return not self == other