Package org.jclouds.aws.ec2.features
Interface VPCApi
-
@Path("/") public interface VPCApiProvides access to VPC Services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VPCcreateVpc(String region, String cidrBlock, CreateVpcOptions... options)Creates a VPC with the specified CIDR block.booleandeleteVpc(String region, String vpcId)DeletesVPC.com.google.common.collect.FluentIterable<VPC>describeVpcsInRegion(String region, String... vpcIds)Describes all of your VPCs
-
-
-
Method Detail
-
describeVpcsInRegion
@Named("DescribeVpcs") @POST com.google.common.collect.FluentIterable<VPC> describeVpcsInRegion(@Nullable String region, String... vpcIds)Describes all of your VPCs- Returns:
- VPCs or empty if there are none
- See Also:
- docs
-
createVpc
@Named("CreateVpc") @POST VPC createVpc(@Nullable String region, @FormParam("CidrBlock") String cidrBlock, CreateVpcOptions... options)Creates a VPC with the specified CIDR block.- Parameters:
region- VPCs are tied to the Region.cidrBlock- The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.- Returns:
- vpc
- See Also:
- ,
CreateVpcOptions,
-
-