Skip to content

Commit a67b03c

Browse files
committed
Update all examples with Microsoft.DSC.Debug/Echo
1 parent 48c7687 commit a67b03c

File tree

19 files changed

+113
-113
lines changed

19 files changed

+113
-113
lines changed

.github/ISSUE_TEMPLATE/Bug_Report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ body:
3838
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3939
resources:
4040
- name: repro
41-
type: Test/Echo
41+
type: Microsoft.DSC.Debug/Echo
4242
properties:
4343
output: expected value
4444
```
@@ -59,7 +59,7 @@ body:
5959
6060
results:
6161
- name: repro
62-
type: Test/Echo
62+
type: Microsoft.DSC.Debug/Echo
6363
result:
6464
actualState:
6565
output: expected value
@@ -77,7 +77,7 @@ body:
7777
7878
results:
7979
- name: repro
80-
type: Test/Echo
80+
type: Microsoft.DSC.Debug/Echo
8181
result:
8282
actualState:
8383
output: other value

.vscode/docs.code-snippets

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"\\$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json",
4646
"resources:",
4747
"- name: ${7:descriptive resource name}",
48-
" type: Test/Echo",
48+
" type: Microsoft.DSC.Debug/Echo",
4949
" properties:",
5050
" output: \"[${1:name}(${8:example input})]\"",
5151
"```",
@@ -57,7 +57,7 @@
5757
"```yaml",
5858
"results:",
5959
"- name: ${7:descriptive resource name}",
60-
" type: Test/Echo",
60+
" type: Microsoft.DSC.Debug/Echo",
6161
" result:",
6262
" actualState:",
6363
" output: ${9:example output}",
@@ -104,7 +104,7 @@
104104
"\\$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json",
105105
"resources:",
106106
"- name: ${4:descriptive resource name}",
107-
" type: Test/Echo",
107+
" type: Microsoft.DSC.Debug/Echo",
108108
" properties:",
109109
" output: \"[$TM_FILENAME_BASE(${5:example input})]\"",
110110
"```",
@@ -116,7 +116,7 @@
116116
"```yaml",
117117
"results:",
118118
"- name: $4",
119-
" type: Test/Echo",
119+
" type: Microsoft.DSC.Debug/Echo",
120120
" result:",
121121
" actualState:",
122122
" output: ${6:example output}",

docs/reference/schemas/config/functions/add.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This example document shows how you can use the `add()` function to return the s
3333
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3434
resources:
3535
- name: Sum of 3 and 5
36-
type: Test/Echo
36+
type: Microsoft.DSC.Debug/Echo
3737
properties:
3838
output: "[add(3, 5)]"
3939
```
@@ -45,7 +45,7 @@ dsc config get --document add.example.1.dsc.config.yaml
4545
```yaml
4646
results:
4747
- name: Sum of 3 and 5
48-
type: Test/Echo
48+
type: Microsoft.DSC.Debug/Echo
4949
result:
5050
actualState:
5151
output: 8
@@ -63,7 +63,7 @@ configuration functions that return integer values.
6363
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
6464
resources:
6565
- name: Add nested function outputs
66-
type: Test/Echo
66+
type: Microsoft.DSC.Debug/Echo
6767
properties:
6868
output: "[add(mul(2,3), div(6,3))]"
6969
```
@@ -75,7 +75,7 @@ dsc config get --document add.example.2.dsc.config.yaml
7575
```yaml
7676
results:
7777
- name: Add nested function outputs
78-
type: Test/Echo
78+
type: Microsoft.DSC.Debug/Echo
7979
result:
8080
actualState:
8181
output: 8

docs/reference/schemas/config/functions/base64.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The configuration converts a basic string value with the `base64()` function.
3434
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3535
resources:
3636
- name: Echo 'abc' in base64
37-
type: Test/Echo
37+
type: Microsoft.DSC.Debug/Echo
3838
properties:
3939
output: "[base64('abc')]"
4040
```
@@ -46,7 +46,7 @@ dsc --input-file base64.example.1.dsc.config.yaml config get
4646
```yaml
4747
results:
4848
- name: Echo 'abc' in base64
49-
type: Test/Echo
49+
type: Microsoft.DSC.Debug/Echo
5050
result:
5151
actualState:
5252
output: YWJj
@@ -64,7 +64,7 @@ strings `a`, `b`, and `c` into `abc` before returning the base64 representation.
6464
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
6565
resources:
6666
- name: Echo concatenated 'a', 'b', 'c' in base64
67-
type: Test/Echo
67+
type: Microsoft.DSC.Debug/Echo
6868
properties:
6969
output: "[base64(concat('a', 'b', 'c'))]"
7070
```
@@ -76,7 +76,7 @@ dsc --input-file base64.example.2.dsc.config.yaml config get
7676
```yaml
7777
results:
7878
- name: Echo concatenated 'a', 'b', 'c' in base64
79-
type: Test/Echo
79+
type: Microsoft.DSC.Debug/Echo
8080
result:
8181
actualState:
8282
output: YWJj

docs/reference/schemas/config/functions/concat.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The configuration uses the `concat()` function to join the strings `abc` and `de
3838
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3939
resources:
4040
- name: Echo 'abcdef'
41-
type: Test/Echo
41+
type: Microsoft.DSC.Debug/Echo
4242
properties:
4343
output: "[concat('abc', 'def')]"
4444
```
@@ -50,7 +50,7 @@ dsc --input-file concat.example.1.dsc.config.yaml config get
5050
```yaml
5151
results:
5252
- name: Echo 'abcdef'
53-
type: Test/Echo
53+
type: Microsoft.DSC.Debug/Echo
5454
result:
5555
actualState:
5656
output: abcdef
@@ -67,7 +67,7 @@ The configuration uses the `concat()` function to return a combined array of str
6767
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
6868
resources:
6969
- name: Echo ['a', 'b', 'c', 'd', 'e', 'f']
70-
type: Test/Echo
70+
type: Microsoft.DSC.Debug/Echo
7171
properties:
7272
output: >-
7373
[concat(
@@ -83,7 +83,7 @@ dsc config get --document concat.example.2.dsc.config.yaml
8383
```yaml
8484
results:
8585
- name: Echo ['a', 'b', 'c', 'd', 'e', 'f']
86-
type: Test/Echo
86+
type: Microsoft.DSC.Debug/Echo
8787
result:
8888
actualState:
8989
output:

docs/reference/schemas/config/functions/createArray.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ example synopsis
3636
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3737
resources:
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
```
@@ -48,7 +48,7 @@ dsc config get --document createArray.example.1.dsc.config.yaml config get
4848
```yaml
4949
results:
5050
- name: Echo array of integers
51-
type: Test/Echo
51+
type: Microsoft.DSC.Debug/Echo
5252
result:
5353
actualState:
5454
output:
@@ -69,7 +69,7 @@ sub-array contains only integers. The second sub-array contains only strings.
6969
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
7070
resources:
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
```
@@ -81,7 +81,7 @@ dsc config get --document createArray.example.2.dsc.config.yaml
8181
```yaml
8282
results:
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
106106
resources:
107107
- name: Echo flattened array
108-
type: Test/Echo
108+
type: Microsoft.DSC.Debug/Echo
109109
properties:
110110
output: >-
111111
[concat(
@@ -121,7 +121,7 @@ dsc config get --document createArray.example.3.dsc.config.yaml
121121
```yaml
122122
results:
123123
- name: Echo flattened array
124-
type: Test/Echo
124+
type: Microsoft.DSC.Debug/Echo
125125
result:
126126
actualState:
127127
output:

docs/reference/schemas/config/functions/div.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ integers.
3535
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3636
resources:
3737
- name: Dividing integers
38-
type: Test/Echo
38+
type: Microsoft.DSC.Debug/Echo
3939
properties:
4040
output: "[div(6,3)]"
4141
```
@@ -47,7 +47,7 @@ dsc config get --document div.example.1.dsc.config.yaml config get
4747
```yaml
4848
results:
4949
- name: Dividing integers
50-
type: Test/Echo
50+
type: Microsoft.DSC.Debug/Echo
5151
result:
5252
actualState:
5353
output: 2
@@ -66,7 +66,7 @@ full integer value without the remainder. It doesn't round the result up to 3.
6666
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
6767
resources:
6868
- name: Dividing nested functions
69-
type: Test/Echo
69+
type: Microsoft.DSC.Debug/Echo
7070
properties:
7171
output: "[div(mul(7,2), add(4,1))]"
7272
```
@@ -78,7 +78,7 @@ dsc config get --document div.example.2.dsc.config.yaml
7878
```yaml
7979
results:
8080
- name: Dividing nested functions
81-
type: Test/Echo
81+
type: Microsoft.DSC.Debug/Echo
8282
result:
8383
actualState:
8484
output: 2

docs/reference/schemas/config/functions/envvar.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ commands, DSC automatically creates the `DSC_CONFIG_ROOT` environment variable a
3131
the parent folder of the specified configuration document. For more information, see
3232
[dsc config command reference][01].
3333

34-
This configuration echoes that folder with the `Test/Echo` resource.
34+
This configuration echoes that folder with the `Microsoft.DSC.Debug/Echo` resource.
3535

3636
```yaml
3737
# ./examples/envvar.example.1.dsc.config.yaml
3838
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3939
resources:
4040
- name: Echo 'DSC_CONFIG_ROOT' in envvar
41-
type: Test/Echo
41+
type: Microsoft.DSC.Debug/Echo
4242
properties:
4343
output: "[envvar('DSC_CONFIG_ROOT')]"
4444
```
@@ -50,7 +50,7 @@ dsc config get --path ~/dsc/examples/envvar.example.1.dsc.config.yaml
5050
```yaml
5151
results:
5252
- name: Echo DSC_CONFIG_ROOT
53-
type: Test/Echo
53+
type: Microsoft.DSC.Debug/Echo
5454
result:
5555
actualState:
5656
output: ~/dsc/examples

docs/reference/schemas/config/functions/int.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This configuration returns an integer, converting the string value `'4.7'` to `4
3434
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3535
resources:
3636
- name: Echo integer value
37-
type: Test/Echo
37+
type: Microsoft.DSC.Debug/Echo
3838
properties:
3939
output: "[int('4.7')]"
4040
```
@@ -46,7 +46,7 @@ dsc config get --document int.example.1.dsc.config.yaml config get
4646
```yaml
4747
results:
4848
- name: Echo integer value of '4.7'
49-
type: Test/Echo
49+
type: Microsoft.DSC.Debug/Echo
5050
result:
5151
actualState:
5252
output: 4

docs/reference/schemas/config/functions/max.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This configuration returns the largest number from a list of integers.
3333
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
3434
resources:
3535
- name: Echo maximum value
36-
type: Test/Echo
36+
type: Microsoft.DSC.Debug/Echo
3737
properties:
3838
output: "[max(3, 2, 5, 1, 7)]"
3939
```
@@ -45,7 +45,7 @@ dsc config get --document max.example.1.dsc.config.yaml config get
4545
```yaml
4646
results:
4747
- name: Echo maximum value
48-
type: Test/Echo
48+
type: Microsoft.DSC.Debug/Echo
4949
result:
5050
actualState:
5151
output: 7
@@ -64,7 +64,7 @@ function more readable.
6464
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
6565
resources:
6666
- name: Echo integer array
67-
type: Test/Echo
67+
type: Microsoft.DSC.Debug/Echo
6868
properties:
6969
output:
7070
- 3
@@ -73,16 +73,16 @@ resources:
7373
- 1
7474
- 7
7575
- name: Echo maximum integer
76-
type: Test/Echo
76+
type: Microsoft.DSC.Debug/Echo
7777
properties:
7878
output: >-
7979
[max(
8080
reference(
81-
resourceId('Test/Echo', 'Echo integer array')
81+
resourceId('Microsoft.DSC.Debug/Echo', 'Echo integer array')
8282
).actualState.output
8383
)]
8484
dependsOn:
85-
- "[resourceId('Test/Echo', 'Echo integer array')]"
85+
- "[resourceId('Microsoft.DSC.Debug/Echo', 'Echo integer array')]"
8686
```
8787
8888
```bash
@@ -92,7 +92,7 @@ dsc config get --document max.example.2.dsc.config.yaml
9292
```yaml
9393
results:
9494
- name: Echo integer array
95-
type: Test/Echo
95+
type: Microsoft.DSC.Debug/Echo
9696
result:
9797
actualState:
9898
output:
@@ -102,7 +102,7 @@ results:
102102
- 1
103103
- 7
104104
- name: Echo maximum integer
105-
type: Test/Echo
105+
type: Microsoft.DSC.Debug/Echo
106106
result:
107107
actualState:
108108
output: 7

0 commit comments

Comments
 (0)