huaweicloudsdkcae 3.1.160__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.

Potentially problematic release.


This version of huaweicloudsdkcae might be problematic. Click here for more details.

Files changed (260) 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 +144 -0
  7. huaweicloudsdkcae/v1/model/access_configuration_data_items.py +368 -0
  8. huaweicloudsdkcae/v1/model/access_configuration_http_path.py +173 -0
  9. huaweicloudsdkcae/v1/model/access_configuration_metadata.py +115 -0
  10. huaweicloudsdkcae/v1/model/access_configuration_port.py +372 -0
  11. huaweicloudsdkcae/v1/model/access_control.py +144 -0
  12. huaweicloudsdkcae/v1/model/action_kind_obj.py +87 -0
  13. huaweicloudsdkcae/v1/model/action_on_component_build.py +140 -0
  14. huaweicloudsdkcae/v1/model/action_on_component_source.py +198 -0
  15. huaweicloudsdkcae/v1/model/action_on_component_spec.py +219 -0
  16. huaweicloudsdkcae/v1/model/agency.py +158 -0
  17. huaweicloudsdkcae/v1/model/agency_item.py +115 -0
  18. huaweicloudsdkcae/v1/model/agency_kind_obj.py +87 -0
  19. huaweicloudsdkcae/v1/model/agency_metadata.py +139 -0
  20. huaweicloudsdkcae/v1/model/api_version_obj.py +87 -0
  21. huaweicloudsdkcae/v1/model/app_info.py +144 -0
  22. huaweicloudsdkcae/v1/model/application_item.py +202 -0
  23. huaweicloudsdkcae/v1/model/application_kind_obj.py +87 -0
  24. huaweicloudsdkcae/v1/model/application_metadata.py +202 -0
  25. huaweicloudsdkcae/v1/model/archive.py +115 -0
  26. huaweicloudsdkcae/v1/model/build.py +138 -0
  27. huaweicloudsdkcae/v1/model/cert_item.py +136 -0
  28. huaweicloudsdkcae/v1/model/cert_req.py +182 -0
  29. huaweicloudsdkcae/v1/model/certificate_kind_obj.py +87 -0
  30. huaweicloudsdkcae/v1/model/cloud_storage_log_path_info.py +144 -0
  31. huaweicloudsdkcae/v1/model/component_configuration_kind_obj.py +87 -0
  32. huaweicloudsdkcae/v1/model/component_execution_result.py +202 -0
  33. huaweicloudsdkcae/v1/model/component_info.py +144 -0
  34. huaweicloudsdkcae/v1/model/component_item.py +256 -0
  35. huaweicloudsdkcae/v1/model/component_kind_obj.py +87 -0
  36. huaweicloudsdkcae/v1/model/component_snapshot_context.py +724 -0
  37. huaweicloudsdkcae/v1/model/component_snapshot_item.py +227 -0
  38. huaweicloudsdkcae/v1/model/component_snapshot_kind_obj.py +87 -0
  39. huaweicloudsdkcae/v1/model/component_spec.py +480 -0
  40. huaweicloudsdkcae/v1/model/configuration.py +256 -0
  41. huaweicloudsdkcae/v1/model/configuration_data.py +136 -0
  42. huaweicloudsdkcae/v1/model/configuration_data_metadata.py +115 -0
  43. huaweicloudsdkcae/v1/model/configuration_item.py +138 -0
  44. huaweicloudsdkcae/v1/model/configuration_request_data_spec.py +903 -0
  45. huaweicloudsdkcae/v1/model/configuration_request_data_spec_post_start.py +111 -0
  46. huaweicloudsdkcae/v1/model/configuration_request_data_spec_pre_stop.py +111 -0
  47. huaweicloudsdkcae/v1/model/configuration_response_data_spec.py +1193 -0
  48. huaweicloudsdkcae/v1/model/configuration_response_data_spec_post_start.py +111 -0
  49. huaweicloudsdkcae/v1/model/configuration_response_data_spec_pre_stop.py +111 -0
  50. huaweicloudsdkcae/v1/model/create_agency_request.py +111 -0
  51. huaweicloudsdkcae/v1/model/create_agency_response.py +85 -0
  52. huaweicloudsdkcae/v1/model/create_application_request.py +168 -0
  53. huaweicloudsdkcae/v1/model/create_application_request_body.py +158 -0
  54. huaweicloudsdkcae/v1/model/create_application_request_body_metadata.py +114 -0
  55. huaweicloudsdkcae/v1/model/create_application_response.py +162 -0
  56. huaweicloudsdkcae/v1/model/create_certificate_request.py +168 -0
  57. huaweicloudsdkcae/v1/model/create_certificate_response.py +166 -0
  58. huaweicloudsdkcae/v1/model/create_component_configuration_request.py +224 -0
  59. huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py +162 -0
  60. huaweicloudsdkcae/v1/model/create_component_configuration_response.py +85 -0
  61. huaweicloudsdkcae/v1/model/create_component_request.py +196 -0
  62. huaweicloudsdkcae/v1/model/create_component_request_body.py +182 -0
  63. huaweicloudsdkcae/v1/model/create_component_response.py +187 -0
  64. huaweicloudsdkcae/v1/model/create_component_spec.py +306 -0
  65. huaweicloudsdkcae/v1/model/create_component_with_configuration_request.py +196 -0
  66. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py +213 -0
  67. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_metadata.py +142 -0
  68. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_spec.py +244 -0
  69. huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py +241 -0
  70. huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py +115 -0
  71. huaweicloudsdkcae/v1/model/create_domain_req.py +158 -0
  72. huaweicloudsdkcae/v1/model/create_domain_request.py +168 -0
  73. huaweicloudsdkcae/v1/model/create_domain_response.py +170 -0
  74. huaweicloudsdkcae/v1/model/create_environment_request.py +140 -0
  75. huaweicloudsdkcae/v1/model/create_environment_request_body.py +158 -0
  76. huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +143 -0
  77. huaweicloudsdkcae/v1/model/create_environment_response.py +116 -0
  78. huaweicloudsdkcae/v1/model/create_meta_cert.py +114 -0
  79. huaweicloudsdkcae/v1/model/create_meta_domain.py +114 -0
  80. huaweicloudsdkcae/v1/model/create_monitor_system_request.py +168 -0
  81. huaweicloudsdkcae/v1/model/create_monitor_system_response.py +85 -0
  82. huaweicloudsdkcae/v1/model/create_notice_rule_item.py +244 -0
  83. huaweicloudsdkcae/v1/model/create_notice_rule_req.py +166 -0
  84. huaweicloudsdkcae/v1/model/create_notice_rule_request.py +140 -0
  85. huaweicloudsdkcae/v1/model/create_notice_rule_resp_item.py +277 -0
  86. huaweicloudsdkcae/v1/model/create_notice_rule_response.py +170 -0
  87. huaweicloudsdkcae/v1/model/create_or_update_secret_detail.py +142 -0
  88. huaweicloudsdkcae/v1/model/create_or_update_secret_req.py +166 -0
  89. huaweicloudsdkcae/v1/model/create_secret_request.py +168 -0
  90. huaweicloudsdkcae/v1/model/create_secret_response.py +170 -0
  91. huaweicloudsdkcae/v1/model/create_spec_cert.py +142 -0
  92. huaweicloudsdkcae/v1/model/create_timer_rule_req.py +161 -0
  93. huaweicloudsdkcae/v1/model/create_timer_rule_request.py +168 -0
  94. huaweicloudsdkcae/v1/model/create_timer_rule_response.py +162 -0
  95. huaweicloudsdkcae/v1/model/create_volume_req.py +158 -0
  96. huaweicloudsdkcae/v1/model/create_volume_request.py +168 -0
  97. huaweicloudsdkcae/v1/model/create_volume_response.py +85 -0
  98. huaweicloudsdkcae/v1/model/create_vpc_egress_request.py +168 -0
  99. huaweicloudsdkcae/v1/model/create_vpc_egress_response.py +162 -0
  100. huaweicloudsdkcae/v1/model/cron_trigger_scheduler.py +144 -0
  101. huaweicloudsdkcae/v1/model/delete_application_request.py +171 -0
  102. huaweicloudsdkcae/v1/model/delete_application_response.py +85 -0
  103. huaweicloudsdkcae/v1/model/delete_certificate_request.py +171 -0
  104. huaweicloudsdkcae/v1/model/delete_certificate_response.py +85 -0
  105. huaweicloudsdkcae/v1/model/delete_component_configuration_request.py +199 -0
  106. huaweicloudsdkcae/v1/model/delete_component_configuration_response.py +85 -0
  107. huaweicloudsdkcae/v1/model/delete_component_request.py +199 -0
  108. huaweicloudsdkcae/v1/model/delete_component_response.py +116 -0
  109. huaweicloudsdkcae/v1/model/delete_domain_request.py +171 -0
  110. huaweicloudsdkcae/v1/model/delete_domain_response.py +85 -0
  111. huaweicloudsdkcae/v1/model/delete_environment_request.py +143 -0
  112. huaweicloudsdkcae/v1/model/delete_environment_response.py +116 -0
  113. huaweicloudsdkcae/v1/model/delete_notice_rule_request.py +139 -0
  114. huaweicloudsdkcae/v1/model/delete_notice_rule_response.py +112 -0
  115. huaweicloudsdkcae/v1/model/delete_secret_request.py +143 -0
  116. huaweicloudsdkcae/v1/model/delete_secret_response.py +85 -0
  117. huaweicloudsdkcae/v1/model/delete_timer_rule_request.py +171 -0
  118. huaweicloudsdkcae/v1/model/delete_timer_rule_response.py +85 -0
  119. huaweicloudsdkcae/v1/model/delete_volume_request.py +171 -0
  120. huaweicloudsdkcae/v1/model/delete_volume_response.py +166 -0
  121. huaweicloudsdkcae/v1/model/delete_vpc_egress_request.py +171 -0
  122. huaweicloudsdkcae/v1/model/delete_vpc_egress_response.py +85 -0
  123. huaweicloudsdkcae/v1/model/domain_item.py +111 -0
  124. huaweicloudsdkcae/v1/model/domain_kind_obj.py +87 -0
  125. huaweicloudsdkcae/v1/model/egress_cidr.py +171 -0
  126. huaweicloudsdkcae/v1/model/eip_kind_obj.py +87 -0
  127. huaweicloudsdkcae/v1/model/environment_item.py +289 -0
  128. huaweicloudsdkcae/v1/model/environment_kind_obj.py +87 -0
  129. huaweicloudsdkcae/v1/model/execute_action_request.py +224 -0
  130. huaweicloudsdkcae/v1/model/execute_action_request_body.py +184 -0
  131. huaweicloudsdkcae/v1/model/execute_action_request_body_metadata.py +143 -0
  132. huaweicloudsdkcae/v1/model/execute_action_response.py +116 -0
  133. huaweicloudsdkcae/v1/model/execution_details.py +144 -0
  134. huaweicloudsdkcae/v1/model/health_check_configuration_exec.py +115 -0
  135. huaweicloudsdkcae/v1/model/health_check_configuration_http_get.py +173 -0
  136. huaweicloudsdkcae/v1/model/health_check_configuration_liveness_probe.py +306 -0
  137. huaweicloudsdkcae/v1/model/health_check_configuration_readiness_probe.py +306 -0
  138. huaweicloudsdkcae/v1/model/health_check_configuration_startup_probe.py +306 -0
  139. huaweicloudsdkcae/v1/model/health_check_configuration_tcp_socket.py +115 -0
  140. huaweicloudsdkcae/v1/model/instance.py +173 -0
  141. huaweicloudsdkcae/v1/model/job_kind_obj.py +87 -0
  142. huaweicloudsdkcae/v1/model/job_spec.py +173 -0
  143. huaweicloudsdkcae/v1/model/life_cycle_configuration_exec.py +115 -0
  144. huaweicloudsdkcae/v1/model/list_agencies_request.py +84 -0
  145. huaweicloudsdkcae/v1/model/list_agencies_response.py +166 -0
  146. huaweicloudsdkcae/v1/model/list_applications_request.py +143 -0
  147. huaweicloudsdkcae/v1/model/list_applications_response.py +166 -0
  148. huaweicloudsdkcae/v1/model/list_certificates_request.py +143 -0
  149. huaweicloudsdkcae/v1/model/list_certificates_response.py +166 -0
  150. huaweicloudsdkcae/v1/model/list_component_configurations_request.py +228 -0
  151. huaweicloudsdkcae/v1/model/list_component_configurations_response.py +174 -0
  152. huaweicloudsdkcae/v1/model/list_component_configurations_response_data.py +136 -0
  153. huaweicloudsdkcae/v1/model/list_component_instances_request.py +199 -0
  154. huaweicloudsdkcae/v1/model/list_component_instances_response.py +166 -0
  155. huaweicloudsdkcae/v1/model/list_component_snapshots_request.py +199 -0
  156. huaweicloudsdkcae/v1/model/list_component_snapshots_response.py +166 -0
  157. huaweicloudsdkcae/v1/model/list_components_request.py +287 -0
  158. huaweicloudsdkcae/v1/model/list_components_response.py +195 -0
  159. huaweicloudsdkcae/v1/model/list_domains_request.py +143 -0
  160. huaweicloudsdkcae/v1/model/list_domains_response.py +170 -0
  161. huaweicloudsdkcae/v1/model/list_effective_components_request.py +143 -0
  162. huaweicloudsdkcae/v1/model/list_effective_components_response.py +174 -0
  163. huaweicloudsdkcae/v1/model/list_eip_response_body_spec.py +136 -0
  164. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_egress.py +173 -0
  165. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_ingress.py +173 -0
  166. huaweicloudsdkcae/v1/model/list_eips_request.py +143 -0
  167. huaweicloudsdkcae/v1/model/list_eips_response.py +162 -0
  168. huaweicloudsdkcae/v1/model/list_environments_request.py +115 -0
  169. huaweicloudsdkcae/v1/model/list_environments_response.py +166 -0
  170. huaweicloudsdkcae/v1/model/list_notice_rules_request.py +115 -0
  171. huaweicloudsdkcae/v1/model/list_notice_rules_response.py +174 -0
  172. huaweicloudsdkcae/v1/model/list_secrets_request.py +115 -0
  173. huaweicloudsdkcae/v1/model/list_secrets_response.py +174 -0
  174. huaweicloudsdkcae/v1/model/list_timer_rules_request.py +143 -0
  175. huaweicloudsdkcae/v1/model/list_timer_rules_response.py +162 -0
  176. huaweicloudsdkcae/v1/model/list_volumes_request.py +171 -0
  177. huaweicloudsdkcae/v1/model/list_volumes_response.py +166 -0
  178. huaweicloudsdkcae/v1/model/list_vpc_egress_request.py +143 -0
  179. huaweicloudsdkcae/v1/model/list_vpc_egress_response.py +162 -0
  180. huaweicloudsdkcae/v1/model/meta_cert.py +144 -0
  181. huaweicloudsdkcae/v1/model/meta_domain.py +173 -0
  182. huaweicloudsdkcae/v1/model/metadata_response.py +231 -0
  183. huaweicloudsdkcae/v1/model/monitor_system_kind_obj.py +87 -0
  184. huaweicloudsdkcae/v1/model/monitor_system_request_body.py +161 -0
  185. huaweicloudsdkcae/v1/model/monitor_system_request_body_spec.py +313 -0
  186. huaweicloudsdkcae/v1/model/mount_component.py +260 -0
  187. huaweicloudsdkcae/v1/model/notice_rule_notification.py +171 -0
  188. huaweicloudsdkcae/v1/model/notice_rule_scope.py +201 -0
  189. huaweicloudsdkcae/v1/model/repo.py +173 -0
  190. huaweicloudsdkcae/v1/model/resource_limit.py +142 -0
  191. huaweicloudsdkcae/v1/model/resource_limit_for_upgrade.py +144 -0
  192. huaweicloudsdkcae/v1/model/resources_credential.py +144 -0
  193. huaweicloudsdkcae/v1/model/retry_job_request.py +171 -0
  194. huaweicloudsdkcae/v1/model/retry_job_response.py +85 -0
  195. huaweicloudsdkcae/v1/model/scale_configuration_data_advanced.py +231 -0
  196. huaweicloudsdkcae/v1/model/scale_configuration_data_trigger.py +140 -0
  197. huaweicloudsdkcae/v1/model/scaling_trigger_meta.py +202 -0
  198. huaweicloudsdkcae/v1/model/secret_detail.py +283 -0
  199. huaweicloudsdkcae/v1/model/show_application_request.py +171 -0
  200. huaweicloudsdkcae/v1/model/show_application_response.py +162 -0
  201. huaweicloudsdkcae/v1/model/show_component_request.py +199 -0
  202. huaweicloudsdkcae/v1/model/show_component_response.py +187 -0
  203. huaweicloudsdkcae/v1/model/show_execution_result_request.py +171 -0
  204. huaweicloudsdkcae/v1/model/show_execution_result_response.py +162 -0
  205. huaweicloudsdkcae/v1/model/show_job_request.py +171 -0
  206. huaweicloudsdkcae/v1/model/show_job_response.py +162 -0
  207. huaweicloudsdkcae/v1/model/show_monitor_system_request.py +143 -0
  208. huaweicloudsdkcae/v1/model/show_monitor_system_response.py +162 -0
  209. huaweicloudsdkcae/v1/model/show_monitor_system_response_body_spec.py +434 -0
  210. huaweicloudsdkcae/v1/model/show_notice_rule_request.py +139 -0
  211. huaweicloudsdkcae/v1/model/show_notice_rule_response.py +170 -0
  212. huaweicloudsdkcae/v1/model/source.py +196 -0
  213. huaweicloudsdkcae/v1/model/spec_cert.py +173 -0
  214. huaweicloudsdkcae/v1/model/task.py +260 -0
  215. huaweicloudsdkcae/v1/model/time_rule_kind_obj.py +87 -0
  216. huaweicloudsdkcae/v1/model/timer_rule_details.py +434 -0
  217. huaweicloudsdkcae/v1/model/trigger_policy.py +201 -0
  218. huaweicloudsdkcae/v1/model/update_cert_req.py +158 -0
  219. huaweicloudsdkcae/v1/model/update_certificate_request.py +196 -0
  220. huaweicloudsdkcae/v1/model/update_certificate_response.py +85 -0
  221. huaweicloudsdkcae/v1/model/update_component_request.py +224 -0
  222. huaweicloudsdkcae/v1/model/update_component_request_body.py +182 -0
  223. huaweicloudsdkcae/v1/model/update_component_request_metadata.py +143 -0
  224. huaweicloudsdkcae/v1/model/update_component_request_spec.py +218 -0
  225. huaweicloudsdkcae/v1/model/update_component_response.py +85 -0
  226. huaweicloudsdkcae/v1/model/update_eip_request.py +168 -0
  227. huaweicloudsdkcae/v1/model/update_eip_request_body.py +161 -0
  228. huaweicloudsdkcae/v1/model/update_eip_request_body_spec.py +136 -0
  229. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_egress.py +144 -0
  230. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_ingress.py +144 -0
  231. huaweicloudsdkcae/v1/model/update_eip_response.py +85 -0
  232. huaweicloudsdkcae/v1/model/update_monitor_system_request.py +196 -0
  233. huaweicloudsdkcae/v1/model/update_monitor_system_response.py +85 -0
  234. huaweicloudsdkcae/v1/model/update_notice_rule_item.py +192 -0
  235. huaweicloudsdkcae/v1/model/update_notice_rule_req.py +166 -0
  236. huaweicloudsdkcae/v1/model/update_notice_rule_request.py +164 -0
  237. huaweicloudsdkcae/v1/model/update_notice_rule_response.py +170 -0
  238. huaweicloudsdkcae/v1/model/update_secret_request.py +168 -0
  239. huaweicloudsdkcae/v1/model/update_secret_response.py +170 -0
  240. huaweicloudsdkcae/v1/model/update_spec_cert.py +142 -0
  241. huaweicloudsdkcae/v1/model/update_timer_rule_details.py +312 -0
  242. huaweicloudsdkcae/v1/model/update_timer_rule_req.py +158 -0
  243. huaweicloudsdkcae/v1/model/update_timer_rule_request.py +196 -0
  244. huaweicloudsdkcae/v1/model/update_timer_rule_response.py +85 -0
  245. huaweicloudsdkcae/v1/model/volume.py +289 -0
  246. huaweicloudsdkcae/v1/model/volume_configuration_data_volume.py +256 -0
  247. huaweicloudsdkcae/v1/model/volume_configuration_mount_info.py +173 -0
  248. huaweicloudsdkcae/v1/model/volume_kind_obj.py +87 -0
  249. huaweicloudsdkcae/v1/model/volume_spec.py +199 -0
  250. huaweicloudsdkcae/v1/model/vpc_egress_kind_obj.py +87 -0
  251. huaweicloudsdkcae/v1/model/vpc_egress_request_body.py +161 -0
  252. huaweicloudsdkcae/v1/model/vpc_egress_request_body_spec.py +114 -0
  253. huaweicloudsdkcae/v1/model/vpc_egress_response_body_spec.py +173 -0
  254. huaweicloudsdkcae/v1/region/__init__.py +0 -0
  255. huaweicloudsdkcae/v1/region/cae_region.py +60 -0
  256. huaweicloudsdkcae-3.1.160.dist-info/LICENSE +13 -0
  257. huaweicloudsdkcae-3.1.160.dist-info/METADATA +26 -0
  258. huaweicloudsdkcae-3.1.160.dist-info/RECORD +260 -0
  259. huaweicloudsdkcae-3.1.160.dist-info/WHEEL +5 -0
  260. huaweicloudsdkcae-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,256 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class Configuration:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'data': 'ListComponentConfigurationsResponseData',
21
+ 'operated_at': 'datetime',
22
+ 'operation_id': 'str',
23
+ 'type': 'str',
24
+ 'is_activated': 'bool',
25
+ 'is_using': 'bool'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'data': 'data',
30
+ 'operated_at': 'operated_at',
31
+ 'operation_id': 'operation_id',
32
+ 'type': 'type',
33
+ 'is_activated': 'is_activated',
34
+ 'is_using': 'is_using'
35
+ }
36
+
37
+ def __init__(self, data=None, operated_at=None, operation_id=None, type=None, is_activated=None, is_using=None):
38
+ r"""Configuration
39
+
40
+ The model defined in huaweicloud sdk
41
+
42
+ :param data:
43
+ :type data: :class:`huaweicloudsdkcae.v1.ListComponentConfigurationsResponseData`
44
+ :param operated_at: 操作时间。
45
+ :type operated_at: datetime
46
+ :param operation_id: 操作ID。
47
+ :type operation_id: str
48
+ :param type: 组件配置类型。
49
+ :type type: str
50
+ :param is_activated: 配置是否生效过。
51
+ :type is_activated: bool
52
+ :param is_using: 配置是否正在使用。
53
+ :type is_using: bool
54
+ """
55
+
56
+
57
+
58
+ self._data = None
59
+ self._operated_at = None
60
+ self._operation_id = None
61
+ self._type = None
62
+ self._is_activated = None
63
+ self._is_using = None
64
+ self.discriminator = None
65
+
66
+ if data is not None:
67
+ self.data = data
68
+ if operated_at is not None:
69
+ self.operated_at = operated_at
70
+ if operation_id is not None:
71
+ self.operation_id = operation_id
72
+ if type is not None:
73
+ self.type = type
74
+ if is_activated is not None:
75
+ self.is_activated = is_activated
76
+ if is_using is not None:
77
+ self.is_using = is_using
78
+
79
+ @property
80
+ def data(self):
81
+ r"""Gets the data of this Configuration.
82
+
83
+ :return: The data of this Configuration.
84
+ :rtype: :class:`huaweicloudsdkcae.v1.ListComponentConfigurationsResponseData`
85
+ """
86
+ return self._data
87
+
88
+ @data.setter
89
+ def data(self, data):
90
+ r"""Sets the data of this Configuration.
91
+
92
+ :param data: The data of this Configuration.
93
+ :type data: :class:`huaweicloudsdkcae.v1.ListComponentConfigurationsResponseData`
94
+ """
95
+ self._data = data
96
+
97
+ @property
98
+ def operated_at(self):
99
+ r"""Gets the operated_at of this Configuration.
100
+
101
+ 操作时间。
102
+
103
+ :return: The operated_at of this Configuration.
104
+ :rtype: datetime
105
+ """
106
+ return self._operated_at
107
+
108
+ @operated_at.setter
109
+ def operated_at(self, operated_at):
110
+ r"""Sets the operated_at of this Configuration.
111
+
112
+ 操作时间。
113
+
114
+ :param operated_at: The operated_at of this Configuration.
115
+ :type operated_at: datetime
116
+ """
117
+ self._operated_at = operated_at
118
+
119
+ @property
120
+ def operation_id(self):
121
+ r"""Gets the operation_id of this Configuration.
122
+
123
+ 操作ID。
124
+
125
+ :return: The operation_id of this Configuration.
126
+ :rtype: str
127
+ """
128
+ return self._operation_id
129
+
130
+ @operation_id.setter
131
+ def operation_id(self, operation_id):
132
+ r"""Sets the operation_id of this Configuration.
133
+
134
+ 操作ID。
135
+
136
+ :param operation_id: The operation_id of this Configuration.
137
+ :type operation_id: str
138
+ """
139
+ self._operation_id = operation_id
140
+
141
+ @property
142
+ def type(self):
143
+ r"""Gets the type of this Configuration.
144
+
145
+ 组件配置类型。
146
+
147
+ :return: The type of this Configuration.
148
+ :rtype: str
149
+ """
150
+ return self._type
151
+
152
+ @type.setter
153
+ def type(self, type):
154
+ r"""Sets the type of this Configuration.
155
+
156
+ 组件配置类型。
157
+
158
+ :param type: The type of this Configuration.
159
+ :type type: str
160
+ """
161
+ self._type = type
162
+
163
+ @property
164
+ def is_activated(self):
165
+ r"""Gets the is_activated of this Configuration.
166
+
167
+ 配置是否生效过。
168
+
169
+ :return: The is_activated of this Configuration.
170
+ :rtype: bool
171
+ """
172
+ return self._is_activated
173
+
174
+ @is_activated.setter
175
+ def is_activated(self, is_activated):
176
+ r"""Sets the is_activated of this Configuration.
177
+
178
+ 配置是否生效过。
179
+
180
+ :param is_activated: The is_activated of this Configuration.
181
+ :type is_activated: bool
182
+ """
183
+ self._is_activated = is_activated
184
+
185
+ @property
186
+ def is_using(self):
187
+ r"""Gets the is_using of this Configuration.
188
+
189
+ 配置是否正在使用。
190
+
191
+ :return: The is_using of this Configuration.
192
+ :rtype: bool
193
+ """
194
+ return self._is_using
195
+
196
+ @is_using.setter
197
+ def is_using(self, is_using):
198
+ r"""Sets the is_using of this Configuration.
199
+
200
+ 配置是否正在使用。
201
+
202
+ :param is_using: The is_using of this Configuration.
203
+ :type is_using: bool
204
+ """
205
+ self._is_using = is_using
206
+
207
+ def to_dict(self):
208
+ """Returns the model properties as a dict"""
209
+ result = {}
210
+
211
+ for attr, _ in six.iteritems(self.openapi_types):
212
+ value = getattr(self, attr)
213
+ if isinstance(value, list):
214
+ result[attr] = list(map(
215
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
216
+ value
217
+ ))
218
+ elif hasattr(value, "to_dict"):
219
+ result[attr] = value.to_dict()
220
+ elif isinstance(value, dict):
221
+ result[attr] = dict(map(
222
+ lambda item: (item[0], item[1].to_dict())
223
+ if hasattr(item[1], "to_dict") else item,
224
+ value.items()
225
+ ))
226
+ else:
227
+ if attr in self.sensitive_list:
228
+ result[attr] = "****"
229
+ else:
230
+ result[attr] = value
231
+
232
+ return result
233
+
234
+ def to_str(self):
235
+ """Returns the string representation of the model"""
236
+ import simplejson as json
237
+ if six.PY2:
238
+ import sys
239
+ reload(sys)
240
+ sys.setdefaultencoding("utf-8")
241
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
242
+
243
+ def __repr__(self):
244
+ """For `print`"""
245
+ return self.to_str()
246
+
247
+ def __eq__(self, other):
248
+ """Returns true if both objects are equal"""
249
+ if not isinstance(other, Configuration):
250
+ return False
251
+
252
+ return self.__dict__ == other.__dict__
253
+
254
+ def __ne__(self, other):
255
+ """Returns true if both objects are not equal"""
256
+ return not self == other
@@ -0,0 +1,136 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ConfigurationData:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'spec': 'ConfigurationRequestDataSpec',
21
+ 'metadata': 'ConfigurationDataMetadata'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'spec': 'spec',
26
+ 'metadata': 'metadata'
27
+ }
28
+
29
+ def __init__(self, spec=None, metadata=None):
30
+ r"""ConfigurationData
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param spec:
35
+ :type spec: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpec`
36
+ :param metadata:
37
+ :type metadata: :class:`huaweicloudsdkcae.v1.ConfigurationDataMetadata`
38
+ """
39
+
40
+
41
+
42
+ self._spec = None
43
+ self._metadata = None
44
+ self.discriminator = None
45
+
46
+ if spec is not None:
47
+ self.spec = spec
48
+ if metadata is not None:
49
+ self.metadata = metadata
50
+
51
+ @property
52
+ def spec(self):
53
+ r"""Gets the spec of this ConfigurationData.
54
+
55
+ :return: The spec of this ConfigurationData.
56
+ :rtype: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpec`
57
+ """
58
+ return self._spec
59
+
60
+ @spec.setter
61
+ def spec(self, spec):
62
+ r"""Sets the spec of this ConfigurationData.
63
+
64
+ :param spec: The spec of this ConfigurationData.
65
+ :type spec: :class:`huaweicloudsdkcae.v1.ConfigurationRequestDataSpec`
66
+ """
67
+ self._spec = spec
68
+
69
+ @property
70
+ def metadata(self):
71
+ r"""Gets the metadata of this ConfigurationData.
72
+
73
+ :return: The metadata of this ConfigurationData.
74
+ :rtype: :class:`huaweicloudsdkcae.v1.ConfigurationDataMetadata`
75
+ """
76
+ return self._metadata
77
+
78
+ @metadata.setter
79
+ def metadata(self, metadata):
80
+ r"""Sets the metadata of this ConfigurationData.
81
+
82
+ :param metadata: The metadata of this ConfigurationData.
83
+ :type metadata: :class:`huaweicloudsdkcae.v1.ConfigurationDataMetadata`
84
+ """
85
+ self._metadata = metadata
86
+
87
+ def to_dict(self):
88
+ """Returns the model properties as a dict"""
89
+ result = {}
90
+
91
+ for attr, _ in six.iteritems(self.openapi_types):
92
+ value = getattr(self, attr)
93
+ if isinstance(value, list):
94
+ result[attr] = list(map(
95
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
96
+ value
97
+ ))
98
+ elif hasattr(value, "to_dict"):
99
+ result[attr] = value.to_dict()
100
+ elif isinstance(value, dict):
101
+ result[attr] = dict(map(
102
+ lambda item: (item[0], item[1].to_dict())
103
+ if hasattr(item[1], "to_dict") else item,
104
+ value.items()
105
+ ))
106
+ else:
107
+ if attr in self.sensitive_list:
108
+ result[attr] = "****"
109
+ else:
110
+ result[attr] = value
111
+
112
+ return result
113
+
114
+ def to_str(self):
115
+ """Returns the string representation of the model"""
116
+ import simplejson as json
117
+ if six.PY2:
118
+ import sys
119
+ reload(sys)
120
+ sys.setdefaultencoding("utf-8")
121
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
122
+
123
+ def __repr__(self):
124
+ """For `print`"""
125
+ return self.to_str()
126
+
127
+ def __eq__(self, other):
128
+ """Returns true if both objects are equal"""
129
+ if not isinstance(other, ConfigurationData):
130
+ return False
131
+
132
+ return self.__dict__ == other.__dict__
133
+
134
+ def __ne__(self, other):
135
+ """Returns true if both objects are not equal"""
136
+ return not self == other
@@ -0,0 +1,115 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ConfigurationDataMetadata:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'annotations': 'dict(str, str)'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'annotations': 'annotations'
25
+ }
26
+
27
+ def __init__(self, annotations=None):
28
+ r"""ConfigurationDataMetadata
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param annotations: 附加参数。 举例:负载均衡分配策略使用加权轮询算法,不启用健康检查。配置如下: - \"kubernetes.io/elb.health-check-flag\": \"off\" - \"kubernetes.io/elb.lb-algorithm\": \"ROUND_ROBIN\"
33
+ :type annotations: dict(str, str)
34
+ """
35
+
36
+
37
+
38
+ self._annotations = None
39
+ self.discriminator = None
40
+
41
+ if annotations is not None:
42
+ self.annotations = annotations
43
+
44
+ @property
45
+ def annotations(self):
46
+ r"""Gets the annotations of this ConfigurationDataMetadata.
47
+
48
+ 附加参数。 举例:负载均衡分配策略使用加权轮询算法,不启用健康检查。配置如下: - \"kubernetes.io/elb.health-check-flag\": \"off\" - \"kubernetes.io/elb.lb-algorithm\": \"ROUND_ROBIN\"
49
+
50
+ :return: The annotations of this ConfigurationDataMetadata.
51
+ :rtype: dict(str, str)
52
+ """
53
+ return self._annotations
54
+
55
+ @annotations.setter
56
+ def annotations(self, annotations):
57
+ r"""Sets the annotations of this ConfigurationDataMetadata.
58
+
59
+ 附加参数。 举例:负载均衡分配策略使用加权轮询算法,不启用健康检查。配置如下: - \"kubernetes.io/elb.health-check-flag\": \"off\" - \"kubernetes.io/elb.lb-algorithm\": \"ROUND_ROBIN\"
60
+
61
+ :param annotations: The annotations of this ConfigurationDataMetadata.
62
+ :type annotations: dict(str, str)
63
+ """
64
+ self._annotations = annotations
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.openapi_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ if attr in self.sensitive_list:
87
+ result[attr] = "****"
88
+ else:
89
+ result[attr] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ import simplejson as json
96
+ if six.PY2:
97
+ import sys
98
+ reload(sys)
99
+ sys.setdefaultencoding("utf-8")
100
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
101
+
102
+ def __repr__(self):
103
+ """For `print`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, ConfigurationDataMetadata):
109
+ return False
110
+
111
+ return self.__dict__ == other.__dict__
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ return not self == other
@@ -0,0 +1,138 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ConfigurationItem:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'type': 'str',
21
+ 'data': 'ConfigurationData'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'type': 'type',
26
+ 'data': 'data'
27
+ }
28
+
29
+ def __init__(self, type=None, data=None):
30
+ r"""ConfigurationItem
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param type: 组件配置类型。
35
+ :type type: str
36
+ :param data:
37
+ :type data: :class:`huaweicloudsdkcae.v1.ConfigurationData`
38
+ """
39
+
40
+
41
+
42
+ self._type = None
43
+ self._data = None
44
+ self.discriminator = None
45
+
46
+ self.type = type
47
+ self.data = data
48
+
49
+ @property
50
+ def type(self):
51
+ r"""Gets the type of this ConfigurationItem.
52
+
53
+ 组件配置类型。
54
+
55
+ :return: The type of this ConfigurationItem.
56
+ :rtype: str
57
+ """
58
+ return self._type
59
+
60
+ @type.setter
61
+ def type(self, type):
62
+ r"""Sets the type of this ConfigurationItem.
63
+
64
+ 组件配置类型。
65
+
66
+ :param type: The type of this ConfigurationItem.
67
+ :type type: str
68
+ """
69
+ self._type = type
70
+
71
+ @property
72
+ def data(self):
73
+ r"""Gets the data of this ConfigurationItem.
74
+
75
+ :return: The data of this ConfigurationItem.
76
+ :rtype: :class:`huaweicloudsdkcae.v1.ConfigurationData`
77
+ """
78
+ return self._data
79
+
80
+ @data.setter
81
+ def data(self, data):
82
+ r"""Sets the data of this ConfigurationItem.
83
+
84
+ :param data: The data of this ConfigurationItem.
85
+ :type data: :class:`huaweicloudsdkcae.v1.ConfigurationData`
86
+ """
87
+ self._data = data
88
+
89
+ def to_dict(self):
90
+ """Returns the model properties as a dict"""
91
+ result = {}
92
+
93
+ for attr, _ in six.iteritems(self.openapi_types):
94
+ value = getattr(self, attr)
95
+ if isinstance(value, list):
96
+ result[attr] = list(map(
97
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
98
+ value
99
+ ))
100
+ elif hasattr(value, "to_dict"):
101
+ result[attr] = value.to_dict()
102
+ elif isinstance(value, dict):
103
+ result[attr] = dict(map(
104
+ lambda item: (item[0], item[1].to_dict())
105
+ if hasattr(item[1], "to_dict") else item,
106
+ value.items()
107
+ ))
108
+ else:
109
+ if attr in self.sensitive_list:
110
+ result[attr] = "****"
111
+ else:
112
+ result[attr] = value
113
+
114
+ return result
115
+
116
+ def to_str(self):
117
+ """Returns the string representation of the model"""
118
+ import simplejson as json
119
+ if six.PY2:
120
+ import sys
121
+ reload(sys)
122
+ sys.setdefaultencoding("utf-8")
123
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
124
+
125
+ def __repr__(self):
126
+ """For `print`"""
127
+ return self.to_str()
128
+
129
+ def __eq__(self, other):
130
+ """Returns true if both objects are equal"""
131
+ if not isinstance(other, ConfigurationItem):
132
+ return False
133
+
134
+ return self.__dict__ == other.__dict__
135
+
136
+ def __ne__(self, other):
137
+ """Returns true if both objects are not equal"""
138
+ return not self == other