@@ -9,35 +9,33 @@ title: DSC Resource kind schema reference
9
9
10
10
## Synopsis
11
11
12
- Identifies whether a resource is an adapter resource, a group resource, or a normal resource.
12
+ Identifies whether a resource is an adapter resource, a group resource, an importer resource, an exporter resource, or a normal resource.
13
13
14
14
## Metadata
15
15
16
16
``` yaml
17
17
SchemaDialect : https://json-schema.org/draft/2020-12/schema
18
18
SchemaID : https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/definitions/resourceKind.json
19
19
Type : string
20
- ValidValues : [resource, adapter, group, importer]
20
+ ValidValues : [resource, adapter, group, importer, exporter ]
21
21
` ` `
22
22
23
23
## Description
24
24
25
- DSC supports three kinds of command-based DSC Resources :
25
+ DSC supports several kinds of command resources :
26
26
27
- - ` resource` - Indicates that the manifest isn't for a group or adapter resource.
27
+ - ` resource` - Indicates that the manifest is for a typical resource.
28
28
- ` group` - Indicates that the manifest is for a [group resource](#group-resources).
29
29
- ` adapter` - Indicates that the manifest is for an [adapter resource](#adapter-resources).
30
30
- ` importer` - Indicates that the manifest is for an [importer resource](#importer-resources).
31
31
- ` exporter` - Indicates that the manifest is for an [exporter resource](#exporter-resources).
32
32
33
- When `kind` isn't defined in the resource manifest, DSC infers the value for the property. If the
34
- ` adapter` property is defined in the resource manifest, DSC infers the value of `kind` as
35
- ` adapter` . If the `adapter` property isn't defined, DSC infers the value of `kind` as `resource`.
36
- DSC can't infer whether a manifest is for a group or importer resource.
33
+ When `kind` isn't defined in the resource manifest for a command resource , DSC infers the value for
34
+ the property. If the `adapter` property is defined in the resource manifest, DSC infers the value
35
+ of `kind` as ` adapter`. If the `adapter` property isn't defined, DSC infers the value of `kind` as
36
+ ` resource ` . DSC can't infer whether a manifest is for a group, importer, or exporter resource.
37
37
38
- When defining a group resource, always explicitly define the `kind` property in the manifest as
39
- ` group` . When defining an importer resource, always explicitly define the `kind` property in the
40
- manifest as `importer`.
38
+ When defining a group, importer, or exporter resource with a resource manifest, always explicitly define `kind`.
41
39
42
40
# ## Adapter resources
43
41
0 commit comments