1
+ {
2
+ "id" : " https://schema.management.azure.com/schemas/2022-01-25/Microsoft.GuestConfiguration.json#" ,
3
+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
4
+ "title" : " Microsoft.GuestConfiguration" ,
5
+ "description" : " Microsoft GuestConfiguration Resource Types" ,
6
+ "resourceDefinitions" : {},
7
+ "extension_resourceDefinitions" : {
8
+ "guestConfigurationAssignments" : {
9
+ "type" : " object" ,
10
+ "properties" : {
11
+ "apiVersion" : {
12
+ "type" : " string" ,
13
+ "enum" : [
14
+ " 2022-01-25"
15
+ ]
16
+ },
17
+ "location" : {
18
+ "type" : " string" ,
19
+ "description" : " Region where the VM is located."
20
+ },
21
+ "name" : {
22
+ "type" : " string" ,
23
+ "description" : " Name of the guest configuration assignment."
24
+ },
25
+ "properties" : {
26
+ "oneOf" : [
27
+ {
28
+ "$ref" : " #/definitions/GuestConfigurationAssignmentProperties"
29
+ },
30
+ {
31
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
32
+ }
33
+ ],
34
+ "description" : " Guest configuration assignment properties."
35
+ },
36
+ "type" : {
37
+ "type" : " string" ,
38
+ "enum" : [
39
+ " Microsoft.GuestConfiguration/guestConfigurationAssignments"
40
+ ]
41
+ }
42
+ },
43
+ "required" : [
44
+ " apiVersion" ,
45
+ " name" ,
46
+ " properties" ,
47
+ " type"
48
+ ],
49
+ "description" : " Microsoft.GuestConfiguration/guestConfigurationAssignments"
50
+ }
51
+ },
52
+ "definitions" : {
53
+ "AssignmentInfo" : {
54
+ "type" : " object" ,
55
+ "properties" : {
56
+ "configuration" : {
57
+ "oneOf" : [
58
+ {
59
+ "$ref" : " #/definitions/ConfigurationInfo"
60
+ },
61
+ {
62
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
63
+ }
64
+ ],
65
+ "description" : " Information about the configuration."
66
+ }
67
+ },
68
+ "description" : " Information about the guest configuration assignment."
69
+ },
70
+ "AssignmentReport" : {
71
+ "type" : " object" ,
72
+ "properties" : {
73
+ "assignment" : {
74
+ "oneOf" : [
75
+ {
76
+ "$ref" : " #/definitions/AssignmentInfo"
77
+ },
78
+ {
79
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
80
+ }
81
+ ],
82
+ "description" : " Information about the guest configuration assignment."
83
+ },
84
+ "resources" : {
85
+ "type" : " array" ,
86
+ "items" : {
87
+ "$ref" : " #/definitions/AssignmentReportResource"
88
+ },
89
+ "description" : " The list of resources for which guest configuration assignment compliance is checked."
90
+ },
91
+ "vm" : {
92
+ "oneOf" : [
93
+ {
94
+ "$ref" : " #/definitions/VMInfo"
95
+ },
96
+ {
97
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
98
+ }
99
+ ],
100
+ "description" : " Information about the VM."
101
+ }
102
+ }
103
+ },
104
+ "AssignmentReportResource" : {
105
+ "type" : " object" ,
106
+ "properties" : {
107
+ "reasons" : {
108
+ "oneOf" : [
109
+ {
110
+ "type" : " array" ,
111
+ "items" : {
112
+ "$ref" : " #/definitions/AssignmentReportResourceComplianceReason"
113
+ }
114
+ },
115
+ {
116
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
117
+ }
118
+ ],
119
+ "description" : " Compliance reason and reason code for a resource."
120
+ }
121
+ },
122
+ "description" : " The guest configuration assignment resource."
123
+ },
124
+ "AssignmentReportResourceComplianceReason" : {
125
+ "type" : " object" ,
126
+ "properties" : {},
127
+ "description" : " Reason and code for the compliance of the guest configuration assignment resource."
128
+ },
129
+ "ConfigurationInfo" : {
130
+ "type" : " object" ,
131
+ "properties" : {},
132
+ "description" : " Information about the configuration."
133
+ },
134
+ "ConfigurationParameter" : {
135
+ "type" : " object" ,
136
+ "properties" : {
137
+ "name" : {
138
+ "type" : " string" ,
139
+ "description" : " Name of the configuration parameter."
140
+ },
141
+ "value" : {
142
+ "type" : " string" ,
143
+ "description" : " Value of the configuration parameter."
144
+ }
145
+ },
146
+ "description" : " Represents a configuration parameter."
147
+ },
148
+ "GuestConfigurationAssignmentProperties" : {
149
+ "type" : " object" ,
150
+ "properties" : {
151
+ "context" : {
152
+ "type" : " string" ,
153
+ "description" : " The source which initiated the guest configuration assignment. Ex: Azure Policy"
154
+ },
155
+ "guestConfiguration" : {
156
+ "oneOf" : [
157
+ {
158
+ "$ref" : " #/definitions/GuestConfigurationNavigation"
159
+ },
160
+ {
161
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
162
+ }
163
+ ],
164
+ "description" : " Guest configuration is an artifact that encapsulates DSC configuration and its dependencies. The artifact is a zip file containing DSC configuration (as MOF) and dependent resources and other dependencies like modules."
165
+ },
166
+ "latestAssignmentReport" : {
167
+ "oneOf" : [
168
+ {
169
+ "$ref" : " #/definitions/AssignmentReport"
170
+ },
171
+ {
172
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
173
+ }
174
+ ]
175
+ },
176
+ "vmssVMList" : {
177
+ "oneOf" : [
178
+ {
179
+ "type" : " array" ,
180
+ "items" : {
181
+ "$ref" : " #/definitions/VMSSVMInfo"
182
+ }
183
+ },
184
+ {
185
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
186
+ }
187
+ ],
188
+ "description" : " The list of VM Compliance data for VMSS"
189
+ }
190
+ },
191
+ "description" : " Guest configuration assignment properties."
192
+ },
193
+ "GuestConfigurationNavigation" : {
194
+ "type" : " object" ,
195
+ "properties" : {
196
+ "assignmentType" : {
197
+ "oneOf" : [
198
+ {
199
+ "type" : " string" ,
200
+ "enum" : [
201
+ " Audit" ,
202
+ " DeployAndAutoCorrect" ,
203
+ " ApplyAndAutoCorrect" ,
204
+ " ApplyAndMonitor"
205
+ ]
206
+ },
207
+ {
208
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
209
+ }
210
+ ],
211
+ "description" : " Specifies the assignment type and execution of the configuration. Possible values are Audit, DeployAndAutoCorrect, ApplyAndAutoCorrect and ApplyAndMonitor."
212
+ },
213
+ "configurationParameter" : {
214
+ "oneOf" : [
215
+ {
216
+ "type" : " array" ,
217
+ "items" : {
218
+ "$ref" : " #/definitions/ConfigurationParameter"
219
+ }
220
+ },
221
+ {
222
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
223
+ }
224
+ ],
225
+ "description" : " The configuration parameters for the guest configuration."
226
+ },
227
+ "configurationProtectedParameter" : {
228
+ "oneOf" : [
229
+ {
230
+ "type" : " array" ,
231
+ "items" : {
232
+ "$ref" : " #/definitions/ConfigurationParameter"
233
+ }
234
+ },
235
+ {
236
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
237
+ }
238
+ ],
239
+ "description" : " The protected configuration parameters for the guest configuration."
240
+ },
241
+ "contentHash" : {
242
+ "type" : " string" ,
243
+ "description" : " Combined hash of the guest configuration package and configuration parameters."
244
+ },
245
+ "contentUri" : {
246
+ "type" : " string" ,
247
+ "description" : " Uri of the storage where guest configuration package is uploaded."
248
+ },
249
+ "kind" : {
250
+ "oneOf" : [
251
+ {
252
+ "type" : " string" ,
253
+ "enum" : [
254
+ " DSC"
255
+ ]
256
+ },
257
+ {
258
+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
259
+ }
260
+ ],
261
+ "description" : " Kind of the guest configuration. For example:DSC."
262
+ },
263
+ "name" : {
264
+ "type" : " string" ,
265
+ "description" : " Name of the guest configuration."
266
+ },
267
+ "version" : {
268
+ "type" : " string" ,
269
+ "description" : " Version of the guest configuration."
270
+ }
271
+ },
272
+ "description" : " Guest configuration is an artifact that encapsulates DSC configuration and its dependencies. The artifact is a zip file containing DSC configuration (as MOF) and dependent resources and other dependencies like modules."
273
+ },
274
+ "VMInfo" : {
275
+ "type" : " object" ,
276
+ "properties" : {},
277
+ "description" : " Information about the VM."
278
+ },
279
+ "VMSSVMInfo" : {
280
+ "type" : " object" ,
281
+ "properties" : {},
282
+ "description" : " Information about VMSS VM"
283
+ }
284
+ }
285
+ }
0 commit comments