diff --git a/schemas/2018-06-01-preview/Microsoft.Maintenance.json b/schemas/2018-06-01-preview/Microsoft.Maintenance.json deleted file mode 100644 index c3cfdd2d2b..0000000000 --- a/schemas/2018-06-01-preview/Microsoft.Maintenance.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.Maintenance.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Maintenance", - "description": "Microsoft Maintenance Resource Types", - "resourceDefinitions": { - "maintenanceConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Gets or sets location of the resource" - }, - "name": { - "type": "string", - "description": "Resource Identifier" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for maintenance configuration" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets tags of the resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/maintenanceConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/maintenanceConfigurations" - } - }, - "extension_resourceDefinitions": { - "applyUpdates": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-06-01-preview" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/applyUpdates" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - "configurationAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Location of the resource" - }, - "name": { - "type": "string", - "description": "Configuration assignment name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConfigurationAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for configuration assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/configurationAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/configurationAssignments" - } - }, - "definitions": { - "ConfigurationAssignmentProperties": { - "type": "object", - "properties": { - "maintenanceConfigurationId": { - "type": "string", - "description": "The maintenance configuration Id" - }, - "resourceId": { - "type": "string", - "description": "The unique resourceId" - } - }, - "description": "Properties for configuration assignment" - }, - "MaintenanceConfigurationProperties": { - "type": "object", - "properties": { - "extensionProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets extensionProperties of the maintenanceConfiguration" - }, - "maintenanceScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Host", - "Resource", - "InResource" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets maintenanceScope of the configuration." - }, - "namespace": { - "type": "string", - "description": "Gets or sets namespace of the resource" - } - }, - "description": "Properties for maintenance configuration" - } - } -} \ No newline at end of file diff --git a/schemas/2020-04-01/Microsoft.Maintenance.json b/schemas/2020-04-01/Microsoft.Maintenance.json deleted file mode 100644 index f3e2e536aa..0000000000 --- a/schemas/2020-04-01/Microsoft.Maintenance.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.Maintenance.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Maintenance", - "description": "Microsoft Maintenance Resource Types", - "resourceDefinitions": { - "maintenanceConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "Gets or sets location of the resource" - }, - "name": { - "type": "string", - "description": "Resource Identifier" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for maintenance configuration" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets tags of the resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/maintenanceConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/maintenanceConfigurations" - } - }, - "extension_resourceDefinitions": { - "applyUpdates": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/applyUpdates" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - "configurationAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "Location of the resource" - }, - "name": { - "type": "string", - "description": "Configuration assignment name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConfigurationAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for configuration assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/configurationAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/configurationAssignments" - } - }, - "definitions": { - "ConfigurationAssignmentProperties": { - "type": "object", - "properties": { - "maintenanceConfigurationId": { - "type": "string", - "description": "The maintenance configuration Id" - }, - "resourceId": { - "type": "string", - "description": "The unique resourceId" - } - }, - "description": "Properties for configuration assignment" - }, - "MaintenanceConfigurationProperties": { - "type": "object", - "properties": { - "extensionProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc." - }, - "maintenanceScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Host", - "Resource", - "InResource" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance." - }, - "namespace": { - "type": "string", - "description": "Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql" - } - }, - "description": "Properties for maintenance configuration" - } - } -} \ No newline at end of file diff --git a/schemas/2020-07-01-preview/Microsoft.Maintenance.json b/schemas/2020-07-01-preview/Microsoft.Maintenance.json deleted file mode 100644 index db520e5d11..0000000000 --- a/schemas/2020-07-01-preview/Microsoft.Maintenance.json +++ /dev/null @@ -1,280 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Maintenance.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Maintenance", - "description": "Microsoft Maintenance Resource Types", - "resourceDefinitions": { - "maintenanceConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Gets or sets location of the resource" - }, - "name": { - "type": "string", - "description": "Resource Identifier" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for maintenance configuration" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets tags of the resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/maintenanceConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/maintenanceConfigurations" - } - }, - "extension_resourceDefinitions": { - "applyUpdates": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-01-preview" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/applyUpdates" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - "configurationAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Location of the resource" - }, - "name": { - "type": "string", - "description": "Configuration assignment name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConfigurationAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for configuration assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/configurationAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/configurationAssignments" - } - }, - "definitions": { - "ConfigurationAssignmentProperties": { - "type": "object", - "properties": { - "maintenanceConfigurationId": { - "type": "string", - "description": "The maintenance configuration Id" - }, - "resourceId": { - "type": "string", - "description": "The unique resourceId" - } - }, - "description": "Properties for configuration assignment" - }, - "MaintenanceConfigurationProperties": { - "type": "object", - "properties": { - "extensionProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets extensionProperties of the maintenanceConfiguration" - }, - "maintenanceScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Host", - "Resource", - "InResource", - "OSImage", - "Extension", - "InGuestPatch", - "SQLDB", - "SQLManagedInstance" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets maintenanceScope of the configuration." - }, - "maintenanceWindow": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceWindow" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definition of a MaintenanceWindow" - }, - "namespace": { - "type": "string", - "description": "Gets or sets namespace of the resource" - }, - "visibility": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Custom", - "Public" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the visibility of the configuration." - } - }, - "description": "Properties for maintenance configuration" - }, - "MaintenanceWindow": { - "type": "object", - "properties": { - "duration": { - "type": "string", - "description": "Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00." - }, - "expirationDateTime": { - "type": "string", - "description": "Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59." - }, - "recurEvery": { - "type": "string", - "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday." - }, - "startDateTime": { - "type": "string", - "description": "Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone." - }, - "timeZone": { - "type": "string", - "description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time." - } - }, - "description": "Definition of a MaintenanceWindow" - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-01-preview/Microsoft.Maintenance.json b/schemas/2021-04-01-preview/Microsoft.Maintenance.json deleted file mode 100644 index 0c2867ddcc..0000000000 --- a/schemas/2021-04-01-preview/Microsoft.Maintenance.json +++ /dev/null @@ -1,524 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Maintenance.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Maintenance", - "description": "Microsoft Maintenance Resource Types", - "resourceDefinitions": { - "maintenanceConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Gets or sets location of the resource" - }, - "name": { - "type": "string", - "description": "Maintenance Configuration Name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for maintenance configuration" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets tags of the resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/maintenanceConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/maintenanceConfigurations" - } - }, - "extension_resourceDefinitions": { - "applyUpdates": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/applyUpdates" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - "configurationAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Location of the resource" - }, - "name": { - "type": "string", - "description": "Configuration assignment name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConfigurationAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for configuration assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/configurationAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/configurationAssignments" - } - }, - "definitions": { - "ConfigurationAssignmentProperties": { - "type": "object", - "properties": { - "maintenanceConfigurationId": { - "type": "string", - "description": "The maintenance configuration Id" - }, - "resourceId": { - "type": "string", - "description": "The unique resourceId" - } - }, - "description": "Properties for configuration assignment" - }, - "InputLinuxParameters": { - "type": "object", - "properties": { - "classificationsToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Classification category of patches to be patched" - }, - "packageNameMasksToExclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Package names to be excluded for patching." - }, - "packageNameMasksToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Package names to be included for patching." - } - }, - "description": "Input properties for patching a Linux machine." - }, - "InputPatchConfiguration": { - "type": "object", - "properties": { - "linuxParameters": { - "oneOf": [ - { - "$ref": "#/definitions/InputLinuxParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input properties for patching a Linux machine." - }, - "rebootSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NeverReboot", - "RebootIfRequired", - "AlwaysReboot" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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." - }, - "tasks": { - "oneOf": [ - { - "$ref": "#/definitions/SoftwareUpdateConfigurationTasks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Task properties of the software update configuration." - }, - "windowsParameters": { - "oneOf": [ - { - "$ref": "#/definitions/InputWindowsParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input properties for patching a Windows machine." - } - }, - "description": "Input configuration for a patch run" - }, - "InputWindowsParameters": { - "type": "object", - "properties": { - "classificationsToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Classification category of patches to be patched" - }, - "excludeKbsRequiringReboot": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Exclude patches which need reboot" - }, - "kbNumbersToExclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Windows KBID to be excluded for patching." - }, - "kbNumbersToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Windows KBID to be included for patching." - } - }, - "description": "Input properties for patching a Windows machine." - }, - "MaintenanceConfigurationProperties": { - "type": "object", - "properties": { - "extensionProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets extensionProperties of the maintenanceConfiguration" - }, - "installPatches": { - "oneOf": [ - { - "$ref": "#/definitions/InputPatchConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input configuration for a patch run" - }, - "maintenanceScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Host", - "OSImage", - "Extension", - "InGuestPatch", - "SQLDB", - "SQLManagedInstance" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets maintenanceScope of the configuration." - }, - "maintenanceWindow": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceWindow" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definition of a MaintenanceWindow" - }, - "namespace": { - "type": "string", - "description": "Gets or sets namespace of the resource" - }, - "visibility": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Custom", - "Public" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the visibility of the configuration. The default value is 'Custom'." - } - }, - "description": "Properties for maintenance configuration" - }, - "MaintenanceWindow": { - "type": "object", - "properties": { - "duration": { - "type": "string", - "description": "Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00." - }, - "expirationDateTime": { - "type": "string", - "description": "Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59." - }, - "recurEvery": { - "type": "string", - "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6." - }, - "startDateTime": { - "type": "string", - "description": "Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone." - }, - "timeZone": { - "type": "string", - "description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time." - } - }, - "description": "Definition of a MaintenanceWindow" - }, - "SoftwareUpdateConfigurationTasks": { - "type": "object", - "properties": { - "postTasks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TaskProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]" - }, - "preTasks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TaskProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]" - } - }, - "description": "Task properties of the software update configuration." - }, - "TaskProperties": { - "type": "object", - "properties": { - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the parameters of the task." - }, - "source": { - "type": "string", - "description": "Gets or sets the name of the runbook." - }, - "taskScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Global", - "Resource" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Global Task execute once when schedule trigger. Resource task execute for each VM." - } - }, - "description": "Task properties of the software update configuration." - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-01/Microsoft.Maintenance.json b/schemas/2021-05-01/Microsoft.Maintenance.json deleted file mode 100644 index 23b28a2c83..0000000000 --- a/schemas/2021-05-01/Microsoft.Maintenance.json +++ /dev/null @@ -1,277 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Maintenance.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Maintenance", - "description": "Microsoft Maintenance Resource Types", - "resourceDefinitions": { - "maintenanceConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "location": { - "type": "string", - "description": "Gets or sets location of the resource" - }, - "name": { - "type": "string", - "description": "Maintenance Configuration Name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for maintenance configuration" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets tags of the resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/maintenanceConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/maintenanceConfigurations" - } - }, - "extension_resourceDefinitions": { - "applyUpdates": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/applyUpdates" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - "configurationAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "location": { - "type": "string", - "description": "Location of the resource" - }, - "name": { - "type": "string", - "description": "Configuration assignment name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConfigurationAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for configuration assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/configurationAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/configurationAssignments" - } - }, - "definitions": { - "ConfigurationAssignmentProperties": { - "type": "object", - "properties": { - "maintenanceConfigurationId": { - "type": "string", - "description": "The maintenance configuration Id" - }, - "resourceId": { - "type": "string", - "description": "The unique resourceId" - } - }, - "description": "Properties for configuration assignment" - }, - "MaintenanceConfigurationProperties": { - "type": "object", - "properties": { - "extensionProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets extensionProperties of the maintenanceConfiguration" - }, - "maintenanceScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Host", - "OSImage", - "Extension", - "InGuestPatch", - "SQLDB", - "SQLManagedInstance" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets maintenanceScope of the configuration." - }, - "maintenanceWindow": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceWindow" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definition of a MaintenanceWindow" - }, - "namespace": { - "type": "string", - "description": "Gets or sets namespace of the resource" - }, - "visibility": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Custom", - "Public" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the visibility of the configuration. The default value is 'Custom'." - } - }, - "description": "Properties for maintenance configuration" - }, - "MaintenanceWindow": { - "type": "object", - "properties": { - "duration": { - "type": "string", - "description": "Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00." - }, - "expirationDateTime": { - "type": "string", - "description": "Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59." - }, - "recurEvery": { - "type": "string", - "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday." - }, - "startDateTime": { - "type": "string", - "description": "Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone." - }, - "timeZone": { - "type": "string", - "description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time." - } - }, - "description": "Definition of a MaintenanceWindow" - } - } -} \ No newline at end of file diff --git a/schemas/2021-09-01-preview/Microsoft.Maintenance.json b/schemas/2021-09-01-preview/Microsoft.Maintenance.json deleted file mode 100644 index 5a2bed43f7..0000000000 --- a/schemas/2021-09-01-preview/Microsoft.Maintenance.json +++ /dev/null @@ -1,524 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Maintenance.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Maintenance", - "description": "Microsoft Maintenance Resource Types", - "resourceDefinitions": { - "maintenanceConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Gets or sets location of the resource" - }, - "name": { - "type": "string", - "description": "Maintenance Configuration Name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for maintenance configuration" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets tags of the resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/maintenanceConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/maintenanceConfigurations" - } - }, - "extension_resourceDefinitions": { - "applyUpdates": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/applyUpdates" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - "configurationAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Location of the resource" - }, - "name": { - "type": "string", - "description": "Configuration assignment name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConfigurationAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for configuration assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/configurationAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/configurationAssignments" - } - }, - "definitions": { - "ConfigurationAssignmentProperties": { - "type": "object", - "properties": { - "maintenanceConfigurationId": { - "type": "string", - "description": "The maintenance configuration Id" - }, - "resourceId": { - "type": "string", - "description": "The unique resourceId" - } - }, - "description": "Properties for configuration assignment" - }, - "InputLinuxParameters": { - "type": "object", - "properties": { - "classificationsToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Classification category of patches to be patched" - }, - "packageNameMasksToExclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Package names to be excluded for patching." - }, - "packageNameMasksToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Package names to be included for patching." - } - }, - "description": "Input properties for patching a Linux machine. This property only applies to Guest (InGuestPatch) scope." - }, - "InputPatchConfiguration": { - "type": "object", - "properties": { - "linuxParameters": { - "oneOf": [ - { - "$ref": "#/definitions/InputLinuxParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input properties for patching a Linux machine. This property only applies to Guest (InGuestPatch) scope." - }, - "rebootSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "IfRequired", - "Never", - "Always" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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. This property only applies to Guest (InGuestPatch) scope." - }, - "tasks": { - "oneOf": [ - { - "$ref": "#/definitions/SoftwareUpdateConfigurationTasks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] Task properties of the software update configuration." - }, - "windowsParameters": { - "oneOf": [ - { - "$ref": "#/definitions/InputWindowsParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input properties for patching a Windows machine. This property only applies to Guest (InGuestPatch) scope." - } - }, - "description": "Input configuration for a patch run" - }, - "InputWindowsParameters": { - "type": "object", - "properties": { - "classificationsToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Classification category of patches to be patched" - }, - "excludeKbsRequiringReboot": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Exclude patches which need reboot" - }, - "kbNumbersToExclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Windows KBID to be excluded for patching." - }, - "kbNumbersToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Windows KBID to be included for patching." - } - }, - "description": "Input properties for patching a Windows machine. This property only applies to Guest (InGuestPatch) scope." - }, - "MaintenanceConfigurationProperties": { - "type": "object", - "properties": { - "extensionProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets extensionProperties of the maintenanceConfiguration" - }, - "installPatches": { - "oneOf": [ - { - "$ref": "#/definitions/InputPatchConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input configuration for a patch run" - }, - "maintenanceScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Host", - "OSImage", - "Extension", - "InGuestPatch", - "SQLDB", - "SQLManagedInstance" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets maintenanceScope of the configuration." - }, - "maintenanceWindow": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceWindow" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definition of a MaintenanceWindow" - }, - "namespace": { - "type": "string", - "description": "Gets or sets namespace of the resource" - }, - "visibility": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Custom", - "Public" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the visibility of the configuration. The default value is 'Custom'." - } - }, - "description": "Properties for maintenance configuration" - }, - "MaintenanceWindow": { - "type": "object", - "properties": { - "duration": { - "type": "string", - "description": "Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00." - }, - "expirationDateTime": { - "type": "string", - "description": "Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59." - }, - "recurEvery": { - "type": "string", - "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6." - }, - "startDateTime": { - "type": "string", - "description": "Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone." - }, - "timeZone": { - "type": "string", - "description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time." - } - }, - "description": "Definition of a MaintenanceWindow" - }, - "SoftwareUpdateConfigurationTasks": { - "type": "object", - "properties": { - "postTasks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TaskProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]" - }, - "preTasks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TaskProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]" - } - }, - "description": "[Not supported] Task properties of the software update configuration." - }, - "TaskProperties": { - "type": "object", - "properties": { - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] Gets or sets the parameters of the task." - }, - "source": { - "type": "string", - "description": "[Not supported] Gets or sets the name of the runbook." - }, - "taskScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Global", - "Resource" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] Global Task execute once when schedule trigger. Resource task execute for each VM." - } - }, - "description": "[Not supported] Task properties of the software update configuration." - } - } -} \ No newline at end of file diff --git a/schemas/2022-07-01-preview/Microsoft.Maintenance.json b/schemas/2022-07-01-preview/Microsoft.Maintenance.json deleted file mode 100644 index d07f520a2d..0000000000 --- a/schemas/2022-07-01-preview/Microsoft.Maintenance.json +++ /dev/null @@ -1,525 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-07-01-preview/Microsoft.Maintenance.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Maintenance", - "description": "Microsoft Maintenance Resource Types", - "resourceDefinitions": { - "maintenanceConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Gets or sets location of the resource" - }, - "name": { - "type": "string", - "description": "Maintenance Configuration Name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for maintenance configuration" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets tags of the resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/maintenanceConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/maintenanceConfigurations" - } - }, - "extension_resourceDefinitions": { - "applyUpdates": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "default" - ] - } - }, - "required": [ - "name" - ], - "description": "Microsoft.Maintenance/applyUpdates" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-07-01-preview" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/applyUpdates" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.Maintenance/applyUpdates" - }, - "configurationAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Location of the resource" - }, - "name": { - "type": "string", - "description": "Configuration assignment name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConfigurationAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for configuration assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Maintenance/configurationAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Maintenance/configurationAssignments" - } - }, - "definitions": { - "ConfigurationAssignmentProperties": { - "type": "object", - "properties": { - "maintenanceConfigurationId": { - "type": "string", - "description": "The maintenance configuration Id" - }, - "resourceId": { - "type": "string", - "description": "The unique resourceId" - } - }, - "description": "Properties for configuration assignment" - }, - "InputLinuxParameters": { - "type": "object", - "properties": { - "classificationsToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Classification category of patches to be patched" - }, - "packageNameMasksToExclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Package names to be excluded for patching." - }, - "packageNameMasksToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Package names to be included for patching." - } - }, - "description": "Input properties for patching a Linux machine. This property only applies to Guest (InGuestPatch) scope." - }, - "InputPatchConfiguration": { - "type": "object", - "properties": { - "linuxParameters": { - "oneOf": [ - { - "$ref": "#/definitions/InputLinuxParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input properties for patching a Linux machine. This property only applies to Guest (InGuestPatch) scope." - }, - "rebootSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "IfRequired", - "Never", - "Always" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "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. This property only applies to Guest (InGuestPatch) scope." - }, - "tasks": { - "oneOf": [ - { - "$ref": "#/definitions/SoftwareUpdateConfigurationTasks" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] Task properties of the software update configuration." - }, - "windowsParameters": { - "oneOf": [ - { - "$ref": "#/definitions/InputWindowsParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input properties for patching a Windows machine. This property only applies to Guest (InGuestPatch) scope." - } - }, - "description": "Input configuration for a patch run" - }, - "InputWindowsParameters": { - "type": "object", - "properties": { - "classificationsToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Classification category of patches to be patched" - }, - "excludeKbsRequiringReboot": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Exclude patches which need reboot" - }, - "kbNumbersToExclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Windows KBID to be excluded for patching." - }, - "kbNumbersToInclude": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Windows KBID to be included for patching." - } - }, - "description": "Input properties for patching a Windows machine. This property only applies to Guest (InGuestPatch) scope." - }, - "MaintenanceConfigurationProperties": { - "type": "object", - "properties": { - "extensionProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets extensionProperties of the maintenanceConfiguration" - }, - "installPatches": { - "oneOf": [ - { - "$ref": "#/definitions/InputPatchConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Input configuration for a patch run" - }, - "maintenanceScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Host", - "Resource", - "OSImage", - "Extension", - "InGuestPatch", - "SQLDB", - "SQLManagedInstance" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets maintenanceScope of the configuration." - }, - "maintenanceWindow": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceWindow" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definition of a MaintenanceWindow" - }, - "namespace": { - "type": "string", - "description": "Gets or sets namespace of the resource" - }, - "visibility": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Custom", - "Public" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the visibility of the configuration. The default value is 'Custom'." - } - }, - "description": "Properties for maintenance configuration" - }, - "MaintenanceWindow": { - "type": "object", - "properties": { - "duration": { - "type": "string", - "description": "Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00." - }, - "expirationDateTime": { - "type": "string", - "description": "Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59." - }, - "recurEvery": { - "type": "string", - "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6." - }, - "startDateTime": { - "type": "string", - "description": "Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone." - }, - "timeZone": { - "type": "string", - "description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time." - } - }, - "description": "Definition of a MaintenanceWindow" - }, - "SoftwareUpdateConfigurationTasks": { - "type": "object", - "properties": { - "postTasks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TaskProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]" - }, - "preTasks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TaskProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]" - } - }, - "description": "[Not supported] Task properties of the software update configuration." - }, - "TaskProperties": { - "type": "object", - "properties": { - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] Gets or sets the parameters of the task." - }, - "source": { - "type": "string", - "description": "[Not supported] Gets or sets the name of the runbook." - }, - "taskScope": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Global", - "Resource" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "[Not supported] Global Task execute once when schedule trigger. Resource task execute for each VM." - } - }, - "description": "[Not supported] Task properties of the software update configuration." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index efe50d5250..e924c0dfc8 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -13921,27 +13921,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-10-01-preview/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_schedules" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-07-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" - }, { "$ref": "https://schema.management.azure.com/schemas/2015-08-31-preview/Microsoft.ManagedIdentity.json#/resourceDefinitions/userAssignedIdentities" },