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,896 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ConfigurationRequestDataSpec:
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': 'ConfigurationRequestDataSpecPostStart',
40
+ 'pre_stop': 'ConfigurationRequestDataSpecPreStop',
41
+ 'log_paths': 'list[str]',
42
+ 'cloud_storage_log_paths': 'list[CloudStorageLogPathInfo]',
43
+ 'instrumentation': 'str',
44
+ 'path': 'str',
45
+ 'port': 'int',
46
+ 'metrics': 'list[str]'
47
+ }
48
+
49
+ attribute_map = {
50
+ 'rds_id': 'rds_id',
51
+ 'rds_db_name': 'rds_db_name',
52
+ 'rds_address': 'rds_address',
53
+ 'rds_username': 'rds_username',
54
+ 'rds_password': 'rds_password',
55
+ 'rds_port': 'rds_port',
56
+ 'config_center_addr': 'config_center_addr',
57
+ 'service_center_addr': 'service_center_addr',
58
+ 'cse_id': 'cse_id',
59
+ 'envs': 'envs',
60
+ 'ip': 'ip',
61
+ 'items': 'items',
62
+ 'scale_strategy': 'scale_strategy',
63
+ 'max_replica_count': 'max_replica_count',
64
+ 'min_replica_count': 'min_replica_count',
65
+ 'advanced': 'advanced',
66
+ 'triggers': 'triggers',
67
+ 'volumes': 'volumes',
68
+ 'liveness_probe': 'livenessProbe',
69
+ 'startup_probe': 'startupProbe',
70
+ 'readiness_probe': 'readinessProbe',
71
+ 'post_start': 'postStart',
72
+ 'pre_stop': 'preStop',
73
+ 'log_paths': 'log_paths',
74
+ 'cloud_storage_log_paths': 'cloud_storage_log_paths',
75
+ 'instrumentation': 'instrumentation',
76
+ 'path': 'path',
77
+ 'port': 'port',
78
+ 'metrics': 'metrics'
79
+ }
80
+
81
+ 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, path=None, port=None, metrics=None):
82
+ r"""ConfigurationRequestDataSpec
83
+
84
+ The model defined in huaweicloud sdk
85
+
86
+ :param rds_id: RDS数据库实例ID。 ConfigurationItem.type为\"rds\"时,配置此参数。
87
+ :type rds_id: str
88
+ :param rds_db_name: RDS数据库名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
89
+ :type rds_db_name: str
90
+ :param rds_address: RDS数据库地址。 ConfigurationItem.type为\"rds\"时,配置此参数。
91
+ :type rds_address: str
92
+ :param rds_username: RDS数据库用户名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
93
+ :type rds_username: str
94
+ :param rds_password: RDS数据库密码。 ConfigurationItem.type为\"rds\"时,配置此参数。
95
+ :type rds_password: str
96
+ :param rds_port: RDS数据库端口。 ConfigurationItem.type为\"rds\"时,配置此参数。
97
+ :type rds_port: str
98
+ :param config_center_addr: CSE配置中心地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
99
+ :type config_center_addr: str
100
+ :param service_center_addr: CSE服务注册发现地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
101
+ :type service_center_addr: str
102
+ :param cse_id: CSE引擎ID。 ConfigurationItem.type为\"cse\"时,配置此参数。
103
+ :type cse_id: str
104
+ :param envs: 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
105
+ :type envs: dict(str, str)
106
+ :param ip: 弹性公网IP,响应体参数,未配置域名时返回此参数。
107
+ :type ip: str
108
+ :param items: 访问方式配置列表。 ConfigurationItem.type为\"access\"时,配置此参数。
109
+ :type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
110
+ :param scale_strategy: 伸缩策略配置策略类型。 ConfigurationItem.type为\"scaling\"时,配置此参数。
111
+ :type scale_strategy: str
112
+ :param max_replica_count: 伸缩策略配置最大伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
113
+ :type max_replica_count: int
114
+ :param min_replica_count: 伸缩策略配置最小伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
115
+ :type min_replica_count: int
116
+ :param advanced:
117
+ :type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
118
+ :param triggers: 伸缩策略配置触发器列表。 ConfigurationItem.type为\"scaling\"时,配置此参数。
119
+ :type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
120
+ :param volumes: 云存储配置列表。 ConfigurationItem.type为\"volume\"时,配置此参数。
121
+ :type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
122
+ :param liveness_probe:
123
+ :type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
124
+ :param startup_probe:
125
+ :type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
126
+ :param readiness_probe:
127
+ :type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
128
+ :param post_start:
129
+ :type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPostStart`
130
+ :param pre_stop:
131
+ :type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPreStop`
132
+ :param log_paths: 自定义本地磁盘日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
133
+ :type log_paths: list[str]
134
+ :param cloud_storage_log_paths: 自定义云存储日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
135
+ :type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
136
+ :param instrumentation: 探针注入方式。 ConfigurationItem.type为\"apm2\"时,配置此参数。
137
+ :type instrumentation: str
138
+ :param path: 自定义监控指标配置采集路径。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
139
+ :type path: str
140
+ :param port: 自定义监控指标配置采集端口。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
141
+ :type port: int
142
+ :param metrics: 自定义监控指标配置指标名称。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
143
+ :type metrics: list[str]
144
+ """
145
+
146
+
147
+
148
+ self._rds_id = None
149
+ self._rds_db_name = None
150
+ self._rds_address = None
151
+ self._rds_username = None
152
+ self._rds_password = None
153
+ self._rds_port = None
154
+ self._config_center_addr = None
155
+ self._service_center_addr = None
156
+ self._cse_id = None
157
+ self._envs = None
158
+ self._ip = None
159
+ self._items = None
160
+ self._scale_strategy = None
161
+ self._max_replica_count = None
162
+ self._min_replica_count = None
163
+ self._advanced = None
164
+ self._triggers = None
165
+ self._volumes = None
166
+ self._liveness_probe = None
167
+ self._startup_probe = None
168
+ self._readiness_probe = None
169
+ self._post_start = None
170
+ self._pre_stop = None
171
+ self._log_paths = None
172
+ self._cloud_storage_log_paths = None
173
+ self._instrumentation = None
174
+ self._path = None
175
+ self._port = None
176
+ self._metrics = None
177
+ self.discriminator = None
178
+
179
+ if rds_id is not None:
180
+ self.rds_id = rds_id
181
+ if rds_db_name is not None:
182
+ self.rds_db_name = rds_db_name
183
+ if rds_address is not None:
184
+ self.rds_address = rds_address
185
+ if rds_username is not None:
186
+ self.rds_username = rds_username
187
+ if rds_password is not None:
188
+ self.rds_password = rds_password
189
+ if rds_port is not None:
190
+ self.rds_port = rds_port
191
+ if config_center_addr is not None:
192
+ self.config_center_addr = config_center_addr
193
+ if service_center_addr is not None:
194
+ self.service_center_addr = service_center_addr
195
+ if cse_id is not None:
196
+ self.cse_id = cse_id
197
+ if envs is not None:
198
+ self.envs = envs
199
+ if ip is not None:
200
+ self.ip = ip
201
+ if items is not None:
202
+ self.items = items
203
+ if scale_strategy is not None:
204
+ self.scale_strategy = scale_strategy
205
+ if max_replica_count is not None:
206
+ self.max_replica_count = max_replica_count
207
+ if min_replica_count is not None:
208
+ self.min_replica_count = min_replica_count
209
+ if advanced is not None:
210
+ self.advanced = advanced
211
+ if triggers is not None:
212
+ self.triggers = triggers
213
+ if volumes is not None:
214
+ self.volumes = volumes
215
+ if liveness_probe is not None:
216
+ self.liveness_probe = liveness_probe
217
+ if startup_probe is not None:
218
+ self.startup_probe = startup_probe
219
+ if readiness_probe is not None:
220
+ self.readiness_probe = readiness_probe
221
+ if post_start is not None:
222
+ self.post_start = post_start
223
+ if pre_stop is not None:
224
+ self.pre_stop = pre_stop
225
+ if log_paths is not None:
226
+ self.log_paths = log_paths
227
+ if cloud_storage_log_paths is not None:
228
+ self.cloud_storage_log_paths = cloud_storage_log_paths
229
+ if instrumentation is not None:
230
+ self.instrumentation = instrumentation
231
+ if path is not None:
232
+ self.path = path
233
+ if port is not None:
234
+ self.port = port
235
+ if metrics is not None:
236
+ self.metrics = metrics
237
+
238
+ @property
239
+ def rds_id(self):
240
+ r"""Gets the rds_id of this ConfigurationRequestDataSpec.
241
+
242
+ RDS数据库实例ID。 ConfigurationItem.type为\"rds\"时,配置此参数。
243
+
244
+ :return: The rds_id of this ConfigurationRequestDataSpec.
245
+ :rtype: str
246
+ """
247
+ return self._rds_id
248
+
249
+ @rds_id.setter
250
+ def rds_id(self, rds_id):
251
+ r"""Sets the rds_id of this ConfigurationRequestDataSpec.
252
+
253
+ RDS数据库实例ID。 ConfigurationItem.type为\"rds\"时,配置此参数。
254
+
255
+ :param rds_id: The rds_id of this ConfigurationRequestDataSpec.
256
+ :type rds_id: str
257
+ """
258
+ self._rds_id = rds_id
259
+
260
+ @property
261
+ def rds_db_name(self):
262
+ r"""Gets the rds_db_name of this ConfigurationRequestDataSpec.
263
+
264
+ RDS数据库名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
265
+
266
+ :return: The rds_db_name of this ConfigurationRequestDataSpec.
267
+ :rtype: str
268
+ """
269
+ return self._rds_db_name
270
+
271
+ @rds_db_name.setter
272
+ def rds_db_name(self, rds_db_name):
273
+ r"""Sets the rds_db_name of this ConfigurationRequestDataSpec.
274
+
275
+ RDS数据库名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
276
+
277
+ :param rds_db_name: The rds_db_name of this ConfigurationRequestDataSpec.
278
+ :type rds_db_name: str
279
+ """
280
+ self._rds_db_name = rds_db_name
281
+
282
+ @property
283
+ def rds_address(self):
284
+ r"""Gets the rds_address of this ConfigurationRequestDataSpec.
285
+
286
+ RDS数据库地址。 ConfigurationItem.type为\"rds\"时,配置此参数。
287
+
288
+ :return: The rds_address of this ConfigurationRequestDataSpec.
289
+ :rtype: str
290
+ """
291
+ return self._rds_address
292
+
293
+ @rds_address.setter
294
+ def rds_address(self, rds_address):
295
+ r"""Sets the rds_address of this ConfigurationRequestDataSpec.
296
+
297
+ RDS数据库地址。 ConfigurationItem.type为\"rds\"时,配置此参数。
298
+
299
+ :param rds_address: The rds_address of this ConfigurationRequestDataSpec.
300
+ :type rds_address: str
301
+ """
302
+ self._rds_address = rds_address
303
+
304
+ @property
305
+ def rds_username(self):
306
+ r"""Gets the rds_username of this ConfigurationRequestDataSpec.
307
+
308
+ RDS数据库用户名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
309
+
310
+ :return: The rds_username of this ConfigurationRequestDataSpec.
311
+ :rtype: str
312
+ """
313
+ return self._rds_username
314
+
315
+ @rds_username.setter
316
+ def rds_username(self, rds_username):
317
+ r"""Sets the rds_username of this ConfigurationRequestDataSpec.
318
+
319
+ RDS数据库用户名称。 ConfigurationItem.type为\"rds\"时,配置此参数。
320
+
321
+ :param rds_username: The rds_username of this ConfigurationRequestDataSpec.
322
+ :type rds_username: str
323
+ """
324
+ self._rds_username = rds_username
325
+
326
+ @property
327
+ def rds_password(self):
328
+ r"""Gets the rds_password of this ConfigurationRequestDataSpec.
329
+
330
+ RDS数据库密码。 ConfigurationItem.type为\"rds\"时,配置此参数。
331
+
332
+ :return: The rds_password of this ConfigurationRequestDataSpec.
333
+ :rtype: str
334
+ """
335
+ return self._rds_password
336
+
337
+ @rds_password.setter
338
+ def rds_password(self, rds_password):
339
+ r"""Sets the rds_password of this ConfigurationRequestDataSpec.
340
+
341
+ RDS数据库密码。 ConfigurationItem.type为\"rds\"时,配置此参数。
342
+
343
+ :param rds_password: The rds_password of this ConfigurationRequestDataSpec.
344
+ :type rds_password: str
345
+ """
346
+ self._rds_password = rds_password
347
+
348
+ @property
349
+ def rds_port(self):
350
+ r"""Gets the rds_port of this ConfigurationRequestDataSpec.
351
+
352
+ RDS数据库端口。 ConfigurationItem.type为\"rds\"时,配置此参数。
353
+
354
+ :return: The rds_port of this ConfigurationRequestDataSpec.
355
+ :rtype: str
356
+ """
357
+ return self._rds_port
358
+
359
+ @rds_port.setter
360
+ def rds_port(self, rds_port):
361
+ r"""Sets the rds_port of this ConfigurationRequestDataSpec.
362
+
363
+ RDS数据库端口。 ConfigurationItem.type为\"rds\"时,配置此参数。
364
+
365
+ :param rds_port: The rds_port of this ConfigurationRequestDataSpec.
366
+ :type rds_port: str
367
+ """
368
+ self._rds_port = rds_port
369
+
370
+ @property
371
+ def config_center_addr(self):
372
+ r"""Gets the config_center_addr of this ConfigurationRequestDataSpec.
373
+
374
+ CSE配置中心地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
375
+
376
+ :return: The config_center_addr of this ConfigurationRequestDataSpec.
377
+ :rtype: str
378
+ """
379
+ return self._config_center_addr
380
+
381
+ @config_center_addr.setter
382
+ def config_center_addr(self, config_center_addr):
383
+ r"""Sets the config_center_addr of this ConfigurationRequestDataSpec.
384
+
385
+ CSE配置中心地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
386
+
387
+ :param config_center_addr: The config_center_addr of this ConfigurationRequestDataSpec.
388
+ :type config_center_addr: str
389
+ """
390
+ self._config_center_addr = config_center_addr
391
+
392
+ @property
393
+ def service_center_addr(self):
394
+ r"""Gets the service_center_addr of this ConfigurationRequestDataSpec.
395
+
396
+ CSE服务注册发现地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
397
+
398
+ :return: The service_center_addr of this ConfigurationRequestDataSpec.
399
+ :rtype: str
400
+ """
401
+ return self._service_center_addr
402
+
403
+ @service_center_addr.setter
404
+ def service_center_addr(self, service_center_addr):
405
+ r"""Sets the service_center_addr of this ConfigurationRequestDataSpec.
406
+
407
+ CSE服务注册发现地址。 ConfigurationItem.type为\"cse\"时,配置此参数。
408
+
409
+ :param service_center_addr: The service_center_addr of this ConfigurationRequestDataSpec.
410
+ :type service_center_addr: str
411
+ """
412
+ self._service_center_addr = service_center_addr
413
+
414
+ @property
415
+ def cse_id(self):
416
+ r"""Gets the cse_id of this ConfigurationRequestDataSpec.
417
+
418
+ CSE引擎ID。 ConfigurationItem.type为\"cse\"时,配置此参数。
419
+
420
+ :return: The cse_id of this ConfigurationRequestDataSpec.
421
+ :rtype: str
422
+ """
423
+ return self._cse_id
424
+
425
+ @cse_id.setter
426
+ def cse_id(self, cse_id):
427
+ r"""Sets the cse_id of this ConfigurationRequestDataSpec.
428
+
429
+ CSE引擎ID。 ConfigurationItem.type为\"cse\"时,配置此参数。
430
+
431
+ :param cse_id: The cse_id of this ConfigurationRequestDataSpec.
432
+ :type cse_id: str
433
+ """
434
+ self._cse_id = cse_id
435
+
436
+ @property
437
+ def envs(self):
438
+ r"""Gets the envs of this ConfigurationRequestDataSpec.
439
+
440
+ 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
441
+
442
+ :return: The envs of this ConfigurationRequestDataSpec.
443
+ :rtype: dict(str, str)
444
+ """
445
+ return self._envs
446
+
447
+ @envs.setter
448
+ def envs(self, envs):
449
+ r"""Sets the envs of this ConfigurationRequestDataSpec.
450
+
451
+ 环境变量配置。 常用环境变量如下: - TZ: 时区设置,东八区可设置为Asia/Shanghai。 - LANG: 语言字符集设置,中文UTF8可设置为zh_CN.UTF-8。
452
+
453
+ :param envs: The envs of this ConfigurationRequestDataSpec.
454
+ :type envs: dict(str, str)
455
+ """
456
+ self._envs = envs
457
+
458
+ @property
459
+ def ip(self):
460
+ r"""Gets the ip of this ConfigurationRequestDataSpec.
461
+
462
+ 弹性公网IP,响应体参数,未配置域名时返回此参数。
463
+
464
+ :return: The ip of this ConfigurationRequestDataSpec.
465
+ :rtype: str
466
+ """
467
+ return self._ip
468
+
469
+ @ip.setter
470
+ def ip(self, ip):
471
+ r"""Sets the ip of this ConfigurationRequestDataSpec.
472
+
473
+ 弹性公网IP,响应体参数,未配置域名时返回此参数。
474
+
475
+ :param ip: The ip of this ConfigurationRequestDataSpec.
476
+ :type ip: str
477
+ """
478
+ self._ip = ip
479
+
480
+ @property
481
+ def items(self):
482
+ r"""Gets the items of this ConfigurationRequestDataSpec.
483
+
484
+ 访问方式配置列表。 ConfigurationItem.type为\"access\"时,配置此参数。
485
+
486
+ :return: The items of this ConfigurationRequestDataSpec.
487
+ :rtype: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
488
+ """
489
+ return self._items
490
+
491
+ @items.setter
492
+ def items(self, items):
493
+ r"""Sets the items of this ConfigurationRequestDataSpec.
494
+
495
+ 访问方式配置列表。 ConfigurationItem.type为\"access\"时,配置此参数。
496
+
497
+ :param items: The items of this ConfigurationRequestDataSpec.
498
+ :type items: list[:class:`huaweicloudsdkcae.v1.AccessConfigurationDataItems`]
499
+ """
500
+ self._items = items
501
+
502
+ @property
503
+ def scale_strategy(self):
504
+ r"""Gets the scale_strategy of this ConfigurationRequestDataSpec.
505
+
506
+ 伸缩策略配置策略类型。 ConfigurationItem.type为\"scaling\"时,配置此参数。
507
+
508
+ :return: The scale_strategy of this ConfigurationRequestDataSpec.
509
+ :rtype: str
510
+ """
511
+ return self._scale_strategy
512
+
513
+ @scale_strategy.setter
514
+ def scale_strategy(self, scale_strategy):
515
+ r"""Sets the scale_strategy of this ConfigurationRequestDataSpec.
516
+
517
+ 伸缩策略配置策略类型。 ConfigurationItem.type为\"scaling\"时,配置此参数。
518
+
519
+ :param scale_strategy: The scale_strategy of this ConfigurationRequestDataSpec.
520
+ :type scale_strategy: str
521
+ """
522
+ self._scale_strategy = scale_strategy
523
+
524
+ @property
525
+ def max_replica_count(self):
526
+ r"""Gets the max_replica_count of this ConfigurationRequestDataSpec.
527
+
528
+ 伸缩策略配置最大伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
529
+
530
+ :return: The max_replica_count of this ConfigurationRequestDataSpec.
531
+ :rtype: int
532
+ """
533
+ return self._max_replica_count
534
+
535
+ @max_replica_count.setter
536
+ def max_replica_count(self, max_replica_count):
537
+ r"""Sets the max_replica_count of this ConfigurationRequestDataSpec.
538
+
539
+ 伸缩策略配置最大伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
540
+
541
+ :param max_replica_count: The max_replica_count of this ConfigurationRequestDataSpec.
542
+ :type max_replica_count: int
543
+ """
544
+ self._max_replica_count = max_replica_count
545
+
546
+ @property
547
+ def min_replica_count(self):
548
+ r"""Gets the min_replica_count of this ConfigurationRequestDataSpec.
549
+
550
+ 伸缩策略配置最小伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
551
+
552
+ :return: The min_replica_count of this ConfigurationRequestDataSpec.
553
+ :rtype: int
554
+ """
555
+ return self._min_replica_count
556
+
557
+ @min_replica_count.setter
558
+ def min_replica_count(self, min_replica_count):
559
+ r"""Sets the min_replica_count of this ConfigurationRequestDataSpec.
560
+
561
+ 伸缩策略配置最小伸缩个数。 ConfigurationItem.type为\"scaling\"时,配置此参数。
562
+
563
+ :param min_replica_count: The min_replica_count of this ConfigurationRequestDataSpec.
564
+ :type min_replica_count: int
565
+ """
566
+ self._min_replica_count = min_replica_count
567
+
568
+ @property
569
+ def advanced(self):
570
+ r"""Gets the advanced of this ConfigurationRequestDataSpec.
571
+
572
+ :return: The advanced of this ConfigurationRequestDataSpec.
573
+ :rtype: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
574
+ """
575
+ return self._advanced
576
+
577
+ @advanced.setter
578
+ def advanced(self, advanced):
579
+ r"""Sets the advanced of this ConfigurationRequestDataSpec.
580
+
581
+ :param advanced: The advanced of this ConfigurationRequestDataSpec.
582
+ :type advanced: :class:`huaweicloudsdkcae.v1.ScaleConfigurationDataAdvanced`
583
+ """
584
+ self._advanced = advanced
585
+
586
+ @property
587
+ def triggers(self):
588
+ r"""Gets the triggers of this ConfigurationRequestDataSpec.
589
+
590
+ 伸缩策略配置触发器列表。 ConfigurationItem.type为\"scaling\"时,配置此参数。
591
+
592
+ :return: The triggers of this ConfigurationRequestDataSpec.
593
+ :rtype: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
594
+ """
595
+ return self._triggers
596
+
597
+ @triggers.setter
598
+ def triggers(self, triggers):
599
+ r"""Sets the triggers of this ConfigurationRequestDataSpec.
600
+
601
+ 伸缩策略配置触发器列表。 ConfigurationItem.type为\"scaling\"时,配置此参数。
602
+
603
+ :param triggers: The triggers of this ConfigurationRequestDataSpec.
604
+ :type triggers: list[:class:`huaweicloudsdkcae.v1.ScaleConfigurationDataTrigger`]
605
+ """
606
+ self._triggers = triggers
607
+
608
+ @property
609
+ def volumes(self):
610
+ r"""Gets the volumes of this ConfigurationRequestDataSpec.
611
+
612
+ 云存储配置列表。 ConfigurationItem.type为\"volume\"时,配置此参数。
613
+
614
+ :return: The volumes of this ConfigurationRequestDataSpec.
615
+ :rtype: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
616
+ """
617
+ return self._volumes
618
+
619
+ @volumes.setter
620
+ def volumes(self, volumes):
621
+ r"""Sets the volumes of this ConfigurationRequestDataSpec.
622
+
623
+ 云存储配置列表。 ConfigurationItem.type为\"volume\"时,配置此参数。
624
+
625
+ :param volumes: The volumes of this ConfigurationRequestDataSpec.
626
+ :type volumes: list[:class:`huaweicloudsdkcae.v1.VolumeConfigurationDataVolume`]
627
+ """
628
+ self._volumes = volumes
629
+
630
+ @property
631
+ def liveness_probe(self):
632
+ r"""Gets the liveness_probe of this ConfigurationRequestDataSpec.
633
+
634
+ :return: The liveness_probe of this ConfigurationRequestDataSpec.
635
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
636
+ """
637
+ return self._liveness_probe
638
+
639
+ @liveness_probe.setter
640
+ def liveness_probe(self, liveness_probe):
641
+ r"""Sets the liveness_probe of this ConfigurationRequestDataSpec.
642
+
643
+ :param liveness_probe: The liveness_probe of this ConfigurationRequestDataSpec.
644
+ :type liveness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationLivenessProbe`
645
+ """
646
+ self._liveness_probe = liveness_probe
647
+
648
+ @property
649
+ def startup_probe(self):
650
+ r"""Gets the startup_probe of this ConfigurationRequestDataSpec.
651
+
652
+ :return: The startup_probe of this ConfigurationRequestDataSpec.
653
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
654
+ """
655
+ return self._startup_probe
656
+
657
+ @startup_probe.setter
658
+ def startup_probe(self, startup_probe):
659
+ r"""Sets the startup_probe of this ConfigurationRequestDataSpec.
660
+
661
+ :param startup_probe: The startup_probe of this ConfigurationRequestDataSpec.
662
+ :type startup_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationStartupProbe`
663
+ """
664
+ self._startup_probe = startup_probe
665
+
666
+ @property
667
+ def readiness_probe(self):
668
+ r"""Gets the readiness_probe of this ConfigurationRequestDataSpec.
669
+
670
+ :return: The readiness_probe of this ConfigurationRequestDataSpec.
671
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
672
+ """
673
+ return self._readiness_probe
674
+
675
+ @readiness_probe.setter
676
+ def readiness_probe(self, readiness_probe):
677
+ r"""Sets the readiness_probe of this ConfigurationRequestDataSpec.
678
+
679
+ :param readiness_probe: The readiness_probe of this ConfigurationRequestDataSpec.
680
+ :type readiness_probe: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationReadinessProbe`
681
+ """
682
+ self._readiness_probe = readiness_probe
683
+
684
+ @property
685
+ def post_start(self):
686
+ r"""Gets the post_start of this ConfigurationRequestDataSpec.
687
+
688
+ :return: The post_start of this ConfigurationRequestDataSpec.
689
+ :rtype: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPostStart`
690
+ """
691
+ return self._post_start
692
+
693
+ @post_start.setter
694
+ def post_start(self, post_start):
695
+ r"""Sets the post_start of this ConfigurationRequestDataSpec.
696
+
697
+ :param post_start: The post_start of this ConfigurationRequestDataSpec.
698
+ :type post_start: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPostStart`
699
+ """
700
+ self._post_start = post_start
701
+
702
+ @property
703
+ def pre_stop(self):
704
+ r"""Gets the pre_stop of this ConfigurationRequestDataSpec.
705
+
706
+ :return: The pre_stop of this ConfigurationRequestDataSpec.
707
+ :rtype: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPreStop`
708
+ """
709
+ return self._pre_stop
710
+
711
+ @pre_stop.setter
712
+ def pre_stop(self, pre_stop):
713
+ r"""Sets the pre_stop of this ConfigurationRequestDataSpec.
714
+
715
+ :param pre_stop: The pre_stop of this ConfigurationRequestDataSpec.
716
+ :type pre_stop: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpecPreStop`
717
+ """
718
+ self._pre_stop = pre_stop
719
+
720
+ @property
721
+ def log_paths(self):
722
+ r"""Gets the log_paths of this ConfigurationRequestDataSpec.
723
+
724
+ 自定义本地磁盘日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
725
+
726
+ :return: The log_paths of this ConfigurationRequestDataSpec.
727
+ :rtype: list[str]
728
+ """
729
+ return self._log_paths
730
+
731
+ @log_paths.setter
732
+ def log_paths(self, log_paths):
733
+ r"""Sets the log_paths of this ConfigurationRequestDataSpec.
734
+
735
+ 自定义本地磁盘日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
736
+
737
+ :param log_paths: The log_paths of this ConfigurationRequestDataSpec.
738
+ :type log_paths: list[str]
739
+ """
740
+ self._log_paths = log_paths
741
+
742
+ @property
743
+ def cloud_storage_log_paths(self):
744
+ r"""Gets the cloud_storage_log_paths of this ConfigurationRequestDataSpec.
745
+
746
+ 自定义云存储日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
747
+
748
+ :return: The cloud_storage_log_paths of this ConfigurationRequestDataSpec.
749
+ :rtype: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
750
+ """
751
+ return self._cloud_storage_log_paths
752
+
753
+ @cloud_storage_log_paths.setter
754
+ def cloud_storage_log_paths(self, cloud_storage_log_paths):
755
+ r"""Sets the cloud_storage_log_paths of this ConfigurationRequestDataSpec.
756
+
757
+ 自定义云存储日志路径数组。 ConfigurationItem.type为\"log\"时,配置此参数。
758
+
759
+ :param cloud_storage_log_paths: The cloud_storage_log_paths of this ConfigurationRequestDataSpec.
760
+ :type cloud_storage_log_paths: list[:class:`huaweicloudsdkcae.v1.CloudStorageLogPathInfo`]
761
+ """
762
+ self._cloud_storage_log_paths = cloud_storage_log_paths
763
+
764
+ @property
765
+ def instrumentation(self):
766
+ r"""Gets the instrumentation of this ConfigurationRequestDataSpec.
767
+
768
+ 探针注入方式。 ConfigurationItem.type为\"apm2\"时,配置此参数。
769
+
770
+ :return: The instrumentation of this ConfigurationRequestDataSpec.
771
+ :rtype: str
772
+ """
773
+ return self._instrumentation
774
+
775
+ @instrumentation.setter
776
+ def instrumentation(self, instrumentation):
777
+ r"""Sets the instrumentation of this ConfigurationRequestDataSpec.
778
+
779
+ 探针注入方式。 ConfigurationItem.type为\"apm2\"时,配置此参数。
780
+
781
+ :param instrumentation: The instrumentation of this ConfigurationRequestDataSpec.
782
+ :type instrumentation: str
783
+ """
784
+ self._instrumentation = instrumentation
785
+
786
+ @property
787
+ def path(self):
788
+ r"""Gets the path of this ConfigurationRequestDataSpec.
789
+
790
+ 自定义监控指标配置采集路径。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
791
+
792
+ :return: The path of this ConfigurationRequestDataSpec.
793
+ :rtype: str
794
+ """
795
+ return self._path
796
+
797
+ @path.setter
798
+ def path(self, path):
799
+ r"""Sets the path of this ConfigurationRequestDataSpec.
800
+
801
+ 自定义监控指标配置采集路径。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
802
+
803
+ :param path: The path of this ConfigurationRequestDataSpec.
804
+ :type path: str
805
+ """
806
+ self._path = path
807
+
808
+ @property
809
+ def port(self):
810
+ r"""Gets the port of this ConfigurationRequestDataSpec.
811
+
812
+ 自定义监控指标配置采集端口。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
813
+
814
+ :return: The port of this ConfigurationRequestDataSpec.
815
+ :rtype: int
816
+ """
817
+ return self._port
818
+
819
+ @port.setter
820
+ def port(self, port):
821
+ r"""Sets the port of this ConfigurationRequestDataSpec.
822
+
823
+ 自定义监控指标配置采集端口。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
824
+
825
+ :param port: The port of this ConfigurationRequestDataSpec.
826
+ :type port: int
827
+ """
828
+ self._port = port
829
+
830
+ @property
831
+ def metrics(self):
832
+ r"""Gets the metrics of this ConfigurationRequestDataSpec.
833
+
834
+ 自定义监控指标配置指标名称。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
835
+
836
+ :return: The metrics of this ConfigurationRequestDataSpec.
837
+ :rtype: list[str]
838
+ """
839
+ return self._metrics
840
+
841
+ @metrics.setter
842
+ def metrics(self, metrics):
843
+ r"""Sets the metrics of this ConfigurationRequestDataSpec.
844
+
845
+ 自定义监控指标配置指标名称。 ConfigurationItem.type为\"customMetric\"时,配置此参数。
846
+
847
+ :param metrics: The metrics of this ConfigurationRequestDataSpec.
848
+ :type metrics: list[str]
849
+ """
850
+ self._metrics = metrics
851
+
852
+ def to_dict(self):
853
+ result = {}
854
+
855
+ for attr, _ in self.openapi_types.items():
856
+ value = getattr(self, attr)
857
+ if isinstance(value, list):
858
+ result[attr] = list(map(
859
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
860
+ value
861
+ ))
862
+ elif hasattr(value, "to_dict"):
863
+ result[attr] = value.to_dict()
864
+ elif isinstance(value, dict):
865
+ result[attr] = dict(map(
866
+ lambda item: (item[0], item[1].to_dict())
867
+ if hasattr(item[1], "to_dict") else item,
868
+ value.items()
869
+ ))
870
+ else:
871
+ if attr in self.sensitive_list:
872
+ result[attr] = "****"
873
+ else:
874
+ result[attr] = value
875
+
876
+ return result
877
+
878
+ def to_str(self):
879
+ """Returns the string representation of the model"""
880
+ import simplejson as json
881
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
882
+
883
+ def __repr__(self):
884
+ """For `print`"""
885
+ return self.to_str()
886
+
887
+ def __eq__(self, other):
888
+ """Returns true if both objects are equal"""
889
+ if not isinstance(other, ConfigurationRequestDataSpec):
890
+ return False
891
+
892
+ return self.__dict__ == other.__dict__
893
+
894
+ def __ne__(self, other):
895
+ """Returns true if both objects are not equal"""
896
+ return not self == other