Cosmic Admin API Reference

createVirtualRouterElement

Create a virtual router element.

Request parameters

Parameter NameDescriptionRequired
nspidthe network service provider ID of the virtual router elementtrue
providertypeThe provider type. Supported types are VirtualRouter (default) and VPCVirtualRouterfalse

Response Tags

Response NameDescription
idthe id of the router
accountthe account associated with the provider
domainthe domain associated with the provider
domainidthe domain ID associated with the provider
enabledEnabled/Disabled the service provider
nspidthe physical network service provider id of the provider
projectthe project name of the address
projectidthe project id of the ipaddress