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,166 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class HealthCheckConfigurationHttpGet:
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
+ 'path': 'str',
19
+ 'port': 'int',
20
+ 'scheme': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'path': 'path',
25
+ 'port': 'port',
26
+ 'scheme': 'scheme'
27
+ }
28
+
29
+ def __init__(self, path=None, port=None, scheme=None):
30
+ r"""HealthCheckConfigurationHttpGet
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param path: URL路径。
35
+ :type path: str
36
+ :param port: 端口。
37
+ :type port: int
38
+ :param scheme: 协议。
39
+ :type scheme: str
40
+ """
41
+
42
+
43
+
44
+ self._path = None
45
+ self._port = None
46
+ self._scheme = None
47
+ self.discriminator = None
48
+
49
+ if path is not None:
50
+ self.path = path
51
+ if port is not None:
52
+ self.port = port
53
+ if scheme is not None:
54
+ self.scheme = scheme
55
+
56
+ @property
57
+ def path(self):
58
+ r"""Gets the path of this HealthCheckConfigurationHttpGet.
59
+
60
+ URL路径。
61
+
62
+ :return: The path of this HealthCheckConfigurationHttpGet.
63
+ :rtype: str
64
+ """
65
+ return self._path
66
+
67
+ @path.setter
68
+ def path(self, path):
69
+ r"""Sets the path of this HealthCheckConfigurationHttpGet.
70
+
71
+ URL路径。
72
+
73
+ :param path: The path of this HealthCheckConfigurationHttpGet.
74
+ :type path: str
75
+ """
76
+ self._path = path
77
+
78
+ @property
79
+ def port(self):
80
+ r"""Gets the port of this HealthCheckConfigurationHttpGet.
81
+
82
+ 端口。
83
+
84
+ :return: The port of this HealthCheckConfigurationHttpGet.
85
+ :rtype: int
86
+ """
87
+ return self._port
88
+
89
+ @port.setter
90
+ def port(self, port):
91
+ r"""Sets the port of this HealthCheckConfigurationHttpGet.
92
+
93
+ 端口。
94
+
95
+ :param port: The port of this HealthCheckConfigurationHttpGet.
96
+ :type port: int
97
+ """
98
+ self._port = port
99
+
100
+ @property
101
+ def scheme(self):
102
+ r"""Gets the scheme of this HealthCheckConfigurationHttpGet.
103
+
104
+ 协议。
105
+
106
+ :return: The scheme of this HealthCheckConfigurationHttpGet.
107
+ :rtype: str
108
+ """
109
+ return self._scheme
110
+
111
+ @scheme.setter
112
+ def scheme(self, scheme):
113
+ r"""Sets the scheme of this HealthCheckConfigurationHttpGet.
114
+
115
+ 协议。
116
+
117
+ :param scheme: The scheme of this HealthCheckConfigurationHttpGet.
118
+ :type scheme: str
119
+ """
120
+ self._scheme = scheme
121
+
122
+ def to_dict(self):
123
+ result = {}
124
+
125
+ for attr, _ in self.openapi_types.items():
126
+ value = getattr(self, attr)
127
+ if isinstance(value, list):
128
+ result[attr] = list(map(
129
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130
+ value
131
+ ))
132
+ elif hasattr(value, "to_dict"):
133
+ result[attr] = value.to_dict()
134
+ elif isinstance(value, dict):
135
+ result[attr] = dict(map(
136
+ lambda item: (item[0], item[1].to_dict())
137
+ if hasattr(item[1], "to_dict") else item,
138
+ value.items()
139
+ ))
140
+ else:
141
+ if attr in self.sensitive_list:
142
+ result[attr] = "****"
143
+ else:
144
+ result[attr] = value
145
+
146
+ return result
147
+
148
+ def to_str(self):
149
+ """Returns the string representation of the model"""
150
+ import simplejson as json
151
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
152
+
153
+ def __repr__(self):
154
+ """For `print`"""
155
+ return self.to_str()
156
+
157
+ def __eq__(self, other):
158
+ """Returns true if both objects are equal"""
159
+ if not isinstance(other, HealthCheckConfigurationHttpGet):
160
+ return False
161
+
162
+ return self.__dict__ == other.__dict__
163
+
164
+ def __ne__(self, other):
165
+ """Returns true if both objects are not equal"""
166
+ return not self == other
@@ -0,0 +1,299 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class HealthCheckConfigurationLivenessProbe:
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
+ 'period_seconds': 'int',
19
+ 'initial_delay_seconds': 'int',
20
+ 'timeout_seconds': 'int',
21
+ 'success_threshold': 'int',
22
+ 'failure_threshold': 'int',
23
+ 'http_get': 'HealthCheckConfigurationHttpGet',
24
+ 'tcp_socket': 'HealthCheckConfigurationTcpSocket',
25
+ '_exec': 'HealthCheckConfigurationExec'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'period_seconds': 'periodSeconds',
30
+ 'initial_delay_seconds': 'initialDelaySeconds',
31
+ 'timeout_seconds': 'timeoutSeconds',
32
+ 'success_threshold': 'successThreshold',
33
+ 'failure_threshold': 'failureThreshold',
34
+ 'http_get': 'httpGet',
35
+ 'tcp_socket': 'tcpSocket',
36
+ '_exec': 'exec'
37
+ }
38
+
39
+ def __init__(self, period_seconds=None, initial_delay_seconds=None, timeout_seconds=None, success_threshold=None, failure_threshold=None, http_get=None, tcp_socket=None, _exec=None):
40
+ r"""HealthCheckConfigurationLivenessProbe
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param period_seconds: 检测周期,单位为s。
45
+ :type period_seconds: int
46
+ :param initial_delay_seconds: 延迟时间,单位为s。
47
+ :type initial_delay_seconds: int
48
+ :param timeout_seconds: 超时时间,单位为s。
49
+ :type timeout_seconds: int
50
+ :param success_threshold: 成功阈值。
51
+ :type success_threshold: int
52
+ :param failure_threshold: 最大失败次数。
53
+ :type failure_threshold: int
54
+ :param http_get:
55
+ :type http_get: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationHttpGet`
56
+ :param tcp_socket:
57
+ :type tcp_socket: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationTcpSocket`
58
+ :param _exec:
59
+ :type _exec: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationExec`
60
+ """
61
+
62
+
63
+
64
+ self._period_seconds = None
65
+ self._initial_delay_seconds = None
66
+ self._timeout_seconds = None
67
+ self._success_threshold = None
68
+ self._failure_threshold = None
69
+ self._http_get = None
70
+ self._tcp_socket = None
71
+ self.__exec = None
72
+ self.discriminator = None
73
+
74
+ if period_seconds is not None:
75
+ self.period_seconds = period_seconds
76
+ if initial_delay_seconds is not None:
77
+ self.initial_delay_seconds = initial_delay_seconds
78
+ if timeout_seconds is not None:
79
+ self.timeout_seconds = timeout_seconds
80
+ if success_threshold is not None:
81
+ self.success_threshold = success_threshold
82
+ if failure_threshold is not None:
83
+ self.failure_threshold = failure_threshold
84
+ if http_get is not None:
85
+ self.http_get = http_get
86
+ if tcp_socket is not None:
87
+ self.tcp_socket = tcp_socket
88
+ if _exec is not None:
89
+ self._exec = _exec
90
+
91
+ @property
92
+ def period_seconds(self):
93
+ r"""Gets the period_seconds of this HealthCheckConfigurationLivenessProbe.
94
+
95
+ 检测周期,单位为s。
96
+
97
+ :return: The period_seconds of this HealthCheckConfigurationLivenessProbe.
98
+ :rtype: int
99
+ """
100
+ return self._period_seconds
101
+
102
+ @period_seconds.setter
103
+ def period_seconds(self, period_seconds):
104
+ r"""Sets the period_seconds of this HealthCheckConfigurationLivenessProbe.
105
+
106
+ 检测周期,单位为s。
107
+
108
+ :param period_seconds: The period_seconds of this HealthCheckConfigurationLivenessProbe.
109
+ :type period_seconds: int
110
+ """
111
+ self._period_seconds = period_seconds
112
+
113
+ @property
114
+ def initial_delay_seconds(self):
115
+ r"""Gets the initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
116
+
117
+ 延迟时间,单位为s。
118
+
119
+ :return: The initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
120
+ :rtype: int
121
+ """
122
+ return self._initial_delay_seconds
123
+
124
+ @initial_delay_seconds.setter
125
+ def initial_delay_seconds(self, initial_delay_seconds):
126
+ r"""Sets the initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
127
+
128
+ 延迟时间,单位为s。
129
+
130
+ :param initial_delay_seconds: The initial_delay_seconds of this HealthCheckConfigurationLivenessProbe.
131
+ :type initial_delay_seconds: int
132
+ """
133
+ self._initial_delay_seconds = initial_delay_seconds
134
+
135
+ @property
136
+ def timeout_seconds(self):
137
+ r"""Gets the timeout_seconds of this HealthCheckConfigurationLivenessProbe.
138
+
139
+ 超时时间,单位为s。
140
+
141
+ :return: The timeout_seconds of this HealthCheckConfigurationLivenessProbe.
142
+ :rtype: int
143
+ """
144
+ return self._timeout_seconds
145
+
146
+ @timeout_seconds.setter
147
+ def timeout_seconds(self, timeout_seconds):
148
+ r"""Sets the timeout_seconds of this HealthCheckConfigurationLivenessProbe.
149
+
150
+ 超时时间,单位为s。
151
+
152
+ :param timeout_seconds: The timeout_seconds of this HealthCheckConfigurationLivenessProbe.
153
+ :type timeout_seconds: int
154
+ """
155
+ self._timeout_seconds = timeout_seconds
156
+
157
+ @property
158
+ def success_threshold(self):
159
+ r"""Gets the success_threshold of this HealthCheckConfigurationLivenessProbe.
160
+
161
+ 成功阈值。
162
+
163
+ :return: The success_threshold of this HealthCheckConfigurationLivenessProbe.
164
+ :rtype: int
165
+ """
166
+ return self._success_threshold
167
+
168
+ @success_threshold.setter
169
+ def success_threshold(self, success_threshold):
170
+ r"""Sets the success_threshold of this HealthCheckConfigurationLivenessProbe.
171
+
172
+ 成功阈值。
173
+
174
+ :param success_threshold: The success_threshold of this HealthCheckConfigurationLivenessProbe.
175
+ :type success_threshold: int
176
+ """
177
+ self._success_threshold = success_threshold
178
+
179
+ @property
180
+ def failure_threshold(self):
181
+ r"""Gets the failure_threshold of this HealthCheckConfigurationLivenessProbe.
182
+
183
+ 最大失败次数。
184
+
185
+ :return: The failure_threshold of this HealthCheckConfigurationLivenessProbe.
186
+ :rtype: int
187
+ """
188
+ return self._failure_threshold
189
+
190
+ @failure_threshold.setter
191
+ def failure_threshold(self, failure_threshold):
192
+ r"""Sets the failure_threshold of this HealthCheckConfigurationLivenessProbe.
193
+
194
+ 最大失败次数。
195
+
196
+ :param failure_threshold: The failure_threshold of this HealthCheckConfigurationLivenessProbe.
197
+ :type failure_threshold: int
198
+ """
199
+ self._failure_threshold = failure_threshold
200
+
201
+ @property
202
+ def http_get(self):
203
+ r"""Gets the http_get of this HealthCheckConfigurationLivenessProbe.
204
+
205
+ :return: The http_get of this HealthCheckConfigurationLivenessProbe.
206
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationHttpGet`
207
+ """
208
+ return self._http_get
209
+
210
+ @http_get.setter
211
+ def http_get(self, http_get):
212
+ r"""Sets the http_get of this HealthCheckConfigurationLivenessProbe.
213
+
214
+ :param http_get: The http_get of this HealthCheckConfigurationLivenessProbe.
215
+ :type http_get: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationHttpGet`
216
+ """
217
+ self._http_get = http_get
218
+
219
+ @property
220
+ def tcp_socket(self):
221
+ r"""Gets the tcp_socket of this HealthCheckConfigurationLivenessProbe.
222
+
223
+ :return: The tcp_socket of this HealthCheckConfigurationLivenessProbe.
224
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationTcpSocket`
225
+ """
226
+ return self._tcp_socket
227
+
228
+ @tcp_socket.setter
229
+ def tcp_socket(self, tcp_socket):
230
+ r"""Sets the tcp_socket of this HealthCheckConfigurationLivenessProbe.
231
+
232
+ :param tcp_socket: The tcp_socket of this HealthCheckConfigurationLivenessProbe.
233
+ :type tcp_socket: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationTcpSocket`
234
+ """
235
+ self._tcp_socket = tcp_socket
236
+
237
+ @property
238
+ def _exec(self):
239
+ r"""Gets the _exec of this HealthCheckConfigurationLivenessProbe.
240
+
241
+ :return: The _exec of this HealthCheckConfigurationLivenessProbe.
242
+ :rtype: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationExec`
243
+ """
244
+ return self.__exec
245
+
246
+ @_exec.setter
247
+ def _exec(self, _exec):
248
+ r"""Sets the _exec of this HealthCheckConfigurationLivenessProbe.
249
+
250
+ :param _exec: The _exec of this HealthCheckConfigurationLivenessProbe.
251
+ :type _exec: :class:`huaweicloudsdkcae.v1.HealthCheckConfigurationExec`
252
+ """
253
+ self.__exec = _exec
254
+
255
+ def to_dict(self):
256
+ result = {}
257
+
258
+ for attr, _ in self.openapi_types.items():
259
+ value = getattr(self, attr)
260
+ if isinstance(value, list):
261
+ result[attr] = list(map(
262
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
263
+ value
264
+ ))
265
+ elif hasattr(value, "to_dict"):
266
+ result[attr] = value.to_dict()
267
+ elif isinstance(value, dict):
268
+ result[attr] = dict(map(
269
+ lambda item: (item[0], item[1].to_dict())
270
+ if hasattr(item[1], "to_dict") else item,
271
+ value.items()
272
+ ))
273
+ else:
274
+ if attr in self.sensitive_list:
275
+ result[attr] = "****"
276
+ else:
277
+ result[attr] = value
278
+
279
+ return result
280
+
281
+ def to_str(self):
282
+ """Returns the string representation of the model"""
283
+ import simplejson as json
284
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
285
+
286
+ def __repr__(self):
287
+ """For `print`"""
288
+ return self.to_str()
289
+
290
+ def __eq__(self, other):
291
+ """Returns true if both objects are equal"""
292
+ if not isinstance(other, HealthCheckConfigurationLivenessProbe):
293
+ return False
294
+
295
+ return self.__dict__ == other.__dict__
296
+
297
+ def __ne__(self, other):
298
+ """Returns true if both objects are not equal"""
299
+ return not self == other