解释来自ovirt api快照创建的响应

时间:2019-07-17 11:31:14

标签: php json ovirt

通过以下链接,我得到了快照创建的响应 https://ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html#backing-up-and-restoring-virtual-machines-using-the-backup-and-restore-api

对于ovirt api快照创建,我收到以下响应,该响应表示什么?是否表示已创建快照。

array(2) { ["status"]=> string(7) "success" ["data"]=> array(12) { ["date"]=> int(1563361853521) ["persist_memorystate"]=> string(5) "false" ["snapshot_status"]=> string(6) "locked" ["snapshot_type"]=> string(7) "regular" ["vm"]=> array(2) { ["href"]=> string(58) "/ovirt-engine/api/vms/4ef8b995-ae58-49d6-8980-ef0fa6688d92" ["id"]=> string(36) "4ef8b995-ae58-49d6-8980-ef0fa6688d92" } ["actions"]=> array(1) { ["link"]=> array(1) { [0]=> array(2) { ["href"]=> string(113) "/ovirt-engine/api/vms/4ef8b995-ae58-49d6-8980-ef0fa6688d92/snapshots/a7e571d1-5a6f-4980-b79c-101d3b167098/restore" ["rel"]=> string(7) "restore" } } } ["description"]=> string(6) "BACKUP" ["href"]=> string(105) "/ovirt-engine/api/vms/4ef8b995-ae58-49d6-8980-ef0fa6688d92/snapshots/a7e571d1-5a6f-4980-b79c-101d3b167098" ["id"]=> string(36) "a7e571d1-5a6f-4980-b79c-101d3b167098" ["initialization"]=> array(1) { ["configuration"]=> array(2) { ["data"]=> string(8080) "
List of networks
List of Virtual Disks
2019/07/11 12:20:502019/07/17 11:10:53falseguest_agentfalseEtc/GMT024.111024falsefalsefalse159ba66ac-0187-0227-012c-00000000004b0falsetruetruetrue4096newvm__vm26-14622909527-2f8f-4fae-8208-3ccf5565a181CentOS-7false36c58daac-4b59-413b-b5d8-883884af9e4e1false22909527-2f8f-4fae-8208-3ccf5565a181CentOS-7falsefalse
Guest Operating Systemother
1 CPU, 1024 MemoryENGINE 4.1.0.01 virtual cpuNumber of virtual CPU13111161024 MB of memoryMemory Size24MegaBytes1024GlanceDisk-870023541438e7a-0aa6-47d2-aa8a-dc448f2de7d617dded245b-4a73-48b4-a1b4-ba98c37490ad/41438e7a-0aa6-47d2-aa8a-dc448f2de7d6717f1122-b37e-48e1-88fa-37a359dcc4d3717f1122-b37e-48e1-88fa-37a359dcc4d3c6e58779-6960-4c90-88f9-8282e101c70e2019/07/11 12:20:511970/01/01 00:00:002019/07/17 11:10:53diskdisk0truefalseUSB Controller323DISABLEDGraphical Controller8d2714f4-5833-47ce-b6f7-ac214611c313201falsevideoqxl0truefalse163841819265536Graphical Framebuffer53847450-1210-45b9-b8d9-b000ba66775526graphicsspice0truefalsenullCDROM4a8f4b8b-f5a5-4dc2-bad3-9f284b852d2715diskcdrom0truetrue055ea9952-d242-42e1-aba3-3f36b03612b8rngvirtio0truefalseurandom0db2951e2-7a25-4874-9437-4d1212ac5502controllervirtio-serial0truefalse05f230cc6-202a-4c8f-8b6f-17f3e2779753balloonmemballoon0truetruenullvirtio0a09bda7e-c526-46f1-b2f4-3c75890d9915controllervirtio-scsi0truefalse045dfa483-d895-41c1-9df0-fd9fcc2c2256controllerusb0truefalse0piix3-uhci
" ["type"]=> string(3) "ovf" } } ["creation_status"]=> string(7) "pending" ["link"]=> array(4) { [0]=> array(2) { ["href"]=> string(111) "/ovirt-engine/api/vms/4ef8b995-ae58-49d6-8980-ef0fa6688d92/snapshots/a7e571d1-5a6f-4980-b79c-101d3b167098/disks" ["rel"]=> string(5) "disks" } [1]=> array(2) { ["href"]=> string(110) "/ovirt-engine/api/vms/4ef8b995-ae58-49d6-8980-ef0fa6688d92/snapshots/a7e571d1-5a6f-4980-b79c-101d3b167098/nics" ["rel"]=> string(4) "nics" } [2]=> array(2) { ["href"]=> string(112) "/ovirt-engine/api/vms/4ef8b995-ae58-49d6-8980-ef0fa6688d92/snapshots/a7e571d1-5a6f-4980-b79c-101d3b167098/cdroms" ["rel"]=> string(6) "cdroms" } [3]=> array(2) { ["href"]=> string(158) "/ovirt-engine/api/vms/4ef8b995-ae58-49d6-8980-ef0fa6688d92/snapshots/a7e571d1-5a6f-4980-b79c-101d3b167098/creation_status/30db8c3f-f093-4058-92ce-ff260a553ec9" ["rel"]=> string(15) "creation_status" } } } } 

0 个答案:

没有答案