Data Source: azurermAppServiceEnvironment
Use this data source to access information about an existing App Service Environment.
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 dataAzurermAppServiceEnvironmentExample =
new azurerm.dataAzurermAppServiceEnvironment.DataAzurermAppServiceEnvironment(
this,
"example",
{
name: "existing-ase",
resource_group_name: "existing-rg",
}
);
new cdktf.TerraformOutput(this, "id", {
value: dataAzurermAppServiceEnvironmentExample.id,
});
Arguments Reference
The following arguments are supported:
-
name
- (Required) The name of this App Service Environment. -
resourceGroupName
- (Required) The name of the Resource Group where the App Service Environment exists.
Attributes Reference
In addition to the Arguments listed above - the following Attributes are exported:
-
id
- The ID of the App Service Environment. -
clusterSetting
- Zero or moreclusterSetting
blocks as defined below. -
frontEndScaleFactor
- The number of app instances per App Service Environment Front End. -
internalIpAddress
- IP address of internal load balancer of the App Service Environment. -
location
- The Azure Region where the App Service Environment exists. -
outboundIpAddresses
- List of outbound IP addresses of the App Service Environment. -
pricingTier
- The Pricing Tier (Isolated SKU) of the App Service Environment. -
serviceIpAddress
- IP address of service endpoint of the App Service Environment. -
tags
- A mapping of tags assigned to the App Service Environment.
A clusterSetting
block exports the following:
-
name
- The name of the Cluster Setting. -
value
- The value for the Cluster Setting.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the App Service Environment.