Msvm_MountedStorageImage

Msvm_MountedStorageImage class

Provides detailed information about a manually mounted storage image.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

class Msvm_MountedStorageImage : CIM_LogicalElement
{
  string   Caption;
  string   Description;
  string   ElementName;
  datetime InstallDate;
  string   Name;
  uint16   OperationalStatus[] = { 2 };
  string   StatusDescriptions[] = { "OK" };
  string   Status;
  uint16   HealthState = 5;
  uint16   Type;
  uint16   Access;
  UINT8    PortNumber;
  UINT8    PathId;
  UINT8    TargetId;
  UINT8    Lun;
};

Members

The Msvm_MountedStorageImage class has these types of members:

Methods

The Msvm_MountedStorageImage class has these methods.

MethodDescription
Unmount

Unmounts the storage image.

 

Properties

The Msvm_MountedStorageImage class has these properties.

Access
Data type: uint16
Access type: Read-only

The access under which the storage image is mounted.

Read-only (1)
Read/Write (2 )
Caption
Data type: string
Access type: Read-only

A short textual description (one-line string) of the object. This property is inherited from CIM_ManagedElement.

Description
Data type: string
Access type: Read-only

A textual description of the object. This property is inherited from CIM_ManagedElement.

ElementName
Data type: string
Access type: Read-only

This property is inherited from CIM_ManagedElement.

HealthState
Data type: uint16
Access type: Read-only

The current health of the element. This attribute expresses the health of this element but not necessarily that of its subcomponents. The possible values are 0 to 30, where 5 means the element is entirely healthy and 30 means the element is completely non-functional. This property is inherited from CIM_ManagedSystemElement and it is always set to 5.

InstallDate
Data type: datetime
Access type: Read-only

The date and time the virtual machine configuration was created. This property is inherited from CIM_ManagedSystemElement.

Lun
Data type: UINT8
Access type: Read-only
Qualifiers: Key

The SCSI address LUN ID.

Name
Data type: string
Access type: Read-only

The path to the VHD that is mounted. This property is inherited from CIM_ManagedSystemElement.

OperationalStatus
Data type: uint16 array
Access type: Read-only

The current status of the object. This property is inherited from CIM_ManagedSystemElement and each array element is always set to 2 (OK).

PathId
Data type: UINT8
Access type: Read-only
Qualifiers: Key

The SCSI address path ID.

PortNumber
Data type: UINT8
Access type: Read-only
Qualifiers: Key

The SCSI address port number.

Status
Data type: string
Access type: Read-only

This property is inherited from CIM_ManagedSystemElement but it is not used.

StatusDescriptions
Data type: string array
Access type: Read-only

Strings that describe the various OperationalStatus array values. This property is inherited from CIM_ManagedSystemElement and each array element is always set to "OK".

TargetId
Data type: UINT8
Access type: Read-only
Qualifiers: Key

The SCSI address target ID.

Type
Data type: uint16
Access type: Read-only

The type of storage image mounted.

Virtual Hard Disk (0)
ISO Image (1 )

Remarks

Access to the Msvm_MountedStorageImage class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

End of client support

None supported

End of server support

Windows Server 2012

Namespace

Root\Virtualization

MOF

WindowsVirtualization.mof

See also

CIM_LogicalElement
Storage Classes

 

 

Community Additions

ADD
Show:
© 2016 Microsoft