Cosmic Admin API Reference

createVlanIpRange

Creates a VLAN IP range.

Request parameters

Parameter NameDescriptionRequired
accountaccount who will own the VLAN. If VLAN is Zone wide, this parameter should be ommitedfalse
domainiddomain ID of the account owning a VLANfalse
endipthe ending IP address in the VLAN IP rangefalse
endipv6the ending IPv6 address in the IPv6 network rangefalse
forvirtualnetworktrue if VLAN is of Virtual type, false if Directfalse
gatewaythe gateway of the VLAN IP rangefalse
ip6cidrthe CIDR of IPv6 network, must be at least /64false
ip6gatewaythe gateway of the IPv6 network. Required for Shared networks and Isolated networks when it belongs to VPCfalse
netmaskthe netmask of the VLAN IP rangefalse
networkidthe network idfalse
physicalnetworkidthe physical network idfalse
podidoptional parameter. Have to be specified for Direct Untagged vlan only.false
projectidproject who will own the VLAN. If VLAN is Zone wide, this parameter should be ommitedfalse
startipthe beginning IP address in the VLAN IP rangefalse
startipv6the beginning IPv6 address in the IPv6 network rangefalse
vlanthe ID or VID of the VLAN. If not specified, will be defaulted to the vlan of the network or if vlan of the network is null - to Untaggedfalse
zoneidthe Zone ID of the VLAN IP rangefalse

Response Tags

Response NameDescription
idthe ID of the VLAN IP range
accountthe account of the VLAN IP range
descriptionthe description of the VLAN IP range
domainthe domain name of the VLAN IP range
domainidthe domain ID of the VLAN IP range
endipthe end ip of the VLAN IP range
endipv6the end ipv6 of the VLAN IP range
forvirtualnetworkthe virtual network for the VLAN IP range
gatewaythe gateway of the VLAN IP range
ip6cidrthe cidr of IPv6 network
ip6gatewaythe gateway of IPv6 network
netmaskthe netmask of the VLAN IP range
networkidthe network id of vlan range
physicalnetworkidthe physical network this belongs to
podidthe Pod ID for the VLAN IP range
podnamethe Pod name for the VLAN IP range
projectthe project name of the vlan range
projectidthe project id of the vlan range
startipthe start ip of the VLAN IP range
startipv6the start ipv6 of the VLAN IP range
vlanthe ID or VID of the VLAN.
zoneidthe Zone ID of the VLAN IP range