Resource Center/Network Resource/VPC Operations
POSTVPC OperationsSince 2.3SynchronousAuth Required
SetVpcVRouterDistributedRoutingEnabled
SetVpcVRouterDistributedRoutingEnabled
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Body Fields
paramsObjectRequiredRequest body parameter object.
stateEventStringRequiredThe state of the resource.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/vpc/virtual-routers/{uuid}/distributed-routing
/zstack/v1/vpc/virtual-routers/{uuid}/distributed-routing
Request Example
curl -X POST 'http://{host}/zstack/v1/vpc/virtual-routers/{uuid}/distributed-routing' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"stateEvent":"<stateEvent>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "enabled": true }Change History
This API has no change history records yet.
