@@ -36,19 +36,19 @@ example synopsis
36
36
$schema : https://aka.ms/dsc/schemas/v3/bundled/config/document.json
37
37
resources :
38
38
- name : Echo array of integers
39
- type : Test /Echo
39
+ type : Microsoft.DSC.Debug /Echo
40
40
properties :
41
41
output : " [createArray(1, 3, 5)]"
42
42
` ` `
43
43
44
44
` ` ` bash
45
- dsc config get --document createArray.example.1.dsc.config.yaml config get
45
+ dsc config get --file createArray.example.1.dsc.config.yaml config get
46
46
```
47
47
48
48
``` yaml
49
49
results :
50
50
- name : Echo array of integers
51
- type : Test /Echo
51
+ type : Microsoft.DSC.Debug /Echo
52
52
result :
53
53
actualState :
54
54
output :
@@ -69,19 +69,19 @@ sub-array contains only integers. The second sub-array contains only strings.
69
69
$schema : https://aka.ms/dsc/schemas/v3/bundled/config/document.json
70
70
resources :
71
71
- name : Create array of arrays
72
- type : Test /Echo
72
+ type : Microsoft.DSC.Debug /Echo
73
73
properties :
74
74
output : " [createArray(createArray(1,3,5), createArray('a', 'b', 'c'))]"
75
75
` ` `
76
76
77
77
` ` ` bash
78
- dsc config get --document createArray.example.2.dsc.config.yaml
78
+ dsc config get --file createArray.example.2.dsc.config.yaml
79
79
```
80
80
81
81
``` yaml
82
82
results :
83
83
- name : Create array of arrays
84
- type : Test /Echo
84
+ type : Microsoft.DSC.Debug /Echo
85
85
result :
86
86
actualState :
87
87
output :
@@ -105,7 +105,7 @@ strings. It uses YAML's folded multiline string syntax to make the function more
105
105
$schema : https://aka.ms/dsc/schemas/v3/bundled/config/document.json
106
106
resources :
107
107
- name : Echo flattened array
108
- type : Test /Echo
108
+ type : Microsoft.DSC.Debug /Echo
109
109
properties :
110
110
output : >-
111
111
[concat(
@@ -115,13 +115,13 @@ resources:
115
115
` ` `
116
116
117
117
` ` ` bash
118
- dsc config get --document createArray.example.3.dsc.config.yaml
118
+ dsc config get --file createArray.example.3.dsc.config.yaml
119
119
```
120
120
121
121
``` yaml
122
122
results :
123
123
- name : Echo flattened array
124
- type : Test /Echo
124
+ type : Microsoft.DSC.Debug /Echo
125
125
result :
126
126
actualState :
127
127
output :
0 commit comments