['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
AttachVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'A fully-qualified path that specifies the location of the merging file.','In':True}
Mode
uint16
1
✓
-
{'Description':'An enumeration value that specifies the mode for the compact operation.','In':True,'ValueMap':['0', '1', '2', '3', '4'],'Values':['Full', 'Quick', 'Retrim', 'Pretrimmed', 'Prezeroed']}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
CompactVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'A fully-qualified path that specifies the location of the virtual hard disk file. This file will not be modified as a result of this operation.','In':True}
VirtualDiskSettingData
string
1
✓
-
{'Description':'String containing an embedded instance of class Msvm_VirtualHardDiskSettingData that is used to define attributes of the virtual hard disk to be created.','HyperVEmbeddedInstance':'Msvm_VirtualHardDiskSettingData','In':True}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
ConvertVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
CreateVirtualFloppyDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'String containing an embedded instance of class Msvm_VirtualHardDiskSettingData that is used to define attributes of the virtual hard disk to be created.','HyperVEmbeddedInstance':'Msvm_VirtualHardDiskSettingData','In':True}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
CreateVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'A fully-qualified path that specifies the location of the disk image file.','In':True}
SettingData
string
1
-
✓
{'Description':'If successful, this object contains the information for the requested virtual hard disk. This is an embedded instance of Msvm_VirtualHardDiskSettingData.','HyperVEmbeddedInstance':'Msvm_VirtualHardDiskSettingData','Out':True}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
GetVirtualHardDiskSettingData method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'A fully-qualified path that specifies the location of the disk image file.','In':True}
State
string
1
-
✓
{'Description':'If successful, this object contains the information for the requested virtual hard disk. This is an embedded instance of Msvm_VirtualHardDiskState.','HyperVEmbeddedInstance':'Msvm_VirtualHardDiskState','Out':True}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
GetVirtualHardDiskState method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'A fully-qualified path that specifies the location of the merging file.','In':True}
DestinationPath
string
1
✓
-
{'Description':'A fully-qualified path that specifies the location of the parent disk image file into which data is to be merged. This could be the immediate parent virtual disk image of the merging file or parent disk image few levels up the differencing drive chain.','In':True}
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Bypass_GetObject
True
Description
'Merges a differencing virtual hard disk file with its parents. If the user executing this function does not have permission to update the virtual machines, then this function will fail.'
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
MergeVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'A fully qualified path that specifies the location of the disk image file.','In':True}
MaxInternalSize
uint64
1
✓
-
{'Description':'The maximum size of the virtual hard disk as viewable by the virtual machine, in bytes. MaxInternalsize minimum value is DiskSize + 512 - (DiskSize mod 512). DiskSize is the disk image file in number of bytes. The InvalidParameter error (32773) is returned if the MaxInternalsize value specified is less than the minimum value.','In':True}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
ResizeVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
SetParentVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'String containing an embedded instance of class Msvm_VirtualHardDiskSettingData that is used to define attributes of the virtual hard disk to be set.','HyperVEmbeddedInstance':'Msvm_VirtualHardDiskSettingData','In':True}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
SetVirtualHardDiskSettingData method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
{'Description':'A fully-qualified path that specifies the location of a disk image file or a directory in which a disk image file might be placed.','In':True}
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found']
ValidatePersistentReservationSupport method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory', 'File not found', 'Vhd differencing chain cycle detected']
ValidateVirtualHardDisk method is in 1 class (Msvm_ImageManagementService) of ROOT\virtualization\v2 and in 2 namespaces
Derived methods (3) of Msvm_ImageManagementService class
{'Description':'The state requested for the element. This information will be placed into the RequestedState property of the instance if the return code of the RequestStateChange method is 0 ('Completed with No Error'), or 4096 (0x1000) ('Job Started'). Refer to the description of the EnabledState and RequestedState properties for the detailed explanations of the RequestedState values.','ModelCorrespondence':['CIM_EnabledLogicalElement.RequestedState'],'ValueMap':['2', '3', '4', '6', '7', '8', '9', '10', '11', '..', '32768..65535'],'Values':['Enabled', 'Disabled', 'Shut Down', 'Offline', 'Test', 'Defer', 'Quiesce', 'Reboot', 'Reset', 'DMTF Reserved', 'Vendor Reserved']}
{'Description':'May contain a reference to the ConcreteJob created to track the state transition initiated by the method invocation.'}
TimeoutPeriod
datetime
2
✓
-
{'Description':'A timeout period that specifies the maximum amount of time that the client expects the transition to the new state to take. The interval format must be used to specify the TimeoutPeriod. A value of 0 or a null parameter indicates that the client has no time requirements for the transition. If this property does not contain 0 or null and the implementation does not support this parameter, a return code of 'Use Of Timeout Parameter Not Supported' shall be returned.'}