Apache CloudStack 4.20.0.0 Root Admin API Reference

createIpv4SubnetForZone

Creates a IPv4 subnet for a zone.

Request parameters

Parameter NameDescriptionRequired
subnetThe CIDR of the IPv4 subnet.true
zoneidUUID of the zone which the IPv4 subnet belongs to.true
accountaccount who will own the IPv4 subnetfalse
domainiddomain ID of the account owning the IPv4 subnetfalse
projectidproject who will own the IPv4 subnetfalse

Response Tags

Response NameDescription
idid of the guest IPv4 subnet
accountthe account of the IPv4 subnet
createddate when this IPv4 subnet was created.
domainthe domain name of the IPv4 subnet
domainidthe domain ID of the IPv4 subnet
projectthe project name of the IPv4 subnet
projectidthe project id of the IPv4 subnet
subnetguest IPv4 subnet
zoneidid of zone to which the IPv4 subnet belongs to.
zonenamename of zone to which the IPv4 subnet belongs to.