135 lines
10 KiB
Python
135 lines
10 KiB
Python
# coding: utf-8
|
|
|
|
from __future__ import absolute_import
|
|
|
|
# import VpcClient
|
|
from huaweicloudsdkvpc.v2.vpc_client import VpcClient
|
|
from huaweicloudsdkvpc.v2.vpc_async_client import VpcAsyncClient
|
|
# import models into sdk package
|
|
from huaweicloudsdkvpc.v2.model.accept_vpc_peering_request import AcceptVpcPeeringRequest
|
|
from huaweicloudsdkvpc.v2.model.accept_vpc_peering_response import AcceptVpcPeeringResponse
|
|
from huaweicloudsdkvpc.v2.model.allowed_address_pair import AllowedAddressPair
|
|
from huaweicloudsdkvpc.v2.model.create_port_option import CreatePortOption
|
|
from huaweicloudsdkvpc.v2.model.create_port_request import CreatePortRequest
|
|
from huaweicloudsdkvpc.v2.model.create_port_request_body import CreatePortRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_port_response import CreatePortResponse
|
|
from huaweicloudsdkvpc.v2.model.create_privateip_option import CreatePrivateipOption
|
|
from huaweicloudsdkvpc.v2.model.create_privateip_request import CreatePrivateipRequest
|
|
from huaweicloudsdkvpc.v2.model.create_privateip_request_body import CreatePrivateipRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_privateip_response import CreatePrivateipResponse
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_option import CreateSecurityGroupOption
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_request import CreateSecurityGroupRequest
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_request_body import CreateSecurityGroupRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_response import CreateSecurityGroupResponse
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_rule_option import CreateSecurityGroupRuleOption
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_rule_request import CreateSecurityGroupRuleRequest
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_rule_request_body import CreateSecurityGroupRuleRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_security_group_rule_response import CreateSecurityGroupRuleResponse
|
|
from huaweicloudsdkvpc.v2.model.create_subnet_option import CreateSubnetOption
|
|
from huaweicloudsdkvpc.v2.model.create_subnet_request import CreateSubnetRequest
|
|
from huaweicloudsdkvpc.v2.model.create_subnet_request_body import CreateSubnetRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_subnet_response import CreateSubnetResponse
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_option import CreateVpcOption
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_peering_option import CreateVpcPeeringOption
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_peering_request import CreateVpcPeeringRequest
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_peering_request_body import CreateVpcPeeringRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_peering_response import CreateVpcPeeringResponse
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_request import CreateVpcRequest
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_request_body import CreateVpcRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_response import CreateVpcResponse
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_route_option import CreateVpcRouteOption
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_route_request import CreateVpcRouteRequest
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_route_request_body import CreateVpcRouteRequestBody
|
|
from huaweicloudsdkvpc.v2.model.create_vpc_route_response import CreateVpcRouteResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_port_request import DeletePortRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_port_response import DeletePortResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_privateip_request import DeletePrivateipRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_privateip_response import DeletePrivateipResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_security_group_request import DeleteSecurityGroupRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_security_group_response import DeleteSecurityGroupResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_security_group_rule_request import DeleteSecurityGroupRuleRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_security_group_rule_response import DeleteSecurityGroupRuleResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_subnet_request import DeleteSubnetRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_subnet_response import DeleteSubnetResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_vpc_peering_request import DeleteVpcPeeringRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_vpc_peering_response import DeleteVpcPeeringResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_vpc_request import DeleteVpcRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_vpc_response import DeleteVpcResponse
|
|
from huaweicloudsdkvpc.v2.model.delete_vpc_route_request import DeleteVpcRouteRequest
|
|
from huaweicloudsdkvpc.v2.model.delete_vpc_route_response import DeleteVpcRouteResponse
|
|
from huaweicloudsdkvpc.v2.model.dns_assign_ment import DnsAssignMent
|
|
from huaweicloudsdkvpc.v2.model.extra_dhcp_opt import ExtraDhcpOpt
|
|
from huaweicloudsdkvpc.v2.model.extra_dhcp_option import ExtraDhcpOption
|
|
from huaweicloudsdkvpc.v2.model.fixed_ip import FixedIp
|
|
from huaweicloudsdkvpc.v2.model.list_ports_request import ListPortsRequest
|
|
from huaweicloudsdkvpc.v2.model.list_ports_response import ListPortsResponse
|
|
from huaweicloudsdkvpc.v2.model.list_privateips_request import ListPrivateipsRequest
|
|
from huaweicloudsdkvpc.v2.model.list_privateips_response import ListPrivateipsResponse
|
|
from huaweicloudsdkvpc.v2.model.list_security_group_rules_request import ListSecurityGroupRulesRequest
|
|
from huaweicloudsdkvpc.v2.model.list_security_group_rules_response import ListSecurityGroupRulesResponse
|
|
from huaweicloudsdkvpc.v2.model.list_security_groups_request import ListSecurityGroupsRequest
|
|
from huaweicloudsdkvpc.v2.model.list_security_groups_response import ListSecurityGroupsResponse
|
|
from huaweicloudsdkvpc.v2.model.list_subnets_request import ListSubnetsRequest
|
|
from huaweicloudsdkvpc.v2.model.list_subnets_response import ListSubnetsResponse
|
|
from huaweicloudsdkvpc.v2.model.list_vpc_peerings_request import ListVpcPeeringsRequest
|
|
from huaweicloudsdkvpc.v2.model.list_vpc_peerings_response import ListVpcPeeringsResponse
|
|
from huaweicloudsdkvpc.v2.model.list_vpc_routes_request import ListVpcRoutesRequest
|
|
from huaweicloudsdkvpc.v2.model.list_vpc_routes_response import ListVpcRoutesResponse
|
|
from huaweicloudsdkvpc.v2.model.list_vpcs_request import ListVpcsRequest
|
|
from huaweicloudsdkvpc.v2.model.list_vpcs_response import ListVpcsResponse
|
|
from huaweicloudsdkvpc.v2.model.network_ip_availability import NetworkIpAvailability
|
|
from huaweicloudsdkvpc.v2.model.neutron_page_link import NeutronPageLink
|
|
from huaweicloudsdkvpc.v2.model.port import Port
|
|
from huaweicloudsdkvpc.v2.model.privateip import Privateip
|
|
from huaweicloudsdkvpc.v2.model.quota import Quota
|
|
from huaweicloudsdkvpc.v2.model.reject_vpc_peering_request import RejectVpcPeeringRequest
|
|
from huaweicloudsdkvpc.v2.model.reject_vpc_peering_response import RejectVpcPeeringResponse
|
|
from huaweicloudsdkvpc.v2.model.resource_result import ResourceResult
|
|
from huaweicloudsdkvpc.v2.model.route import Route
|
|
from huaweicloudsdkvpc.v2.model.security_group import SecurityGroup
|
|
from huaweicloudsdkvpc.v2.model.security_group_rule import SecurityGroupRule
|
|
from huaweicloudsdkvpc.v2.model.show_network_ip_availabilities_request import ShowNetworkIpAvailabilitiesRequest
|
|
from huaweicloudsdkvpc.v2.model.show_network_ip_availabilities_response import ShowNetworkIpAvailabilitiesResponse
|
|
from huaweicloudsdkvpc.v2.model.show_port_request import ShowPortRequest
|
|
from huaweicloudsdkvpc.v2.model.show_port_response import ShowPortResponse
|
|
from huaweicloudsdkvpc.v2.model.show_privateip_request import ShowPrivateipRequest
|
|
from huaweicloudsdkvpc.v2.model.show_privateip_response import ShowPrivateipResponse
|
|
from huaweicloudsdkvpc.v2.model.show_quota_request import ShowQuotaRequest
|
|
from huaweicloudsdkvpc.v2.model.show_quota_response import ShowQuotaResponse
|
|
from huaweicloudsdkvpc.v2.model.show_security_group_request import ShowSecurityGroupRequest
|
|
from huaweicloudsdkvpc.v2.model.show_security_group_response import ShowSecurityGroupResponse
|
|
from huaweicloudsdkvpc.v2.model.show_security_group_rule_request import ShowSecurityGroupRuleRequest
|
|
from huaweicloudsdkvpc.v2.model.show_security_group_rule_response import ShowSecurityGroupRuleResponse
|
|
from huaweicloudsdkvpc.v2.model.show_subnet_request import ShowSubnetRequest
|
|
from huaweicloudsdkvpc.v2.model.show_subnet_response import ShowSubnetResponse
|
|
from huaweicloudsdkvpc.v2.model.show_vpc_peering_request import ShowVpcPeeringRequest
|
|
from huaweicloudsdkvpc.v2.model.show_vpc_peering_response import ShowVpcPeeringResponse
|
|
from huaweicloudsdkvpc.v2.model.show_vpc_request import ShowVpcRequest
|
|
from huaweicloudsdkvpc.v2.model.show_vpc_response import ShowVpcResponse
|
|
from huaweicloudsdkvpc.v2.model.show_vpc_route_request import ShowVpcRouteRequest
|
|
from huaweicloudsdkvpc.v2.model.show_vpc_route_response import ShowVpcRouteResponse
|
|
from huaweicloudsdkvpc.v2.model.subnet import Subnet
|
|
from huaweicloudsdkvpc.v2.model.subnet_ip_availability import SubnetIpAvailability
|
|
from huaweicloudsdkvpc.v2.model.subnet_result import SubnetResult
|
|
from huaweicloudsdkvpc.v2.model.update_port_option import UpdatePortOption
|
|
from huaweicloudsdkvpc.v2.model.update_port_request import UpdatePortRequest
|
|
from huaweicloudsdkvpc.v2.model.update_port_request_body import UpdatePortRequestBody
|
|
from huaweicloudsdkvpc.v2.model.update_port_response import UpdatePortResponse
|
|
from huaweicloudsdkvpc.v2.model.update_subnet_option import UpdateSubnetOption
|
|
from huaweicloudsdkvpc.v2.model.update_subnet_request import UpdateSubnetRequest
|
|
from huaweicloudsdkvpc.v2.model.update_subnet_request_body import UpdateSubnetRequestBody
|
|
from huaweicloudsdkvpc.v2.model.update_subnet_response import UpdateSubnetResponse
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_option import UpdateVpcOption
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_peering_option import UpdateVpcPeeringOption
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_peering_request import UpdateVpcPeeringRequest
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_peering_request_body import UpdateVpcPeeringRequestBody
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_peering_response import UpdateVpcPeeringResponse
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_request import UpdateVpcRequest
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_request_body import UpdateVpcRequestBody
|
|
from huaweicloudsdkvpc.v2.model.update_vpc_response import UpdateVpcResponse
|
|
from huaweicloudsdkvpc.v2.model.vpc import Vpc
|
|
from huaweicloudsdkvpc.v2.model.vpc_info import VpcInfo
|
|
from huaweicloudsdkvpc.v2.model.vpc_peering import VpcPeering
|
|
from huaweicloudsdkvpc.v2.model.vpc_route import VpcRoute
|
|
|