From 44a9056995e7d581efa365fcdfc5f1619da75bd6 Mon Sep 17 00:00:00 2001 From: "RuiJun Hu (MSFT)" Date: Thu, 27 Feb 2025 11:16:02 +0800 Subject: [PATCH] export --- Commands/disk-encryption-set/_create.md | 36 + Commands/disk-encryption-set/_delete.md | 11 + .../_list-associated-resources.md | 7 + Commands/disk-encryption-set/_list.md | 17 + Commands/disk-encryption-set/_show.md | 11 + Commands/disk-encryption-set/_update.md | 21 + .../disk-encryption-set/identity/_assign.md | 9 + .../disk-encryption-set/identity/_remove.md | 9 + .../disk-encryption-set/identity/_show.md | 9 + .../disk-encryption-set/identity/readme.md | 14 + Commands/disk-encryption-set/readme.md | 5 + Commands/tree.json | 233 ++++ .../2023-04-02.json | 1 + .../2023-04-02.xml | 217 ++++ .../2023-04-02.md | 1 + .../2023-04-02.json | 1 + .../2023-04-02.xml | 1108 +++++++++++++++++ 17 files changed, 1710 insertions(+) create mode 100644 Commands/disk-encryption-set/identity/_assign.md create mode 100644 Commands/disk-encryption-set/identity/_remove.md create mode 100644 Commands/disk-encryption-set/identity/_show.md create mode 100644 Commands/disk-encryption-set/identity/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml diff --git a/Commands/disk-encryption-set/_create.md b/Commands/disk-encryption-set/_create.md index f0ab74efb..90cf3fce3 100644 --- a/Commands/disk-encryption-set/_create.md +++ b/Commands/disk-encryption-set/_create.md @@ -11,3 +11,39 @@ Create a disk encryption set ### [2022-03-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2022-03-02.xml) **Stable** + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml) **Stable** + + + +#### examples + +- Create a disk encryption set + ```bash + disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault + ``` + +- Create a disk encryption set with a system assigned identity. + ```bash + disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --mi-system-assigned + ``` + +- Create a disk encryption set with a user assigned identity. + ```bash + disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --mi-user-assigned myAssignedId + ``` + +- Create a disk encryption set with system assigned identity and a user assigned identity. + ```bash + disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --mi-system-assigned --mi-user-assigned myAssignedId + ``` + +- Create a disk encryption set with multi-tenant application client id to access key vault in a different tenant. + ```bash + disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --federated-client-id myFederatedClientId + ``` + +- Create a disk encryption set. + ```bash + disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --encryption-type EncryptionAtRestWithPlatformAndCustomerKeys + ``` diff --git a/Commands/disk-encryption-set/_delete.md b/Commands/disk-encryption-set/_delete.md index 37f5f19cc..cbc0400ae 100644 --- a/Commands/disk-encryption-set/_delete.md +++ b/Commands/disk-encryption-set/_delete.md @@ -25,3 +25,14 @@ Delete a disk encryption set. ```bash disk-encryption-set delete --name MyDiskEncryptionSet --resource-group MyResourceGroup ``` + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml) **Stable** + + + +#### examples + +- Delete a disk encryption set. + ```bash + disk-encryption-set delete --name MyDiskEncryptionSet --resource-group MyResourceGroup + ``` diff --git a/Commands/disk-encryption-set/_list-associated-resources.md b/Commands/disk-encryption-set/_list-associated-resources.md index ee71a00a6..b67ed36b3 100644 --- a/Commands/disk-encryption-set/_list-associated-resources.md +++ b/Commands/disk-encryption-set/_list-associated-resources.md @@ -11,3 +11,10 @@ List all resources that are encrypted with this disk encryption set. ### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fS9hc3NvY2lhdGVkcmVzb3VyY2Vz/2023-04-02.xml) **Stable** + +#### examples + +- List all resources that are encrypted with a disk encryption set. + ```bash + disk-encryption-set list-associated-resources --resource-group myResourceGroup --disk-encryption-set-name myDiskEncryptionSet + ``` diff --git a/Commands/disk-encryption-set/_list.md b/Commands/disk-encryption-set/_list.md index cb71b8636..6f8c118d1 100644 --- a/Commands/disk-encryption-set/_list.md +++ b/Commands/disk-encryption-set/_list.md @@ -13,3 +13,20 @@ List disk encryption sets. + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.xml) **Stable** + + + + +#### examples + +- List all disk encryption sets in a subscription. + ```bash + disk-encryption-set list + ``` + +- List all disk encryption sets in a resource group. + ```bash + disk-encryption-set list --resource-group myResourceGroup + ``` diff --git a/Commands/disk-encryption-set/_show.md b/Commands/disk-encryption-set/_show.md index 67620cdee..70beb04a2 100644 --- a/Commands/disk-encryption-set/_show.md +++ b/Commands/disk-encryption-set/_show.md @@ -25,3 +25,14 @@ Get information about a disk encryption set. ```bash disk-encryption-set show --name MyDiskEncryptionSet --resource-group MyResourceGroup ``` + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml) **Stable** + + + +#### examples + +- Get information of a disk encryption sets + ```bash + disk-encryption-set show --name MyDiskEncryptionSet --resource-group MyResourceGroup + ``` diff --git a/Commands/disk-encryption-set/_update.md b/Commands/disk-encryption-set/_update.md index 0eb77921c..c8284d7b7 100644 --- a/Commands/disk-encryption-set/_update.md +++ b/Commands/disk-encryption-set/_update.md @@ -11,3 +11,24 @@ Update a disk encryption set ### [2022-03-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2022-03-02.xml) **Stable** + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml) **Stable** + + + +#### examples + +- Update a disk encryption set. + ```bash + disk-encryption-set update --name MyDiskEncryptionSet --resource-group MyResourceGroup --key-url MyKey --source-vault MyVault + ``` + +- Update multi-tenant application client id of a disk encryption set. + ```bash + disk-encryption-set update --name MyDiskEncryptionSet --resource-group MyResourceGroup --key-url MyKey --source-vault MyVault --federated-client-id myFederatedClientId + ``` + +- Clear multi-tenant application client id of a disk encryption set. + ```bash + disk-encryption-set update --name MyDiskEncryptionSet --resource-group MyResourceGroup --key-url MyKey --source-vault MyVault --federated-client-id None + ``` diff --git a/Commands/disk-encryption-set/identity/_assign.md b/Commands/disk-encryption-set/identity/_assign.md new file mode 100644 index 000000000..a0ab4bd0c --- /dev/null +++ b/Commands/disk-encryption-set/identity/_assign.md @@ -0,0 +1,9 @@ +# [Command] _disk-encryption-set identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml) **Stable** + + diff --git a/Commands/disk-encryption-set/identity/_remove.md b/Commands/disk-encryption-set/identity/_remove.md new file mode 100644 index 000000000..4bce69b2c --- /dev/null +++ b/Commands/disk-encryption-set/identity/_remove.md @@ -0,0 +1,9 @@ +# [Command] _disk-encryption-set identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml) **Stable** + + diff --git a/Commands/disk-encryption-set/identity/_show.md b/Commands/disk-encryption-set/identity/_show.md new file mode 100644 index 000000000..327540d31 --- /dev/null +++ b/Commands/disk-encryption-set/identity/_show.md @@ -0,0 +1,9 @@ +# [Command] _disk-encryption-set identity show_ + +Show the details of managed identities. + +## Versions + +### [2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml) **Stable** + + diff --git a/Commands/disk-encryption-set/identity/readme.md b/Commands/disk-encryption-set/identity/readme.md new file mode 100644 index 000000000..4bb8a70c0 --- /dev/null +++ b/Commands/disk-encryption-set/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _disk-encryption-set identity_ + +Manage identities of a disk encryption set. + +## Commands + +- [assign](/Commands/disk-encryption-set/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/disk-encryption-set/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/disk-encryption-set/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/disk-encryption-set/readme.md b/Commands/disk-encryption-set/readme.md index 32a87baba..2ca427e59 100644 --- a/Commands/disk-encryption-set/readme.md +++ b/Commands/disk-encryption-set/readme.md @@ -2,6 +2,11 @@ Disk Encryption Set resource. +## Subgroups + +- [identity](/Commands/disk-encryption-set/identity/readme.md) +: Manage identities of a disk encryption set. + ## Commands - [create](/Commands/disk-encryption-set/_create.md) diff --git a/Commands/tree.json b/Commands/tree.json index 3963a577b..65ff115f8 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -47980,6 +47980,88 @@ ] }, "disk-encryption-set": { + "commandGroups": { + "identity": { + "commands": { + "assign": { + "help": { + "short": "Assign the user or system managed identities." + }, + "names": [ + "disk-encryption-set", + "identity", + "assign" + ], + "versions": [ + { + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", + "plane": "mgmt-plane", + "subresource": "identity", + "version": "2023-04-02" + } + ] + } + ] + }, + "remove": { + "help": { + "short": "Remove the user or system managed identities." + }, + "names": [ + "disk-encryption-set", + "identity", + "remove" + ], + "versions": [ + { + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", + "plane": "mgmt-plane", + "subresource": "identity", + "version": "2023-04-02" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Show the details of managed identities." + }, + "names": [ + "disk-encryption-set", + "identity", + "show" + ], + "versions": [ + { + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", + "plane": "mgmt-plane", + "subresource": "identity", + "version": "2023-04-02" + } + ] + } + ] + } + }, + "help": { + "short": "Manage identities of a disk encryption set." + }, + "names": [ + "disk-encryption-set", + "identity" + ] + } + }, "commands": { "create": { "help": { @@ -48009,6 +48091,54 @@ "version": "2019-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault" + ], + "name": "Create a disk encryption set" + }, + { + "commands": [ + "disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --mi-system-assigned" + ], + "name": "Create a disk encryption set with a system assigned identity." + }, + { + "commands": [ + "disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --mi-user-assigned myAssignedId" + ], + "name": "Create a disk encryption set with a user assigned identity." + }, + { + "commands": [ + "disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --mi-system-assigned --mi-user-assigned myAssignedId" + ], + "name": "Create a disk encryption set with system assigned identity and a user assigned identity." + }, + { + "commands": [ + "disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --federated-client-id myFederatedClientId" + ], + "name": "Create a disk encryption set with multi-tenant application client id to access key vault in a different tenant." + }, + { + "commands": [ + "disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --encryption-type EncryptionAtRestWithPlatformAndCustomerKeys" + ], + "name": "Create a disk encryption set." + } + ], + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", + "plane": "mgmt-plane", + "version": "2023-04-02" + } + ] } ] }, @@ -48056,6 +48186,24 @@ "version": "2019-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "disk-encryption-set delete --name MyDiskEncryptionSet --resource-group MyResourceGroup" + ], + "name": "Delete a disk encryption set." + } + ], + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", + "plane": "mgmt-plane", + "version": "2023-04-02" + } + ] } ] }, @@ -48097,6 +48245,35 @@ "version": "2019-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "disk-encryption-set list" + ], + "name": "List all disk encryption sets in a subscription." + }, + { + "commands": [ + "disk-encryption-set list --resource-group myResourceGroup" + ], + "name": "List all disk encryption sets in a resource group." + } + ], + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.compute/diskencryptionsets", + "plane": "mgmt-plane", + "version": "2023-04-02" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets", + "plane": "mgmt-plane", + "version": "2023-04-02" + } + ] } ] }, @@ -48120,6 +48297,14 @@ ] }, { + "examples": [ + { + "commands": [ + "disk-encryption-set list-associated-resources --resource-group myResourceGroup --disk-encryption-set-name myDiskEncryptionSet" + ], + "name": "List all resources that are encrypted with a disk encryption set." + } + ], "name": "2023-04-02", "resources": [ { @@ -48175,6 +48360,24 @@ "version": "2019-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "disk-encryption-set show --name MyDiskEncryptionSet --resource-group MyResourceGroup" + ], + "name": "Get information of a disk encryption sets" + } + ], + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", + "plane": "mgmt-plane", + "version": "2023-04-02" + } + ] } ] }, @@ -48206,6 +48409,36 @@ "version": "2019-07-01" } ] + }, + { + "examples": [ + { + "commands": [ + "disk-encryption-set update --name MyDiskEncryptionSet --resource-group MyResourceGroup --key-url MyKey --source-vault MyVault" + ], + "name": "Update a disk encryption set." + }, + { + "commands": [ + "disk-encryption-set update --name MyDiskEncryptionSet --resource-group MyResourceGroup --key-url MyKey --source-vault MyVault --federated-client-id myFederatedClientId" + ], + "name": "Update multi-tenant application client id of a disk encryption set." + }, + { + "commands": [ + "disk-encryption-set update --name MyDiskEncryptionSet --resource-group MyResourceGroup --key-url MyKey --source-vault MyVault --federated-client-id None" + ], + "name": "Clear multi-tenant application client id of a disk encryption set." + } + ], + "name": "2023-04-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", + "plane": "mgmt-plane", + "version": "2023-04-02" + } + ] } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.json new file mode 100644 index 000000000..f432e5641 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/diskencryptionsets", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvZGlza0VuY3J5cHRpb25TZXRz/V/MjAyMy0wNC0wMg=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHM=/V/MjAyMy0wNC0wMg=="}], "commandGroups": [{"name": "disk-encryption-set", "commands": [{"name": "list", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/diskencryptionsets", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvZGlza0VuY3J5cHRpb25TZXRz/V/MjAyMy0wNC0wMg=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHM=/V/MjAyMy0wNC0wMg=="}], "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_DiskEncryptionSets_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_DiskEncryptionSets_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_DiskEncryptionSets_List"], "operationId": "DiskEncryptionSets_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id"}]}], "cls": "KeyForDiskEncryptionSet_read"}, {"readOnly": true, "type": "object", "name": "autoKeyRotationError", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, "identifiers": ["target", "message"]}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "ApiError_read"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_DiskEncryptionSets_ListByResourceGroup"], "operationId": "DiskEncryptionSets_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "@KeyForDiskEncryptionSet_read", "name": "activeKey"}, {"readOnly": true, "type": "@ApiError_read", "name": "autoKeyRotationError"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.xml new file mode 100644 index 000000000..3fc220cd8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.xml @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.md new file mode 100644 index 000000000..e3f4df4a6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.compute/diskencryptionsets 2023-04-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cw==/2023-04-02.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.json new file mode 100644 index 000000000..e20143b41 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "commandGroups": [{"name": "disk-encryption-set", "commands": [{"name": "show", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diskEncryptionSetName", "options": ["n", "name", "disk-encryption-set-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of disk encryption set."}}, {"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": "DiskEncryptionSets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id"}]}], "cls": "KeyForDiskEncryptionSet_read"}, {"readOnly": true, "type": "object", "name": "autoKeyRotationError", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, "identifiers": ["target", "message"]}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "ApiError_read"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diskEncryptionSetName", "options": ["n", "name", "disk-encryption-set-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of disk encryption set."}}, {"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": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiskEncryptionSets_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diskEncryptionSetName", "options": ["n", "name", "disk-encryption-set-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of disk encryption set."}}, {"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": "ResourceLocation", "var": "$diskEncryptionSet.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "Resource location"}}, {"type": "string", "var": "$diskEncryptionSet.properties.activeKey.keyUrl", "options": ["key-url"], "group": "", "help": {"short": "URL pointing to a key or secret in KeyVault."}}, {"type": "string", "var": "$diskEncryptionSet.properties.activeKey.sourceVault.id", "options": ["source-vault"], "group": "", "help": {"short": "Name or ID of the KeyVault containing the key or secret."}}, {"type": "string", "var": "$diskEncryptionSet.properties.encryptionType", "options": ["encryption-type"], "group": "", "help": {"short": "The type of key used to encrypt the data of the disk. EncryptionAtRestWithCustomerKey: Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer. EncryptionAtRestWithPlatformAndCustomerKeys: Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed. ConfidentialVmEncryptedWithCustomerKey: An additional encryption type accepted for confidential VM. Disk is encrypted at rest with Customer managed key."}, "enum": {"items": [{"name": "ConfidentialVmEncryptedWithCustomerKey", "value": "ConfidentialVmEncryptedWithCustomerKey"}, {"name": "EncryptionAtRestWithCustomerKey", "value": "EncryptionAtRestWithCustomerKey"}, {"name": "EncryptionAtRestWithPlatformAndCustomerKeys", "value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "var": "$diskEncryptionSet.properties.federatedClientId", "options": ["federated-client-id"], "group": "", "help": {"short": "The federated client id used in cross tenant scenario."}}, {"type": "boolean", "var": "$diskEncryptionSet.properties.rotationToLatestKeyVersionEnabled", "options": ["auto-rotation", "enable-auto-key-rotation"], "group": "", "help": {"short": "Enable automatic rotation of keys."}}, {"type": "object", "var": "$diskEncryptionSet.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Managed Identity", "args": [{"type": "object", "var": "$diskEncryptionSet.identity", "options": ["identity"], "group": "Managed Identity", "help": {"short": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks."}, "args": [{"blank": {"value": "True"}, "type": "string", "var": "$diskEncryptionSet.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$diskEncryptionSet.identity.type", "options": ["type"], "help": {"short": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$diskEncryptionSet.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$diskEncryptionSet.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiskEncryptionSets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "diskEncryptionSet", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$diskEncryptionSet.identity", "props": [{"type": "string", "name": "type", "arg": "$diskEncryptionSet.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$diskEncryptionSet.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$diskEncryptionSet.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$diskEncryptionSet.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$diskEncryptionSet.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "arg": "$diskEncryptionSet.properties.activeKey.keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id", "arg": "$diskEncryptionSet.properties.activeKey.sourceVault.id"}]}]}, {"type": "string", "name": "encryptionType", "arg": "$diskEncryptionSet.properties.encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId", "arg": "$diskEncryptionSet.properties.federatedClientId"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled", "arg": "$diskEncryptionSet.properties.rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$diskEncryptionSet.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id"}]}], "cls": "KeyForDiskEncryptionSet_read"}, {"readOnly": true, "type": "object", "name": "autoKeyRotationError", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, "identifiers": ["target", "message"]}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "ApiError_read"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DiskEncryptionSet_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diskEncryptionSetName", "options": ["n", "name", "disk-encryption-set-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of disk encryption set."}}, {"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": "ResourceLocation", "var": "$diskEncryptionSet.location", "options": ["l", "location"], "hide": true, "group": "", "help": {"short": "Resource location"}}, {"type": "string", "var": "$diskEncryptionSet.properties.activeKey.keyUrl", "options": ["key-url"], "group": "", "help": {"short": "URL pointing to a key or secret in KeyVault."}}, {"nullable": true, "type": "string", "var": "$diskEncryptionSet.properties.activeKey.sourceVault.id", "options": ["source-vault"], "group": "", "help": {"short": "Name or ID of the KeyVault containing the key or secret."}}, {"nullable": true, "type": "string", "var": "$diskEncryptionSet.properties.encryptionType", "options": ["encryption-type"], "hide": true, "group": "", "help": {"short": "The type of key used to encrypt the data of the disk. EncryptionAtRestWithCustomerKey: Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer. EncryptionAtRestWithPlatformAndCustomerKeys: Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed. ConfidentialVmEncryptedWithCustomerKey: An additional encryption type accepted for confidential VM. Disk is encrypted at rest with Customer managed key."}, "enum": {"items": [{"name": "ConfidentialVmEncryptedWithCustomerKey", "value": "ConfidentialVmEncryptedWithCustomerKey"}, {"name": "EncryptionAtRestWithCustomerKey", "value": "EncryptionAtRestWithCustomerKey"}, {"name": "EncryptionAtRestWithPlatformAndCustomerKeys", "value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"nullable": true, "type": "string", "var": "$diskEncryptionSet.properties.federatedClientId", "options": ["federated-client-id"], "group": "", "help": {"short": "The federated client id used in cross tenant scenario."}}, {"nullable": true, "type": "boolean", "var": "$diskEncryptionSet.properties.rotationToLatestKeyVersionEnabled", "options": ["auto-rotation", "enable-auto-key-rotation"], "group": "", "help": {"short": "Enable automatic rotation of keys."}}, {"nullable": true, "type": "object", "var": "$diskEncryptionSet.tags", "options": ["tags"], "hide": true, "group": "", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "DiskEncryptionSet", "args": [{"nullable": true, "type": "object", "var": "$diskEncryptionSet.identity", "options": ["identity"], "group": "DiskEncryptionSet", "help": {"short": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks."}, "args": [{"nullable": true, "type": "string", "var": "$diskEncryptionSet.identity.type", "options": ["type"], "help": {"short": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$diskEncryptionSet.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The list of user identities associated with the disk encryption set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}]}], "operations": [{"operationId": "DiskEncryptionSets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id"}]}], "cls": "KeyForDiskEncryptionSet_read"}, {"readOnly": true, "type": "object", "name": "autoKeyRotationError", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, "identifiers": ["target", "message"]}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "ApiError_read"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "diskEncryptionSet", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$diskEncryptionSet.identity", "props": [{"type": "string", "name": "type", "arg": "$diskEncryptionSet.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$diskEncryptionSet.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$diskEncryptionSet.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "arg": "$diskEncryptionSet.properties.activeKey.keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id", "arg": "$diskEncryptionSet.properties.activeKey.sourceVault.id"}]}]}, {"type": "string", "name": "encryptionType", "arg": "$diskEncryptionSet.properties.encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId", "arg": "$diskEncryptionSet.properties.federatedClientId"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled", "arg": "$diskEncryptionSet.properties.rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$diskEncryptionSet.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiskEncryptionSets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiskEncryptionSet_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "subresource": "identity", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diskEncryptionSetName", "options": ["n", "name", "disk-encryption-set-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of disk encryption set."}}, {"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"}]}, {"name": "DiskEncryptionSet.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$diskEncryptionSet.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "DiskEncryptionSet.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$diskEncryptionSet.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "DiskEncryptionSet.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "diskEncryptionSet", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "DiskEncryptionSets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id"}]}], "cls": "KeyForDiskEncryptionSet_read"}, {"readOnly": true, "type": "object", "name": "autoKeyRotationError", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, "identifiers": ["target", "message"]}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "ApiError_read"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "diskEncryptionSet.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$diskEncryptionSet.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$diskEncryptionSet.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiskEncryptionSets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiskEncryptionSet_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "subresource": "identity", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diskEncryptionSetName", "options": ["n", "name", "disk-encryption-set-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of disk encryption set."}}, {"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"}]}, {"name": "DiskEncryptionSet.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$diskEncryptionSet.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "DiskEncryptionSet.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$diskEncryptionSet.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "DiskEncryptionSet.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "diskEncryptionSet", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "DiskEncryptionSets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id"}]}], "cls": "KeyForDiskEncryptionSet_read"}, {"readOnly": true, "type": "object", "name": "autoKeyRotationError", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, "identifiers": ["target", "message"]}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "ApiError_read"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "diskEncryptionSet.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$diskEncryptionSet.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$diskEncryptionSet.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiskEncryptionSets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiskEncryptionSet_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2023-04-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "version": "2023-04-02", "subresource": "identity", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9kaXNrRW5jcnlwdGlvblNldHMve2Rpc2tFbmNyeXB0aW9uU2V0TmFtZX0=/V/MjAyMy0wNC0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.diskEncryptionSetName", "options": ["n", "name", "disk-encryption-set-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of disk encryption set."}}, {"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"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "diskEncryptionSet", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "DiskEncryptionSets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "diskEncryptionSetName", "arg": "$Path.diskEncryptionSetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-04-02"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/diskEncryptionSets/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "activeKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "object", "name": "sourceVault", "props": [{"type": "string", "name": "id"}]}], "cls": "KeyForDiskEncryptionSet_read"}, {"readOnly": true, "type": "object", "name": "autoKeyRotationError", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, "identifiers": ["target", "message"]}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}], "cls": "ApiError_read"}, {"type": "string", "name": "encryptionType", "enum": {"items": [{"value": "ConfidentialVmEncryptedWithCustomerKey"}, {"value": "EncryptionAtRestWithCustomerKey"}, {"value": "EncryptionAtRestWithPlatformAndCustomerKeys"}]}}, {"type": "string", "name": "federatedClientId"}, {"readOnly": true, "type": "dateTime", "name": "lastKeyRotationTimestamp"}, {"readOnly": true, "type": "array<@KeyForDiskEncryptionSet_read>", "name": "previousKeys", "item": {"type": "@KeyForDiskEncryptionSet_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "boolean", "name": "rotationToLatestKeyVersionEnabled"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DiskEncryptionSet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml new file mode 100644 index 000000000..b56fea8b1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2Rpc2tlbmNyeXB0aW9uc2V0cy97fQ==/2023-04-02.xml @@ -0,0 +1,1108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +