Post Vms On Extended Network
Toggle VM state between Proximity Routed & Non-Proximity Routed
Toggle VM state between Proximity Routed & Non-Proximity Routed
Request
URI
POST
https://{server}/hybridity/api/l2Extensions/{networkExtensionId}/vms
COPY
Path Parameters
string
networkExtensionId
Required
Extended Network ID
Request Body
List of VMs with desired network state
postVmsRequest
of type(s)
application/json
Required
"postVmsRequest.yaml Object"
Responses
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
500
Internal Server Error
Returns
InternalServerError
of type(s)
application/json
"errorResponse.yaml Object"
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/hybridity/api/l2Extensions/{networkExtensionId}/vms