@@ -36,19 +36,19 @@ example synopsis
3636$schema : https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3737resources :
3838- name : Echo array of integers
39- type : Test /Echo
39+ type : Microsoft.DSC.Debug /Echo
4040 properties :
4141 output : " [createArray(1, 3, 5)]"
4242` ` `
4343
4444` ` ` 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
4646```
4747
4848``` yaml
4949results :
5050- name : Echo array of integers
51- type : Test /Echo
51+ type : Microsoft.DSC.Debug /Echo
5252 result :
5353 actualState :
5454 output :
@@ -69,19 +69,19 @@ sub-array contains only integers. The second sub-array contains only strings.
6969$schema : https://aka.ms/dsc/schemas/v3/bundled/config/document.json
7070resources :
7171- name : Create array of arrays
72- type : Test /Echo
72+ type : Microsoft.DSC.Debug /Echo
7373 properties :
7474 output : " [createArray(createArray(1,3,5), createArray('a', 'b', 'c'))]"
7575` ` `
7676
7777` ` ` bash
78- dsc config get --document createArray.example.2.dsc.config.yaml
78+ dsc config get --file createArray.example.2.dsc.config.yaml
7979```
8080
8181``` yaml
8282results :
8383- name : Create array of arrays
84- type : Test /Echo
84+ type : Microsoft.DSC.Debug /Echo
8585 result :
8686 actualState :
8787 output :
@@ -105,7 +105,7 @@ strings. It uses YAML's folded multiline string syntax to make the function more
105105$schema : https://aka.ms/dsc/schemas/v3/bundled/config/document.json
106106resources :
107107- name : Echo flattened array
108- type : Test /Echo
108+ type : Microsoft.DSC.Debug /Echo
109109 properties :
110110 output : >-
111111 [concat(
@@ -115,13 +115,13 @@ resources:
115115` ` `
116116
117117` ` ` bash
118- dsc config get --document createArray.example.3.dsc.config.yaml
118+ dsc config get --file createArray.example.3.dsc.config.yaml
119119```
120120
121121``` yaml
122122results :
123123- name : Echo flattened array
124- type : Test /Echo
124+ type : Microsoft.DSC.Debug /Echo
125125 result :
126126 actualState :
127127 output :
0 commit comments