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)

NameOriginReturn
CancelAsyncOperationWT_Disk
CreateRamWTDiskWT_DiskWT_Disk {'out':True}
CreateVhdWTDiskWT_DiskWT_Disk {'out':True}
ExtendWT_Disk
GetAsyncOperationProgressWT_Disk
GetDVMountPointsWT_Disksint32 {'out':True}
GetRollbackProgressWT_Disk
ImportWTDiskWT_DiskWT_Disk {'out':True}
NewDiffWTDiskWT_DiskWT_Disk {'out':True}
NewWTDiskWT_DiskWT_Disk {'out':True}
ResizeWT_Disk

WT_Disk properties

WT_Disk has 26 properties (26 Local)

NameOriginCIMType
ActiveDevicePathWT_Disk8 [string]
AllocatedSizeWT_Disk19 [uint32]
AsyncOpEndTimeWT_Disk101 [datetime]
AsyncOpStartTimeWT_Disk101 [datetime]
BlockSizeWT_Disk21 [uint64]
DescriptionWT_Disk8 [string]
DevicePathWT_Disk8 [string]
DeviceVolumeGuidWT_Disk8 [string]
DVDeviceIdWT_Disk8 [string]
DVMountStatusWT_Disk3 [sint32]
DVTimeStampWT_Disk101 [datetime]
EnabledWT_Disk11 [boolean]
FlagsWT_Disk3 [sint32]
GuidWT_Disk8 [string]
InternalCodeWT_Disk19 [uint32]
IsBasedOnUnderlyingRedundancyWT_Disk11 [boolean]
LMSnapshotIdWT_Disk8 [string]
ParentPathWT_Disk8 [string]
ParentWTDWT_Disk19 [uint32]
ResourceGroupWT_Disk8 [string]
SerialNumberWT_Disk8 [string]
SizeWT_Disk19 [uint32]
StatusWT_Disk3 [sint32]
TypeWT_Disk3 [sint32]
VdsLunInfoWT_Disk13 [object:WT_VDSLunInformation]
key
WTD
WT_Disk19 [uint32]

Detailed description of WT_Disk methods

Local methods (11) of WT_Disk class

CancelAsyncOperation method
Return
Description'Cancel any asychronous operation'
ImplementedTrue
CancelAsyncOperation method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
CreateRamWTDisk method
ReturnWT_Disk {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DevicePathstring0-{'Description':'A decorated device path in the format of 'RAMDISK:'.'}
MaxInternalSizeuint641-{'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.'}
LogicalSectorSizeuint322-{'Description':'The logical sector size in bytes used by the VHD.'}
PhysicalSectorSizeuint323-{'Description':'The physical sector size in bytes used by the VHD.'}
Descriptionstring4-{'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.'
ImplementedTrue
StaticTrue
CreateRamWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
CreateVhdWTDisk method
ReturnWT_Disk {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DevicePathstring0-{'Description':'Full path to VHD file.'}
VhdTypeuint161-{'Description':'VHD type.','ValueMap':['2', '3', '4'],'Values':['Fixed', 'Dynamic', 'Differencing']}
MaxInternalSizeuint642-{'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.'}
BlockSizeuint323-{'Description':'The block size in bytes used by the VHD.'}
LogicalSectorSizeuint324-{'Description':'The logical sector size in bytes used by the VHD.'}
PhysicalSectorSizeuint325-{'Description':'The physical sector size in bytes used by the VHD.'}
Descriptionstring6-{'Description':'iSCSI disk description.','Optional':True}
ClearDataboolean7-{'Description':'Whether to clear data upon fixed VHD creation','Optional':True}
ParentPathstring8-{'Description':'Full path to parent VHD file','Optional':True}
Description'Create a new VHDX-based WT_Disk.'
ImplementedTrue
StaticTrue
CreateVhdWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
Extend method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
AdditionalSizeInMBuint320-{'Description':'iSCSI Disk Additional Size (MB)'}
Description'Deprecated. Use Resize instead.'
ImplementedTrue
Extend method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
GetAsyncOperationProgress method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
ProgressPercentuint320-{'Description':'Progress percentage (0-100)'}
LastErrorsint321-{'Description':'Last error code of the async operation'}
Description'Get the async operation progress information for this WT_Disk'
ImplementedTrue
GetAsyncOperationProgress method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
GetDVMountPoints method
Returnsint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
MountPointsstring0-{'Description':'String Array of Mount Points'}
Description'Deprecated'
ImplementedTrue
GetDVMountPoints method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
GetRollbackProgress method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
ProgressPercentuint320-{'Description':'Progress percentage (0-100)'}
RollbackLastErrorsint321-{'Description':'Last error code of the rollback operation'}
Description'Deprecated. Use GetAsyncOperationProgress instead.'
ImplementedTrue
GetRollbackProgress method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
ImportWTDisk method
ReturnWT_Disk {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DevicePathstring0-{'Description':'Full path to an existing VHD file or a decorated path in the format of 'SCSI:' to a pass-through SCSI device.'}
Descriptionstring1-{'Description':'iSCSI disk description.','Optional':True}
ResourceGroupstring2-{'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.'
ImplementedTrue
StaticTrue
ImportWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
NewDiffWTDisk method
ReturnWT_Disk {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DevicePathstring0-{'Description':'Full Path to VHD File'}
ParentPathstring1-{'Description':'Full Path to Parent VHD File'}
Descriptionstring2-{'Description':'iSCSI Disk Friendly Description'}
CacheParentboolean3-{'Description':'Deprecated.','Optional':True}
Description'Deprecated. Use CreateXXXWTDisk/ImportWTDisk instead.'
ImplementedTrue
StaticTrue
NewDiffWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
NewWTDisk method
ReturnWT_Disk {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DevicePathstring0-{'Description':'Full Path To VHD File'}
Descriptionstring1-{'Description':'iSCSI Disk Friendly Description'}
ClearPartTableboolean2-{'Description':'Deprecated.','Optional':True}
SizeInMBuint323-{'Description':'iSCSI Disk Size (MB)'}
Description'Deprecated. Use CreateXXXWTDisk/ImportWTDisk instead.'
ImplementedTrue
StaticTrue
NewWTDisk method is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
Resize method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
DeltaInMBuint320-{'Description':'iSCSI Disk Resize Delta (MB)'}
Shrinkboolean1-{'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.'
ImplementedTrue
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 property
CIMTYPE'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'
readTrue
ActiveDevicePath property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
AllocatedSize property
CIMTYPE'uint32'
Description'Allocated Size (MB)'
readTrue
AllocatedSize property is in 1 class (WT_Disk) of ROOT\WMI and in 6 namespaces
AsyncOpEndTime property
CIMTYPE'datetime'
Description'Timestamp of Asynchronous Operation Ended'
readTrue
AsyncOpEndTime property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
AsyncOpStartTime property
CIMTYPE'datetime'
Description'Timestamp of Asynchronous Operation Started'
readTrue
AsyncOpStartTime property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
BlockSize property
CIMTYPE'uint64'
Description'Logical block/sector size in bytes'
readTrue
BlockSize property is in 4 classes of ROOT\WMI and in 10 namespaces
Description property
CIMTYPE'string'
Description'iSCSI Disk Friendly Description'
readTrue
writeTrue
Description property is in 27 classes of ROOT\WMI and in 142 namespaces
DevicePath property
CIMTYPE'string'
Description'iSCSI Disk Persistent Device Path'
readTrue
DevicePath property is in 2 classes of ROOT\WMI and in 3 namespaces
DeviceVolumeGuid property
CIMTYPE'string'
Description'Identifier of the Volume where the disk resides'
readTrue
DeviceVolumeGuid property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
DVDeviceId property
CIMTYPE'string'
Description'Deprecated'
readTrue
DVDeviceId property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
DVMountStatus property
CIMTYPE'sint32'
Description'Deprecated'
readTrue
ValueMap['0', '1']
Values['NotMounted', 'MountSnapshot']
DVMountStatus property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
DVTimeStamp property
CIMTYPE'datetime'
Description'Deprecated'
readTrue
DVTimeStamp property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
Enabled property
CIMTYPE'boolean'
Description'Functional state for the Disk.'
readTrue
writeTrue
Enabled property is in 4 classes of ROOT\WMI and in 142 namespaces
Flags property
BitMap['0x00000001', '0x00000002']
BitValues['ReadOnlyWTDisk', 'ShadowWTDisk']
CIMTYPE'sint32'
Description'iSCSI Disk Flags'
readTrue
Flags property is in 2953 classes of ROOT\WMI and in 142 namespaces
Guid property
CIMTYPE'string'
Description'Unique identifier of the VirtualDisk for VDS consumption'
readTrue
Guid property is in 8 classes of ROOT\WMI and in 14 namespaces
InternalCode property
CIMTYPE'uint32'
Description'Operational code set by the iSCSI Target Service'
readTrue
InternalCode property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
IsBasedOnUnderlyingRedundancy property
CIMTYPE'boolean'
Description'Flag indicating whether the device is based on the underlying storage redundancy'
readTrue
IsBasedOnUnderlyingRedundancy property is in 1 class (WT_Disk) of ROOT\WMI and in 3 namespaces
LMSnapshotId property
CIMTYPE'string'
Description'When the WT_Disk is derived from an exported snapshot that is also locally mounted,it indicates the Snapshot identifier.'
readTrue
LMSnapshotId property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
ParentPath property
CIMTYPE'string'
Description'Parent VHD Path'
readTrue
ParentPath property is in 1 class (WT_Disk) of ROOT\WMI and in 9 namespaces
ParentWTD property
CIMTYPE'uint32'
Description'Parent iSCSI Disk Index'
readTrue
ParentWTD property is in 1 class (WT_Disk) of ROOT\WMI and in 1 namespace
ResourceGroup property
CIMTYPE'string'
Description'Resource Group (only valid in a cluster)'
readTrue
ResourceGroup property is in 4 classes of ROOT\WMI and in 1 namespace
SerialNumber property
CIMTYPE'string'
Description'iSCSI Disk Serial Number'
readTrue
SerialNumber property is in 6 classes of ROOT\WMI and in 24 namespaces
Size property
CIMTYPE'uint32'
Description'iSCSI Disk Size (MB)'
readTrue
Size property is in 61 classes of ROOT\WMI and in 16 namespaces
Status property
CIMTYPE'sint32'
Description'iSCSI Disk Status'
readTrue
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 property
CIMTYPE'sint32'
Description'iSCSI Disk Type'
readTrue
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 property
CIMTYPE'object:WT_VDSLunInformation'
Description'Vital Product Data identification information, formatted in a VDS friendly manner'
readTrue
VdsLunInfo property is in 2 classes of ROOT\WMI and in 1 namespace
WTD property
CIMTYPE'uint32'
Description'iSCSI Disk Index'
keyTrue
readTrue
WTD property is in 3 classes of ROOT\WMI and in 1 namespace

WT_Disk Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'Class describing an iSCSI disk. Use the CreateXXXWTDisk() method to create a new iSCSI disk.'
dynamicTrue
provider'WinTargetProv'

WT_Disk System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\WMI:WT_Disk'___SYSTEM8
__NAMESPACE'ROOT\WMI'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION[]___SYSTEM8
__PROPERTY_COUNT26___SYSTEM3
__RELPATH'WT_Disk'___SYSTEM8
__DYNASTY'WT_Disk'___SYSTEM8
__SUPERCLASSnull___SYSTEM8
__CLASS'WT_Disk'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to WT_Disk

Number of classes:36
comments powered by Disqus
WUtils.com