-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathgroups.dsc.yaml
More file actions
41 lines (41 loc) · 1.33 KB
/
groups.dsc.yaml
File metadata and controls
41 lines (41 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Example for grouping and groups in groups
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
metadata:
Microsoft.DSC:
requiredSecurityContext: current # this is the default and just used as an example indicating this config works for admins and non-admins
resources:
- name: Last Group
type: Microsoft.DSC/Group
properties:
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: Last
type: Microsoft.DSC.Debug/Echo
properties:
output: Last
dependsOn:
- "[resourceId('Microsoft.DSC/Group','First Group')]"
- name: First Group
type: Microsoft.DSC/Group
properties:
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: First
type: Microsoft.DSC.Debug/Echo
properties:
output: First
- name: Nested Group
type: Microsoft.DSC/Group
properties:
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: Nested Second
type: Microsoft.DSC.Debug/Echo
properties:
output: Nested Second
dependsOn:
- "[resourceId('Microsoft.DSC.Debug/Echo','Nested First')]"
- name: Nested First
type: Microsoft.DSC.Debug/Echo
properties:
output: Nested First