2020-05-18 07:34:40 +00:00
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
|
|
|
|
# import AsClient
|
|
|
|
from huaweicloudsdkas.v1.as_client import AsClient
|
2020-06-15 07:04:23 +00:00
|
|
|
from huaweicloudsdkas.v1.as_async_client import AsAsyncClient
|
2020-05-18 07:34:40 +00:00
|
|
|
# import models into sdk package
|
|
|
|
from huaweicloudsdkas.v1.model.all_quotas import AllQuotas
|
|
|
|
from huaweicloudsdkas.v1.model.all_resources import AllResources
|
|
|
|
from huaweicloudsdkas.v1.model.bandwidth import Bandwidth
|
|
|
|
from huaweicloudsdkas.v1.model.batch_delete_scaling_configs_request import BatchDeleteScalingConfigsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.batch_delete_scaling_configs_request_body import BatchDeleteScalingConfigsRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.batch_delete_scaling_configs_response import BatchDeleteScalingConfigsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.complete_lifecycle_action_request import CompleteLifecycleActionRequest
|
|
|
|
from huaweicloudsdkas.v1.model.complete_lifecycle_action_request_body import CompleteLifecycleActionRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.complete_lifecycle_action_response import CompleteLifecycleActionResponse
|
|
|
|
from huaweicloudsdkas.v1.model.create_life_cycle_hook_request_body import CreateLifeCycleHookRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.create_lify_cycle_hook_request import CreateLifyCycleHookRequest
|
|
|
|
from huaweicloudsdkas.v1.model.create_lify_cycle_hook_response import CreateLifyCycleHookResponse
|
|
|
|
from huaweicloudsdkas.v1.model.create_notification_request_body import CreateNotificationRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_config_request import CreateScalingConfigRequest
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_config_request_body import CreateScalingConfigRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_config_response import CreateScalingConfigResponse
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_group_request import CreateScalingGroupRequest
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_group_request_body import CreateScalingGroupRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_group_response import CreateScalingGroupResponse
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_notification_request import CreateScalingNotificationRequest
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_notification_response import CreateScalingNotificationResponse
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_policy_request import CreateScalingPolicyRequest
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_policy_request_body import CreateScalingPolicyRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_policy_response import CreateScalingPolicyResponse
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_tags_request import CreateScalingTagsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_tags_request_body import CreateScalingTagsRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.create_scaling_tags_response import CreateScalingTagsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.delete_lifecycle_hook_request import DeleteLifecycleHookRequest
|
|
|
|
from huaweicloudsdkas.v1.model.delete_lifecycle_hook_response import DeleteLifecycleHookResponse
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_config_request import DeleteScalingConfigRequest
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_config_response import DeleteScalingConfigResponse
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_group_request import DeleteScalingGroupRequest
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_group_response import DeleteScalingGroupResponse
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_instance_request import DeleteScalingInstanceRequest
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_instance_response import DeleteScalingInstanceResponse
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_notification_request import DeleteScalingNotificationRequest
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_notification_response import DeleteScalingNotificationResponse
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_policy_request import DeleteScalingPolicyRequest
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_policy_response import DeleteScalingPolicyResponse
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_tags_request import DeleteScalingTagsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_tags_request_body import DeleteScalingTagsRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.delete_scaling_tags_response import DeleteScalingTagsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.disk import Disk
|
|
|
|
from huaweicloudsdkas.v1.model.eip import Eip
|
|
|
|
from huaweicloudsdkas.v1.model.enable_or_disable_scaling_group_request import EnableOrDisableScalingGroupRequest
|
|
|
|
from huaweicloudsdkas.v1.model.enable_or_disable_scaling_group_request_body import EnableOrDisableScalingGroupRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.enable_or_disable_scaling_group_response import EnableOrDisableScalingGroupResponse
|
|
|
|
from huaweicloudsdkas.v1.model.execute_scaling_policy_request import ExecuteScalingPolicyRequest
|
|
|
|
from huaweicloudsdkas.v1.model.execute_scaling_policy_request_body import ExecuteScalingPolicyRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.execute_scaling_policy_response import ExecuteScalingPolicyResponse
|
|
|
|
from huaweicloudsdkas.v1.model.instance_config import InstanceConfig
|
|
|
|
from huaweicloudsdkas.v1.model.instance_config_result import InstanceConfigResult
|
|
|
|
from huaweicloudsdkas.v1.model.instance_hanging_infos import InstanceHangingInfos
|
|
|
|
from huaweicloudsdkas.v1.model.ipv6_bandwidth import Ipv6Bandwidth
|
|
|
|
from huaweicloudsdkas.v1.model.job_records import JobRecords
|
|
|
|
from huaweicloudsdkas.v1.model.lbaas_listeners import LbaasListeners
|
|
|
|
from huaweicloudsdkas.v1.model.lbaas_listeners_result import LbaasListenersResult
|
|
|
|
from huaweicloudsdkas.v1.model.lifecycle_hook_list import LifecycleHookList
|
|
|
|
from huaweicloudsdkas.v1.model.list_hook_instances_request import ListHookInstancesRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_hook_instances_response import ListHookInstancesResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_life_cycle_hooks_request import ListLifeCycleHooksRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_life_cycle_hooks_response import ListLifeCycleHooksResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_resource_instances_request import ListResourceInstancesRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_resource_instances_response import ListResourceInstancesResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_activity_logs_request import ListScalingActivityLogsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_activity_logs_response import ListScalingActivityLogsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_configs_request import ListScalingConfigsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_configs_response import ListScalingConfigsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_groups_request import ListScalingGroupsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_groups_response import ListScalingGroupsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_instances_request import ListScalingInstancesRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_instances_response import ListScalingInstancesResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_notifications_request import ListScalingNotificationsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_notifications_response import ListScalingNotificationsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_policies_request import ListScalingPoliciesRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_policies_response import ListScalingPoliciesResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_policy_execute_logs_request import ListScalingPolicyExecuteLogsRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_policy_execute_logs_response import ListScalingPolicyExecuteLogsResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_tag_infos_by_resource_id_request import ListScalingTagInfosByResourceIdRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_tag_infos_by_resource_id_response import ListScalingTagInfosByResourceIdResponse
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_tag_infos_by_tenant_id_request import ListScalingTagInfosByTenantIdRequest
|
|
|
|
from huaweicloudsdkas.v1.model.list_scaling_tag_infos_by_tenant_id_response import ListScalingTagInfosByTenantIdResponse
|
|
|
|
from huaweicloudsdkas.v1.model.matches import Matches
|
|
|
|
from huaweicloudsdkas.v1.model.meta_data import MetaData
|
|
|
|
from huaweicloudsdkas.v1.model.networks import Networks
|
|
|
|
from huaweicloudsdkas.v1.model.personality import Personality
|
|
|
|
from huaweicloudsdkas.v1.model.policy_instance_quotas import PolicyInstanceQuotas
|
|
|
|
from huaweicloudsdkas.v1.model.policy_instance_resources import PolicyInstanceResources
|
|
|
|
from huaweicloudsdkas.v1.model.public_ip import PublicIp
|
|
|
|
from huaweicloudsdkas.v1.model.resource_tags import ResourceTags
|
|
|
|
from huaweicloudsdkas.v1.model.resources import Resources
|
|
|
|
from huaweicloudsdkas.v1.model.scaling_activity_log_list import ScalingActivityLogList
|
|
|
|
from huaweicloudsdkas.v1.model.scaling_configuration import ScalingConfiguration
|
|
|
|
from huaweicloudsdkas.v1.model.scaling_group_instance import ScalingGroupInstance
|
|
|
|
from huaweicloudsdkas.v1.model.scaling_groups import ScalingGroups
|
|
|
|
from huaweicloudsdkas.v1.model.scaling_policy_action import ScalingPolicyAction
|
|
|
|
from huaweicloudsdkas.v1.model.scaling_policy_detail import ScalingPolicyDetail
|
|
|
|
from huaweicloudsdkas.v1.model.scaling_policy_execute_log_list import ScalingPolicyExecuteLogList
|
|
|
|
from huaweicloudsdkas.v1.model.scheduled_policy import ScheduledPolicy
|
|
|
|
from huaweicloudsdkas.v1.model.security_groups import SecurityGroups
|
|
|
|
from huaweicloudsdkas.v1.model.security_groups_result import SecurityGroupsResult
|
|
|
|
from huaweicloudsdkas.v1.model.show_life_cycle_hook_request import ShowLifeCycleHookRequest
|
|
|
|
from huaweicloudsdkas.v1.model.show_life_cycle_hook_response import ShowLifeCycleHookResponse
|
|
|
|
from huaweicloudsdkas.v1.model.show_policy_and_instance_quota_request import ShowPolicyAndInstanceQuotaRequest
|
|
|
|
from huaweicloudsdkas.v1.model.show_policy_and_instance_quota_response import ShowPolicyAndInstanceQuotaResponse
|
|
|
|
from huaweicloudsdkas.v1.model.show_resource_quota_request import ShowResourceQuotaRequest
|
|
|
|
from huaweicloudsdkas.v1.model.show_resource_quota_response import ShowResourceQuotaResponse
|
|
|
|
from huaweicloudsdkas.v1.model.show_scaling_config_request import ShowScalingConfigRequest
|
|
|
|
from huaweicloudsdkas.v1.model.show_scaling_config_response import ShowScalingConfigResponse
|
|
|
|
from huaweicloudsdkas.v1.model.show_scaling_group_request import ShowScalingGroupRequest
|
|
|
|
from huaweicloudsdkas.v1.model.show_scaling_group_response import ShowScalingGroupResponse
|
|
|
|
from huaweicloudsdkas.v1.model.show_scaling_policy_request import ShowScalingPolicyRequest
|
|
|
|
from huaweicloudsdkas.v1.model.show_scaling_policy_response import ShowScalingPolicyResponse
|
|
|
|
from huaweicloudsdkas.v1.model.show_tags_request_body import ShowTagsRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.tags_multi_value import TagsMultiValue
|
|
|
|
from huaweicloudsdkas.v1.model.tags_single_value import TagsSingleValue
|
|
|
|
from huaweicloudsdkas.v1.model.topics import Topics
|
|
|
|
from huaweicloudsdkas.v1.model.update_life_cycle_hook_request import UpdateLifeCycleHookRequest
|
|
|
|
from huaweicloudsdkas.v1.model.update_life_cycle_hook_request_body import UpdateLifeCycleHookRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.update_life_cycle_hook_response import UpdateLifeCycleHookResponse
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_group_instance_request import UpdateScalingGroupInstanceRequest
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_group_instance_request_body import UpdateScalingGroupInstanceRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_group_instance_response import UpdateScalingGroupInstanceResponse
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_group_request import UpdateScalingGroupRequest
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_group_request_body import UpdateScalingGroupRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_group_response import UpdateScalingGroupResponse
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_policy_request import UpdateScalingPolicyRequest
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_policy_request_body import UpdateScalingPolicyRequestBody
|
|
|
|
from huaweicloudsdkas.v1.model.update_scaling_policy_response import UpdateScalingPolicyResponse
|
|
|
|
|