From c19e50d3d7642681ee7e4e36cc0720f162f17138 Mon Sep 17 00:00:00 2001 From: Rainer Halanek Date: Wed, 3 Jul 2024 08:54:42 +0200 Subject: [PATCH] update readme --- avm/res/compute/virtual-machine/README.md | 37 ++++++++++------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/avm/res/compute/virtual-machine/README.md b/avm/res/compute/virtual-machine/README.md index 3302521f67..f6fc002f01 100644 --- a/avm/res/compute/virtual-machine/README.md +++ b/avm/res/compute/virtual-machine/README.md @@ -3213,7 +3213,6 @@ Specifies the OS disk. For security reasons, it is recommended to specify DiskEn | Parameter | Type | Description | | :-- | :-- | :-- | -| [`diskSizeGB`](#parameter-osdiskdisksizegb) | int | Specifies the size of an empty data disk in gigabytes. | | [`managedDisk`](#parameter-osdiskmanageddisk) | object | The managed disk parameters. | **Optional parameters** @@ -3223,15 +3222,9 @@ Specifies the OS disk. For security reasons, it is recommended to specify DiskEn | [`caching`](#parameter-osdiskcaching) | string | Specifies the caching requirements. | | [`createOption`](#parameter-osdiskcreateoption) | string | Specifies how the virtual machine should be created. | | [`deleteOption`](#parameter-osdiskdeleteoption) | string | Specifies whether data disk should be deleted or detached upon VM deletion. | +| [`diskSizeGB`](#parameter-osdiskdisksizegb) | int | Specifies the size of an empty data disk in gigabytes. | | [`name`](#parameter-osdiskname) | string | The disk name. | -### Parameter: `osDisk.diskSizeGB` - -Specifies the size of an empty data disk in gigabytes. - -- Required: Yes -- Type: int - ### Parameter: `osDisk.managedDisk` The managed disk parameters. @@ -3239,23 +3232,25 @@ The managed disk parameters. - Required: Yes - Type: object -**Required parameters** +**Optional parameters** | Parameter | Type | Description | | :-- | :-- | :-- | +| [`diskEncryptionSetResourceId`](#parameter-osdiskmanageddiskdiskencryptionsetresourceid) | string | Specifies the customer managed disk encryption set resource id for the managed disk. | | [`storageAccountType`](#parameter-osdiskmanageddiskstorageaccounttype) | string | Specifies the storage account type for the managed disk. | -**Optional parameters** +### Parameter: `osDisk.managedDisk.diskEncryptionSetResourceId` -| Parameter | Type | Description | -| :-- | :-- | :-- | -| [`diskEncryptionSetResourceId`](#parameter-osdiskmanageddiskdiskencryptionsetresourceid) | string | Specifies the customer managed disk encryption set resource id for the managed disk. | +Specifies the customer managed disk encryption set resource id for the managed disk. + +- Required: No +- Type: string ### Parameter: `osDisk.managedDisk.storageAccountType` Specifies the storage account type for the managed disk. -- Required: Yes +- Required: No - Type: string - Allowed: ```Bicep @@ -3270,13 +3265,6 @@ Specifies the storage account type for the managed disk. ] ``` -### Parameter: `osDisk.managedDisk.diskEncryptionSetResourceId` - -Specifies the customer managed disk encryption set resource id for the managed disk. - -- Required: No -- Type: string - ### Parameter: `osDisk.caching` Specifies the caching requirements. @@ -3321,6 +3309,13 @@ Specifies whether data disk should be deleted or detached upon VM deletion. ] ``` +### Parameter: `osDisk.diskSizeGB` + +Specifies the size of an empty data disk in gigabytes. + +- Required: No +- Type: int + ### Parameter: `osDisk.name` The disk name.