Help Center> > Developer Guide > Python >VPC Python SDK Demo

VPC Python SDK Demo

The SDK corresponds to RESTful APIs. For details about the APIs supported by the latest SDK version and the mapping between the SDK and APIs, see here.

For details about the parameters supported by the SDK when the VPC SDK is used, see the description of VPC APIs.

The VPC v1 Python SDK supports operations on the following resource objects. The following table lists the example code for adding, modifying, deleting, and querying a resource.

Resource Object

Example Code

bandwidth

Code

port

Code

private ip

Code

public ip

Code

quota

Code

security group

Code

security group rule

Code

subnet

Code

vpc

Code

The VPC v2.0 Python SDK supports operations on the following resource objects. The following table lists the example code for adding, modifying, deleting, and querying a resource.

Resource Object

Example Code

sharebandwidth

Code

The Neutron v2.0 Python SDK supports operations on the following resource objects. The following table lists the example code for adding, modifying, deleting, and querying a resource.

Resource Object

Example Code

floating ip

Code

network

Code

port

Code

route

Code

security group

Code

security group rule

Code

subnet

Code