1 karl 1.1.2.2 // Copyright (c) 2009 DMTF. All rights reserved.
2 [Version ( "2.22.0" ),
3 UMLPackagePath ( "CIM::Core::Virtualization" ),
4 Description (
5 "Service to create, apply and destroy snapshots of virtual systems."
6 )]
7 class CIM_VirtualSystemSnapshotService : CIM_Service {
8
9
10 [Description ( "Creates a snapshot of a virtual system." ),
11 ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",
12 "4097..32767", "32768..65535" },
13 Values { "Completed with No Error", "Not Supported",
14 "Failed", "Timeout", "Invalid Parameter", "Invalid State",
15 "Invalid Type", "DMTF Reserved",
16 "Method Parameters Checked - Job Started",
17 "Method Reserved", "Vendor Specific" }]
18 uint32 CreateSnapshot(
19 [In, Description (
20 "Reference to the affected virtual system." )]
21 CIM_ComputerSystem REF AffectedSystem,
22 karl 1.1.2.2 [In, Description ( "Parameter settings." ),
23 EmbeddedInstance ( "CIM_SettingData" )]
24 string SnapshotSettings,
25 [In, Description (
26 "Requested snapshot type:\n"
27 "Full Snapshot: Complete snapshot of the virtual system.\n"
28 "Disk Snapshot: Snapshot of virtual system disks." ),
29 ValueMap { "2", "3", "..", "32768..65535" },
30 Values { "Full Snapshot", "Disk Snapshot",
31 "DMTF Reserved", "Vendor Specific" },
32 ModelCorrespondence {
33 "CIM_VirtualSystemSnapshotCapabilities.SnapshotTypesEnabled",
34 "CIM_VirtualSystemSnapshotServiceCapabilities.SnapshotTypesSupported" }]
35 uint16 SnapshotType,
36 [In, Out, Description (
37 "Resulting virtual system snapshot" )]
38 CIM_VirtualSystemSettingData REF ResultingSnapshot,
39 [In, Out, Description (
40 "If the operation is long running, then optionally "
41 "a job may be returned. In this case, the instance "
42 "of the CIM_VirtualSystemSettingData class "
43 karl 1.1.2.2 "representing the new virtual system snapshot is "
44 "presented via the CIM_AffectedJobElement "
45 "association with the value of the AffectedElement "
46 "property referring to the new instance of the "
47 "CIM_VirtualSystemSettingData class representing "
48 "the virtual system snapshot and and the value of "
49 "the ElementEffects set to 5 (Create)." )]
50 CIM_ConcreteJob REF Job);
51
52 [Description (
53 "Destroy an existing virtual system snapshot.This method "
54 "may as a side effect destroy other snapshots that are "
55 "dependent on the affected snapshot." ),
56 ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",
57 "4097..32767", "32768..65535" },
58 Values { "Completed with No Error", "Not Supported",
59 "Failed", "Timeout", "Invalid Parameter", "Invalid State",
60 "Invalid Type", "DMTF Reserved",
61 "Method Parameters Checked - Job Started",
62 "Method Reserved", "Vendor Specific" }]
63 uint32 DestroySnapshot(
64 karl 1.1.2.2 [In, Description (
65 "Reference to the affected virtual system snapshot." )]
66 CIM_VirtualSystemSettingData REF AffectedSnapshot,
67 [In, Out, Description (
68 "If the operation is long running, then optionally "
69 "a job may be returned." )]
70 CIM_ConcreteJob REF Job);
71
72 [Description (
73 "Apply a virtual system snapshot to the virtual system "
74 "that it was created from." ),
75 ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",
76 "4097..32767", "32768..65535" },
77 Values { "Completed with No Error", "Not Supported",
78 "Failed", "Timeout", "Invalid Parameter", "Invalid State",
79 "Invalid Type", "DMTF Reserved",
80 "Method Parameters Checked - Job Started",
81 "Method Reserved", "Vendor Specific" }]
82 uint32 ApplySnapshot(
83 [In, Description (
84 "Reference to the virtual system snapshot." )]
85 karl 1.1.2.2 CIM_VirtualSystemSettingData REF Snapshot,
86 [In, Out, Description (
87 "If the operation is long running, then optionally "
88 "a job may be returned." )]
89 CIM_ConcreteJob REF Job);
90
91 };
|