Skip to content

Commit cbed4a1

Browse files
author
SDKAuto
committed
CodeGen from PR 15512 in Azure/azure-rest-api-specs
Merge 99a52817e8c3306b15e1f1488db3b9487d10b9e8 into e77ce605fc14239b071218d52a75e7c3fafee58e
1 parent 069dc7c commit cbed4a1

File tree

1 file changed

+2
-249
lines changed

1 file changed

+2
-249
lines changed

schemas/2021-04-01-preview/Microsoft.Maintenance.json

Lines changed: 2 additions & 249 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"name": {
2121
"type": "string",
22-
"description": "Resource Identifier"
22+
"description": "Maintenance Configuration Name"
2323
},
2424
"properties": {
2525
"oneOf": [
@@ -177,168 +177,6 @@
177177
},
178178
"description": "Properties for configuration assignment"
179179
},
180-
"InputLinuxParameters": {
181-
"type": "object",
182-
"properties": {
183-
"classificationsToInclude": {
184-
"oneOf": [
185-
{
186-
"type": "array",
187-
"items": {
188-
"type": "string"
189-
}
190-
},
191-
{
192-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
193-
}
194-
],
195-
"description": "Classification category of patches to be patched"
196-
},
197-
"packageNameMasksToExclude": {
198-
"oneOf": [
199-
{
200-
"type": "array",
201-
"items": {
202-
"type": "string"
203-
}
204-
},
205-
{
206-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
207-
}
208-
],
209-
"description": "Package names to be excluded for patching."
210-
},
211-
"packageNameMasksToInclude": {
212-
"oneOf": [
213-
{
214-
"type": "array",
215-
"items": {
216-
"type": "string"
217-
}
218-
},
219-
{
220-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
221-
}
222-
],
223-
"description": "Package names to be included for patching."
224-
}
225-
},
226-
"description": "Input properties for patching a Linux machine."
227-
},
228-
"InputPatchConfiguration": {
229-
"type": "object",
230-
"properties": {
231-
"linuxParameters": {
232-
"oneOf": [
233-
{
234-
"$ref": "#/definitions/InputLinuxParameters"
235-
},
236-
{
237-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
238-
}
239-
],
240-
"description": "Input properties for patching a Linux machine."
241-
},
242-
"rebootSetting": {
243-
"oneOf": [
244-
{
245-
"type": "string",
246-
"enum": [
247-
"NeverReboot",
248-
"RebootIfRequired",
249-
"AlwaysReboot"
250-
]
251-
},
252-
{
253-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
254-
}
255-
],
256-
"description": "Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed."
257-
},
258-
"tasks": {
259-
"oneOf": [
260-
{
261-
"$ref": "#/definitions/SoftwareUpdateConfigurationTasks"
262-
},
263-
{
264-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
265-
}
266-
],
267-
"description": "Task properties of the software update configuration."
268-
},
269-
"windowsParameters": {
270-
"oneOf": [
271-
{
272-
"$ref": "#/definitions/InputWindowsParameters"
273-
},
274-
{
275-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
276-
}
277-
],
278-
"description": "Input properties for patching a Windows machine."
279-
}
280-
},
281-
"description": "Input configuration for a patch run"
282-
},
283-
"InputWindowsParameters": {
284-
"type": "object",
285-
"properties": {
286-
"classificationsToInclude": {
287-
"oneOf": [
288-
{
289-
"type": "array",
290-
"items": {
291-
"type": "string"
292-
}
293-
},
294-
{
295-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
296-
}
297-
],
298-
"description": "Classification category of patches to be patched"
299-
},
300-
"excludeKbsRequiringReboot": {
301-
"oneOf": [
302-
{
303-
"type": "boolean"
304-
},
305-
{
306-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
307-
}
308-
],
309-
"description": "Exclude patches which need reboot"
310-
},
311-
"kbNumbersToExclude": {
312-
"oneOf": [
313-
{
314-
"type": "array",
315-
"items": {
316-
"type": "string"
317-
}
318-
},
319-
{
320-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
321-
}
322-
],
323-
"description": "Windows KBID to be excluded for patching."
324-
},
325-
"kbNumbersToInclude": {
326-
"oneOf": [
327-
{
328-
"type": "array",
329-
"items": {
330-
"type": "string"
331-
}
332-
},
333-
{
334-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
335-
}
336-
],
337-
"description": "Windows KBID to be included for patching."
338-
}
339-
},
340-
"description": "Input properties for patching a Windows machine."
341-
},
342180
"MaintenanceConfigurationProperties": {
343181
"type": "object",
344182
"properties": {
@@ -357,17 +195,6 @@
357195
],
358196
"description": "Gets or sets extensionProperties of the maintenanceConfiguration"
359197
},
360-
"installPatches": {
361-
"oneOf": [
362-
{
363-
"$ref": "#/definitions/InputPatchConfiguration"
364-
},
365-
{
366-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
367-
}
368-
],
369-
"description": "Input configuration for a patch run"
370-
},
371198
"maintenanceScope": {
372199
"oneOf": [
373200
{
@@ -415,7 +242,7 @@
415242
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
416243
}
417244
],
418-
"description": "Gets or sets the visibility of the configuration."
245+
"description": "Gets or sets the visibility of the configuration. The default value is 'Custom'."
419246
}
420247
},
421248
"description": "Properties for maintenance configuration"
@@ -445,80 +272,6 @@
445272
}
446273
},
447274
"description": "Definition of a MaintenanceWindow"
448-
},
449-
"SoftwareUpdateConfigurationTasks": {
450-
"type": "object",
451-
"properties": {
452-
"postTasks": {
453-
"oneOf": [
454-
{
455-
"type": "array",
456-
"items": {
457-
"$ref": "#/definitions/TaskProperties"
458-
}
459-
},
460-
{
461-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
462-
}
463-
],
464-
"description": "List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]"
465-
},
466-
"preTasks": {
467-
"oneOf": [
468-
{
469-
"type": "array",
470-
"items": {
471-
"$ref": "#/definitions/TaskProperties"
472-
}
473-
},
474-
{
475-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
476-
}
477-
],
478-
"description": "List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]"
479-
}
480-
},
481-
"description": "Task properties of the software update configuration."
482-
},
483-
"TaskProperties": {
484-
"type": "object",
485-
"properties": {
486-
"parameters": {
487-
"oneOf": [
488-
{
489-
"type": "object",
490-
"additionalProperties": {
491-
"type": "string"
492-
},
493-
"properties": {}
494-
},
495-
{
496-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
497-
}
498-
],
499-
"description": "Gets or sets the parameters of the task."
500-
},
501-
"source": {
502-
"type": "string",
503-
"description": "Gets or sets the name of the runbook."
504-
},
505-
"taskScope": {
506-
"oneOf": [
507-
{
508-
"type": "string",
509-
"enum": [
510-
"Global",
511-
"Resource"
512-
]
513-
},
514-
{
515-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
516-
}
517-
],
518-
"description": "Global Task execute once when schedule trigger. Resource task execute for each VM."
519-
}
520-
},
521-
"description": "Task properties of the software update configuration."
522275
}
523276
}
524277
}

0 commit comments

Comments
 (0)