Create Subnet
POST/projects/:projectId/providers/Aruba.Network/vpcs/:vpcId/subnets
Create Subnet
Request
Path Parameters
unique identifier of the project CMP
unique identifier of the vpc in which the subnet will be created
Query Parameters
The requested API version
1.0
- application/json
- text/json
- application/*+json
Body
the subnet to create
- ITBG-Bergamo
- Basic
- Advanced
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
nullable
Properties of a subnet to create
Type of the subnet. Available values:
With Basic type, every configuration settings of the subnet will be automatically handled by the CMP. With Advanced type, configuration settings must be evaluated by the user.
Possible values: [Basic
, Advanced
]
Indicates if the subnet must be a default subnet. Only one default subnet for vpc is admissible.
network
object
nullable
Details of the network
Address of the network in CIDR Notation. The IP range must be between 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
dhcp
object
nullable
Details of the dhcp
True if you want to enalbe the DHCP
range
object
Range values for ip addresses
Starting ip address
Number of available ip addresses
routes
object[]
nullable
List of routes
Ip address of the route
Gateway
List of dns (ip addresses)
Body
the subnet to create
- ITBG-Bergamo
- Basic
- Advanced
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
nullable
Properties of a subnet to create
Type of the subnet. Available values:
With Basic type, every configuration settings of the subnet will be automatically handled by the CMP. With Advanced type, configuration settings must be evaluated by the user.
Possible values: [Basic
, Advanced
]
Indicates if the subnet must be a default subnet. Only one default subnet for vpc is admissible.
network
object
nullable
Details of the network
Address of the network in CIDR Notation. The IP range must be between 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
dhcp
object
nullable
Details of the dhcp
True if you want to enalbe the DHCP
range
object
Range values for ip addresses
Starting ip address
Number of available ip addresses
routes
object[]
nullable
List of routes
Ip address of the route
Gateway
List of dns (ip addresses)
Body
the subnet to create
- ITBG-Bergamo
- Basic
- Advanced
Array [
]
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
nullable
Properties of a subnet to create
Type of the subnet. Available values:
With Basic type, every configuration settings of the subnet will be automatically handled by the CMP. With Advanced type, configuration settings must be evaluated by the user.
Possible values: [Basic
, Advanced
]
Indicates if the subnet must be a default subnet. Only one default subnet for vpc is admissible.
network
object
nullable
Details of the network
Address of the network in CIDR Notation. The IP range must be between 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
dhcp
object
nullable
Details of the dhcp
True if you want to enalbe the DHCP
range
object
Range values for ip addresses
Starting ip address
Number of available ip addresses
routes
object[]
nullable
List of routes
Ip address of the route
Gateway
List of dns (ip addresses)
Responses
- 201
- 400
- 500
Created
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
metadata
object
nullable
location
object
nullable
project
object
nullable
category
object
nullable
typology
object
nullable
status
object
nullable
disableStatusInfo
object
nullable
previousStatus
object
nullable
properties
object
nullable
linkedResources
object[]
nullable
vpc
object
nullable
the vpc where the subnet belongs
type of the subnet
Possible values: [Basic
, Advanced
]
Indicates if the security group is the default one within the vpc
network
object
nullable
Details of the network
Address of the network in CIDR Notation
IP address of the gateway
dhcp
object
nullable
Details of the dhcp
True if dhcp is enables
range
object
nullable
Range values for ip addresses
First ip address
Number of available ip addresses
Last ip address
routes
object[]
nullable
List of routes
Ip address of the route
Gateway
List of dns
{}
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
metadata
object
nullable
location
object
nullable
project
object
nullable
category
object
nullable
typology
object
nullable
status
object
nullable
disableStatusInfo
object
nullable
previousStatus
object
nullable
properties
object
nullable
linkedResources
object[]
nullable
vpc
object
nullable
the vpc where the subnet belongs
type of the subnet
Possible values: [Basic
, Advanced
]
Indicates if the security group is the default one within the vpc
network
object
nullable
Details of the network
Address of the network in CIDR Notation
IP address of the gateway
dhcp
object
nullable
Details of the dhcp
True if dhcp is enables
range
object
nullable
Range values for ip addresses
First ip address
Number of available ip addresses
Last ip address
routes
object[]
nullable
List of routes
Ip address of the route
Gateway
List of dns
{}
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
metadata
object
nullable
location
object
nullable
project
object
nullable
category
object
nullable
typology
object
nullable
status
object
nullable
disableStatusInfo
object
nullable
previousStatus
object
nullable
properties
object
nullable
linkedResources
object[]
nullable
vpc
object
nullable
the vpc where the subnet belongs
type of the subnet
Possible values: [Basic
, Advanced
]
Indicates if the security group is the default one within the vpc
network
object
nullable
Details of the network
Address of the network in CIDR Notation
IP address of the gateway
dhcp
object
nullable
Details of the dhcp
True if dhcp is enables
range
object
nullable
Range values for ip addresses
First ip address
Number of available ip addresses
Last ip address
routes
object[]
nullable
List of routes
Ip address of the route
Gateway
List of dns
{}
Bad Request
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Server Error