Use this data source to access information about an existing Dev Test Lab.
data "azurerm_dev_test_lab" "example" {
name = "example-lab"
resource_group_name = "example-resources"
}
output "unique_identifier" {
value = data.azurerm_dev_test_lab.example.unique_identifier
}
name
- The name of the Dev Test Lab.
resource_group_name
- The Name of the Resource Group where the Dev Test Lab exists.
id
- The ID of the Dev Test Lab.
artifacts_storage_account_id
- The ID of the Storage Account used for Artifact Storage.
default_storage_account_id
- The ID of the Default Storage Account for this Dev Test Lab.
default_premium_storage_account_id
- The ID of the Default Premium Storage Account for this Dev Test Lab.
key_vault_id
- The ID of the Key used for this Dev Test Lab.
location
- The Azure location where the Dev Test Lab exists.
premium_data_disk_storage_account_id
- The ID of the Storage Account used for Storage of Premium Data Disk.
storage_type
- The type of storage used by the Dev Test Lab.
tags
- A mapping of tags to assign to the resource.
unique_identifier
- The unique immutable identifier of the Dev Test Lab.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Dev Test Lab.