From 03c461532b8661eb578c926cb09ab41ad54989b8 Mon Sep 17 00:00:00 2001 From: Sethuram S Date: Mon, 23 Dec 2024 14:24:40 +0530 Subject: [PATCH] Update configuration and applyupdate commands for Maintenance extension --- .../applyupdate/_create-or-update.md | 9 + Commands/maintenance/applyupdate/_show.md | 11 + Commands/maintenance/applyupdate/_update.md | 9 + Commands/maintenance/applyupdate/readme.md | 6 + Commands/maintenance/configuration/_create.md | 11 + Commands/maintenance/configuration/_delete.md | 11 + Commands/maintenance/configuration/_show.md | 11 + Commands/maintenance/configuration/_update.md | 11 + Commands/tree.json | 134 +++ .../2023-10-01-preview.json | 1 + .../2023-10-01-preview.xml | 914 ++++++++++++++++++ .../2023-10-01-preview.json | 1 + .../2023-10-01-preview.xml | 415 ++++++++ 13 files changed, 1544 insertions(+) create mode 100644 Commands/maintenance/applyupdate/_create-or-update.md create mode 100644 Commands/maintenance/applyupdate/_update.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.xml diff --git a/Commands/maintenance/applyupdate/_create-or-update.md b/Commands/maintenance/applyupdate/_create-or-update.md new file mode 100644 index 000000000..a9c9b445f --- /dev/null +++ b/Commands/maintenance/applyupdate/_create-or-update.md @@ -0,0 +1,9 @@ +# [Command] _maintenance applyupdate create-or-update_ + +Create maintenance updates to resource + +## Versions + +### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.xml) **Stable** + + diff --git a/Commands/maintenance/applyupdate/_show.md b/Commands/maintenance/applyupdate/_show.md index 87d399ffc..6827fc62a 100644 --- a/Commands/maintenance/applyupdate/_show.md +++ b/Commands/maintenance/applyupdate/_show.md @@ -14,3 +14,14 @@ Track maintenance updates to resource ```bash maintenance applyupdate show --name "e9b9685d-78e4-44c4-a81c-64a14f9b87b6" --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdtest1" --resource-type "virtualMachineScaleSets" ``` + +### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.xml) **Stable** + + + +#### examples + +- ApplyUpdates_Get + ```bash + maintenance applyupdate show --name "e9b9685d-78e4-44c4-a81c-64a14f9b87b6" --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdtest1" --resource-type "virtualMachineScaleSets" + ``` diff --git a/Commands/maintenance/applyupdate/_update.md b/Commands/maintenance/applyupdate/_update.md new file mode 100644 index 000000000..b382660f1 --- /dev/null +++ b/Commands/maintenance/applyupdate/_update.md @@ -0,0 +1,9 @@ +# [Command] _maintenance applyupdate update_ + +Update maintenance updates to resource + +## Versions + +### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.xml) **Stable** + + diff --git a/Commands/maintenance/applyupdate/readme.md b/Commands/maintenance/applyupdate/readme.md index dbbedf660..a20ae867c 100644 --- a/Commands/maintenance/applyupdate/readme.md +++ b/Commands/maintenance/applyupdate/readme.md @@ -7,6 +7,9 @@ Manage apply update with maintenance - [create](/Commands/maintenance/applyupdate/_create.md) : Apply maintenance updates to resource +- [create-or-update](/Commands/maintenance/applyupdate/_create-or-update.md) +: Create maintenance updates to resource + - [create-or-update-parent](/Commands/maintenance/applyupdate/_create-or-update-parent.md) : Apply maintenance updates to resource with parent @@ -18,3 +21,6 @@ Manage apply update with maintenance - [show-parent](/Commands/maintenance/applyupdate/_show-parent.md) : Track maintenance updates to resource with parent + +- [update](/Commands/maintenance/applyupdate/_update.md) +: Update maintenance updates to resource diff --git a/Commands/maintenance/configuration/_create.md b/Commands/maintenance/configuration/_create.md index ccaee7b53..3168e11e4 100644 --- a/Commands/maintenance/configuration/_create.md +++ b/Commands/maintenance/configuration/_create.md @@ -14,3 +14,14 @@ Create configuration record ```bash maintenance configuration create --location "westus2" --maintenance-scope "OSImage" --maintenance-window-duration "05:00" --maintenance-window-expiration-date-time "9999-12-31 00:00" --maintenance-window-recur-every "Day" --maintenance-window-start-date-time "2020-04-30 08:00" --maintenance-window-time-zone "Pacific Standard Time" --namespace "Microsoft.Maintenance" --visibility "Custom" --resource-group "examplerg" --resource-name "configuration1" ``` + +### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml) **Stable** + + + +#### examples + +- MaintenanceConfigurations_CreateOrUpdateForResource + ```bash + maintenance configuration create --location "westus2" --maintenance-scope "OSImage" --maintenance-window-duration "05:00" --maintenance-window-expiration-date-time "9999-12-31 00:00" --maintenance-window-recur-every "Day" --maintenance-window-start-date-time "2020-04-30 08:00" --maintenance-window-time-zone "Pacific Standard Time" --namespace "Microsoft.Maintenance" --visibility "Custom" --resource-group "examplerg" --resource-name "configuration1" + ``` diff --git a/Commands/maintenance/configuration/_delete.md b/Commands/maintenance/configuration/_delete.md index d4ee543b0..1f6bf5227 100644 --- a/Commands/maintenance/configuration/_delete.md +++ b/Commands/maintenance/configuration/_delete.md @@ -14,3 +14,14 @@ Delete Configuration record ```bash maintenance configuration delete --resource-group "examplerg" --resource-name "example1" ``` + +### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml) **Stable** + + + +#### examples + +- MaintenanceConfigurations_DeleteForResource + ```bash + maintenance configuration delete --resource-group "examplerg" --resource-name "example1" + ``` diff --git a/Commands/maintenance/configuration/_show.md b/Commands/maintenance/configuration/_show.md index 877ed9162..60a5d75cb 100644 --- a/Commands/maintenance/configuration/_show.md +++ b/Commands/maintenance/configuration/_show.md @@ -14,3 +14,14 @@ Get Configuration record ```bash maintenance configuration show --resource-group "examplerg" --resource-name "configuration1" ``` + +### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml) **Stable** + + + +#### examples + +- MaintenanceConfigurations_GetForResource + ```bash + maintenance configuration show --resource-group "examplerg" --resource-name "configuration1" + ``` diff --git a/Commands/maintenance/configuration/_update.md b/Commands/maintenance/configuration/_update.md index 0d5e0608f..91349557d 100644 --- a/Commands/maintenance/configuration/_update.md +++ b/Commands/maintenance/configuration/_update.md @@ -14,3 +14,14 @@ Update configuration record ```bash maintenance configuration update --location "westus2" --maintenance-scope "OSImage" --maintenance-window-duration "05:00" --maintenance-window-expiration-date-time "9999-12-31 00:00" --maintenance-window-recur-every "Month Third Sunday" --maintenance-window-start-date-time "2020-04-30 08:00" --maintenance-window-time-zone "Pacific Standard Time" --namespace "Microsoft.Maintenance" --visibility "Custom" --resource-group "examplerg" --resource-name "configuration1" ``` + +### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml) **Stable** + + + +#### examples + +- MaintenanceConfigurations_UpdateForResource + ```bash + maintenance configuration update --location "westus2" --maintenance-scope "OSImage" --maintenance-window-duration "05:00" --maintenance-window-expiration-date-time "9999-12-31 00:00" --maintenance-window-recur-every "Month Third Sunday" --maintenance-window-start-date-time "2020-04-30 08:00" --maintenance-window-time-zone "Pacific Standard Time" --namespace "Microsoft.Maintenance" --visibility "Custom" --resource-group "examplerg" --resource-name "configuration1" + ``` diff --git a/Commands/tree.json b/Commands/tree.json index cd3f8e3cf..fc3ac2a2e 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -64201,6 +64201,28 @@ } ] }, + "create-or-update": { + "help": { + "short": "Create maintenance updates to resource" + }, + "names": [ + "maintenance", + "applyupdate", + "create-or-update" + ], + "versions": [ + { + "name": "2023-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}", + "plane": "mgmt-plane", + "version": "2023-10-01-preview" + } + ] + } + ] + }, "create-or-update-parent": { "help": { "short": "Apply maintenance updates to resource with parent" @@ -64288,6 +64310,24 @@ "version": "2023-04-01" } ] + }, + { + "examples": [ + { + "commands": [ + "maintenance applyupdate show --name \"e9b9685d-78e4-44c4-a81c-64a14f9b87b6\" --provider-name \"Microsoft.Compute\" --resource-group \"examplerg\" --resource-name \"smdtest1\" --resource-type \"virtualMachineScaleSets\"" + ], + "name": "ApplyUpdates_Get" + } + ], + "name": "2023-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}", + "plane": "mgmt-plane", + "version": "2023-10-01-preview" + } + ] } ] }, @@ -64320,6 +64360,28 @@ ] } ] + }, + "update": { + "help": { + "short": "Update maintenance updates to resource" + }, + "names": [ + "maintenance", + "applyupdate", + "update" + ], + "versions": [ + { + "name": "2023-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}", + "plane": "mgmt-plane", + "version": "2023-10-01-preview" + } + ] + } + ] } }, "help": { @@ -64949,6 +65011,24 @@ "version": "2023-04-01" } ] + }, + { + "examples": [ + { + "commands": [ + "maintenance configuration create --location \"westus2\" --maintenance-scope \"OSImage\" --maintenance-window-duration \"05:00\" --maintenance-window-expiration-date-time \"9999-12-31 00:00\" --maintenance-window-recur-every \"Day\" --maintenance-window-start-date-time \"2020-04-30 08:00\" --maintenance-window-time-zone \"Pacific Standard Time\" --namespace \"Microsoft.Maintenance\" --visibility \"Custom\" --resource-group \"examplerg\" --resource-name \"configuration1\"" + ], + "name": "MaintenanceConfigurations_CreateOrUpdateForResource" + } + ], + "name": "2023-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", + "plane": "mgmt-plane", + "version": "2023-10-01-preview" + } + ] } ] }, @@ -64979,6 +65059,24 @@ "version": "2023-04-01" } ] + }, + { + "examples": [ + { + "commands": [ + "maintenance configuration delete --resource-group \"examplerg\" --resource-name \"example1\"" + ], + "name": "MaintenanceConfigurations_DeleteForResource" + } + ], + "name": "2023-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", + "plane": "mgmt-plane", + "version": "2023-10-01-preview" + } + ] } ] }, @@ -65044,6 +65142,24 @@ "version": "2023-04-01" } ] + }, + { + "examples": [ + { + "commands": [ + "maintenance configuration show --resource-group \"examplerg\" --resource-name \"configuration1\"" + ], + "name": "MaintenanceConfigurations_GetForResource" + } + ], + "name": "2023-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", + "plane": "mgmt-plane", + "version": "2023-10-01-preview" + } + ] } ] }, @@ -65074,6 +65190,24 @@ "version": "2023-04-01" } ] + }, + { + "examples": [ + { + "commands": [ + "maintenance configuration update --location \"westus2\" --maintenance-scope \"OSImage\" --maintenance-window-duration \"05:00\" --maintenance-window-expiration-date-time \"9999-12-31 00:00\" --maintenance-window-recur-every \"Month Third Sunday\" --maintenance-window-start-date-time \"2020-04-30 08:00\" --maintenance-window-time-zone \"Pacific Standard Time\" --namespace \"Microsoft.Maintenance\" --visibility \"Custom\" --resource-group \"examplerg\" --resource-name \"configuration1\"" + ], + "name": "MaintenanceConfigurations_UpdateForResource" + } + ], + "name": "2023-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", + "plane": "mgmt-plane", + "version": "2023-10-01-preview" + } + ] } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.json new file mode 100644 index 000000000..657ef97ba --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvbWFpbnRlbmFuY2VDb25maWd1cmF0aW9ucy97cmVzb3VyY2VOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "maintenance configuration", "commands": [{"name": "show", "version": "2023-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvbWFpbnRlbmFuY2VDb25maWd1cmF0aW9ucy97cmVzb3VyY2VOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "Maintenance Configuration Name"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MaintenanceConfigurations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionProperties", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "installPatches", "props": [{"type": "object", "name": "linuxParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToExclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToInclude", "item": {"type": "string"}}]}, {"default": {"value": "IfRequired"}, "type": "string", "name": "rebootSetting", "enum": {"items": [{"value": "Always"}, {"value": "IfRequired"}, {"value": "Never"}]}}, {"type": "object", "name": "windowsParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "boolean", "name": "excludeKbsRequiringReboot"}, {"type": "array", "name": "kbNumbersToExclude", "item": {"type": "string"}}, {"type": "array", "name": "kbNumbersToInclude", "item": {"type": "string"}}]}]}, {"type": "string", "name": "maintenanceScope", "enum": {"items": [{"value": "Extension"}, {"value": "Host"}, {"value": "InGuestPatch"}, {"value": "OSImage"}, {"value": "Resource"}, {"value": "SQLDB"}, {"value": "SQLManagedInstance"}]}}, {"type": "object", "name": "maintenanceWindow", "props": [{"type": "string", "name": "duration"}, {"type": "string", "name": "expirationDateTime"}, {"type": "string", "name": "recurEvery"}, {"type": "string", "name": "startDateTime"}, {"type": "string", "name": "timeZone"}], "clientFlatten": true}, {"type": "string", "name": "namespace"}, {"type": "string", "name": "visibility", "enum": {"items": [{"value": "Custom"}, {"value": "Public"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2023-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvbWFpbnRlbmFuY2VDb25maWd1cmF0aW9ucy97cmVzb3VyY2VOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "Maintenance Configuration Name"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MaintenanceConfigurations_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionProperties", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "installPatches", "props": [{"type": "object", "name": "linuxParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToExclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToInclude", "item": {"type": "string"}}]}, {"default": {"value": "IfRequired"}, "type": "string", "name": "rebootSetting", "enum": {"items": [{"value": "Always"}, {"value": "IfRequired"}, {"value": "Never"}]}}, {"type": "object", "name": "windowsParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "boolean", "name": "excludeKbsRequiringReboot"}, {"type": "array", "name": "kbNumbersToExclude", "item": {"type": "string"}}, {"type": "array", "name": "kbNumbersToInclude", "item": {"type": "string"}}]}]}, {"type": "string", "name": "maintenanceScope", "enum": {"items": [{"value": "Extension"}, {"value": "Host"}, {"value": "InGuestPatch"}, {"value": "OSImage"}, {"value": "Resource"}, {"value": "SQLDB"}, {"value": "SQLManagedInstance"}]}}, {"type": "object", "name": "maintenanceWindow", "props": [{"type": "string", "name": "duration"}, {"type": "string", "name": "expirationDateTime"}, {"type": "string", "name": "recurEvery"}, {"type": "string", "name": "startDateTime"}, {"type": "string", "name": "timeZone"}], "clientFlatten": true}, {"type": "string", "name": "namespace"}, {"type": "string", "name": "visibility", "enum": {"items": [{"value": "Custom"}, {"value": "Public"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvbWFpbnRlbmFuY2VDb25maWd1cmF0aW9ucy97cmVzb3VyY2VOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "Maintenance Configuration Name"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Configuration", "args": [{"type": "ResourceLocation", "var": "$configuration.location", "options": ["l", "location"], "group": "Configuration", "help": {"short": "Gets or sets location of the resource"}}, {"type": "object", "var": "$configuration.tags", "options": ["tags"], "group": "Configuration", "help": {"short": "Gets or sets tags of the resource"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "InstallPatches", "args": [{"type": "object", "var": "$configuration.properties.installPatches.linuxParameters", "options": ["linux-parameters", "install-patches-linux-parameters"], "group": "InstallPatches", "help": {"short": "Input parameters specific to patching Linux machine. For Windows machines, do not pass this property."}, "args": [{"type": "array", "var": "$configuration.properties.installPatches.linuxParameters.classificationsToInclude", "options": ["classifications-to-include-list"], "group": "", "help": {"short": "Classification category of patches to be patched. Allowed values are 'Critical', 'Security', and 'Other'."}, "item": {"type": "string"}, "singularOptions": ["classifications-to-include"]}, {"type": "array", "var": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToExclude", "options": ["package-name-masks-to-exclude-list"], "group": "", "help": {"short": "Package names to be excluded for patching."}, "item": {"type": "string"}, "singularOptions": ["package-name-masks-to-exclude"]}, {"type": "array", "var": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToInclude", "options": ["package-name-masks-to-include-list"], "group": "", "help": {"short": "Package names to be included for patching."}, "item": {"type": "string"}, "singularOptions": ["package-name-masks-to-include"]}]}, {"type": "string", "var": "$configuration.properties.installPatches.rebootSetting", "options": ["reboot-setting"], "group": "InstallPatches", "help": {"short": "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."}, "enum": {"items": [{"name": "Always", "value": "Always"}, {"name": "IfRequired", "value": "IfRequired"}, {"name": "Never", "value": "Never"}]}}, {"type": "object", "var": "$configuration.properties.installPatches.windowsParameters", "options": ["windows-parameters", "install-patches-windows-parameters"], "group": "InstallPatches", "help": {"short": "Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property."}, "args": [{"type": "array", "var": "$configuration.properties.installPatches.windowsParameters.classificationsToInclude", "options": ["classifications-to-include-list"], "group": "", "help": {"short": "Classification category of patches to be patched. Allowed values are 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', and 'Updates'."}, "item": {"type": "string"}, "singularOptions": ["classifications-to-include"]}, {"type": "boolean", "var": "$configuration.properties.installPatches.windowsParameters.excludeKbsRequiringReboot", "options": ["exclude-kbs-requiring-reboot"], "help": {"short": "Exclude patches which need reboot"}}, {"type": "array", "var": "$configuration.properties.installPatches.windowsParameters.kbNumbersToExclude", "options": ["kb-numbers-to-exclude-list"], "group": "", "help": {"short": "Windows KBID to be excluded for patching."}, "item": {"type": "string"}, "singularOptions": ["kb-numbers-to-exclude"]}, {"type": "array", "var": "$configuration.properties.installPatches.windowsParameters.kbNumbersToInclude", "options": ["kb-numbers-to-include-list"], "group": "", "help": {"short": "Windows KBID to be included for patching."}, "item": {"type": "string"}, "singularOptions": ["kb-numbers-to-exclude"]}]}]}, {"name": "MaintenanceWindow", "args": [{"type": "string", "var": "$configuration.properties.maintenanceWindow.duration", "options": ["duration", "maintenance-window-duration"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.expirationDateTime", "options": ["expiration-date-time", "maintenance-window-expiration-date-time"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.recurEvery", "options": ["recur-every", "maintenance-window-recur-every"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.startDateTime", "options": ["start-date-time", "maintenance-window-start-date-time"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.timeZone", "options": ["time-zone", "maintenance-window-time-zone"], "group": "MaintenanceWindow", "help": {"short": "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."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$configuration.properties.extensionProperties", "options": ["extension-properties"], "group": "Properties", "help": {"short": "Gets or sets extensionProperties of the maintenanceConfiguration"}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$configuration.properties.maintenanceScope", "options": ["maintenance-scope"], "group": "Properties", "help": {"short": "Gets or sets maintenanceScope of the configuration"}, "enum": {"items": [{"name": "Extension", "value": "Extension"}, {"name": "Host", "value": "Host"}, {"name": "InGuestPatch", "value": "InGuestPatch"}, {"name": "OSImage", "value": "OSImage"}, {"name": "Resource", "value": "Resource"}, {"name": "SQLDB", "value": "SQLDB"}, {"name": "SQLManagedInstance", "value": "SQLManagedInstance"}]}}, {"type": "string", "var": "$configuration.properties.namespace", "options": ["namespace"], "group": "Properties", "help": {"short": "Gets or sets namespace of the resource"}}, {"type": "string", "var": "$configuration.properties.visibility", "options": ["visibility"], "group": "Properties", "help": {"short": "Gets or sets the visibility of the configuration. The default value is 'Custom'"}, "enum": {"items": [{"name": "Custom", "value": "Custom"}, {"name": "Public", "value": "Public"}]}}]}], "operations": [{"operationId": "MaintenanceConfigurations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "configuration", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$configuration.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionProperties", "arg": "$configuration.properties.extensionProperties", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "installPatches", "props": [{"type": "object", "name": "linuxParameters", "arg": "$configuration.properties.installPatches.linuxParameters", "props": [{"type": "array", "name": "classificationsToInclude", "arg": "$configuration.properties.installPatches.linuxParameters.classificationsToInclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToExclude", "arg": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToExclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToInclude", "arg": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToInclude", "item": {"type": "string"}}]}, {"default": {"value": "IfRequired"}, "type": "string", "name": "rebootSetting", "arg": "$configuration.properties.installPatches.rebootSetting", "enum": {"items": [{"value": "Always"}, {"value": "IfRequired"}, {"value": "Never"}]}}, {"type": "object", "name": "windowsParameters", "arg": "$configuration.properties.installPatches.windowsParameters", "props": [{"type": "array", "name": "classificationsToInclude", "arg": "$configuration.properties.installPatches.windowsParameters.classificationsToInclude", "item": {"type": "string"}}, {"type": "boolean", "name": "excludeKbsRequiringReboot", "arg": "$configuration.properties.installPatches.windowsParameters.excludeKbsRequiringReboot"}, {"type": "array", "name": "kbNumbersToExclude", "arg": "$configuration.properties.installPatches.windowsParameters.kbNumbersToExclude", "item": {"type": "string"}}, {"type": "array", "name": "kbNumbersToInclude", "arg": "$configuration.properties.installPatches.windowsParameters.kbNumbersToInclude", "item": {"type": "string"}}]}]}, {"type": "string", "name": "maintenanceScope", "arg": "$configuration.properties.maintenanceScope", "enum": {"items": [{"value": "Extension"}, {"value": "Host"}, {"value": "InGuestPatch"}, {"value": "OSImage"}, {"value": "Resource"}, {"value": "SQLDB"}, {"value": "SQLManagedInstance"}]}}, {"type": "object", "name": "maintenanceWindow", "props": [{"type": "string", "name": "duration", "arg": "$configuration.properties.maintenanceWindow.duration"}, {"type": "string", "name": "expirationDateTime", "arg": "$configuration.properties.maintenanceWindow.expirationDateTime"}, {"type": "string", "name": "recurEvery", "arg": "$configuration.properties.maintenanceWindow.recurEvery"}, {"type": "string", "name": "startDateTime", "arg": "$configuration.properties.maintenanceWindow.startDateTime"}, {"type": "string", "name": "timeZone", "arg": "$configuration.properties.maintenanceWindow.timeZone"}], "clientFlatten": true}, {"type": "string", "name": "namespace", "arg": "$configuration.properties.namespace"}, {"type": "string", "name": "visibility", "arg": "$configuration.properties.visibility", "enum": {"items": [{"value": "Custom"}, {"value": "Public"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$configuration.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionProperties", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "installPatches", "props": [{"type": "object", "name": "linuxParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToExclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToInclude", "item": {"type": "string"}}]}, {"default": {"value": "IfRequired"}, "type": "string", "name": "rebootSetting", "enum": {"items": [{"value": "Always"}, {"value": "IfRequired"}, {"value": "Never"}]}}, {"type": "object", "name": "windowsParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "boolean", "name": "excludeKbsRequiringReboot"}, {"type": "array", "name": "kbNumbersToExclude", "item": {"type": "string"}}, {"type": "array", "name": "kbNumbersToInclude", "item": {"type": "string"}}]}]}, {"type": "string", "name": "maintenanceScope", "enum": {"items": [{"value": "Extension"}, {"value": "Host"}, {"value": "InGuestPatch"}, {"value": "OSImage"}, {"value": "Resource"}, {"value": "SQLDB"}, {"value": "SQLManagedInstance"}]}}, {"type": "object", "name": "maintenanceWindow", "props": [{"type": "string", "name": "duration"}, {"type": "string", "name": "expirationDateTime"}, {"type": "string", "name": "recurEvery"}, {"type": "string", "name": "startDateTime"}, {"type": "string", "name": "timeZone"}], "clientFlatten": true}, {"type": "string", "name": "namespace"}, {"type": "string", "name": "visibility", "enum": {"items": [{"value": "Custom"}, {"value": "Public"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.maintenance/maintenanceconfigurations/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFpbnRlbmFuY2UvbWFpbnRlbmFuY2VDb25maWd1cmF0aW9ucy97cmVzb3VyY2VOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["n", "name", "resource-name"], "required": true, "idPart": "name", "help": {"short": "Maintenance Configuration Name"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Configuration", "args": [{"type": "ResourceLocation", "var": "$configuration.location", "options": ["l", "location"], "group": "Configuration", "help": {"short": "Gets or sets location of the resource"}}, {"type": "object", "var": "$configuration.tags", "options": ["tags"], "group": "Configuration", "help": {"short": "Gets or sets tags of the resource"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "InstallPatches", "args": [{"type": "object", "var": "$configuration.properties.installPatches.linuxParameters", "options": ["linux-parameters", "install-patches-linux-parameters"], "group": "InstallPatches", "help": {"short": "Input parameters specific to patching Linux machine. For Windows machines, do not pass this property."}, "args": [{"type": "array", "var": "$configuration.properties.installPatches.linuxParameters.classificationsToInclude", "options": ["classifications-to-include-list"], "group": "", "help": {"short": "Classification category of patches to be patched. Allowed values are 'Critical', 'Security', and 'Other'."}, "item": {"type": "string"}, "singularOptions": ["classifications-to-include"]}, {"type": "array", "var": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToExclude", "options": ["package-name-masks-to-exclude-list"], "group": "", "help": {"short": "Package names to be excluded for patching."}, "item": {"type": "string"}, "singularOptions": ["package-name-masks-to-exclude"]}, {"type": "array", "var": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToInclude", "options": ["package-name-masks-to-include-list"], "group": "", "help": {"short": "Package names to be included for patching."}, "item": {"type": "string"}, "singularOptions": ["package-name-masks-to-include"]}]}, {"type": "string", "var": "$configuration.properties.installPatches.rebootSetting", "options": ["reboot-setting"], "group": "InstallPatches", "help": {"short": "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."}, "enum": {"items": [{"name": "Always", "value": "Always"}, {"name": "IfRequired", "value": "IfRequired"}, {"name": "Never", "value": "Never"}]}}, {"type": "object", "var": "$configuration.properties.installPatches.windowsParameters", "options": ["windows-parameters", "install-patches-windows-parameters"], "group": "InstallPatches", "help": {"short": "Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property."}, "args": [{"type": "array", "var": "$configuration.properties.installPatches.windowsParameters.classificationsToInclude", "options": ["classifications-to-include-list"], "group": "", "help": {"short": "Classification category of patches to be patched. Allowed values are 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', and 'Updates'."}, "item": {"type": "string"}, "singularOptions": ["classifications-to-include"]}, {"type": "boolean", "var": "$configuration.properties.installPatches.windowsParameters.excludeKbsRequiringReboot", "options": ["exclude-kbs-requiring-reboot"], "help": {"short": "Exclude patches which need reboot"}}, {"type": "array", "var": "$configuration.properties.installPatches.windowsParameters.kbNumbersToExclude", "options": ["kb-numbers-to-exclude-list"], "group": "", "help": {"short": "Windows KBID to be excluded for patching."}, "item": {"type": "string"}, "singularOptions": ["kb-numbers-to-exclude"]}, {"type": "array", "var": "$configuration.properties.installPatches.windowsParameters.kbNumbersToInclude", "options": ["kb-numbers-to-include-list"], "group": "", "help": {"short": "Windows KBID to be included for patching."}, "item": {"type": "string"}, "singularOptions": ["kb-numbers-to-exclude"]}]}]}, {"name": "MaintenanceWindow", "args": [{"type": "string", "var": "$configuration.properties.maintenanceWindow.duration", "options": ["duration", "maintenance-window-duration"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.expirationDateTime", "options": ["expiration-date-time", "maintenance-window-expiration-date-time"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.recurEvery", "options": ["recur-every", "maintenance-window-recur-every"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.startDateTime", "options": ["start-date-time", "maintenance-window-start-date-time"], "group": "MaintenanceWindow", "help": {"short": "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."}}, {"type": "string", "var": "$configuration.properties.maintenanceWindow.timeZone", "options": ["time-zone", "maintenance-window-time-zone"], "group": "MaintenanceWindow", "help": {"short": "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."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$configuration.properties.extensionProperties", "options": ["extension-properties"], "group": "Properties", "help": {"short": "Gets or sets extensionProperties of the maintenanceConfiguration"}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$configuration.properties.maintenanceScope", "options": ["maintenance-scope"], "group": "Properties", "help": {"short": "Gets or sets maintenanceScope of the configuration"}, "enum": {"items": [{"name": "Extension", "value": "Extension"}, {"name": "Host", "value": "Host"}, {"name": "InGuestPatch", "value": "InGuestPatch"}, {"name": "OSImage", "value": "OSImage"}, {"name": "Resource", "value": "Resource"}, {"name": "SQLDB", "value": "SQLDB"}, {"name": "SQLManagedInstance", "value": "SQLManagedInstance"}]}}, {"type": "string", "var": "$configuration.properties.namespace", "options": ["namespace"], "group": "Properties", "help": {"short": "Gets or sets namespace of the resource"}}, {"type": "string", "var": "$configuration.properties.visibility", "options": ["visibility"], "group": "Properties", "help": {"short": "Gets or sets the visibility of the configuration. The default value is 'Custom'"}, "enum": {"items": [{"name": "Custom", "value": "Custom"}, {"name": "Public", "value": "Public"}]}}]}], "operations": [{"operationId": "MaintenanceConfigurations_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "configuration", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$configuration.location"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionProperties", "arg": "$configuration.properties.extensionProperties", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "installPatches", "props": [{"type": "object", "name": "linuxParameters", "arg": "$configuration.properties.installPatches.linuxParameters", "props": [{"type": "array", "name": "classificationsToInclude", "arg": "$configuration.properties.installPatches.linuxParameters.classificationsToInclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToExclude", "arg": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToExclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToInclude", "arg": "$configuration.properties.installPatches.linuxParameters.packageNameMasksToInclude", "item": {"type": "string"}}]}, {"default": {"value": "IfRequired"}, "type": "string", "name": "rebootSetting", "arg": "$configuration.properties.installPatches.rebootSetting", "enum": {"items": [{"value": "Always"}, {"value": "IfRequired"}, {"value": "Never"}]}}, {"type": "object", "name": "windowsParameters", "arg": "$configuration.properties.installPatches.windowsParameters", "props": [{"type": "array", "name": "classificationsToInclude", "arg": "$configuration.properties.installPatches.windowsParameters.classificationsToInclude", "item": {"type": "string"}}, {"type": "boolean", "name": "excludeKbsRequiringReboot", "arg": "$configuration.properties.installPatches.windowsParameters.excludeKbsRequiringReboot"}, {"type": "array", "name": "kbNumbersToExclude", "arg": "$configuration.properties.installPatches.windowsParameters.kbNumbersToExclude", "item": {"type": "string"}}, {"type": "array", "name": "kbNumbersToInclude", "arg": "$configuration.properties.installPatches.windowsParameters.kbNumbersToInclude", "item": {"type": "string"}}]}]}, {"type": "string", "name": "maintenanceScope", "arg": "$configuration.properties.maintenanceScope", "enum": {"items": [{"value": "Extension"}, {"value": "Host"}, {"value": "InGuestPatch"}, {"value": "OSImage"}, {"value": "Resource"}, {"value": "SQLDB"}, {"value": "SQLManagedInstance"}]}}, {"type": "object", "name": "maintenanceWindow", "props": [{"type": "string", "name": "duration", "arg": "$configuration.properties.maintenanceWindow.duration"}, {"type": "string", "name": "expirationDateTime", "arg": "$configuration.properties.maintenanceWindow.expirationDateTime"}, {"type": "string", "name": "recurEvery", "arg": "$configuration.properties.maintenanceWindow.recurEvery"}, {"type": "string", "name": "startDateTime", "arg": "$configuration.properties.maintenanceWindow.startDateTime"}, {"type": "string", "name": "timeZone", "arg": "$configuration.properties.maintenanceWindow.timeZone"}], "clientFlatten": true}, {"type": "string", "name": "namespace", "arg": "$configuration.properties.namespace"}, {"type": "string", "name": "visibility", "arg": "$configuration.properties.visibility", "enum": {"items": [{"value": "Custom"}, {"value": "Public"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$configuration.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionProperties", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "installPatches", "props": [{"type": "object", "name": "linuxParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToExclude", "item": {"type": "string"}}, {"type": "array", "name": "packageNameMasksToInclude", "item": {"type": "string"}}]}, {"default": {"value": "IfRequired"}, "type": "string", "name": "rebootSetting", "enum": {"items": [{"value": "Always"}, {"value": "IfRequired"}, {"value": "Never"}]}}, {"type": "object", "name": "windowsParameters", "props": [{"type": "array", "name": "classificationsToInclude", "item": {"type": "string"}}, {"type": "boolean", "name": "excludeKbsRequiringReboot"}, {"type": "array", "name": "kbNumbersToExclude", "item": {"type": "string"}}, {"type": "array", "name": "kbNumbersToInclude", "item": {"type": "string"}}]}]}, {"type": "string", "name": "maintenanceScope", "enum": {"items": [{"value": "Extension"}, {"value": "Host"}, {"value": "InGuestPatch"}, {"value": "OSImage"}, {"value": "Resource"}, {"value": "SQLDB"}, {"value": "SQLManagedInstance"}]}}, {"type": "object", "name": "maintenanceWindow", "props": [{"type": "string", "name": "duration"}, {"type": "string", "name": "expirationDateTime"}, {"type": "string", "name": "recurEvery"}, {"type": "string", "name": "startDateTime"}, {"type": "string", "name": "timeZone"}], "clientFlatten": true}, {"type": "string", "name": "namespace"}, {"type": "string", "name": "visibility", "enum": {"items": [{"value": "Custom"}, {"value": "Public"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml new file mode 100644 index 000000000..d70a3c024 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tYWludGVuYW5jZS9tYWludGVuYW5jZWNvbmZpZ3VyYXRpb25zL3t9/2023-10-01-preview.xml @@ -0,0 +1,914 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.json new file mode 100644 index 000000000..286e80ec9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy97cHJvdmlkZXJOYW1lfS97cmVzb3VyY2VUeXBlfS97cmVzb3VyY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL2FwcGx5VXBkYXRlcy97YXBwbHlVcGRhdGVOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "maintenance applyupdate", "commands": [{"name": "show", "version": "2023-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy97cHJvdmlkZXJOYW1lfS97cmVzb3VyY2VUeXBlfS97cmVzb3VyY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL2FwcGx5VXBkYXRlcy97YXBwbHlVcGRhdGVOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.applyUpdateName", "options": ["n", "name", "apply-update-name"], "required": true, "idPart": "child_name_1", "help": {"short": "applyUpdate Id"}}, {"type": "string", "var": "$Path.providerName", "options": ["provider-name"], "required": true, "idPart": "namespace", "help": {"short": "Resource provider name"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "Resource identifier"}}, {"type": "string", "var": "$Path.resourceType", "options": ["resource-type"], "required": true, "idPart": "type", "help": {"short": "Resource type"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "ApplyUpdates_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "applyUpdateName", "arg": "$Path.applyUpdateName", "required": true}, {"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "resourceType", "arg": "$Path.resourceType", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "lastUpdateTime"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Cancel"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "InProgress"}, {"value": "NoUpdatesPending"}, {"value": "Pending"}, {"value": "RetryLater"}, {"value": "RetryNow"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy97cHJvdmlkZXJOYW1lfS97cmVzb3VyY2VUeXBlfS97cmVzb3VyY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL2FwcGx5VXBkYXRlcy97YXBwbHlVcGRhdGVOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.applyUpdateName", "options": ["n", "name", "apply-update-name"], "required": true, "idPart": "child_name_1", "help": {"short": "applyUpdate Id"}}, {"type": "string", "var": "$Path.providerName", "options": ["provider-name"], "required": true, "idPart": "namespace", "help": {"short": "Resource provider name"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "Resource identifier"}}, {"type": "string", "var": "$Path.resourceType", "options": ["resource-type"], "required": true, "idPart": "type", "help": {"short": "Resource type"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "dateTime", "var": "$applyUpdate.properties.lastUpdateTime", "options": ["last-update-time"], "group": "Properties", "help": {"short": "Last Update time"}}, {"nullable": true, "type": "string", "var": "$applyUpdate.properties.resourceId", "options": ["resource-id"], "group": "Properties", "help": {"short": "The resourceId"}}, {"nullable": true, "type": "string", "var": "$applyUpdate.properties.status", "options": ["status"], "group": "Properties", "help": {"short": "The status"}, "enum": {"items": [{"name": "Cancel", "value": "Cancel"}, {"name": "Cancelled", "value": "Cancelled"}, {"name": "Completed", "value": "Completed"}, {"name": "InProgress", "value": "InProgress"}, {"name": "NoUpdatesPending", "value": "NoUpdatesPending"}, {"name": "Pending", "value": "Pending"}, {"name": "RetryLater", "value": "RetryLater"}, {"name": "RetryNow", "value": "RetryNow"}]}}]}], "operations": [{"operationId": "ApplyUpdates_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "applyUpdateName", "arg": "$Path.applyUpdateName", "required": true}, {"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "resourceType", "arg": "$Path.resourceType", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "lastUpdateTime"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Cancel"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "InProgress"}, {"value": "NoUpdatesPending"}, {"value": "Pending"}, {"value": "RetryLater"}, {"value": "RetryNow"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ApplyUpdate_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "applyUpdate", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "lastUpdateTime", "arg": "$applyUpdate.properties.lastUpdateTime"}, {"type": "string", "name": "resourceId", "arg": "$applyUpdate.properties.resourceId"}, {"type": "string", "name": "status", "arg": "$applyUpdate.properties.status", "enum": {"items": [{"value": "Cancel"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "InProgress"}, {"value": "NoUpdatesPending"}, {"value": "Pending"}, {"value": "RetryLater"}, {"value": "RetryNow"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "ApplyUpdates_CreateOrUpdateOrCancel", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "applyUpdateName", "arg": "$Path.applyUpdateName", "required": true}, {"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "resourceType", "arg": "$Path.resourceType", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@ApplyUpdate_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "create-or-update", "version": "2023-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/{}/{}/{}/providers/microsoft.maintenance/applyupdates/{}", "version": "2023-10-01-preview", "swagger": "mgmt-plane/maintenance/ResourceProviders/Microsoft.Maintenance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy97cHJvdmlkZXJOYW1lfS97cmVzb3VyY2VUeXBlfS97cmVzb3VyY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk1haW50ZW5hbmNlL2FwcGx5VXBkYXRlcy97YXBwbHlVcGRhdGVOYW1lfQ==/V/MjAyMy0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.applyUpdateName", "options": ["n", "name", "apply-update-name"], "required": true, "idPart": "child_name_1", "help": {"short": "ApplyUpdate name"}}, {"type": "string", "var": "$Path.providerName", "options": ["provider-name"], "required": true, "idPart": "namespace", "help": {"short": "Resource provider name"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.resourceName", "options": ["resource-name"], "required": true, "idPart": "name", "help": {"short": "Resource identifier"}}, {"type": "string", "var": "$Path.resourceType", "options": ["resource-type"], "required": true, "idPart": "type", "help": {"short": "Resource type"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "dateTime", "var": "$applyUpdate.properties.lastUpdateTime", "options": ["last-update-time"], "group": "Properties", "help": {"short": "Last Update time"}}, {"type": "string", "var": "$applyUpdate.properties.resourceId", "options": ["resource-id"], "group": "Properties", "help": {"short": "The resourceId"}}, {"type": "string", "var": "$applyUpdate.properties.status", "options": ["status"], "group": "Properties", "help": {"short": "The status"}, "enum": {"items": [{"name": "Cancel", "value": "Cancel"}, {"name": "Cancelled", "value": "Cancelled"}, {"name": "Completed", "value": "Completed"}, {"name": "InProgress", "value": "InProgress"}, {"name": "NoUpdatesPending", "value": "NoUpdatesPending"}, {"name": "Pending", "value": "Pending"}, {"name": "RetryLater", "value": "RetryLater"}, {"name": "RetryNow", "value": "RetryNow"}]}}]}], "operations": [{"operationId": "ApplyUpdates_CreateOrUpdateOrCancel", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "applyUpdateName", "arg": "$Path.applyUpdateName", "required": true}, {"type": "string", "name": "providerName", "arg": "$Path.providerName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "resourceName", "arg": "$Path.resourceName", "required": true}, {"type": "string", "name": "resourceType", "arg": "$Path.resourceType", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-10-01-preview"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "applyUpdate", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "lastUpdateTime", "arg": "$applyUpdate.properties.lastUpdateTime"}, {"type": "string", "name": "resourceId", "arg": "$applyUpdate.properties.resourceId"}, {"type": "string", "name": "status", "arg": "$applyUpdate.properties.status", "enum": {"items": [{"value": "Cancel"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "InProgress"}, {"value": "NoUpdatesPending"}, {"value": "Pending"}, {"value": "RetryLater"}, {"value": "RetryNow"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "lastUpdateTime"}, {"type": "string", "name": "resourceId"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Cancel"}, {"value": "Cancelled"}, {"value": "Completed"}, {"value": "InProgress"}, {"value": "NoUpdatesPending"}, {"value": "Pending"}, {"value": "RetryLater"}, {"value": "RetryNow"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.xml new file mode 100644 index 000000000..39fe9e004 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL3t9L3t9L3t9L3Byb3ZpZGVycy9taWNyb3NvZnQubWFpbnRlbmFuY2UvYXBwbHl1cGRhdGVzL3t9/2023-10-01-preview.xml @@ -0,0 +1,415 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +