From f26597aee7f3b65d17c864e6a09e0103f6ff130c Mon Sep 17 00:00:00 2001 From: "Kartik Mahajan (from Dev Box)" Date: Mon, 29 Apr 2024 14:52:23 +0530 Subject: [PATCH 1/2] cmk changes added --- .../dataprotection/backup-vault/_create.md | 22 + .../dataprotection/backup-vault/_delete.md | 11 + Commands/dataprotection/backup-vault/_list.md | 17 + Commands/dataprotection/backup-vault/_show.md | 16 + .../dataprotection/backup-vault/_update.md | 11 + Commands/tree.json | 120 ++ .../2024-02-01-preview.json | 1 + .../2024-02-01-preview.xml | 473 ++++++ .../2024-04-01.json | 1 + .../2024-04-01.xml | 497 ++++++ .../2024-02-01-preview.md | 1 + .../2024-04-01.json | 1 + .../2024-04-01.md | 1 + .../2024-04-01.xml | 249 +++ .../2024-02-01-preview.json | 1 + .../2024-02-01-preview.xml | 1304 ++++++++++++++++ .../2024-04-01.json | 1 + .../2024-04-01.xml | 1348 +++++++++++++++++ 18 files changed, 4075 insertions(+) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml diff --git a/Commands/dataprotection/backup-vault/_create.md b/Commands/dataprotection/backup-vault/_create.md index 267e84e63..15399e088 100644 --- a/Commands/dataprotection/backup-vault/_create.md +++ b/Commands/dataprotection/backup-vault/_create.md @@ -67,3 +67,25 @@ Create a BackupVault resource belonging to a resource group. ```bash dataprotection backup-vault create --type "systemAssigned" --location "WestUS" --azure-monitor-alerts-for-job-failures "Enabled" --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" --tags key1="val1" --resource-group "SampleResourceGroup" --vault-name "swaggerExample" ``` + +### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml) **Stable** + + + +#### examples + +- Create BackupVault + ```bash + dataprotection backup-vault create --type "None" --location "WestUS" --azure-monitor-alerts-for-job-failures "Enabled" --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" --tags key1="val1" --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` + +- Create BackupVault With MSI + ```bash + dataprotection backup-vault create --type "systemAssigned" --location "WestUS" --azure-monitor-alerts-for-job-failures "Enabled" --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" --tags key1="val1" --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` + +- Create BackupVault With CMK Encryption + ```bash + create json + dataprotection backup-vault create ` -g resourceGroupName ` -v vaultName ` --location eastasia ` --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" ` --type UserAssigned ` --user-assigned-identities .\uami.json ` --cmk-encryption-key-uri "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" ` --cmk-encryption-state Enabled ` --cmk-identity-type UserAssigned ` --cmk-infrastructure-encryption Enabled ` --cmk-user-assigned-identity-id "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" ` + ``` diff --git a/Commands/dataprotection/backup-vault/_delete.md b/Commands/dataprotection/backup-vault/_delete.md index 29c1f90c5..ec473a002 100644 --- a/Commands/dataprotection/backup-vault/_delete.md +++ b/Commands/dataprotection/backup-vault/_delete.md @@ -47,3 +47,14 @@ Delete a BackupVault resource from the resource group. ```bash dataprotection backup-vault delete --resource-group "SampleResourceGroup" --vault-name "swaggerExample" ``` + +### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml) **Stable** + + + +#### examples + +- Delete BackupVault + ```bash + dataprotection backup-vault delete --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` diff --git a/Commands/dataprotection/backup-vault/_list.md b/Commands/dataprotection/backup-vault/_list.md index d54bcf74d..83a7efaca 100644 --- a/Commands/dataprotection/backup-vault/_list.md +++ b/Commands/dataprotection/backup-vault/_list.md @@ -71,3 +71,20 @@ Gets list of backup vault in a subscription or in a resource group. ```bash dataprotection backup-vault list -g sarath-rg ``` + +### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml) **Stable** + + + + +#### examples + +- List backup vault in a subscription + ```bash + dataprotection backup-vault list + ``` + +- List backup vault in a resource group + ```bash + dataprotection backup-vault list -g sarath-rg + ``` diff --git a/Commands/dataprotection/backup-vault/_show.md b/Commands/dataprotection/backup-vault/_show.md index e1630a6a8..6b0c15c85 100644 --- a/Commands/dataprotection/backup-vault/_show.md +++ b/Commands/dataprotection/backup-vault/_show.md @@ -67,3 +67,19 @@ Get a resource belonging to a resource group. ```bash dataprotection backup-vault show --resource-group "SampleResourceGroup" --vault-name "swaggerExample" ``` + +### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml) **Stable** + + + +#### examples + +- Get BackupVault + ```bash + dataprotection backup-vault show --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` + +- Get BackupVault With MSI + ```bash + dataprotection backup-vault show --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` diff --git a/Commands/dataprotection/backup-vault/_update.md b/Commands/dataprotection/backup-vault/_update.md index 03d430940..c6154ee67 100644 --- a/Commands/dataprotection/backup-vault/_update.md +++ b/Commands/dataprotection/backup-vault/_update.md @@ -47,3 +47,14 @@ Updates a BackupVault resource belonging to a resource group. For example, updat ```bash dataprotection backup-vault update --azure-monitor-alerts-for-job-failures "Enabled" --tags newKey="newVal" --resource-group "SampleResourceGroup" --vault-name "swaggerExample" ``` + +### [2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml) **Stable** + + + +#### examples + +- Patch BackupVault + ```bash + dataprotection backup-vault update --azure-monitor-alerts-for-job-failures "Enabled" --tags newKey="newVal" --resource-group "SampleResourceGroup" --vault-name "swaggerExample" + ``` diff --git a/Commands/tree.json b/Commands/tree.json index cd594871f..c6d2250c5 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -22404,6 +22404,37 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault create --type \"None\" --location \"WestUS\" --azure-monitor-alerts-for-job-failures \"Enabled\" --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\" --tags key1=\"val1\" --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Create BackupVault" + }, + { + "commands": [ + "dataprotection backup-vault create --type \"systemAssigned\" --location \"WestUS\" --azure-monitor-alerts-for-job-failures \"Enabled\" --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\" --tags key1=\"val1\" --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Create BackupVault With MSI" + }, + { + "commands": [ + "create json", + "dataprotection backup-vault create ` -g resourceGroupName ` -v vaultName ` --location eastasia ` --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\" ` --type UserAssigned ` --user-assigned-identities .\\uami.json ` --cmk-encryption-key-uri \"https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1\" ` --cmk-encryption-state Enabled ` --cmk-identity-type UserAssigned ` --cmk-infrastructure-encryption Enabled ` --cmk-user-assigned-identity-id \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami\" `" + ], + "name": "Create BackupVault With CMK Encryption" + } + ], + "name": "2024-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2024-04-01" + } + ] } ] }, @@ -22492,6 +22523,24 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault delete --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Delete BackupVault" + } + ], + "name": "2024-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2024-04-01" + } + ] } ] }, @@ -22624,6 +22673,35 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault list" + ], + "name": "List backup vault in a subscription" + }, + { + "commands": [ + "dataprotection backup-vault list -g sarath-rg" + ], + "name": "List backup vault in a resource group" + } + ], + "name": "2024-04-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", + "plane": "mgmt-plane", + "version": "2024-04-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", + "plane": "mgmt-plane", + "version": "2024-04-01" + } + ] } ] }, @@ -22736,6 +22814,30 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault show --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Get BackupVault" + }, + { + "commands": [ + "dataprotection backup-vault show --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Get BackupVault With MSI" + } + ], + "name": "2024-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2024-04-01" + } + ] } ] }, @@ -22824,6 +22926,24 @@ } ], "stage": "Experimental" + }, + { + "examples": [ + { + "commands": [ + "dataprotection backup-vault update --azure-monitor-alerts-for-job-failures \"Enabled\" --tags newKey=\"newVal\" --resource-group \"SampleResourceGroup\" --vault-name \"swaggerExample\"" + ], + "name": "Patch BackupVault" + } + ], + "name": "2024-04-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", + "plane": "mgmt-plane", + "version": "2024-04-01" + } + ] } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.json new file mode 100644 index 000000000..213c5e378 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL2JhY2t1cFZhdWx0cw==/V/MjAyNC0wMi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "list", "version": "2024-02-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL2JhY2t1cFZhdWx0cw==/V/MjAyNC0wMi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_BackupVaults_GetInResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_BackupVaults_GetInSubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_BackupVaults_GetInResourceGroup"], "operationId": "BackupVaults_GetInResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_BackupVaults_GetInSubscription"], "operationId": "BackupVaults_GetInSubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.xml new file mode 100644 index 000000000..96cba0637 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.xml @@ -0,0 +1,473 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json new file mode 100644 index 000000000..e5655ad6a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL2JhY2t1cFZhdWx0cw==/V/MjAyNC0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFQcm90ZWN0aW9uL2JhY2t1cFZhdWx0cw==/V/MjAyNC0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_BackupVaults_GetInSubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_BackupVaults_GetInResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_BackupVaults_GetInSubscription"], "operationId": "BackupVaults_GetInSubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_BackupVaults_GetInResourceGroup"], "operationId": "BackupVaults_GetInResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml new file mode 100644 index 000000000..e40b701c3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml @@ -0,0 +1,497 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.md new file mode 100644 index 000000000..47f1028e7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.dataprotection/backupvaults 2024-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-02-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json new file mode 100644 index 000000000..b1f74ea12 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "list", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRz/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "BackupVaults_GetInResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.md new file mode 100644 index 000000000..bf336f2b4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.dataprotection/backupvaults 2024-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml new file mode 100644 index 000000000..3023c3485 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHM=/2024-04-01.xml @@ -0,0 +1,249 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.json new file mode 100644 index 000000000..b9376d854 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "show", "version": "2024-02-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-02-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-02-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "FeatureSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-setting"], "required": true, "group": "Properties", "help": {"short": "Storage Settings. Usage: --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\"", "lines": ["Multiple actions can be specified by using more than one --storage-setting argument.", "The \"--storage-settings\" parameter exists for backwards compatibility. The updated command is --storage-setting.", "Usage for --storage-settings: --storage-settings type=XX datastore-type=XX."]}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"type": "object", "var": "$parameters.properties.securitySettings.encryptionSettings", "options": ["encryption-settings"], "group": "SecuritySettings", "help": {"short": "Customer Managed Key details of the resource."}, "args": [{"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["infrastructure-encryption"], "help": {"short": "Enabling/Disabling the Double Encryption state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity", "options": ["kek-identity"], "help": {"short": "The details of the managed identity used for CMK"}, "args": [{"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["identity-id"], "help": {"short": "The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only."}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["identity-type"], "help": {"short": "The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}]}, {"type": "object", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties", "options": ["key-vault-properties"], "help": {"short": "The properties of the Key Vault which hosts CMK"}, "args": [{"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["key-uri"], "help": {"short": "The key uri of the Customer Managed Key"}}]}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["state"], "help": {"short": "Encryption state of the Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}, "default": {"value": 14.0}}, {"type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "default": {"value": "On"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "arg": "$parameters.properties.securitySettings.encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-02-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-02-01-preview", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "FeatureSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "hide": true, "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"nullable": true, "type": "string"}}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-settings"], "hide": true, "group": "Properties", "help": {"short": "Storage Settings"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"nullable": true, "type": "object", "var": "$parameters.properties.securitySettings.encryptionSettings", "options": ["encryption-settings"], "group": "SecuritySettings", "help": {"short": "Customer Managed Key details of the resource."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["infrastructure-encryption"], "help": {"short": "Enabling/Disabling the Double Encryption state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity", "options": ["kek-identity"], "help": {"short": "The details of the managed identity used for CMK"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["identity-id"], "help": {"short": "The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["identity-type"], "help": {"short": "The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties", "options": ["key-vault-properties"], "help": {"short": "The properties of the Key Vault which hosts CMK"}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["key-uri"], "help": {"short": "The key uri of the Customer Managed Key"}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["state"], "help": {"short": "Encryption state of the Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"nullable": true, "type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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"}], "cls": "BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "arg": "$parameters.properties.securitySettings.encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-02-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.xml new file mode 100644 index 000000000..812aaa0ca --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-02-01-preview.xml @@ -0,0 +1,1304 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json new file mode 100644 index 000000000..b6ccd3342 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "show", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"]}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "EncryptionSettings", "args": [{"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["cmk-infrastructure-encryption"], "group": "EncryptionSettings", "help": {"short": "Enable/Disable infrastructure encryption with CMK on this vault. Infrastructure encryption must be configured only when creating the vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["cmk-user-assigned-identity-id"], "group": "EncryptionSettings", "help": {"short": "This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault."}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["cmk-identity-type"], "group": "EncryptionSettings", "help": {"short": "The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["cmk-encryption-key-uri"], "group": "EncryptionSettings", "help": {"short": "The Key URI of the CMK key to be used for encryption. To enable auto-rotation of keys, exclude the version component from the Key URI."}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["cmk-encryption-state"], "group": "EncryptionSettings", "help": {"short": "Enable CMK encryption state for a Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"name": "FeatureSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-setting"], "required": true, "group": "Properties", "help": {"short": "Storage Settings. Usage: --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\"", "lines": ["Multiple actions can be specified by using more than one --storage-setting argument.", "The \"--storage-settings\" parameter exists for backwards compatibility. The updated command is --storage-setting.", "Usage for --storage-settings: --storage-settings type=XX datastore-type=XX."]}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}, "default": {"value": 14.0}}, {"type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "default": {"value": "On"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"]}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "EncryptionSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["cmk-infrastructure-encryption"], "hide": true, "group": "EncryptionSettings", "help": {"short": "Enable/Disable infrastructure encryption with CMK on this vault. Infrastructure encryption must be configured only when creating the vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["cmk-user-assigned-identity-id"], "group": "EncryptionSettings", "help": {"short": "This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["cmk-identity-type"], "group": "EncryptionSettings", "help": {"short": "The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["cmk-encryption-key-uri"], "group": "EncryptionSettings", "help": {"short": "The key uri of the Customer Managed Key"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["cmk-encryption-state"], "group": "EncryptionSettings", "help": {"short": "Enable CMK encryption state for a Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"name": "FeatureSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "hide": true, "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"nullable": true, "type": "string"}}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-settings"], "hide": true, "group": "Properties", "help": {"short": "Storage Settings"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"nullable": true, "type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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"}], "cls": "BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml new file mode 100644 index 000000000..f640286c8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml @@ -0,0 +1,1348 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + +
+
+ +
+
+
From 2fa132bd0335028e697c7f31616e3e9feb39a237 Mon Sep 17 00:00:00 2001 From: "Kartik Mahajan (from Dev Box)" Date: Wed, 8 May 2024 14:44:19 +0530 Subject: [PATCH 2/2] cmk support added --- .../dataprotection/backup-vault/_create.md | 2 +- Commands/tree.json | 4 +-- .../2024-04-01.json | 2 +- .../2024-04-01.xml | 26 +++++++++++-------- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/Commands/dataprotection/backup-vault/_create.md b/Commands/dataprotection/backup-vault/_create.md index 730f92670..78b49a8a2 100644 --- a/Commands/dataprotection/backup-vault/_create.md +++ b/Commands/dataprotection/backup-vault/_create.md @@ -86,5 +86,5 @@ Create a BackupVault resource belonging to a resource group. - Create BackupVault With CMK Encryption ```bash - dataprotection backup-vault create ` -g resourceGroupName ` -v vaultName ` --location eastasia ` --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" ` --type UserAssigned ` --user-assigned-identities .\uami.json ` --cmk-encryption-key-uri "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" ` --cmk-encryption-state Enabled ` --cmk-identity-type UserAssigned ` --cmk-infrastructure-encryption Enabled ` --cmk-user-assigned-identity-id "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" ` + dataprotection backup-vault create -g resourceGroupName -v vaultName --location eastasia --storage-setting "[{type:'LocallyRedundant',datastore-type:'VaultStore'}]" --type UserAssigned --user-assigned-identities path_to_uami.json --cmk-encryption-key-uri "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" --cmk-encryption-state Enabled --cmk-identity-type UserAssigned --cmk-infrastructure-encryption Enabled --cmk-user-assigned-identity-id "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" ``` diff --git a/Commands/tree.json b/Commands/tree.json index e4f36bc38..505120da2 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -23010,7 +23010,7 @@ }, { "commands": [ - "dataprotection backup-vault create ` -g resourceGroupName ` -v vaultName ` --location eastasia ` --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\" ` --type UserAssigned ` --user-assigned-identities .\\uami.json ` --cmk-encryption-key-uri \"https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1\" ` --cmk-encryption-state Enabled ` --cmk-identity-type UserAssigned ` --cmk-infrastructure-encryption Enabled ` --cmk-user-assigned-identity-id \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami\" `" + "dataprotection backup-vault create -g resourceGroupName -v vaultName --location eastasia --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\" --type UserAssigned --user-assigned-identities path_to_uami.json --cmk-encryption-key-uri \"https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1\" --cmk-encryption-state Enabled --cmk-identity-type UserAssigned --cmk-infrastructure-encryption Enabled --cmk-user-assigned-identity-id \"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami\"" ], "name": "Create BackupVault With CMK Encryption" } @@ -125182,7 +125182,7 @@ "networkcloud" ] }, - "networkfabric": { + "networkfabric": { "commandGroups": { "acl": { "commands": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json index b6ccd3342..b5450f4d4 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "show", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"]}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "EncryptionSettings", "args": [{"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["cmk-infrastructure-encryption"], "group": "EncryptionSettings", "help": {"short": "Enable/Disable infrastructure encryption with CMK on this vault. Infrastructure encryption must be configured only when creating the vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["cmk-user-assigned-identity-id"], "group": "EncryptionSettings", "help": {"short": "This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault."}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["cmk-identity-type"], "group": "EncryptionSettings", "help": {"short": "The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["cmk-encryption-key-uri"], "group": "EncryptionSettings", "help": {"short": "The Key URI of the CMK key to be used for encryption. To enable auto-rotation of keys, exclude the version component from the Key URI."}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["cmk-encryption-state"], "group": "EncryptionSettings", "help": {"short": "Enable CMK encryption state for a Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"name": "FeatureSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-setting"], "required": true, "group": "Properties", "help": {"short": "Storage Settings. Usage: --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\"", "lines": ["Multiple actions can be specified by using more than one --storage-setting argument.", "The \"--storage-settings\" parameter exists for backwards compatibility. The updated command is --storage-setting.", "Usage for --storage-settings: --storage-settings type=XX datastore-type=XX."]}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}, "default": {"value": 14.0}}, {"type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "default": {"value": "On"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"]}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "EncryptionSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["cmk-infrastructure-encryption"], "hide": true, "group": "EncryptionSettings", "help": {"short": "Enable/Disable infrastructure encryption with CMK on this vault. Infrastructure encryption must be configured only when creating the vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["cmk-user-assigned-identity-id"], "group": "EncryptionSettings", "help": {"short": "This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["cmk-identity-type"], "group": "EncryptionSettings", "help": {"short": "The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["cmk-encryption-key-uri"], "group": "EncryptionSettings", "help": {"short": "The key uri of the Customer Managed Key"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["cmk-encryption-state"], "group": "EncryptionSettings", "help": {"short": "Enable CMK encryption state for a Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"name": "FeatureSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be either SystemAssigned or None"}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "hide": true, "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"nullable": true, "type": "string"}}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-settings"], "hide": true, "group": "Properties", "help": {"short": "Storage Settings"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"nullable": true, "type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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"}], "cls": "BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "commandGroups": [{"name": "dataprotection backup-vault", "commands": [{"name": "show", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"], "hide": true, "group": "", "help": {"short": "."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "EncryptionSettings", "args": [{"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["cmk-infra-encryption", "cmk-infrastructure-encryption"], "group": "EncryptionSettings", "help": {"short": "Enable/Disable infrastructure encryption with CMK on this vault. Infrastructure encryption must be configured only when creating the vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["cmk-uami", "cmk-user-assigned-identity-id"], "group": "EncryptionSettings", "help": {"short": "This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault."}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["cmk-identity-type"], "group": "EncryptionSettings", "help": {"short": "The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["cmk-encryption-key-uri"], "group": "EncryptionSettings", "help": {"short": "The Key URI of the CMK key to be used for encryption. To enable auto-rotation of keys, exclude the version component from the Key URI."}}, {"type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["cmk-encryption-state"], "group": "EncryptionSettings", "help": {"short": "Enable CMK encryption state for a Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"name": "FeatureSettings", "args": [{"type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be \"SystemAssigned\", \"UserAssigned\", \"SystemAssigned,UserAssigned\" or \"None\""}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["uami", "user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "hide": true, "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-setting"], "required": true, "group": "Properties", "help": {"short": "Storage Settings. Usage: --storage-setting \"[{type:'LocallyRedundant',datastore-type:'VaultStore'}]\"", "lines": ["Multiple actions can be specified by using more than one --storage-setting argument.", "The \"--storage-settings\" parameter exists for backwards compatibility. The updated command is --storage-setting.", "Usage for --storage-settings: --storage-settings type=XX datastore-type=XX."]}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}, "default": {"value": 14.0}}, {"type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "default": {"value": "On"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dataprotection/backupvaults/{}", "version": "2024-04-01", "swagger": "mgmt-plane/dataprotection/ResourceProviders/Microsoft.DataProtection/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YVByb3RlY3Rpb24vYmFja3VwVmF1bHRzL3t2YXVsdE5hbWV9/V/MjAyNC0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.x-ms-authorization-auxiliary", "options": ["x-ms-authorization-auxiliary"], "hide": true, "group": "", "help": {"short": "."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vaultName", "options": ["v", "vault-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the backup vault."}}]}, {"name": "CrossRegionRestoreSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "options": ["crr-state", "cross-region-restore-state"], "group": "CrossRegionRestoreSettings", "help": {"short": "Set the CrossRegionRestore state. Once enabled, it cannot be set to disabled."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "EncryptionSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "options": ["cmk-infrastructure-encryption"], "hide": true, "group": "EncryptionSettings", "help": {"short": "Enable/Disable infrastructure encryption with CMK on this vault. Infrastructure encryption must be configured only when creating the vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId", "options": ["cmk-uami", "cmk-user-assigned-identity-id"], "group": "EncryptionSettings", "help": {"short": "This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "options": ["cmk-identity-type"], "group": "EncryptionSettings", "help": {"short": "The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity."}, "enum": {"items": [{"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri", "options": ["cmk-encryption-key-uri"], "group": "EncryptionSettings", "help": {"short": "The key uri of the Customer Managed Key"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.encryptionSettings.state", "options": ["cmk-encryption-state"], "group": "EncryptionSettings", "help": {"short": "Enable CMK encryption state for a Backup Vault."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "Inconsistent", "value": "Inconsistent"}]}}]}, {"name": "FeatureSettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "options": ["csr-state", "cross-subscription-restore-state"], "group": "FeatureSettings", "help": {"short": "CrossSubscriptionRestore state"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "PermanentlyDisabled", "value": "PermanentlyDisabled"}]}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "group": "Identity", "help": {"short": "The identityType which can be \"SystemAssigned\", \"UserAssigned\", \"SystemAssigned,UserAssigned\" or \"None\""}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["uami", "user-assigned-identities"], "group": "Identity", "help": {"short": "Gets or sets the user assigned identities."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Monitoring Settings Azure Monitor Alert Settings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "options": ["job-failure-alerts", "azure-monitor-alerts-for-job-failures"], "group": "Monitoring Settings Azure Monitor Alert Settings", "help": {"short": "Property that specifies whether built-in Azure Monitor alerts should be fired for all failed jobs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "hide": true, "group": "Parameters", "help": {"short": "Optional ETag."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.replicatedRegions", "options": ["replicated-regions"], "hide": true, "group": "Properties", "help": {"short": "List of replicated regions for Backup Vault"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.resourceGuardOperationRequests", "options": ["resource-guard-operation-requests"], "group": "Properties", "help": {"short": "ResourceGuardOperationRequests on which LAC check will be performed"}, "item": {"nullable": true, "type": "string"}, "singularOptions": ["operation-requests"]}, {"type": "array", "var": "$parameters.properties.storageSettings", "options": ["storage-settings"], "hide": true, "group": "Properties", "help": {"short": "Storage Settings"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].datastoreType", "options": ["datastore-type"], "help": {"short": "Gets or sets the type of the datastore."}, "enum": {"items": [{"name": "ArchiveStore", "value": "ArchiveStore"}, {"name": "OperationalStore", "value": "OperationalStore"}, {"name": "VaultStore", "value": "VaultStore"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageSettings[].type", "options": ["type"], "help": {"short": "Gets or sets the type."}, "enum": {"items": [{"name": "GeoRedundant", "value": "GeoRedundant"}, {"name": "LocallyRedundant", "value": "LocallyRedundant"}, {"name": "ZoneRedundant", "value": "ZoneRedundant"}]}}]}, "singularOptions": ["storage-settings"]}]}, {"name": "SecuritySettings", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.immutabilitySettings.state", "options": ["immutability-state"], "group": "SecuritySettings", "help": {"short": "Immutability state", "lines": ["Use this parameter to configure immutability settings for the vault. Allowed values are Disabled, Unlocked and Locked. By default, immutability is \"Disabled\" for the vault. \"Unlocked\" means that immutability is enabled for the vault and can be reversed. \"Locked\" means that immutability is enabled for the vault and cannot be reversed."]}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Locked", "value": "Locked"}, {"name": "Unlocked", "value": "Unlocked"}]}}]}, {"name": "SoftDeleteSettings", "args": [{"nullable": true, "type": "float64", "var": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays", "options": ["soft-delete-retention", "retention-duration-in-days"], "group": "SoftDeleteSettings", "help": {"short": "Soft delete retention duration"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.securitySettings.softDeleteSettings.state", "options": ["soft-delete-state"], "group": "SoftDeleteSettings", "help": {"short": "State of soft delete"}, "enum": {"items": [{"name": "AlwaysOn", "value": "AlwaysOn"}, {"name": "Off", "value": "Off"}, {"name": "On", "value": "On"}]}}]}], "operations": [{"operationId": "BackupVaults_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type"}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "bcdrSecurityLevel", "enum": {"items": [{"value": "Excellent"}, {"value": "Fair"}, {"value": "Good"}, {"value": "NotSupported"}, {"value": "Poor"}]}}, {"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"readOnly": true, "type": "boolean", "name": "isVaultProtectedByResourceGuard"}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Unknown"}, {"value": "Updating"}]}}, {"type": "array", "name": "replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "resourceMoveDetails", "props": [{"type": "string", "name": "completionTimeUtc"}, {"type": "string", "name": "operationId"}, {"type": "string", "name": "sourceResourcePath"}, {"type": "string", "name": "startTimeUtc"}, {"type": "string", "name": "targetResourcePath"}]}, {"readOnly": true, "type": "string", "name": "resourceMoveState", "enum": {"items": [{"value": "CommitFailed"}, {"value": "CommitTimedout"}, {"value": "CriticalFailure"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "MoveSucceeded"}, {"value": "PartialSuccess"}, {"value": "PrepareFailed"}, {"value": "PrepareTimedout"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "string", "name": "secureScore", "enum": {"items": [{"value": "Adequate"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "NotSupported"}]}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId"}, {"type": "string", "name": "identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri"}]}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"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"}], "cls": "BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type"}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "featureSettings", "props": [{"type": "object", "name": "crossRegionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossRegionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "crossSubscriptionRestoreSettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.featureSettings.crossSubscriptionRestoreSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "PermanentlyDisabled"}]}}]}]}, {"type": "object", "name": "monitoringSettings", "props": [{"type": "object", "name": "azureMonitorAlertSettings", "props": [{"type": "string", "name": "alertsForAllJobFailures", "arg": "$parameters.properties.monitoringSettings.azureMonitorAlertSettings.alertsForAllJobFailures", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}]}, {"type": "array", "name": "replicatedRegions", "arg": "$parameters.properties.replicatedRegions", "item": {"type": "string"}}, {"type": "array", "name": "resourceGuardOperationRequests", "arg": "$parameters.properties.resourceGuardOperationRequests", "item": {"type": "string"}}, {"type": "object", "name": "securitySettings", "props": [{"type": "object", "name": "encryptionSettings", "props": [{"type": "string", "name": "infrastructureEncryption", "arg": "$parameters.properties.securitySettings.encryptionSettings.infrastructureEncryption", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "kekIdentity", "props": [{"type": "string", "name": "identityId", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityId"}, {"type": "string", "name": "identityType", "arg": "$parameters.properties.securitySettings.encryptionSettings.kekIdentity.identityType", "enum": {"items": [{"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}]}, {"type": "object", "name": "keyVaultProperties", "props": [{"type": "string", "name": "keyUri", "arg": "$parameters.properties.securitySettings.encryptionSettings.keyVaultProperties.keyUri"}]}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.encryptionSettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "Inconsistent"}]}}]}, {"type": "object", "name": "immutabilitySettings", "props": [{"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.immutabilitySettings.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Locked"}, {"value": "Unlocked"}]}}]}, {"type": "object", "name": "softDeleteSettings", "props": [{"type": "float64", "name": "retentionDurationInDays", "arg": "$parameters.properties.securitySettings.softDeleteSettings.retentionDurationInDays"}, {"type": "string", "name": "state", "arg": "$parameters.properties.securitySettings.softDeleteSettings.state", "enum": {"items": [{"value": "AlwaysOn"}, {"value": "Off"}, {"value": "On"}]}}]}]}, {"type": "array", "name": "storageSettings", "arg": "$parameters.properties.storageSettings", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "datastoreType", "arg": "$parameters.properties.storageSettings[].datastoreType", "enum": {"items": [{"value": "ArchiveStore"}, {"value": "OperationalStore"}, {"value": "VaultStore"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.storageSettings[].type", "enum": {"items": [{"value": "GeoRedundant"}, {"value": "LocallyRedundant"}, {"value": "ZoneRedundant"}]}}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BackupVaults_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vaultName", "arg": "$Path.vaultName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "x-ms-authorization-auxiliary", "arg": "$Header.x-ms-authorization-auxiliary"}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BackupVaultResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml index f640286c8..1012425bd 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhcHJvdGVjdGlvbi9iYWNrdXB2YXVsdHMve30=/2024-04-01.xml @@ -287,7 +287,9 @@ - + + + @@ -304,14 +306,14 @@ - + - + @@ -345,9 +347,9 @@ - + - + @@ -384,7 +386,7 @@ - + @@ -799,7 +801,9 @@ - + + + @@ -823,7 +827,7 @@ - + @@ -857,9 +861,9 @@ - + - + @@ -896,7 +900,7 @@ - +