azurerm_service_planNivis 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
locationos_typeresource_group_namesku_name
Optional arguments
app_service_environment_id(defaults tonull)id(defaults tonull)maximum_elastic_worker_count(defaults tonull)cfg_name(defaults tonull)per_site_scaling_enabled(defaults tonull)premium_plan_auto_scale_enabled(defaults tonull)tags(defaults tonull)worker_count(defaults tonull)zone_balancing_enabled(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
kindreserved
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.