--- title: DeclaredConfiguration DDF file description: View the XML file containing the device description framework (DDF) for the DeclaredConfiguration configuration service provider. ms.date: 01/18/2024 --- # DeclaredConfiguration DDF file The following XML file contains the device description framework (DDF) for the DeclaredConfiguration configuration service provider. ```xml ]> 1.2 DeclaredConfiguration ./Device/Vendor/MSFT The Declared Configuration CSP (Configuration Service Provider) allows the OMA-DM server to provide the device with the complete collection of setting names and associated values based on a specified scenario. The Declared Configuration stack on the device is responsible for handling the configuration request along with maintaining its state including updates to the scenario. It also provides the means to retrieve a scenario’s settings from the device. The configuration request and settings retrieval request are performed asynchronously, freeing up the server’s worker thread to do other useful work. The subsequent results can be retrieved through Declared Configuration’s result nodes. 99.9.99999 9.9 0x4;0x1B;0x30;0x31;0x48;0x54;0x62;0x63;0x64;0x65;0x79;0x7A;0x7D;0x7E;0x81;0x82;0x8A;0x8B;0xA1;0xA2;0xA4;0xA5;0xAB;0xAC;0xAF;0xBC;0xBF;0xCA;0xCB;0xCD;0xCF; Host The Host internal node indicates that the target of the configuration request or inventory request is the host OS. This node is for scope in case enclaves are ever targeted for configuration. Complete This internal node indicates that the configuration has discrete settings values and is self-contained with complete setting and value pairs that do not contain placeholders that need to be resolved later with additional data. The request is ready to be processed as is. Documents The Documents node indicates that the configuration is in the form of a document, which is a collection of settings used to configure a scenario by the Declared Configuration stack. Uniquely identifies the configuration document. No other document can have this id. The Id should be a GUID. DocID [0-9A-Fa-f]{8}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{12} Document The Document node's value is an XML based document containing a collection of settings and values to configure the specified scenario. The Declared Configuration stack verifies the syntax of the document, the stack marks the document to be processed asynchronously by the client. The stack then returns control back to the OMA-DM service. The stack, in turn, asynchronously processes the request. Below is an example of a specified desired state configuration using the Declared Configuration URI ./Device/Vendor/MSFT/DeclaredConfiguration/Host/Complete/Documents/27FEA311-68B9-4320-9FC4-296F6FDFAFE2/Document Properties The Properties node encapsulates the list of properties that apply to the specified document referenced by [DocID]. Abandoned 0 The Abandoned node allows the OMA-DM server to indicate that the document is no longer managed. 0 The document is no longer managed. 1 The document is managed. Results The Results node indicates that this is part of the URI path that will return an XML document containing the results of the configuration request. Uniquely identifies the configuration document in which results of the configuration request will be returned. DocID Document The Document node's value is an XML based document containing a collection of setting results from the configuration request specified by [DocId]. Inventory The Inventory internal node indicates that this is an inventory request. The setting values to be retrieved are specified in an XML document through the Document leaf node. Documents The Documents node indicates that the inventory request is in the form of a document, which is a collection of settings used to retrieve their values. Uniquely identifies the inventory document. No other document can have this id. The Id should be a GUID. DocID [0-9A-Fa-f]{8}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{12} Document The Document node's value is an XML based document containing a collection of settings that will be used to retrieve their values. The Declared Configuration stack verifies the syntax of the document, the stack marks the document to be processed asynchronously by the client. The stack then returns control back to the OMA-DM service. The stack, in turn, asynchronously processes the request. Below is an example of a specified desired state configuration using the Declared Configuration URI ./Device/Vendor/MSFT/DeclaredConfiguration/Host/Inventory/Documents/27FEA311-68B9-4320-9FC4-296F6FDFAFE2/Document Results The Results node indicates that this is part of the URI path that will return an XML document containing the results of the inventory request. Uniquely identifies the inventory document. No other document can have this id. The Id should be a GUID. DocID Document The Document node's value is an XML based document containing a collection of setting results from the inventory request specified by [DocId]. ``` ## Related articles [DeclaredConfiguration configuration service provider reference](declaredconfiguration-csp.md)