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,162 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.sdk_response import SdkResponse
4
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
5
+
6
+
7
+ class CreateCertificateResponse(SdkResponse):
8
+
9
+ """
10
+ Attributes:
11
+ openapi_types (dict): The key is attribute name
12
+ and the value is attribute type.
13
+ attribute_map (dict): The key is attribute name
14
+ and the value is json key in definition.
15
+ """
16
+ sensitive_list = []
17
+
18
+ openapi_types = {
19
+ 'api_version': 'ApiVersionObj',
20
+ 'kind': 'CertificateKindObj',
21
+ 'items': 'list[CertItem]'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'api_version': 'api_version',
26
+ 'kind': 'kind',
27
+ 'items': 'items'
28
+ }
29
+
30
+ def __init__(self, api_version=None, kind=None, items=None):
31
+ r"""CreateCertificateResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param api_version:
36
+ :type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
37
+ :param kind:
38
+ :type kind: :class:`huaweicloudsdkcae.v1.CertificateKindObj`
39
+ :param items: 证书列表。
40
+ :type items: list[:class:`huaweicloudsdkcae.v1.CertItem`]
41
+ """
42
+
43
+ super().__init__()
44
+
45
+ self._api_version = None
46
+ self._kind = None
47
+ self._items = None
48
+ self.discriminator = None
49
+
50
+ if api_version is not None:
51
+ self.api_version = api_version
52
+ if kind is not None:
53
+ self.kind = kind
54
+ if items is not None:
55
+ self.items = items
56
+
57
+ @property
58
+ def api_version(self):
59
+ r"""Gets the api_version of this CreateCertificateResponse.
60
+
61
+ :return: The api_version of this CreateCertificateResponse.
62
+ :rtype: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
63
+ """
64
+ return self._api_version
65
+
66
+ @api_version.setter
67
+ def api_version(self, api_version):
68
+ r"""Sets the api_version of this CreateCertificateResponse.
69
+
70
+ :param api_version: The api_version of this CreateCertificateResponse.
71
+ :type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
72
+ """
73
+ self._api_version = api_version
74
+
75
+ @property
76
+ def kind(self):
77
+ r"""Gets the kind of this CreateCertificateResponse.
78
+
79
+ :return: The kind of this CreateCertificateResponse.
80
+ :rtype: :class:`huaweicloudsdkcae.v1.CertificateKindObj`
81
+ """
82
+ return self._kind
83
+
84
+ @kind.setter
85
+ def kind(self, kind):
86
+ r"""Sets the kind of this CreateCertificateResponse.
87
+
88
+ :param kind: The kind of this CreateCertificateResponse.
89
+ :type kind: :class:`huaweicloudsdkcae.v1.CertificateKindObj`
90
+ """
91
+ self._kind = kind
92
+
93
+ @property
94
+ def items(self):
95
+ r"""Gets the items of this CreateCertificateResponse.
96
+
97
+ 证书列表。
98
+
99
+ :return: The items of this CreateCertificateResponse.
100
+ :rtype: list[:class:`huaweicloudsdkcae.v1.CertItem`]
101
+ """
102
+ return self._items
103
+
104
+ @items.setter
105
+ def items(self, items):
106
+ r"""Sets the items of this CreateCertificateResponse.
107
+
108
+ 证书列表。
109
+
110
+ :param items: The items of this CreateCertificateResponse.
111
+ :type items: list[:class:`huaweicloudsdkcae.v1.CertItem`]
112
+ """
113
+ self._items = items
114
+
115
+ def to_dict(self):
116
+ import warnings
117
+ warnings.warn("CreateCertificateResponse.to_dict() is deprecated and no longer maintained, "
118
+ "use to_json_object() to get the response content.", DeprecationWarning)
119
+ result = {}
120
+
121
+ for attr, _ in self.openapi_types.items():
122
+ value = getattr(self, attr)
123
+ if isinstance(value, list):
124
+ result[attr] = list(map(
125
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
126
+ value
127
+ ))
128
+ elif hasattr(value, "to_dict"):
129
+ result[attr] = value.to_dict()
130
+ elif isinstance(value, dict):
131
+ result[attr] = dict(map(
132
+ lambda item: (item[0], item[1].to_dict())
133
+ if hasattr(item[1], "to_dict") else item,
134
+ value.items()
135
+ ))
136
+ else:
137
+ if attr in self.sensitive_list:
138
+ result[attr] = "****"
139
+ else:
140
+ result[attr] = value
141
+
142
+ return result
143
+
144
+ def to_str(self):
145
+ """Returns the string representation of the model"""
146
+ import simplejson as json
147
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
148
+
149
+ def __repr__(self):
150
+ """For `print`"""
151
+ return self.to_str()
152
+
153
+ def __eq__(self, other):
154
+ """Returns true if both objects are equal"""
155
+ if not isinstance(other, CreateCertificateResponse):
156
+ return False
157
+
158
+ return self.__dict__ == other.__dict__
159
+
160
+ def __ne__(self, other):
161
+ """Returns true if both objects are not equal"""
162
+ return not self == other
@@ -0,0 +1,217 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class CreateComponentConfigurationRequest:
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
+ 'application_id': 'str',
19
+ 'component_id': 'str',
20
+ 'x_enterprise_project_id': 'str',
21
+ 'x_environment_id': 'str',
22
+ 'body': 'CreateComponentConfigurationRequestBody'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'application_id': 'application_id',
27
+ 'component_id': 'component_id',
28
+ 'x_enterprise_project_id': 'X-Enterprise-Project-ID',
29
+ 'x_environment_id': 'X-Environment-ID',
30
+ 'body': 'body'
31
+ }
32
+
33
+ def __init__(self, application_id=None, component_id=None, x_enterprise_project_id=None, x_environment_id=None, body=None):
34
+ r"""CreateComponentConfigurationRequest
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param application_id: 应用ID。
39
+ :type application_id: str
40
+ :param component_id: 组件ID。
41
+ :type component_id: str
42
+ :param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
43
+ :type x_enterprise_project_id: str
44
+ :param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
45
+ :type x_environment_id: str
46
+ :param body: Body of the CreateComponentConfigurationRequest
47
+ :type body: :class:`huaweicloudsdkcae.v1.CreateComponentConfigurationRequestBody`
48
+ """
49
+
50
+
51
+
52
+ self._application_id = None
53
+ self._component_id = None
54
+ self._x_enterprise_project_id = None
55
+ self._x_environment_id = None
56
+ self._body = None
57
+ self.discriminator = None
58
+
59
+ self.application_id = application_id
60
+ self.component_id = component_id
61
+ if x_enterprise_project_id is not None:
62
+ self.x_enterprise_project_id = x_enterprise_project_id
63
+ self.x_environment_id = x_environment_id
64
+ if body is not None:
65
+ self.body = body
66
+
67
+ @property
68
+ def application_id(self):
69
+ r"""Gets the application_id of this CreateComponentConfigurationRequest.
70
+
71
+ 应用ID。
72
+
73
+ :return: The application_id of this CreateComponentConfigurationRequest.
74
+ :rtype: str
75
+ """
76
+ return self._application_id
77
+
78
+ @application_id.setter
79
+ def application_id(self, application_id):
80
+ r"""Sets the application_id of this CreateComponentConfigurationRequest.
81
+
82
+ 应用ID。
83
+
84
+ :param application_id: The application_id of this CreateComponentConfigurationRequest.
85
+ :type application_id: str
86
+ """
87
+ self._application_id = application_id
88
+
89
+ @property
90
+ def component_id(self):
91
+ r"""Gets the component_id of this CreateComponentConfigurationRequest.
92
+
93
+ 组件ID。
94
+
95
+ :return: The component_id of this CreateComponentConfigurationRequest.
96
+ :rtype: str
97
+ """
98
+ return self._component_id
99
+
100
+ @component_id.setter
101
+ def component_id(self, component_id):
102
+ r"""Sets the component_id of this CreateComponentConfigurationRequest.
103
+
104
+ 组件ID。
105
+
106
+ :param component_id: The component_id of this CreateComponentConfigurationRequest.
107
+ :type component_id: str
108
+ """
109
+ self._component_id = component_id
110
+
111
+ @property
112
+ def x_enterprise_project_id(self):
113
+ r"""Gets the x_enterprise_project_id of this CreateComponentConfigurationRequest.
114
+
115
+ 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
116
+
117
+ :return: The x_enterprise_project_id of this CreateComponentConfigurationRequest.
118
+ :rtype: str
119
+ """
120
+ return self._x_enterprise_project_id
121
+
122
+ @x_enterprise_project_id.setter
123
+ def x_enterprise_project_id(self, x_enterprise_project_id):
124
+ r"""Sets the x_enterprise_project_id of this CreateComponentConfigurationRequest.
125
+
126
+ 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
127
+
128
+ :param x_enterprise_project_id: The x_enterprise_project_id of this CreateComponentConfigurationRequest.
129
+ :type x_enterprise_project_id: str
130
+ """
131
+ self._x_enterprise_project_id = x_enterprise_project_id
132
+
133
+ @property
134
+ def x_environment_id(self):
135
+ r"""Gets the x_environment_id of this CreateComponentConfigurationRequest.
136
+
137
+ 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
138
+
139
+ :return: The x_environment_id of this CreateComponentConfigurationRequest.
140
+ :rtype: str
141
+ """
142
+ return self._x_environment_id
143
+
144
+ @x_environment_id.setter
145
+ def x_environment_id(self, x_environment_id):
146
+ r"""Sets the x_environment_id of this CreateComponentConfigurationRequest.
147
+
148
+ 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
149
+
150
+ :param x_environment_id: The x_environment_id of this CreateComponentConfigurationRequest.
151
+ :type x_environment_id: str
152
+ """
153
+ self._x_environment_id = x_environment_id
154
+
155
+ @property
156
+ def body(self):
157
+ r"""Gets the body of this CreateComponentConfigurationRequest.
158
+
159
+ :return: The body of this CreateComponentConfigurationRequest.
160
+ :rtype: :class:`huaweicloudsdkcae.v1.CreateComponentConfigurationRequestBody`
161
+ """
162
+ return self._body
163
+
164
+ @body.setter
165
+ def body(self, body):
166
+ r"""Sets the body of this CreateComponentConfigurationRequest.
167
+
168
+ :param body: The body of this CreateComponentConfigurationRequest.
169
+ :type body: :class:`huaweicloudsdkcae.v1.CreateComponentConfigurationRequestBody`
170
+ """
171
+ self._body = body
172
+
173
+ def to_dict(self):
174
+ result = {}
175
+
176
+ for attr, _ in self.openapi_types.items():
177
+ value = getattr(self, attr)
178
+ if isinstance(value, list):
179
+ result[attr] = list(map(
180
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
181
+ value
182
+ ))
183
+ elif hasattr(value, "to_dict"):
184
+ result[attr] = value.to_dict()
185
+ elif isinstance(value, dict):
186
+ result[attr] = dict(map(
187
+ lambda item: (item[0], item[1].to_dict())
188
+ if hasattr(item[1], "to_dict") else item,
189
+ value.items()
190
+ ))
191
+ else:
192
+ if attr in self.sensitive_list:
193
+ result[attr] = "****"
194
+ else:
195
+ result[attr] = value
196
+
197
+ return result
198
+
199
+ def to_str(self):
200
+ """Returns the string representation of the model"""
201
+ import simplejson as json
202
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
203
+
204
+ def __repr__(self):
205
+ """For `print`"""
206
+ return self.to_str()
207
+
208
+ def __eq__(self, other):
209
+ """Returns true if both objects are equal"""
210
+ if not isinstance(other, CreateComponentConfigurationRequest):
211
+ return False
212
+
213
+ return self.__dict__ == other.__dict__
214
+
215
+ def __ne__(self, other):
216
+ """Returns true if both objects are not equal"""
217
+ return not self == other
@@ -0,0 +1,155 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class CreateComponentConfigurationRequestBody:
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
+ 'api_version': 'ApiVersionObj',
19
+ 'kind': 'ComponentConfigurationKindObj',
20
+ 'items': 'list[ConfigurationItem]'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'api_version': 'api_version',
25
+ 'kind': 'kind',
26
+ 'items': 'items'
27
+ }
28
+
29
+ def __init__(self, api_version=None, kind=None, items=None):
30
+ r"""CreateComponentConfigurationRequestBody
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param api_version:
35
+ :type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
36
+ :param kind:
37
+ :type kind: :class:`huaweicloudsdkcae.v1.ComponentConfigurationKindObj`
38
+ :param items: 配置项列表。
39
+ :type items: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
40
+ """
41
+
42
+
43
+
44
+ self._api_version = None
45
+ self._kind = None
46
+ self._items = None
47
+ self.discriminator = None
48
+
49
+ self.api_version = api_version
50
+ self.kind = kind
51
+ self.items = items
52
+
53
+ @property
54
+ def api_version(self):
55
+ r"""Gets the api_version of this CreateComponentConfigurationRequestBody.
56
+
57
+ :return: The api_version of this CreateComponentConfigurationRequestBody.
58
+ :rtype: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
59
+ """
60
+ return self._api_version
61
+
62
+ @api_version.setter
63
+ def api_version(self, api_version):
64
+ r"""Sets the api_version of this CreateComponentConfigurationRequestBody.
65
+
66
+ :param api_version: The api_version of this CreateComponentConfigurationRequestBody.
67
+ :type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
68
+ """
69
+ self._api_version = api_version
70
+
71
+ @property
72
+ def kind(self):
73
+ r"""Gets the kind of this CreateComponentConfigurationRequestBody.
74
+
75
+ :return: The kind of this CreateComponentConfigurationRequestBody.
76
+ :rtype: :class:`huaweicloudsdkcae.v1.ComponentConfigurationKindObj`
77
+ """
78
+ return self._kind
79
+
80
+ @kind.setter
81
+ def kind(self, kind):
82
+ r"""Sets the kind of this CreateComponentConfigurationRequestBody.
83
+
84
+ :param kind: The kind of this CreateComponentConfigurationRequestBody.
85
+ :type kind: :class:`huaweicloudsdkcae.v1.ComponentConfigurationKindObj`
86
+ """
87
+ self._kind = kind
88
+
89
+ @property
90
+ def items(self):
91
+ r"""Gets the items of this CreateComponentConfigurationRequestBody.
92
+
93
+ 配置项列表。
94
+
95
+ :return: The items of this CreateComponentConfigurationRequestBody.
96
+ :rtype: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
97
+ """
98
+ return self._items
99
+
100
+ @items.setter
101
+ def items(self, items):
102
+ r"""Sets the items of this CreateComponentConfigurationRequestBody.
103
+
104
+ 配置项列表。
105
+
106
+ :param items: The items of this CreateComponentConfigurationRequestBody.
107
+ :type items: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
108
+ """
109
+ self._items = items
110
+
111
+ def to_dict(self):
112
+ result = {}
113
+
114
+ for attr, _ in self.openapi_types.items():
115
+ value = getattr(self, attr)
116
+ if isinstance(value, list):
117
+ result[attr] = list(map(
118
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
119
+ value
120
+ ))
121
+ elif hasattr(value, "to_dict"):
122
+ result[attr] = value.to_dict()
123
+ elif isinstance(value, dict):
124
+ result[attr] = dict(map(
125
+ lambda item: (item[0], item[1].to_dict())
126
+ if hasattr(item[1], "to_dict") else item,
127
+ value.items()
128
+ ))
129
+ else:
130
+ if attr in self.sensitive_list:
131
+ result[attr] = "****"
132
+ else:
133
+ result[attr] = value
134
+
135
+ return result
136
+
137
+ def to_str(self):
138
+ """Returns the string representation of the model"""
139
+ import simplejson as json
140
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
141
+
142
+ def __repr__(self):
143
+ """For `print`"""
144
+ return self.to_str()
145
+
146
+ def __eq__(self, other):
147
+ """Returns true if both objects are equal"""
148
+ if not isinstance(other, CreateComponentConfigurationRequestBody):
149
+ return False
150
+
151
+ return self.__dict__ == other.__dict__
152
+
153
+ def __ne__(self, other):
154
+ """Returns true if both objects are not equal"""
155
+ return not self == other
@@ -0,0 +1,81 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.sdk_response import SdkResponse
4
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
5
+
6
+
7
+ class CreateComponentConfigurationResponse(SdkResponse):
8
+
9
+ """
10
+ Attributes:
11
+ openapi_types (dict): The key is attribute name
12
+ and the value is attribute type.
13
+ attribute_map (dict): The key is attribute name
14
+ and the value is json key in definition.
15
+ """
16
+ sensitive_list = []
17
+
18
+ openapi_types = {
19
+ }
20
+
21
+ attribute_map = {
22
+ }
23
+
24
+ def __init__(self):
25
+ r"""CreateComponentConfigurationResponse
26
+
27
+ The model defined in huaweicloud sdk
28
+
29
+ """
30
+
31
+ super().__init__()
32
+ self.discriminator = None
33
+
34
+ def to_dict(self):
35
+ import warnings
36
+ warnings.warn("CreateComponentConfigurationResponse.to_dict() is deprecated and no longer maintained, "
37
+ "use to_json_object() to get the response content.", DeprecationWarning)
38
+ result = {}
39
+
40
+ for attr, _ in self.openapi_types.items():
41
+ value = getattr(self, attr)
42
+ if isinstance(value, list):
43
+ result[attr] = list(map(
44
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
45
+ value
46
+ ))
47
+ elif hasattr(value, "to_dict"):
48
+ result[attr] = value.to_dict()
49
+ elif isinstance(value, dict):
50
+ result[attr] = dict(map(
51
+ lambda item: (item[0], item[1].to_dict())
52
+ if hasattr(item[1], "to_dict") else item,
53
+ value.items()
54
+ ))
55
+ else:
56
+ if attr in self.sensitive_list:
57
+ result[attr] = "****"
58
+ else:
59
+ result[attr] = value
60
+
61
+ return result
62
+
63
+ def to_str(self):
64
+ """Returns the string representation of the model"""
65
+ import simplejson as json
66
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
67
+
68
+ def __repr__(self):
69
+ """For `print`"""
70
+ return self.to_str()
71
+
72
+ def __eq__(self, other):
73
+ """Returns true if both objects are equal"""
74
+ if not isinstance(other, CreateComponentConfigurationResponse):
75
+ return False
76
+
77
+ return self.__dict__ == other.__dict__
78
+
79
+ def __ne__(self, other):
80
+ """Returns true if both objects are not equal"""
81
+ return not self == other