Partager via


MSISCSITARGET_AllocatedFromStoragePool class

Represents an association between an instance of the CIM_LogicalElement class that represents an allocated resource with the MSISCSITARGET_StoragePool instance from which it was allocated. These elements typically are subclasses of the CIM_StorageExtent or MSISCSITARGET_StorageVolume classes.

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

Syntax

[Dynamic, Provider("MSiSCSITargetProv"), Association, Version("1.0.0")]
class MSISCSITARGET_AllocatedFromStoragePool : CIM_AllocatedFromStoragePool
{
  CIM_StoragePool    REF Antecedent;
  CIM_LogicalElement REF Dependent;
  uint64                 SpaceConsumed;
  uint64                 SpaceLimit = 0;
  uint16                 SpaceLimitWarningThreshold;
};

Members

The MSISCSITARGET_AllocatedFromStoragePool class has these types of members:

Properties

The MSISCSITARGET_AllocatedFromStoragePool class has these properties.

Antecedent

Data type: CIM_StoragePool

Access type: Read-only

The StoragePool.

This property is inherited from CIM_AllocatedFromStoragePool.

Dependent

Data type: CIM_LogicalElement

Access type: Read-only

The subsidiary element.

This property is inherited from CIM_AllocatedFromStoragePool.

SpaceConsumed

Data type: uint64

Access type: Read-only

Qualifiers: Required, Punit ("byte"), Units ("Bytes"), ModelCorrespondence ("CIM_StoragePool.TotalManagedSpace", "CIM_StoragePool.RemainingManagedSpace")

Space consumed from this Pool, in bytes. This value MUST be maintained so that, relative to the Antecedent StoragePool, it is possible to compute TotalManagedSpace as StoragePool.RemainingManagedSpace plus the sum of SpaceConsumed from all of the AllocatedFromStoragePool references from the antecedent StoragePool.

This property is inherited from CIM_AllocatedFromStoragePool.

SpaceLimit

Data type: uint64

Access type: Read-only

Qualifiers: Experimental, Punit ("byte"), Units ("Bytes"), ModelCorrespondence ("CIM_AllocatedFromStoragePool.SpaceConsumed")

SpaceLimit is the consumption limit for the allocated storage element from the associated StoragePool. If SpaceLimt is greater than zero, the assumption is that the storage element can grow, (for instance an element representing the storage for a delta replica)

If SpaceLimit is greater than zero, SpaceConsumed shall not exceed the value of SpaceLimit.

If SpaceLimit = 0 (the default) then no limits are asserted on SpaceConsumed.

This property is inherited from CIM_AllocatedFromStoragePool.

SpaceLimitWarningThreshold

Data type: uint16

Access type: Read-only

Qualifiers: Experimental, Punit ("percent"), Units ("Percentage"), MinValue (0), MaxValue (100), ModelCorrespondence ("CIM_AllocatedFromStoragePool.SpaceConsumed")

If the associated storage element may dynamically consume an increasing amount of space and a space limit is enforced on the element, then a non-zero warning threshold percentage indicates when a warning indication should be generated based on SpaceConsumed >= (SpaceLimit*SpaceLimitWarningThreshold)/100.

This property is inherited from CIM_AllocatedFromStoragePool.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
WTWmiProv.dll

See also

CIM_AllocatedFromStoragePool

iSCSI Target Server Reference

MSISCSITARGET_StoragePool