» Data Source: azurerm_app_service_plan

Use this data source to access information about an existing App Service Plan (formerly known as a Server Farm).

» Example Usage

data "azurerm_app_service_plan" "example" {
  name                = "search-app-service-plan"
  resource_group_name = "search-service"

output "app_service_plan_id" {
  value = "${data.azurerm_app_service_plan.example.id}"

» Argument Reference

  • name - (Required) The name of the App Service Plan.
  • resource_group_name - (Required) The Name of the Resource Group where the App Service Plan exists.

» Attributes Reference

  • id - The ID of the App Service Plan.

  • location - The Azure location where the App Service Plan exists

  • kind - The Operating System type of the App Service Plan

  • sku - A sku block as documented below.

  • properties - A properties block as documented below.

  • tags - A mapping of tags assigned to the resource.

  • maximum_elastic_worker_count - The maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.

  • is_xenon - A flag that indicates if it's a xenon plan (support for Windows Container)

  • maximum_number_of_workers - The maximum number of workers supported with the App Service Plan's sku.

A sku block supports the following:

  • tier - Specifies the plan's pricing tier.

  • size - Specifies the plan's instance size.

  • capacity - Specifies the number of workers associated with this App Service Plan.

A properties block supports the following: