198 lines
16 KiB
Python
198 lines
16 KiB
Python
# coding: utf-8
|
|
|
|
from __future__ import absolute_import
|
|
|
|
# import ElbClient
|
|
from huaweicloudsdkelb.v3.elb_client import ElbClient
|
|
from huaweicloudsdkelb.v3.elb_async_client import ElbAsyncClient
|
|
# import models into sdk package
|
|
from huaweicloudsdkelb.v3.model.availability_zone import AvailabilityZone
|
|
from huaweicloudsdkelb.v3.model.bandwidth_ref import BandwidthRef
|
|
from huaweicloudsdkelb.v3.model.certificate_info import CertificateInfo
|
|
from huaweicloudsdkelb.v3.model.count_preoccupy_ip_num_request import CountPreoccupyIpNumRequest
|
|
from huaweicloudsdkelb.v3.model.count_preoccupy_ip_num_response import CountPreoccupyIpNumResponse
|
|
from huaweicloudsdkelb.v3.model.create_certificate_option import CreateCertificateOption
|
|
from huaweicloudsdkelb.v3.model.create_certificate_request import CreateCertificateRequest
|
|
from huaweicloudsdkelb.v3.model.create_certificate_request_body import CreateCertificateRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_certificate_response import CreateCertificateResponse
|
|
from huaweicloudsdkelb.v3.model.create_health_monitor_option import CreateHealthMonitorOption
|
|
from huaweicloudsdkelb.v3.model.create_health_monitor_request import CreateHealthMonitorRequest
|
|
from huaweicloudsdkelb.v3.model.create_health_monitor_request_body import CreateHealthMonitorRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_health_monitor_response import CreateHealthMonitorResponse
|
|
from huaweicloudsdkelb.v3.model.create_ip_group_ip_option import CreateIpGroupIpOption
|
|
from huaweicloudsdkelb.v3.model.create_ip_group_option import CreateIpGroupOption
|
|
from huaweicloudsdkelb.v3.model.create_ip_group_request import CreateIpGroupRequest
|
|
from huaweicloudsdkelb.v3.model.create_ip_group_request_body import CreateIpGroupRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_ip_group_response import CreateIpGroupResponse
|
|
from huaweicloudsdkelb.v3.model.create_l7_policy_option import CreateL7PolicyOption
|
|
from huaweicloudsdkelb.v3.model.create_l7_policy_request import CreateL7PolicyRequest
|
|
from huaweicloudsdkelb.v3.model.create_l7_policy_request_body import CreateL7PolicyRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_l7_policy_response import CreateL7PolicyResponse
|
|
from huaweicloudsdkelb.v3.model.create_l7_policy_rule_option import CreateL7PolicyRuleOption
|
|
from huaweicloudsdkelb.v3.model.create_l7_rule_request import CreateL7RuleRequest
|
|
from huaweicloudsdkelb.v3.model.create_l7_rule_request_body import CreateL7RuleRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_l7_rule_response import CreateL7RuleResponse
|
|
from huaweicloudsdkelb.v3.model.create_listener_ip_group_option import CreateListenerIpGroupOption
|
|
from huaweicloudsdkelb.v3.model.create_listener_option import CreateListenerOption
|
|
from huaweicloudsdkelb.v3.model.create_listener_request import CreateListenerRequest
|
|
from huaweicloudsdkelb.v3.model.create_listener_request_body import CreateListenerRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_listener_response import CreateListenerResponse
|
|
from huaweicloudsdkelb.v3.model.create_load_balancer_bandwidth_option import CreateLoadBalancerBandwidthOption
|
|
from huaweicloudsdkelb.v3.model.create_load_balancer_option import CreateLoadBalancerOption
|
|
from huaweicloudsdkelb.v3.model.create_load_balancer_public_ip_option import CreateLoadBalancerPublicIpOption
|
|
from huaweicloudsdkelb.v3.model.create_load_balancer_request import CreateLoadBalancerRequest
|
|
from huaweicloudsdkelb.v3.model.create_load_balancer_request_body import CreateLoadBalancerRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_load_balancer_response import CreateLoadBalancerResponse
|
|
from huaweicloudsdkelb.v3.model.create_member_option import CreateMemberOption
|
|
from huaweicloudsdkelb.v3.model.create_member_request import CreateMemberRequest
|
|
from huaweicloudsdkelb.v3.model.create_member_request_body import CreateMemberRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_member_response import CreateMemberResponse
|
|
from huaweicloudsdkelb.v3.model.create_pool_option import CreatePoolOption
|
|
from huaweicloudsdkelb.v3.model.create_pool_request import CreatePoolRequest
|
|
from huaweicloudsdkelb.v3.model.create_pool_request_body import CreatePoolRequestBody
|
|
from huaweicloudsdkelb.v3.model.create_pool_response import CreatePoolResponse
|
|
from huaweicloudsdkelb.v3.model.create_pool_session_persistence_option import CreatePoolSessionPersistenceOption
|
|
from huaweicloudsdkelb.v3.model.create_pool_slow_start_option import CreatePoolSlowStartOption
|
|
from huaweicloudsdkelb.v3.model.create_rule_option import CreateRuleOption
|
|
from huaweicloudsdkelb.v3.model.delete_certificate_request import DeleteCertificateRequest
|
|
from huaweicloudsdkelb.v3.model.delete_certificate_response import DeleteCertificateResponse
|
|
from huaweicloudsdkelb.v3.model.delete_health_monitor_request import DeleteHealthMonitorRequest
|
|
from huaweicloudsdkelb.v3.model.delete_health_monitor_response import DeleteHealthMonitorResponse
|
|
from huaweicloudsdkelb.v3.model.delete_ip_group_request import DeleteIpGroupRequest
|
|
from huaweicloudsdkelb.v3.model.delete_ip_group_response import DeleteIpGroupResponse
|
|
from huaweicloudsdkelb.v3.model.delete_l7_policy_request import DeleteL7PolicyRequest
|
|
from huaweicloudsdkelb.v3.model.delete_l7_policy_response import DeleteL7PolicyResponse
|
|
from huaweicloudsdkelb.v3.model.delete_l7_rule_request import DeleteL7RuleRequest
|
|
from huaweicloudsdkelb.v3.model.delete_l7_rule_response import DeleteL7RuleResponse
|
|
from huaweicloudsdkelb.v3.model.delete_listener_request import DeleteListenerRequest
|
|
from huaweicloudsdkelb.v3.model.delete_listener_response import DeleteListenerResponse
|
|
from huaweicloudsdkelb.v3.model.delete_load_balancer_request import DeleteLoadBalancerRequest
|
|
from huaweicloudsdkelb.v3.model.delete_load_balancer_response import DeleteLoadBalancerResponse
|
|
from huaweicloudsdkelb.v3.model.delete_member_request import DeleteMemberRequest
|
|
from huaweicloudsdkelb.v3.model.delete_member_response import DeleteMemberResponse
|
|
from huaweicloudsdkelb.v3.model.delete_pool_request import DeletePoolRequest
|
|
from huaweicloudsdkelb.v3.model.delete_pool_response import DeletePoolResponse
|
|
from huaweicloudsdkelb.v3.model.eip_info import EipInfo
|
|
from huaweicloudsdkelb.v3.model.flavor import Flavor
|
|
from huaweicloudsdkelb.v3.model.flavor_info import FlavorInfo
|
|
from huaweicloudsdkelb.v3.model.health_monitor import HealthMonitor
|
|
from huaweicloudsdkelb.v3.model.ip_group import IpGroup
|
|
from huaweicloudsdkelb.v3.model.ip_info import IpInfo
|
|
from huaweicloudsdkelb.v3.model.l7_policy import L7Policy
|
|
from huaweicloudsdkelb.v3.model.l7_rule import L7Rule
|
|
from huaweicloudsdkelb.v3.model.list_availability_zones_request import ListAvailabilityZonesRequest
|
|
from huaweicloudsdkelb.v3.model.list_availability_zones_response import ListAvailabilityZonesResponse
|
|
from huaweicloudsdkelb.v3.model.list_certificates_request import ListCertificatesRequest
|
|
from huaweicloudsdkelb.v3.model.list_certificates_response import ListCertificatesResponse
|
|
from huaweicloudsdkelb.v3.model.list_flavors_request import ListFlavorsRequest
|
|
from huaweicloudsdkelb.v3.model.list_flavors_response import ListFlavorsResponse
|
|
from huaweicloudsdkelb.v3.model.list_health_monitors_request import ListHealthMonitorsRequest
|
|
from huaweicloudsdkelb.v3.model.list_health_monitors_response import ListHealthMonitorsResponse
|
|
from huaweicloudsdkelb.v3.model.list_ip_groups_request import ListIpGroupsRequest
|
|
from huaweicloudsdkelb.v3.model.list_ip_groups_response import ListIpGroupsResponse
|
|
from huaweicloudsdkelb.v3.model.list_l7_policies_request import ListL7PoliciesRequest
|
|
from huaweicloudsdkelb.v3.model.list_l7_policies_response import ListL7PoliciesResponse
|
|
from huaweicloudsdkelb.v3.model.list_l7_rules_request import ListL7RulesRequest
|
|
from huaweicloudsdkelb.v3.model.list_l7_rules_response import ListL7RulesResponse
|
|
from huaweicloudsdkelb.v3.model.list_listeners_request import ListListenersRequest
|
|
from huaweicloudsdkelb.v3.model.list_listeners_response import ListListenersResponse
|
|
from huaweicloudsdkelb.v3.model.list_load_balancers_request import ListLoadBalancersRequest
|
|
from huaweicloudsdkelb.v3.model.list_load_balancers_response import ListLoadBalancersResponse
|
|
from huaweicloudsdkelb.v3.model.list_members_request import ListMembersRequest
|
|
from huaweicloudsdkelb.v3.model.list_members_response import ListMembersResponse
|
|
from huaweicloudsdkelb.v3.model.list_pools_request import ListPoolsRequest
|
|
from huaweicloudsdkelb.v3.model.list_pools_response import ListPoolsResponse
|
|
from huaweicloudsdkelb.v3.model.listener import Listener
|
|
from huaweicloudsdkelb.v3.model.listener_insert_headers import ListenerInsertHeaders
|
|
from huaweicloudsdkelb.v3.model.listener_ip_group import ListenerIpGroup
|
|
from huaweicloudsdkelb.v3.model.listener_ref import ListenerRef
|
|
from huaweicloudsdkelb.v3.model.load_balancer import LoadBalancer
|
|
from huaweicloudsdkelb.v3.model.load_balancer_ref import LoadBalancerRef
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status import LoadBalancerStatus
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status_health_monitor import LoadBalancerStatusHealthMonitor
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status_l7_rule import LoadBalancerStatusL7Rule
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status_listener import LoadBalancerStatusListener
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status_member import LoadBalancerStatusMember
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status_policy import LoadBalancerStatusPolicy
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status_pool import LoadBalancerStatusPool
|
|
from huaweicloudsdkelb.v3.model.load_balancer_status_result import LoadBalancerStatusResult
|
|
from huaweicloudsdkelb.v3.model.member import Member
|
|
from huaweicloudsdkelb.v3.model.member_ref import MemberRef
|
|
from huaweicloudsdkelb.v3.model.page_info import PageInfo
|
|
from huaweicloudsdkelb.v3.model.pool import Pool
|
|
from huaweicloudsdkelb.v3.model.pool_ref import PoolRef
|
|
from huaweicloudsdkelb.v3.model.preoccupy_ip import PreoccupyIp
|
|
from huaweicloudsdkelb.v3.model.public_ip_info import PublicIpInfo
|
|
from huaweicloudsdkelb.v3.model.quota import Quota
|
|
from huaweicloudsdkelb.v3.model.rule_ref import RuleRef
|
|
from huaweicloudsdkelb.v3.model.session_persistence import SessionPersistence
|
|
from huaweicloudsdkelb.v3.model.show_certificate_request import ShowCertificateRequest
|
|
from huaweicloudsdkelb.v3.model.show_certificate_response import ShowCertificateResponse
|
|
from huaweicloudsdkelb.v3.model.show_flavor_request import ShowFlavorRequest
|
|
from huaweicloudsdkelb.v3.model.show_flavor_response import ShowFlavorResponse
|
|
from huaweicloudsdkelb.v3.model.show_health_monitor_request import ShowHealthMonitorRequest
|
|
from huaweicloudsdkelb.v3.model.show_health_monitor_response import ShowHealthMonitorResponse
|
|
from huaweicloudsdkelb.v3.model.show_ip_group_request import ShowIpGroupRequest
|
|
from huaweicloudsdkelb.v3.model.show_ip_group_response import ShowIpGroupResponse
|
|
from huaweicloudsdkelb.v3.model.show_l7_policy_request import ShowL7PolicyRequest
|
|
from huaweicloudsdkelb.v3.model.show_l7_policy_response import ShowL7PolicyResponse
|
|
from huaweicloudsdkelb.v3.model.show_l7_rule_request import ShowL7RuleRequest
|
|
from huaweicloudsdkelb.v3.model.show_l7_rule_response import ShowL7RuleResponse
|
|
from huaweicloudsdkelb.v3.model.show_listener_request import ShowListenerRequest
|
|
from huaweicloudsdkelb.v3.model.show_listener_response import ShowListenerResponse
|
|
from huaweicloudsdkelb.v3.model.show_load_balancer_request import ShowLoadBalancerRequest
|
|
from huaweicloudsdkelb.v3.model.show_load_balancer_response import ShowLoadBalancerResponse
|
|
from huaweicloudsdkelb.v3.model.show_load_balancer_status_request import ShowLoadBalancerStatusRequest
|
|
from huaweicloudsdkelb.v3.model.show_load_balancer_status_response import ShowLoadBalancerStatusResponse
|
|
from huaweicloudsdkelb.v3.model.show_member_request import ShowMemberRequest
|
|
from huaweicloudsdkelb.v3.model.show_member_response import ShowMemberResponse
|
|
from huaweicloudsdkelb.v3.model.show_pool_request import ShowPoolRequest
|
|
from huaweicloudsdkelb.v3.model.show_pool_response import ShowPoolResponse
|
|
from huaweicloudsdkelb.v3.model.show_quota_defaults_request import ShowQuotaDefaultsRequest
|
|
from huaweicloudsdkelb.v3.model.show_quota_defaults_response import ShowQuotaDefaultsResponse
|
|
from huaweicloudsdkelb.v3.model.show_quota_request import ShowQuotaRequest
|
|
from huaweicloudsdkelb.v3.model.show_quota_response import ShowQuotaResponse
|
|
from huaweicloudsdkelb.v3.model.slow_start import SlowStart
|
|
from huaweicloudsdkelb.v3.model.tag import Tag
|
|
from huaweicloudsdkelb.v3.model.upadate_ip_group_ip_option import UpadateIpGroupIpOption
|
|
from huaweicloudsdkelb.v3.model.update_certificate_option import UpdateCertificateOption
|
|
from huaweicloudsdkelb.v3.model.update_certificate_request import UpdateCertificateRequest
|
|
from huaweicloudsdkelb.v3.model.update_certificate_request_body import UpdateCertificateRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_certificate_response import UpdateCertificateResponse
|
|
from huaweicloudsdkelb.v3.model.update_health_monitor_option import UpdateHealthMonitorOption
|
|
from huaweicloudsdkelb.v3.model.update_health_monitor_request import UpdateHealthMonitorRequest
|
|
from huaweicloudsdkelb.v3.model.update_health_monitor_request_body import UpdateHealthMonitorRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_health_monitor_response import UpdateHealthMonitorResponse
|
|
from huaweicloudsdkelb.v3.model.update_ip_group_option import UpdateIpGroupOption
|
|
from huaweicloudsdkelb.v3.model.update_ip_group_request import UpdateIpGroupRequest
|
|
from huaweicloudsdkelb.v3.model.update_ip_group_request_body import UpdateIpGroupRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_ip_group_response import UpdateIpGroupResponse
|
|
from huaweicloudsdkelb.v3.model.update_l7_policy_option import UpdateL7PolicyOption
|
|
from huaweicloudsdkelb.v3.model.update_l7_policy_request import UpdateL7PolicyRequest
|
|
from huaweicloudsdkelb.v3.model.update_l7_policy_request_body import UpdateL7PolicyRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_l7_policy_response import UpdateL7PolicyResponse
|
|
from huaweicloudsdkelb.v3.model.update_l7_rule_option import UpdateL7RuleOption
|
|
from huaweicloudsdkelb.v3.model.update_l7_rule_request import UpdateL7RuleRequest
|
|
from huaweicloudsdkelb.v3.model.update_l7_rule_request_body import UpdateL7RuleRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_l7_rule_response import UpdateL7RuleResponse
|
|
from huaweicloudsdkelb.v3.model.update_listener_ip_group_option import UpdateListenerIpGroupOption
|
|
from huaweicloudsdkelb.v3.model.update_listener_option import UpdateListenerOption
|
|
from huaweicloudsdkelb.v3.model.update_listener_request import UpdateListenerRequest
|
|
from huaweicloudsdkelb.v3.model.update_listener_request_body import UpdateListenerRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_listener_response import UpdateListenerResponse
|
|
from huaweicloudsdkelb.v3.model.update_load_balancer_option import UpdateLoadBalancerOption
|
|
from huaweicloudsdkelb.v3.model.update_load_balancer_request import UpdateLoadBalancerRequest
|
|
from huaweicloudsdkelb.v3.model.update_load_balancer_request_body import UpdateLoadBalancerRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_load_balancer_response import UpdateLoadBalancerResponse
|
|
from huaweicloudsdkelb.v3.model.update_member_option import UpdateMemberOption
|
|
from huaweicloudsdkelb.v3.model.update_member_request import UpdateMemberRequest
|
|
from huaweicloudsdkelb.v3.model.update_member_request_body import UpdateMemberRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_member_response import UpdateMemberResponse
|
|
from huaweicloudsdkelb.v3.model.update_pool_option import UpdatePoolOption
|
|
from huaweicloudsdkelb.v3.model.update_pool_request import UpdatePoolRequest
|
|
from huaweicloudsdkelb.v3.model.update_pool_request_body import UpdatePoolRequestBody
|
|
from huaweicloudsdkelb.v3.model.update_pool_response import UpdatePoolResponse
|
|
from huaweicloudsdkelb.v3.model.update_pool_session_persistence_option import UpdatePoolSessionPersistenceOption
|
|
from huaweicloudsdkelb.v3.model.update_pool_slow_start_option import UpdatePoolSlowStartOption
|
|
|