Use this data source to access information about an existing Disk Access.
data "azurerm_disk_access" "example" {
name = "existing"
resource_group_name = "existing"
}
output "id" {
value = data.azurerm_disk_access.example.id
}
The following arguments are supported:
name
- (Required) The name of this Disk Access.
resource_group_name
- (Required) The name of the Resource Group where the Disk Access exists.
tags
- (Optional) A mapping of tags which should be assigned to the Disk Access.In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Disk Access.The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Disk.