avm-res-compute-disk
Azure/avm-res-compute-disk/azurerm
Azure Verified Module for Azure Disk
> [!IMPORTANT] > As the overall AVM framework is not GA (generally available) yet - the CI framework and test automation is not fully functional and implemented across all supported languages yet - breaking changes are expected, and additional customer feedback is yet to be gathered and incorporated. Hence, modules MUST NOT be published at version 1.0.0 or higher at this time. > > All module MUST be published as a pre-release version (e.g., 0.1.0, 0.1.1, 0.2.0, etc.) until the AVM framework becomes GA. > > However, it is important to note that this DOES NOT mean that the modules cannot be consumed and utilized. They CAN be leveraged in all types of environments (dev, test, prod etc.). Consumers can treat them just like any other IaC module and raise issues or feature requests against them
| Name | Type | Description | Default |
|---|---|---|---|
| create_option | string | (Required) The method to use when creating the managed disk. Changing this force | required |
| zone | string | (Optional) Specifies the Availability Zone in which this Managed Disk should be | required |
| location | string | Azure region where the resource should be deployed. | required |
| name | string | The name of the this resource. | required |
| storage_account_type | string | (Required) The type of storage to use for the managed disk. Possible values are | required |
| resource_group_name | string | The resource group where the resources will be deployed. | required |
| image_reference_id | string | (Optional) ID of an existing platform/marketplace disk image to copy when `creat | null |
| network_access_policy | string | (Optional) Policy for accessing the disk via network. Allowed values are `AllowA | "AllowPrivate" |
| storage_account_id | string | (Optional) The ID of the Storage Account where the `source_uri` is located. Requ | null |
| private_endpoints_manage_dns_zone_group | bool | Whether to manage private DNS zone groups with this module. If set to false, you | true |
| secure_vm_disk_encryption_set_id | string | (Optional) The ID of the Disk Encryption Set which should be used to Encrypt thi | null |
| trusted_launch_enabled | bool | (Optional) Specifies if Trusted Launch is enabled for the Managed Disk. Changing | null |
| disk_access_id | string | (Optional) The ID of the disk access resource for using private endpoints on dis | null |
| disk_encryption_set_id | string | (Optional) The ID of a Disk Encryption Set which should be used to encrypt this | null |
| disk_iops_read_only | number | (Optional) The number of IOPS allowed across all VMs mounting the shared disk as | null |
| disk_mbps_read_only | number | (Optional) The bandwidth allowed across all VMs mounting the shared disk as read | null |
| edge_zone | string | (Optional) Specifies the Edge Zone within the Azure Region where this Managed Di | null |
| hyper_v_generation | string | (Optional) The HyperV Generation of the Disk when the source of an `Import` or ` | null |
| private_endpoints | map(object({ name = option | A map of private endpoints to create on this resource. The map key is deliberate | {} |
| disk_size_gb | number | (Optional) (Optional, Required for a new managed disk) Specifies the size of the | null |
| performance_plus_enabled | bool | (Optional) Specifies whether Performance Plus is enabled for this Managed Disk. | null |
| public_network_access_enabled | bool | (Optional) Whether it is allowed to access the disk via public network. Defaults | false |
| source_uri | string | (Optional) URI to a valid VHD file to be used when `create_option` is `Import` o | null |
| on_demand_bursting_enabled | bool | (Optional) Specifies if On-Demand Bursting is enabled for the Managed Disk. | null |
| disk_mbps_read_write | number | (Optional) The bandwidth allowed for this disk; only settable for UltraSSD disks | null |
| lock | object({ kind = string | Controls the Resource Lock configuration for this resource. The following proper | null |
| … and 1 more inputs | |||
resource — This is the full output for the resource.resource_group_name — The name of the Resource Group.resource_id — This is the full output for the resource.location — The deployment region.private_endpoints — A map of the private endpoints created.