Apache CloudStack v4.1.0 User 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 idfalse
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
pagefalse
pagesizefalse
projectidlist objects by projectfalse
statelist gateways by statefalse
vlanlist gateways by vlanfalse
vpcidlist gateways by vpcfalse

Response Tags

Response NameDescription
idthe id of the private gateway
accountthe account associated with the private gateway
domainthe domain associated with the private gateway
domainidthe ID of the domain associated with the private gateway
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
stateState of the gateway, can be Creating, Ready, Deleting
vlanthe vlan of 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