Apache CloudStack 4.20.0.0 Root Admin API Reference

createPrivateGateway

Creates a private gateway

Request parameters

Parameter NameDescriptionRequired
gatewaythe gateway of the Private gatewaytrue
ipaddressthe IP address of the Private gateawaytrue
netmaskthe netmask of the Private gatewaytrue
vpcidthe VPC network belongs totrue
aclidthe ID of the network ACLfalse
associatednetworkidThe isolated network this private gateway is associated to.false
bypassvlanoverlapcheckwhen true bypasses VLAN id/range overlap check during private gateway creationfalse
networkofferingidthe uuid of the network offering to use for the private gateways network connectionfalse
physicalnetworkidthe Physical Network ID the network belongs tofalse
sourcenatsupportedsource NAT supported value. Default value false. If 'true' source NAT is enabled on the private gateway 'false': sourcenat is not supportedfalse
vlanthe network implementation uri for the private gatewayfalse

Response Tags

Response NameDescription
idthe id of the private gateway
accountthe account associated with the private gateway
aclidACL Id set for private gateway
aclnameACL name set for private gateway
domainthe domain associated with the private gateway
domainidthe ID of the domain associated with the private gateway
domainpathpath of the domain to which the private gateway belongs
gatewaythe gateway
ipaddressthe private gateway's ip address
netmaskthe private gateway's netmask
physicalnetworkidthe physical network id
projectthe project name of the private gateway
projectidthe project id of the private gateway
sourcenatsupportedSource Nat enable status
stateState of the gateway, can be Creating, Ready, Deleting
vlanthe network implementation uri for the private gateway
vpcidVPC id the private gateway belongs to
vpcnameVPC name the private gateway belongs to
zoneidzone id of the private gateway
zonenamethe name of the zone the private gateway belongs to