Skip to content

Commit 13fe343

Browse files
(GH-359) Fix resource kind (#361)
Prior to this change, the resource `kind` in the root manifest reference wasn't updated to reflect the correct casing or all valid options. This change ensures that the reference in the manifest root matches the subschema reference.
1 parent 3a5a6d6 commit 13fe343

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

dsc/docs-conceptual/dsc-3.0/reference/schemas/definitions/resourceKind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ValidValues: [resource, adapter, group, importer, exporter]
2222
2323
## Description
2424
25-
DSC supports three kinds of command-based DSC Resources:
25+
DSC supports several kinds of command-based DSC Resources:
2626
2727
- `resource` - Indicates that the manifest isn't for a group or adapter resource.
2828
- `group` - Indicates that the manifest is for a [group resource](#group-resources).

dsc/docs-conceptual/dsc-3.0/reference/schemas/resource/manifest/root.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,24 @@ Required: false
165165

166166
### kind
167167

168-
The `kind` property defines how DSC should handle the resource. DSC supports three kinds of
169-
command-based DSC Resources: `Resource`, `Group`, and `Adapter`.
168+
The `kind` property defines how DSC should handle the resource. DSC supports several kinds
169+
ofcommand-based DSC Resources: `resource`, `group`, `adapter`, `importer`, and `exporter`.
170170

171171
When `kind` isn't defined in the resource manifest, DSC infers the value for the property. If the
172172
`adapter` property is defined in the resource manifest, DSC infers the value of `kind` as
173-
`Adapter`. If the `adapter` property isn't defined, DSC infers the value of `kind` as `Resource`.
174-
DSC can't infer whether a manifest is for a group resource.
173+
`adapter`. If the `adapter` property isn't defined, DSC infers the value of `kind` as `resource`.
174+
DSC can't infer whether a manifest is for a group` or importer resource.
175175

176176
When defining a group resource, always explicitly define the `kind` property in the manifest as
177-
`Group`.
177+
`group`. When defining an importer resource, always explicitly define the `kind` property in the
178+
manifest as `importer`.
178179

179180
For more information, see [DSC Resource kind schema reference][02].
180181

181182
```yaml
182183
Type: string
183184
Required: false
184-
ValidValues: [Resource, Adapter, Group]
185+
ValidValues: [resource, adapter, group, importer, exporter]
185186
```
186187

187188
### tags

0 commit comments

Comments
 (0)