Cosmic Admin API Reference

createPrivateGateway

Creates a private gateway

Request parameters

Parameter NameDescriptionRequired
ipaddressthe IP address of the Private gateawaytrue
networkidthe uuid of the private network to use for the private gatewaytrue
vpcidthe VPC network belongs totrue
aclidthe ID of the network ACLfalse
gatewaythe gateway of the Private gateway (DEPRECATED!).false
netmaskthe netmask of the Private gateway (DEPRECATED!).false
sourcenatsupportedsource NAT supported value. Default value false. If 'true' source NAT is enabled on the private gateway 'false': sourcenat is not supportedfalse

Response Tags

Response NameDescription
idthe id of the private gateway
accountthe account associated with the private gateway
aclidACL Id set for private gateway
cidrthe CIDR of the private network
domainthe domain associated with the private gateway
domainidthe ID of the domain associated with the private gateway
ipaddressthe private gateway's ip address
networkidthe network id
networknamethe network name
projectthe project name of the private gateway
projectidthe project id of the private gateway
sourcenatsupportedSouce Nat enable status
stateState of the gateway, can be Creating, Ready, Deleting
vlanthe network implementation uri for the private gateway
vpcidVPC the private gateaway belongs to
zoneidzone id of the private gateway
zonenamethe name of the zone the private gateway belongs to