azurerm_service_plan

Nivis Nix constructor for the azurerm_service_plan resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  location,
  os_type,
  resource_group_name,
  sku_name,
  app_service_environment_id ? null,
  id ? null,
  maximum_elastic_worker_count ? null,
  cfg_name ? null,
  per_site_scaling_enabled ? null,
  premium_plan_auto_scale_enabled ? null,
  tags ? null,
  worker_count ? null,
  zone_balancing_enabled ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • os_type
  • resource_group_name
  • sku_name
Optional arguments
  • app_service_environment_id (defaults to null)
  • id (defaults to null)
  • maximum_elastic_worker_count (defaults to null)
  • cfg_name (defaults to null)
  • per_site_scaling_enabled (defaults to null)
  • premium_plan_auto_scale_enabled (defaults to null)
  • tags (defaults to null)
  • worker_count (defaults to null)
  • zone_balancing_enabled (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • kind
  • reserved
Example
azurerm_service_plan {
  name = "service_plan";
  location = …;  # required
  os_type = …;  # required
  resource_group_name = …;  # required
  sku_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.