| create_option |
The method to use when creating the managed disk. |
string |
"Empty" |
no |
| disk_access_id |
The ID of the disk access resource for using private endpoints on disks. |
string |
null |
no |
| disk_encrypt_secret_url |
The URL to the Key Vault Secret used as the Disk Encryption Key. This can be found as id on the azurerm_key_vault_secret resource. |
string |
null |
no |
| disk_encrypt_source_vault_id |
The URL of the Key Vault. This can be found as vault_uri on the azurerm_key_vault resource. |
string |
null |
no |
| disk_encryption_set_id |
he ID of a Disk Encryption Set which should be used to encrypt this Managed Disk. |
string |
null |
no |
| disk_iops_read_write |
The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. |
string |
null |
no |
| disk_mbps_read_write |
The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second. |
string |
null |
no |
| disk_size_gb |
Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source's size. The size can only be increased. |
string |
null |
no |
| encryption |
Enable encryption for the Managed Disk. A Disk Encryption Set should be defined. |
bool |
false |
no |
| image_reference_id |
ID of an existing platform/marketplace disk image to copy when create_option is FromImage. |
string |
null |
no |
| key_encrypt_key_url |
The URL to the Key Vault Key used as the Key Encryption Key. This can be found as id on the azurerm_key_vault_key resource. |
string |
null |
no |
| key_encrypt_source_vault_id |
The ID of the source Key Vault. |
string |
null |
no |
| location |
Specified the supported Azure location where the resource exists. |
string |
null |
no |
| name |
Specifies the name of the Managed Disk. Changing this forces a new resource to be created. |
string |
n/a |
yes |
| network_access_policy |
Policy for accessing the disk via network. Allowed values are AllowAll, AllowPrivate, and DenyAll. |
string |
null |
no |
| os_type |
Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows. |
string |
null |
no |
| resource_group_name |
The name of the Resource Group where the Managed Disk should exist. |
string |
n/a |
yes |
| source_resource_id |
The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore |
string |
null |
no |
| source_uri |
URI to a valid VHD file to be used when create_option is Import. |
string |
null |
no |
| storage_account_id |
The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. |
string |
null |
no |
| storage_account_type |
The type of storage to use for the managed disk. |
string |
"Standard_LRS" |
no |
| tags |
A mapping of tags to assign to the resource. |
map |
{} |
no |
| tier |
The disk performance tier to use. This feature is currently supported only for premium SSDs. |
string |
null |
no |
| use_encryption_key |
Use encryption Key for encryption settings. If set to true, variables disk_encrypt_secret_url, disk_encrypt_source_vault_id, key_encrypt_key_url and key_encrypt_source_vault_id should be mandatory |
bool |
false |
no |
| zones |
A collection containing the availability zone to allocate the Managed Disk in. |
any |
null |
no |