huaweicloudsdkas 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 huaweicloudsdkas might be problematic. Click here for more details.

Files changed (230) hide show
  1. huaweicloudsdkas/v1/__init__.py +100 -40
  2. huaweicloudsdkas/v1/as_async_client.py +2698 -1537
  3. huaweicloudsdkas/v1/as_client.py +2696 -1536
  4. huaweicloudsdkas/v1/model/__init__.py +99 -38
  5. huaweicloudsdkas/v1/model/all_quotas.py +19 -14
  6. huaweicloudsdkas/v1/model/all_resources.py +65 -25
  7. huaweicloudsdkas/v1/model/allowed_address_pair.py +115 -0
  8. huaweicloudsdkas/v1/model/attach_callback_instance_life_cycle_hook_request.py +139 -0
  9. huaweicloudsdkas/v1/model/attach_callback_instance_life_cycle_hook_response.py +85 -0
  10. huaweicloudsdkas/v1/model/bandwidth_info.py +201 -0
  11. huaweicloudsdkas/v1/model/{bandwidth.py → bandwidth_result.py} +55 -42
  12. huaweicloudsdkas/v1/model/{update_scaling_group_instance_request_body.py → batch_add_instances_option.py} +43 -32
  13. huaweicloudsdkas/v1/model/{enable_or_disable_scaling_group_request.py → batch_add_scaling_instances_request.py} +33 -26
  14. huaweicloudsdkas/v1/model/batch_add_scaling_instances_response.py +85 -0
  15. huaweicloudsdkas/v1/model/{batch_delete_scaling_configs_request_body.py → batch_delete_scaling_config_option.py} +23 -19
  16. huaweicloudsdkas/v1/model/batch_delete_scaling_configs_request.py +20 -17
  17. huaweicloudsdkas/v1/model/batch_delete_scaling_configs_response.py +14 -10
  18. huaweicloudsdkas/v1/model/batch_delete_scaling_policies_option.py +200 -0
  19. huaweicloudsdkas/v1/model/batch_delete_scaling_policies_request.py +111 -0
  20. huaweicloudsdkas/v1/model/{update_scaling_group_instance_response.py → batch_delete_scaling_policies_response.py} +16 -12
  21. huaweicloudsdkas/v1/model/batch_enter_standby_instances_option.py +200 -0
  22. huaweicloudsdkas/v1/model/batch_exit_stand_by_instances_option.py +200 -0
  23. huaweicloudsdkas/v1/model/{execute_scaling_policies_request_body.py → batch_pause_scaling_policies_option.py} +68 -30
  24. huaweicloudsdkas/v1/model/{execute_scaling_policies_request.py → batch_pause_scaling_policies_request.py} +24 -21
  25. huaweicloudsdkas/v1/model/batch_pause_scaling_policies_response.py +85 -0
  26. huaweicloudsdkas/v1/model/batch_protect_instances_option.py +200 -0
  27. huaweicloudsdkas/v1/model/batch_protect_scaling_instances_request.py +139 -0
  28. huaweicloudsdkas/v1/model/batch_protect_scaling_instances_response.py +85 -0
  29. huaweicloudsdkas/v1/model/batch_remove_instances_option.py +200 -0
  30. huaweicloudsdkas/v1/model/batch_remove_scaling_instances_request.py +139 -0
  31. huaweicloudsdkas/v1/model/batch_remove_scaling_instances_response.py +85 -0
  32. huaweicloudsdkas/v1/model/batch_resume_scaling_policies_option.py +200 -0
  33. huaweicloudsdkas/v1/model/batch_resume_scaling_policies_request.py +111 -0
  34. huaweicloudsdkas/v1/model/batch_resume_scaling_policies_response.py +85 -0
  35. huaweicloudsdkas/v1/model/batch_set_scaling_instances_standby_request.py +139 -0
  36. huaweicloudsdkas/v1/model/batch_set_scaling_instances_standby_response.py +85 -0
  37. huaweicloudsdkas/v1/model/batch_unprotect_instances_option.py +200 -0
  38. huaweicloudsdkas/v1/model/batch_unprotect_scaling_instances_request.py +139 -0
  39. huaweicloudsdkas/v1/model/batch_unprotect_scaling_instances_response.py +85 -0
  40. huaweicloudsdkas/v1/model/batch_unset_scaling_instances_stantby_request.py +139 -0
  41. huaweicloudsdkas/v1/model/batch_unset_scaling_instances_stantby_response.py +85 -0
  42. huaweicloudsdkas/v1/model/{complete_lifecycle_action_request_body.py → callback_life_cycle_hook_option.py} +43 -32
  43. huaweicloudsdkas/v1/model/create_group_scheduled_task_request.py +139 -0
  44. huaweicloudsdkas/v1/model/create_group_scheduled_task_response.py +116 -0
  45. huaweicloudsdkas/v1/model/{create_life_cycle_hook_request_body.py → create_life_cycle_hook_option.py} +59 -44
  46. huaweicloudsdkas/v1/model/create_lify_cycle_hook_request.py +27 -20
  47. huaweicloudsdkas/v1/model/create_lify_cycle_hook_response.py +56 -36
  48. huaweicloudsdkas/v1/model/{create_notification_request_body.py → create_notification_option.py} +31 -26
  49. huaweicloudsdkas/v1/model/create_scaling_config_option.py +169 -0
  50. huaweicloudsdkas/v1/model/create_scaling_config_request.py +20 -17
  51. huaweicloudsdkas/v1/model/create_scaling_config_response.py +19 -13
  52. huaweicloudsdkas/v1/model/{create_scaling_group_request_body.py → create_scaling_group_option.py} +289 -131
  53. huaweicloudsdkas/v1/model/create_scaling_group_request.py +20 -17
  54. huaweicloudsdkas/v1/model/create_scaling_group_response.py +19 -13
  55. huaweicloudsdkas/v1/model/create_scaling_notification_request.py +27 -20
  56. huaweicloudsdkas/v1/model/create_scaling_notification_response.py +29 -19
  57. huaweicloudsdkas/v1/model/{create_scaling_policy_request_body.py → create_scaling_policy_option.py} +69 -56
  58. huaweicloudsdkas/v1/model/create_scaling_policy_request.py +20 -17
  59. huaweicloudsdkas/v1/model/create_scaling_policy_response.py +19 -13
  60. huaweicloudsdkas/v1/model/{create_scaling_policy_v2_request_body.py → create_scaling_policy_v2_option.py} +132 -63
  61. huaweicloudsdkas/v1/model/{create_scaling_tags_request.py → create_scaling_tag_info_request.py} +42 -31
  62. huaweicloudsdkas/v1/model/create_scaling_tag_info_response.py +85 -0
  63. huaweicloudsdkas/v1/model/create_scaling_v2_policy_request.py +20 -17
  64. huaweicloudsdkas/v1/model/create_scaling_v2_policy_response.py +19 -13
  65. huaweicloudsdkas/v1/model/create_scheduled_task_option.py +162 -0
  66. huaweicloudsdkas/v1/model/{delete_scaling_tags_request_body.py → create_tags_option.py} +34 -29
  67. huaweicloudsdkas/v1/model/delete_group_scheduled_task_request.py +142 -0
  68. huaweicloudsdkas/v1/model/delete_group_scheduled_task_response.py +85 -0
  69. huaweicloudsdkas/v1/model/delete_lifecycle_hook_request.py +27 -16
  70. huaweicloudsdkas/v1/model/delete_lifecycle_hook_response.py +14 -10
  71. huaweicloudsdkas/v1/model/delete_scaling_config_request.py +20 -13
  72. huaweicloudsdkas/v1/model/delete_scaling_config_response.py +14 -10
  73. huaweicloudsdkas/v1/model/delete_scaling_group_request.py +27 -16
  74. huaweicloudsdkas/v1/model/delete_scaling_group_response.py +14 -10
  75. huaweicloudsdkas/v1/model/delete_scaling_instance_request.py +27 -16
  76. huaweicloudsdkas/v1/model/delete_scaling_instance_response.py +14 -10
  77. huaweicloudsdkas/v1/model/delete_scaling_notification_request.py +27 -16
  78. huaweicloudsdkas/v1/model/delete_scaling_notification_response.py +14 -10
  79. huaweicloudsdkas/v1/model/delete_scaling_policy_request.py +20 -13
  80. huaweicloudsdkas/v1/model/delete_scaling_policy_response.py +14 -10
  81. huaweicloudsdkas/v1/model/{delete_scaling_tags_request.py → delete_scaling_tag_info_request.py} +42 -31
  82. huaweicloudsdkas/v1/model/delete_scaling_tag_info_response.py +85 -0
  83. huaweicloudsdkas/v1/model/delete_tags_option.py +142 -0
  84. huaweicloudsdkas/v1/model/disk_info.py +340 -0
  85. huaweicloudsdkas/v1/model/disk_result.py +343 -0
  86. huaweicloudsdkas/v1/model/{eip.py → eip_info.py} +31 -26
  87. huaweicloudsdkas/v1/model/eip_meta_data.py +173 -0
  88. huaweicloudsdkas/v1/model/eip_result.py +140 -0
  89. huaweicloudsdkas/v1/model/{create_scaling_tags_request_body.py → execute_scaling_policy_option.py} +26 -49
  90. huaweicloudsdkas/v1/model/execute_scaling_policy_request.py +27 -20
  91. huaweicloudsdkas/v1/model/execute_scaling_policy_response.py +14 -10
  92. huaweicloudsdkas/v1/model/instance_config.py +102 -73
  93. huaweicloudsdkas/v1/model/instance_config_result.py +189 -71
  94. huaweicloudsdkas/v1/model/instance_hanging_infos.py +50 -33
  95. huaweicloudsdkas/v1/model/integer_range.py +173 -0
  96. huaweicloudsdkas/v1/model/interval_alarm_actions_v2.py +252 -0
  97. huaweicloudsdkas/v1/model/ipv6_bandwidth.py +18 -13
  98. huaweicloudsdkas/v1/model/job_records.py +55 -36
  99. huaweicloudsdkas/v1/model/lbaas_listener.py +33 -22
  100. huaweicloudsdkas/v1/model/lbaas_listeners.py +63 -26
  101. huaweicloudsdkas/v1/model/lbaas_listeners_result.py +77 -37
  102. huaweicloudsdkas/v1/model/lifecycle_hook_list.py +55 -36
  103. huaweicloudsdkas/v1/model/links.py +144 -0
  104. huaweicloudsdkas/v1/model/list_all_scaling_v2_policies_request.py +115 -43
  105. huaweicloudsdkas/v1/model/list_all_scaling_v2_policies_response.py +35 -23
  106. huaweicloudsdkas/v1/model/{enable_or_disable_scaling_group_response.py → list_api_versions_request.py} +16 -13
  107. huaweicloudsdkas/v1/model/list_api_versions_response.py +116 -0
  108. huaweicloudsdkas/v1/model/list_group_scheduled_tasks_request.py +172 -0
  109. huaweicloudsdkas/v1/model/list_group_scheduled_tasks_response.py +141 -0
  110. huaweicloudsdkas/v1/model/list_hook_instances_request.py +27 -16
  111. huaweicloudsdkas/v1/model/list_hook_instances_response.py +20 -14
  112. huaweicloudsdkas/v1/model/list_life_cycle_hooks_request.py +20 -13
  113. huaweicloudsdkas/v1/model/list_life_cycle_hooks_response.py +20 -14
  114. huaweicloudsdkas/v1/model/list_resource_instances_request.py +27 -20
  115. huaweicloudsdkas/v1/model/list_resource_instances_response.py +32 -22
  116. huaweicloudsdkas/v1/model/list_scaling_activity_logs_request.py +52 -29
  117. huaweicloudsdkas/v1/model/list_scaling_activity_logs_response.py +35 -23
  118. huaweicloudsdkas/v1/model/list_scaling_activity_v2_logs_request.py +96 -36
  119. huaweicloudsdkas/v1/model/list_scaling_activity_v2_logs_response.py +35 -23
  120. huaweicloudsdkas/v1/model/list_scaling_configs_request.py +41 -22
  121. huaweicloudsdkas/v1/model/list_scaling_configs_response.py +35 -23
  122. huaweicloudsdkas/v1/model/list_scaling_groups_request.py +80 -28
  123. huaweicloudsdkas/v1/model/list_scaling_groups_response.py +35 -23
  124. huaweicloudsdkas/v1/model/list_scaling_instances_request.py +55 -28
  125. huaweicloudsdkas/v1/model/list_scaling_instances_response.py +35 -23
  126. huaweicloudsdkas/v1/model/list_scaling_notifications_request.py +20 -13
  127. huaweicloudsdkas/v1/model/list_scaling_notifications_response.py +20 -14
  128. huaweicloudsdkas/v1/model/list_scaling_policies_request.py +55 -28
  129. huaweicloudsdkas/v1/model/list_scaling_policies_response.py +36 -24
  130. huaweicloudsdkas/v1/model/list_scaling_policy_execute_logs_request.py +80 -41
  131. huaweicloudsdkas/v1/model/list_scaling_policy_execute_logs_response.py +35 -23
  132. huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_resource_id_request.py +27 -16
  133. huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_resource_id_response.py +26 -18
  134. huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_tenant_id_request.py +20 -13
  135. huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_tenant_id_response.py +20 -14
  136. huaweicloudsdkas/v1/model/list_scaling_v2_policies_request.py +55 -28
  137. huaweicloudsdkas/v1/model/list_scaling_v2_policies_response.py +35 -23
  138. huaweicloudsdkas/v1/model/matches.py +25 -20
  139. huaweicloudsdkas/v1/model/meta_data.py +62 -28
  140. huaweicloudsdkas/v1/model/modify_lb.py +34 -25
  141. huaweicloudsdkas/v1/model/networks.py +63 -27
  142. huaweicloudsdkas/v1/model/networks_result.py +198 -0
  143. huaweicloudsdkas/v1/model/{mete_data.py → page_info.py} +35 -30
  144. huaweicloudsdkas/v1/model/{enable_or_disable_scaling_group_request_body.py → pause_scaling_group_option.py} +23 -19
  145. huaweicloudsdkas/v1/model/{update_scaling_group_instance_request.py → pause_scaling_group_request.py} +33 -26
  146. huaweicloudsdkas/v1/model/{delete_scaling_tags_response.py → pause_scaling_group_response.py} +16 -12
  147. huaweicloudsdkas/v1/model/{execute_scaling_policy_request_body.py → pause_scaling_policy_option.py} +23 -19
  148. huaweicloudsdkas/v1/model/pause_scaling_policy_request.py +139 -0
  149. huaweicloudsdkas/v1/model/{complete_lifecycle_action_response.py → pause_scaling_policy_response.py} +16 -12
  150. huaweicloudsdkas/v1/model/{personality.py → personality_info.py} +29 -22
  151. huaweicloudsdkas/v1/model/personality_result.py +144 -0
  152. huaweicloudsdkas/v1/model/policy_instance_quotas.py +19 -14
  153. huaweicloudsdkas/v1/model/policy_instance_resources.py +65 -25
  154. huaweicloudsdkas/v1/model/public_ip.py +20 -17
  155. huaweicloudsdkas/v1/model/publicip_result.py +111 -0
  156. huaweicloudsdkas/v1/model/{show_tags_request_body.py → query_tags_option.py} +94 -73
  157. huaweicloudsdkas/v1/model/resource_tags.py +23 -16
  158. huaweicloudsdkas/v1/model/resources.py +34 -23
  159. huaweicloudsdkas/v1/model/resume_scaling_group_option.py +114 -0
  160. huaweicloudsdkas/v1/model/{complete_lifecycle_action_request.py → resume_scaling_group_request.py} +33 -26
  161. huaweicloudsdkas/v1/model/{create_scaling_tags_response.py → resume_scaling_group_response.py} +16 -12
  162. huaweicloudsdkas/v1/model/resume_scaling_policy_option.py +114 -0
  163. huaweicloudsdkas/v1/model/resume_scaling_policy_request.py +139 -0
  164. huaweicloudsdkas/v1/model/resume_scaling_policy_response.py +85 -0
  165. huaweicloudsdkas/v1/model/scaling_activity_log_list.py +70 -45
  166. huaweicloudsdkas/v1/model/scaling_activity_log_v2.py +141 -75
  167. huaweicloudsdkas/v1/model/scaling_all_policy_detail.py +133 -58
  168. huaweicloudsdkas/v1/model/scaling_configuration.py +71 -31
  169. huaweicloudsdkas/v1/model/scaling_group_instance.py +65 -42
  170. huaweicloudsdkas/v1/model/scaling_groups.py +331 -100
  171. huaweicloudsdkas/v1/model/scaling_instance.py +65 -25
  172. huaweicloudsdkas/v1/model/scaling_policies_v2.py +152 -52
  173. huaweicloudsdkas/v1/model/{scaling_policy_action.py → scaling_policy_action_v1.py} +40 -31
  174. huaweicloudsdkas/v1/model/scaling_policy_action_v2.py +35 -24
  175. huaweicloudsdkas/v1/model/scaling_policy_execute_log_list.py +108 -77
  176. huaweicloudsdkas/v1/model/scaling_policy_v2_meta_data.py +173 -0
  177. huaweicloudsdkas/v1/model/{scaling_policy_detail.py → scaling_v1_policy_detail.py} +113 -67
  178. huaweicloudsdkas/v1/model/scaling_v2_policy_detail.py +133 -58
  179. huaweicloudsdkas/v1/model/scheduled_policy.py +41 -29
  180. huaweicloudsdkas/v1/model/scheduled_task_detail.py +339 -0
  181. huaweicloudsdkas/v1/model/scheduled_task_policy.py +230 -0
  182. huaweicloudsdkas/v1/model/security_group.py +114 -0
  183. huaweicloudsdkas/v1/model/security_groups.py +20 -15
  184. huaweicloudsdkas/v1/model/security_groups_result.py +18 -13
  185. huaweicloudsdkas/v1/model/show_api_version_request.py +114 -0
  186. huaweicloudsdkas/v1/model/show_api_version_response.py +112 -0
  187. huaweicloudsdkas/v1/model/show_life_cycle_hook_request.py +27 -16
  188. huaweicloudsdkas/v1/model/show_life_cycle_hook_response.py +56 -36
  189. huaweicloudsdkas/v1/model/show_policy_and_instance_quota_request.py +20 -13
  190. huaweicloudsdkas/v1/model/show_policy_and_instance_quota_response.py +33 -29
  191. huaweicloudsdkas/v1/model/show_resource_quota_request.py +13 -10
  192. huaweicloudsdkas/v1/model/show_resource_quota_response.py +20 -16
  193. huaweicloudsdkas/v1/model/show_scaling_config_request.py +20 -13
  194. huaweicloudsdkas/v1/model/show_scaling_config_response.py +20 -16
  195. huaweicloudsdkas/v1/model/show_scaling_group_request.py +20 -13
  196. huaweicloudsdkas/v1/model/show_scaling_group_response.py +20 -16
  197. huaweicloudsdkas/v1/model/show_scaling_policy_request.py +20 -13
  198. huaweicloudsdkas/v1/model/show_scaling_policy_response.py +21 -17
  199. huaweicloudsdkas/v1/model/show_scaling_v2_policy_request.py +20 -13
  200. huaweicloudsdkas/v1/model/show_scaling_v2_policy_response.py +20 -16
  201. huaweicloudsdkas/v1/model/tags_multi_value.py +29 -24
  202. huaweicloudsdkas/v1/model/tags_single_value.py +28 -22
  203. huaweicloudsdkas/v1/model/topics.py +28 -19
  204. huaweicloudsdkas/v1/model/update_group_scheduled_task_request.py +167 -0
  205. huaweicloudsdkas/v1/model/update_group_scheduled_task_response.py +85 -0
  206. huaweicloudsdkas/v1/model/{update_life_cycle_hook_request_body.py → update_life_cycle_hook_option.py} +52 -39
  207. huaweicloudsdkas/v1/model/update_life_cycle_hook_request.py +34 -23
  208. huaweicloudsdkas/v1/model/update_life_cycle_hook_response.py +56 -36
  209. huaweicloudsdkas/v1/model/{update_scaling_group_request_body.py → update_scaling_group_option.py} +266 -111
  210. huaweicloudsdkas/v1/model/update_scaling_group_request.py +27 -20
  211. huaweicloudsdkas/v1/model/update_scaling_group_response.py +19 -13
  212. huaweicloudsdkas/v1/model/{update_scaling_policy_request_body.py → update_scaling_policy_option.py} +62 -51
  213. huaweicloudsdkas/v1/model/update_scaling_policy_request.py +27 -20
  214. huaweicloudsdkas/v1/model/update_scaling_policy_response.py +19 -13
  215. huaweicloudsdkas/v1/model/{update_scaling_v2_policy_request_body.py → update_scaling_v2_policy_option.py} +130 -61
  216. huaweicloudsdkas/v1/model/update_scaling_v2_policy_request.py +27 -20
  217. huaweicloudsdkas/v1/model/update_scaling_v2_policy_response.py +19 -13
  218. huaweicloudsdkas/v1/model/update_scheduled_task_option.py +165 -0
  219. huaweicloudsdkas/v1/model/version_info.py +260 -0
  220. huaweicloudsdkas/v1/model/vm_meta_data.py +115 -0
  221. huaweicloudsdkas/v1/region/as_region.py +91 -38
  222. {huaweicloudsdkas-3.0.42rc0.dist-info → huaweicloudsdkas-3.1.160.dist-info}/METADATA +9 -9
  223. huaweicloudsdkas-3.1.160.dist-info/RECORD +228 -0
  224. {huaweicloudsdkas-3.0.42rc0.dist-info → huaweicloudsdkas-3.1.160.dist-info}/WHEEL +1 -1
  225. huaweicloudsdkas/v1/model/create_scaling_config_request_body.py +0 -133
  226. huaweicloudsdkas/v1/model/disk.py +0 -242
  227. huaweicloudsdkas/v1/model/execute_scaling_policies_response.py +0 -81
  228. huaweicloudsdkas-3.0.42rc0.dist-info/RECORD +0 -167
  229. {huaweicloudsdkas-3.0.42rc0.dist-info → huaweicloudsdkas-3.1.160.dist-info}/LICENSE +0 -0
  230. {huaweicloudsdkas-3.0.42rc0.dist-info → huaweicloudsdkas-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,12 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
-
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
6
 
11
7
 
12
8
  class ScalingGroups:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,7 +14,6 @@ class ScalingGroups:
19
14
  attribute_map (dict): The key is attribute name
20
15
  and the value is json key in definition.
21
16
  """
22
-
23
17
  sensitive_list = []
24
18
 
25
19
  openapi_types = {
@@ -36,7 +30,7 @@ class ScalingGroups:
36
30
  'lb_listener_id': 'str',
37
31
  'lbaas_listeners': 'list[LbaasListenersResult]',
38
32
  'available_zones': 'list[str]',
39
- 'networks': 'list[Networks]',
33
+ 'networks': 'list[NetworksResult]',
40
34
  'security_groups': 'list[SecurityGroupsResult]',
41
35
  'create_time': 'datetime',
42
36
  'vpc_id': 'str',
@@ -48,8 +42,14 @@ class ScalingGroups:
48
42
  'instance_terminate_policy': 'str',
49
43
  'notifications': 'list[str]',
50
44
  'delete_publicip': 'bool',
45
+ 'delete_volume': 'bool',
51
46
  'cloud_location_id': 'str',
52
- 'enterprise_project_id': 'str'
47
+ 'enterprise_project_id': 'str',
48
+ 'activity_type': 'str',
49
+ 'multi_az_priority_policy': 'str',
50
+ 'iam_agency_name': 'str',
51
+ 'description': 'str',
52
+ 'tags': 'list[TagsSingleValue]'
53
53
  }
54
54
 
55
55
  attribute_map = {
@@ -78,12 +78,88 @@ class ScalingGroups:
78
78
  'instance_terminate_policy': 'instance_terminate_policy',
79
79
  'notifications': 'notifications',
80
80
  'delete_publicip': 'delete_publicip',
81
+ 'delete_volume': 'delete_volume',
81
82
  'cloud_location_id': 'cloud_location_id',
82
- 'enterprise_project_id': 'enterprise_project_id'
83
+ 'enterprise_project_id': 'enterprise_project_id',
84
+ 'activity_type': 'activity_type',
85
+ 'multi_az_priority_policy': 'multi_az_priority_policy',
86
+ 'iam_agency_name': 'iam_agency_name',
87
+ 'description': 'description',
88
+ 'tags': 'tags'
83
89
  }
84
90
 
85
- def __init__(self, scaling_group_name=None, scaling_group_id=None, scaling_group_status=None, scaling_configuration_id=None, scaling_configuration_name=None, current_instance_number=None, desire_instance_number=None, min_instance_number=None, max_instance_number=None, cool_down_time=None, lb_listener_id=None, lbaas_listeners=None, available_zones=None, networks=None, security_groups=None, create_time=None, vpc_id=None, detail=None, is_scaling=None, health_periodic_audit_method=None, health_periodic_audit_time=None, health_periodic_audit_grace_period=None, instance_terminate_policy=None, notifications=None, delete_publicip=None, cloud_location_id=None, enterprise_project_id=None):
86
- """ScalingGroups - a model defined in huaweicloud sdk"""
91
+ def __init__(self, scaling_group_name=None, scaling_group_id=None, scaling_group_status=None, scaling_configuration_id=None, scaling_configuration_name=None, current_instance_number=None, desire_instance_number=None, min_instance_number=None, max_instance_number=None, cool_down_time=None, lb_listener_id=None, lbaas_listeners=None, available_zones=None, networks=None, security_groups=None, create_time=None, vpc_id=None, detail=None, is_scaling=None, health_periodic_audit_method=None, health_periodic_audit_time=None, health_periodic_audit_grace_period=None, instance_terminate_policy=None, notifications=None, delete_publicip=None, delete_volume=None, cloud_location_id=None, enterprise_project_id=None, activity_type=None, multi_az_priority_policy=None, iam_agency_name=None, description=None, tags=None):
92
+ r"""ScalingGroups
93
+
94
+ The model defined in huaweicloud sdk
95
+
96
+ :param scaling_group_name: 伸缩组名称。
97
+ :type scaling_group_name: str
98
+ :param scaling_group_id: 伸缩组ID。
99
+ :type scaling_group_id: str
100
+ :param scaling_group_status: 伸缩组状态。
101
+ :type scaling_group_status: str
102
+ :param scaling_configuration_id: 伸缩配置ID。
103
+ :type scaling_configuration_id: str
104
+ :param scaling_configuration_name: 伸缩配置名称。
105
+ :type scaling_configuration_name: str
106
+ :param current_instance_number: 伸缩组中当前实例数。
107
+ :type current_instance_number: int
108
+ :param desire_instance_number: 伸缩组期望实例数。
109
+ :type desire_instance_number: int
110
+ :param min_instance_number: 伸缩组最小实例数。
111
+ :type min_instance_number: int
112
+ :param max_instance_number: 伸缩组最大实例数
113
+ :type max_instance_number: int
114
+ :param cool_down_time: 冷却时间,单位是秒。
115
+ :type cool_down_time: int
116
+ :param lb_listener_id: 经典型负载均衡监听器ID,多个负载均衡监听器ID以逗号分隔。
117
+ :type lb_listener_id: str
118
+ :param lbaas_listeners: 增强型负载均衡器信息,该参数为预留字段。
119
+ :type lbaas_listeners: list[:class:`huaweicloudsdkas.v1.LbaasListenersResult`]
120
+ :param available_zones: 可用分区信息
121
+ :type available_zones: list[str]
122
+ :param networks: 网络信息
123
+ :type networks: list[:class:`huaweicloudsdkas.v1.NetworksResult`]
124
+ :param security_groups: 安全组信息
125
+ :type security_groups: list[:class:`huaweicloudsdkas.v1.SecurityGroupsResult`]
126
+ :param create_time: 创建伸缩组时间,遵循UTC时间。
127
+ :type create_time: datetime
128
+ :param vpc_id: 伸缩组所在的VPC ID。
129
+ :type vpc_id: str
130
+ :param detail: 伸缩组详情。
131
+ :type detail: str
132
+ :param is_scaling: 伸缩组伸缩标志。
133
+ :type is_scaling: bool
134
+ :param health_periodic_audit_method: 健康检查方式。
135
+ :type health_periodic_audit_method: str
136
+ :param health_periodic_audit_time: 健康检查的间隔时间。
137
+ :type health_periodic_audit_time: int
138
+ :param health_periodic_audit_grace_period: 健康状况检查宽限期。
139
+ :type health_periodic_audit_grace_period: int
140
+ :param instance_terminate_policy: 移除策略。
141
+ :type instance_terminate_policy: str
142
+ :param notifications: 通知方式:EMAIL为发送邮件通知。该通知方式已经被废除,建议给弹性伸缩组配置通知功能。请参考[通知](https://support.huaweicloud.com/api-as/as_06_0800.html)。
143
+ :type notifications: list[str]
144
+ :param delete_publicip: 删除云服务器是否删除云服务器绑定的弹性IP。
145
+ :type delete_publicip: bool
146
+ :param delete_volume: 删除云服务器是否删除云服务器绑定的数据盘
147
+ :type delete_volume: bool
148
+ :param cloud_location_id: 该参数为预留字段
149
+ :type cloud_location_id: str
150
+ :param enterprise_project_id: 企业项目ID
151
+ :type enterprise_project_id: str
152
+ :param activity_type: 伸缩组活动类型
153
+ :type activity_type: str
154
+ :param multi_az_priority_policy: 伸缩组扩缩容时目标AZ选择的优先级策略
155
+ :type multi_az_priority_policy: str
156
+ :param iam_agency_name: 委托的名称委托是由租户管理员在统一身份认证服务(Identity and Access Management,IAM)上创建的,可以为弹性云服务器提供访问云服务的临时凭证。
157
+ :type iam_agency_name: str
158
+ :param description: 伸缩组描述信息
159
+ :type description: str
160
+ :param tags: 添加到伸缩组的标签。
161
+ :type tags: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
162
+ """
87
163
 
88
164
 
89
165
 
@@ -112,8 +188,14 @@ class ScalingGroups:
112
188
  self._instance_terminate_policy = None
113
189
  self._notifications = None
114
190
  self._delete_publicip = None
191
+ self._delete_volume = None
115
192
  self._cloud_location_id = None
116
193
  self._enterprise_project_id = None
194
+ self._activity_type = None
195
+ self._multi_az_priority_policy = None
196
+ self._iam_agency_name = None
197
+ self._description = None
198
+ self._tags = None
117
199
  self.discriminator = None
118
200
 
119
201
  if scaling_group_name is not None:
@@ -166,14 +248,26 @@ class ScalingGroups:
166
248
  self.notifications = notifications
167
249
  if delete_publicip is not None:
168
250
  self.delete_publicip = delete_publicip
251
+ if delete_volume is not None:
252
+ self.delete_volume = delete_volume
169
253
  if cloud_location_id is not None:
170
254
  self.cloud_location_id = cloud_location_id
171
255
  if enterprise_project_id is not None:
172
256
  self.enterprise_project_id = enterprise_project_id
257
+ if activity_type is not None:
258
+ self.activity_type = activity_type
259
+ if multi_az_priority_policy is not None:
260
+ self.multi_az_priority_policy = multi_az_priority_policy
261
+ if iam_agency_name is not None:
262
+ self.iam_agency_name = iam_agency_name
263
+ if description is not None:
264
+ self.description = description
265
+ if tags is not None:
266
+ self.tags = tags
173
267
 
174
268
  @property
175
269
  def scaling_group_name(self):
176
- """Gets the scaling_group_name of this ScalingGroups.
270
+ r"""Gets the scaling_group_name of this ScalingGroups.
177
271
 
178
272
  伸缩组名称。
179
273
 
@@ -184,18 +278,18 @@ class ScalingGroups:
184
278
 
185
279
  @scaling_group_name.setter
186
280
  def scaling_group_name(self, scaling_group_name):
187
- """Sets the scaling_group_name of this ScalingGroups.
281
+ r"""Sets the scaling_group_name of this ScalingGroups.
188
282
 
189
283
  伸缩组名称。
190
284
 
191
285
  :param scaling_group_name: The scaling_group_name of this ScalingGroups.
192
- :type: str
286
+ :type scaling_group_name: str
193
287
  """
194
288
  self._scaling_group_name = scaling_group_name
195
289
 
196
290
  @property
197
291
  def scaling_group_id(self):
198
- """Gets the scaling_group_id of this ScalingGroups.
292
+ r"""Gets the scaling_group_id of this ScalingGroups.
199
293
 
200
294
  伸缩组ID。
201
295
 
@@ -206,18 +300,18 @@ class ScalingGroups:
206
300
 
207
301
  @scaling_group_id.setter
208
302
  def scaling_group_id(self, scaling_group_id):
209
- """Sets the scaling_group_id of this ScalingGroups.
303
+ r"""Sets the scaling_group_id of this ScalingGroups.
210
304
 
211
305
  伸缩组ID。
212
306
 
213
307
  :param scaling_group_id: The scaling_group_id of this ScalingGroups.
214
- :type: str
308
+ :type scaling_group_id: str
215
309
  """
216
310
  self._scaling_group_id = scaling_group_id
217
311
 
218
312
  @property
219
313
  def scaling_group_status(self):
220
- """Gets the scaling_group_status of this ScalingGroups.
314
+ r"""Gets the scaling_group_status of this ScalingGroups.
221
315
 
222
316
  伸缩组状态。
223
317
 
@@ -228,18 +322,18 @@ class ScalingGroups:
228
322
 
229
323
  @scaling_group_status.setter
230
324
  def scaling_group_status(self, scaling_group_status):
231
- """Sets the scaling_group_status of this ScalingGroups.
325
+ r"""Sets the scaling_group_status of this ScalingGroups.
232
326
 
233
327
  伸缩组状态。
234
328
 
235
329
  :param scaling_group_status: The scaling_group_status of this ScalingGroups.
236
- :type: str
330
+ :type scaling_group_status: str
237
331
  """
238
332
  self._scaling_group_status = scaling_group_status
239
333
 
240
334
  @property
241
335
  def scaling_configuration_id(self):
242
- """Gets the scaling_configuration_id of this ScalingGroups.
336
+ r"""Gets the scaling_configuration_id of this ScalingGroups.
243
337
 
244
338
  伸缩配置ID。
245
339
 
@@ -250,18 +344,18 @@ class ScalingGroups:
250
344
 
251
345
  @scaling_configuration_id.setter
252
346
  def scaling_configuration_id(self, scaling_configuration_id):
253
- """Sets the scaling_configuration_id of this ScalingGroups.
347
+ r"""Sets the scaling_configuration_id of this ScalingGroups.
254
348
 
255
349
  伸缩配置ID。
256
350
 
257
351
  :param scaling_configuration_id: The scaling_configuration_id of this ScalingGroups.
258
- :type: str
352
+ :type scaling_configuration_id: str
259
353
  """
260
354
  self._scaling_configuration_id = scaling_configuration_id
261
355
 
262
356
  @property
263
357
  def scaling_configuration_name(self):
264
- """Gets the scaling_configuration_name of this ScalingGroups.
358
+ r"""Gets the scaling_configuration_name of this ScalingGroups.
265
359
 
266
360
  伸缩配置名称。
267
361
 
@@ -272,18 +366,18 @@ class ScalingGroups:
272
366
 
273
367
  @scaling_configuration_name.setter
274
368
  def scaling_configuration_name(self, scaling_configuration_name):
275
- """Sets the scaling_configuration_name of this ScalingGroups.
369
+ r"""Sets the scaling_configuration_name of this ScalingGroups.
276
370
 
277
371
  伸缩配置名称。
278
372
 
279
373
  :param scaling_configuration_name: The scaling_configuration_name of this ScalingGroups.
280
- :type: str
374
+ :type scaling_configuration_name: str
281
375
  """
282
376
  self._scaling_configuration_name = scaling_configuration_name
283
377
 
284
378
  @property
285
379
  def current_instance_number(self):
286
- """Gets the current_instance_number of this ScalingGroups.
380
+ r"""Gets the current_instance_number of this ScalingGroups.
287
381
 
288
382
  伸缩组中当前实例数。
289
383
 
@@ -294,18 +388,18 @@ class ScalingGroups:
294
388
 
295
389
  @current_instance_number.setter
296
390
  def current_instance_number(self, current_instance_number):
297
- """Sets the current_instance_number of this ScalingGroups.
391
+ r"""Sets the current_instance_number of this ScalingGroups.
298
392
 
299
393
  伸缩组中当前实例数。
300
394
 
301
395
  :param current_instance_number: The current_instance_number of this ScalingGroups.
302
- :type: int
396
+ :type current_instance_number: int
303
397
  """
304
398
  self._current_instance_number = current_instance_number
305
399
 
306
400
  @property
307
401
  def desire_instance_number(self):
308
- """Gets the desire_instance_number of this ScalingGroups.
402
+ r"""Gets the desire_instance_number of this ScalingGroups.
309
403
 
310
404
  伸缩组期望实例数。
311
405
 
@@ -316,18 +410,18 @@ class ScalingGroups:
316
410
 
317
411
  @desire_instance_number.setter
318
412
  def desire_instance_number(self, desire_instance_number):
319
- """Sets the desire_instance_number of this ScalingGroups.
413
+ r"""Sets the desire_instance_number of this ScalingGroups.
320
414
 
321
415
  伸缩组期望实例数。
322
416
 
323
417
  :param desire_instance_number: The desire_instance_number of this ScalingGroups.
324
- :type: int
418
+ :type desire_instance_number: int
325
419
  """
326
420
  self._desire_instance_number = desire_instance_number
327
421
 
328
422
  @property
329
423
  def min_instance_number(self):
330
- """Gets the min_instance_number of this ScalingGroups.
424
+ r"""Gets the min_instance_number of this ScalingGroups.
331
425
 
332
426
  伸缩组最小实例数。
333
427
 
@@ -338,18 +432,18 @@ class ScalingGroups:
338
432
 
339
433
  @min_instance_number.setter
340
434
  def min_instance_number(self, min_instance_number):
341
- """Sets the min_instance_number of this ScalingGroups.
435
+ r"""Sets the min_instance_number of this ScalingGroups.
342
436
 
343
437
  伸缩组最小实例数。
344
438
 
345
439
  :param min_instance_number: The min_instance_number of this ScalingGroups.
346
- :type: int
440
+ :type min_instance_number: int
347
441
  """
348
442
  self._min_instance_number = min_instance_number
349
443
 
350
444
  @property
351
445
  def max_instance_number(self):
352
- """Gets the max_instance_number of this ScalingGroups.
446
+ r"""Gets the max_instance_number of this ScalingGroups.
353
447
 
354
448
  伸缩组最大实例数
355
449
 
@@ -360,18 +454,18 @@ class ScalingGroups:
360
454
 
361
455
  @max_instance_number.setter
362
456
  def max_instance_number(self, max_instance_number):
363
- """Sets the max_instance_number of this ScalingGroups.
457
+ r"""Sets the max_instance_number of this ScalingGroups.
364
458
 
365
459
  伸缩组最大实例数
366
460
 
367
461
  :param max_instance_number: The max_instance_number of this ScalingGroups.
368
- :type: int
462
+ :type max_instance_number: int
369
463
  """
370
464
  self._max_instance_number = max_instance_number
371
465
 
372
466
  @property
373
467
  def cool_down_time(self):
374
- """Gets the cool_down_time of this ScalingGroups.
468
+ r"""Gets the cool_down_time of this ScalingGroups.
375
469
 
376
470
  冷却时间,单位是秒。
377
471
 
@@ -382,18 +476,18 @@ class ScalingGroups:
382
476
 
383
477
  @cool_down_time.setter
384
478
  def cool_down_time(self, cool_down_time):
385
- """Sets the cool_down_time of this ScalingGroups.
479
+ r"""Sets the cool_down_time of this ScalingGroups.
386
480
 
387
481
  冷却时间,单位是秒。
388
482
 
389
483
  :param cool_down_time: The cool_down_time of this ScalingGroups.
390
- :type: int
484
+ :type cool_down_time: int
391
485
  """
392
486
  self._cool_down_time = cool_down_time
393
487
 
394
488
  @property
395
489
  def lb_listener_id(self):
396
- """Gets the lb_listener_id of this ScalingGroups.
490
+ r"""Gets the lb_listener_id of this ScalingGroups.
397
491
 
398
492
  经典型负载均衡监听器ID,多个负载均衡监听器ID以逗号分隔。
399
493
 
@@ -404,40 +498,40 @@ class ScalingGroups:
404
498
 
405
499
  @lb_listener_id.setter
406
500
  def lb_listener_id(self, lb_listener_id):
407
- """Sets the lb_listener_id of this ScalingGroups.
501
+ r"""Sets the lb_listener_id of this ScalingGroups.
408
502
 
409
503
  经典型负载均衡监听器ID,多个负载均衡监听器ID以逗号分隔。
410
504
 
411
505
  :param lb_listener_id: The lb_listener_id of this ScalingGroups.
412
- :type: str
506
+ :type lb_listener_id: str
413
507
  """
414
508
  self._lb_listener_id = lb_listener_id
415
509
 
416
510
  @property
417
511
  def lbaas_listeners(self):
418
- """Gets the lbaas_listeners of this ScalingGroups.
512
+ r"""Gets the lbaas_listeners of this ScalingGroups.
419
513
 
420
514
  增强型负载均衡器信息,该参数为预留字段。
421
515
 
422
516
  :return: The lbaas_listeners of this ScalingGroups.
423
- :rtype: list[LbaasListenersResult]
517
+ :rtype: list[:class:`huaweicloudsdkas.v1.LbaasListenersResult`]
424
518
  """
425
519
  return self._lbaas_listeners
426
520
 
427
521
  @lbaas_listeners.setter
428
522
  def lbaas_listeners(self, lbaas_listeners):
429
- """Sets the lbaas_listeners of this ScalingGroups.
523
+ r"""Sets the lbaas_listeners of this ScalingGroups.
430
524
 
431
525
  增强型负载均衡器信息,该参数为预留字段。
432
526
 
433
527
  :param lbaas_listeners: The lbaas_listeners of this ScalingGroups.
434
- :type: list[LbaasListenersResult]
528
+ :type lbaas_listeners: list[:class:`huaweicloudsdkas.v1.LbaasListenersResult`]
435
529
  """
436
530
  self._lbaas_listeners = lbaas_listeners
437
531
 
438
532
  @property
439
533
  def available_zones(self):
440
- """Gets the available_zones of this ScalingGroups.
534
+ r"""Gets the available_zones of this ScalingGroups.
441
535
 
442
536
  可用分区信息
443
537
 
@@ -448,62 +542,62 @@ class ScalingGroups:
448
542
 
449
543
  @available_zones.setter
450
544
  def available_zones(self, available_zones):
451
- """Sets the available_zones of this ScalingGroups.
545
+ r"""Sets the available_zones of this ScalingGroups.
452
546
 
453
547
  可用分区信息
454
548
 
455
549
  :param available_zones: The available_zones of this ScalingGroups.
456
- :type: list[str]
550
+ :type available_zones: list[str]
457
551
  """
458
552
  self._available_zones = available_zones
459
553
 
460
554
  @property
461
555
  def networks(self):
462
- """Gets the networks of this ScalingGroups.
556
+ r"""Gets the networks of this ScalingGroups.
463
557
 
464
558
  网络信息
465
559
 
466
560
  :return: The networks of this ScalingGroups.
467
- :rtype: list[Networks]
561
+ :rtype: list[:class:`huaweicloudsdkas.v1.NetworksResult`]
468
562
  """
469
563
  return self._networks
470
564
 
471
565
  @networks.setter
472
566
  def networks(self, networks):
473
- """Sets the networks of this ScalingGroups.
567
+ r"""Sets the networks of this ScalingGroups.
474
568
 
475
569
  网络信息
476
570
 
477
571
  :param networks: The networks of this ScalingGroups.
478
- :type: list[Networks]
572
+ :type networks: list[:class:`huaweicloudsdkas.v1.NetworksResult`]
479
573
  """
480
574
  self._networks = networks
481
575
 
482
576
  @property
483
577
  def security_groups(self):
484
- """Gets the security_groups of this ScalingGroups.
578
+ r"""Gets the security_groups of this ScalingGroups.
485
579
 
486
580
  安全组信息
487
581
 
488
582
  :return: The security_groups of this ScalingGroups.
489
- :rtype: list[SecurityGroupsResult]
583
+ :rtype: list[:class:`huaweicloudsdkas.v1.SecurityGroupsResult`]
490
584
  """
491
585
  return self._security_groups
492
586
 
493
587
  @security_groups.setter
494
588
  def security_groups(self, security_groups):
495
- """Sets the security_groups of this ScalingGroups.
589
+ r"""Sets the security_groups of this ScalingGroups.
496
590
 
497
591
  安全组信息
498
592
 
499
593
  :param security_groups: The security_groups of this ScalingGroups.
500
- :type: list[SecurityGroupsResult]
594
+ :type security_groups: list[:class:`huaweicloudsdkas.v1.SecurityGroupsResult`]
501
595
  """
502
596
  self._security_groups = security_groups
503
597
 
504
598
  @property
505
599
  def create_time(self):
506
- """Gets the create_time of this ScalingGroups.
600
+ r"""Gets the create_time of this ScalingGroups.
507
601
 
508
602
  创建伸缩组时间,遵循UTC时间。
509
603
 
@@ -514,18 +608,18 @@ class ScalingGroups:
514
608
 
515
609
  @create_time.setter
516
610
  def create_time(self, create_time):
517
- """Sets the create_time of this ScalingGroups.
611
+ r"""Sets the create_time of this ScalingGroups.
518
612
 
519
613
  创建伸缩组时间,遵循UTC时间。
520
614
 
521
615
  :param create_time: The create_time of this ScalingGroups.
522
- :type: datetime
616
+ :type create_time: datetime
523
617
  """
524
618
  self._create_time = create_time
525
619
 
526
620
  @property
527
621
  def vpc_id(self):
528
- """Gets the vpc_id of this ScalingGroups.
622
+ r"""Gets the vpc_id of this ScalingGroups.
529
623
 
530
624
  伸缩组所在的VPC ID。
531
625
 
@@ -536,18 +630,18 @@ class ScalingGroups:
536
630
 
537
631
  @vpc_id.setter
538
632
  def vpc_id(self, vpc_id):
539
- """Sets the vpc_id of this ScalingGroups.
633
+ r"""Sets the vpc_id of this ScalingGroups.
540
634
 
541
635
  伸缩组所在的VPC ID。
542
636
 
543
637
  :param vpc_id: The vpc_id of this ScalingGroups.
544
- :type: str
638
+ :type vpc_id: str
545
639
  """
546
640
  self._vpc_id = vpc_id
547
641
 
548
642
  @property
549
643
  def detail(self):
550
- """Gets the detail of this ScalingGroups.
644
+ r"""Gets the detail of this ScalingGroups.
551
645
 
552
646
  伸缩组详情。
553
647
 
@@ -558,18 +652,18 @@ class ScalingGroups:
558
652
 
559
653
  @detail.setter
560
654
  def detail(self, detail):
561
- """Sets the detail of this ScalingGroups.
655
+ r"""Sets the detail of this ScalingGroups.
562
656
 
563
657
  伸缩组详情。
564
658
 
565
659
  :param detail: The detail of this ScalingGroups.
566
- :type: str
660
+ :type detail: str
567
661
  """
568
662
  self._detail = detail
569
663
 
570
664
  @property
571
665
  def is_scaling(self):
572
- """Gets the is_scaling of this ScalingGroups.
666
+ r"""Gets the is_scaling of this ScalingGroups.
573
667
 
574
668
  伸缩组伸缩标志。
575
669
 
@@ -580,18 +674,18 @@ class ScalingGroups:
580
674
 
581
675
  @is_scaling.setter
582
676
  def is_scaling(self, is_scaling):
583
- """Sets the is_scaling of this ScalingGroups.
677
+ r"""Sets the is_scaling of this ScalingGroups.
584
678
 
585
679
  伸缩组伸缩标志。
586
680
 
587
681
  :param is_scaling: The is_scaling of this ScalingGroups.
588
- :type: bool
682
+ :type is_scaling: bool
589
683
  """
590
684
  self._is_scaling = is_scaling
591
685
 
592
686
  @property
593
687
  def health_periodic_audit_method(self):
594
- """Gets the health_periodic_audit_method of this ScalingGroups.
688
+ r"""Gets the health_periodic_audit_method of this ScalingGroups.
595
689
 
596
690
  健康检查方式。
597
691
 
@@ -602,18 +696,18 @@ class ScalingGroups:
602
696
 
603
697
  @health_periodic_audit_method.setter
604
698
  def health_periodic_audit_method(self, health_periodic_audit_method):
605
- """Sets the health_periodic_audit_method of this ScalingGroups.
699
+ r"""Sets the health_periodic_audit_method of this ScalingGroups.
606
700
 
607
701
  健康检查方式。
608
702
 
609
703
  :param health_periodic_audit_method: The health_periodic_audit_method of this ScalingGroups.
610
- :type: str
704
+ :type health_periodic_audit_method: str
611
705
  """
612
706
  self._health_periodic_audit_method = health_periodic_audit_method
613
707
 
614
708
  @property
615
709
  def health_periodic_audit_time(self):
616
- """Gets the health_periodic_audit_time of this ScalingGroups.
710
+ r"""Gets the health_periodic_audit_time of this ScalingGroups.
617
711
 
618
712
  健康检查的间隔时间。
619
713
 
@@ -624,18 +718,18 @@ class ScalingGroups:
624
718
 
625
719
  @health_periodic_audit_time.setter
626
720
  def health_periodic_audit_time(self, health_periodic_audit_time):
627
- """Sets the health_periodic_audit_time of this ScalingGroups.
721
+ r"""Sets the health_periodic_audit_time of this ScalingGroups.
628
722
 
629
723
  健康检查的间隔时间。
630
724
 
631
725
  :param health_periodic_audit_time: The health_periodic_audit_time of this ScalingGroups.
632
- :type: int
726
+ :type health_periodic_audit_time: int
633
727
  """
634
728
  self._health_periodic_audit_time = health_periodic_audit_time
635
729
 
636
730
  @property
637
731
  def health_periodic_audit_grace_period(self):
638
- """Gets the health_periodic_audit_grace_period of this ScalingGroups.
732
+ r"""Gets the health_periodic_audit_grace_period of this ScalingGroups.
639
733
 
640
734
  健康状况检查宽限期。
641
735
 
@@ -646,18 +740,18 @@ class ScalingGroups:
646
740
 
647
741
  @health_periodic_audit_grace_period.setter
648
742
  def health_periodic_audit_grace_period(self, health_periodic_audit_grace_period):
649
- """Sets the health_periodic_audit_grace_period of this ScalingGroups.
743
+ r"""Sets the health_periodic_audit_grace_period of this ScalingGroups.
650
744
 
651
745
  健康状况检查宽限期。
652
746
 
653
747
  :param health_periodic_audit_grace_period: The health_periodic_audit_grace_period of this ScalingGroups.
654
- :type: int
748
+ :type health_periodic_audit_grace_period: int
655
749
  """
656
750
  self._health_periodic_audit_grace_period = health_periodic_audit_grace_period
657
751
 
658
752
  @property
659
753
  def instance_terminate_policy(self):
660
- """Gets the instance_terminate_policy of this ScalingGroups.
754
+ r"""Gets the instance_terminate_policy of this ScalingGroups.
661
755
 
662
756
  移除策略。
663
757
 
@@ -668,20 +762,20 @@ class ScalingGroups:
668
762
 
669
763
  @instance_terminate_policy.setter
670
764
  def instance_terminate_policy(self, instance_terminate_policy):
671
- """Sets the instance_terminate_policy of this ScalingGroups.
765
+ r"""Sets the instance_terminate_policy of this ScalingGroups.
672
766
 
673
767
  移除策略。
674
768
 
675
769
  :param instance_terminate_policy: The instance_terminate_policy of this ScalingGroups.
676
- :type: str
770
+ :type instance_terminate_policy: str
677
771
  """
678
772
  self._instance_terminate_policy = instance_terminate_policy
679
773
 
680
774
  @property
681
775
  def notifications(self):
682
- """Gets the notifications of this ScalingGroups.
776
+ r"""Gets the notifications of this ScalingGroups.
683
777
 
684
- 通知方式:EMAIL为发送邮件通知。
778
+ 通知方式:EMAIL为发送邮件通知。该通知方式已经被废除,建议给弹性伸缩组配置通知功能。请参考[通知](https://support.huaweicloud.com/api-as/as_06_0800.html)。
685
779
 
686
780
  :return: The notifications of this ScalingGroups.
687
781
  :rtype: list[str]
@@ -690,18 +784,18 @@ class ScalingGroups:
690
784
 
691
785
  @notifications.setter
692
786
  def notifications(self, notifications):
693
- """Sets the notifications of this ScalingGroups.
787
+ r"""Sets the notifications of this ScalingGroups.
694
788
 
695
- 通知方式:EMAIL为发送邮件通知。
789
+ 通知方式:EMAIL为发送邮件通知。该通知方式已经被废除,建议给弹性伸缩组配置通知功能。请参考[通知](https://support.huaweicloud.com/api-as/as_06_0800.html)。
696
790
 
697
791
  :param notifications: The notifications of this ScalingGroups.
698
- :type: list[str]
792
+ :type notifications: list[str]
699
793
  """
700
794
  self._notifications = notifications
701
795
 
702
796
  @property
703
797
  def delete_publicip(self):
704
- """Gets the delete_publicip of this ScalingGroups.
798
+ r"""Gets the delete_publicip of this ScalingGroups.
705
799
 
706
800
  删除云服务器是否删除云服务器绑定的弹性IP。
707
801
 
@@ -712,18 +806,40 @@ class ScalingGroups:
712
806
 
713
807
  @delete_publicip.setter
714
808
  def delete_publicip(self, delete_publicip):
715
- """Sets the delete_publicip of this ScalingGroups.
809
+ r"""Sets the delete_publicip of this ScalingGroups.
716
810
 
717
811
  删除云服务器是否删除云服务器绑定的弹性IP。
718
812
 
719
813
  :param delete_publicip: The delete_publicip of this ScalingGroups.
720
- :type: bool
814
+ :type delete_publicip: bool
721
815
  """
722
816
  self._delete_publicip = delete_publicip
723
817
 
818
+ @property
819
+ def delete_volume(self):
820
+ r"""Gets the delete_volume of this ScalingGroups.
821
+
822
+ 删除云服务器是否删除云服务器绑定的数据盘
823
+
824
+ :return: The delete_volume of this ScalingGroups.
825
+ :rtype: bool
826
+ """
827
+ return self._delete_volume
828
+
829
+ @delete_volume.setter
830
+ def delete_volume(self, delete_volume):
831
+ r"""Sets the delete_volume of this ScalingGroups.
832
+
833
+ 删除云服务器是否删除云服务器绑定的数据盘
834
+
835
+ :param delete_volume: The delete_volume of this ScalingGroups.
836
+ :type delete_volume: bool
837
+ """
838
+ self._delete_volume = delete_volume
839
+
724
840
  @property
725
841
  def cloud_location_id(self):
726
- """Gets the cloud_location_id of this ScalingGroups.
842
+ r"""Gets the cloud_location_id of this ScalingGroups.
727
843
 
728
844
  该参数为预留字段
729
845
 
@@ -734,18 +850,18 @@ class ScalingGroups:
734
850
 
735
851
  @cloud_location_id.setter
736
852
  def cloud_location_id(self, cloud_location_id):
737
- """Sets the cloud_location_id of this ScalingGroups.
853
+ r"""Sets the cloud_location_id of this ScalingGroups.
738
854
 
739
855
  该参数为预留字段
740
856
 
741
857
  :param cloud_location_id: The cloud_location_id of this ScalingGroups.
742
- :type: str
858
+ :type cloud_location_id: str
743
859
  """
744
860
  self._cloud_location_id = cloud_location_id
745
861
 
746
862
  @property
747
863
  def enterprise_project_id(self):
748
- """Gets the enterprise_project_id of this ScalingGroups.
864
+ r"""Gets the enterprise_project_id of this ScalingGroups.
749
865
 
750
866
  企业项目ID
751
867
 
@@ -756,15 +872,125 @@ class ScalingGroups:
756
872
 
757
873
  @enterprise_project_id.setter
758
874
  def enterprise_project_id(self, enterprise_project_id):
759
- """Sets the enterprise_project_id of this ScalingGroups.
875
+ r"""Sets the enterprise_project_id of this ScalingGroups.
760
876
 
761
877
  企业项目ID
762
878
 
763
879
  :param enterprise_project_id: The enterprise_project_id of this ScalingGroups.
764
- :type: str
880
+ :type enterprise_project_id: str
765
881
  """
766
882
  self._enterprise_project_id = enterprise_project_id
767
883
 
884
+ @property
885
+ def activity_type(self):
886
+ r"""Gets the activity_type of this ScalingGroups.
887
+
888
+ 伸缩组活动类型
889
+
890
+ :return: The activity_type of this ScalingGroups.
891
+ :rtype: str
892
+ """
893
+ return self._activity_type
894
+
895
+ @activity_type.setter
896
+ def activity_type(self, activity_type):
897
+ r"""Sets the activity_type of this ScalingGroups.
898
+
899
+ 伸缩组活动类型
900
+
901
+ :param activity_type: The activity_type of this ScalingGroups.
902
+ :type activity_type: str
903
+ """
904
+ self._activity_type = activity_type
905
+
906
+ @property
907
+ def multi_az_priority_policy(self):
908
+ r"""Gets the multi_az_priority_policy of this ScalingGroups.
909
+
910
+ 伸缩组扩缩容时目标AZ选择的优先级策略
911
+
912
+ :return: The multi_az_priority_policy of this ScalingGroups.
913
+ :rtype: str
914
+ """
915
+ return self._multi_az_priority_policy
916
+
917
+ @multi_az_priority_policy.setter
918
+ def multi_az_priority_policy(self, multi_az_priority_policy):
919
+ r"""Sets the multi_az_priority_policy of this ScalingGroups.
920
+
921
+ 伸缩组扩缩容时目标AZ选择的优先级策略
922
+
923
+ :param multi_az_priority_policy: The multi_az_priority_policy of this ScalingGroups.
924
+ :type multi_az_priority_policy: str
925
+ """
926
+ self._multi_az_priority_policy = multi_az_priority_policy
927
+
928
+ @property
929
+ def iam_agency_name(self):
930
+ r"""Gets the iam_agency_name of this ScalingGroups.
931
+
932
+ 委托的名称委托是由租户管理员在统一身份认证服务(Identity and Access Management,IAM)上创建的,可以为弹性云服务器提供访问云服务的临时凭证。
933
+
934
+ :return: The iam_agency_name of this ScalingGroups.
935
+ :rtype: str
936
+ """
937
+ return self._iam_agency_name
938
+
939
+ @iam_agency_name.setter
940
+ def iam_agency_name(self, iam_agency_name):
941
+ r"""Sets the iam_agency_name of this ScalingGroups.
942
+
943
+ 委托的名称委托是由租户管理员在统一身份认证服务(Identity and Access Management,IAM)上创建的,可以为弹性云服务器提供访问云服务的临时凭证。
944
+
945
+ :param iam_agency_name: The iam_agency_name of this ScalingGroups.
946
+ :type iam_agency_name: str
947
+ """
948
+ self._iam_agency_name = iam_agency_name
949
+
950
+ @property
951
+ def description(self):
952
+ r"""Gets the description of this ScalingGroups.
953
+
954
+ 伸缩组描述信息
955
+
956
+ :return: The description of this ScalingGroups.
957
+ :rtype: str
958
+ """
959
+ return self._description
960
+
961
+ @description.setter
962
+ def description(self, description):
963
+ r"""Sets the description of this ScalingGroups.
964
+
965
+ 伸缩组描述信息
966
+
967
+ :param description: The description of this ScalingGroups.
968
+ :type description: str
969
+ """
970
+ self._description = description
971
+
972
+ @property
973
+ def tags(self):
974
+ r"""Gets the tags of this ScalingGroups.
975
+
976
+ 添加到伸缩组的标签。
977
+
978
+ :return: The tags of this ScalingGroups.
979
+ :rtype: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
980
+ """
981
+ return self._tags
982
+
983
+ @tags.setter
984
+ def tags(self, tags):
985
+ r"""Sets the tags of this ScalingGroups.
986
+
987
+ 添加到伸缩组的标签。
988
+
989
+ :param tags: The tags of this ScalingGroups.
990
+ :type tags: list[:class:`huaweicloudsdkas.v1.TagsSingleValue`]
991
+ """
992
+ self._tags = tags
993
+
768
994
  def to_dict(self):
769
995
  """Returns the model properties as a dict"""
770
996
  result = {}
@@ -794,10 +1020,15 @@ class ScalingGroups:
794
1020
 
795
1021
  def to_str(self):
796
1022
  """Returns the string representation of the model"""
797
- return pprint.pformat(self.to_dict())
1023
+ import simplejson as json
1024
+ if six.PY2:
1025
+ import sys
1026
+ reload(sys)
1027
+ sys.setdefaultencoding("utf-8")
1028
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
798
1029
 
799
1030
  def __repr__(self):
800
- """For `print` and `pprint`"""
1031
+ """For `print`"""
801
1032
  return self.to_str()
802
1033
 
803
1034
  def __eq__(self, other):