huaweicloudsdkaom 3.0.42rc0__py3-none-any.whl → 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 huaweicloudsdkaom might be problematic. Click here for more details.

Files changed (320) hide show
  1. huaweicloudsdkaom/v1/__init__.py +58 -0
  2. huaweicloudsdkaom/v1/aom_async_client.py +1011 -0
  3. huaweicloudsdkaom/v1/aom_client.py +1008 -0
  4. huaweicloudsdkaom/v1/model/__init__.py +55 -0
  5. huaweicloudsdkaom/v1/model/approve_info.py +173 -0
  6. huaweicloudsdkaom/v1/model/create_fast_execute_script_request.py +111 -0
  7. huaweicloudsdkaom/v1/model/create_fast_execute_script_response.py +116 -0
  8. huaweicloudsdkaom/v1/model/create_workflow_request.py +111 -0
  9. huaweicloudsdkaom/v1/model/create_workflow_response.py +1243 -0
  10. huaweicloudsdkaom/v1/model/execute_workflow_request.py +114 -0
  11. huaweicloudsdkaom/v1/model/execute_workflow_response.py +116 -0
  12. huaweicloudsdkaom/v1/model/execution_result_list.py +260 -0
  13. huaweicloudsdkaom/v1/model/his_fast_script.py +283 -0
  14. huaweicloudsdkaom/v1/model/job.py +506 -0
  15. huaweicloudsdkaom/v1/model/list_all_job_by_name_request.py +111 -0
  16. huaweicloudsdkaom/v1/model/list_all_job_by_name_response.py +145 -0
  17. huaweicloudsdkaom/v1/model/list_all_script_by_name_request.py +111 -0
  18. huaweicloudsdkaom/v1/model/list_all_script_by_name_response.py +145 -0
  19. huaweicloudsdkaom/v1/model/list_all_version_by_version_id_request.py +111 -0
  20. huaweicloudsdkaom/v1/model/list_all_version_by_version_id_response.py +145 -0
  21. huaweicloudsdkaom/v1/model/list_template_by_job_id_request.py +139 -0
  22. huaweicloudsdkaom/v1/model/list_template_by_job_id_request_body.py +230 -0
  23. huaweicloudsdkaom/v1/model/list_template_by_job_id_response.py +145 -0
  24. huaweicloudsdkaom/v1/model/list_workflow_executions_request.py +143 -0
  25. huaweicloudsdkaom/v1/model/list_workflow_executions_response.py +112 -0
  26. huaweicloudsdkaom/v1/model/list_workflow_request.py +111 -0
  27. huaweicloudsdkaom/v1/model/list_workflow_response.py +145 -0
  28. huaweicloudsdkaom/v1/model/metadata.py +144 -0
  29. huaweicloudsdkaom/v1/model/node.py +314 -0
  30. huaweicloudsdkaom/v1/model/parameter.py +372 -0
  31. huaweicloudsdkaom/v1/model/rate_control.py +173 -0
  32. huaweicloudsdkaom/v1/model/reference_info.py +142 -0
  33. huaweicloudsdkaom/v1/model/script.py +482 -0
  34. huaweicloudsdkaom/v1/model/script_version.py +520 -0
  35. huaweicloudsdkaom/v1/model/search_jobs_request_body.py +258 -0
  36. huaweicloudsdkaom/v1/model/search_scripts_request_body.py +373 -0
  37. huaweicloudsdkaom/v1/model/search_template_by_id_request.py +142 -0
  38. huaweicloudsdkaom/v1/model/search_template_by_id_response.py +688 -0
  39. huaweicloudsdkaom/v1/model/search_workflow_execution_detail_request.py +142 -0
  40. huaweicloudsdkaom/v1/model/search_workflow_execution_detail_response.py +406 -0
  41. huaweicloudsdkaom/v1/model/start_pausing_workflow_executions_request.py +198 -0
  42. huaweicloudsdkaom/v1/model/start_pausing_workflow_executions_response.py +116 -0
  43. huaweicloudsdkaom/v1/model/step.py +259 -0
  44. huaweicloudsdkaom/v1/model/stop_execution_request.py +142 -0
  45. huaweicloudsdkaom/v1/model/stop_execution_response.py +112 -0
  46. huaweicloudsdkaom/v1/model/task_param.py +201 -0
  47. huaweicloudsdkaom/v1/model/template.py +687 -0
  48. huaweicloudsdkaom/v1/model/update_workflow_trigger_status_request.py +142 -0
  49. huaweicloudsdkaom/v1/model/update_workflow_trigger_status_response.py +112 -0
  50. huaweicloudsdkaom/v1/model/work_flow_model.py +144 -0
  51. huaweicloudsdkaom/v1/model/workflow.py +1241 -0
  52. huaweicloudsdkaom/v1/model/workflow_execution_brief.py +434 -0
  53. huaweicloudsdkaom/v1/model/workflow_query_param.py +432 -0
  54. huaweicloudsdkaom/v1/model/workflow_request_body.py +458 -0
  55. huaweicloudsdkaom/v1/region/__init__.py +0 -0
  56. huaweicloudsdkaom/v1/region/aom_region.py +103 -0
  57. huaweicloudsdkaom/v2/__init__.py +167 -2
  58. huaweicloudsdkaom/v2/aom_async_client.py +3293 -103
  59. huaweicloudsdkaom/v2/aom_client.py +3291 -102
  60. huaweicloudsdkaom/v2/model/__init__.py +166 -0
  61. huaweicloudsdkaom/v2/model/access_code_model.py +202 -0
  62. huaweicloudsdkaom/v2/model/action_rule.py +370 -0
  63. huaweicloudsdkaom/v2/model/add_action_rule_request.py +111 -0
  64. huaweicloudsdkaom/v2/model/add_action_rule_response.py +85 -0
  65. huaweicloudsdkaom/v2/model/add_alarm_rule_request.py +111 -0
  66. huaweicloudsdkaom/v2/model/add_alarm_rule_response.py +116 -0
  67. huaweicloudsdkaom/v2/model/add_event2alarm_rule_request.py +111 -0
  68. huaweicloudsdkaom/v2/model/add_event2alarm_rule_response.py +112 -0
  69. huaweicloudsdkaom/v2/model/add_metric_data_request.py +111 -0
  70. huaweicloudsdkaom/v2/model/add_metric_data_response.py +145 -0
  71. huaweicloudsdkaom/v2/model/add_mute_rules_request.py +111 -0
  72. huaweicloudsdkaom/v2/model/add_mute_rules_response.py +85 -0
  73. huaweicloudsdkaom/v2/model/add_or_update_alarm_rule_v4_item_result.py +142 -0
  74. huaweicloudsdkaom/v2/model/add_or_update_alarm_rule_v4_request_body.py +333 -0
  75. huaweicloudsdkaom/v2/model/add_or_update_metric_or_event_alarm_rule_request.py +168 -0
  76. huaweicloudsdkaom/v2/model/add_or_update_metric_or_event_alarm_rule_response.py +174 -0
  77. huaweicloudsdkaom/v2/model/add_or_update_service_discovery_rules_request.py +111 -0
  78. huaweicloudsdkaom/v2/model/add_or_update_service_discovery_rules_response.py +232 -0
  79. huaweicloudsdkaom/v2/model/alarm_notification.py +315 -0
  80. huaweicloudsdkaom/v2/model/alarm_param_for_v4_db.py +470 -0
  81. huaweicloudsdkaom/v2/model/alarm_rule_param.py +597 -0
  82. huaweicloudsdkaom/v2/model/alarm_tags.py +173 -0
  83. huaweicloudsdkaom/v2/model/app_name_rule.py +171 -0
  84. huaweicloudsdkaom/v2/model/app_rules.py +337 -0
  85. huaweicloudsdkaom/v2/model/app_rules_body.py +115 -0
  86. huaweicloudsdkaom/v2/model/app_rules_spec.py +451 -0
  87. huaweicloudsdkaom/v2/model/application_name_rule.py +171 -0
  88. huaweicloudsdkaom/v2/model/cmdb_info.py +144 -0
  89. huaweicloudsdkaom/v2/model/count_events_request.py +140 -0
  90. huaweicloudsdkaom/v2/model/count_events_response.py +203 -0
  91. huaweicloudsdkaom/v2/model/create_prom_instance_request.py +139 -0
  92. huaweicloudsdkaom/v2/model/create_prom_instance_response.py +116 -0
  93. huaweicloudsdkaom/v2/model/create_recording_rule_request.py +139 -0
  94. huaweicloudsdkaom/v2/model/create_recording_rule_response.py +112 -0
  95. huaweicloudsdkaom/v2/model/delete_action_rule_request.py +111 -0
  96. huaweicloudsdkaom/v2/model/delete_action_rule_response.py +85 -0
  97. huaweicloudsdkaom/v2/model/delete_alarm_rule_request.py +114 -0
  98. huaweicloudsdkaom/v2/model/delete_alarm_rule_response.py +112 -0
  99. huaweicloudsdkaom/v2/model/delete_alarm_rule_v4_request_body.py +114 -0
  100. huaweicloudsdkaom/v2/model/delete_alarm_rules_body.py +114 -0
  101. huaweicloudsdkaom/v2/model/delete_alarm_rules_request.py +111 -0
  102. huaweicloudsdkaom/v2/model/delete_alarm_rules_response.py +112 -0
  103. huaweicloudsdkaom/v2/model/delete_event2alarm_rule_request.py +111 -0
  104. huaweicloudsdkaom/v2/model/delete_event2alarm_rule_response.py +85 -0
  105. huaweicloudsdkaom/v2/model/delete_metric_or_event_alarm_rule_request.py +111 -0
  106. huaweicloudsdkaom/v2/model/delete_metric_or_event_alarm_rule_response.py +174 -0
  107. huaweicloudsdkaom/v2/model/delete_mute_rule_name.py +114 -0
  108. huaweicloudsdkaom/v2/model/delete_mute_rules_request.py +111 -0
  109. huaweicloudsdkaom/v2/model/delete_mute_rules_response.py +85 -0
  110. huaweicloudsdkaom/v2/model/delete_prom_instance_request.py +142 -0
  111. huaweicloudsdkaom/v2/model/delete_prom_instance_response.py +112 -0
  112. huaweicloudsdkaom/v2/model/deleteservice_discovery_rules_request.py +114 -0
  113. huaweicloudsdkaom/v2/model/deleteservice_discovery_rules_response.py +203 -0
  114. huaweicloudsdkaom/v2/model/dimension.py +29 -24
  115. huaweicloudsdkaom/v2/model/dimension2.py +142 -0
  116. huaweicloudsdkaom/v2/model/dimension_series.py +144 -0
  117. huaweicloudsdkaom/v2/model/discovery_rule.py +170 -0
  118. huaweicloudsdkaom/v2/model/event2alarm_rule_body.py +538 -0
  119. huaweicloudsdkaom/v2/model/event2alarm_rule_body_metadata.py +115 -0
  120. huaweicloudsdkaom/v2/model/event2alarm_rule_body_trigger_policies.py +289 -0
  121. huaweicloudsdkaom/v2/model/event_alarm_spec.py +260 -0
  122. huaweicloudsdkaom/v2/model/event_list.py +114 -0
  123. huaweicloudsdkaom/v2/model/event_model.py +289 -0
  124. huaweicloudsdkaom/v2/model/event_query_param.py +225 -0
  125. huaweicloudsdkaom/v2/model/event_query_param2.py +226 -0
  126. huaweicloudsdkaom/v2/model/event_query_param2_sort.py +144 -0
  127. huaweicloudsdkaom/v2/model/event_query_param_sort.py +144 -0
  128. huaweicloudsdkaom/v2/model/event_series.py +144 -0
  129. huaweicloudsdkaom/v2/model/event_trigger_condition.py +260 -0
  130. huaweicloudsdkaom/v2/model/item_result.py +114 -0
  131. huaweicloudsdkaom/v2/model/list_access_code_request.py +84 -0
  132. huaweicloudsdkaom/v2/model/list_access_code_response.py +116 -0
  133. huaweicloudsdkaom/v2/model/list_action_rule_request.py +84 -0
  134. huaweicloudsdkaom/v2/model/list_action_rule_response.py +116 -0
  135. huaweicloudsdkaom/v2/model/list_agents_request.py +142 -0
  136. huaweicloudsdkaom/v2/model/list_agents_response.py +112 -0
  137. huaweicloudsdkaom/v2/model/list_alarm_rule_request.py +144 -0
  138. huaweicloudsdkaom/v2/model/list_alarm_rule_response.py +137 -0
  139. huaweicloudsdkaom/v2/model/list_event2alarm_rule_request.py +84 -0
  140. huaweicloudsdkaom/v2/model/list_event2alarm_rule_response.py +112 -0
  141. huaweicloudsdkaom/v2/model/list_event_model.py +405 -0
  142. huaweicloudsdkaom/v2/model/list_events_request.py +227 -0
  143. huaweicloudsdkaom/v2/model/list_events_response.py +141 -0
  144. huaweicloudsdkaom/v2/model/list_instant_query_aom_prom_get_request.py +143 -0
  145. huaweicloudsdkaom/v2/model/list_instant_query_aom_prom_get_response.py +145 -0
  146. huaweicloudsdkaom/v2/model/list_instant_query_aom_prom_post_request.py +143 -0
  147. huaweicloudsdkaom/v2/model/list_instant_query_aom_prom_post_response.py +145 -0
  148. huaweicloudsdkaom/v2/model/list_label_values_aom_prom_get_request.py +114 -0
  149. huaweicloudsdkaom/v2/model/list_label_values_aom_prom_get_response.py +145 -0
  150. huaweicloudsdkaom/v2/model/list_labels_aom_prom_get_request.py +84 -0
  151. huaweicloudsdkaom/v2/model/list_labels_aom_prom_get_response.py +145 -0
  152. huaweicloudsdkaom/v2/model/list_labels_aom_prom_post_request.py +84 -0
  153. huaweicloudsdkaom/v2/model/list_labels_aom_prom_post_response.py +145 -0
  154. huaweicloudsdkaom/v2/model/list_log_items_request.py +139 -0
  155. huaweicloudsdkaom/v2/model/list_log_items_response.py +174 -0
  156. huaweicloudsdkaom/v2/model/list_metadata_aom_prom_get_request.py +84 -0
  157. huaweicloudsdkaom/v2/model/list_metadata_aom_prom_get_response.py +145 -0
  158. huaweicloudsdkaom/v2/model/list_metric_items_request.py +198 -0
  159. huaweicloudsdkaom/v2/model/list_metric_items_response.py +141 -0
  160. huaweicloudsdkaom/v2/model/list_metric_or_event_alarm_rule_request.py +434 -0
  161. huaweicloudsdkaom/v2/model/list_metric_or_event_alarm_rule_response.py +174 -0
  162. huaweicloudsdkaom/v2/model/list_mute_rule_request.py +84 -0
  163. huaweicloudsdkaom/v2/model/list_mute_rule_response.py +112 -0
  164. huaweicloudsdkaom/v2/model/list_notified_histories_request.py +115 -0
  165. huaweicloudsdkaom/v2/model/list_notified_histories_response.py +116 -0
  166. huaweicloudsdkaom/v2/model/list_permissions_request.py +84 -0
  167. huaweicloudsdkaom/v2/model/list_permissions_response.py +112 -0
  168. huaweicloudsdkaom/v2/model/list_prom_instance_request.py +230 -0
  169. huaweicloudsdkaom/v2/model/list_prom_instance_response.py +116 -0
  170. huaweicloudsdkaom/v2/model/list_range_query_aom_prom_get_request.py +198 -0
  171. huaweicloudsdkaom/v2/model/list_range_query_aom_prom_get_response.py +145 -0
  172. huaweicloudsdkaom/v2/model/list_range_query_aom_prom_post_request.py +198 -0
  173. huaweicloudsdkaom/v2/model/list_range_query_aom_prom_post_response.py +145 -0
  174. huaweicloudsdkaom/v2/model/list_sample_request.py +26 -19
  175. huaweicloudsdkaom/v2/model/list_sample_response.py +20 -14
  176. huaweicloudsdkaom/v2/model/list_series_request.py +33 -22
  177. huaweicloudsdkaom/v2/model/list_series_response.py +27 -21
  178. huaweicloudsdkaom/v2/model/list_service_discovery_rules_request.py +115 -0
  179. huaweicloudsdkaom/v2/model/list_service_discovery_rules_response.py +203 -0
  180. huaweicloudsdkaom/v2/model/log_path_rule.py +170 -0
  181. huaweicloudsdkaom/v2/model/match.py +171 -0
  182. huaweicloudsdkaom/v2/model/meta_data.py +44 -62
  183. huaweicloudsdkaom/v2/model/meta_data_series.py +202 -0
  184. huaweicloudsdkaom/v2/model/metric_alarm_spec.py +310 -0
  185. huaweicloudsdkaom/v2/model/metric_api_query_item_param.py +144 -0
  186. huaweicloudsdkaom/v2/model/metric_data_item.py +166 -0
  187. huaweicloudsdkaom/v2/model/metric_data_points.py +55 -46
  188. huaweicloudsdkaom/v2/model/metric_data_value.py +140 -0
  189. huaweicloudsdkaom/v2/model/metric_item_info.py +142 -0
  190. huaweicloudsdkaom/v2/model/metric_item_result_api.py +231 -0
  191. huaweicloudsdkaom/v2/model/metric_query_metric_param.py +170 -0
  192. huaweicloudsdkaom/v2/model/mute_config.py +200 -0
  193. huaweicloudsdkaom/v2/model/mute_rule.py +310 -0
  194. huaweicloudsdkaom/v2/model/name_rule.py +142 -0
  195. huaweicloudsdkaom/v2/model/no_data_condition.py +173 -0
  196. huaweicloudsdkaom/v2/model/node_info.py +144 -0
  197. huaweicloudsdkaom/v2/model/notifications.py +169 -0
  198. huaweicloudsdkaom/v2/model/notified_histories_result.py +144 -0
  199. huaweicloudsdkaom/v2/model/page_info.py +170 -0
  200. huaweicloudsdkaom/v2/model/prom_config_model.py +231 -0
  201. huaweicloudsdkaom/v2/model/prom_instance_eps_create_model.py +428 -0
  202. huaweicloudsdkaom/v2/model/prom_instance_eps_model.py +457 -0
  203. huaweicloudsdkaom/v2/model/prom_instance_request_model.py +229 -0
  204. huaweicloudsdkaom/v2/model/push_events_request.py +169 -0
  205. huaweicloudsdkaom/v2/model/push_events_response.py +85 -0
  206. huaweicloudsdkaom/v2/model/query_alarm_result.py +811 -0
  207. huaweicloudsdkaom/v2/model/query_body_param.py +368 -0
  208. huaweicloudsdkaom/v2/model/query_metric_data_param.py +198 -0
  209. huaweicloudsdkaom/v2/model/query_metric_item_option_param.py +172 -0
  210. huaweicloudsdkaom/v2/model/query_sample.py +36 -27
  211. huaweicloudsdkaom/v2/model/query_sample_param.py +42 -31
  212. huaweicloudsdkaom/v2/model/query_series_option_param.py +36 -27
  213. huaweicloudsdkaom/v2/model/recording_rule_request.py +114 -0
  214. huaweicloudsdkaom/v2/model/recovery_condition.py +115 -0
  215. huaweicloudsdkaom/v2/model/relation_model.py +173 -0
  216. huaweicloudsdkaom/v2/model/sample_data_value.py +25 -20
  217. huaweicloudsdkaom/v2/model/search_key.py +259 -0
  218. huaweicloudsdkaom/v2/model/series_api_query_item_param.py +19 -14
  219. huaweicloudsdkaom/v2/model/series_query_item_result.py +40 -27
  220. huaweicloudsdkaom/v2/model/show_action_rule_request.py +114 -0
  221. huaweicloudsdkaom/v2/model/show_action_rule_response.py +377 -0
  222. huaweicloudsdkaom/v2/model/show_alarm_rule_request.py +114 -0
  223. huaweicloudsdkaom/v2/model/show_alarm_rule_response.py +141 -0
  224. huaweicloudsdkaom/v2/model/show_metrics_data_request.py +140 -0
  225. huaweicloudsdkaom/v2/model/show_metrics_data_response.py +174 -0
  226. huaweicloudsdkaom/v2/model/smn_info.py +173 -0
  227. huaweicloudsdkaom/v2/model/smn_response.py +260 -0
  228. huaweicloudsdkaom/v2/model/smn_topics.py +228 -0
  229. huaweicloudsdkaom/v2/model/statistic_value.py +23 -16
  230. huaweicloudsdkaom/v2/model/trigger_condition.py +742 -0
  231. huaweicloudsdkaom/v2/model/update_action_rule_request.py +111 -0
  232. huaweicloudsdkaom/v2/model/update_action_rule_response.py +85 -0
  233. huaweicloudsdkaom/v2/model/update_alarm_rule_param.py +597 -0
  234. huaweicloudsdkaom/v2/model/update_alarm_rule_request.py +111 -0
  235. huaweicloudsdkaom/v2/model/update_alarm_rule_response.py +116 -0
  236. huaweicloudsdkaom/v2/model/update_event_rule_request.py +111 -0
  237. huaweicloudsdkaom/v2/model/update_event_rule_response.py +112 -0
  238. huaweicloudsdkaom/v2/model/update_mute_rule_request.py +111 -0
  239. huaweicloudsdkaom/v2/model/update_mute_rule_response.py +85 -0
  240. huaweicloudsdkaom/v2/model/value_data.py +200 -0
  241. huaweicloudsdkaom/v2/region/__init__.py +0 -0
  242. huaweicloudsdkaom/v2/region/aom_region.py +103 -0
  243. huaweicloudsdkaom/v3/__init__.py +55 -0
  244. huaweicloudsdkaom/v3/aom_async_client.py +1338 -0
  245. huaweicloudsdkaom/v3/aom_client.py +1335 -0
  246. huaweicloudsdkaom/v3/model/__init__.py +52 -0
  247. huaweicloudsdkaom/v3/model/biz_app_param.py +230 -0
  248. huaweicloudsdkaom/v3/model/component_param.py +199 -0
  249. huaweicloudsdkaom/v3/model/component_update_param.py +143 -0
  250. huaweicloudsdkaom/v3/model/create_app_request.py +111 -0
  251. huaweicloudsdkaom/v3/model/create_app_response.py +112 -0
  252. huaweicloudsdkaom/v3/model/create_component_request.py +111 -0
  253. huaweicloudsdkaom/v3/model/create_component_response.py +116 -0
  254. huaweicloudsdkaom/v3/model/create_env_request.py +111 -0
  255. huaweicloudsdkaom/v3/model/create_env_response.py +116 -0
  256. huaweicloudsdkaom/v3/model/create_sub_app_request.py +111 -0
  257. huaweicloudsdkaom/v3/model/create_sub_app_response.py +112 -0
  258. huaweicloudsdkaom/v3/model/delete_app_request.py +114 -0
  259. huaweicloudsdkaom/v3/model/delete_app_response.py +112 -0
  260. huaweicloudsdkaom/v3/model/delete_component_request.py +114 -0
  261. huaweicloudsdkaom/v3/model/delete_component_response.py +112 -0
  262. huaweicloudsdkaom/v3/model/delete_env_request.py +114 -0
  263. huaweicloudsdkaom/v3/model/delete_env_response.py +85 -0
  264. huaweicloudsdkaom/v3/model/delete_sub_app_request.py +114 -0
  265. huaweicloudsdkaom/v3/model/delete_sub_app_response.py +112 -0
  266. huaweicloudsdkaom/v3/model/env_param.py +285 -0
  267. huaweicloudsdkaom/v3/model/list_resource_under_node_request.py +167 -0
  268. huaweicloudsdkaom/v3/model/list_resource_under_node_response.py +145 -0
  269. huaweicloudsdkaom/v3/model/page_resource_list_param.py +317 -0
  270. huaweicloudsdkaom/v3/model/show_app_by_name_request.py +144 -0
  271. huaweicloudsdkaom/v3/model/show_app_by_name_response.py +406 -0
  272. huaweicloudsdkaom/v3/model/show_app_request.py +114 -0
  273. huaweicloudsdkaom/v3/model/show_app_response.py +406 -0
  274. huaweicloudsdkaom/v3/model/show_component_by_name_request.py +142 -0
  275. huaweicloudsdkaom/v3/model/show_component_by_name_response.py +203 -0
  276. huaweicloudsdkaom/v3/model/show_component_request.py +114 -0
  277. huaweicloudsdkaom/v3/model/show_component_response.py +406 -0
  278. huaweicloudsdkaom/v3/model/show_env_by_name_request.py +170 -0
  279. huaweicloudsdkaom/v3/model/show_env_by_name_response.py +522 -0
  280. huaweicloudsdkaom/v3/model/show_env_request.py +114 -0
  281. huaweicloudsdkaom/v3/model/show_env_response.py +522 -0
  282. huaweicloudsdkaom/v3/model/sub_app_create_param.py +228 -0
  283. huaweicloudsdkaom/v3/model/sub_app_update_param.py +172 -0
  284. huaweicloudsdkaom/v3/model/tag_name_and_id_vo.py +144 -0
  285. huaweicloudsdkaom/v3/model/update_app_request.py +139 -0
  286. huaweicloudsdkaom/v3/model/update_app_response.py +85 -0
  287. huaweicloudsdkaom/v3/model/update_component_request.py +139 -0
  288. huaweicloudsdkaom/v3/model/update_component_response.py +85 -0
  289. huaweicloudsdkaom/v3/model/update_env_request.py +139 -0
  290. huaweicloudsdkaom/v3/model/update_env_response.py +85 -0
  291. huaweicloudsdkaom/v3/model/update_sub_app_request.py +139 -0
  292. huaweicloudsdkaom/v3/model/update_sub_app_response.py +85 -0
  293. huaweicloudsdkaom/v3/model/waterfall_page_list_param.py +144 -0
  294. huaweicloudsdkaom/v3/region/__init__.py +0 -0
  295. huaweicloudsdkaom/v3/region/aom_region.py +103 -0
  296. huaweicloudsdkaom/v4/__init__.py +21 -0
  297. huaweicloudsdkaom/v4/aom_async_client.py +280 -0
  298. huaweicloudsdkaom/v4/aom_client.py +277 -0
  299. huaweicloudsdkaom/v4/model/__init__.py +18 -0
  300. huaweicloudsdkaom/v4/model/agent_batch_import_param_new.py +280 -0
  301. huaweicloudsdkaom/v4/model/agent_import_param_new.py +313 -0
  302. huaweicloudsdkaom/v4/model/agent_info_param.py +231 -0
  303. huaweicloudsdkaom/v4/model/agent_info_result.py +463 -0
  304. huaweicloudsdkaom/v4/model/agent_upgrade_param.py +142 -0
  305. huaweicloudsdkaom/v4/model/batch_import_agent_request.py +139 -0
  306. huaweicloudsdkaom/v4/model/batch_import_agent_response.py +116 -0
  307. huaweicloudsdkaom/v4/model/batch_update_agent_request.py +111 -0
  308. huaweicloudsdkaom/v4/model/batch_update_agent_response.py +116 -0
  309. huaweicloudsdkaom/v4/model/plugin_install_basic_param.py +173 -0
  310. huaweicloudsdkaom/v4/model/show_agent_infos_request.py +111 -0
  311. huaweicloudsdkaom/v4/model/show_agent_infos_response.py +203 -0
  312. huaweicloudsdkaom/v4/model/single_agent_param.py +142 -0
  313. huaweicloudsdkaom/v4/region/__init__.py +0 -0
  314. huaweicloudsdkaom/v4/region/aom_region.py +103 -0
  315. {huaweicloudsdkaom-3.0.42rc0.dist-info → huaweicloudsdkaom-3.1.160.dist-info}/METADATA +9 -9
  316. huaweicloudsdkaom-3.1.160.dist-info/RECORD +320 -0
  317. {huaweicloudsdkaom-3.0.42rc0.dist-info → huaweicloudsdkaom-3.1.160.dist-info}/WHEEL +1 -1
  318. huaweicloudsdkaom-3.0.42rc0.dist-info/RECORD +0 -24
  319. {huaweicloudsdkaom-3.0.42rc0.dist-info → huaweicloudsdkaom-3.1.160.dist-info}/LICENSE +0 -0
  320. {huaweicloudsdkaom-3.0.42rc0.dist-info → huaweicloudsdkaom-3.1.160.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1241 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class Workflow:
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
+ 'id': 'str',
21
+ 'name': 'str',
22
+ 'type': 'str',
23
+ 'description': 'str',
24
+ 'tags': 'dict(str, str)',
25
+ 'create_time': 'int',
26
+ 'create_by': 'str',
27
+ 'update_time': 'int',
28
+ 'update_by': 'str',
29
+ 'template_name': 'str',
30
+ 'template_id': 'str',
31
+ 'input': 'dict(str, object)',
32
+ 'last_execution_id': 'str',
33
+ 'status': 'str',
34
+ 'citation_urns': 'list[str]',
35
+ 'last_execution_end_time': 'int',
36
+ 'last_execution_start_time': 'int',
37
+ 'quote': 'list[str]',
38
+ 'job_name': 'str',
39
+ 'job_id': 'str',
40
+ 'service_scenario': 'str',
41
+ 'service_name': 'str',
42
+ 'task_type': 'str',
43
+ 'project_id': 'str',
44
+ 'workflow_id': 'str',
45
+ 'task_status': 'str',
46
+ 'nodes': 'list[Node]',
47
+ 'edit_time': 'int',
48
+ 'execution_action_rules': 'list[str]',
49
+ 'execution_permission': 'list[str]',
50
+ 'global_parameters': 'list[Parameter]',
51
+ 'is_delete': 'bool',
52
+ 'steps': 'list[Step]',
53
+ 'output': 'str',
54
+ 'trigger_id': 'str',
55
+ 'trigger_status': 'str',
56
+ 'approve_id': 'str',
57
+ 'template_i18n': 'WorkFlowModel',
58
+ 'enterprise_project_id': 'str',
59
+ 'last_execute_by': 'str'
60
+ }
61
+
62
+ attribute_map = {
63
+ 'id': 'id',
64
+ 'name': 'name',
65
+ 'type': 'type',
66
+ 'description': 'description',
67
+ 'tags': 'tags',
68
+ 'create_time': 'create_time',
69
+ 'create_by': 'create_by',
70
+ 'update_time': 'update_time',
71
+ 'update_by': 'update_by',
72
+ 'template_name': 'template_name',
73
+ 'template_id': 'template_id',
74
+ 'input': 'input',
75
+ 'last_execution_id': 'last_execution_id',
76
+ 'status': 'status',
77
+ 'citation_urns': 'citation_urns',
78
+ 'last_execution_end_time': 'last_execution_end_time',
79
+ 'last_execution_start_time': 'last_execution_start_time',
80
+ 'quote': 'quote',
81
+ 'job_name': 'job_name',
82
+ 'job_id': 'job_id',
83
+ 'service_scenario': 'service_scenario',
84
+ 'service_name': 'service_name',
85
+ 'task_type': 'task_type',
86
+ 'project_id': 'project_id',
87
+ 'workflow_id': 'workflow_id',
88
+ 'task_status': 'task_status',
89
+ 'nodes': 'nodes',
90
+ 'edit_time': 'edit_time',
91
+ 'execution_action_rules': 'execution_action_rules',
92
+ 'execution_permission': 'execution_permission',
93
+ 'global_parameters': 'global_parameters',
94
+ 'is_delete': 'is_delete',
95
+ 'steps': 'steps',
96
+ 'output': 'output',
97
+ 'trigger_id': 'trigger_id',
98
+ 'trigger_status': 'trigger_status',
99
+ 'approve_id': 'approve_id',
100
+ 'template_i18n': 'template_i18n',
101
+ 'enterprise_project_id': 'enterprise_project_id',
102
+ 'last_execute_by': 'last_execute_by'
103
+ }
104
+
105
+ def __init__(self, id=None, name=None, type=None, description=None, tags=None, create_time=None, create_by=None, update_time=None, update_by=None, template_name=None, template_id=None, input=None, last_execution_id=None, status=None, citation_urns=None, last_execution_end_time=None, last_execution_start_time=None, quote=None, job_name=None, job_id=None, service_scenario=None, service_name=None, task_type=None, project_id=None, workflow_id=None, task_status=None, nodes=None, edit_time=None, execution_action_rules=None, execution_permission=None, global_parameters=None, is_delete=None, steps=None, output=None, trigger_id=None, trigger_status=None, approve_id=None, template_i18n=None, enterprise_project_id=None, last_execute_by=None):
106
+ r"""Workflow
107
+
108
+ The model defined in huaweicloud sdk
109
+
110
+ :param id: 工作流id,唯一标识,根据project_id和workflow_name生成。
111
+ :type id: str
112
+ :param name: 工作流名称。
113
+ :type name: str
114
+ :param type: 工作流类型,可以为cron、manual
115
+ :type type: str
116
+ :param description: 工作流描述信息。
117
+ :type description: str
118
+ :param tags: 标签键和值列表,标签键值对数量范围是0至20。
119
+ :type tags: dict(str, str)
120
+ :param create_time: 工作流创建时间,为utc时间毫秒数。
121
+ :type create_time: int
122
+ :param create_by: 工作流创人,从接口调用传入的token中获取。
123
+ :type create_by: str
124
+ :param update_time: 工作流更新时间,为utc时间毫秒数。
125
+ :type update_time: int
126
+ :param update_by: 工作流更新人,从接口调用传入的token中获取。
127
+ :type update_by: str
128
+ :param template_name: 模板名称。
129
+ :type template_name: str
130
+ :param template_id: 模板id
131
+ :type template_id: str
132
+ :param input: 任务执行时需要的参数列表。
133
+ :type input: dict(str, object)
134
+ :param last_execution_id: 最近一次执行id,也是工作流id
135
+ :type last_execution_id: str
136
+ :param status: 任务状态,包含success,fail,executing
137
+ :type status: str
138
+ :param citation_urns: 工作流的引用。
139
+ :type citation_urns: list[str]
140
+ :param last_execution_end_time: 最近一次执行结束时间,为utc时间毫秒数
141
+ :type last_execution_end_time: int
142
+ :param last_execution_start_time: 最近一次执行开始时间,为utc时间毫秒数
143
+ :type last_execution_start_time: int
144
+ :param quote: 引用,参数引用
145
+ :type quote: list[str]
146
+ :param job_name: 作业名称
147
+ :type job_name: str
148
+ :param job_id: 作业id
149
+ :type job_id: str
150
+ :param service_scenario: 服务场景分类
151
+ :type service_scenario: str
152
+ :param service_name: 服务名称
153
+ :type service_name: str
154
+ :param task_type: 任务类型
155
+ :type task_type: str
156
+ :param project_id: functiongraph返回的PROJECT_ID
157
+ :type project_id: str
158
+ :param workflow_id: functiongraph返回的WORKFLOW_ID
159
+ :type workflow_id: str
160
+ :param task_status: 任务状态
161
+ :type task_status: str
162
+ :param nodes: 任务节点
163
+ :type nodes: list[:class:`huaweicloudsdkaom.v1.Node`]
164
+ :param edit_time: 编辑时间
165
+ :type edit_time: int
166
+ :param execution_action_rules: 执行动作细粒度权限
167
+ :type execution_action_rules: list[str]
168
+ :param execution_permission: 云服务权限
169
+ :type execution_permission: list[str]
170
+ :param global_parameters: 全局参数
171
+ :type global_parameters: list[:class:`huaweicloudsdkaom.v1.Parameter`]
172
+ :param is_delete: 逻辑删除
173
+ :type is_delete: bool
174
+ :param steps: 任务步骤
175
+ :type steps: list[:class:`huaweicloudsdkaom.v1.Step`]
176
+ :param output: 任务输出
177
+ :type output: str
178
+ :param trigger_id: 触发器id
179
+ :type trigger_id: str
180
+ :param trigger_status: 触发器状态
181
+ :type trigger_status: str
182
+ :param approve_id: 审批id
183
+ :type approve_id: str
184
+ :param template_i18n:
185
+ :type template_i18n: :class:`huaweicloudsdkaom.v1.WorkFlowModel`
186
+ :param enterprise_project_id: 任务所属的企业项目
187
+ :type enterprise_project_id: str
188
+ :param last_execute_by: 任务最后一次执行人
189
+ :type last_execute_by: str
190
+ """
191
+
192
+
193
+
194
+ self._id = None
195
+ self._name = None
196
+ self._type = None
197
+ self._description = None
198
+ self._tags = None
199
+ self._create_time = None
200
+ self._create_by = None
201
+ self._update_time = None
202
+ self._update_by = None
203
+ self._template_name = None
204
+ self._template_id = None
205
+ self._input = None
206
+ self._last_execution_id = None
207
+ self._status = None
208
+ self._citation_urns = None
209
+ self._last_execution_end_time = None
210
+ self._last_execution_start_time = None
211
+ self._quote = None
212
+ self._job_name = None
213
+ self._job_id = None
214
+ self._service_scenario = None
215
+ self._service_name = None
216
+ self._task_type = None
217
+ self._project_id = None
218
+ self._workflow_id = None
219
+ self._task_status = None
220
+ self._nodes = None
221
+ self._edit_time = None
222
+ self._execution_action_rules = None
223
+ self._execution_permission = None
224
+ self._global_parameters = None
225
+ self._is_delete = None
226
+ self._steps = None
227
+ self._output = None
228
+ self._trigger_id = None
229
+ self._trigger_status = None
230
+ self._approve_id = None
231
+ self._template_i18n = None
232
+ self._enterprise_project_id = None
233
+ self._last_execute_by = None
234
+ self.discriminator = None
235
+
236
+ if id is not None:
237
+ self.id = id
238
+ self.name = name
239
+ if type is not None:
240
+ self.type = type
241
+ if description is not None:
242
+ self.description = description
243
+ if tags is not None:
244
+ self.tags = tags
245
+ if create_time is not None:
246
+ self.create_time = create_time
247
+ if create_by is not None:
248
+ self.create_by = create_by
249
+ if update_time is not None:
250
+ self.update_time = update_time
251
+ if update_by is not None:
252
+ self.update_by = update_by
253
+ if template_name is not None:
254
+ self.template_name = template_name
255
+ if template_id is not None:
256
+ self.template_id = template_id
257
+ if input is not None:
258
+ self.input = input
259
+ if last_execution_id is not None:
260
+ self.last_execution_id = last_execution_id
261
+ if status is not None:
262
+ self.status = status
263
+ if citation_urns is not None:
264
+ self.citation_urns = citation_urns
265
+ if last_execution_end_time is not None:
266
+ self.last_execution_end_time = last_execution_end_time
267
+ if last_execution_start_time is not None:
268
+ self.last_execution_start_time = last_execution_start_time
269
+ if quote is not None:
270
+ self.quote = quote
271
+ if job_name is not None:
272
+ self.job_name = job_name
273
+ if job_id is not None:
274
+ self.job_id = job_id
275
+ if service_scenario is not None:
276
+ self.service_scenario = service_scenario
277
+ if service_name is not None:
278
+ self.service_name = service_name
279
+ if task_type is not None:
280
+ self.task_type = task_type
281
+ if project_id is not None:
282
+ self.project_id = project_id
283
+ if workflow_id is not None:
284
+ self.workflow_id = workflow_id
285
+ if task_status is not None:
286
+ self.task_status = task_status
287
+ if nodes is not None:
288
+ self.nodes = nodes
289
+ if edit_time is not None:
290
+ self.edit_time = edit_time
291
+ if execution_action_rules is not None:
292
+ self.execution_action_rules = execution_action_rules
293
+ if execution_permission is not None:
294
+ self.execution_permission = execution_permission
295
+ if global_parameters is not None:
296
+ self.global_parameters = global_parameters
297
+ if is_delete is not None:
298
+ self.is_delete = is_delete
299
+ if steps is not None:
300
+ self.steps = steps
301
+ if output is not None:
302
+ self.output = output
303
+ if trigger_id is not None:
304
+ self.trigger_id = trigger_id
305
+ if trigger_status is not None:
306
+ self.trigger_status = trigger_status
307
+ if approve_id is not None:
308
+ self.approve_id = approve_id
309
+ if template_i18n is not None:
310
+ self.template_i18n = template_i18n
311
+ if enterprise_project_id is not None:
312
+ self.enterprise_project_id = enterprise_project_id
313
+ if last_execute_by is not None:
314
+ self.last_execute_by = last_execute_by
315
+
316
+ @property
317
+ def id(self):
318
+ r"""Gets the id of this Workflow.
319
+
320
+ 工作流id,唯一标识,根据project_id和workflow_name生成。
321
+
322
+ :return: The id of this Workflow.
323
+ :rtype: str
324
+ """
325
+ return self._id
326
+
327
+ @id.setter
328
+ def id(self, id):
329
+ r"""Sets the id of this Workflow.
330
+
331
+ 工作流id,唯一标识,根据project_id和workflow_name生成。
332
+
333
+ :param id: The id of this Workflow.
334
+ :type id: str
335
+ """
336
+ self._id = id
337
+
338
+ @property
339
+ def name(self):
340
+ r"""Gets the name of this Workflow.
341
+
342
+ 工作流名称。
343
+
344
+ :return: The name of this Workflow.
345
+ :rtype: str
346
+ """
347
+ return self._name
348
+
349
+ @name.setter
350
+ def name(self, name):
351
+ r"""Sets the name of this Workflow.
352
+
353
+ 工作流名称。
354
+
355
+ :param name: The name of this Workflow.
356
+ :type name: str
357
+ """
358
+ self._name = name
359
+
360
+ @property
361
+ def type(self):
362
+ r"""Gets the type of this Workflow.
363
+
364
+ 工作流类型,可以为cron、manual
365
+
366
+ :return: The type of this Workflow.
367
+ :rtype: str
368
+ """
369
+ return self._type
370
+
371
+ @type.setter
372
+ def type(self, type):
373
+ r"""Sets the type of this Workflow.
374
+
375
+ 工作流类型,可以为cron、manual
376
+
377
+ :param type: The type of this Workflow.
378
+ :type type: str
379
+ """
380
+ self._type = type
381
+
382
+ @property
383
+ def description(self):
384
+ r"""Gets the description of this Workflow.
385
+
386
+ 工作流描述信息。
387
+
388
+ :return: The description of this Workflow.
389
+ :rtype: str
390
+ """
391
+ return self._description
392
+
393
+ @description.setter
394
+ def description(self, description):
395
+ r"""Sets the description of this Workflow.
396
+
397
+ 工作流描述信息。
398
+
399
+ :param description: The description of this Workflow.
400
+ :type description: str
401
+ """
402
+ self._description = description
403
+
404
+ @property
405
+ def tags(self):
406
+ r"""Gets the tags of this Workflow.
407
+
408
+ 标签键和值列表,标签键值对数量范围是0至20。
409
+
410
+ :return: The tags of this Workflow.
411
+ :rtype: dict(str, str)
412
+ """
413
+ return self._tags
414
+
415
+ @tags.setter
416
+ def tags(self, tags):
417
+ r"""Sets the tags of this Workflow.
418
+
419
+ 标签键和值列表,标签键值对数量范围是0至20。
420
+
421
+ :param tags: The tags of this Workflow.
422
+ :type tags: dict(str, str)
423
+ """
424
+ self._tags = tags
425
+
426
+ @property
427
+ def create_time(self):
428
+ r"""Gets the create_time of this Workflow.
429
+
430
+ 工作流创建时间,为utc时间毫秒数。
431
+
432
+ :return: The create_time of this Workflow.
433
+ :rtype: int
434
+ """
435
+ return self._create_time
436
+
437
+ @create_time.setter
438
+ def create_time(self, create_time):
439
+ r"""Sets the create_time of this Workflow.
440
+
441
+ 工作流创建时间,为utc时间毫秒数。
442
+
443
+ :param create_time: The create_time of this Workflow.
444
+ :type create_time: int
445
+ """
446
+ self._create_time = create_time
447
+
448
+ @property
449
+ def create_by(self):
450
+ r"""Gets the create_by of this Workflow.
451
+
452
+ 工作流创人,从接口调用传入的token中获取。
453
+
454
+ :return: The create_by of this Workflow.
455
+ :rtype: str
456
+ """
457
+ return self._create_by
458
+
459
+ @create_by.setter
460
+ def create_by(self, create_by):
461
+ r"""Sets the create_by of this Workflow.
462
+
463
+ 工作流创人,从接口调用传入的token中获取。
464
+
465
+ :param create_by: The create_by of this Workflow.
466
+ :type create_by: str
467
+ """
468
+ self._create_by = create_by
469
+
470
+ @property
471
+ def update_time(self):
472
+ r"""Gets the update_time of this Workflow.
473
+
474
+ 工作流更新时间,为utc时间毫秒数。
475
+
476
+ :return: The update_time of this Workflow.
477
+ :rtype: int
478
+ """
479
+ return self._update_time
480
+
481
+ @update_time.setter
482
+ def update_time(self, update_time):
483
+ r"""Sets the update_time of this Workflow.
484
+
485
+ 工作流更新时间,为utc时间毫秒数。
486
+
487
+ :param update_time: The update_time of this Workflow.
488
+ :type update_time: int
489
+ """
490
+ self._update_time = update_time
491
+
492
+ @property
493
+ def update_by(self):
494
+ r"""Gets the update_by of this Workflow.
495
+
496
+ 工作流更新人,从接口调用传入的token中获取。
497
+
498
+ :return: The update_by of this Workflow.
499
+ :rtype: str
500
+ """
501
+ return self._update_by
502
+
503
+ @update_by.setter
504
+ def update_by(self, update_by):
505
+ r"""Sets the update_by of this Workflow.
506
+
507
+ 工作流更新人,从接口调用传入的token中获取。
508
+
509
+ :param update_by: The update_by of this Workflow.
510
+ :type update_by: str
511
+ """
512
+ self._update_by = update_by
513
+
514
+ @property
515
+ def template_name(self):
516
+ r"""Gets the template_name of this Workflow.
517
+
518
+ 模板名称。
519
+
520
+ :return: The template_name of this Workflow.
521
+ :rtype: str
522
+ """
523
+ return self._template_name
524
+
525
+ @template_name.setter
526
+ def template_name(self, template_name):
527
+ r"""Sets the template_name of this Workflow.
528
+
529
+ 模板名称。
530
+
531
+ :param template_name: The template_name of this Workflow.
532
+ :type template_name: str
533
+ """
534
+ self._template_name = template_name
535
+
536
+ @property
537
+ def template_id(self):
538
+ r"""Gets the template_id of this Workflow.
539
+
540
+ 模板id
541
+
542
+ :return: The template_id of this Workflow.
543
+ :rtype: str
544
+ """
545
+ return self._template_id
546
+
547
+ @template_id.setter
548
+ def template_id(self, template_id):
549
+ r"""Sets the template_id of this Workflow.
550
+
551
+ 模板id
552
+
553
+ :param template_id: The template_id of this Workflow.
554
+ :type template_id: str
555
+ """
556
+ self._template_id = template_id
557
+
558
+ @property
559
+ def input(self):
560
+ r"""Gets the input of this Workflow.
561
+
562
+ 任务执行时需要的参数列表。
563
+
564
+ :return: The input of this Workflow.
565
+ :rtype: dict(str, object)
566
+ """
567
+ return self._input
568
+
569
+ @input.setter
570
+ def input(self, input):
571
+ r"""Sets the input of this Workflow.
572
+
573
+ 任务执行时需要的参数列表。
574
+
575
+ :param input: The input of this Workflow.
576
+ :type input: dict(str, object)
577
+ """
578
+ self._input = input
579
+
580
+ @property
581
+ def last_execution_id(self):
582
+ r"""Gets the last_execution_id of this Workflow.
583
+
584
+ 最近一次执行id,也是工作流id
585
+
586
+ :return: The last_execution_id of this Workflow.
587
+ :rtype: str
588
+ """
589
+ return self._last_execution_id
590
+
591
+ @last_execution_id.setter
592
+ def last_execution_id(self, last_execution_id):
593
+ r"""Sets the last_execution_id of this Workflow.
594
+
595
+ 最近一次执行id,也是工作流id
596
+
597
+ :param last_execution_id: The last_execution_id of this Workflow.
598
+ :type last_execution_id: str
599
+ """
600
+ self._last_execution_id = last_execution_id
601
+
602
+ @property
603
+ def status(self):
604
+ r"""Gets the status of this Workflow.
605
+
606
+ 任务状态,包含success,fail,executing
607
+
608
+ :return: The status of this Workflow.
609
+ :rtype: str
610
+ """
611
+ return self._status
612
+
613
+ @status.setter
614
+ def status(self, status):
615
+ r"""Sets the status of this Workflow.
616
+
617
+ 任务状态,包含success,fail,executing
618
+
619
+ :param status: The status of this Workflow.
620
+ :type status: str
621
+ """
622
+ self._status = status
623
+
624
+ @property
625
+ def citation_urns(self):
626
+ r"""Gets the citation_urns of this Workflow.
627
+
628
+ 工作流的引用。
629
+
630
+ :return: The citation_urns of this Workflow.
631
+ :rtype: list[str]
632
+ """
633
+ return self._citation_urns
634
+
635
+ @citation_urns.setter
636
+ def citation_urns(self, citation_urns):
637
+ r"""Sets the citation_urns of this Workflow.
638
+
639
+ 工作流的引用。
640
+
641
+ :param citation_urns: The citation_urns of this Workflow.
642
+ :type citation_urns: list[str]
643
+ """
644
+ self._citation_urns = citation_urns
645
+
646
+ @property
647
+ def last_execution_end_time(self):
648
+ r"""Gets the last_execution_end_time of this Workflow.
649
+
650
+ 最近一次执行结束时间,为utc时间毫秒数
651
+
652
+ :return: The last_execution_end_time of this Workflow.
653
+ :rtype: int
654
+ """
655
+ return self._last_execution_end_time
656
+
657
+ @last_execution_end_time.setter
658
+ def last_execution_end_time(self, last_execution_end_time):
659
+ r"""Sets the last_execution_end_time of this Workflow.
660
+
661
+ 最近一次执行结束时间,为utc时间毫秒数
662
+
663
+ :param last_execution_end_time: The last_execution_end_time of this Workflow.
664
+ :type last_execution_end_time: int
665
+ """
666
+ self._last_execution_end_time = last_execution_end_time
667
+
668
+ @property
669
+ def last_execution_start_time(self):
670
+ r"""Gets the last_execution_start_time of this Workflow.
671
+
672
+ 最近一次执行开始时间,为utc时间毫秒数
673
+
674
+ :return: The last_execution_start_time of this Workflow.
675
+ :rtype: int
676
+ """
677
+ return self._last_execution_start_time
678
+
679
+ @last_execution_start_time.setter
680
+ def last_execution_start_time(self, last_execution_start_time):
681
+ r"""Sets the last_execution_start_time of this Workflow.
682
+
683
+ 最近一次执行开始时间,为utc时间毫秒数
684
+
685
+ :param last_execution_start_time: The last_execution_start_time of this Workflow.
686
+ :type last_execution_start_time: int
687
+ """
688
+ self._last_execution_start_time = last_execution_start_time
689
+
690
+ @property
691
+ def quote(self):
692
+ r"""Gets the quote of this Workflow.
693
+
694
+ 引用,参数引用
695
+
696
+ :return: The quote of this Workflow.
697
+ :rtype: list[str]
698
+ """
699
+ return self._quote
700
+
701
+ @quote.setter
702
+ def quote(self, quote):
703
+ r"""Sets the quote of this Workflow.
704
+
705
+ 引用,参数引用
706
+
707
+ :param quote: The quote of this Workflow.
708
+ :type quote: list[str]
709
+ """
710
+ self._quote = quote
711
+
712
+ @property
713
+ def job_name(self):
714
+ r"""Gets the job_name of this Workflow.
715
+
716
+ 作业名称
717
+
718
+ :return: The job_name of this Workflow.
719
+ :rtype: str
720
+ """
721
+ return self._job_name
722
+
723
+ @job_name.setter
724
+ def job_name(self, job_name):
725
+ r"""Sets the job_name of this Workflow.
726
+
727
+ 作业名称
728
+
729
+ :param job_name: The job_name of this Workflow.
730
+ :type job_name: str
731
+ """
732
+ self._job_name = job_name
733
+
734
+ @property
735
+ def job_id(self):
736
+ r"""Gets the job_id of this Workflow.
737
+
738
+ 作业id
739
+
740
+ :return: The job_id of this Workflow.
741
+ :rtype: str
742
+ """
743
+ return self._job_id
744
+
745
+ @job_id.setter
746
+ def job_id(self, job_id):
747
+ r"""Sets the job_id of this Workflow.
748
+
749
+ 作业id
750
+
751
+ :param job_id: The job_id of this Workflow.
752
+ :type job_id: str
753
+ """
754
+ self._job_id = job_id
755
+
756
+ @property
757
+ def service_scenario(self):
758
+ r"""Gets the service_scenario of this Workflow.
759
+
760
+ 服务场景分类
761
+
762
+ :return: The service_scenario of this Workflow.
763
+ :rtype: str
764
+ """
765
+ return self._service_scenario
766
+
767
+ @service_scenario.setter
768
+ def service_scenario(self, service_scenario):
769
+ r"""Sets the service_scenario of this Workflow.
770
+
771
+ 服务场景分类
772
+
773
+ :param service_scenario: The service_scenario of this Workflow.
774
+ :type service_scenario: str
775
+ """
776
+ self._service_scenario = service_scenario
777
+
778
+ @property
779
+ def service_name(self):
780
+ r"""Gets the service_name of this Workflow.
781
+
782
+ 服务名称
783
+
784
+ :return: The service_name of this Workflow.
785
+ :rtype: str
786
+ """
787
+ return self._service_name
788
+
789
+ @service_name.setter
790
+ def service_name(self, service_name):
791
+ r"""Sets the service_name of this Workflow.
792
+
793
+ 服务名称
794
+
795
+ :param service_name: The service_name of this Workflow.
796
+ :type service_name: str
797
+ """
798
+ self._service_name = service_name
799
+
800
+ @property
801
+ def task_type(self):
802
+ r"""Gets the task_type of this Workflow.
803
+
804
+ 任务类型
805
+
806
+ :return: The task_type of this Workflow.
807
+ :rtype: str
808
+ """
809
+ return self._task_type
810
+
811
+ @task_type.setter
812
+ def task_type(self, task_type):
813
+ r"""Sets the task_type of this Workflow.
814
+
815
+ 任务类型
816
+
817
+ :param task_type: The task_type of this Workflow.
818
+ :type task_type: str
819
+ """
820
+ self._task_type = task_type
821
+
822
+ @property
823
+ def project_id(self):
824
+ r"""Gets the project_id of this Workflow.
825
+
826
+ functiongraph返回的PROJECT_ID
827
+
828
+ :return: The project_id of this Workflow.
829
+ :rtype: str
830
+ """
831
+ return self._project_id
832
+
833
+ @project_id.setter
834
+ def project_id(self, project_id):
835
+ r"""Sets the project_id of this Workflow.
836
+
837
+ functiongraph返回的PROJECT_ID
838
+
839
+ :param project_id: The project_id of this Workflow.
840
+ :type project_id: str
841
+ """
842
+ self._project_id = project_id
843
+
844
+ @property
845
+ def workflow_id(self):
846
+ r"""Gets the workflow_id of this Workflow.
847
+
848
+ functiongraph返回的WORKFLOW_ID
849
+
850
+ :return: The workflow_id of this Workflow.
851
+ :rtype: str
852
+ """
853
+ return self._workflow_id
854
+
855
+ @workflow_id.setter
856
+ def workflow_id(self, workflow_id):
857
+ r"""Sets the workflow_id of this Workflow.
858
+
859
+ functiongraph返回的WORKFLOW_ID
860
+
861
+ :param workflow_id: The workflow_id of this Workflow.
862
+ :type workflow_id: str
863
+ """
864
+ self._workflow_id = workflow_id
865
+
866
+ @property
867
+ def task_status(self):
868
+ r"""Gets the task_status of this Workflow.
869
+
870
+ 任务状态
871
+
872
+ :return: The task_status of this Workflow.
873
+ :rtype: str
874
+ """
875
+ return self._task_status
876
+
877
+ @task_status.setter
878
+ def task_status(self, task_status):
879
+ r"""Sets the task_status of this Workflow.
880
+
881
+ 任务状态
882
+
883
+ :param task_status: The task_status of this Workflow.
884
+ :type task_status: str
885
+ """
886
+ self._task_status = task_status
887
+
888
+ @property
889
+ def nodes(self):
890
+ r"""Gets the nodes of this Workflow.
891
+
892
+ 任务节点
893
+
894
+ :return: The nodes of this Workflow.
895
+ :rtype: list[:class:`huaweicloudsdkaom.v1.Node`]
896
+ """
897
+ return self._nodes
898
+
899
+ @nodes.setter
900
+ def nodes(self, nodes):
901
+ r"""Sets the nodes of this Workflow.
902
+
903
+ 任务节点
904
+
905
+ :param nodes: The nodes of this Workflow.
906
+ :type nodes: list[:class:`huaweicloudsdkaom.v1.Node`]
907
+ """
908
+ self._nodes = nodes
909
+
910
+ @property
911
+ def edit_time(self):
912
+ r"""Gets the edit_time of this Workflow.
913
+
914
+ 编辑时间
915
+
916
+ :return: The edit_time of this Workflow.
917
+ :rtype: int
918
+ """
919
+ return self._edit_time
920
+
921
+ @edit_time.setter
922
+ def edit_time(self, edit_time):
923
+ r"""Sets the edit_time of this Workflow.
924
+
925
+ 编辑时间
926
+
927
+ :param edit_time: The edit_time of this Workflow.
928
+ :type edit_time: int
929
+ """
930
+ self._edit_time = edit_time
931
+
932
+ @property
933
+ def execution_action_rules(self):
934
+ r"""Gets the execution_action_rules of this Workflow.
935
+
936
+ 执行动作细粒度权限
937
+
938
+ :return: The execution_action_rules of this Workflow.
939
+ :rtype: list[str]
940
+ """
941
+ return self._execution_action_rules
942
+
943
+ @execution_action_rules.setter
944
+ def execution_action_rules(self, execution_action_rules):
945
+ r"""Sets the execution_action_rules of this Workflow.
946
+
947
+ 执行动作细粒度权限
948
+
949
+ :param execution_action_rules: The execution_action_rules of this Workflow.
950
+ :type execution_action_rules: list[str]
951
+ """
952
+ self._execution_action_rules = execution_action_rules
953
+
954
+ @property
955
+ def execution_permission(self):
956
+ r"""Gets the execution_permission of this Workflow.
957
+
958
+ 云服务权限
959
+
960
+ :return: The execution_permission of this Workflow.
961
+ :rtype: list[str]
962
+ """
963
+ return self._execution_permission
964
+
965
+ @execution_permission.setter
966
+ def execution_permission(self, execution_permission):
967
+ r"""Sets the execution_permission of this Workflow.
968
+
969
+ 云服务权限
970
+
971
+ :param execution_permission: The execution_permission of this Workflow.
972
+ :type execution_permission: list[str]
973
+ """
974
+ self._execution_permission = execution_permission
975
+
976
+ @property
977
+ def global_parameters(self):
978
+ r"""Gets the global_parameters of this Workflow.
979
+
980
+ 全局参数
981
+
982
+ :return: The global_parameters of this Workflow.
983
+ :rtype: list[:class:`huaweicloudsdkaom.v1.Parameter`]
984
+ """
985
+ return self._global_parameters
986
+
987
+ @global_parameters.setter
988
+ def global_parameters(self, global_parameters):
989
+ r"""Sets the global_parameters of this Workflow.
990
+
991
+ 全局参数
992
+
993
+ :param global_parameters: The global_parameters of this Workflow.
994
+ :type global_parameters: list[:class:`huaweicloudsdkaom.v1.Parameter`]
995
+ """
996
+ self._global_parameters = global_parameters
997
+
998
+ @property
999
+ def is_delete(self):
1000
+ r"""Gets the is_delete of this Workflow.
1001
+
1002
+ 逻辑删除
1003
+
1004
+ :return: The is_delete of this Workflow.
1005
+ :rtype: bool
1006
+ """
1007
+ return self._is_delete
1008
+
1009
+ @is_delete.setter
1010
+ def is_delete(self, is_delete):
1011
+ r"""Sets the is_delete of this Workflow.
1012
+
1013
+ 逻辑删除
1014
+
1015
+ :param is_delete: The is_delete of this Workflow.
1016
+ :type is_delete: bool
1017
+ """
1018
+ self._is_delete = is_delete
1019
+
1020
+ @property
1021
+ def steps(self):
1022
+ r"""Gets the steps of this Workflow.
1023
+
1024
+ 任务步骤
1025
+
1026
+ :return: The steps of this Workflow.
1027
+ :rtype: list[:class:`huaweicloudsdkaom.v1.Step`]
1028
+ """
1029
+ return self._steps
1030
+
1031
+ @steps.setter
1032
+ def steps(self, steps):
1033
+ r"""Sets the steps of this Workflow.
1034
+
1035
+ 任务步骤
1036
+
1037
+ :param steps: The steps of this Workflow.
1038
+ :type steps: list[:class:`huaweicloudsdkaom.v1.Step`]
1039
+ """
1040
+ self._steps = steps
1041
+
1042
+ @property
1043
+ def output(self):
1044
+ r"""Gets the output of this Workflow.
1045
+
1046
+ 任务输出
1047
+
1048
+ :return: The output of this Workflow.
1049
+ :rtype: str
1050
+ """
1051
+ return self._output
1052
+
1053
+ @output.setter
1054
+ def output(self, output):
1055
+ r"""Sets the output of this Workflow.
1056
+
1057
+ 任务输出
1058
+
1059
+ :param output: The output of this Workflow.
1060
+ :type output: str
1061
+ """
1062
+ self._output = output
1063
+
1064
+ @property
1065
+ def trigger_id(self):
1066
+ r"""Gets the trigger_id of this Workflow.
1067
+
1068
+ 触发器id
1069
+
1070
+ :return: The trigger_id of this Workflow.
1071
+ :rtype: str
1072
+ """
1073
+ return self._trigger_id
1074
+
1075
+ @trigger_id.setter
1076
+ def trigger_id(self, trigger_id):
1077
+ r"""Sets the trigger_id of this Workflow.
1078
+
1079
+ 触发器id
1080
+
1081
+ :param trigger_id: The trigger_id of this Workflow.
1082
+ :type trigger_id: str
1083
+ """
1084
+ self._trigger_id = trigger_id
1085
+
1086
+ @property
1087
+ def trigger_status(self):
1088
+ r"""Gets the trigger_status of this Workflow.
1089
+
1090
+ 触发器状态
1091
+
1092
+ :return: The trigger_status of this Workflow.
1093
+ :rtype: str
1094
+ """
1095
+ return self._trigger_status
1096
+
1097
+ @trigger_status.setter
1098
+ def trigger_status(self, trigger_status):
1099
+ r"""Sets the trigger_status of this Workflow.
1100
+
1101
+ 触发器状态
1102
+
1103
+ :param trigger_status: The trigger_status of this Workflow.
1104
+ :type trigger_status: str
1105
+ """
1106
+ self._trigger_status = trigger_status
1107
+
1108
+ @property
1109
+ def approve_id(self):
1110
+ r"""Gets the approve_id of this Workflow.
1111
+
1112
+ 审批id
1113
+
1114
+ :return: The approve_id of this Workflow.
1115
+ :rtype: str
1116
+ """
1117
+ return self._approve_id
1118
+
1119
+ @approve_id.setter
1120
+ def approve_id(self, approve_id):
1121
+ r"""Sets the approve_id of this Workflow.
1122
+
1123
+ 审批id
1124
+
1125
+ :param approve_id: The approve_id of this Workflow.
1126
+ :type approve_id: str
1127
+ """
1128
+ self._approve_id = approve_id
1129
+
1130
+ @property
1131
+ def template_i18n(self):
1132
+ r"""Gets the template_i18n of this Workflow.
1133
+
1134
+ :return: The template_i18n of this Workflow.
1135
+ :rtype: :class:`huaweicloudsdkaom.v1.WorkFlowModel`
1136
+ """
1137
+ return self._template_i18n
1138
+
1139
+ @template_i18n.setter
1140
+ def template_i18n(self, template_i18n):
1141
+ r"""Sets the template_i18n of this Workflow.
1142
+
1143
+ :param template_i18n: The template_i18n of this Workflow.
1144
+ :type template_i18n: :class:`huaweicloudsdkaom.v1.WorkFlowModel`
1145
+ """
1146
+ self._template_i18n = template_i18n
1147
+
1148
+ @property
1149
+ def enterprise_project_id(self):
1150
+ r"""Gets the enterprise_project_id of this Workflow.
1151
+
1152
+ 任务所属的企业项目
1153
+
1154
+ :return: The enterprise_project_id of this Workflow.
1155
+ :rtype: str
1156
+ """
1157
+ return self._enterprise_project_id
1158
+
1159
+ @enterprise_project_id.setter
1160
+ def enterprise_project_id(self, enterprise_project_id):
1161
+ r"""Sets the enterprise_project_id of this Workflow.
1162
+
1163
+ 任务所属的企业项目
1164
+
1165
+ :param enterprise_project_id: The enterprise_project_id of this Workflow.
1166
+ :type enterprise_project_id: str
1167
+ """
1168
+ self._enterprise_project_id = enterprise_project_id
1169
+
1170
+ @property
1171
+ def last_execute_by(self):
1172
+ r"""Gets the last_execute_by of this Workflow.
1173
+
1174
+ 任务最后一次执行人
1175
+
1176
+ :return: The last_execute_by of this Workflow.
1177
+ :rtype: str
1178
+ """
1179
+ return self._last_execute_by
1180
+
1181
+ @last_execute_by.setter
1182
+ def last_execute_by(self, last_execute_by):
1183
+ r"""Sets the last_execute_by of this Workflow.
1184
+
1185
+ 任务最后一次执行人
1186
+
1187
+ :param last_execute_by: The last_execute_by of this Workflow.
1188
+ :type last_execute_by: str
1189
+ """
1190
+ self._last_execute_by = last_execute_by
1191
+
1192
+ def to_dict(self):
1193
+ """Returns the model properties as a dict"""
1194
+ result = {}
1195
+
1196
+ for attr, _ in six.iteritems(self.openapi_types):
1197
+ value = getattr(self, attr)
1198
+ if isinstance(value, list):
1199
+ result[attr] = list(map(
1200
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
1201
+ value
1202
+ ))
1203
+ elif hasattr(value, "to_dict"):
1204
+ result[attr] = value.to_dict()
1205
+ elif isinstance(value, dict):
1206
+ result[attr] = dict(map(
1207
+ lambda item: (item[0], item[1].to_dict())
1208
+ if hasattr(item[1], "to_dict") else item,
1209
+ value.items()
1210
+ ))
1211
+ else:
1212
+ if attr in self.sensitive_list:
1213
+ result[attr] = "****"
1214
+ else:
1215
+ result[attr] = value
1216
+
1217
+ return result
1218
+
1219
+ def to_str(self):
1220
+ """Returns the string representation of the model"""
1221
+ import simplejson as json
1222
+ if six.PY2:
1223
+ import sys
1224
+ reload(sys)
1225
+ sys.setdefaultencoding("utf-8")
1226
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
1227
+
1228
+ def __repr__(self):
1229
+ """For `print`"""
1230
+ return self.to_str()
1231
+
1232
+ def __eq__(self, other):
1233
+ """Returns true if both objects are equal"""
1234
+ if not isinstance(other, Workflow):
1235
+ return False
1236
+
1237
+ return self.__dict__ == other.__dict__
1238
+
1239
+ def __ne__(self, other):
1240
+ """Returns true if both objects are not equal"""
1241
+ return not self == other