Create a New VPC
Create a new VPC with given parameters.
Authorization
Authorization
RequiredBearer <token>OAuth Authentication
OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.
Use the access_token
in the Authorization
header for requests:
Always keep your token secure and do not share it with anyone.
In: header
Request Body
application/json
Optionalname
RequiredstringThe name of the VPC.
description
stringThe description of the VPC.
user_id
RequiredstringA globally unique identifier for a user (owner or resource).
project_id
RequiredstringA globally unique identifier for a project (where resource is placed). Projects are used to group resources together, each users must have at least one "default" project.
region
RequiredstringRegion where this resource will be created. One of the available regions, see Regions section for more information.
is_default
booleanWhether this is the default VPC for this account in given project and region.
false
vpc_class
stringSubnet class of the VPC to be created.
"A"
Value in: "A" | "B" | "C"
vpc_mask
integerSubnet netmask of the VPC to be created.
24
Minimum: 16
Maximum: 28
VPC created successfully