WT_Disk, ROOT\WMI
Class
| Methods (11)
| Properties (26)
| Qualifiers (3)
| Instances | Namespaces (1)
Samples: VB Script
| C#
| VB.Net
| Search on:Microsoft
Description Class describing an iSCSI disk. Use the CreateXXXWTDisk() method to create a new iSCSI disk.
WT_Disk methods WT_Disk has 11 methods (11 Local )
WT_Disk properties WT_Disk has 26 properties (26 Local )
Detailed description of WT_Disk methods Local methods (11) of WT_Disk class ▲ CancelAsyncOperation methodReturn Description 'Cancel any asychronous operation' Implemented True CancelAsyncOperation method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ CreateRamWTDisk methodReturn WT_Disk {'out':True}Parameters Name CIMType ID IN OUT Qualifiers DevicePath string 0 ✓ - {'Description':'A decorated device path in the format of 'RAMDISK:'.'} MaxInternalSize uint64 1 ✓ - {'Description':'The maximum size of the virtual hard disk as viewable by an initiator, in bytes. The specified size is rounded up based on the larger value of among logical, physical sector size and memory page size.'} LogicalSectorSize uint32 2 ✓ - {'Description':'The logical sector size in bytes used by the VHD.'} PhysicalSectorSize uint32 3 ✓ - {'Description':'The physical sector size in bytes used by the VHD.'} Description string 4 ✓ - {'Description':'iSCSI disk description.','Optional':True}
Description 'Create a new RAM-based WT_Disk, which is not persisted and cannot be used in a failover cluster environment.' Implemented True Static True CreateRamWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ CreateVhdWTDisk methodReturn WT_Disk {'out':True}Parameters Name CIMType ID IN OUT Qualifiers DevicePath string 0 ✓ - {'Description':'Full path to VHD file.'} VhdType uint16 1 ✓ - {'Description':'VHD type.','ValueMap':['2', '3', '4'],'Values':['Fixed', 'Dynamic', 'Differencing']} MaxInternalSize uint64 2 ✓ - {'Description':'The maximum size of the virtual hard disk as viewable by an initiator, in bytes. The specified size is rounded up based on the larger value of either logical or physical sector size.'} BlockSize uint32 3 ✓ - {'Description':'The block size in bytes used by the VHD.'} LogicalSectorSize uint32 4 ✓ - {'Description':'The logical sector size in bytes used by the VHD.'} PhysicalSectorSize uint32 5 ✓ - {'Description':'The physical sector size in bytes used by the VHD.'} Description string 6 ✓ - {'Description':'iSCSI disk description.','Optional':True} ClearData boolean 7 ✓ - {'Description':'Whether to clear data upon fixed VHD creation','Optional':True} ParentPath string 8 ✓ - {'Description':'Full path to parent VHD file','Optional':True}
Description 'Create a new VHDX-based WT_Disk.' Implemented True Static True CreateVhdWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ Extend methodReturn Parameters Name CIMType ID IN OUT Qualifiers AdditionalSizeInMB uint32 0 ✓ - {'Description':'iSCSI Disk Additional Size (MB)'}
Description 'Deprecated. Use Resize instead.' Implemented True Extend method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ GetAsyncOperationProgress methodReturn Parameters Name CIMType ID IN OUT Qualifiers ProgressPercent uint32 0 - ✓ {'Description':'Progress percentage (0-100)'} LastError sint32 1 - ✓ {'Description':'Last error code of the async operation'}
Description 'Get the async operation progress information for this WT_Disk' Implemented True GetAsyncOperationProgress method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ GetDVMountPoints methodReturn sint32 {'out':True} Parameters Name CIMType ID IN OUT Qualifiers MountPoints string 0 - ✓ {'Description':'String Array of Mount Points'}
Description 'Deprecated' Implemented True GetDVMountPoints method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ GetRollbackProgress methodReturn Parameters Name CIMType ID IN OUT Qualifiers ProgressPercent uint32 0 - ✓ {'Description':'Progress percentage (0-100)'} RollbackLastError sint32 1 - ✓ {'Description':'Last error code of the rollback operation'}
Description 'Deprecated. Use GetAsyncOperationProgress instead.' Implemented True GetRollbackProgress method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ ImportWTDisk methodReturn WT_Disk {'out':True}Parameters Name CIMType ID IN OUT Qualifiers DevicePath string 0 ✓ - {'Description':'Full path to an existing VHD file or a decorated path in the format of 'SCSI:' to a pass-through SCSI device.'} Description string 1 ✓ - {'Description':'iSCSI disk description.','Optional':True} ResourceGroup string 2 ✓ - {'Description':'Cluster resource group name (only needed to import a SCSI device in a cluster).','Optional':True}
Description 'Import an existing VHD or SCSI device as a WT_Disk.' Implemented True Static True ImportWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ NewDiffWTDisk methodReturn WT_Disk {'out':True}Parameters Name CIMType ID IN OUT Qualifiers DevicePath string 0 ✓ - {'Description':'Full Path to VHD File'} ParentPath string 1 ✓ - {'Description':'Full Path to Parent VHD File'} Description string 2 ✓ - {'Description':'iSCSI Disk Friendly Description'} CacheParent boolean 3 ✓ - {'Description':'Deprecated.','Optional':True}
Description 'Deprecated. Use CreateXXXWTDisk/ImportWTDisk instead.' Implemented True Static True NewDiffWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ NewWTDisk methodReturn WT_Disk {'out':True}Parameters Name CIMType ID IN OUT Qualifiers DevicePath string 0 ✓ - {'Description':'Full Path To VHD File'} Description string 1 ✓ - {'Description':'iSCSI Disk Friendly Description'} ClearPartTable boolean 2 ✓ - {'Description':'Deprecated.','Optional':True} SizeInMB uint32 3 ✓ - {'Description':'iSCSI Disk Size (MB)'}
Description 'Deprecated. Use CreateXXXWTDisk/ImportWTDisk instead.' Implemented True Static True NewWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ Resize methodReturn Parameters Name CIMType ID IN OUT Qualifiers DeltaInMB uint32 0 ✓ - {'Description':'iSCSI Disk Resize Delta (MB)'} Shrink boolean 1 ✓ - {'Description':'Whether to reduce or expand fixed VHD','Optional':True}
Description 'Resize iSCSI Disk. When Shrink parameter is TRUE, Resize will do reduction with reduction size DeltaInMB. When Shrink parameter is FALSE, Resize will do expansion with DeltaInMB as additional size. By default, Shrink is FALSE.' Implemented True Resize method is in 1 class (WT_Disk) of ROOT\WMI and in 4 namespaces
Detailed description of WT_Disk properties Local properties (26) of WT_Disk class ▲ ActiveDevicePath propertyCIMTYPE 'string' Description 'iSCSI Disk Active Device Path. For a pass-through device, this is a decorated active Win32 device path in the format of 'SCSI:'. For other device types, this property always has the same value as the DevicePath property' read True ActiveDevicePath property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ AllocatedSize propertyCIMTYPE 'uint32' Description 'Allocated Size (MB)' read True AllocatedSize property is in 1 class (WT_Disk) of ROOT\WMI and in 6 namespaces
▲ AsyncOpEndTime propertyCIMTYPE 'datetime' Description 'Timestamp of Asynchronous Operation Ended' read True AsyncOpEndTime property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ AsyncOpStartTime propertyCIMTYPE 'datetime' Description 'Timestamp of Asynchronous Operation Started' read True AsyncOpStartTime property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ DeviceVolumeGuid propertyCIMTYPE 'string' Description 'Identifier of the Volume where the disk resides' read True DeviceVolumeGuid property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ DVDeviceId propertyCIMTYPE 'string' Description 'Deprecated' read True DVDeviceId property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ DVMountStatus propertyCIMTYPE 'sint32' Description 'Deprecated' read True ValueMap ['0', '1'] Values ['NotMounted', 'MountSnapshot'] DVMountStatus property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ DVTimeStamp propertyCIMTYPE 'datetime' Description 'Deprecated' read True DVTimeStamp property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ InternalCode propertyCIMTYPE 'uint32' Description 'Operational code set by the iSCSI Target Service' read True InternalCode property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ IsBasedOnUnderlyingRedundancy propertyCIMTYPE 'boolean' Description 'Flag indicating whether the device is based on the underlying storage redundancy' read True IsBasedOnUnderlyingRedundancy property is in 1 class (WT_Disk) of ROOT\WMI and in 3 namespaces
▲ LMSnapshotId propertyCIMTYPE 'string' Description 'When the WT_Disk is derived from an exported snapshot that is also locally mounted,it indicates the Snapshot identifier.' read True LMSnapshotId property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ ParentPath propertyCIMTYPE 'string' Description 'Parent VHD Path' read True ParentPath property is in 1 class (WT_Disk) of ROOT\WMI and in 9 namespaces
▲ ParentWTD propertyCIMTYPE 'uint32' Description 'Parent iSCSI Disk Index' read True ParentWTD property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
▲ ResourceGroup propertyCIMTYPE 'string' Description 'Resource Group (only valid in a cluster)' read True ResourceGroup property is in 4 classes of ROOT\WMI and in 1 namespace
▲ Status propertyCIMTYPE 'sint32' Description 'iSCSI Disk Status' read True ValueMap ['0', '1', '2', '3', '4'] Values ['Not Connected', 'Connected', 'Reverting', 'Initializing', 'Resizing'] Status property is in 45 classes of ROOT\WMI and in 42 namespaces
▲ Type propertyCIMTYPE 'sint32' Description 'iSCSI Disk Type' read True ValueMap ['2', '3', '4', '30000', '30001', '30002', '30003'] Values ['Fixed', 'Dynamic', 'Differencing', 'ReadOnlySnapshot', 'WritableSnapshot', 'RamDisk', 'PassThrough'] Type property is in 62 classes of ROOT\WMI and in 142 namespaces
▲ VdsLunInfo propertyCIMTYPE 'object:WT_VDSLunInformation' Description 'Vital Product Data identification information, formatted in a VDS friendly manner' read True VdsLunInfo property is in 2 classes of ROOT\WMI and in 1 namespace
WT_Disk Qualifiers Name Value ToInstance ToSubclass Overridable Amended Local
Description 'Class describing an iSCSI disk. Use the CreateXXXWTDisk() method to create a new iSCSI disk.' ✗ ✗ ✓ ✗ ✓
dynamic True ✓ ✗ ✓ ✗ ✓
provider 'WinTargetProv' ✗ ✗ ✓ ✗ ✓
WT_Disk System properties Name Value Origin CIMType Local Array
__PATH '\\.\ROOT\WMI:WT_Disk' ___SYSTEM 8 ✗ ✗
__NAMESPACE 'ROOT\WMI' ___SYSTEM 8 ✗ ✗
__SERVER '.' ___SYSTEM 8 ✗ ✗
__DERIVATION [] ___SYSTEM 8 ✗ ✓
__PROPERTY_COUNT 26 ___SYSTEM 3 ✗ ✗
__RELPATH 'WT_Disk ' ___SYSTEM 8 ✗ ✗
__DYNASTY 'WT_Disk ' ___SYSTEM 8 ✗ ✗
__SUPERCLASS null ___SYSTEM 8 ✗ ✗
__CLASS 'WT_Disk ' ___SYSTEM 8 ✗ ✗
__GENUS 1 ___SYSTEM 3 ✗ ✗
Similar Classes to WT_Disk Number of classes:36
Please enable JavaScript to view the comments powered by Disqus.
comments powered by