Data Source: azurermDevTestLab
Use this data source to access information about an existing Dev Test Lab.
Example Usage
import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const dataAzurermDevTestLabExample =
new azurerm.dataAzurermDevTestLab.DataAzurermDevTestLab(this, "example", {
name: "example-lab",
resource_group_name: "example-resources",
});
new cdktf.TerraformOutput(this, "unique_identifier", {
value: dataAzurermDevTestLabExample.uniqueIdentifier,
});
Argument Reference
-
name
- The name of the Dev Test Lab. -
resourceGroupName
- The Name of the Resource Group where the Dev Test Lab exists.
Attributes Reference
-
id
- The ID of the Dev Test Lab. -
artifactsStorageAccountId
- The ID of the Storage Account used for Artifact Storage. -
defaultStorageAccountId
- The ID of the Default Storage Account for this Dev Test Lab. -
defaultPremiumStorageAccountId
- The ID of the Default Premium Storage Account for this Dev Test Lab. -
keyVaultId
- The ID of the Key used for this Dev Test Lab. -
location
- The Azure location where the Dev Test Lab exists. -
premiumDataDiskStorageAccountId
- The ID of the Storage Account used for Storage of Premium Data Disk. -
storageType
- The type of storage used by the Dev Test Lab. -
tags
- A mapping of tags to assign to the resource. -
uniqueIdentifier
- The unique immutable identifier of the Dev Test Lab.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Dev Test Lab.