The following table lists API operations available for use in Virtual Private Cloud (VPC).

VPCs

API Description
CreateVpc Creates a VPC.
DeleteVpc Deletes a VPC network.
DescribeVpcs Queries VPCs in a specified region.
ModifyVpcAttribute Modifies the name and description of a VPC network.
DescribeVpcAttribute Queries detailed information about a specified VPC network.
GrantInstanceToCen Grants a specified network instance the permissions to connect to a Cloud Enterprise Network (CEN) instance.
RevokeInstanceFromCen Revokes the permissions from a network instance that is attached to CEN instances.
DisableVpcClassicLink Disables ClassicLink for a VPC network.
EnableVpcClassicLink Enables ClassicLink for a VPC network.
DeletionProtection Enables deletion protection for an instance.
AssociateVpcCidrBlock Adds a secondary IPv4 CIDR block to a VPC network.
UnassociateVpcCidrBlock Deletes a secondary IPv4 CIDR block from a VPC network.
DescribeGrantRulesToCen Queries the CEN permissions that allow you to attach a specified instance under another Alibaba Cloud account to CEN. The specified instance can be a VPC, a virtual border router (VBR), or a cloud connect network (CCN) instance.
MoveResourceGroup Modifies the resource group to which a specified cloud resource belongs.

VRouters

API Description
DescribeVRouters Queries VRouters in a specified region.
ModifyVRouterAttribute Modifies the name and description of a VRouter.

VSwitches

API Description
CreateVSwitch Creates a VSwitch.
DeleteVSwitch Deletes a VSwitch.
DescribeVSwitches Queries VSwitches in a VPC network.
ModifyVSwitchAttribute Modifies the name and description of a VSwitch.
DescribeVSwitchAttributes Queries detailed information about a specified VSwitch.

Route tables

API Description
CreateRouteEntry Creates a custom route entry in a route table of a VRouter or VBR.
DeleteRouteEntry Deletes a custom route entry from a route table.
CreateRouteTable Creates a custom route table.
AssociateRouteTable Associates a custom route table with a VSwitch in the same VPC network.
DeleteRouteTable Deletes a custom route table.
DescribeRouteTableList Queries the list of route tables.
ModifyRouteTableAttributes Modifies the name and description of a route table.
UnassociateRouteTable Disassociates a route table from a VSwitch.
ModifyRouteEntry Modifies the name of a custom route entry.
DescribeRouteEntryList Queries information about route entries in a route table.

DHCP options sets

API Description
CreateDhcpOptionsSet Creates a DHCP options set.
AttachDhcpOptionsSetToVpc Associates a DHCP options set with a VPC network.
DetachDhcpOptionsSetFromVpc Disassociates a DHCP options set from a VPC network.
ReplaceVpcDhcpOptionsSet Modifies the association of a DHCP options set with a VPC network.
GetDhcpOptionsSet Queries a DHCP options set.
ListDhcpOptionsSets Queries DHCP options sets.
UpdateDhcpOptionsSetAttribute Modifies the configuration information about a DHCP options set.
DeleteDhcpOptionsSet Deletes a DHCP options set.

Flow logs

API Description
CreateFlowLog Creates a flow log.
ModifyFlowLogAttribute Modifies the name and description of a flow log.
DescribeFlowLogs Queries flow logs.
ActiveFlowLog Enables a flow log. After the flow log is enable, the flow log starts to capture traffic information of a specified resource.
DeactiveFlowLog Disables a flow log. After the flow log is disabled, the flow log stops capturing traffic information of a specified resource.
DeleteFlowLog Deletes a flow log.

Network access control lists

API Description
CreateNetworkAcl Creates a network Network access control list (ACL).
AssociateNetworkAcl Associates a network ACL with a VSwitch.
ModifyNetworkAclAttributes Modifies the attributes of a network ACL.
DescribeNetworkAcls Queries network ACLs.
UpdateNetworkAclEntries Updates the rules of an ACL network.
DescribeNetworkAclAttributes Queries details of a network ACL.
UnassociateNetworkAcl Disassociates a network ACL from a VSwitch.
CopyNetworkAclEntries Copies rules of a network ACL.
DeleteNetworkAcl Deletes a network ACL.

High-availability virtual IP addresses

API Description
CreateHaVip Creates an High-Availability Virtual IP (HAVIP).
DescribeHaVips Queries HAVIPs in a specified region.
AssociateHaVip Associates an HAVIP with an Elastic Compute Service (ECS) instance in a VPC network.
UnassociateHaVip Disassociates an HAVIP from an ECS instance in a VPC network.
ModifyHaVipAttribute Modifies the name and description of an HAVIP.
DeleteHaVip Deletes an HAVIP.

Tags

API Description
TagResources Creates tags and attaches the tags to a specified resource at a time.
ListTagResources Queries tags that are attached to one or more instances.
UnTagResources Detaches tags from specified resources.

Elastic IP addresses

API Description
AllocateEipAddress Applies for an elastic IP address (EIP).
AllocateEipAddressPro Applies for a specified EIP.
AllocateEipSegmentAddress Applies for contiguous EIPs.
AssociateEipAddress Associates an EIP with an instance in the same region.
UnassociateEipAddress Disassociates an EIP from an instance.
DescribeEipAddresses Queries EIPs that are created within a specified region.
DescribeEipSegment Queries contiguous EIP groups.
ModifyEipAddressAttribute Modifies the name, description, and maximum bandwidth of a specified EIP.
ReleaseEipAddress Releases a specified EIP.
ReleaseEipSegmentAddress Releases contiguous EIPs.
DescribeEipMonitorData Queries the monitoring data of an EIP.
DescribeEipGatewayInfo Queries information about the gateway and subnet mask of an EIP.

Physical connections

API Description
CancelPhysicalConnection Cancels a specified physical connection.
DescribePhysicalConnections Queries physical connections in a specified region.
ModifyPhysicalConnectionAttribute Modifies the configuration of a specified physical connection.
TerminatePhysicalConnection Terminates a physical connection after it is enabled.
EnablePhysicalConnection Enables a physical connection that is in the Confirmed state.
DeletePhysicalConnection Deletes a specified physical connection.
DescribeAccessPoints Queries the access points of physical connections in a specified region.
ApplyPhysicalConnectionLOA Applies for a letter of authorization (LOA) for a physical connection.
CompletePhysicalConnectionLOA Reports completion of installation of a physical connection.
CreatePhysicalConnectionOccupancyOrder Creates an order for resource occupation of one or more physical connections.
CreatePhysicalConnectionSetupOrder Creates an order for initial installation of a physical connection.
DescribePhysicalConnectionLOA Queries LOA information about a physical connection.

Virtual border routers

API Description
CreateVirtualBorderRouter Creates a virtual border router(VBR).
DeleteVirtualBorderRouter Deletes a VBR.
DescribeVirtualBorderRouters Queries VBRs in a specified region.
DescribeVirtualBorderRoutersForPhysicalConnection Queries VBRs that are associated with a specified physical connection, including the VBRs that can be created by the owner of the physical connection and other accounts.
ModifyVirtualBorderRouterAttribute Modifies the configurations of a VBR.
TerminateVirtualBorderRouter Terminates a VBR.
RecoverVirtualBorderRouter Restores a terminated VBR.
AssociatePhysicalConnectionToVirtualBorderRouter Associates a VBR with a physical connection.
UnassociatePhysicalConnectionFromVirtualBorderRouter Disassociates a VBR from a physical connection.

BGP

API Description
CreateBgpGroup Creates a Border Gateway Protocol (BGP) peer group for a specified VBR.
DescribeBgpGroups Queries BGP peer groups in a specified region.
ModifyBgpGroupAttribute Modifies the configuration of a BGP peer group.
DeleteBgpGroup Deletes a specified BGP peer group.
CreateBgpPeer Adds a BGP peer to a specified BGP peer group.
DescribeBgpPeers Queries BGP peers in a specified region.
DeleteBgpPeer Deletes a specified BGP peer.
AddBgpNetwork Advertises a BGP network.
DeleteBgpNetwork Deletes an advertised BGP network.
DescribeBgpNetworks Queries advertised BGP networks.
ModifyBgpPeerAttribute Modifies the configuration of a BGP peer.

NAT gateways

API Description
CreateNatGateway Creates a NAT gateway.
DescribeNatGateways Queries NAT gateways in a specified region.
ListEnhanhcedNatGatewayAvailableZones Queries the zones that support enhanced NAT gateways in a specified region.
UpdateNatGatewayNatType Upgrades a standard NAT gateway to an enhanced NAT gateway.
GetNatGatewayConvertStatus Queries the upgrade state of a NAT gateway.
ModifyNatGatewaySpec Modifies the specification of a NAT gateway.
ModifyNatGatewayAttribute Modifies the configuration of a NAT gateway.
DeleteNatGateway Deletes a specified NAT gateway.
CreateBandwidthPackage Creates a NAT service plan.
DescribeBandwidthPackages Queries NAT service plans in a specified region.
ModifyBandwidthPackageSpec Modifies the bandwidth of a specified NAT service plan.
ModifyBandwidthPackageAttribute Modifies the name and description of a specified NAT service plan.
AddBandwidthPackageIps Adds one or more public IP addresses to a NAT service plan.
RemoveBandwidthPackageIps Removes public IP addresses from a NAT service plan.
DeleteBandwidthPackage Deletes a specified NAT service plan.
CreateForwardEntry Adds a DNAT entry to a DNAT table.
DescribeForwardTableEntries Queries DNAT entries in a DNAT table.
ModifyForwardEntry Modifies a specified DNAT entry.
DeleteForwardEntry Deletes a specified DNAT entry.
CreateSnatEntry Adds an SNAT entry to an SNAT table.
DescribeSnatTableEntries Queries SNAT entries in an SNAT table.
ModifySnatEntry Modifies a specified SNAT entry.
DeleteSnatEntry Deletes a specified SNAT entry.
ConvertBandwidthPackage Converts a NAT bandwidth plan to an EIP service plan.
EnableNatGatewayEcsMetric Enables ECS traffic monitoring.
ListNatGatewayEcsMetric Views the traffic monitoring data of a NAT gateway.
DisableNatGatewayEcsMetric Disables ECS traffic monitoring.

VPN gateways

API Description
CreateVpnGateway Creates a VPN gateway.
DescribeVpnGateways Queries VPN gateways in a specified region.
ModifyVpnGatewayAttribute Modifies the name and description of a VPN gateway.
DeleteVpnGateway Deletes a specified VPN gateway.
CreateCustomerGateway Creates a customer gateway.
DescribeCustomerGateways Queries customer gateways in a specified region.
DescribeCustomerGateway Queries details of a specified customer gateway.
DeleteCustomerGateway Deletes a specified customer gateway.
ModifyCustomerGatewayAttribute Modifies the name and description of a customer gateway.
CreateVpnConnection Creates an IPsec-VPN connection.
DescribeVpnConnections Queries IPsec-VPN connections.
DescribeVpnConnection Queries the details of an IPsec-VPN connection.
ModifyVpnConnectionAttribute Modifies the configuration of an IPsec-VPN connection.
DeleteVpnConnection Deletes a specified IPsec-VPN connection.
DownloadVpnConnectionConfig Queries the configuration of an IPsec-VPN connection.
CreateSslVpnServer Creates an SSL-VPN server.
DescribeSslVpnServers Queries SSL-VPN servers.
DeleteSslVpnServer Deletes an SSL-VPN server.
ModifySslVpnServer Modifies the configuration of an SSL-VPN server.
CreateSslVpnClientCert Creates an SSL-VPN client certificate.
DescribeSslVpnClientCerts Queries SSL-VPN client certificates.
DeleteSslVpnClientCert Deletes an SSL-VPN client certificate.
ModifySslVpnClientCert Modifies the name of an SSL-VPN client certificate.
DescribeVpnGateway Queries details of a specified VPN gateway.
DeleteVpnPbrRouteEntry Deletes a policy-based route entry for a VPN gateway.
DeleteVpnRouteEntry Deletes a destination-based route entry for a VPN gateway.
CreateVpnPbrRouteEntry Creates a policy-based route entry for a VPN gateway.
DescribeVpnRouteEntries Queries destination-based route entries of a VPN gateway.
ModifyVpnRouteEntryWeight Modifies the weight of a destination-based route entry of a VPN gateway.
PublishVpnRouteEntry Publishes a VPN route to a VPC.
DescribeVpnPbrRouteEntries Queries policy-based route entries of a VPN gateway.
ModifyVpnPbrRouteEntryWeight Modifies the weight of a policy-based route entry of a VPN gateway.
CreateVpnRouteEntry Creates a destination-based route entry for a VPN gateway.
DescribeVpnSslServerLogs Queries the logs of an SSL-VPN server.
DescribeSslVpnClientCert Queries details of a specified SSL-VPN client certificate.

EIP bandwidth plans

API Description
AddCommonBandwidthPackageIp Adds an EIP to an EIP bandwidth plan.
CreateCommonBandwidthPackage Creates an EIP bandwidth plan.
DeleteCommonBandwidthPackage Deletes an EIP bandwidth plan.
DescribeCommonBandwidthPackages Queries EIP bandwidth plans in a specified region.
ModifyCommonBandwidthPackageAttribute Modifies the name and description of an EIP bandwidth plan.
ModifyCommonBandwidthPackageSpec Modifies the maximum bandwidth of an EIP bandwidth plan.
RemoveCommonBandwidthPackageIp Removes an EIP from an EIP bandwidth plan.
CancelCommonBandwidthPackageIpBandwidth Removes the bandwidth limit configured for an EIP that is added to an EIP bandwidth plan instance.
ModifyCommonBandwidthPackageIpBandwidth Sets a bandwidth limit for an EIP that is added to an EIP bandwidth plan.

Regions

API Description
DescribeRegions Queries available regions.
DescribeZones Queries zones within a specified region.