<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:class="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AllocatedFromStoragePool" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" targetNamespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_AllocatedFromStoragePool">
<xs:import namespace="http://schemas.dmtf.org/wbem/wscim/1/common" schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/common.xsd"/>
<xs:element name="Antecedent" type="cim:cimReference">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Override" type="cim:cimString">Antecedent</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">The StoragePool.</cim:Qualifier>
<cim:Qualifier name="Key" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Classorigin name="CIM_AllocatedFromStoragePool"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="Dependent" type="cim:cimReference">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Override" type="cim:cimString">Dependent</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">The subsidiary element.</cim:Qualifier>
<cim:Qualifier name="Key" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Classorigin name="CIM_AllocatedFromStoragePool"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="SpaceConsumed" type="cim:cimUnsignedLong">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Required" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">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.</cim:Qualifier>
<cim:Qualifier name="Units" type="cim:cimString">Bytes</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_StoragePool.TotalManagedSpace</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_StoragePool.RemainingManagedSpace</cim:Qualifier>
<cim:Qualifier name="PUnit" type="cim:cimString">byte</cim:Qualifier>
<cim:Classorigin name="CIM_AllocatedFromStoragePool"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="SpaceLimit" nillable="true" type="cim:cimUnsignedLong">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">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.</cim:Qualifier>
<cim:Qualifier name="Units" type="cim:cimString">Bytes</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_AllocatedFromStoragePool.SpaceConsumed</cim:Qualifier>
<cim:Qualifier name="PUnit" type="cim:cimString">byte</cim:Qualifier>
<cim:Classorigin name="CIM_AllocatedFromStoragePool"/>
<cim:Defaultvalue type="cim:cimUnsignedLong">0</cim:Defaultvalue>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="SpaceLimitWarningThreshold" nillable="true">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">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 &gt;= (SpaceLimit*SpaceLimitWarningThreshold)/100.</cim:Qualifier>
<cim:Qualifier name="Units" type="cim:cimString">Percentage</cim:Qualifier>
<cim:Qualifier name="MinValue" type="cim:cimLong">0</cim:Qualifier>
<cim:Qualifier name="MaxValue" type="cim:cimLong">100</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_AllocatedFromStoragePool.SpaceConsumed</cim:Qualifier>
<cim:Qualifier name="PUnit" type="cim:cimString">percent</cim:Qualifier>
<cim:Classorigin name="CIM_AllocatedFromStoragePool"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:restriction base="cim:cimUnsignedShort">
<xs:maxInclusive value="100"/>
<xs:minInclusive value="0"/>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="CIM_AllocatedFromStoragePool" type="class:CIM_AllocatedFromStoragePool_Type">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Class name="CIM_AllocatedFromStoragePool" superclass="CIM_ElementAllocatedFromPool"/>
<cim:Qualifier name="Association" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Version" type="cim:cimString">2.45.0</cim:Qualifier>
<cim:Qualifier name="UMLPackagePath" type="cim:cimString">CIM::Device::StorageServices</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">AllocatedFromStoragePool is an association describing how LogicalElements are allocated from underlying StoragePools. These elements typically would be subclasses of StorageExtents or StoragePools.</cim:Qualifier>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:complexType name="CIM_AllocatedFromStoragePool_Type">
<xs:sequence>
<xs:element ref="class:Antecedent"/>
<xs:element ref="class:Dependent"/>
<xs:element ref="class:SpaceConsumed"/>
<xs:element minOccurs="0" ref="class:SpaceLimit"/>
<xs:element minOccurs="0" ref="class:SpaceLimitWarningThreshold"/>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:schema>
