<?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_ServiceAffectsElementWithQuota" 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_ServiceAffectsElementWithQuota">
<xs:import namespace="http://schemas.dmtf.org/wbem/wscim/1/common" schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/common.xsd"/>
<xs:element name="Quota" 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">Quota is the maximum number of resource units that may be allocated to the AffectedElement.</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElementWithQuota"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="QuotaUsed" 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">Quota is the number of resource units currently allocated to the AffectedElement.</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElementWithQuota"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="QuotaUnits" nillable="true" type="cim:cimString">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">QuotaUnits specifies the type of unit used in the Quota and QuotaUsed properties. The value shall be formatted according to DSP0004 Appendix C1, where the base-unit is "byte"), and there are no occurrences of multiplied-base-unit and divided-base-unit.</cim:Qualifier>
<cim:Qualifier name="IsPUnit" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElementWithQuota"/>
<cim:Defaultvalue type="cim:cimString">byte</cim:Defaultvalue>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="AffectedElement" type="cim:cimReference">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Key" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">The Managed Element that is affected by the Service.</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElement"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="AffectingElement" type="cim:cimReference">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Key" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">The Service that is affecting the ManagedElement.</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElement"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="ElementEffects" nillable="true">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">An enumeration that describes the effect on the ManagedElement. This array corresponds to the OtherElementEffectsDescriptions array, where the latter provides details that are related to the high-level effects enumerated by this property. Additional detail is required if the ElementEffects array contains the value 1 (Other). The values are defined as follows: 
- Exclusive Use (2): No other Service may have this association to the element. 
- Performance Impact (3): Deprecated in favor of "Consumes", "Enhances Performance", or "Degrades Performance". Execution of the Service may enhance or degrade the performance of the element. This may be as a side-effect of execution or as an intended consequence of methods provided by the Service. 
- Element Integrity (4): Deprecated in favor of "Consumes", "Enhances Integrity", or "Degrades Integrity". Execution of the Service may enhance or degrade the integrity of the element. This may be as a side-effect of execution or as an intended consequence of methods provided by the Service. 
- Manages (5): The Service manages the element. 
- Consumes (6): Execution of the Service consumes some or all of the associated element as a consequence of running the Service. For example, the Service may consume CPU cycles, which may affect performance, or Storage which may affect both performance and integrity. (For instance, the lack of free storage can degrade integrity by reducing the ability to save state. ) "Consumes" may be used alone or in conjunction with other values, in particular, "Degrades Performance" and "Degrades Integrity". 
"Manages" and not "Consumes" should be used to reflect allocation services that may be provided by a Service. 
- Enhances Integrity (7): The Service may enhance integrity of the associated element. 
- Degrades Integrity (8): The Service may degrade integrity of the associated element. 
- Enhances Performance (9): The Service may enhance performance of the associated element. 
- Degrades Performance (10): The Service may degrade performance of the associated element.</cim:Qualifier>
<cim:Qualifier name="ArrayType" type="cim:cimString">Indexed</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_ServiceAffectsElement.OtherElementEffectsDescriptions</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="0">Unknown</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="1">Other</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="2">Exclusive Use</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="3">Performance Impact</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="4">Element Integrity</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="5">Manages</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="6">Consumes</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="7">Enhances Integrity</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="8">Degrades Integrity</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="9">Enhances Performance</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="10">Degrades Performance</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="..">DMTF Reserved</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="0x8000..0xFFFF">Vendor Reserved</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElement"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:restriction base="cim:cimAnySimpleType">
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
<xs:enumeration value="7"/>
<xs:enumeration value="8"/>
<xs:enumeration value="9"/>
<xs:enumeration value="10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="11"/>
<xs:maxInclusive value="32767"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="32768"/>
<xs:maxInclusive value="65535"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="OtherElementEffectsDescriptions" nillable="true" type="cim:cimString">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">Provides details for the effect at the corresponding array position in ElementEffects. This information is required if ElementEffects contains the value 1 (Other).</cim:Qualifier>
<cim:Qualifier name="ArrayType" type="cim:cimString">Indexed</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_ServiceAffectsElement.ElementEffects</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElement"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="AssignedSequence" nillable="true" type="cim:cimUnsignedShort">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">AssignedSequence is an unsigned integer 'n' that indicates the relative sequence in which order the ManagedElement instances are affected by the Service, which is associated to the ManagedElement instances through this class. The implementation of the Service shall use the relative sequence to order all the managed elements represented by ManagedElements associated through this class for servicing or prioritizing. 
When 'n' is a positive integer, it indicates a place in the sequence of affected elements, with smaller integers indicating earlier positions in the sequence. NULL or the special value '0' indicates 'don't care'. If two or more affected elements have the same non-zero sequence number, then the ordering between those elements is irrelevant, but they must all be serviced in the appropriate order in the overall sequence. 
A series of examples will make order of elements clearer: If all elements affected have the same sequence number, 
regardless of whether it is '0' or non-zero, any 
order is acceptable. 
The values: 
1:ELEMENT A 
2:ELEMENT B 
1:ELEMENT C 
3:ELEMENT D 
indicate two acceptable orders: A,C,B,D or C,A,B,D, 
since A and C can be ordered in either sequence, but 
only at the '1' position. 

Note that the non-zero sequence numbers need not start with '1', and they need not be consecutive. All that matters is their relative magnitude.</cim:Qualifier>
<cim:Classorigin name="CIM_ServiceAffectsElement"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="CIM_ServiceAffectsElementWithQuota" type="class:CIM_ServiceAffectsElementWithQuota_Type">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Class name="CIM_ServiceAffectsElementWithQuota" superclass="CIM_ServiceAffectsElement"/>
<cim:Qualifier name="Association" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Version" type="cim:cimString">2.22.0</cim:Qualifier>
<cim:Qualifier name="UMLPackagePath" type="cim:cimString">CIM::Core::Service</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">ServiceAffectsElementWithQuota represents an extension of ServiceAffectsElement to include a quota imposed on the AffectedElement by the Service. The quota governs the amount of a resource controlled by the Service that can be allocated by the AffectedElement in one or more allocations.</cim:Qualifier>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:complexType name="CIM_ServiceAffectsElementWithQuota_Type">
<xs:sequence>
<xs:element ref="class:AffectedElement"/>
<xs:element ref="class:AffectingElement"/>
<xs:element minOccurs="0" ref="class:AssignedSequence"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="class:ElementEffects"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="class:OtherElementEffectsDescriptions"/>
<xs:element minOccurs="0" ref="class:Quota"/>
<xs:element minOccurs="0" ref="class:QuotaUnits"/>
<xs:element minOccurs="0" ref="class:QuotaUsed"/>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:schema>
