Msvm_ImageManagementService, ROOT\virtualization\v2\ms_409

Class | Methods (13) | Properties | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

Manages the virtual media (.vhdx, .vhd, .iso, or .vfd files) for a virtual machine.

Msvm_ImageManagementService methods

Msvm_ImageManagementService has 13 methods (13 Local)

NameOriginReturn
AttachVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}
CompactVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}
ConvertVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}
CreateVirtualFloppyDiskMsvm_ImageManagementServiceuint32 {'out':True}
CreateVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}
GetVirtualHardDiskSettingDataMsvm_ImageManagementServiceuint32 {'out':True}
GetVirtualHardDiskStateMsvm_ImageManagementServiceuint32 {'out':True}
MergeVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}
ResizeVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}
SetParentVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}
SetVirtualHardDiskSettingDataMsvm_ImageManagementServiceuint32 {'out':True}
ValidatePersistentReservationSupportMsvm_ImageManagementServiceuint32 {'out':True}
ValidateVirtualHardDiskMsvm_ImageManagementServiceuint32 {'out':True}

Detailed description of Msvm_ImageManagementService methods

Local methods (13) of Msvm_ImageManagementService class

AttachVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'Description':'A fully-qualified path that specifies the location of the virtual disk image file.','In':True}
AssignDriveLetterboolean1-{'Description':'Indicates if drive letters are assigned to the disk's volumes.','In':True}
ReadOnlyboolean2-{'Description':'Indicates if the mount should be read only.','In':True}
Jobref:CIM_ConcreteJob3-{'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
CompactVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'Description':'A fully-qualified path that specifies the location of the merging file.','In':True}
Modeuint161-{'Description':'An enumeration value that specifies the mode for the compact operation.','In':True,'Values':['Full', 'Quick', 'Retrim', 'Pretrimmed', 'Prezeroed']}
Jobref:CIM_ConcreteJob2-{'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
ConvertVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SourcePathstring0-{'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}
VirtualDiskSettingDatastring1-{'In':True}
Jobref:CIM_ConcreteJob2-{'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
CreateVirtualFloppyDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'Description':'A fully-qualified path that specifies the location of the new file.','In':True}
Jobref:CIM_ConcreteJob1-{'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
CreateVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
VirtualDiskSettingDatastring0-{'In':True}
Jobref:CIM_ConcreteJob1-{'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
GetVirtualHardDiskSettingData method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'Description':'A fully-qualified path that specifies the location of the disk image file.','In':True}
SettingDatastring1-{'Description':'If successful, this object contains the information for the requested virtual hard disk. This is an embedded instance of Msvm_VirtualHardDiskSettingData.','Out':True}
Jobref:CIM_ConcreteJob2-{'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
GetVirtualHardDiskState method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'Description':'A fully-qualified path that specifies the location of the disk image file.','In':True}
Statestring1-{'Description':'If successful, this object contains the information for the requested virtual hard disk. This is an embedded instance of Msvm_VirtualHardDiskState.','Out':True}
Jobref:CIM_ConcreteJob2-{'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
MergeVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SourcePathstring0-{'Description':'A fully-qualified path that specifies the location of the merging file.','In':True}
DestinationPathstring1-{'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}
Jobref:CIM_ConcreteJob2-{'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
ResizeVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'Description':'A fully qualified path that specifies the location of the disk image file.','In':True}
MaxInternalSizeuint641-{'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}
Jobref:CIM_ConcreteJob2-{'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
SetParentVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ChildPathstring0-{'Description':'A fully-qualified path that specifies the location of the child disk image file.','In':True}
ParentPathstring1-{'Description':'A fully-qualified path that specifies the location of the parent virtual hard disk file.','In':True}
LeafPathstring2-{'Description':'A fully-qualified path that specifies the location of the leaf disk image file.','In':True}
IgnoreIDMismatchboolean3-{'Description':'Indicates if the parent should be forcibly set when the virtual disk IDs do not match.','In':True}
Jobref:CIM_ConcreteJob4-{'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
SetVirtualHardDiskSettingData method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
VirtualDiskSettingDatastring0-{'In':True}
Jobref:CIM_ConcreteJob1-{'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
ValidatePersistentReservationSupport method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'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}
Jobref:CIM_ConcreteJob1-{'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
ValidateVirtualHardDisk method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Pathstring0-{'Description':'A fully-qualified path that specifies the location of the disk image file.','In':True}
Jobref:CIM_ConcreteJob1-{'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

Msvm_ImageManagementService Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'Manages the virtual media (.vhdx, .vhd, .iso, or .vfd files) for a virtual machine.'
LOCALE1033

Msvm_ImageManagementService System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\virtualization\v2\ms_409:Msvm_ImageManagementService'___SYSTEM8
__NAMESPACE'ROOT\virtualization\v2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Service', 'CIM_EnabledLogicalElement', 'CIM_LogicalElement', 'CIM_ManagedSystemElement', 'CIM_ManagedElement']___SYSTEM8
__PROPERTY_COUNT0___SYSTEM3
__RELPATH'Msvm_ImageManagementService'___SYSTEM8
__DYNASTY'CIM_ManagedElement'___SYSTEM8
__SUPERCLASS'CIM_Service'___SYSTEM8
__CLASS'Msvm_ImageManagementService'___SYSTEM8
__GENUS1___SYSTEM3
WUtils.com
online utility - toplist