198 lines
16 KiB
Python
198 lines
16 KiB
Python
# coding: utf-8
|
|
|
|
from __future__ import absolute_import
|
|
|
|
# import ElbClient
|
|
from huaweicloudsdkelb.v2.elb_client import ElbClient
|
|
from huaweicloudsdkelb.v2.elb_async_client import ElbAsyncClient
|
|
# import models into sdk package
|
|
from huaweicloudsdkelb.v2.model.action_match import ActionMatch
|
|
from huaweicloudsdkelb.v2.model.action_tag import ActionTag
|
|
from huaweicloudsdkelb.v2.model.batch_create_listener_tags_request import BatchCreateListenerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.batch_create_listener_tags_request_body import BatchCreateListenerTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.batch_create_listener_tags_response import BatchCreateListenerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.batch_create_loadbalancer_tags_request import BatchCreateLoadbalancerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.batch_create_loadbalancer_tags_request_body import BatchCreateLoadbalancerTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.batch_create_loadbalancer_tags_response import BatchCreateLoadbalancerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.batch_delete_listener_tags_request import BatchDeleteListenerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.batch_delete_listener_tags_request_body import BatchDeleteListenerTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.batch_delete_listener_tags_response import BatchDeleteListenerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.batch_delete_loadbalancer_tags_request import BatchDeleteLoadbalancerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.batch_delete_loadbalancer_tags_request_body import BatchDeleteLoadbalancerTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.batch_delete_loadbalancer_tags_response import BatchDeleteLoadbalancerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.certificate_resp import CertificateResp
|
|
from huaweicloudsdkelb.v2.model.create_certificate_request import CreateCertificateRequest
|
|
from huaweicloudsdkelb.v2.model.create_certificate_request_body import CreateCertificateRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_certificate_response import CreateCertificateResponse
|
|
from huaweicloudsdkelb.v2.model.create_healthmonitor_req import CreateHealthmonitorReq
|
|
from huaweicloudsdkelb.v2.model.create_healthmonitor_request import CreateHealthmonitorRequest
|
|
from huaweicloudsdkelb.v2.model.create_healthmonitor_request_body import CreateHealthmonitorRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_healthmonitor_response import CreateHealthmonitorResponse
|
|
from huaweicloudsdkelb.v2.model.create_l7policy_req import CreateL7policyReq
|
|
from huaweicloudsdkelb.v2.model.create_l7policy_request import CreateL7policyRequest
|
|
from huaweicloudsdkelb.v2.model.create_l7policy_request_body import CreateL7policyRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_l7policy_response import CreateL7policyResponse
|
|
from huaweicloudsdkelb.v2.model.create_l7rule_req import CreateL7ruleReq
|
|
from huaweicloudsdkelb.v2.model.create_l7rule_req_in_policy import CreateL7ruleReqInPolicy
|
|
from huaweicloudsdkelb.v2.model.create_l7rule_request import CreateL7ruleRequest
|
|
from huaweicloudsdkelb.v2.model.create_l7rule_request_body import CreateL7ruleRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_l7rule_response import CreateL7ruleResponse
|
|
from huaweicloudsdkelb.v2.model.create_listener_req import CreateListenerReq
|
|
from huaweicloudsdkelb.v2.model.create_listener_request import CreateListenerRequest
|
|
from huaweicloudsdkelb.v2.model.create_listener_request_body import CreateListenerRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_listener_response import CreateListenerResponse
|
|
from huaweicloudsdkelb.v2.model.create_listener_tags_request import CreateListenerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.create_listener_tags_request_body import CreateListenerTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_listener_tags_response import CreateListenerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.create_loadbalancer_req import CreateLoadbalancerReq
|
|
from huaweicloudsdkelb.v2.model.create_loadbalancer_request import CreateLoadbalancerRequest
|
|
from huaweicloudsdkelb.v2.model.create_loadbalancer_request_body import CreateLoadbalancerRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_loadbalancer_response import CreateLoadbalancerResponse
|
|
from huaweicloudsdkelb.v2.model.create_loadbalancer_tags_request import CreateLoadbalancerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.create_loadbalancer_tags_request_body import CreateLoadbalancerTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_loadbalancer_tags_response import CreateLoadbalancerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.create_member_req import CreateMemberReq
|
|
from huaweicloudsdkelb.v2.model.create_member_request import CreateMemberRequest
|
|
from huaweicloudsdkelb.v2.model.create_member_request_body import CreateMemberRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_member_response import CreateMemberResponse
|
|
from huaweicloudsdkelb.v2.model.create_pool_req import CreatePoolReq
|
|
from huaweicloudsdkelb.v2.model.create_pool_request import CreatePoolRequest
|
|
from huaweicloudsdkelb.v2.model.create_pool_request_body import CreatePoolRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_pool_response import CreatePoolResponse
|
|
from huaweicloudsdkelb.v2.model.create_whitelist_req import CreateWhitelistReq
|
|
from huaweicloudsdkelb.v2.model.create_whitelist_request import CreateWhitelistRequest
|
|
from huaweicloudsdkelb.v2.model.create_whitelist_request_body import CreateWhitelistRequestBody
|
|
from huaweicloudsdkelb.v2.model.create_whitelist_response import CreateWhitelistResponse
|
|
from huaweicloudsdkelb.v2.model.delete_certificate_request import DeleteCertificateRequest
|
|
from huaweicloudsdkelb.v2.model.delete_certificate_response import DeleteCertificateResponse
|
|
from huaweicloudsdkelb.v2.model.delete_healthmonitor_request import DeleteHealthmonitorRequest
|
|
from huaweicloudsdkelb.v2.model.delete_healthmonitor_response import DeleteHealthmonitorResponse
|
|
from huaweicloudsdkelb.v2.model.delete_l7policy_request import DeleteL7policyRequest
|
|
from huaweicloudsdkelb.v2.model.delete_l7policy_response import DeleteL7policyResponse
|
|
from huaweicloudsdkelb.v2.model.delete_l7rule_request import DeleteL7ruleRequest
|
|
from huaweicloudsdkelb.v2.model.delete_l7rule_response import DeleteL7ruleResponse
|
|
from huaweicloudsdkelb.v2.model.delete_listener_request import DeleteListenerRequest
|
|
from huaweicloudsdkelb.v2.model.delete_listener_response import DeleteListenerResponse
|
|
from huaweicloudsdkelb.v2.model.delete_listener_tags_request import DeleteListenerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.delete_listener_tags_response import DeleteListenerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.delete_loadbalancer_request import DeleteLoadbalancerRequest
|
|
from huaweicloudsdkelb.v2.model.delete_loadbalancer_response import DeleteLoadbalancerResponse
|
|
from huaweicloudsdkelb.v2.model.delete_loadbalancer_tags_request import DeleteLoadbalancerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.delete_loadbalancer_tags_response import DeleteLoadbalancerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.delete_member_request import DeleteMemberRequest
|
|
from huaweicloudsdkelb.v2.model.delete_member_response import DeleteMemberResponse
|
|
from huaweicloudsdkelb.v2.model.delete_pool_request import DeletePoolRequest
|
|
from huaweicloudsdkelb.v2.model.delete_pool_response import DeletePoolResponse
|
|
from huaweicloudsdkelb.v2.model.delete_whitelist_request import DeleteWhitelistRequest
|
|
from huaweicloudsdkelb.v2.model.delete_whitelist_response import DeleteWhitelistResponse
|
|
from huaweicloudsdkelb.v2.model.healthmonitor_resp import HealthmonitorResp
|
|
from huaweicloudsdkelb.v2.model.healthmonitors_in_status_resp import HealthmonitorsInStatusResp
|
|
from huaweicloudsdkelb.v2.model.insert_header import InsertHeader
|
|
from huaweicloudsdkelb.v2.model.l7policies_in_status_resp import L7policiesInStatusResp
|
|
from huaweicloudsdkelb.v2.model.l7policy_resp import L7policyResp
|
|
from huaweicloudsdkelb.v2.model.l7rule_resp import L7ruleResp
|
|
from huaweicloudsdkelb.v2.model.l7rules_in_status_resp import L7rulesInStatusResp
|
|
from huaweicloudsdkelb.v2.model.list_certificates_request import ListCertificatesRequest
|
|
from huaweicloudsdkelb.v2.model.list_certificates_response import ListCertificatesResponse
|
|
from huaweicloudsdkelb.v2.model.list_healthmonitors_request import ListHealthmonitorsRequest
|
|
from huaweicloudsdkelb.v2.model.list_healthmonitors_response import ListHealthmonitorsResponse
|
|
from huaweicloudsdkelb.v2.model.list_l7policies_request import ListL7policiesRequest
|
|
from huaweicloudsdkelb.v2.model.list_l7policies_response import ListL7policiesResponse
|
|
from huaweicloudsdkelb.v2.model.list_l7rules_request import ListL7rulesRequest
|
|
from huaweicloudsdkelb.v2.model.list_l7rules_response import ListL7rulesResponse
|
|
from huaweicloudsdkelb.v2.model.list_listener_tags_request import ListListenerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.list_listener_tags_response import ListListenerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.list_listeners_by_tags_request import ListListenersByTagsRequest
|
|
from huaweicloudsdkelb.v2.model.list_listeners_by_tags_request_body import ListListenersByTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.list_listeners_by_tags_response import ListListenersByTagsResponse
|
|
from huaweicloudsdkelb.v2.model.list_listeners_request import ListListenersRequest
|
|
from huaweicloudsdkelb.v2.model.list_listeners_response import ListListenersResponse
|
|
from huaweicloudsdkelb.v2.model.list_loadbalancer_tags_request import ListLoadbalancerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.list_loadbalancer_tags_response import ListLoadbalancerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.list_loadbalancers_by_tags_request import ListLoadbalancersByTagsRequest
|
|
from huaweicloudsdkelb.v2.model.list_loadbalancers_by_tags_request_body import ListLoadbalancersByTagsRequestBody
|
|
from huaweicloudsdkelb.v2.model.list_loadbalancers_by_tags_response import ListLoadbalancersByTagsResponse
|
|
from huaweicloudsdkelb.v2.model.list_loadbalancers_request import ListLoadbalancersRequest
|
|
from huaweicloudsdkelb.v2.model.list_loadbalancers_response import ListLoadbalancersResponse
|
|
from huaweicloudsdkelb.v2.model.list_members_request import ListMembersRequest
|
|
from huaweicloudsdkelb.v2.model.list_members_response import ListMembersResponse
|
|
from huaweicloudsdkelb.v2.model.list_pools_request import ListPoolsRequest
|
|
from huaweicloudsdkelb.v2.model.list_pools_response import ListPoolsResponse
|
|
from huaweicloudsdkelb.v2.model.list_tag import ListTag
|
|
from huaweicloudsdkelb.v2.model.list_whitelists_request import ListWhitelistsRequest
|
|
from huaweicloudsdkelb.v2.model.list_whitelists_response import ListWhitelistsResponse
|
|
from huaweicloudsdkelb.v2.model.listener_resp import ListenerResp
|
|
from huaweicloudsdkelb.v2.model.listeners_in_status_resp import ListenersInStatusResp
|
|
from huaweicloudsdkelb.v2.model.loadbalancer_in_status_resp import LoadbalancerInStatusResp
|
|
from huaweicloudsdkelb.v2.model.loadbalancer_resp import LoadbalancerResp
|
|
from huaweicloudsdkelb.v2.model.member_resp import MemberResp
|
|
from huaweicloudsdkelb.v2.model.members_in_status_resp import MembersInStatusResp
|
|
from huaweicloudsdkelb.v2.model.pool_resp import PoolResp
|
|
from huaweicloudsdkelb.v2.model.pools_in_status_resp import PoolsInStatusResp
|
|
from huaweicloudsdkelb.v2.model.resource_list import ResourceList
|
|
from huaweicloudsdkelb.v2.model.resource_tag import ResourceTag
|
|
from huaweicloudsdkelb.v2.model.resources_by_tag import ResourcesByTag
|
|
from huaweicloudsdkelb.v2.model.session_persistence import SessionPersistence
|
|
from huaweicloudsdkelb.v2.model.show_certificate_request import ShowCertificateRequest
|
|
from huaweicloudsdkelb.v2.model.show_certificate_response import ShowCertificateResponse
|
|
from huaweicloudsdkelb.v2.model.show_healthmonitors_request import ShowHealthmonitorsRequest
|
|
from huaweicloudsdkelb.v2.model.show_healthmonitors_response import ShowHealthmonitorsResponse
|
|
from huaweicloudsdkelb.v2.model.show_l7policy_request import ShowL7policyRequest
|
|
from huaweicloudsdkelb.v2.model.show_l7policy_response import ShowL7policyResponse
|
|
from huaweicloudsdkelb.v2.model.show_l7rule_request import ShowL7ruleRequest
|
|
from huaweicloudsdkelb.v2.model.show_l7rule_response import ShowL7ruleResponse
|
|
from huaweicloudsdkelb.v2.model.show_listener_request import ShowListenerRequest
|
|
from huaweicloudsdkelb.v2.model.show_listener_response import ShowListenerResponse
|
|
from huaweicloudsdkelb.v2.model.show_listener_tags_request import ShowListenerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.show_listener_tags_response import ShowListenerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.show_loadbalancer_request import ShowLoadbalancerRequest
|
|
from huaweicloudsdkelb.v2.model.show_loadbalancer_response import ShowLoadbalancerResponse
|
|
from huaweicloudsdkelb.v2.model.show_loadbalancer_tags_request import ShowLoadbalancerTagsRequest
|
|
from huaweicloudsdkelb.v2.model.show_loadbalancer_tags_response import ShowLoadbalancerTagsResponse
|
|
from huaweicloudsdkelb.v2.model.show_loadbalancers_status_request import ShowLoadbalancersStatusRequest
|
|
from huaweicloudsdkelb.v2.model.show_loadbalancers_status_response import ShowLoadbalancersStatusResponse
|
|
from huaweicloudsdkelb.v2.model.show_member_request import ShowMemberRequest
|
|
from huaweicloudsdkelb.v2.model.show_member_response import ShowMemberResponse
|
|
from huaweicloudsdkelb.v2.model.show_pool_request import ShowPoolRequest
|
|
from huaweicloudsdkelb.v2.model.show_pool_response import ShowPoolResponse
|
|
from huaweicloudsdkelb.v2.model.show_whitelist_request import ShowWhitelistRequest
|
|
from huaweicloudsdkelb.v2.model.show_whitelist_response import ShowWhitelistResponse
|
|
from huaweicloudsdkelb.v2.model.status_resp import StatusResp
|
|
from huaweicloudsdkelb.v2.model.update_certificate_request import UpdateCertificateRequest
|
|
from huaweicloudsdkelb.v2.model.update_certificate_request_body import UpdateCertificateRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_certificate_response import UpdateCertificateResponse
|
|
from huaweicloudsdkelb.v2.model.update_healthmonitor_req import UpdateHealthmonitorReq
|
|
from huaweicloudsdkelb.v2.model.update_healthmonitor_request import UpdateHealthmonitorRequest
|
|
from huaweicloudsdkelb.v2.model.update_healthmonitor_request_body import UpdateHealthmonitorRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_healthmonitor_response import UpdateHealthmonitorResponse
|
|
from huaweicloudsdkelb.v2.model.update_l7policies_request import UpdateL7policiesRequest
|
|
from huaweicloudsdkelb.v2.model.update_l7policies_request_body import UpdateL7policiesRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_l7policies_response import UpdateL7policiesResponse
|
|
from huaweicloudsdkelb.v2.model.update_l7policy_req import UpdateL7policyReq
|
|
from huaweicloudsdkelb.v2.model.update_l7rule_req import UpdateL7ruleReq
|
|
from huaweicloudsdkelb.v2.model.update_l7rule_request import UpdateL7ruleRequest
|
|
from huaweicloudsdkelb.v2.model.update_l7rule_request_body import UpdateL7ruleRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_l7rule_response import UpdateL7ruleResponse
|
|
from huaweicloudsdkelb.v2.model.update_listener_req import UpdateListenerReq
|
|
from huaweicloudsdkelb.v2.model.update_listener_request import UpdateListenerRequest
|
|
from huaweicloudsdkelb.v2.model.update_listener_request_body import UpdateListenerRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_listener_response import UpdateListenerResponse
|
|
from huaweicloudsdkelb.v2.model.update_loadbalancer_req import UpdateLoadbalancerReq
|
|
from huaweicloudsdkelb.v2.model.update_loadbalancer_request import UpdateLoadbalancerRequest
|
|
from huaweicloudsdkelb.v2.model.update_loadbalancer_request_body import UpdateLoadbalancerRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_loadbalancer_response import UpdateLoadbalancerResponse
|
|
from huaweicloudsdkelb.v2.model.update_member_req import UpdateMemberReq
|
|
from huaweicloudsdkelb.v2.model.update_member_request import UpdateMemberRequest
|
|
from huaweicloudsdkelb.v2.model.update_member_request_body import UpdateMemberRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_member_response import UpdateMemberResponse
|
|
from huaweicloudsdkelb.v2.model.update_pool_req import UpdatePoolReq
|
|
from huaweicloudsdkelb.v2.model.update_pool_request import UpdatePoolRequest
|
|
from huaweicloudsdkelb.v2.model.update_pool_request_body import UpdatePoolRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_pool_response import UpdatePoolResponse
|
|
from huaweicloudsdkelb.v2.model.update_whitelist_req import UpdateWhitelistReq
|
|
from huaweicloudsdkelb.v2.model.update_whitelist_request import UpdateWhitelistRequest
|
|
from huaweicloudsdkelb.v2.model.update_whitelist_request_body import UpdateWhitelistRequestBody
|
|
from huaweicloudsdkelb.v2.model.update_whitelist_response import UpdateWhitelistResponse
|
|
from huaweicloudsdkelb.v2.model.whitelist_resp import WhitelistResp
|
|
|