{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Attaches a virtual disk image file in loopback mode.'
Values
['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\ms_409 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,'Values':['Full', 'Quick', 'Retrim', 'Pretrimmed', 'Prezeroed']}
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Compacts a dynamic virtual hard disk file. Compacting is the process of unallocating unused portions of the virtual hard disk.'
Values
['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\ms_409 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}
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Converts the type of an existing virtual hard disk.'
Values
['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\ms_409 and in 2 namespaces
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Creates a virtual floppy disk (.vfd) file.'
Values
['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\ms_409 and in 2 namespaces
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Creates a virtual hard disk file.'
Values
['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\ms_409 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.','Out':True}
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Retrieves setting data associated with virtual hard disk files.'
Values
['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\ms_409 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.','Out':True}
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Retrieves state of virtual hard disk files.'
Values
['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\ms_409 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}
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.'
Values
['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\ms_409 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}
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Resizes an existing virtual hard disk file.'
Values
['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\ms_409 and in 2 namespaces
{'Description':'A reference to the job (can be NULL if the task is completed).','Out':True}
Description
'Updates the parent for the specified leaf and child.'
Values
['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\ms_409 and in 2 namespaces
{'Description':'A reference to the job (can be null if the task is completed).','Out':True}
Description
'Sets a virtual hard disk file.'
Values
['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\ms_409 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}
{'Description':'A reference to the job (can be null if the task is completed succesfully).','Out':True}
Description
'Validates whether a file system can support a virtual hard disk with persistent reservations enabled.'
Values
['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\ms_409 and in 2 namespaces
{'Description':'A reference to the job (can be null if the task is completed succesfully).','Out':True}
Description
'Validates whether a virtual disk image can be opened in read-only mode.'
Values
['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\ms_409 and in 2 namespaces