{"type":"api","title":"Perform VM Action","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["VM Lifecycle Management - VM Action"],"summary":"Perform VM Action","description":"Perform VM Action. Such as START, STOP, REBOOT","operationId":"operations_vmlc_vmAction_post","produces":["application/yang-data+json"],"parameters":[{"name":"vmAction","in":"body","description":"VM actions including stop, start, reboot, disable-monitor and enable monitor.","required":true,"schema":{"type":"object","properties":{"vmlc:actionType":{"description":"VM action type (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"STOP","enum":["STOP","START","REBOOT","DISABLE_MONITOR","ENABLE_MONITOR","DEPLOYMENT_RECOVERY","RECOVER","SET_MONITOR_AND_RECOVER"]},"vmlc:vmName":{"description":"VM Name (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}},"$$ref":"#/definitions/operations_vmlc_vmAction-post-input"},"$$ref":"#/parameters/operations_vmlc_vmAction-post-input"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{},"$$ref":"#/definitions/operations_vmlc_vmAction-post-output"}},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"operations_vmlc_vmAction_post","consumes":["application/yang-data+json"],"method":"post","path":"/operations/vmlc:vmAction"}}