Cosmic Domain Admin API Reference

listStaticRoutes

Lists all static routes

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
cidrlist static routes by cidrfalse
domainidlist only resources belonging to the domain specifiedfalse
gatewayidlist static routes by gateway id (DEPRECATED!)false
idlist static route by idfalse
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
nexthoplist static routes by nexthop ip addressfalse
pagefalse
pagesizefalse
projectidlist objects by projectfalse
tagsList resources by tags (key/value pairs)false
vpcidlist static routes by vpc idfalse

Response Tags

Response NameDescription
idthe ID of static route
accountthe account associated with the static route
cidrThe CIDR to route
domainthe domain associated with the static route
domainidthe ID of the domain associated with the static route
nexthopGateway ip address the CIDR is routed to
projectthe project name of the static route
projectidthe project id of the static route
statethe state of the static route
vpcidVPC the static route belongs to
tags(*)the list of resource tags associated with static route
accountthe account associated with the tag
customercustomer associated with the tag
domainthe domain associated with the tag
domainidthe ID of the domain associated with the tag
keytag key name
projectthe project name where tag belongs to
projectidthe project id the tag belongs to
resourceidid of the resource
resourcetyperesource type
valuetag value