azurerm_managed_diskNivis Nix constructor for the azurerm_managed_disk resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
create_option,
location,
resource_group_name,
storage_account_type,
disk_access_id ? null,
disk_encryption_set_id ? null,
disk_iops_read_only ? null,
disk_iops_read_write ? null,
disk_mbps_read_only ? null,
disk_mbps_read_write ? null,
disk_size_gb ? null,
edge_zone ? null,
gallery_image_reference_id ? null,
hyper_v_generation ? null,
id ? null,
image_reference_id ? null,
logical_sector_size ? null,
max_shares ? null,
cfg_name ? null,
network_access_policy ? null,
on_demand_bursting_enabled ? null,
optimized_frequent_attach_enabled ? null,
os_type ? null,
performance_plus_enabled ? null,
public_network_access_enabled ? null,
secure_vm_disk_encryption_set_id ? null,
security_type ? null,
source_resource_id ? null,
source_uri ? null,
storage_account_id ? null,
tags ? null,
tier ? null,
trusted_launch_enabled ? null,
upload_size_bytes ? null,
zone ? null,
encryption_settings ? null,
timeouts ? null,
overrides ? {}
}Required arguments
create_optionlocationresource_group_namestorage_account_type
Optional arguments
disk_access_id(defaults tonull)disk_encryption_set_id(defaults tonull)disk_iops_read_only(defaults tonull)disk_iops_read_write(defaults tonull)disk_mbps_read_only(defaults tonull)disk_mbps_read_write(defaults tonull)disk_size_gb(defaults tonull)edge_zone(defaults tonull)gallery_image_reference_id(defaults tonull)hyper_v_generation(defaults tonull)id(defaults tonull)image_reference_id(defaults tonull)logical_sector_size(defaults tonull)max_shares(defaults tonull)cfg_name(defaults tonull)network_access_policy(defaults tonull)on_demand_bursting_enabled(defaults tonull)optimized_frequent_attach_enabled(defaults tonull)os_type(defaults tonull)performance_plus_enabled(defaults tonull)public_network_access_enabled(defaults tonull)secure_vm_disk_encryption_set_id(defaults tonull)security_type(defaults tonull)source_resource_id(defaults tonull)source_uri(defaults tonull)storage_account_id(defaults tonull)tags(defaults tonull)tier(defaults tonull)trusted_launch_enabled(defaults tonull)upload_size_bytes(defaults tonull)zone(defaults tonull)encryption_settings(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_managed_disk {
name = "managed_disk";
create_option = …; # required
location = …; # required
resource_group_name = …; # required
storage_account_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.