File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,11 @@ DSC can process configuration documents to:
24
24
- Export a new configuration document with every instance of a set of resources with the
25
25
` dsc config export ` command.
26
26
27
- Configuration documents are YAML or JSON files that contain a single object. The object's
28
- properties define how DSC processes the document. The top-level properties for a document are:
27
+ Configuration documents contain a single object formatted as YAML, JSON, or Bicep (which compiles to JSON). The object's
28
+ properties define how DSC processes the document. It is intentional that DSC configuration documents
29
+ should be familiar to authors accustomed to working with
30
+ [ Azure Resource Manager deployment templates] ( ./azure/azure-resource-manager/templates/ ) .
31
+ The top-level properties for a document are:
29
32
30
33
- ` $schema ` (required) - Defines the URI for the JSON Schema the document adheres to. DSC
31
34
uses this URI to know how to validate and interpret the document.
@@ -152,7 +155,7 @@ When you use this command, DSC also:
152
155
- Provides metadata about the operation as a whole and for each resource instance.
153
156
154
157
` ` ` sh
155
- dsc config test --file /example.config.dsc.yaml
158
+ dsc config test --file . /example.config.dsc.yaml
156
159
` ` `
157
160
158
161
` ` ` yaml
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ specific workspace.
164
164
``` json
165
165
"json.schemas" : [
166
166
{
167
- "fileMatch" : [" **/*.dsc.resource.json" , ],
167
+ "fileMatch" : [" **/*.dsc.resource.json" ],
168
168
"url" : " https://aka.ms/dsc/schemas/v3/bundled/resource/manifest.vscode.json"
169
169
}
170
170
]
You can’t perform that action at this time.
0 commit comments