huaweicloudsdkas 3.0.43rc0__py3-none-any.whl → 3.1.161__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 +109 -38
  222. {huaweicloudsdkas-3.0.43rc0.dist-info → huaweicloudsdkas-3.1.161.dist-info}/METADATA +9 -9
  223. huaweicloudsdkas-3.1.161.dist-info/RECORD +228 -0
  224. {huaweicloudsdkas-3.0.43rc0.dist-info → huaweicloudsdkas-3.1.161.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.43rc0.dist-info/RECORD +0 -167
  229. {huaweicloudsdkas-3.0.43rc0.dist-info → huaweicloudsdkas-3.1.161.dist-info}/LICENSE +0 -0
  230. {huaweicloudsdkas-3.0.43rc0.dist-info → huaweicloudsdkas-3.1.161.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 ListScalingPolicyExecuteLogsRequest:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,7 +14,6 @@ class ListScalingPolicyExecuteLogsRequest:
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 = {
@@ -28,8 +22,8 @@ class ListScalingPolicyExecuteLogsRequest:
28
22
  'scaling_resource_type': 'str',
29
23
  'scaling_resource_id': 'str',
30
24
  'execute_type': 'str',
31
- 'start_time': 'datetime',
32
- 'end_time': 'datetime',
25
+ 'start_time': 'str',
26
+ 'end_time': 'str',
33
27
  'start_number': 'int',
34
28
  'limit': 'int'
35
29
  }
@@ -47,7 +41,29 @@ class ListScalingPolicyExecuteLogsRequest:
47
41
  }
48
42
 
49
43
  def __init__(self, scaling_policy_id=None, log_id=None, scaling_resource_type=None, scaling_resource_id=None, execute_type=None, start_time=None, end_time=None, start_number=None, limit=None):
50
- """ListScalingPolicyExecuteLogsRequest - a model defined in huaweicloud sdk"""
44
+ r"""ListScalingPolicyExecuteLogsRequest
45
+
46
+ The model defined in huaweicloud sdk
47
+
48
+ :param scaling_policy_id: 伸缩策略ID。
49
+ :type scaling_policy_id: str
50
+ :param log_id: 日志ID。
51
+ :type log_id: str
52
+ :param scaling_resource_type: 伸缩资源类型:伸缩组:SCALING_GROUP。带宽:BANDWIDTH
53
+ :type scaling_resource_type: str
54
+ :param scaling_resource_id: 伸缩资源ID。
55
+ :type scaling_resource_id: str
56
+ :param execute_type: 策略执行类型:SCHEDULED:自动触发(定时)。RECURRENCE:自动触发(周期)。ALARM:自动触发(告警)。MANUAL:手动触发。
57
+ :type execute_type: str
58
+ :param start_time: 查询的起始时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
59
+ :type start_time: str
60
+ :param end_time: 查询的截止时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
61
+ :type end_time: str
62
+ :param start_number: 查询的起始行号,默认为0。
63
+ :type start_number: int
64
+ :param limit: 查询记录数,默认20,最大100。
65
+ :type limit: int
66
+ """
51
67
 
52
68
 
53
69
 
@@ -82,8 +98,9 @@ class ListScalingPolicyExecuteLogsRequest:
82
98
 
83
99
  @property
84
100
  def scaling_policy_id(self):
85
- """Gets the scaling_policy_id of this ListScalingPolicyExecuteLogsRequest.
101
+ r"""Gets the scaling_policy_id of this ListScalingPolicyExecuteLogsRequest.
86
102
 
103
+ 伸缩策略ID。
87
104
 
88
105
  :return: The scaling_policy_id of this ListScalingPolicyExecuteLogsRequest.
89
106
  :rtype: str
@@ -92,18 +109,20 @@ class ListScalingPolicyExecuteLogsRequest:
92
109
 
93
110
  @scaling_policy_id.setter
94
111
  def scaling_policy_id(self, scaling_policy_id):
95
- """Sets the scaling_policy_id of this ListScalingPolicyExecuteLogsRequest.
112
+ r"""Sets the scaling_policy_id of this ListScalingPolicyExecuteLogsRequest.
96
113
 
114
+ 伸缩策略ID。
97
115
 
98
116
  :param scaling_policy_id: The scaling_policy_id of this ListScalingPolicyExecuteLogsRequest.
99
- :type: str
117
+ :type scaling_policy_id: str
100
118
  """
101
119
  self._scaling_policy_id = scaling_policy_id
102
120
 
103
121
  @property
104
122
  def log_id(self):
105
- """Gets the log_id of this ListScalingPolicyExecuteLogsRequest.
123
+ r"""Gets the log_id of this ListScalingPolicyExecuteLogsRequest.
106
124
 
125
+ 日志ID。
107
126
 
108
127
  :return: The log_id of this ListScalingPolicyExecuteLogsRequest.
109
128
  :rtype: str
@@ -112,18 +131,20 @@ class ListScalingPolicyExecuteLogsRequest:
112
131
 
113
132
  @log_id.setter
114
133
  def log_id(self, log_id):
115
- """Sets the log_id of this ListScalingPolicyExecuteLogsRequest.
134
+ r"""Sets the log_id of this ListScalingPolicyExecuteLogsRequest.
116
135
 
136
+ 日志ID。
117
137
 
118
138
  :param log_id: The log_id of this ListScalingPolicyExecuteLogsRequest.
119
- :type: str
139
+ :type log_id: str
120
140
  """
121
141
  self._log_id = log_id
122
142
 
123
143
  @property
124
144
  def scaling_resource_type(self):
125
- """Gets the scaling_resource_type of this ListScalingPolicyExecuteLogsRequest.
145
+ r"""Gets the scaling_resource_type of this ListScalingPolicyExecuteLogsRequest.
126
146
 
147
+ 伸缩资源类型:伸缩组:SCALING_GROUP。带宽:BANDWIDTH
127
148
 
128
149
  :return: The scaling_resource_type of this ListScalingPolicyExecuteLogsRequest.
129
150
  :rtype: str
@@ -132,18 +153,20 @@ class ListScalingPolicyExecuteLogsRequest:
132
153
 
133
154
  @scaling_resource_type.setter
134
155
  def scaling_resource_type(self, scaling_resource_type):
135
- """Sets the scaling_resource_type of this ListScalingPolicyExecuteLogsRequest.
156
+ r"""Sets the scaling_resource_type of this ListScalingPolicyExecuteLogsRequest.
136
157
 
158
+ 伸缩资源类型:伸缩组:SCALING_GROUP。带宽:BANDWIDTH
137
159
 
138
160
  :param scaling_resource_type: The scaling_resource_type of this ListScalingPolicyExecuteLogsRequest.
139
- :type: str
161
+ :type scaling_resource_type: str
140
162
  """
141
163
  self._scaling_resource_type = scaling_resource_type
142
164
 
143
165
  @property
144
166
  def scaling_resource_id(self):
145
- """Gets the scaling_resource_id of this ListScalingPolicyExecuteLogsRequest.
167
+ r"""Gets the scaling_resource_id of this ListScalingPolicyExecuteLogsRequest.
146
168
 
169
+ 伸缩资源ID。
147
170
 
148
171
  :return: The scaling_resource_id of this ListScalingPolicyExecuteLogsRequest.
149
172
  :rtype: str
@@ -152,18 +175,20 @@ class ListScalingPolicyExecuteLogsRequest:
152
175
 
153
176
  @scaling_resource_id.setter
154
177
  def scaling_resource_id(self, scaling_resource_id):
155
- """Sets the scaling_resource_id of this ListScalingPolicyExecuteLogsRequest.
178
+ r"""Sets the scaling_resource_id of this ListScalingPolicyExecuteLogsRequest.
156
179
 
180
+ 伸缩资源ID。
157
181
 
158
182
  :param scaling_resource_id: The scaling_resource_id of this ListScalingPolicyExecuteLogsRequest.
159
- :type: str
183
+ :type scaling_resource_id: str
160
184
  """
161
185
  self._scaling_resource_id = scaling_resource_id
162
186
 
163
187
  @property
164
188
  def execute_type(self):
165
- """Gets the execute_type of this ListScalingPolicyExecuteLogsRequest.
189
+ r"""Gets the execute_type of this ListScalingPolicyExecuteLogsRequest.
166
190
 
191
+ 策略执行类型:SCHEDULED:自动触发(定时)。RECURRENCE:自动触发(周期)。ALARM:自动触发(告警)。MANUAL:手动触发。
167
192
 
168
193
  :return: The execute_type of this ListScalingPolicyExecuteLogsRequest.
169
194
  :rtype: str
@@ -172,58 +197,64 @@ class ListScalingPolicyExecuteLogsRequest:
172
197
 
173
198
  @execute_type.setter
174
199
  def execute_type(self, execute_type):
175
- """Sets the execute_type of this ListScalingPolicyExecuteLogsRequest.
200
+ r"""Sets the execute_type of this ListScalingPolicyExecuteLogsRequest.
176
201
 
202
+ 策略执行类型:SCHEDULED:自动触发(定时)。RECURRENCE:自动触发(周期)。ALARM:自动触发(告警)。MANUAL:手动触发。
177
203
 
178
204
  :param execute_type: The execute_type of this ListScalingPolicyExecuteLogsRequest.
179
- :type: str
205
+ :type execute_type: str
180
206
  """
181
207
  self._execute_type = execute_type
182
208
 
183
209
  @property
184
210
  def start_time(self):
185
- """Gets the start_time of this ListScalingPolicyExecuteLogsRequest.
211
+ r"""Gets the start_time of this ListScalingPolicyExecuteLogsRequest.
186
212
 
213
+ 查询的起始时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
187
214
 
188
215
  :return: The start_time of this ListScalingPolicyExecuteLogsRequest.
189
- :rtype: datetime
216
+ :rtype: str
190
217
  """
191
218
  return self._start_time
192
219
 
193
220
  @start_time.setter
194
221
  def start_time(self, start_time):
195
- """Sets the start_time of this ListScalingPolicyExecuteLogsRequest.
222
+ r"""Sets the start_time of this ListScalingPolicyExecuteLogsRequest.
196
223
 
224
+ 查询的起始时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
197
225
 
198
226
  :param start_time: The start_time of this ListScalingPolicyExecuteLogsRequest.
199
- :type: datetime
227
+ :type start_time: str
200
228
  """
201
229
  self._start_time = start_time
202
230
 
203
231
  @property
204
232
  def end_time(self):
205
- """Gets the end_time of this ListScalingPolicyExecuteLogsRequest.
233
+ r"""Gets the end_time of this ListScalingPolicyExecuteLogsRequest.
206
234
 
235
+ 查询的截止时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
207
236
 
208
237
  :return: The end_time of this ListScalingPolicyExecuteLogsRequest.
209
- :rtype: datetime
238
+ :rtype: str
210
239
  """
211
240
  return self._end_time
212
241
 
213
242
  @end_time.setter
214
243
  def end_time(self, end_time):
215
- """Sets the end_time of this ListScalingPolicyExecuteLogsRequest.
244
+ r"""Sets the end_time of this ListScalingPolicyExecuteLogsRequest.
216
245
 
246
+ 查询的截止时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
217
247
 
218
248
  :param end_time: The end_time of this ListScalingPolicyExecuteLogsRequest.
219
- :type: datetime
249
+ :type end_time: str
220
250
  """
221
251
  self._end_time = end_time
222
252
 
223
253
  @property
224
254
  def start_number(self):
225
- """Gets the start_number of this ListScalingPolicyExecuteLogsRequest.
255
+ r"""Gets the start_number of this ListScalingPolicyExecuteLogsRequest.
226
256
 
257
+ 查询的起始行号,默认为0。
227
258
 
228
259
  :return: The start_number of this ListScalingPolicyExecuteLogsRequest.
229
260
  :rtype: int
@@ -232,18 +263,20 @@ class ListScalingPolicyExecuteLogsRequest:
232
263
 
233
264
  @start_number.setter
234
265
  def start_number(self, start_number):
235
- """Sets the start_number of this ListScalingPolicyExecuteLogsRequest.
266
+ r"""Sets the start_number of this ListScalingPolicyExecuteLogsRequest.
236
267
 
268
+ 查询的起始行号,默认为0。
237
269
 
238
270
  :param start_number: The start_number of this ListScalingPolicyExecuteLogsRequest.
239
- :type: int
271
+ :type start_number: int
240
272
  """
241
273
  self._start_number = start_number
242
274
 
243
275
  @property
244
276
  def limit(self):
245
- """Gets the limit of this ListScalingPolicyExecuteLogsRequest.
277
+ r"""Gets the limit of this ListScalingPolicyExecuteLogsRequest.
246
278
 
279
+ 查询记录数,默认20,最大100。
247
280
 
248
281
  :return: The limit of this ListScalingPolicyExecuteLogsRequest.
249
282
  :rtype: int
@@ -252,11 +285,12 @@ class ListScalingPolicyExecuteLogsRequest:
252
285
 
253
286
  @limit.setter
254
287
  def limit(self, limit):
255
- """Sets the limit of this ListScalingPolicyExecuteLogsRequest.
288
+ r"""Sets the limit of this ListScalingPolicyExecuteLogsRequest.
256
289
 
290
+ 查询记录数,默认20,最大100。
257
291
 
258
292
  :param limit: The limit of this ListScalingPolicyExecuteLogsRequest.
259
- :type: int
293
+ :type limit: int
260
294
  """
261
295
  self._limit = limit
262
296
 
@@ -289,10 +323,15 @@ class ListScalingPolicyExecuteLogsRequest:
289
323
 
290
324
  def to_str(self):
291
325
  """Returns the string representation of the model"""
292
- return pprint.pformat(self.to_dict())
326
+ import simplejson as json
327
+ if six.PY2:
328
+ import sys
329
+ reload(sys)
330
+ sys.setdefaultencoding("utf-8")
331
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
293
332
 
294
333
  def __repr__(self):
295
- """For `print` and `pprint`"""
334
+ """For `print`"""
296
335
  return self.to_str()
297
336
 
298
337
  def __eq__(self, other):
@@ -1,17 +1,13 @@
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.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
7
 
11
8
 
12
9
  class ListScalingPolicyExecuteLogsResponse(SdkResponse):
13
10
 
14
-
15
11
  """
16
12
  Attributes:
17
13
  openapi_types (dict): The key is attribute name
@@ -19,7 +15,6 @@ class ListScalingPolicyExecuteLogsResponse(SdkResponse):
19
15
  attribute_map (dict): The key is attribute name
20
16
  and the value is json key in definition.
21
17
  """
22
-
23
18
  sensitive_list = []
24
19
 
25
20
  openapi_types = {
@@ -37,9 +32,21 @@ class ListScalingPolicyExecuteLogsResponse(SdkResponse):
37
32
  }
38
33
 
39
34
  def __init__(self, total_number=None, start_number=None, limit=None, scaling_policy_execute_log=None):
40
- """ListScalingPolicyExecuteLogsResponse - a model defined in huaweicloud sdk"""
35
+ r"""ListScalingPolicyExecuteLogsResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param total_number: 总记录数。
40
+ :type total_number: int
41
+ :param start_number: 查询的起始行号。
42
+ :type start_number: int
43
+ :param limit: 查询记录数。
44
+ :type limit: int
45
+ :param scaling_policy_execute_log: 伸缩策略执行日志列表。
46
+ :type scaling_policy_execute_log: list[:class:`huaweicloudsdkas.v1.ScalingPolicyExecuteLogList`]
47
+ """
41
48
 
42
- super().__init__()
49
+ super(ListScalingPolicyExecuteLogsResponse, self).__init__()
43
50
 
44
51
  self._total_number = None
45
52
  self._start_number = None
@@ -58,7 +65,7 @@ class ListScalingPolicyExecuteLogsResponse(SdkResponse):
58
65
 
59
66
  @property
60
67
  def total_number(self):
61
- """Gets the total_number of this ListScalingPolicyExecuteLogsResponse.
68
+ r"""Gets the total_number of this ListScalingPolicyExecuteLogsResponse.
62
69
 
63
70
  总记录数。
64
71
 
@@ -69,18 +76,18 @@ class ListScalingPolicyExecuteLogsResponse(SdkResponse):
69
76
 
70
77
  @total_number.setter
71
78
  def total_number(self, total_number):
72
- """Sets the total_number of this ListScalingPolicyExecuteLogsResponse.
79
+ r"""Sets the total_number of this ListScalingPolicyExecuteLogsResponse.
73
80
 
74
81
  总记录数。
75
82
 
76
83
  :param total_number: The total_number of this ListScalingPolicyExecuteLogsResponse.
77
- :type: int
84
+ :type total_number: int
78
85
  """
79
86
  self._total_number = total_number
80
87
 
81
88
  @property
82
89
  def start_number(self):
83
- """Gets the start_number of this ListScalingPolicyExecuteLogsResponse.
90
+ r"""Gets the start_number of this ListScalingPolicyExecuteLogsResponse.
84
91
 
85
92
  查询的起始行号。
86
93
 
@@ -91,18 +98,18 @@ class ListScalingPolicyExecuteLogsResponse(SdkResponse):
91
98
 
92
99
  @start_number.setter
93
100
  def start_number(self, start_number):
94
- """Sets the start_number of this ListScalingPolicyExecuteLogsResponse.
101
+ r"""Sets the start_number of this ListScalingPolicyExecuteLogsResponse.
95
102
 
96
103
  查询的起始行号。
97
104
 
98
105
  :param start_number: The start_number of this ListScalingPolicyExecuteLogsResponse.
99
- :type: int
106
+ :type start_number: int
100
107
  """
101
108
  self._start_number = start_number
102
109
 
103
110
  @property
104
111
  def limit(self):
105
- """Gets the limit of this ListScalingPolicyExecuteLogsResponse.
112
+ r"""Gets the limit of this ListScalingPolicyExecuteLogsResponse.
106
113
 
107
114
  查询记录数。
108
115
 
@@ -113,34 +120,34 @@ class ListScalingPolicyExecuteLogsResponse(SdkResponse):
113
120
 
114
121
  @limit.setter
115
122
  def limit(self, limit):
116
- """Sets the limit of this ListScalingPolicyExecuteLogsResponse.
123
+ r"""Sets the limit of this ListScalingPolicyExecuteLogsResponse.
117
124
 
118
125
  查询记录数。
119
126
 
120
127
  :param limit: The limit of this ListScalingPolicyExecuteLogsResponse.
121
- :type: int
128
+ :type limit: int
122
129
  """
123
130
  self._limit = limit
124
131
 
125
132
  @property
126
133
  def scaling_policy_execute_log(self):
127
- """Gets the scaling_policy_execute_log of this ListScalingPolicyExecuteLogsResponse.
134
+ r"""Gets the scaling_policy_execute_log of this ListScalingPolicyExecuteLogsResponse.
128
135
 
129
136
  伸缩策略执行日志列表。
130
137
 
131
138
  :return: The scaling_policy_execute_log of this ListScalingPolicyExecuteLogsResponse.
132
- :rtype: list[ScalingPolicyExecuteLogList]
139
+ :rtype: list[:class:`huaweicloudsdkas.v1.ScalingPolicyExecuteLogList`]
133
140
  """
134
141
  return self._scaling_policy_execute_log
135
142
 
136
143
  @scaling_policy_execute_log.setter
137
144
  def scaling_policy_execute_log(self, scaling_policy_execute_log):
138
- """Sets the scaling_policy_execute_log of this ListScalingPolicyExecuteLogsResponse.
145
+ r"""Sets the scaling_policy_execute_log of this ListScalingPolicyExecuteLogsResponse.
139
146
 
140
147
  伸缩策略执行日志列表。
141
148
 
142
149
  :param scaling_policy_execute_log: The scaling_policy_execute_log of this ListScalingPolicyExecuteLogsResponse.
143
- :type: list[ScalingPolicyExecuteLogList]
150
+ :type scaling_policy_execute_log: list[:class:`huaweicloudsdkas.v1.ScalingPolicyExecuteLogList`]
144
151
  """
145
152
  self._scaling_policy_execute_log = scaling_policy_execute_log
146
153
 
@@ -173,10 +180,15 @@ class ListScalingPolicyExecuteLogsResponse(SdkResponse):
173
180
 
174
181
  def to_str(self):
175
182
  """Returns the string representation of the model"""
176
- return pprint.pformat(self.to_dict())
183
+ import simplejson as json
184
+ if six.PY2:
185
+ import sys
186
+ reload(sys)
187
+ sys.setdefaultencoding("utf-8")
188
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
177
189
 
178
190
  def __repr__(self):
179
- """For `print` and `pprint`"""
191
+ """For `print`"""
180
192
  return self.to_str()
181
193
 
182
194
  def __eq__(self, other):
@@ -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 ListScalingTagInfosByResourceIdRequest:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,7 +14,6 @@ class ListScalingTagInfosByResourceIdRequest:
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 = {
@@ -33,7 +27,15 @@ class ListScalingTagInfosByResourceIdRequest:
33
27
  }
34
28
 
35
29
  def __init__(self, resource_type=None, resource_id=None):
36
- """ListScalingTagInfosByResourceIdRequest - a model defined in huaweicloud sdk"""
30
+ r"""ListScalingTagInfosByResourceIdRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param resource_type: 资源类型,枚举类:scaling_group_tag。scaling_group_tag表示资源类型为伸缩组。
35
+ :type resource_type: str
36
+ :param resource_id: 资源ID。
37
+ :type resource_id: str
38
+ """
37
39
 
38
40
 
39
41
 
@@ -46,8 +48,9 @@ class ListScalingTagInfosByResourceIdRequest:
46
48
 
47
49
  @property
48
50
  def resource_type(self):
49
- """Gets the resource_type of this ListScalingTagInfosByResourceIdRequest.
51
+ r"""Gets the resource_type of this ListScalingTagInfosByResourceIdRequest.
50
52
 
53
+ 资源类型,枚举类:scaling_group_tag。scaling_group_tag表示资源类型为伸缩组。
51
54
 
52
55
  :return: The resource_type of this ListScalingTagInfosByResourceIdRequest.
53
56
  :rtype: str
@@ -56,18 +59,20 @@ class ListScalingTagInfosByResourceIdRequest:
56
59
 
57
60
  @resource_type.setter
58
61
  def resource_type(self, resource_type):
59
- """Sets the resource_type of this ListScalingTagInfosByResourceIdRequest.
62
+ r"""Sets the resource_type of this ListScalingTagInfosByResourceIdRequest.
60
63
 
64
+ 资源类型,枚举类:scaling_group_tag。scaling_group_tag表示资源类型为伸缩组。
61
65
 
62
66
  :param resource_type: The resource_type of this ListScalingTagInfosByResourceIdRequest.
63
- :type: str
67
+ :type resource_type: str
64
68
  """
65
69
  self._resource_type = resource_type
66
70
 
67
71
  @property
68
72
  def resource_id(self):
69
- """Gets the resource_id of this ListScalingTagInfosByResourceIdRequest.
73
+ r"""Gets the resource_id of this ListScalingTagInfosByResourceIdRequest.
70
74
 
75
+ 资源ID。
71
76
 
72
77
  :return: The resource_id of this ListScalingTagInfosByResourceIdRequest.
73
78
  :rtype: str
@@ -76,11 +81,12 @@ class ListScalingTagInfosByResourceIdRequest:
76
81
 
77
82
  @resource_id.setter
78
83
  def resource_id(self, resource_id):
79
- """Sets the resource_id of this ListScalingTagInfosByResourceIdRequest.
84
+ r"""Sets the resource_id of this ListScalingTagInfosByResourceIdRequest.
80
85
 
86
+ 资源ID。
81
87
 
82
88
  :param resource_id: The resource_id of this ListScalingTagInfosByResourceIdRequest.
83
- :type: str
89
+ :type resource_id: str
84
90
  """
85
91
  self._resource_id = resource_id
86
92
 
@@ -113,10 +119,15 @@ class ListScalingTagInfosByResourceIdRequest:
113
119
 
114
120
  def to_str(self):
115
121
  """Returns the string representation of the model"""
116
- return pprint.pformat(self.to_dict())
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
117
128
 
118
129
  def __repr__(self):
119
- """For `print` and `pprint`"""
130
+ """For `print`"""
120
131
  return self.to_str()
121
132
 
122
133
  def __eq__(self, other):