Partager via


CIM_AllocatedFromStoragePool class

AllocatedFromStoragePool is an association describing how LogicalElements are allocated from underlying StoragePools. These elements typically would be subclasses of StorageExtents or StoragePools.

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

Syntax

[Association, Abstract, Version("2.15.0"), UMLPackagePath("CIM::Device::StorageServices")]
class CIM_AllocatedFromStoragePool : CIM_ElementAllocatedFromPool
{
  CIM_StoragePool    REF Antecedent;
  CIM_LogicalElement REF Dependent;
  uint64                 SpaceConsumed;
  uint64                 SpaceLimit = 0;
  uint16                 SpaceLimitWarningThreshold;
};

Members

The CIM_AllocatedFromStoragePool class has these types of members:

Properties

The CIM_AllocatedFromStoragePool class has these properties.

Antecedent

Data type: CIM_StoragePool

Access type: Read-only

Qualifiers: Override ("Antecedent")

The StoragePool.

Dependent

Data type: CIM_LogicalElement

Access type: Read-only

Qualifiers: Override ("Dependent")

The subsidiary element.

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.

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.

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.

Requirements

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

See also

CIM_ElementAllocatedFromPool