Package cn.ucloud.vpc.client
Interface VPCClientInterface
-
- All Superinterfaces:
AutoCloseable,Client,Closeable
- All Known Implementing Classes:
VPCClient
public interface VPCClientInterface extends Client
This client is used to call actions of **VPC** service
-
-
Method Summary
-
-
-
Method Detail
-
addSnatRule
AddSnatRuleResponse addSnatRule(AddSnatRuleRequest request) throws UCloudException
AddSnatRule - 添加出口规则(SNAT规则)- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addVPCNetwork
AddVPCNetworkResponse addVPCNetwork(AddVPCNetworkRequest request) throws UCloudException
AddVPCNetwork - 添加VPC网段- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addWhiteListResource
AddWhiteListResourceResponse addWhiteListResource(AddWhiteListResourceRequest request) throws UCloudException
AddWhiteListResource - 添加NAT网关白名单- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
allocateBatchSecondaryIp
AllocateBatchSecondaryIpResponse allocateBatchSecondaryIp(AllocateBatchSecondaryIpRequest request) throws UCloudException
AllocateBatchSecondaryIp - 批量申请虚拟网卡辅助IP- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
allocateSecondaryIp
AllocateSecondaryIpResponse allocateSecondaryIp(AllocateSecondaryIpRequest request) throws UCloudException
AllocateSecondaryIp - 分配ip- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
allocateVIP
AllocateVIPResponse allocateVIP(AllocateVIPRequest request) throws UCloudException
AllocateVIP - 申请内网虚拟IP- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
associateRouteTable
AssociateRouteTableResponse associateRouteTable(AssociateRouteTableRequest request) throws UCloudException
AssociateRouteTable - 绑定子网的路由表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
attachNetworkInterface
AttachNetworkInterfaceResponse attachNetworkInterface(AttachNetworkInterfaceRequest request) throws UCloudException
AttachNetworkInterface - 绑定网卡到云主机- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
cloneRouteTable
CloneRouteTableResponse cloneRouteTable(CloneRouteTableRequest request) throws UCloudException
CloneRouteTable - 克隆路由表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNATGW
CreateNATGWResponse createNATGW(CreateNATGWRequest request) throws UCloudException
CreateNATGW - 创建NAT网关- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNATGWPolicy
CreateNATGWPolicyResponse createNATGWPolicy(CreateNATGWPolicyRequest request) throws UCloudException
CreateNATGWPolicy - 添加NAT网关端口转发规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNetworkAcl
CreateNetworkAclResponse createNetworkAcl(CreateNetworkAclRequest request) throws UCloudException
CreateNetworkAcl - 创建网络ACL- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNetworkAclAssociation
CreateNetworkAclAssociationResponse createNetworkAclAssociation(CreateNetworkAclAssociationRequest request) throws UCloudException
CreateNetworkAclAssociation - 创建ACL的绑定关系- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNetworkAclEntry
CreateNetworkAclEntryResponse createNetworkAclEntry(CreateNetworkAclEntryRequest request) throws UCloudException
CreateNetworkAclEntry - 创建ACL的规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createNetworkInterface
CreateNetworkInterfaceResponse createNetworkInterface(CreateNetworkInterfaceRequest request) throws UCloudException
CreateNetworkInterface - 创建虚拟网卡- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createRouteTable
CreateRouteTableResponse createRouteTable(CreateRouteTableRequest request) throws UCloudException
CreateRouteTable - 创建路由表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createSnatDnatRule
CreateSnatDnatRuleResponse createSnatDnatRule(CreateSnatDnatRuleRequest request) throws UCloudException
CreateSnatDnatRule - 使用NAT创建内外网IP映射- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createSubnet
CreateSubnetResponse createSubnet(CreateSubnetRequest request) throws UCloudException
CreateSubnet - 创建子网- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createVPC
CreateVPCResponse createVPC(CreateVPCRequest request) throws UCloudException
CreateVPC - 创建VPC- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createVPCIntercom
CreateVPCIntercomResponse createVPCIntercom(CreateVPCIntercomRequest request) throws UCloudException
CreateVPCIntercom - 新建VPC互通- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNATGW
DeleteNATGWResponse deleteNATGW(DeleteNATGWRequest request) throws UCloudException
DeleteNATGW - 删除NAT网关- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNATGWPolicy
DeleteNATGWPolicyResponse deleteNATGWPolicy(DeleteNATGWPolicyRequest request) throws UCloudException
DeleteNATGWPolicy - 删除NAT网关端口转发规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNetworkAcl
DeleteNetworkAclResponse deleteNetworkAcl(DeleteNetworkAclRequest request) throws UCloudException
DeleteNetworkAcl - 删除网络ACL- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNetworkAclAssociation
DeleteNetworkAclAssociationResponse deleteNetworkAclAssociation(DeleteNetworkAclAssociationRequest request) throws UCloudException
DeleteNetworkAclAssociation - 删除网络ACL绑定关系- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNetworkAclEntry
DeleteNetworkAclEntryResponse deleteNetworkAclEntry(DeleteNetworkAclEntryRequest request) throws UCloudException
DeleteNetworkAclEntry - 删除ACL的规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteNetworkInterface
DeleteNetworkInterfaceResponse deleteNetworkInterface(DeleteNetworkInterfaceRequest request) throws UCloudException
DeleteNetworkInterface - 删除网卡- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteRouteTable
DeleteRouteTableResponse deleteRouteTable(DeleteRouteTableRequest request) throws UCloudException
DeleteRouteTable - 删除自定义路由表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteSecondaryIp
DeleteSecondaryIpResponse deleteSecondaryIp(DeleteSecondaryIpRequest request) throws UCloudException
DeleteSecondaryIp - 删除Ip- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteSnatDnatRule
DeleteSnatDnatRuleResponse deleteSnatDnatRule(DeleteSnatDnatRuleRequest request) throws UCloudException
DeleteSnatDnatRule - 删除NAT创建内外网IP映射规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteSnatRule
DeleteSnatRuleResponse deleteSnatRule(DeleteSnatRuleRequest request) throws UCloudException
DeleteSnatRule - 删除出口规则(SNAT规则)- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteSubnet
DeleteSubnetResponse deleteSubnet(DeleteSubnetRequest request) throws UCloudException
DeleteSubnet - 删除子网- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteVPC
DeleteVPCResponse deleteVPC(DeleteVPCRequest request) throws UCloudException
DeleteVPC - 删除VPC- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteVPCIntercom
DeleteVPCIntercomResponse deleteVPCIntercom(DeleteVPCIntercomRequest request) throws UCloudException
DeleteVPCIntercom - 删除VPC互通- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWhiteListResource
DeleteWhiteListResourceResponse deleteWhiteListResource(DeleteWhiteListResourceRequest request) throws UCloudException
DeleteWhiteListResource - 删除NAT网关白名单列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeInstanceNetworkInterface
DescribeInstanceNetworkInterfaceResponse describeInstanceNetworkInterface(DescribeInstanceNetworkInterfaceRequest request) throws UCloudException
DescribeInstanceNetworkInterface - 展示云主机绑定的网卡信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNATGW
DescribeNATGWResponse describeNATGW(DescribeNATGWRequest request) throws UCloudException
DescribeNATGW - 获取NAT网关信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNATGWPolicy
DescribeNATGWPolicyResponse describeNATGWPolicy(DescribeNATGWPolicyRequest request) throws UCloudException
DescribeNATGWPolicy - 展示NAT网关端口转发规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNetworkAcl
DescribeNetworkAclResponse describeNetworkAcl(DescribeNetworkAclRequest request) throws UCloudException
DescribeNetworkAcl - 获取网络ACL- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNetworkAclAssociation
DescribeNetworkAclAssociationResponse describeNetworkAclAssociation(DescribeNetworkAclAssociationRequest request) throws UCloudException
DescribeNetworkAclAssociation - 获取网络ACL的绑定关系列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNetworkAclAssociationBySubnet
DescribeNetworkAclAssociationBySubnetResponse describeNetworkAclAssociationBySubnet(DescribeNetworkAclAssociationBySubnetRequest request) throws UCloudException
DescribeNetworkAclAssociationBySubnet - 获取子网的ACL绑定信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNetworkAclEntry
DescribeNetworkAclEntryResponse describeNetworkAclEntry(DescribeNetworkAclEntryRequest request) throws UCloudException
DescribeNetworkAclEntry - 获取ACL的规则信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeNetworkInterface
DescribeNetworkInterfaceResponse describeNetworkInterface(DescribeNetworkInterfaceRequest request) throws UCloudException
DescribeNetworkInterface - 展示虚拟网卡信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeRouteTable
DescribeRouteTableResponse describeRouteTable(DescribeRouteTableRequest request) throws UCloudException
DescribeRouteTable - 获取路由表详细信息(包括路由策略)- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSecondaryIp
DescribeSecondaryIpResponse describeSecondaryIp(DescribeSecondaryIpRequest request) throws UCloudException
DescribeSecondaryIp - 查询SecondaryIp- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSnatDnatRule
DescribeSnatDnatRuleResponse describeSnatDnatRule(DescribeSnatDnatRuleRequest request) throws UCloudException
DescribeSnatDnatRule - 获取基于NAT创建的内外网IP映射规则信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSnatRule
DescribeSnatRuleResponse describeSnatRule(DescribeSnatRuleRequest request) throws UCloudException
DescribeSnatRule - 获取Nat网关的出口规则(SNAT规则)- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSubnet
DescribeSubnetResponse describeSubnet(DescribeSubnetRequest request) throws UCloudException
DescribeSubnet - 获取子网信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeSubnetResource
DescribeSubnetResourceResponse describeSubnetResource(DescribeSubnetResourceRequest request) throws UCloudException
DescribeSubnetResource - 展示子网资源- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeVIP
DescribeVIPResponse describeVIP(DescribeVIPRequest request) throws UCloudException
DescribeVIP - 获取内网虚拟IP信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeVPC
DescribeVPCResponse describeVPC(DescribeVPCRequest request) throws UCloudException
DescribeVPC - 获取VPC信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeVPCIntercom
DescribeVPCIntercomResponse describeVPCIntercom(DescribeVPCIntercomRequest request) throws UCloudException
DescribeVPCIntercom - 获取VPC互通信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWhiteListResource
DescribeWhiteListResourceResponse describeWhiteListResource(DescribeWhiteListResourceRequest request) throws UCloudException
DescribeWhiteListResource - 展示NAT网关白名单资源列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
detachNetworkInterface
DetachNetworkInterfaceResponse detachNetworkInterface(DetachNetworkInterfaceRequest request) throws UCloudException
DetachNetworkInterface - 解绑云主机关联网卡- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
enableWhiteList
EnableWhiteListResponse enableWhiteList(EnableWhiteListRequest request) throws UCloudException
EnableWhiteList - 修改NAT网关白名单开关- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getAvailableResourceForPolicy
GetAvailableResourceForPolicyResponse getAvailableResourceForPolicy(GetAvailableResourceForPolicyRequest request) throws UCloudException
GetAvailableResourceForPolicy - 获取NAT网关可配置端口转发规则的资源信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getAvailableResourceForSnatRule
GetAvailableResourceForSnatRuleResponse getAvailableResourceForSnatRule(GetAvailableResourceForSnatRuleRequest request) throws UCloudException
GetAvailableResourceForSnatRule - 获得可添加snat规则(出口规则)的资源列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getAvailableResourceForWhiteList
GetAvailableResourceForWhiteListResponse getAvailableResourceForWhiteList(GetAvailableResourceForWhiteListRequest request) throws UCloudException
GetAvailableResourceForWhiteList - 获取NAT网关可添加白名单的资源- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getNetworkAclTargetResource
GetNetworkAclTargetResourceResponse getNetworkAclTargetResource(GetNetworkAclTargetResourceRequest request) throws UCloudException
GetNetworkAclTargetResource - 获取ACL规则应用目标列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listSubnetForNATGW
ListSubnetForNATGWResponse listSubnetForNATGW(ListSubnetForNATGWRequest request) throws UCloudException
ListSubnetForNATGW - 展示NAT网关可绑定的子网列表- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyRouteRule
ModifyRouteRuleResponse modifyRouteRule(ModifyRouteRuleRequest request) throws UCloudException
ModifyRouteRule - 路由策略增、删、改- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
moveSecondaryIPMac
MoveSecondaryIPMacResponse moveSecondaryIPMac(MoveSecondaryIPMacRequest request) throws UCloudException
MoveSecondaryIPMac - 迁移SecondaryIP- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
releaseVIP
ReleaseVIPResponse releaseVIP(ReleaseVIPRequest request) throws UCloudException
ReleaseVIP - 释放内网虚拟IP- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setGwDefaultExport
SetGwDefaultExportResponse setGwDefaultExport(SetGwDefaultExportRequest request) throws UCloudException
SetGwDefaultExport - 设置NAT网关的默认出口- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateNATGWPolicy
UpdateNATGWPolicyResponse updateNATGWPolicy(UpdateNATGWPolicyRequest request) throws UCloudException
UpdateNATGWPolicy - 更新NAT网关端口转发规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateNATGWSubnet
UpdateNATGWSubnetResponse updateNATGWSubnet(UpdateNATGWSubnetRequest request) throws UCloudException
UpdateNATGWSubnet - 更新NAT网关绑定的子网- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateNetworkAcl
UpdateNetworkAclResponse updateNetworkAcl(UpdateNetworkAclRequest request) throws UCloudException
UpdateNetworkAcl - 更改ACL- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateNetworkAclEntry
UpdateNetworkAclEntryResponse updateNetworkAclEntry(UpdateNetworkAclEntryRequest request) throws UCloudException
UpdateNetworkAclEntry - 更新ACL的规则- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateRouteTableAttribute
UpdateRouteTableAttributeResponse updateRouteTableAttribute(UpdateRouteTableAttributeRequest request) throws UCloudException
UpdateRouteTableAttribute - 更新路由表基本信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateSnatRule
UpdateSnatRuleResponse updateSnatRule(UpdateSnatRuleRequest request) throws UCloudException
UpdateSnatRule - 更新出口规则(SNAT规则)- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateSubnetAttribute
UpdateSubnetAttributeResponse updateSubnetAttribute(UpdateSubnetAttributeRequest request) throws UCloudException
UpdateSubnetAttribute - 更新子网信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateVIPAttribute
UpdateVIPAttributeResponse updateVIPAttribute(UpdateVIPAttributeRequest request) throws UCloudException
UpdateVIPAttribute - 更新VIP信息- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateVPCNetwork
UpdateVPCNetworkResponse updateVPCNetwork(UpdateVPCNetworkRequest request) throws UCloudException
UpdateVPCNetwork - 更新VPC网段- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-