Data Source: azurermRecoveryServicesVault
Use this data source to access information about an existing Recovery Services Vault.
Example Usage
/*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.*/
new azurerm.dataAzurermRecoveryServicesVault.DataAzurermRecoveryServicesVault(
this,
"vault",
{
name: "tfex-recovery_vault",
resource_group_name: "tfex-resource_group",
}
);
Argument Reference
The following arguments are supported:
-
name
- Specifies the name of the Recovery Services Vault. -
resourceGroupName
- The name of the resource group in which the Recovery Services Vault resides.
Attributes Reference
The following attributes are exported:
-
id
- The ID of the Recovery Services Vault. -
location
- The Azure location where the resource resides. -
tags
- A mapping of tags assigned to the resource. -
sku
- The vault's current SKU.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Recovery Services Vault.