huaweicloudsdkas 3.1.142__py2.py3-none-any.whl → 3.1.144__py2.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.
- huaweicloudsdkas/v1/as_async_client.py +62 -62
- huaweicloudsdkas/v1/as_client.py +62 -62
- huaweicloudsdkas/v1/model/all_quotas.py +3 -3
- huaweicloudsdkas/v1/model/all_resources.py +11 -11
- huaweicloudsdkas/v1/model/allowed_address_pair.py +3 -3
- huaweicloudsdkas/v1/model/attach_callback_instance_life_cycle_hook_request.py +5 -5
- huaweicloudsdkas/v1/model/attach_callback_instance_life_cycle_hook_response.py +1 -1
- huaweicloudsdkas/v1/model/bandwidth_info.py +9 -9
- huaweicloudsdkas/v1/model/bandwidth_result.py +9 -9
- huaweicloudsdkas/v1/model/batch_add_instances_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_add_scaling_instances_request.py +5 -5
- huaweicloudsdkas/v1/model/batch_add_scaling_instances_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_delete_scaling_config_option.py +3 -3
- huaweicloudsdkas/v1/model/batch_delete_scaling_configs_request.py +3 -3
- huaweicloudsdkas/v1/model/batch_delete_scaling_configs_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_delete_scaling_policies_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_delete_scaling_policies_request.py +3 -3
- huaweicloudsdkas/v1/model/batch_delete_scaling_policies_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_enter_standby_instances_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_exit_stand_by_instances_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_pause_scaling_policies_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_pause_scaling_policies_request.py +3 -3
- huaweicloudsdkas/v1/model/batch_pause_scaling_policies_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_protect_instances_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_protect_scaling_instances_request.py +5 -5
- huaweicloudsdkas/v1/model/batch_protect_scaling_instances_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_remove_instances_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_remove_scaling_instances_request.py +5 -5
- huaweicloudsdkas/v1/model/batch_remove_scaling_instances_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_resume_scaling_policies_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_resume_scaling_policies_request.py +3 -3
- huaweicloudsdkas/v1/model/batch_resume_scaling_policies_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_set_scaling_instances_standby_request.py +5 -5
- huaweicloudsdkas/v1/model/batch_set_scaling_instances_standby_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_unprotect_instances_option.py +9 -9
- huaweicloudsdkas/v1/model/batch_unprotect_scaling_instances_request.py +5 -5
- huaweicloudsdkas/v1/model/batch_unprotect_scaling_instances_response.py +1 -1
- huaweicloudsdkas/v1/model/batch_unset_scaling_instances_stantby_request.py +5 -5
- huaweicloudsdkas/v1/model/batch_unset_scaling_instances_stantby_response.py +1 -1
- huaweicloudsdkas/v1/model/callback_life_cycle_hook_option.py +9 -9
- huaweicloudsdkas/v1/model/create_group_scheduled_task_request.py +5 -5
- huaweicloudsdkas/v1/model/create_group_scheduled_task_response.py +3 -3
- huaweicloudsdkas/v1/model/create_life_cycle_hook_option.py +13 -13
- huaweicloudsdkas/v1/model/create_lify_cycle_hook_request.py +5 -5
- huaweicloudsdkas/v1/model/create_lify_cycle_hook_response.py +17 -17
- huaweicloudsdkas/v1/model/create_notification_option.py +5 -5
- huaweicloudsdkas/v1/model/create_scaling_config_option.py +7 -7
- huaweicloudsdkas/v1/model/create_scaling_config_request.py +3 -3
- huaweicloudsdkas/v1/model/create_scaling_config_response.py +3 -3
- huaweicloudsdkas/v1/model/create_scaling_group_option.py +49 -49
- huaweicloudsdkas/v1/model/create_scaling_group_request.py +3 -3
- huaweicloudsdkas/v1/model/create_scaling_group_response.py +3 -3
- huaweicloudsdkas/v1/model/create_scaling_notification_request.py +5 -5
- huaweicloudsdkas/v1/model/create_scaling_notification_response.py +7 -7
- huaweicloudsdkas/v1/model/create_scaling_policy_option.py +15 -15
- huaweicloudsdkas/v1/model/create_scaling_policy_request.py +3 -3
- huaweicloudsdkas/v1/model/create_scaling_policy_response.py +3 -3
- huaweicloudsdkas/v1/model/create_scaling_policy_v2_option.py +21 -21
- huaweicloudsdkas/v1/model/create_scaling_tag_info_request.py +7 -7
- huaweicloudsdkas/v1/model/create_scaling_tag_info_response.py +1 -1
- huaweicloudsdkas/v1/model/create_scaling_v2_policy_request.py +3 -3
- huaweicloudsdkas/v1/model/create_scaling_v2_policy_response.py +3 -3
- huaweicloudsdkas/v1/model/create_scheduled_task_option.py +7 -7
- huaweicloudsdkas/v1/model/create_tags_option.py +5 -5
- huaweicloudsdkas/v1/model/delete_group_scheduled_task_request.py +5 -5
- huaweicloudsdkas/v1/model/delete_group_scheduled_task_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_lifecycle_hook_request.py +5 -5
- huaweicloudsdkas/v1/model/delete_lifecycle_hook_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_scaling_config_request.py +3 -3
- huaweicloudsdkas/v1/model/delete_scaling_config_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_scaling_group_request.py +5 -5
- huaweicloudsdkas/v1/model/delete_scaling_group_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_scaling_instance_request.py +5 -5
- huaweicloudsdkas/v1/model/delete_scaling_instance_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_scaling_notification_request.py +5 -5
- huaweicloudsdkas/v1/model/delete_scaling_notification_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_scaling_policy_request.py +3 -3
- huaweicloudsdkas/v1/model/delete_scaling_policy_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_scaling_tag_info_request.py +7 -7
- huaweicloudsdkas/v1/model/delete_scaling_tag_info_response.py +1 -1
- huaweicloudsdkas/v1/model/delete_tags_option.py +5 -5
- huaweicloudsdkas/v1/model/disk_info.py +19 -19
- huaweicloudsdkas/v1/model/disk_result.py +19 -19
- huaweicloudsdkas/v1/model/eip_info.py +5 -5
- huaweicloudsdkas/v1/model/eip_meta_data.py +7 -7
- huaweicloudsdkas/v1/model/eip_result.py +5 -5
- huaweicloudsdkas/v1/model/execute_scaling_policy_option.py +3 -3
- huaweicloudsdkas/v1/model/execute_scaling_policy_request.py +5 -5
- huaweicloudsdkas/v1/model/execute_scaling_policy_response.py +1 -1
- huaweicloudsdkas/v1/model/instance_config.py +31 -31
- huaweicloudsdkas/v1/model/instance_config_result.py +37 -37
- huaweicloudsdkas/v1/model/instance_hanging_infos.py +15 -15
- huaweicloudsdkas/v1/model/integer_range.py +7 -7
- huaweicloudsdkas/v1/model/interval_alarm_actions_v2.py +13 -13
- huaweicloudsdkas/v1/model/ipv6_bandwidth.py +3 -3
- huaweicloudsdkas/v1/model/job_records.py +17 -17
- huaweicloudsdkas/v1/model/lbaas_listener.py +9 -9
- huaweicloudsdkas/v1/model/lbaas_listeners.py +9 -9
- huaweicloudsdkas/v1/model/lbaas_listeners_result.py +11 -11
- huaweicloudsdkas/v1/model/lifecycle_hook_list.py +17 -17
- huaweicloudsdkas/v1/model/links.py +5 -5
- huaweicloudsdkas/v1/model/list_all_scaling_v2_policies_request.py +23 -23
- huaweicloudsdkas/v1/model/list_all_scaling_v2_policies_response.py +9 -9
- huaweicloudsdkas/v1/model/list_api_versions_request.py +1 -1
- huaweicloudsdkas/v1/model/list_api_versions_response.py +3 -3
- huaweicloudsdkas/v1/model/list_group_scheduled_tasks_request.py +7 -7
- huaweicloudsdkas/v1/model/list_group_scheduled_tasks_response.py +5 -5
- huaweicloudsdkas/v1/model/list_hook_instances_request.py +5 -5
- huaweicloudsdkas/v1/model/list_hook_instances_response.py +3 -3
- huaweicloudsdkas/v1/model/list_life_cycle_hooks_request.py +3 -3
- huaweicloudsdkas/v1/model/list_life_cycle_hooks_response.py +3 -3
- huaweicloudsdkas/v1/model/list_resource_instances_request.py +5 -5
- huaweicloudsdkas/v1/model/list_resource_instances_response.py +7 -7
- huaweicloudsdkas/v1/model/list_scaling_activity_logs_request.py +11 -11
- huaweicloudsdkas/v1/model/list_scaling_activity_logs_response.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_activity_v2_logs_request.py +17 -17
- huaweicloudsdkas/v1/model/list_scaling_activity_v2_logs_response.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_configs_request.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_configs_response.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_groups_request.py +13 -13
- huaweicloudsdkas/v1/model/list_scaling_groups_response.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_instances_request.py +13 -13
- huaweicloudsdkas/v1/model/list_scaling_instances_response.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_notifications_request.py +3 -3
- huaweicloudsdkas/v1/model/list_scaling_notifications_response.py +3 -3
- huaweicloudsdkas/v1/model/list_scaling_policies_request.py +13 -13
- huaweicloudsdkas/v1/model/list_scaling_policies_response.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_policy_execute_logs_request.py +19 -19
- huaweicloudsdkas/v1/model/list_scaling_policy_execute_logs_response.py +9 -9
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_resource_id_request.py +5 -5
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_resource_id_response.py +5 -5
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_tenant_id_request.py +3 -3
- huaweicloudsdkas/v1/model/list_scaling_tag_infos_by_tenant_id_response.py +3 -3
- huaweicloudsdkas/v1/model/list_scaling_v2_policies_request.py +13 -13
- huaweicloudsdkas/v1/model/list_scaling_v2_policies_response.py +9 -9
- huaweicloudsdkas/v1/model/matches.py +5 -5
- huaweicloudsdkas/v1/model/meta_data.py +5 -5
- huaweicloudsdkas/v1/model/modify_lb.py +9 -9
- huaweicloudsdkas/v1/model/networks.py +9 -9
- huaweicloudsdkas/v1/model/networks_result.py +9 -9
- huaweicloudsdkas/v1/model/page_info.py +3 -3
- huaweicloudsdkas/v1/model/pause_scaling_group_option.py +3 -3
- huaweicloudsdkas/v1/model/pause_scaling_group_request.py +5 -5
- huaweicloudsdkas/v1/model/pause_scaling_group_response.py +1 -1
- huaweicloudsdkas/v1/model/pause_scaling_policy_option.py +3 -3
- huaweicloudsdkas/v1/model/pause_scaling_policy_request.py +5 -5
- huaweicloudsdkas/v1/model/pause_scaling_policy_response.py +1 -1
- huaweicloudsdkas/v1/model/personality_info.py +5 -5
- huaweicloudsdkas/v1/model/personality_result.py +5 -5
- huaweicloudsdkas/v1/model/policy_instance_quotas.py +3 -3
- huaweicloudsdkas/v1/model/policy_instance_resources.py +11 -11
- huaweicloudsdkas/v1/model/public_ip.py +3 -3
- huaweicloudsdkas/v1/model/publicip_result.py +3 -3
- huaweicloudsdkas/v1/model/query_tags_option.py +19 -19
- huaweicloudsdkas/v1/model/resource_tags.py +5 -5
- huaweicloudsdkas/v1/model/resources.py +9 -9
- huaweicloudsdkas/v1/model/resume_scaling_group_option.py +3 -3
- huaweicloudsdkas/v1/model/resume_scaling_group_request.py +5 -5
- huaweicloudsdkas/v1/model/resume_scaling_group_response.py +1 -1
- huaweicloudsdkas/v1/model/resume_scaling_policy_option.py +3 -3
- huaweicloudsdkas/v1/model/resume_scaling_policy_request.py +5 -5
- huaweicloudsdkas/v1/model/resume_scaling_policy_response.py +1 -1
- huaweicloudsdkas/v1/model/scaling_activity_log_list.py +23 -23
- huaweicloudsdkas/v1/model/scaling_activity_log_v2.py +37 -37
- huaweicloudsdkas/v1/model/scaling_all_policy_detail.py +29 -29
- huaweicloudsdkas/v1/model/scaling_configuration.py +13 -13
- huaweicloudsdkas/v1/model/scaling_group_instance.py +21 -21
- huaweicloudsdkas/v1/model/scaling_groups.py +67 -67
- huaweicloudsdkas/v1/model/scaling_instance.py +11 -11
- huaweicloudsdkas/v1/model/scaling_policies_v2.py +29 -29
- huaweicloudsdkas/v1/model/scaling_policy_action_v1.py +7 -7
- huaweicloudsdkas/v1/model/scaling_policy_action_v2.py +9 -9
- huaweicloudsdkas/v1/model/scaling_policy_execute_log_list.py +31 -31
- huaweicloudsdkas/v1/model/scaling_policy_v2_meta_data.py +7 -7
- huaweicloudsdkas/v1/model/scaling_v1_policy_detail.py +21 -21
- huaweicloudsdkas/v1/model/scaling_v2_policy_detail.py +29 -29
- huaweicloudsdkas/v1/model/scheduled_policy.py +11 -11
- huaweicloudsdkas/v1/model/scheduled_task_detail.py +19 -19
- huaweicloudsdkas/v1/model/scheduled_task_policy.py +11 -11
- huaweicloudsdkas/v1/model/security_group.py +3 -3
- huaweicloudsdkas/v1/model/security_groups.py +3 -3
- huaweicloudsdkas/v1/model/security_groups_result.py +3 -3
- huaweicloudsdkas/v1/model/show_api_version_request.py +3 -3
- huaweicloudsdkas/v1/model/show_api_version_response.py +3 -3
- huaweicloudsdkas/v1/model/show_life_cycle_hook_request.py +5 -5
- huaweicloudsdkas/v1/model/show_life_cycle_hook_response.py +17 -17
- huaweicloudsdkas/v1/model/show_policy_and_instance_quota_request.py +3 -3
- huaweicloudsdkas/v1/model/show_policy_and_instance_quota_response.py +3 -3
- huaweicloudsdkas/v1/model/show_resource_quota_request.py +1 -1
- huaweicloudsdkas/v1/model/show_resource_quota_response.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_config_request.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_config_response.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_group_request.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_group_response.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_policy_request.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_policy_response.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_v2_policy_request.py +3 -3
- huaweicloudsdkas/v1/model/show_scaling_v2_policy_response.py +3 -3
- huaweicloudsdkas/v1/model/tags_multi_value.py +5 -5
- huaweicloudsdkas/v1/model/tags_single_value.py +5 -5
- huaweicloudsdkas/v1/model/topics.py +7 -7
- huaweicloudsdkas/v1/model/update_group_scheduled_task_request.py +7 -7
- huaweicloudsdkas/v1/model/update_group_scheduled_task_response.py +1 -1
- huaweicloudsdkas/v1/model/update_life_cycle_hook_option.py +11 -11
- huaweicloudsdkas/v1/model/update_life_cycle_hook_request.py +7 -7
- huaweicloudsdkas/v1/model/update_life_cycle_hook_response.py +17 -17
- huaweicloudsdkas/v1/model/update_scaling_group_option.py +45 -45
- huaweicloudsdkas/v1/model/update_scaling_group_request.py +5 -5
- huaweicloudsdkas/v1/model/update_scaling_group_response.py +3 -3
- huaweicloudsdkas/v1/model/update_scaling_policy_option.py +13 -13
- huaweicloudsdkas/v1/model/update_scaling_policy_request.py +5 -5
- huaweicloudsdkas/v1/model/update_scaling_policy_response.py +3 -3
- huaweicloudsdkas/v1/model/update_scaling_v2_policy_option.py +21 -21
- huaweicloudsdkas/v1/model/update_scaling_v2_policy_request.py +5 -5
- huaweicloudsdkas/v1/model/update_scaling_v2_policy_response.py +3 -3
- huaweicloudsdkas/v1/model/update_scheduled_task_option.py +7 -7
- huaweicloudsdkas/v1/model/version_info.py +13 -13
- huaweicloudsdkas/v1/model/vm_meta_data.py +3 -3
- {huaweicloudsdkas-3.1.142.dist-info → huaweicloudsdkas-3.1.144.dist-info}/METADATA +2 -2
- huaweicloudsdkas-3.1.144.dist-info/RECORD +228 -0
- huaweicloudsdkas-3.1.142.dist-info/RECORD +0 -228
- {huaweicloudsdkas-3.1.142.dist-info → huaweicloudsdkas-3.1.144.dist-info}/LICENSE +0 -0
- {huaweicloudsdkas-3.1.142.dist-info → huaweicloudsdkas-3.1.144.dist-info}/WHEEL +0 -0
- {huaweicloudsdkas-3.1.142.dist-info → huaweicloudsdkas-3.1.144.dist-info}/top_level.txt +0 -0
|
@@ -29,7 +29,7 @@ class ScalingPolicyV2MetaData:
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
def __init__(self, metadata_bandwidth_share_type=None, metadata_eip_id=None, metadata_eip_address=None):
|
|
32
|
-
"""ScalingPolicyV2MetaData
|
|
32
|
+
r"""ScalingPolicyV2MetaData
|
|
33
33
|
|
|
34
34
|
The model defined in huaweicloud sdk
|
|
35
35
|
|
|
@@ -57,7 +57,7 @@ class ScalingPolicyV2MetaData:
|
|
|
57
57
|
|
|
58
58
|
@property
|
|
59
59
|
def metadata_bandwidth_share_type(self):
|
|
60
|
-
"""Gets the metadata_bandwidth_share_type of this ScalingPolicyV2MetaData.
|
|
60
|
+
r"""Gets the metadata_bandwidth_share_type of this ScalingPolicyV2MetaData.
|
|
61
61
|
|
|
62
62
|
伸缩带宽策略中带宽对应的共享类型
|
|
63
63
|
|
|
@@ -68,7 +68,7 @@ class ScalingPolicyV2MetaData:
|
|
|
68
68
|
|
|
69
69
|
@metadata_bandwidth_share_type.setter
|
|
70
70
|
def metadata_bandwidth_share_type(self, metadata_bandwidth_share_type):
|
|
71
|
-
"""Sets the metadata_bandwidth_share_type of this ScalingPolicyV2MetaData.
|
|
71
|
+
r"""Sets the metadata_bandwidth_share_type of this ScalingPolicyV2MetaData.
|
|
72
72
|
|
|
73
73
|
伸缩带宽策略中带宽对应的共享类型
|
|
74
74
|
|
|
@@ -79,7 +79,7 @@ class ScalingPolicyV2MetaData:
|
|
|
79
79
|
|
|
80
80
|
@property
|
|
81
81
|
def metadata_eip_id(self):
|
|
82
|
-
"""Gets the metadata_eip_id of this ScalingPolicyV2MetaData.
|
|
82
|
+
r"""Gets the metadata_eip_id of this ScalingPolicyV2MetaData.
|
|
83
83
|
|
|
84
84
|
伸缩带宽策略中带宽对应的EIP的ID
|
|
85
85
|
|
|
@@ -90,7 +90,7 @@ class ScalingPolicyV2MetaData:
|
|
|
90
90
|
|
|
91
91
|
@metadata_eip_id.setter
|
|
92
92
|
def metadata_eip_id(self, metadata_eip_id):
|
|
93
|
-
"""Sets the metadata_eip_id of this ScalingPolicyV2MetaData.
|
|
93
|
+
r"""Sets the metadata_eip_id of this ScalingPolicyV2MetaData.
|
|
94
94
|
|
|
95
95
|
伸缩带宽策略中带宽对应的EIP的ID
|
|
96
96
|
|
|
@@ -101,7 +101,7 @@ class ScalingPolicyV2MetaData:
|
|
|
101
101
|
|
|
102
102
|
@property
|
|
103
103
|
def metadata_eip_address(self):
|
|
104
|
-
"""Gets the metadata_eip_address of this ScalingPolicyV2MetaData.
|
|
104
|
+
r"""Gets the metadata_eip_address of this ScalingPolicyV2MetaData.
|
|
105
105
|
|
|
106
106
|
伸缩带宽策略中带宽对应的EIP地址
|
|
107
107
|
|
|
@@ -112,7 +112,7 @@ class ScalingPolicyV2MetaData:
|
|
|
112
112
|
|
|
113
113
|
@metadata_eip_address.setter
|
|
114
114
|
def metadata_eip_address(self, metadata_eip_address):
|
|
115
|
-
"""Sets the metadata_eip_address of this ScalingPolicyV2MetaData.
|
|
115
|
+
r"""Sets the metadata_eip_address of this ScalingPolicyV2MetaData.
|
|
116
116
|
|
|
117
117
|
伸缩带宽策略中带宽对应的EIP地址
|
|
118
118
|
|
|
@@ -43,7 +43,7 @@ class ScalingV1PolicyDetail:
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
def __init__(self, scaling_group_id=None, scaling_policy_name=None, scaling_policy_id=None, policy_status=None, scaling_policy_type=None, alarm_id=None, scheduled_policy=None, scaling_policy_action=None, cool_down_time=None, create_time=None):
|
|
46
|
-
"""ScalingV1PolicyDetail
|
|
46
|
+
r"""ScalingV1PolicyDetail
|
|
47
47
|
|
|
48
48
|
The model defined in huaweicloud sdk
|
|
49
49
|
|
|
@@ -106,7 +106,7 @@ class ScalingV1PolicyDetail:
|
|
|
106
106
|
|
|
107
107
|
@property
|
|
108
108
|
def scaling_group_id(self):
|
|
109
|
-
"""Gets the scaling_group_id of this ScalingV1PolicyDetail.
|
|
109
|
+
r"""Gets the scaling_group_id of this ScalingV1PolicyDetail.
|
|
110
110
|
|
|
111
111
|
伸缩组ID。
|
|
112
112
|
|
|
@@ -117,7 +117,7 @@ class ScalingV1PolicyDetail:
|
|
|
117
117
|
|
|
118
118
|
@scaling_group_id.setter
|
|
119
119
|
def scaling_group_id(self, scaling_group_id):
|
|
120
|
-
"""Sets the scaling_group_id of this ScalingV1PolicyDetail.
|
|
120
|
+
r"""Sets the scaling_group_id of this ScalingV1PolicyDetail.
|
|
121
121
|
|
|
122
122
|
伸缩组ID。
|
|
123
123
|
|
|
@@ -128,7 +128,7 @@ class ScalingV1PolicyDetail:
|
|
|
128
128
|
|
|
129
129
|
@property
|
|
130
130
|
def scaling_policy_name(self):
|
|
131
|
-
"""Gets the scaling_policy_name of this ScalingV1PolicyDetail.
|
|
131
|
+
r"""Gets the scaling_policy_name of this ScalingV1PolicyDetail.
|
|
132
132
|
|
|
133
133
|
伸缩策略名称。
|
|
134
134
|
|
|
@@ -139,7 +139,7 @@ class ScalingV1PolicyDetail:
|
|
|
139
139
|
|
|
140
140
|
@scaling_policy_name.setter
|
|
141
141
|
def scaling_policy_name(self, scaling_policy_name):
|
|
142
|
-
"""Sets the scaling_policy_name of this ScalingV1PolicyDetail.
|
|
142
|
+
r"""Sets the scaling_policy_name of this ScalingV1PolicyDetail.
|
|
143
143
|
|
|
144
144
|
伸缩策略名称。
|
|
145
145
|
|
|
@@ -150,7 +150,7 @@ class ScalingV1PolicyDetail:
|
|
|
150
150
|
|
|
151
151
|
@property
|
|
152
152
|
def scaling_policy_id(self):
|
|
153
|
-
"""Gets the scaling_policy_id of this ScalingV1PolicyDetail.
|
|
153
|
+
r"""Gets the scaling_policy_id of this ScalingV1PolicyDetail.
|
|
154
154
|
|
|
155
155
|
伸缩策略ID。
|
|
156
156
|
|
|
@@ -161,7 +161,7 @@ class ScalingV1PolicyDetail:
|
|
|
161
161
|
|
|
162
162
|
@scaling_policy_id.setter
|
|
163
163
|
def scaling_policy_id(self, scaling_policy_id):
|
|
164
|
-
"""Sets the scaling_policy_id of this ScalingV1PolicyDetail.
|
|
164
|
+
r"""Sets the scaling_policy_id of this ScalingV1PolicyDetail.
|
|
165
165
|
|
|
166
166
|
伸缩策略ID。
|
|
167
167
|
|
|
@@ -172,7 +172,7 @@ class ScalingV1PolicyDetail:
|
|
|
172
172
|
|
|
173
173
|
@property
|
|
174
174
|
def policy_status(self):
|
|
175
|
-
"""Gets the policy_status of this ScalingV1PolicyDetail.
|
|
175
|
+
r"""Gets the policy_status of this ScalingV1PolicyDetail.
|
|
176
176
|
|
|
177
177
|
伸缩策略状态 INSERVICE:已启用 PAUSED:已停用 EXECUTING:执行中
|
|
178
178
|
|
|
@@ -183,7 +183,7 @@ class ScalingV1PolicyDetail:
|
|
|
183
183
|
|
|
184
184
|
@policy_status.setter
|
|
185
185
|
def policy_status(self, policy_status):
|
|
186
|
-
"""Sets the policy_status of this ScalingV1PolicyDetail.
|
|
186
|
+
r"""Sets the policy_status of this ScalingV1PolicyDetail.
|
|
187
187
|
|
|
188
188
|
伸缩策略状态 INSERVICE:已启用 PAUSED:已停用 EXECUTING:执行中
|
|
189
189
|
|
|
@@ -194,7 +194,7 @@ class ScalingV1PolicyDetail:
|
|
|
194
194
|
|
|
195
195
|
@property
|
|
196
196
|
def scaling_policy_type(self):
|
|
197
|
-
"""Gets the scaling_policy_type of this ScalingV1PolicyDetail.
|
|
197
|
+
r"""Gets the scaling_policy_type of this ScalingV1PolicyDetail.
|
|
198
198
|
|
|
199
199
|
伸缩策略类型:ALARM:告警策略,此时alarm_id有返回,scheduled_policy不会返回。SCHEDULED:定时策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time不会返回。RECURRENCE:周期策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time有返回。
|
|
200
200
|
|
|
@@ -205,7 +205,7 @@ class ScalingV1PolicyDetail:
|
|
|
205
205
|
|
|
206
206
|
@scaling_policy_type.setter
|
|
207
207
|
def scaling_policy_type(self, scaling_policy_type):
|
|
208
|
-
"""Sets the scaling_policy_type of this ScalingV1PolicyDetail.
|
|
208
|
+
r"""Sets the scaling_policy_type of this ScalingV1PolicyDetail.
|
|
209
209
|
|
|
210
210
|
伸缩策略类型:ALARM:告警策略,此时alarm_id有返回,scheduled_policy不会返回。SCHEDULED:定时策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time不会返回。RECURRENCE:周期策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time有返回。
|
|
211
211
|
|
|
@@ -216,7 +216,7 @@ class ScalingV1PolicyDetail:
|
|
|
216
216
|
|
|
217
217
|
@property
|
|
218
218
|
def alarm_id(self):
|
|
219
|
-
"""Gets the alarm_id of this ScalingV1PolicyDetail.
|
|
219
|
+
r"""Gets the alarm_id of this ScalingV1PolicyDetail.
|
|
220
220
|
|
|
221
221
|
告警ID,即告警规则的ID,当scaling_policy_type为ALARM时该项必选,此时scheduled_policy不生效。创建告警策略成功后,会自动为该告警ID对应的告警规则的alarm_actions字段增加类型为autoscaling的告警触发动作。告警ID通过查询云监控告警规则列表获取,详见《云监控API参考》的“查询告警规则列表”。
|
|
222
222
|
|
|
@@ -227,7 +227,7 @@ class ScalingV1PolicyDetail:
|
|
|
227
227
|
|
|
228
228
|
@alarm_id.setter
|
|
229
229
|
def alarm_id(self, alarm_id):
|
|
230
|
-
"""Sets the alarm_id of this ScalingV1PolicyDetail.
|
|
230
|
+
r"""Sets the alarm_id of this ScalingV1PolicyDetail.
|
|
231
231
|
|
|
232
232
|
告警ID,即告警规则的ID,当scaling_policy_type为ALARM时该项必选,此时scheduled_policy不生效。创建告警策略成功后,会自动为该告警ID对应的告警规则的alarm_actions字段增加类型为autoscaling的告警触发动作。告警ID通过查询云监控告警规则列表获取,详见《云监控API参考》的“查询告警规则列表”。
|
|
233
233
|
|
|
@@ -238,7 +238,7 @@ class ScalingV1PolicyDetail:
|
|
|
238
238
|
|
|
239
239
|
@property
|
|
240
240
|
def scheduled_policy(self):
|
|
241
|
-
"""Gets the scheduled_policy of this ScalingV1PolicyDetail.
|
|
241
|
+
r"""Gets the scheduled_policy of this ScalingV1PolicyDetail.
|
|
242
242
|
|
|
243
243
|
:return: The scheduled_policy of this ScalingV1PolicyDetail.
|
|
244
244
|
:rtype: :class:`huaweicloudsdkas.v1.ScheduledPolicy`
|
|
@@ -247,7 +247,7 @@ class ScalingV1PolicyDetail:
|
|
|
247
247
|
|
|
248
248
|
@scheduled_policy.setter
|
|
249
249
|
def scheduled_policy(self, scheduled_policy):
|
|
250
|
-
"""Sets the scheduled_policy of this ScalingV1PolicyDetail.
|
|
250
|
+
r"""Sets the scheduled_policy of this ScalingV1PolicyDetail.
|
|
251
251
|
|
|
252
252
|
:param scheduled_policy: The scheduled_policy of this ScalingV1PolicyDetail.
|
|
253
253
|
:type scheduled_policy: :class:`huaweicloudsdkas.v1.ScheduledPolicy`
|
|
@@ -256,7 +256,7 @@ class ScalingV1PolicyDetail:
|
|
|
256
256
|
|
|
257
257
|
@property
|
|
258
258
|
def scaling_policy_action(self):
|
|
259
|
-
"""Gets the scaling_policy_action of this ScalingV1PolicyDetail.
|
|
259
|
+
r"""Gets the scaling_policy_action of this ScalingV1PolicyDetail.
|
|
260
260
|
|
|
261
261
|
:return: The scaling_policy_action of this ScalingV1PolicyDetail.
|
|
262
262
|
:rtype: :class:`huaweicloudsdkas.v1.ScalingPolicyActionV1`
|
|
@@ -265,7 +265,7 @@ class ScalingV1PolicyDetail:
|
|
|
265
265
|
|
|
266
266
|
@scaling_policy_action.setter
|
|
267
267
|
def scaling_policy_action(self, scaling_policy_action):
|
|
268
|
-
"""Sets the scaling_policy_action of this ScalingV1PolicyDetail.
|
|
268
|
+
r"""Sets the scaling_policy_action of this ScalingV1PolicyDetail.
|
|
269
269
|
|
|
270
270
|
:param scaling_policy_action: The scaling_policy_action of this ScalingV1PolicyDetail.
|
|
271
271
|
:type scaling_policy_action: :class:`huaweicloudsdkas.v1.ScalingPolicyActionV1`
|
|
@@ -274,7 +274,7 @@ class ScalingV1PolicyDetail:
|
|
|
274
274
|
|
|
275
275
|
@property
|
|
276
276
|
def cool_down_time(self):
|
|
277
|
-
"""Gets the cool_down_time of this ScalingV1PolicyDetail.
|
|
277
|
+
r"""Gets the cool_down_time of this ScalingV1PolicyDetail.
|
|
278
278
|
|
|
279
279
|
冷却时间,取值范围0-86400,默认为300,单位是秒。
|
|
280
280
|
|
|
@@ -285,7 +285,7 @@ class ScalingV1PolicyDetail:
|
|
|
285
285
|
|
|
286
286
|
@cool_down_time.setter
|
|
287
287
|
def cool_down_time(self, cool_down_time):
|
|
288
|
-
"""Sets the cool_down_time of this ScalingV1PolicyDetail.
|
|
288
|
+
r"""Sets the cool_down_time of this ScalingV1PolicyDetail.
|
|
289
289
|
|
|
290
290
|
冷却时间,取值范围0-86400,默认为300,单位是秒。
|
|
291
291
|
|
|
@@ -296,7 +296,7 @@ class ScalingV1PolicyDetail:
|
|
|
296
296
|
|
|
297
297
|
@property
|
|
298
298
|
def create_time(self):
|
|
299
|
-
"""Gets the create_time of this ScalingV1PolicyDetail.
|
|
299
|
+
r"""Gets the create_time of this ScalingV1PolicyDetail.
|
|
300
300
|
|
|
301
301
|
创建伸缩策略时间,遵循UTC时间。
|
|
302
302
|
|
|
@@ -307,7 +307,7 @@ class ScalingV1PolicyDetail:
|
|
|
307
307
|
|
|
308
308
|
@create_time.setter
|
|
309
309
|
def create_time(self, create_time):
|
|
310
|
-
"""Sets the create_time of this ScalingV1PolicyDetail.
|
|
310
|
+
r"""Sets the create_time of this ScalingV1PolicyDetail.
|
|
311
311
|
|
|
312
312
|
创建伸缩策略时间,遵循UTC时间。
|
|
313
313
|
|
|
@@ -51,7 +51,7 @@ class ScalingV2PolicyDetail:
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
def __init__(self, scaling_policy_name=None, scaling_policy_id=None, scaling_resource_id=None, scaling_resource_type=None, policy_status=None, scaling_policy_type=None, alarm_id=None, scheduled_policy=None, scaling_policy_action=None, interval_alarm_actions=None, cool_down_time=None, create_time=None, meta_data=None, description=None):
|
|
54
|
-
"""ScalingV2PolicyDetail
|
|
54
|
+
r"""ScalingV2PolicyDetail
|
|
55
55
|
|
|
56
56
|
The model defined in huaweicloud sdk
|
|
57
57
|
|
|
@@ -134,7 +134,7 @@ class ScalingV2PolicyDetail:
|
|
|
134
134
|
|
|
135
135
|
@property
|
|
136
136
|
def scaling_policy_name(self):
|
|
137
|
-
"""Gets the scaling_policy_name of this ScalingV2PolicyDetail.
|
|
137
|
+
r"""Gets the scaling_policy_name of this ScalingV2PolicyDetail.
|
|
138
138
|
|
|
139
139
|
伸缩策略名称。
|
|
140
140
|
|
|
@@ -145,7 +145,7 @@ class ScalingV2PolicyDetail:
|
|
|
145
145
|
|
|
146
146
|
@scaling_policy_name.setter
|
|
147
147
|
def scaling_policy_name(self, scaling_policy_name):
|
|
148
|
-
"""Sets the scaling_policy_name of this ScalingV2PolicyDetail.
|
|
148
|
+
r"""Sets the scaling_policy_name of this ScalingV2PolicyDetail.
|
|
149
149
|
|
|
150
150
|
伸缩策略名称。
|
|
151
151
|
|
|
@@ -156,7 +156,7 @@ class ScalingV2PolicyDetail:
|
|
|
156
156
|
|
|
157
157
|
@property
|
|
158
158
|
def scaling_policy_id(self):
|
|
159
|
-
"""Gets the scaling_policy_id of this ScalingV2PolicyDetail.
|
|
159
|
+
r"""Gets the scaling_policy_id of this ScalingV2PolicyDetail.
|
|
160
160
|
|
|
161
161
|
伸缩策略ID。
|
|
162
162
|
|
|
@@ -167,7 +167,7 @@ class ScalingV2PolicyDetail:
|
|
|
167
167
|
|
|
168
168
|
@scaling_policy_id.setter
|
|
169
169
|
def scaling_policy_id(self, scaling_policy_id):
|
|
170
|
-
"""Sets the scaling_policy_id of this ScalingV2PolicyDetail.
|
|
170
|
+
r"""Sets the scaling_policy_id of this ScalingV2PolicyDetail.
|
|
171
171
|
|
|
172
172
|
伸缩策略ID。
|
|
173
173
|
|
|
@@ -178,7 +178,7 @@ class ScalingV2PolicyDetail:
|
|
|
178
178
|
|
|
179
179
|
@property
|
|
180
180
|
def scaling_resource_id(self):
|
|
181
|
-
"""Gets the scaling_resource_id of this ScalingV2PolicyDetail.
|
|
181
|
+
r"""Gets the scaling_resource_id of this ScalingV2PolicyDetail.
|
|
182
182
|
|
|
183
183
|
伸缩资源ID。
|
|
184
184
|
|
|
@@ -189,7 +189,7 @@ class ScalingV2PolicyDetail:
|
|
|
189
189
|
|
|
190
190
|
@scaling_resource_id.setter
|
|
191
191
|
def scaling_resource_id(self, scaling_resource_id):
|
|
192
|
-
"""Sets the scaling_resource_id of this ScalingV2PolicyDetail.
|
|
192
|
+
r"""Sets the scaling_resource_id of this ScalingV2PolicyDetail.
|
|
193
193
|
|
|
194
194
|
伸缩资源ID。
|
|
195
195
|
|
|
@@ -200,7 +200,7 @@ class ScalingV2PolicyDetail:
|
|
|
200
200
|
|
|
201
201
|
@property
|
|
202
202
|
def scaling_resource_type(self):
|
|
203
|
-
"""Gets the scaling_resource_type of this ScalingV2PolicyDetail.
|
|
203
|
+
r"""Gets the scaling_resource_type of this ScalingV2PolicyDetail.
|
|
204
204
|
|
|
205
205
|
伸缩资源类型。伸缩组:SCALING_GROUP。带宽:BANDWIDTH。
|
|
206
206
|
|
|
@@ -211,7 +211,7 @@ class ScalingV2PolicyDetail:
|
|
|
211
211
|
|
|
212
212
|
@scaling_resource_type.setter
|
|
213
213
|
def scaling_resource_type(self, scaling_resource_type):
|
|
214
|
-
"""Sets the scaling_resource_type of this ScalingV2PolicyDetail.
|
|
214
|
+
r"""Sets the scaling_resource_type of this ScalingV2PolicyDetail.
|
|
215
215
|
|
|
216
216
|
伸缩资源类型。伸缩组:SCALING_GROUP。带宽:BANDWIDTH。
|
|
217
217
|
|
|
@@ -222,7 +222,7 @@ class ScalingV2PolicyDetail:
|
|
|
222
222
|
|
|
223
223
|
@property
|
|
224
224
|
def policy_status(self):
|
|
225
|
-
"""Gets the policy_status of this ScalingV2PolicyDetail.
|
|
225
|
+
r"""Gets the policy_status of this ScalingV2PolicyDetail.
|
|
226
226
|
|
|
227
227
|
伸缩策略状态。INSERVICE:使用中。PAUSED:停止。EXECUTING:执行中。
|
|
228
228
|
|
|
@@ -233,7 +233,7 @@ class ScalingV2PolicyDetail:
|
|
|
233
233
|
|
|
234
234
|
@policy_status.setter
|
|
235
235
|
def policy_status(self, policy_status):
|
|
236
|
-
"""Sets the policy_status of this ScalingV2PolicyDetail.
|
|
236
|
+
r"""Sets the policy_status of this ScalingV2PolicyDetail.
|
|
237
237
|
|
|
238
238
|
伸缩策略状态。INSERVICE:使用中。PAUSED:停止。EXECUTING:执行中。
|
|
239
239
|
|
|
@@ -244,7 +244,7 @@ class ScalingV2PolicyDetail:
|
|
|
244
244
|
|
|
245
245
|
@property
|
|
246
246
|
def scaling_policy_type(self):
|
|
247
|
-
"""Gets the scaling_policy_type of this ScalingV2PolicyDetail.
|
|
247
|
+
r"""Gets the scaling_policy_type of this ScalingV2PolicyDetail.
|
|
248
248
|
|
|
249
249
|
伸缩策略类型:ALARM:告警策略,此时alarm_id有返回,scheduled_policy不会返回。SCHEDULED:定时策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time不会返回。RECURRENCE:周期策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time有返回。
|
|
250
250
|
|
|
@@ -255,7 +255,7 @@ class ScalingV2PolicyDetail:
|
|
|
255
255
|
|
|
256
256
|
@scaling_policy_type.setter
|
|
257
257
|
def scaling_policy_type(self, scaling_policy_type):
|
|
258
|
-
"""Sets the scaling_policy_type of this ScalingV2PolicyDetail.
|
|
258
|
+
r"""Sets the scaling_policy_type of this ScalingV2PolicyDetail.
|
|
259
259
|
|
|
260
260
|
伸缩策略类型:ALARM:告警策略,此时alarm_id有返回,scheduled_policy不会返回。SCHEDULED:定时策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time不会返回。RECURRENCE:周期策略,此时alarm_id不会返回,scheduled_policy有返回,并且recurrence_type、recurrence_value、start_time和end_time有返回。
|
|
261
261
|
|
|
@@ -266,7 +266,7 @@ class ScalingV2PolicyDetail:
|
|
|
266
266
|
|
|
267
267
|
@property
|
|
268
268
|
def alarm_id(self):
|
|
269
|
-
"""Gets the alarm_id of this ScalingV2PolicyDetail.
|
|
269
|
+
r"""Gets the alarm_id of this ScalingV2PolicyDetail.
|
|
270
270
|
|
|
271
271
|
告警ID。
|
|
272
272
|
|
|
@@ -277,7 +277,7 @@ class ScalingV2PolicyDetail:
|
|
|
277
277
|
|
|
278
278
|
@alarm_id.setter
|
|
279
279
|
def alarm_id(self, alarm_id):
|
|
280
|
-
"""Sets the alarm_id of this ScalingV2PolicyDetail.
|
|
280
|
+
r"""Sets the alarm_id of this ScalingV2PolicyDetail.
|
|
281
281
|
|
|
282
282
|
告警ID。
|
|
283
283
|
|
|
@@ -288,7 +288,7 @@ class ScalingV2PolicyDetail:
|
|
|
288
288
|
|
|
289
289
|
@property
|
|
290
290
|
def scheduled_policy(self):
|
|
291
|
-
"""Gets the scheduled_policy of this ScalingV2PolicyDetail.
|
|
291
|
+
r"""Gets the scheduled_policy of this ScalingV2PolicyDetail.
|
|
292
292
|
|
|
293
293
|
:return: The scheduled_policy of this ScalingV2PolicyDetail.
|
|
294
294
|
:rtype: :class:`huaweicloudsdkas.v1.ScheduledPolicy`
|
|
@@ -297,7 +297,7 @@ class ScalingV2PolicyDetail:
|
|
|
297
297
|
|
|
298
298
|
@scheduled_policy.setter
|
|
299
299
|
def scheduled_policy(self, scheduled_policy):
|
|
300
|
-
"""Sets the scheduled_policy of this ScalingV2PolicyDetail.
|
|
300
|
+
r"""Sets the scheduled_policy of this ScalingV2PolicyDetail.
|
|
301
301
|
|
|
302
302
|
:param scheduled_policy: The scheduled_policy of this ScalingV2PolicyDetail.
|
|
303
303
|
:type scheduled_policy: :class:`huaweicloudsdkas.v1.ScheduledPolicy`
|
|
@@ -306,7 +306,7 @@ class ScalingV2PolicyDetail:
|
|
|
306
306
|
|
|
307
307
|
@property
|
|
308
308
|
def scaling_policy_action(self):
|
|
309
|
-
"""Gets the scaling_policy_action of this ScalingV2PolicyDetail.
|
|
309
|
+
r"""Gets the scaling_policy_action of this ScalingV2PolicyDetail.
|
|
310
310
|
|
|
311
311
|
:return: The scaling_policy_action of this ScalingV2PolicyDetail.
|
|
312
312
|
:rtype: :class:`huaweicloudsdkas.v1.ScalingPolicyActionV2`
|
|
@@ -315,7 +315,7 @@ class ScalingV2PolicyDetail:
|
|
|
315
315
|
|
|
316
316
|
@scaling_policy_action.setter
|
|
317
317
|
def scaling_policy_action(self, scaling_policy_action):
|
|
318
|
-
"""Sets the scaling_policy_action of this ScalingV2PolicyDetail.
|
|
318
|
+
r"""Sets the scaling_policy_action of this ScalingV2PolicyDetail.
|
|
319
319
|
|
|
320
320
|
:param scaling_policy_action: The scaling_policy_action of this ScalingV2PolicyDetail.
|
|
321
321
|
:type scaling_policy_action: :class:`huaweicloudsdkas.v1.ScalingPolicyActionV2`
|
|
@@ -324,7 +324,7 @@ class ScalingV2PolicyDetail:
|
|
|
324
324
|
|
|
325
325
|
@property
|
|
326
326
|
def interval_alarm_actions(self):
|
|
327
|
-
"""Gets the interval_alarm_actions of this ScalingV2PolicyDetail.
|
|
327
|
+
r"""Gets the interval_alarm_actions of this ScalingV2PolicyDetail.
|
|
328
328
|
|
|
329
329
|
:return: The interval_alarm_actions of this ScalingV2PolicyDetail.
|
|
330
330
|
:rtype: list[:class:`huaweicloudsdkas.v1.IntervalAlarmActionsV2`]
|
|
@@ -333,7 +333,7 @@ class ScalingV2PolicyDetail:
|
|
|
333
333
|
|
|
334
334
|
@interval_alarm_actions.setter
|
|
335
335
|
def interval_alarm_actions(self, interval_alarm_actions):
|
|
336
|
-
"""Sets the interval_alarm_actions of this ScalingV2PolicyDetail.
|
|
336
|
+
r"""Sets the interval_alarm_actions of this ScalingV2PolicyDetail.
|
|
337
337
|
|
|
338
338
|
:param interval_alarm_actions: The interval_alarm_actions of this ScalingV2PolicyDetail.
|
|
339
339
|
:type interval_alarm_actions: list[:class:`huaweicloudsdkas.v1.IntervalAlarmActionsV2`]
|
|
@@ -342,7 +342,7 @@ class ScalingV2PolicyDetail:
|
|
|
342
342
|
|
|
343
343
|
@property
|
|
344
344
|
def cool_down_time(self):
|
|
345
|
-
"""Gets the cool_down_time of this ScalingV2PolicyDetail.
|
|
345
|
+
r"""Gets the cool_down_time of this ScalingV2PolicyDetail.
|
|
346
346
|
|
|
347
347
|
冷却时间,取值范围0-86400,默认为300,单位是秒。
|
|
348
348
|
|
|
@@ -353,7 +353,7 @@ class ScalingV2PolicyDetail:
|
|
|
353
353
|
|
|
354
354
|
@cool_down_time.setter
|
|
355
355
|
def cool_down_time(self, cool_down_time):
|
|
356
|
-
"""Sets the cool_down_time of this ScalingV2PolicyDetail.
|
|
356
|
+
r"""Sets the cool_down_time of this ScalingV2PolicyDetail.
|
|
357
357
|
|
|
358
358
|
冷却时间,取值范围0-86400,默认为300,单位是秒。
|
|
359
359
|
|
|
@@ -364,7 +364,7 @@ class ScalingV2PolicyDetail:
|
|
|
364
364
|
|
|
365
365
|
@property
|
|
366
366
|
def create_time(self):
|
|
367
|
-
"""Gets the create_time of this ScalingV2PolicyDetail.
|
|
367
|
+
r"""Gets the create_time of this ScalingV2PolicyDetail.
|
|
368
368
|
|
|
369
369
|
创建伸缩策略时间,遵循UTC时间
|
|
370
370
|
|
|
@@ -375,7 +375,7 @@ class ScalingV2PolicyDetail:
|
|
|
375
375
|
|
|
376
376
|
@create_time.setter
|
|
377
377
|
def create_time(self, create_time):
|
|
378
|
-
"""Sets the create_time of this ScalingV2PolicyDetail.
|
|
378
|
+
r"""Sets the create_time of this ScalingV2PolicyDetail.
|
|
379
379
|
|
|
380
380
|
创建伸缩策略时间,遵循UTC时间
|
|
381
381
|
|
|
@@ -386,7 +386,7 @@ class ScalingV2PolicyDetail:
|
|
|
386
386
|
|
|
387
387
|
@property
|
|
388
388
|
def meta_data(self):
|
|
389
|
-
"""Gets the meta_data of this ScalingV2PolicyDetail.
|
|
389
|
+
r"""Gets the meta_data of this ScalingV2PolicyDetail.
|
|
390
390
|
|
|
391
391
|
:return: The meta_data of this ScalingV2PolicyDetail.
|
|
392
392
|
:rtype: :class:`huaweicloudsdkas.v1.ScalingPolicyV2MetaData`
|
|
@@ -395,7 +395,7 @@ class ScalingV2PolicyDetail:
|
|
|
395
395
|
|
|
396
396
|
@meta_data.setter
|
|
397
397
|
def meta_data(self, meta_data):
|
|
398
|
-
"""Sets the meta_data of this ScalingV2PolicyDetail.
|
|
398
|
+
r"""Sets the meta_data of this ScalingV2PolicyDetail.
|
|
399
399
|
|
|
400
400
|
:param meta_data: The meta_data of this ScalingV2PolicyDetail.
|
|
401
401
|
:type meta_data: :class:`huaweicloudsdkas.v1.ScalingPolicyV2MetaData`
|
|
@@ -404,7 +404,7 @@ class ScalingV2PolicyDetail:
|
|
|
404
404
|
|
|
405
405
|
@property
|
|
406
406
|
def description(self):
|
|
407
|
-
"""Gets the description of this ScalingV2PolicyDetail.
|
|
407
|
+
r"""Gets the description of this ScalingV2PolicyDetail.
|
|
408
408
|
|
|
409
409
|
伸缩策略描述(1-256个字符)
|
|
410
410
|
|
|
@@ -415,7 +415,7 @@ class ScalingV2PolicyDetail:
|
|
|
415
415
|
|
|
416
416
|
@description.setter
|
|
417
417
|
def description(self, description):
|
|
418
|
-
"""Sets the description of this ScalingV2PolicyDetail.
|
|
418
|
+
r"""Sets the description of this ScalingV2PolicyDetail.
|
|
419
419
|
|
|
420
420
|
伸缩策略描述(1-256个字符)
|
|
421
421
|
|
|
@@ -33,7 +33,7 @@ class ScheduledPolicy:
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
def __init__(self, launch_time=None, recurrence_type=None, recurrence_value=None, start_time=None, end_time=None):
|
|
36
|
-
"""ScheduledPolicy
|
|
36
|
+
r"""ScheduledPolicy
|
|
37
37
|
|
|
38
38
|
The model defined in huaweicloud sdk
|
|
39
39
|
|
|
@@ -70,7 +70,7 @@ class ScheduledPolicy:
|
|
|
70
70
|
|
|
71
71
|
@property
|
|
72
72
|
def launch_time(self):
|
|
73
|
-
"""Gets the launch_time of this ScheduledPolicy.
|
|
73
|
+
r"""Gets the launch_time of this ScheduledPolicy.
|
|
74
74
|
|
|
75
75
|
触发时间,遵循UTC时间。如果scaling_policy_type为SCHEDULED,则格式为:YYYY-MM-DDThh:mmZ。如果scaling_policy_type为RECURRENCE,则格式为:hh:mm。
|
|
76
76
|
|
|
@@ -81,7 +81,7 @@ class ScheduledPolicy:
|
|
|
81
81
|
|
|
82
82
|
@launch_time.setter
|
|
83
83
|
def launch_time(self, launch_time):
|
|
84
|
-
"""Sets the launch_time of this ScheduledPolicy.
|
|
84
|
+
r"""Sets the launch_time of this ScheduledPolicy.
|
|
85
85
|
|
|
86
86
|
触发时间,遵循UTC时间。如果scaling_policy_type为SCHEDULED,则格式为:YYYY-MM-DDThh:mmZ。如果scaling_policy_type为RECURRENCE,则格式为:hh:mm。
|
|
87
87
|
|
|
@@ -92,7 +92,7 @@ class ScheduledPolicy:
|
|
|
92
92
|
|
|
93
93
|
@property
|
|
94
94
|
def recurrence_type(self):
|
|
95
|
-
"""Gets the recurrence_type of this ScheduledPolicy.
|
|
95
|
+
r"""Gets the recurrence_type of this ScheduledPolicy.
|
|
96
96
|
|
|
97
97
|
周期触发类型,scaling_policy_type为RECURRENCE时该项必选。Daily:每天执行一次。Weekly:每周指定天执行一次。Monthly:每月指定天执行一次。
|
|
98
98
|
|
|
@@ -103,7 +103,7 @@ class ScheduledPolicy:
|
|
|
103
103
|
|
|
104
104
|
@recurrence_type.setter
|
|
105
105
|
def recurrence_type(self, recurrence_type):
|
|
106
|
-
"""Sets the recurrence_type of this ScheduledPolicy.
|
|
106
|
+
r"""Sets the recurrence_type of this ScheduledPolicy.
|
|
107
107
|
|
|
108
108
|
周期触发类型,scaling_policy_type为RECURRENCE时该项必选。Daily:每天执行一次。Weekly:每周指定天执行一次。Monthly:每月指定天执行一次。
|
|
109
109
|
|
|
@@ -114,7 +114,7 @@ class ScheduledPolicy:
|
|
|
114
114
|
|
|
115
115
|
@property
|
|
116
116
|
def recurrence_value(self):
|
|
117
|
-
"""Gets the recurrence_value of this ScheduledPolicy.
|
|
117
|
+
r"""Gets the recurrence_value of this ScheduledPolicy.
|
|
118
118
|
|
|
119
119
|
周期触发任务数值,scaling_policy_type为RECURRENCE时该项必选。类型为Daily时,该字段为null,表示每天执行类型为Weekly时,该字段取值范围为1-7,1表示星期日,以此类推,以”,”分割,例如:1,3,5。类型为Monthly时,该字段取值范围为1-31,分别表示每月的日期,以“,”分割,例如:1,10,13,28。说明:- 当recurrence_type类型为Daily时,recurrence_value参数不生效。
|
|
120
120
|
|
|
@@ -125,7 +125,7 @@ class ScheduledPolicy:
|
|
|
125
125
|
|
|
126
126
|
@recurrence_value.setter
|
|
127
127
|
def recurrence_value(self, recurrence_value):
|
|
128
|
-
"""Sets the recurrence_value of this ScheduledPolicy.
|
|
128
|
+
r"""Sets the recurrence_value of this ScheduledPolicy.
|
|
129
129
|
|
|
130
130
|
周期触发任务数值,scaling_policy_type为RECURRENCE时该项必选。类型为Daily时,该字段为null,表示每天执行类型为Weekly时,该字段取值范围为1-7,1表示星期日,以此类推,以”,”分割,例如:1,3,5。类型为Monthly时,该字段取值范围为1-31,分别表示每月的日期,以“,”分割,例如:1,10,13,28。说明:- 当recurrence_type类型为Daily时,recurrence_value参数不生效。
|
|
131
131
|
|
|
@@ -136,7 +136,7 @@ class ScheduledPolicy:
|
|
|
136
136
|
|
|
137
137
|
@property
|
|
138
138
|
def start_time(self):
|
|
139
|
-
"""Gets the start_time of this ScheduledPolicy.
|
|
139
|
+
r"""Gets the start_time of this ScheduledPolicy.
|
|
140
140
|
|
|
141
141
|
周期策略重复执行开始时间,遵循UTC时间。默认为当前时间,格式为:YYYY-MM-DDThh:mZ
|
|
142
142
|
|
|
@@ -147,7 +147,7 @@ class ScheduledPolicy:
|
|
|
147
147
|
|
|
148
148
|
@start_time.setter
|
|
149
149
|
def start_time(self, start_time):
|
|
150
|
-
"""Sets the start_time of this ScheduledPolicy.
|
|
150
|
+
r"""Sets the start_time of this ScheduledPolicy.
|
|
151
151
|
|
|
152
152
|
周期策略重复执行开始时间,遵循UTC时间。默认为当前时间,格式为:YYYY-MM-DDThh:mZ
|
|
153
153
|
|
|
@@ -158,7 +158,7 @@ class ScheduledPolicy:
|
|
|
158
158
|
|
|
159
159
|
@property
|
|
160
160
|
def end_time(self):
|
|
161
|
-
"""Gets the end_time of this ScheduledPolicy.
|
|
161
|
+
r"""Gets the end_time of this ScheduledPolicy.
|
|
162
162
|
|
|
163
163
|
周期策略重复执行结束时间,遵循UTC时间,scaling_policy_type为RECURRENCE时该项必选。当为周期类型策略时,不得早于当前时间和开始时间。格式为:YYYY-MM-DDThh:mmZ
|
|
164
164
|
|
|
@@ -169,7 +169,7 @@ class ScheduledPolicy:
|
|
|
169
169
|
|
|
170
170
|
@end_time.setter
|
|
171
171
|
def end_time(self, end_time):
|
|
172
|
-
"""Sets the end_time of this ScheduledPolicy.
|
|
172
|
+
r"""Sets the end_time of this ScheduledPolicy.
|
|
173
173
|
|
|
174
174
|
周期策略重复执行结束时间,遵循UTC时间,scaling_policy_type为RECURRENCE时该项必选。当为周期类型策略时,不得早于当前时间和开始时间。格式为:YYYY-MM-DDThh:mmZ
|
|
175
175
|
|