Resource Center/Network Resource/Route Resource Operations
PUTRoute Resource OperationsSince 0.6SynchronousAuth Required
UpdateVirtualRouterOffering
UpdateVirtualRouterOffering
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
updatevirtualrouterofferingObjectRequiredupdatevirtualrouteroffering request body object.
isDefaultBooleanOptional. Whether the vRouter offering is the default offering.
imageUuidStringOptional. The image UUID.
nameStringOptional. The resource name.
descriptionStringOptional. The detailed description of the resource.
allocatorStrategyStringOptional. The allocator strategy.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/instance-offerings/virtual-routers/{uuid}/actions
/zstack/v1/instance-offerings/virtual-routers/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/instance-offerings/virtual-routers/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"updatevirtualrouteroffering":{"isDefault":true,"imageUuid":"<imageUuid>","name":"<name>","description":"<description>","allocatorStrategy":"<allocatorStrategy>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "99395ef3a9083f7ba2d64201d6afc6b0", "name": "instanceOffering1", "cpuNum": 2.0, "cpuSpeed": 1.0, "type": "UserVm", "allocatorStrategy": "Mevoco", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM", "state": "Enabled" } }Change History
This API has no change history records yet.
