Cosmic Domain Admin API Reference

listPrivateGateways

List private gateways

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
idlist private gateway by IPfalse
ipaddresslist gateways by IP addressfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is falsefalse
networkidlist gateways by network IDfalse
pagefalse
pagesizefalse
projectidlist objects by projectfalse
statelist gateways by statefalse
vpcidlist gateways by VPCfalse

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