Data Source: azurermManagedApplicationDefinition
Uses this data source to access information about an existing Managed Application Definition.
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.*/
new azurerm.provider.AzurermProvider(this, "azurerm", {
features: [{}],
});
const dataAzurermManagedApplicationDefinitionExample =
new azurerm.dataAzurermManagedApplicationDefinition.DataAzurermManagedApplicationDefinition(
this,
"example",
{
name: "examplemanagedappdef",
resource_group_name: "exampleresources",
}
);
new cdktf.TerraformOutput(this, "id", {
value: dataAzurermManagedApplicationDefinitionExample.id,
});
Argument Reference
The following arguments are supported:
-
name
- (Required) Specifies the name of the Managed Application Definition. -
resourceGroupName
- (Required) Specifies the name of the Resource Group where this Managed Application Definition exists. -
location
- The Azure location where the resource exists.
Attributes Reference
The following attributes are exported:
id
- The ID of the Managed Application Definition.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Managed Application Definition.