Apache CloudStack 4.22.0.0 Root Admin API Reference
createIpv4SubnetForGuestNetwork
Creates a IPv4 subnet for guest networks.
Request parameters
| Parameter Name | Description | Required |
| parentid | The zone Ipv4 subnet which the IPv4 subnet belongs to. | true |
| cidrsize | the CIDR size of IPv4 network. This is mutually exclusive with subnet. | false |
| subnet | The CIDR of this Ipv4 subnet. | false |
Response Tags
| Response Name | Description |
| id | id of the IPv4 subnet for guest network |
| allocated | date when this IPv4 subnet was allocated. |
| created | date when this IPv4 subnet was created. |
| networkid | id of network which the IPv4 subnet is associated with. |
| networkname | name of network which the IPv4 subnet is associated with. |
| parentid | id of the data center IPv4 subnet |
| parentsubnet | subnet of the data center IPv4 subnet |
| removed | date when this IPv4 subnet was removed. |
| state | state of subnet of the IPv4 network |
| subnet | subnet of the IPv4 network |
| vpcid | Id of the VPC which the IPv4 subnet is associated with. |
| vpcname | Name of the VPC which the IPv4 subnet is associated with. |
| zoneid | id of zone to which the IPv4 subnet belongs to. |
| zonename | id of zone to which the IPv4 subnet belongs to. |