Data Source: azurerm_managed_disk

Use this data source to access information about an existing Managed Disk.

Example Usage

data "azurerm_managed_disk" "existing" {
  name                = "example-datadisk"
  resource_group_name = "example-resources"
}

output "id" {
  value = data.azurerm_managed_disk.existing.id
}

Argument Reference

Attributes Reference


The encryption_settings block supports:


The disk_encryption_key block supports:


The key_encryption_key block supports:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: