Apache CloudStack 4.21.0.0 Root Admin API Reference

createStaticRoute

Creates a static route

Request parameters

Parameter NameDescriptionRequired
cidrstatic route cidrtrue
gatewayidthe gateway id we are creating static route for. Mutually exclusive with the nexthop parameterfalse
nexthopthe next hop of static route. Mutually exclusive with the gatewayid parameterfalse
vpcidthe vpc id for which the static route is created. This is required for nexthop parameterfalse

Response Tags

Response NameDescription
idthe ID of static route
accountthe account associated with the static route
cidrstatic route CIDR
domainthe domain associated with the static route
domainidthe ID of the domain associated with the static route
domainpaththe domain path associated with the static route
nexthopNext hop of the static route
projectthe project name of the static route
projectidthe project id of the static route
statethe state of the static route
vpcgatewayidVPC gateway the route is created for
vpcgatewayipIP of VPC gateway the route is created for
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
domainpathpath 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