Package org.jclouds.aws.ec2.features
Interface VPCApi
@Path("/")
public interface VPCApi
Provides access to VPC Services.
-
Method Summary
Modifier and TypeMethodDescriptioncreateVpc
(String region, String cidrBlock, CreateVpcOptions... options) Creates a VPC with the specified CIDR block.boolean
DeletesVPC
.com.google.common.collect.FluentIterable
<VPC> describeVpcsInRegion
(String region, String... vpcIds) Describes all of your VPCs
-
Method Details
-
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:
-
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:
-
deleteVpc
@Named("DeleteVpc") @POST boolean deleteVpc(@Nullable String region, @FormParam("VpcId") String vpcId) DeletesVPC
.- Parameters:
region
- VPCs are tied to the Region where its files are located within Amazon S3.vpcId
- The VPC ID.
-