huaweicloudsdkas 3.0.33rc0__py3-none-any.whl → 3.1.176__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.
- huaweicloudsdkas/v1/__init__.py +135 -34
- huaweicloudsdkas/v1/as_async_client.py +3419 -1442
- huaweicloudsdkas/v1/as_client.py +3417 -1441
- huaweicloudsdkas/v1/model/__init__.py +134 -32
- huaweicloudsdkas/v1/model/all_quotas.py +16 -18
- huaweicloudsdkas/v1/model/all_resources.py +62 -29
- huaweicloudsdkas/v1/model/allowed_address_pair.py +108 -0
- huaweicloudsdkas/v1/model/attach_callback_instance_life_cycle_hook_request.py +132 -0
- huaweicloudsdkas/v1/model/attach_callback_instance_life_cycle_hook_response.py +81 -0
- huaweicloudsdkas/v1/model/bandwidth_info.py +194 -0
- huaweicloudsdkas/v1/model/{bandwidth.py → bandwidth_result.py} +52 -46
- huaweicloudsdkas/v1/model/{update_scaling_group_instance_request_body.py → batch_add_instances_option.py} +40 -36
- huaweicloudsdkas/v1/model/batch_add_scaling_instances_request.py +132 -0
- huaweicloudsdkas/v1/model/batch_add_scaling_instances_response.py +81 -0
- huaweicloudsdkas/v1/model/{batch_delete_scaling_configs_request_body.py → batch_delete_scaling_config_option.py} +20 -23
- huaweicloudsdkas/v1/model/batch_delete_scaling_configs_request.py +17 -21
- huaweicloudsdkas/v1/model/batch_delete_scaling_configs_response.py +13 -13
- huaweicloudsdkas/v1/model/batch_delete_scaling_policies_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_delete_scaling_policies_request.py +104 -0
- huaweicloudsdkas/v1/model/{update_scaling_group_instance_response.py → batch_delete_scaling_policies_response.py} +15 -15
- huaweicloudsdkas/v1/model/batch_enter_standby_instances_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_exit_stand_by_instances_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_pause_scaling_policies_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_pause_scaling_policies_request.py +104 -0
- huaweicloudsdkas/v1/model/batch_pause_scaling_policies_response.py +81 -0
- huaweicloudsdkas/v1/model/batch_protect_instances_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_protect_scaling_instances_request.py +132 -0
- huaweicloudsdkas/v1/model/batch_protect_scaling_instances_response.py +81 -0
- huaweicloudsdkas/v1/model/batch_remove_instances_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_remove_scaling_instances_request.py +132 -0
- huaweicloudsdkas/v1/model/batch_remove_scaling_instances_response.py +81 -0
- huaweicloudsdkas/v1/model/batch_resume_scaling_policies_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_resume_scaling_policies_request.py +104 -0
- huaweicloudsdkas/v1/model/batch_resume_scaling_policies_response.py +81 -0
- huaweicloudsdkas/v1/model/batch_set_scaling_instances_standby_request.py +132 -0
- huaweicloudsdkas/v1/model/batch_set_scaling_instances_standby_response.py +81 -0
- huaweicloudsdkas/v1/model/batch_unprotect_instances_option.py +193 -0
- huaweicloudsdkas/v1/model/batch_unprotect_scaling_instances_request.py +132 -0
- huaweicloudsdkas/v1/model/batch_unprotect_scaling_instances_response.py +81 -0
- huaweicloudsdkas/v1/model/batch_unset_scaling_instances_stantby_request.py +132 -0
- huaweicloudsdkas/v1/model/batch_unset_scaling_instances_stantby_response.py +81 -0
- huaweicloudsdkas/v1/model/{complete_lifecycle_action_request_body.py → callback_life_cycle_hook_option.py} +40 -36
- huaweicloudsdkas/v1/model/close_warm_pool_request.py +107 -0
- huaweicloudsdkas/v1/model/{complete_lifecycle_action_response.py → close_warm_pool_response.py} +15 -15
- huaweicloudsdkas/v1/model/create_group_scheduled_task_request.py +132 -0
- huaweicloudsdkas/v1/model/create_group_scheduled_task_response.py +112 -0
- huaweicloudsdkas/v1/model/{create_life_cycle_hook_request_body.py → create_life_cycle_hook_option.py} +56 -48
- huaweicloudsdkas/v1/model/create_lify_cycle_hook_request.py +24 -24
- huaweicloudsdkas/v1/model/create_lify_cycle_hook_response.py +55 -39
- huaweicloudsdkas/v1/model/{create_notification_request_body.py → create_notification_option.py} +28 -30
- huaweicloudsdkas/v1/model/create_scaling_config_option.py +162 -0
- huaweicloudsdkas/v1/model/create_scaling_config_request.py +17 -21
- huaweicloudsdkas/v1/model/create_scaling_config_response.py +18 -16
- huaweicloudsdkas/v1/model/{create_scaling_group_request_body.py → create_scaling_group_option.py} +286 -135
- huaweicloudsdkas/v1/model/create_scaling_group_request.py +17 -21
- huaweicloudsdkas/v1/model/create_scaling_group_response.py +18 -16
- huaweicloudsdkas/v1/model/create_scaling_notification_request.py +24 -24
- huaweicloudsdkas/v1/model/create_scaling_notification_response.py +28 -22
- huaweicloudsdkas/v1/model/{create_scaling_policy_request_body.py → create_scaling_policy_option.py} +66 -60
- huaweicloudsdkas/v1/model/create_scaling_policy_request.py +17 -21
- huaweicloudsdkas/v1/model/create_scaling_policy_response.py +18 -16
- huaweicloudsdkas/v1/model/create_scaling_policy_v2_option.py +353 -0
- huaweicloudsdkas/v1/model/{create_scaling_tags_request.py → create_scaling_tag_info_request.py} +39 -35
- huaweicloudsdkas/v1/model/create_scaling_tag_info_response.py +81 -0
- huaweicloudsdkas/v1/model/create_scaling_v2_policy_request.py +104 -0
- huaweicloudsdkas/v1/model/create_scaling_v2_policy_response.py +112 -0
- huaweicloudsdkas/v1/model/create_scheduled_task_option.py +155 -0
- huaweicloudsdkas/v1/model/{delete_scaling_tags_request_body.py → create_tags_option.py} +32 -34
- huaweicloudsdkas/v1/model/delete_group_scheduled_task_request.py +135 -0
- huaweicloudsdkas/v1/model/delete_group_scheduled_task_response.py +81 -0
- huaweicloudsdkas/v1/model/delete_lifecycle_hook_request.py +24 -20
- huaweicloudsdkas/v1/model/delete_lifecycle_hook_response.py +13 -13
- huaweicloudsdkas/v1/model/delete_scaling_config_request.py +17 -17
- huaweicloudsdkas/v1/model/delete_scaling_config_response.py +13 -13
- huaweicloudsdkas/v1/model/delete_scaling_group_request.py +24 -20
- huaweicloudsdkas/v1/model/delete_scaling_group_response.py +13 -13
- huaweicloudsdkas/v1/model/delete_scaling_instance_request.py +24 -20
- huaweicloudsdkas/v1/model/delete_scaling_instance_response.py +13 -13
- huaweicloudsdkas/v1/model/delete_scaling_notification_request.py +24 -20
- huaweicloudsdkas/v1/model/delete_scaling_notification_response.py +13 -13
- huaweicloudsdkas/v1/model/delete_scaling_policy_request.py +17 -17
- huaweicloudsdkas/v1/model/delete_scaling_policy_response.py +13 -13
- huaweicloudsdkas/v1/model/{delete_scaling_tags_request.py → delete_scaling_tag_info_request.py} +39 -35
- huaweicloudsdkas/v1/model/delete_scaling_tag_info_response.py +81 -0
- huaweicloudsdkas/v1/model/{create_scaling_tags_request_body.py → delete_tags_option.py} +34 -36
- huaweicloudsdkas/v1/model/disk_info.py +333 -0
- huaweicloudsdkas/v1/model/disk_result.py +336 -0
- huaweicloudsdkas/v1/model/{eip.py → eip_info.py} +28 -30
- huaweicloudsdkas/v1/model/eip_meta_data.py +166 -0
- huaweicloudsdkas/v1/model/eip_result.py +133 -0
- huaweicloudsdkas/v1/model/execute_scaling_policy_option.py +107 -0
- huaweicloudsdkas/v1/model/execute_scaling_policy_request.py +24 -24
- huaweicloudsdkas/v1/model/execute_scaling_policy_response.py +13 -13
- huaweicloudsdkas/v1/model/instance_config.py +99 -77
- huaweicloudsdkas/v1/model/instance_config_result.py +186 -75
- huaweicloudsdkas/v1/model/instance_hanging_infos.py +47 -37
- huaweicloudsdkas/v1/model/integer_range.py +166 -0
- huaweicloudsdkas/v1/model/interval_alarm_actions_v2.py +245 -0
- huaweicloudsdkas/v1/model/ipv6_bandwidth.py +15 -17
- huaweicloudsdkas/v1/model/job_records.py +52 -40
- huaweicloudsdkas/v1/model/lbaas_listener.py +195 -0
- huaweicloudsdkas/v1/model/lbaas_listeners.py +60 -30
- huaweicloudsdkas/v1/model/lbaas_listeners_result.py +74 -41
- huaweicloudsdkas/v1/model/lifecycle_hook_list.py +52 -40
- huaweicloudsdkas/v1/model/links.py +137 -0
- huaweicloudsdkas/v1/model/list_all_scaling_v2_policies_request.py +398 -0
- huaweicloudsdkas/v1/model/list_all_scaling_v2_policies_response.py +199 -0
- huaweicloudsdkas/v1/model/{delete_scaling_tags_response.py → list_api_versions_request.py} +13 -17
- huaweicloudsdkas/v1/model/list_api_versions_response.py +112 -0
- huaweicloudsdkas/v1/model/list_group_scheduled_tasks_request.py +165 -0
- huaweicloudsdkas/v1/model/list_group_scheduled_tasks_response.py +137 -0
- huaweicloudsdkas/v1/model/list_hook_instances_request.py +24 -20
- huaweicloudsdkas/v1/model/list_hook_instances_response.py +19 -17
- huaweicloudsdkas/v1/model/list_life_cycle_hooks_request.py +17 -17
- huaweicloudsdkas/v1/model/list_life_cycle_hooks_response.py +19 -17
- huaweicloudsdkas/v1/model/list_resource_instances_request.py +24 -24
- huaweicloudsdkas/v1/model/list_resource_instances_response.py +31 -25
- huaweicloudsdkas/v1/model/list_scaling_activity_logs_request.py +49 -33
- huaweicloudsdkas/v1/model/list_scaling_activity_logs_response.py +34 -26
- huaweicloudsdkas/v1/model/list_scaling_activity_v2_logs_request.py +310 -0
- huaweicloudsdkas/v1/model/list_scaling_activity_v2_logs_response.py +199 -0
- huaweicloudsdkas/v1/model/list_scaling_configs_request.py +38 -26
- huaweicloudsdkas/v1/model/list_scaling_configs_response.py +34 -26
- huaweicloudsdkas/v1/model/list_scaling_groups_request.py +77 -32
- huaweicloudsdkas/v1/model/list_scaling_groups_response.py +34 -26
- huaweicloudsdkas/v1/model/list_scaling_instances_request.py +52 -32
- huaweicloudsdkas/v1/model/list_scaling_instances_response.py +34 -26
- huaweicloudsdkas/v1/model/list_scaling_notifications_request.py +17 -17
- huaweicloudsdkas/v1/model/list_scaling_notifications_response.py +19 -17
- huaweicloudsdkas/v1/model/list_scaling_policies_request.py +52 -32
- huaweicloudsdkas/v1/model/list_scaling_policies_response.py +35 -27
- huaweicloudsdkas/v1/model/list_scaling_policy_execute_logs_request.py +77 -45
- huaweicloudsdkas/v1/model/list_scaling_policy_execute_logs_response.py +34 -26
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_resource_id_request.py +24 -20
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_resource_id_response.py +25 -21
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_tenant_id_request.py +17 -17
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_tenant_id_response.py +19 -17
- huaweicloudsdkas/v1/model/list_scaling_v2_policies_request.py +252 -0
- huaweicloudsdkas/v1/model/list_scaling_v2_policies_response.py +199 -0
- huaweicloudsdkas/v1/model/list_warm_pool_instances_request.py +165 -0
- huaweicloudsdkas/v1/model/list_warm_pool_instances_response.py +137 -0
- huaweicloudsdkas/v1/model/matches.py +22 -24
- huaweicloudsdkas/v1/model/meta_data.py +59 -32
- huaweicloudsdkas/v1/model/modify_lb.py +191 -0
- huaweicloudsdkas/v1/model/networks.py +60 -31
- huaweicloudsdkas/v1/model/networks_result.py +191 -0
- huaweicloudsdkas/v1/model/page_info.py +108 -0
- huaweicloudsdkas/v1/model/{enable_or_disable_scaling_group_request_body.py → pause_scaling_group_option.py} +20 -23
- huaweicloudsdkas/v1/model/{enable_or_disable_scaling_group_request.py → pause_scaling_group_request.py} +30 -30
- huaweicloudsdkas/v1/model/{create_scaling_tags_response.py → pause_scaling_group_response.py} +15 -15
- huaweicloudsdkas/v1/model/{execute_scaling_policy_request_body.py → pause_scaling_policy_option.py} +20 -23
- huaweicloudsdkas/v1/model/pause_scaling_policy_request.py +132 -0
- huaweicloudsdkas/v1/model/pause_scaling_policy_response.py +81 -0
- huaweicloudsdkas/v1/model/{personality.py → personality_info.py} +26 -26
- huaweicloudsdkas/v1/model/personality_result.py +137 -0
- huaweicloudsdkas/v1/model/policy_instance_quotas.py +16 -18
- huaweicloudsdkas/v1/model/policy_instance_resources.py +62 -29
- huaweicloudsdkas/v1/model/public_ip.py +17 -21
- huaweicloudsdkas/v1/model/publicip_result.py +104 -0
- huaweicloudsdkas/v1/model/put_warm_pool_option.py +166 -0
- huaweicloudsdkas/v1/model/{complete_lifecycle_action_request.py → put_warm_pool_request.py} +30 -30
- huaweicloudsdkas/v1/model/{enable_or_disable_scaling_group_response.py → put_warm_pool_response.py} +15 -15
- huaweicloudsdkas/v1/model/{show_tags_request_body.py → query_tags_option.py} +91 -77
- huaweicloudsdkas/v1/model/resource_tags.py +20 -20
- huaweicloudsdkas/v1/model/resources.py +31 -27
- huaweicloudsdkas/v1/model/resume_scaling_group_option.py +107 -0
- huaweicloudsdkas/v1/model/{update_scaling_group_instance_request.py → resume_scaling_group_request.py} +30 -30
- huaweicloudsdkas/v1/model/resume_scaling_group_response.py +81 -0
- huaweicloudsdkas/v1/model/resume_scaling_policy_option.py +107 -0
- huaweicloudsdkas/v1/model/resume_scaling_policy_request.py +132 -0
- huaweicloudsdkas/v1/model/resume_scaling_policy_response.py +81 -0
- huaweicloudsdkas/v1/model/scaling_activity_log_list.py +67 -49
- huaweicloudsdkas/v1/model/scaling_activity_log_v2.py +601 -0
- huaweicloudsdkas/v1/model/scaling_all_policy_detail.py +469 -0
- huaweicloudsdkas/v1/model/scaling_configuration.py +68 -35
- huaweicloudsdkas/v1/model/scaling_group_instance.py +62 -46
- huaweicloudsdkas/v1/model/scaling_groups.py +328 -104
- huaweicloudsdkas/v1/model/scaling_instance.py +224 -0
- huaweicloudsdkas/v1/model/scaling_policies_v2.py +469 -0
- huaweicloudsdkas/v1/model/{scaling_policy_action.py → scaling_policy_action_v1.py} +37 -35
- huaweicloudsdkas/v1/model/scaling_policy_action_v2.py +195 -0
- huaweicloudsdkas/v1/model/scaling_policy_execute_log_list.py +105 -81
- huaweicloudsdkas/v1/model/scaling_policy_v2_meta_data.py +166 -0
- huaweicloudsdkas/v1/model/{scaling_policy_detail.py → scaling_v1_policy_detail.py} +110 -71
- huaweicloudsdkas/v1/model/scaling_v2_policy_detail.py +469 -0
- huaweicloudsdkas/v1/model/scheduled_policy.py +38 -33
- huaweicloudsdkas/v1/model/scheduled_task_detail.py +332 -0
- huaweicloudsdkas/v1/model/scheduled_task_policy.py +223 -0
- huaweicloudsdkas/v1/model/security_group.py +107 -0
- huaweicloudsdkas/v1/model/security_groups.py +17 -19
- huaweicloudsdkas/v1/model/security_groups_result.py +15 -17
- huaweicloudsdkas/v1/model/show_api_version_request.py +107 -0
- huaweicloudsdkas/v1/model/show_api_version_response.py +108 -0
- huaweicloudsdkas/v1/model/show_life_cycle_hook_request.py +24 -20
- huaweicloudsdkas/v1/model/show_life_cycle_hook_response.py +55 -39
- huaweicloudsdkas/v1/model/show_policy_and_instance_quota_request.py +17 -17
- huaweicloudsdkas/v1/model/show_policy_and_instance_quota_response.py +32 -32
- huaweicloudsdkas/v1/model/show_resource_quota_request.py +10 -14
- huaweicloudsdkas/v1/model/show_resource_quota_response.py +19 -19
- huaweicloudsdkas/v1/model/show_scaling_config_request.py +17 -17
- huaweicloudsdkas/v1/model/show_scaling_config_response.py +19 -19
- huaweicloudsdkas/v1/model/show_scaling_group_request.py +17 -17
- huaweicloudsdkas/v1/model/show_scaling_group_response.py +19 -19
- huaweicloudsdkas/v1/model/show_scaling_policy_request.py +17 -17
- huaweicloudsdkas/v1/model/show_scaling_policy_response.py +20 -20
- huaweicloudsdkas/v1/model/show_scaling_v2_policy_request.py +107 -0
- huaweicloudsdkas/v1/model/show_scaling_v2_policy_response.py +108 -0
- huaweicloudsdkas/v1/model/show_warm_pool_request.py +107 -0
- huaweicloudsdkas/v1/model/show_warm_pool_response.py +108 -0
- huaweicloudsdkas/v1/model/tags_multi_value.py +26 -28
- huaweicloudsdkas/v1/model/tags_single_value.py +25 -26
- huaweicloudsdkas/v1/model/topics.py +25 -23
- huaweicloudsdkas/v1/model/update_group_scheduled_task_request.py +160 -0
- huaweicloudsdkas/v1/model/update_group_scheduled_task_response.py +81 -0
- huaweicloudsdkas/v1/model/update_instance_config.py +107 -0
- huaweicloudsdkas/v1/model/{update_life_cycle_hook_request_body.py → update_life_cycle_hook_option.py} +49 -43
- huaweicloudsdkas/v1/model/update_life_cycle_hook_request.py +31 -27
- huaweicloudsdkas/v1/model/update_life_cycle_hook_response.py +55 -39
- huaweicloudsdkas/v1/model/update_scaling_config_option.py +103 -0
- huaweicloudsdkas/v1/model/update_scaling_config_request.py +128 -0
- huaweicloudsdkas/v1/model/update_scaling_config_response.py +81 -0
- huaweicloudsdkas/v1/model/{update_scaling_group_request_body.py → update_scaling_group_option.py} +263 -115
- huaweicloudsdkas/v1/model/update_scaling_group_request.py +24 -24
- huaweicloudsdkas/v1/model/update_scaling_group_response.py +18 -16
- huaweicloudsdkas/v1/model/{update_scaling_policy_request_body.py → update_scaling_policy_option.py} +59 -55
- huaweicloudsdkas/v1/model/update_scaling_policy_request.py +24 -24
- huaweicloudsdkas/v1/model/update_scaling_policy_response.py +18 -16
- huaweicloudsdkas/v1/model/update_scaling_v2_policy_option.py +357 -0
- huaweicloudsdkas/v1/model/update_scaling_v2_policy_request.py +132 -0
- huaweicloudsdkas/v1/model/update_scaling_v2_policy_response.py +112 -0
- huaweicloudsdkas/v1/model/update_scheduled_task_option.py +158 -0
- huaweicloudsdkas/v1/model/version_info.py +253 -0
- huaweicloudsdkas/v1/model/vm_meta_data.py +108 -0
- huaweicloudsdkas/v1/model/warm_pool_info.py +195 -0
- huaweicloudsdkas/v1/model/warm_pool_instance.py +195 -0
- huaweicloudsdkas/v1/region/as_region.py +112 -38
- huaweicloudsdkas-3.1.176.dist-info/METADATA +25 -0
- huaweicloudsdkas-3.1.176.dist-info/RECORD +242 -0
- {huaweicloudsdkas-3.0.33rc0.dist-info → huaweicloudsdkas-3.1.176.dist-info}/WHEEL +1 -2
- huaweicloudsdkas/v1/model/create_scaling_config_request_body.py +0 -133
- huaweicloudsdkas/v1/model/disk.py +0 -242
- huaweicloudsdkas-3.0.33rc0.dist-info/METADATA +0 -26
- huaweicloudsdkas-3.0.33rc0.dist-info/RECORD +0 -141
- huaweicloudsdkas-3.0.33rc0.dist-info/top_level.txt +0 -1
- {huaweicloudsdkas-3.0.33rc0.dist-info → huaweicloudsdkas-3.1.176.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import re
|
|
5
|
-
|
|
6
|
-
import six
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
10
4
|
|
|
11
5
|
|
|
12
6
|
class DeleteScalingInstanceRequest:
|
|
13
7
|
|
|
14
|
-
|
|
15
8
|
"""
|
|
16
9
|
Attributes:
|
|
17
10
|
openapi_types (dict): The key is attribute name
|
|
@@ -19,7 +12,6 @@ class DeleteScalingInstanceRequest:
|
|
|
19
12
|
attribute_map (dict): The key is attribute name
|
|
20
13
|
and the value is json key in definition.
|
|
21
14
|
"""
|
|
22
|
-
|
|
23
15
|
sensitive_list = []
|
|
24
16
|
|
|
25
17
|
openapi_types = {
|
|
@@ -33,7 +25,15 @@ class DeleteScalingInstanceRequest:
|
|
|
33
25
|
}
|
|
34
26
|
|
|
35
27
|
def __init__(self, instance_id=None, instance_delete=None):
|
|
36
|
-
"""DeleteScalingInstanceRequest
|
|
28
|
+
r"""DeleteScalingInstanceRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param instance_id: 实例ID,可参考[查询弹性伸缩组中的实例列表](https://support.huaweicloud.com/api-as/as_06_0301.html)获取。
|
|
33
|
+
:type instance_id: str
|
|
34
|
+
:param instance_delete: 实例移出伸缩组,是否删除云服务器实例。默认为no;可选值为yes或no。
|
|
35
|
+
:type instance_delete: str
|
|
36
|
+
"""
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
@@ -47,8 +47,9 @@ class DeleteScalingInstanceRequest:
|
|
|
47
47
|
|
|
48
48
|
@property
|
|
49
49
|
def instance_id(self):
|
|
50
|
-
"""Gets the instance_id of this DeleteScalingInstanceRequest.
|
|
50
|
+
r"""Gets the instance_id of this DeleteScalingInstanceRequest.
|
|
51
51
|
|
|
52
|
+
实例ID,可参考[查询弹性伸缩组中的实例列表](https://support.huaweicloud.com/api-as/as_06_0301.html)获取。
|
|
52
53
|
|
|
53
54
|
:return: The instance_id of this DeleteScalingInstanceRequest.
|
|
54
55
|
:rtype: str
|
|
@@ -57,18 +58,20 @@ class DeleteScalingInstanceRequest:
|
|
|
57
58
|
|
|
58
59
|
@instance_id.setter
|
|
59
60
|
def instance_id(self, instance_id):
|
|
60
|
-
"""Sets the instance_id of this DeleteScalingInstanceRequest.
|
|
61
|
+
r"""Sets the instance_id of this DeleteScalingInstanceRequest.
|
|
61
62
|
|
|
63
|
+
实例ID,可参考[查询弹性伸缩组中的实例列表](https://support.huaweicloud.com/api-as/as_06_0301.html)获取。
|
|
62
64
|
|
|
63
65
|
:param instance_id: The instance_id of this DeleteScalingInstanceRequest.
|
|
64
|
-
:type: str
|
|
66
|
+
:type instance_id: str
|
|
65
67
|
"""
|
|
66
68
|
self._instance_id = instance_id
|
|
67
69
|
|
|
68
70
|
@property
|
|
69
71
|
def instance_delete(self):
|
|
70
|
-
"""Gets the instance_delete of this DeleteScalingInstanceRequest.
|
|
72
|
+
r"""Gets the instance_delete of this DeleteScalingInstanceRequest.
|
|
71
73
|
|
|
74
|
+
实例移出伸缩组,是否删除云服务器实例。默认为no;可选值为yes或no。
|
|
72
75
|
|
|
73
76
|
:return: The instance_delete of this DeleteScalingInstanceRequest.
|
|
74
77
|
:rtype: str
|
|
@@ -77,19 +80,19 @@ class DeleteScalingInstanceRequest:
|
|
|
77
80
|
|
|
78
81
|
@instance_delete.setter
|
|
79
82
|
def instance_delete(self, instance_delete):
|
|
80
|
-
"""Sets the instance_delete of this DeleteScalingInstanceRequest.
|
|
83
|
+
r"""Sets the instance_delete of this DeleteScalingInstanceRequest.
|
|
81
84
|
|
|
85
|
+
实例移出伸缩组,是否删除云服务器实例。默认为no;可选值为yes或no。
|
|
82
86
|
|
|
83
87
|
:param instance_delete: The instance_delete of this DeleteScalingInstanceRequest.
|
|
84
|
-
:type: str
|
|
88
|
+
:type instance_delete: str
|
|
85
89
|
"""
|
|
86
90
|
self._instance_delete = instance_delete
|
|
87
91
|
|
|
88
92
|
def to_dict(self):
|
|
89
|
-
"""Returns the model properties as a dict"""
|
|
90
93
|
result = {}
|
|
91
94
|
|
|
92
|
-
for attr, _ in
|
|
95
|
+
for attr, _ in self.openapi_types.items():
|
|
93
96
|
value = getattr(self, attr)
|
|
94
97
|
if isinstance(value, list):
|
|
95
98
|
result[attr] = list(map(
|
|
@@ -114,10 +117,11 @@ class DeleteScalingInstanceRequest:
|
|
|
114
117
|
|
|
115
118
|
def to_str(self):
|
|
116
119
|
"""Returns the string representation of the model"""
|
|
117
|
-
|
|
120
|
+
import simplejson as json
|
|
121
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
118
122
|
|
|
119
123
|
def __repr__(self):
|
|
120
|
-
"""For `print`
|
|
124
|
+
"""For `print`"""
|
|
121
125
|
return self.to_str()
|
|
122
126
|
|
|
123
127
|
def __eq__(self, other):
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import pprint
|
|
4
|
-
import re
|
|
5
|
-
|
|
6
|
-
import six
|
|
7
|
-
|
|
8
|
-
|
|
9
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
10
5
|
|
|
11
6
|
|
|
12
7
|
class DeleteScalingInstanceResponse(SdkResponse):
|
|
13
8
|
|
|
14
|
-
|
|
15
9
|
"""
|
|
16
10
|
Attributes:
|
|
17
11
|
openapi_types (dict): The key is attribute name
|
|
@@ -19,7 +13,6 @@ class DeleteScalingInstanceResponse(SdkResponse):
|
|
|
19
13
|
attribute_map (dict): The key is attribute name
|
|
20
14
|
and the value is json key in definition.
|
|
21
15
|
"""
|
|
22
|
-
|
|
23
16
|
sensitive_list = []
|
|
24
17
|
|
|
25
18
|
openapi_types = {
|
|
@@ -29,16 +22,22 @@ class DeleteScalingInstanceResponse(SdkResponse):
|
|
|
29
22
|
}
|
|
30
23
|
|
|
31
24
|
def __init__(self):
|
|
32
|
-
"""DeleteScalingInstanceResponse
|
|
25
|
+
r"""DeleteScalingInstanceResponse
|
|
26
|
+
|
|
27
|
+
The model defined in huaweicloud sdk
|
|
28
|
+
|
|
29
|
+
"""
|
|
33
30
|
|
|
34
31
|
super().__init__()
|
|
35
32
|
self.discriminator = None
|
|
36
33
|
|
|
37
34
|
def to_dict(self):
|
|
38
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("DeleteScalingInstanceResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
39
38
|
result = {}
|
|
40
39
|
|
|
41
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
42
41
|
value = getattr(self, attr)
|
|
43
42
|
if isinstance(value, list):
|
|
44
43
|
result[attr] = list(map(
|
|
@@ -63,10 +62,11 @@ class DeleteScalingInstanceResponse(SdkResponse):
|
|
|
63
62
|
|
|
64
63
|
def to_str(self):
|
|
65
64
|
"""Returns the string representation of the model"""
|
|
66
|
-
|
|
65
|
+
import simplejson as json
|
|
66
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
67
67
|
|
|
68
68
|
def __repr__(self):
|
|
69
|
-
"""For `print`
|
|
69
|
+
"""For `print`"""
|
|
70
70
|
return self.to_str()
|
|
71
71
|
|
|
72
72
|
def __eq__(self, other):
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import re
|
|
5
|
-
|
|
6
|
-
import six
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
10
4
|
|
|
11
5
|
|
|
12
6
|
class DeleteScalingNotificationRequest:
|
|
13
7
|
|
|
14
|
-
|
|
15
8
|
"""
|
|
16
9
|
Attributes:
|
|
17
10
|
openapi_types (dict): The key is attribute name
|
|
@@ -19,7 +12,6 @@ class DeleteScalingNotificationRequest:
|
|
|
19
12
|
attribute_map (dict): The key is attribute name
|
|
20
13
|
and the value is json key in definition.
|
|
21
14
|
"""
|
|
22
|
-
|
|
23
15
|
sensitive_list = []
|
|
24
16
|
|
|
25
17
|
openapi_types = {
|
|
@@ -33,7 +25,15 @@ class DeleteScalingNotificationRequest:
|
|
|
33
25
|
}
|
|
34
26
|
|
|
35
27
|
def __init__(self, scaling_group_id=None, topic_urn=None):
|
|
36
|
-
"""DeleteScalingNotificationRequest
|
|
28
|
+
r"""DeleteScalingNotificationRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param scaling_group_id: 伸缩组标识。
|
|
33
|
+
:type scaling_group_id: str
|
|
34
|
+
:param topic_urn: SMN服务中Topic的唯一的资源标识。
|
|
35
|
+
:type topic_urn: str
|
|
36
|
+
"""
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
@@ -46,8 +46,9 @@ class DeleteScalingNotificationRequest:
|
|
|
46
46
|
|
|
47
47
|
@property
|
|
48
48
|
def scaling_group_id(self):
|
|
49
|
-
"""Gets the scaling_group_id of this DeleteScalingNotificationRequest.
|
|
49
|
+
r"""Gets the scaling_group_id of this DeleteScalingNotificationRequest.
|
|
50
50
|
|
|
51
|
+
伸缩组标识。
|
|
51
52
|
|
|
52
53
|
:return: The scaling_group_id of this DeleteScalingNotificationRequest.
|
|
53
54
|
:rtype: str
|
|
@@ -56,18 +57,20 @@ class DeleteScalingNotificationRequest:
|
|
|
56
57
|
|
|
57
58
|
@scaling_group_id.setter
|
|
58
59
|
def scaling_group_id(self, scaling_group_id):
|
|
59
|
-
"""Sets the scaling_group_id of this DeleteScalingNotificationRequest.
|
|
60
|
+
r"""Sets the scaling_group_id of this DeleteScalingNotificationRequest.
|
|
60
61
|
|
|
62
|
+
伸缩组标识。
|
|
61
63
|
|
|
62
64
|
:param scaling_group_id: The scaling_group_id of this DeleteScalingNotificationRequest.
|
|
63
|
-
:type: str
|
|
65
|
+
:type scaling_group_id: str
|
|
64
66
|
"""
|
|
65
67
|
self._scaling_group_id = scaling_group_id
|
|
66
68
|
|
|
67
69
|
@property
|
|
68
70
|
def topic_urn(self):
|
|
69
|
-
"""Gets the topic_urn of this DeleteScalingNotificationRequest.
|
|
71
|
+
r"""Gets the topic_urn of this DeleteScalingNotificationRequest.
|
|
70
72
|
|
|
73
|
+
SMN服务中Topic的唯一的资源标识。
|
|
71
74
|
|
|
72
75
|
:return: The topic_urn of this DeleteScalingNotificationRequest.
|
|
73
76
|
:rtype: str
|
|
@@ -76,19 +79,19 @@ class DeleteScalingNotificationRequest:
|
|
|
76
79
|
|
|
77
80
|
@topic_urn.setter
|
|
78
81
|
def topic_urn(self, topic_urn):
|
|
79
|
-
"""Sets the topic_urn of this DeleteScalingNotificationRequest.
|
|
82
|
+
r"""Sets the topic_urn of this DeleteScalingNotificationRequest.
|
|
80
83
|
|
|
84
|
+
SMN服务中Topic的唯一的资源标识。
|
|
81
85
|
|
|
82
86
|
:param topic_urn: The topic_urn of this DeleteScalingNotificationRequest.
|
|
83
|
-
:type: str
|
|
87
|
+
:type topic_urn: str
|
|
84
88
|
"""
|
|
85
89
|
self._topic_urn = topic_urn
|
|
86
90
|
|
|
87
91
|
def to_dict(self):
|
|
88
|
-
"""Returns the model properties as a dict"""
|
|
89
92
|
result = {}
|
|
90
93
|
|
|
91
|
-
for attr, _ in
|
|
94
|
+
for attr, _ in self.openapi_types.items():
|
|
92
95
|
value = getattr(self, attr)
|
|
93
96
|
if isinstance(value, list):
|
|
94
97
|
result[attr] = list(map(
|
|
@@ -113,10 +116,11 @@ class DeleteScalingNotificationRequest:
|
|
|
113
116
|
|
|
114
117
|
def to_str(self):
|
|
115
118
|
"""Returns the string representation of the model"""
|
|
116
|
-
|
|
119
|
+
import simplejson as json
|
|
120
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
117
121
|
|
|
118
122
|
def __repr__(self):
|
|
119
|
-
"""For `print`
|
|
123
|
+
"""For `print`"""
|
|
120
124
|
return self.to_str()
|
|
121
125
|
|
|
122
126
|
def __eq__(self, other):
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import pprint
|
|
4
|
-
import re
|
|
5
|
-
|
|
6
|
-
import six
|
|
7
|
-
|
|
8
|
-
|
|
9
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
10
5
|
|
|
11
6
|
|
|
12
7
|
class DeleteScalingNotificationResponse(SdkResponse):
|
|
13
8
|
|
|
14
|
-
|
|
15
9
|
"""
|
|
16
10
|
Attributes:
|
|
17
11
|
openapi_types (dict): The key is attribute name
|
|
@@ -19,7 +13,6 @@ class DeleteScalingNotificationResponse(SdkResponse):
|
|
|
19
13
|
attribute_map (dict): The key is attribute name
|
|
20
14
|
and the value is json key in definition.
|
|
21
15
|
"""
|
|
22
|
-
|
|
23
16
|
sensitive_list = []
|
|
24
17
|
|
|
25
18
|
openapi_types = {
|
|
@@ -29,16 +22,22 @@ class DeleteScalingNotificationResponse(SdkResponse):
|
|
|
29
22
|
}
|
|
30
23
|
|
|
31
24
|
def __init__(self):
|
|
32
|
-
"""DeleteScalingNotificationResponse
|
|
25
|
+
r"""DeleteScalingNotificationResponse
|
|
26
|
+
|
|
27
|
+
The model defined in huaweicloud sdk
|
|
28
|
+
|
|
29
|
+
"""
|
|
33
30
|
|
|
34
31
|
super().__init__()
|
|
35
32
|
self.discriminator = None
|
|
36
33
|
|
|
37
34
|
def to_dict(self):
|
|
38
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("DeleteScalingNotificationResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
39
38
|
result = {}
|
|
40
39
|
|
|
41
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
42
41
|
value = getattr(self, attr)
|
|
43
42
|
if isinstance(value, list):
|
|
44
43
|
result[attr] = list(map(
|
|
@@ -63,10 +62,11 @@ class DeleteScalingNotificationResponse(SdkResponse):
|
|
|
63
62
|
|
|
64
63
|
def to_str(self):
|
|
65
64
|
"""Returns the string representation of the model"""
|
|
66
|
-
|
|
65
|
+
import simplejson as json
|
|
66
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
67
67
|
|
|
68
68
|
def __repr__(self):
|
|
69
|
-
"""For `print`
|
|
69
|
+
"""For `print`"""
|
|
70
70
|
return self.to_str()
|
|
71
71
|
|
|
72
72
|
def __eq__(self, other):
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import re
|
|
5
|
-
|
|
6
|
-
import six
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
10
4
|
|
|
11
5
|
|
|
12
6
|
class DeleteScalingPolicyRequest:
|
|
13
7
|
|
|
14
|
-
|
|
15
8
|
"""
|
|
16
9
|
Attributes:
|
|
17
10
|
openapi_types (dict): The key is attribute name
|
|
@@ -19,7 +12,6 @@ class DeleteScalingPolicyRequest:
|
|
|
19
12
|
attribute_map (dict): The key is attribute name
|
|
20
13
|
and the value is json key in definition.
|
|
21
14
|
"""
|
|
22
|
-
|
|
23
15
|
sensitive_list = []
|
|
24
16
|
|
|
25
17
|
openapi_types = {
|
|
@@ -31,7 +23,13 @@ class DeleteScalingPolicyRequest:
|
|
|
31
23
|
}
|
|
32
24
|
|
|
33
25
|
def __init__(self, scaling_policy_id=None):
|
|
34
|
-
"""DeleteScalingPolicyRequest
|
|
26
|
+
r"""DeleteScalingPolicyRequest
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param scaling_policy_id: 伸缩策略ID。
|
|
31
|
+
:type scaling_policy_id: str
|
|
32
|
+
"""
|
|
35
33
|
|
|
36
34
|
|
|
37
35
|
|
|
@@ -42,8 +40,9 @@ class DeleteScalingPolicyRequest:
|
|
|
42
40
|
|
|
43
41
|
@property
|
|
44
42
|
def scaling_policy_id(self):
|
|
45
|
-
"""Gets the scaling_policy_id of this DeleteScalingPolicyRequest.
|
|
43
|
+
r"""Gets the scaling_policy_id of this DeleteScalingPolicyRequest.
|
|
46
44
|
|
|
45
|
+
伸缩策略ID。
|
|
47
46
|
|
|
48
47
|
:return: The scaling_policy_id of this DeleteScalingPolicyRequest.
|
|
49
48
|
:rtype: str
|
|
@@ -52,19 +51,19 @@ class DeleteScalingPolicyRequest:
|
|
|
52
51
|
|
|
53
52
|
@scaling_policy_id.setter
|
|
54
53
|
def scaling_policy_id(self, scaling_policy_id):
|
|
55
|
-
"""Sets the scaling_policy_id of this DeleteScalingPolicyRequest.
|
|
54
|
+
r"""Sets the scaling_policy_id of this DeleteScalingPolicyRequest.
|
|
56
55
|
|
|
56
|
+
伸缩策略ID。
|
|
57
57
|
|
|
58
58
|
:param scaling_policy_id: The scaling_policy_id of this DeleteScalingPolicyRequest.
|
|
59
|
-
:type: str
|
|
59
|
+
:type scaling_policy_id: str
|
|
60
60
|
"""
|
|
61
61
|
self._scaling_policy_id = scaling_policy_id
|
|
62
62
|
|
|
63
63
|
def to_dict(self):
|
|
64
|
-
"""Returns the model properties as a dict"""
|
|
65
64
|
result = {}
|
|
66
65
|
|
|
67
|
-
for attr, _ in
|
|
66
|
+
for attr, _ in self.openapi_types.items():
|
|
68
67
|
value = getattr(self, attr)
|
|
69
68
|
if isinstance(value, list):
|
|
70
69
|
result[attr] = list(map(
|
|
@@ -89,10 +88,11 @@ class DeleteScalingPolicyRequest:
|
|
|
89
88
|
|
|
90
89
|
def to_str(self):
|
|
91
90
|
"""Returns the string representation of the model"""
|
|
92
|
-
|
|
91
|
+
import simplejson as json
|
|
92
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
93
93
|
|
|
94
94
|
def __repr__(self):
|
|
95
|
-
"""For `print`
|
|
95
|
+
"""For `print`"""
|
|
96
96
|
return self.to_str()
|
|
97
97
|
|
|
98
98
|
def __eq__(self, other):
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import pprint
|
|
4
|
-
import re
|
|
5
|
-
|
|
6
|
-
import six
|
|
7
|
-
|
|
8
|
-
|
|
9
3
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
10
5
|
|
|
11
6
|
|
|
12
7
|
class DeleteScalingPolicyResponse(SdkResponse):
|
|
13
8
|
|
|
14
|
-
|
|
15
9
|
"""
|
|
16
10
|
Attributes:
|
|
17
11
|
openapi_types (dict): The key is attribute name
|
|
@@ -19,7 +13,6 @@ class DeleteScalingPolicyResponse(SdkResponse):
|
|
|
19
13
|
attribute_map (dict): The key is attribute name
|
|
20
14
|
and the value is json key in definition.
|
|
21
15
|
"""
|
|
22
|
-
|
|
23
16
|
sensitive_list = []
|
|
24
17
|
|
|
25
18
|
openapi_types = {
|
|
@@ -29,16 +22,22 @@ class DeleteScalingPolicyResponse(SdkResponse):
|
|
|
29
22
|
}
|
|
30
23
|
|
|
31
24
|
def __init__(self):
|
|
32
|
-
"""DeleteScalingPolicyResponse
|
|
25
|
+
r"""DeleteScalingPolicyResponse
|
|
26
|
+
|
|
27
|
+
The model defined in huaweicloud sdk
|
|
28
|
+
|
|
29
|
+
"""
|
|
33
30
|
|
|
34
31
|
super().__init__()
|
|
35
32
|
self.discriminator = None
|
|
36
33
|
|
|
37
34
|
def to_dict(self):
|
|
38
|
-
|
|
35
|
+
import warnings
|
|
36
|
+
warnings.warn("DeleteScalingPolicyResponse.to_dict() is deprecated and no longer maintained, "
|
|
37
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
39
38
|
result = {}
|
|
40
39
|
|
|
41
|
-
for attr, _ in
|
|
40
|
+
for attr, _ in self.openapi_types.items():
|
|
42
41
|
value = getattr(self, attr)
|
|
43
42
|
if isinstance(value, list):
|
|
44
43
|
result[attr] = list(map(
|
|
@@ -63,10 +62,11 @@ class DeleteScalingPolicyResponse(SdkResponse):
|
|
|
63
62
|
|
|
64
63
|
def to_str(self):
|
|
65
64
|
"""Returns the string representation of the model"""
|
|
66
|
-
|
|
65
|
+
import simplejson as json
|
|
66
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
67
67
|
|
|
68
68
|
def __repr__(self):
|
|
69
|
-
"""For `print`
|
|
69
|
+
"""For `print`"""
|
|
70
70
|
return self.to_str()
|
|
71
71
|
|
|
72
72
|
def __eq__(self, other):
|
huaweicloudsdkas/v1/model/{delete_scaling_tags_request.py → delete_scaling_tag_info_request.py}
RENAMED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import re
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
4
|
|
|
6
|
-
import six
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class DeleteScalingTagsRequest:
|
|
13
5
|
|
|
6
|
+
class DeleteScalingTagInfoRequest:
|
|
14
7
|
|
|
15
8
|
"""
|
|
16
9
|
Attributes:
|
|
@@ -19,13 +12,12 @@ class DeleteScalingTagsRequest:
|
|
|
19
12
|
attribute_map (dict): The key is attribute name
|
|
20
13
|
and the value is json key in definition.
|
|
21
14
|
"""
|
|
22
|
-
|
|
23
15
|
sensitive_list = []
|
|
24
16
|
|
|
25
17
|
openapi_types = {
|
|
26
18
|
'resource_type': 'str',
|
|
27
19
|
'resource_id': 'str',
|
|
28
|
-
'body': '
|
|
20
|
+
'body': 'DeleteTagsOption'
|
|
29
21
|
}
|
|
30
22
|
|
|
31
23
|
attribute_map = {
|
|
@@ -35,7 +27,17 @@ class DeleteScalingTagsRequest:
|
|
|
35
27
|
}
|
|
36
28
|
|
|
37
29
|
def __init__(self, resource_type=None, resource_id=None, body=None):
|
|
38
|
-
"""
|
|
30
|
+
r"""DeleteScalingTagInfoRequest
|
|
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
|
+
:param body: Body of the DeleteScalingTagInfoRequest
|
|
39
|
+
:type body: :class:`huaweicloudsdkas.v1.DeleteTagsOption`
|
|
40
|
+
"""
|
|
39
41
|
|
|
40
42
|
|
|
41
43
|
|
|
@@ -51,69 +53,70 @@ class DeleteScalingTagsRequest:
|
|
|
51
53
|
|
|
52
54
|
@property
|
|
53
55
|
def resource_type(self):
|
|
54
|
-
"""Gets the resource_type of this
|
|
56
|
+
r"""Gets the resource_type of this DeleteScalingTagInfoRequest.
|
|
55
57
|
|
|
58
|
+
资源类型,枚举类:scaling_group_tag。scaling_group_tag表示资源类型为伸缩组。
|
|
56
59
|
|
|
57
|
-
:return: The resource_type of this
|
|
60
|
+
:return: The resource_type of this DeleteScalingTagInfoRequest.
|
|
58
61
|
:rtype: str
|
|
59
62
|
"""
|
|
60
63
|
return self._resource_type
|
|
61
64
|
|
|
62
65
|
@resource_type.setter
|
|
63
66
|
def resource_type(self, resource_type):
|
|
64
|
-
"""Sets the resource_type of this
|
|
67
|
+
r"""Sets the resource_type of this DeleteScalingTagInfoRequest.
|
|
65
68
|
|
|
69
|
+
资源类型,枚举类:scaling_group_tag。scaling_group_tag表示资源类型为伸缩组。
|
|
66
70
|
|
|
67
|
-
:param resource_type: The resource_type of this
|
|
68
|
-
:type: str
|
|
71
|
+
:param resource_type: The resource_type of this DeleteScalingTagInfoRequest.
|
|
72
|
+
:type resource_type: str
|
|
69
73
|
"""
|
|
70
74
|
self._resource_type = resource_type
|
|
71
75
|
|
|
72
76
|
@property
|
|
73
77
|
def resource_id(self):
|
|
74
|
-
"""Gets the resource_id of this
|
|
78
|
+
r"""Gets the resource_id of this DeleteScalingTagInfoRequest.
|
|
75
79
|
|
|
80
|
+
资源ID。
|
|
76
81
|
|
|
77
|
-
:return: The resource_id of this
|
|
82
|
+
:return: The resource_id of this DeleteScalingTagInfoRequest.
|
|
78
83
|
:rtype: str
|
|
79
84
|
"""
|
|
80
85
|
return self._resource_id
|
|
81
86
|
|
|
82
87
|
@resource_id.setter
|
|
83
88
|
def resource_id(self, resource_id):
|
|
84
|
-
"""Sets the resource_id of this
|
|
89
|
+
r"""Sets the resource_id of this DeleteScalingTagInfoRequest.
|
|
85
90
|
|
|
91
|
+
资源ID。
|
|
86
92
|
|
|
87
|
-
:param resource_id: The resource_id of this
|
|
88
|
-
:type: str
|
|
93
|
+
:param resource_id: The resource_id of this DeleteScalingTagInfoRequest.
|
|
94
|
+
:type resource_id: str
|
|
89
95
|
"""
|
|
90
96
|
self._resource_id = resource_id
|
|
91
97
|
|
|
92
98
|
@property
|
|
93
99
|
def body(self):
|
|
94
|
-
"""Gets the body of this
|
|
100
|
+
r"""Gets the body of this DeleteScalingTagInfoRequest.
|
|
95
101
|
|
|
96
|
-
|
|
97
|
-
:
|
|
98
|
-
:rtype: DeleteScalingTagsRequestBody
|
|
102
|
+
:return: The body of this DeleteScalingTagInfoRequest.
|
|
103
|
+
:rtype: :class:`huaweicloudsdkas.v1.DeleteTagsOption`
|
|
99
104
|
"""
|
|
100
105
|
return self._body
|
|
101
106
|
|
|
102
107
|
@body.setter
|
|
103
108
|
def body(self, body):
|
|
104
|
-
"""Sets the body of this
|
|
105
|
-
|
|
109
|
+
r"""Sets the body of this DeleteScalingTagInfoRequest.
|
|
106
110
|
|
|
107
|
-
:param body: The body of this
|
|
108
|
-
:type:
|
|
111
|
+
:param body: The body of this DeleteScalingTagInfoRequest.
|
|
112
|
+
:type body: :class:`huaweicloudsdkas.v1.DeleteTagsOption`
|
|
109
113
|
"""
|
|
110
114
|
self._body = body
|
|
111
115
|
|
|
112
116
|
def to_dict(self):
|
|
113
|
-
"""Returns the model properties as a dict"""
|
|
114
117
|
result = {}
|
|
115
118
|
|
|
116
|
-
for attr, _ in
|
|
119
|
+
for attr, _ in self.openapi_types.items():
|
|
117
120
|
value = getattr(self, attr)
|
|
118
121
|
if isinstance(value, list):
|
|
119
122
|
result[attr] = list(map(
|
|
@@ -138,15 +141,16 @@ class DeleteScalingTagsRequest:
|
|
|
138
141
|
|
|
139
142
|
def to_str(self):
|
|
140
143
|
"""Returns the string representation of the model"""
|
|
141
|
-
|
|
144
|
+
import simplejson as json
|
|
145
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
142
146
|
|
|
143
147
|
def __repr__(self):
|
|
144
|
-
"""For `print`
|
|
148
|
+
"""For `print`"""
|
|
145
149
|
return self.to_str()
|
|
146
150
|
|
|
147
151
|
def __eq__(self, other):
|
|
148
152
|
"""Returns true if both objects are equal"""
|
|
149
|
-
if not isinstance(other,
|
|
153
|
+
if not isinstance(other, DeleteScalingTagInfoRequest):
|
|
150
154
|
return False
|
|
151
155
|
|
|
152
156
|
return self.__dict__ == other.__dict__
|