{"type":"api","title":"Export VM","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":"Export VM","description":"Backup the VM with or without including the image","operationId":"operations_vmlc_vmExportAction_post","produces":["application/yang-data+json"],"parameters":[{"name":"vmExportAction","in":"body","description":"VM backup action","required":true,"schema":{"type":"object","properties":{"vmlc:vmName":{"description":"VM Name (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"vmlc:exportName":{"description":"Export Name (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"vmlc:exportPath":{"description":"This is the path to the export directory. Accepted formats include:\n1.\textdatastore\u003cnum\u003e:\u003csub-path\u003e ex. extdatastore1:/intdatastore/uploads/\n2.\tintdatastore:\u003csub-path\u003e ex. intdatastore:/uploads/\n3.\tnfs:\u003csub-path\u003e ex. nfs:/extdatastore/tmp/\n4.\tusb:\u003csub-path\u003e ex. usb:/tmp1/upload (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"vmlc:includeImage":{"description":"Enable to include VM image & flavor in VM Export (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"[null]"},"vmlc:properties":{"description":"List of property name/value pairs (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"property":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"Name/Key of property (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"value":{"description":"Value of property (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}}}},"$$ref":"#/definitions/operations_vmlc_vmExportAction-post-input"},"$$ref":"#/parameters/operations_vmlc_vmExportAction-post-input"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{},"$$ref":"#/definitions/operations_vmlc_vmExportAction-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_vmExportAction_post","consumes":["application/yang-data+json"],"method":"post","path":"/operations/vmlc:vmExportAction"}}