Apache CloudStack 4.20.0.0 Root Admin API Reference
createIpv4SubnetForZone
Creates a IPv4 subnet for a zone.
Request parameters
| Parameter Name | Description | Required |
| subnet | The CIDR of the IPv4 subnet. | true |
| zoneid | UUID of the zone which the IPv4 subnet belongs to. | true |
| account | account who will own the IPv4 subnet | false |
| domainid | domain ID of the account owning the IPv4 subnet | false |
| projectid | project who will own the IPv4 subnet | false |
Response Tags
| Response Name | Description |
| id | id of the guest IPv4 subnet |
| account | the account of the IPv4 subnet |
| created | date when this IPv4 subnet was created. |
| domain | the domain name of the IPv4 subnet |
| domainid | the domain ID of the IPv4 subnet |
| project | the project name of the IPv4 subnet |
| projectid | the project id of the IPv4 subnet |
| subnet | guest IPv4 subnet |
| zoneid | id of zone to which the IPv4 subnet belongs to. |
| zonename | name of zone to which the IPv4 subnet belongs to. |