azure-native.web.AppServicePlan
Explore with Pulumi AI
App Service plan. API Version: 2020-12-01.
Example Usage
Create Or Update App Service plan
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var appServicePlan = new AzureNative.Web.AppServicePlan("appServicePlan", new()
{
Kind = "app",
Location = "East US",
Name = "testsf6141",
ResourceGroupName = "testrg123",
Sku = new AzureNative.Web.Inputs.SkuDescriptionArgs
{
Capacity = 1,
Family = "P",
Name = "P1",
Size = "P1",
Tier = "Premium",
},
});
});
package main
import (
web "github.com/pulumi/pulumi-azure-native-sdk/web"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := web.NewAppServicePlan(ctx, "appServicePlan", &web.AppServicePlanArgs{
Kind: pulumi.String("app"),
Location: pulumi.String("East US"),
Name: pulumi.String("testsf6141"),
ResourceGroupName: pulumi.String("testrg123"),
Sku: &web.SkuDescriptionArgs{
Capacity: pulumi.Int(1),
Family: pulumi.String("P"),
Name: pulumi.String("P1"),
Size: pulumi.String("P1"),
Tier: pulumi.String("Premium"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.web.AppServicePlan;
import com.pulumi.azurenative.web.AppServicePlanArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var appServicePlan = new AppServicePlan("appServicePlan", AppServicePlanArgs.builder()
.kind("app")
.location("East US")
.name("testsf6141")
.resourceGroupName("testrg123")
.sku(Map.ofEntries(
Map.entry("capacity", 1),
Map.entry("family", "P"),
Map.entry("name", "P1"),
Map.entry("size", "P1"),
Map.entry("tier", "Premium")
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
app_service_plan = azure_native.web.AppServicePlan("appServicePlan",
kind="app",
location="East US",
name="testsf6141",
resource_group_name="testrg123",
sku=azure_native.web.SkuDescriptionArgs(
capacity=1,
family="P",
name="P1",
size="P1",
tier="Premium",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const appServicePlan = new azure_native.web.AppServicePlan("appServicePlan", {
kind: "app",
location: "East US",
name: "testsf6141",
resourceGroupName: "testrg123",
sku: {
capacity: 1,
family: "P",
name: "P1",
size: "P1",
tier: "Premium",
},
});
resources:
appServicePlan:
type: azure-native:web:AppServicePlan
properties:
kind: app
location: East US
name: testsf6141
resourceGroupName: testrg123
sku:
capacity: 1
family: P
name: P1
size: P1
tier: Premium
Create AppServicePlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppServicePlan(name: string, args: AppServicePlanArgs, opts?: CustomResourceOptions);
@overload
def AppServicePlan(resource_name: str,
args: AppServicePlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppServicePlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
is_xenon: Optional[bool] = None,
is_spot: Optional[bool] = None,
per_site_scaling: Optional[bool] = None,
reserved: Optional[bool] = None,
kind: Optional[str] = None,
kube_environment_profile: Optional[KubeEnvironmentProfileArgs] = None,
location: Optional[str] = None,
maximum_elastic_worker_count: Optional[int] = None,
worker_tier_name: Optional[str] = None,
hyper_v: Optional[bool] = None,
free_offer_expiration_time: Optional[str] = None,
hosting_environment_profile: Optional[HostingEnvironmentProfileArgs] = None,
sku: Optional[SkuDescriptionArgs] = None,
spot_expiration_time: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
target_worker_count: Optional[int] = None,
target_worker_size_id: Optional[int] = None,
name: Optional[str] = None)
func NewAppServicePlan(ctx *Context, name string, args AppServicePlanArgs, opts ...ResourceOption) (*AppServicePlan, error)
public AppServicePlan(string name, AppServicePlanArgs args, CustomResourceOptions? opts = null)
public AppServicePlan(String name, AppServicePlanArgs args)
public AppServicePlan(String name, AppServicePlanArgs args, CustomResourceOptions options)
type: azure-native:web:AppServicePlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppServicePlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppServicePlanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppServicePlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppServicePlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppServicePlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appServicePlanResource = new AzureNative.Web.AppServicePlan("appServicePlanResource", new()
{
ResourceGroupName = "string",
IsXenon = false,
IsSpot = false,
PerSiteScaling = false,
Reserved = false,
Kind = "string",
KubeEnvironmentProfile =
{
{ "id", "string" },
},
Location = "string",
MaximumElasticWorkerCount = 0,
WorkerTierName = "string",
HyperV = false,
FreeOfferExpirationTime = "string",
HostingEnvironmentProfile =
{
{ "id", "string" },
},
Sku =
{
{ "capabilities", new[]
{
{
{ "name", "string" },
{ "reason", "string" },
{ "value", "string" },
},
} },
{ "capacity", 0 },
{ "family", "string" },
{ "locations", new[]
{
"string",
} },
{ "name", "string" },
{ "size", "string" },
{ "skuCapacity",
{
{ "default", 0 },
{ "elasticMaximum", 0 },
{ "maximum", 0 },
{ "minimum", 0 },
{ "scaleType", "string" },
} },
{ "tier", "string" },
},
SpotExpirationTime = "string",
Tags =
{
{ "string", "string" },
},
TargetWorkerCount = 0,
TargetWorkerSizeId = 0,
Name = "string",
});
example, err := web.NewAppServicePlan(ctx, "appServicePlanResource", &web.AppServicePlanArgs{
ResourceGroupName: "string",
IsXenon: false,
IsSpot: false,
PerSiteScaling: false,
Reserved: false,
Kind: "string",
KubeEnvironmentProfile: map[string]interface{}{
"id": "string",
},
Location: "string",
MaximumElasticWorkerCount: 0,
WorkerTierName: "string",
HyperV: false,
FreeOfferExpirationTime: "string",
HostingEnvironmentProfile: map[string]interface{}{
"id": "string",
},
Sku: map[string]interface{}{
"capabilities": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"reason": "string",
"value": "string",
},
},
"capacity": 0,
"family": "string",
"locations": []string{
"string",
},
"name": "string",
"size": "string",
"skuCapacity": map[string]interface{}{
"default": 0,
"elasticMaximum": 0,
"maximum": 0,
"minimum": 0,
"scaleType": "string",
},
"tier": "string",
},
SpotExpirationTime: "string",
Tags: map[string]interface{}{
"string": "string",
},
TargetWorkerCount: 0,
TargetWorkerSizeId: 0,
Name: "string",
})
var appServicePlanResource = new AppServicePlan("appServicePlanResource", AppServicePlanArgs.builder()
.resourceGroupName("string")
.isXenon(false)
.isSpot(false)
.perSiteScaling(false)
.reserved(false)
.kind("string")
.kubeEnvironmentProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.maximumElasticWorkerCount(0)
.workerTierName("string")
.hyperV(false)
.freeOfferExpirationTime("string")
.hostingEnvironmentProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.spotExpirationTime("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.targetWorkerCount(0)
.targetWorkerSizeId(0)
.name("string")
.build());
app_service_plan_resource = azure_native.web.AppServicePlan("appServicePlanResource",
resource_group_name=string,
is_xenon=False,
is_spot=False,
per_site_scaling=False,
reserved=False,
kind=string,
kube_environment_profile={
id: string,
},
location=string,
maximum_elastic_worker_count=0,
worker_tier_name=string,
hyper_v=False,
free_offer_expiration_time=string,
hosting_environment_profile={
id: string,
},
sku={
capabilities: [{
name: string,
reason: string,
value: string,
}],
capacity: 0,
family: string,
locations: [string],
name: string,
size: string,
skuCapacity: {
default: 0,
elasticMaximum: 0,
maximum: 0,
minimum: 0,
scaleType: string,
},
tier: string,
},
spot_expiration_time=string,
tags={
string: string,
},
target_worker_count=0,
target_worker_size_id=0,
name=string)
const appServicePlanResource = new azure_native.web.AppServicePlan("appServicePlanResource", {
resourceGroupName: "string",
isXenon: false,
isSpot: false,
perSiteScaling: false,
reserved: false,
kind: "string",
kubeEnvironmentProfile: {
id: "string",
},
location: "string",
maximumElasticWorkerCount: 0,
workerTierName: "string",
hyperV: false,
freeOfferExpirationTime: "string",
hostingEnvironmentProfile: {
id: "string",
},
sku: {
capabilities: [{
name: "string",
reason: "string",
value: "string",
}],
capacity: 0,
family: "string",
locations: ["string"],
name: "string",
size: "string",
skuCapacity: {
"default": 0,
elasticMaximum: 0,
maximum: 0,
minimum: 0,
scaleType: "string",
},
tier: "string",
},
spotExpirationTime: "string",
tags: {
string: "string",
},
targetWorkerCount: 0,
targetWorkerSizeId: 0,
name: "string",
});
type: azure-native:web:AppServicePlan
properties:
freeOfferExpirationTime: string
hostingEnvironmentProfile:
id: string
hyperV: false
isSpot: false
isXenon: false
kind: string
kubeEnvironmentProfile:
id: string
location: string
maximumElasticWorkerCount: 0
name: string
perSiteScaling: false
reserved: false
resourceGroupName: string
sku:
capabilities:
- name: string
reason: string
value: string
capacity: 0
family: string
locations:
- string
name: string
size: string
skuCapacity:
default: 0
elasticMaximum: 0
maximum: 0
minimum: 0
scaleType: string
tier: string
spotExpirationTime: string
tags:
string: string
targetWorkerCount: 0
targetWorkerSizeId: 0
workerTierName: string
AppServicePlan Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AppServicePlan resource accepts the following input properties:
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Free
Offer stringExpiration Time - The time when the server farm free offer expires.
- Hosting
Environment Pulumi.Profile Azure Native. Web. Inputs. Hosting Environment Profile - Specification for the App Service Environment to use for the App Service plan.
- Hyper
V bool - If Hyper-V container app service plan true, false otherwise.
- Is
Spot bool - If true, this App Service Plan owns spot instances.
- Is
Xenon bool - Obsolete: If Hyper-V container app service plan true, false otherwise.
- Kind string
- Kind of resource.
- Kube
Environment Pulumi.Profile Azure Native. Web. Inputs. Kube Environment Profile - Specification for the Kubernetes Environment to use for the App Service plan.
- Location string
- Resource Location.
- Maximum
Elastic intWorker Count - Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
- Name string
- Name of the App Service plan.
- Per
Site boolScaling - If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan.
- Reserved bool
- If Linux app service plan true, false otherwise.
- Sku
Pulumi.
Azure Native. Web. Inputs. Sku Description - Description of a SKU for a scalable resource.
- Spot
Expiration stringTime - The time when the server farm expires. Valid only if it is a spot server farm.
- Dictionary<string, string>
- Resource tags.
- Target
Worker intCount - Scaling worker count.
- Target
Worker intSize Id - Scaling worker size ID.
- Worker
Tier stringName - Target worker tier assigned to the App Service plan.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Free
Offer stringExpiration Time - The time when the server farm free offer expires.
- Hosting
Environment HostingProfile Environment Profile Args - Specification for the App Service Environment to use for the App Service plan.
- Hyper
V bool - If Hyper-V container app service plan true, false otherwise.
- Is
Spot bool - If true, this App Service Plan owns spot instances.
- Is
Xenon bool - Obsolete: If Hyper-V container app service plan true, false otherwise.
- Kind string
- Kind of resource.
- Kube
Environment KubeProfile Environment Profile Args - Specification for the Kubernetes Environment to use for the App Service plan.
- Location string
- Resource Location.
- Maximum
Elastic intWorker Count - Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
- Name string
- Name of the App Service plan.
- Per
Site boolScaling - If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan.
- Reserved bool
- If Linux app service plan true, false otherwise.
- Sku
Sku
Description Args - Description of a SKU for a scalable resource.
- Spot
Expiration stringTime - The time when the server farm expires. Valid only if it is a spot server farm.
- map[string]string
- Resource tags.
- Target
Worker intCount - Scaling worker count.
- Target
Worker intSize Id - Scaling worker size ID.
- Worker
Tier stringName - Target worker tier assigned to the App Service plan.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- free
Offer StringExpiration Time - The time when the server farm free offer expires.
- hosting
Environment HostingProfile Environment Profile - Specification for the App Service Environment to use for the App Service plan.
- hyper
V Boolean - If Hyper-V container app service plan true, false otherwise.
- is
Spot Boolean - If true, this App Service Plan owns spot instances.
- is
Xenon Boolean - Obsolete: If Hyper-V container app service plan true, false otherwise.
- kind String
- Kind of resource.
- kube
Environment KubeProfile Environment Profile - Specification for the Kubernetes Environment to use for the App Service plan.
- location String
- Resource Location.
- maximum
Elastic IntegerWorker Count - Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
- name String
- Name of the App Service plan.
- per
Site BooleanScaling - If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan.
- reserved Boolean
- If Linux app service plan true, false otherwise.
- sku
Sku
Description - Description of a SKU for a scalable resource.
- spot
Expiration StringTime - The time when the server farm expires. Valid only if it is a spot server farm.
- Map<String,String>
- Resource tags.
- target
Worker IntegerCount - Scaling worker count.
- target
Worker IntegerSize Id - Scaling worker size ID.
- worker
Tier StringName - Target worker tier assigned to the App Service plan.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- free
Offer stringExpiration Time - The time when the server farm free offer expires.
- hosting
Environment HostingProfile Environment Profile - Specification for the App Service Environment to use for the App Service plan.
- hyper
V boolean - If Hyper-V container app service plan true, false otherwise.
- is
Spot boolean - If true, this App Service Plan owns spot instances.
- is
Xenon boolean - Obsolete: If Hyper-V container app service plan true, false otherwise.
- kind string
- Kind of resource.
- kube
Environment KubeProfile Environment Profile - Specification for the Kubernetes Environment to use for the App Service plan.
- location string
- Resource Location.
- maximum
Elastic numberWorker Count - Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
- name string
- Name of the App Service plan.
- per
Site booleanScaling - If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan.
- reserved boolean
- If Linux app service plan true, false otherwise.
- sku
Sku
Description - Description of a SKU for a scalable resource.
- spot
Expiration stringTime - The time when the server farm expires. Valid only if it is a spot server farm.
- {[key: string]: string}
- Resource tags.
- target
Worker numberCount - Scaling worker count.
- target
Worker numberSize Id - Scaling worker size ID.
- worker
Tier stringName - Target worker tier assigned to the App Service plan.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- free_
offer_ strexpiration_ time - The time when the server farm free offer expires.
- hosting_
environment_ Hostingprofile Environment Profile Args - Specification for the App Service Environment to use for the App Service plan.
- hyper_
v bool - If Hyper-V container app service plan true, false otherwise.
- is_
spot bool - If true, this App Service Plan owns spot instances.
- is_
xenon bool - Obsolete: If Hyper-V container app service plan true, false otherwise.
- kind str
- Kind of resource.
- kube_
environment_ Kubeprofile Environment Profile Args - Specification for the Kubernetes Environment to use for the App Service plan.
- location str
- Resource Location.
- maximum_
elastic_ intworker_ count - Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
- name str
- Name of the App Service plan.
- per_
site_ boolscaling - If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan.
- reserved bool
- If Linux app service plan true, false otherwise.
- sku
Sku
Description Args - Description of a SKU for a scalable resource.
- spot_
expiration_ strtime - The time when the server farm expires. Valid only if it is a spot server farm.
- Mapping[str, str]
- Resource tags.
- target_
worker_ intcount - Scaling worker count.
- target_
worker_ intsize_ id - Scaling worker size ID.
- worker_
tier_ strname - Target worker tier assigned to the App Service plan.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- free
Offer StringExpiration Time - The time when the server farm free offer expires.
- hosting
Environment Property MapProfile - Specification for the App Service Environment to use for the App Service plan.
- hyper
V Boolean - If Hyper-V container app service plan true, false otherwise.
- is
Spot Boolean - If true, this App Service Plan owns spot instances.
- is
Xenon Boolean - Obsolete: If Hyper-V container app service plan true, false otherwise.
- kind String
- Kind of resource.
- kube
Environment Property MapProfile - Specification for the Kubernetes Environment to use for the App Service plan.
- location String
- Resource Location.
- maximum
Elastic NumberWorker Count - Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
- name String
- Name of the App Service plan.
- per
Site BooleanScaling - If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan.
- reserved Boolean
- If Linux app service plan true, false otherwise.
- sku Property Map
- Description of a SKU for a scalable resource.
- spot
Expiration StringTime - The time when the server farm expires. Valid only if it is a spot server farm.
- Map<String>
- Resource tags.
- target
Worker NumberCount - Scaling worker count.
- target
Worker NumberSize Id - Scaling worker size ID.
- worker
Tier StringName - Target worker tier assigned to the App Service plan.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppServicePlan resource produces the following output properties:
- Geo
Region string - Geographical location for the App Service plan.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maximum
Number intOf Workers - Maximum number of instances that can be assigned to this App Service plan.
- Number
Of intSites - Number of apps assigned to this App Service plan.
- Provisioning
State string - Provisioning state of the App Service Plan.
- Resource
Group string - Resource group of the App Service plan.
- Status string
- App Service plan status.
- Subscription string
- App Service plan subscription.
- Type string
- Resource type.
- Geo
Region string - Geographical location for the App Service plan.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maximum
Number intOf Workers - Maximum number of instances that can be assigned to this App Service plan.
- Number
Of intSites - Number of apps assigned to this App Service plan.
- Provisioning
State string - Provisioning state of the App Service Plan.
- Resource
Group string - Resource group of the App Service plan.
- Status string
- App Service plan status.
- Subscription string
- App Service plan subscription.
- Type string
- Resource type.
- geo
Region String - Geographical location for the App Service plan.
- id String
- The provider-assigned unique ID for this managed resource.
- maximum
Number IntegerOf Workers - Maximum number of instances that can be assigned to this App Service plan.
- number
Of IntegerSites - Number of apps assigned to this App Service plan.
- provisioning
State String - Provisioning state of the App Service Plan.
- resource
Group String - Resource group of the App Service plan.
- status String
- App Service plan status.
- subscription String
- App Service plan subscription.
- type String
- Resource type.
- geo
Region string - Geographical location for the App Service plan.
- id string
- The provider-assigned unique ID for this managed resource.
- maximum
Number numberOf Workers - Maximum number of instances that can be assigned to this App Service plan.
- number
Of numberSites - Number of apps assigned to this App Service plan.
- provisioning
State string - Provisioning state of the App Service Plan.
- resource
Group string - Resource group of the App Service plan.
- status string
- App Service plan status.
- subscription string
- App Service plan subscription.
- type string
- Resource type.
- geo_
region str - Geographical location for the App Service plan.
- id str
- The provider-assigned unique ID for this managed resource.
- maximum_
number_ intof_ workers - Maximum number of instances that can be assigned to this App Service plan.
- number_
of_ intsites - Number of apps assigned to this App Service plan.
- provisioning_
state str - Provisioning state of the App Service Plan.
- resource_
group str - Resource group of the App Service plan.
- status str
- App Service plan status.
- subscription str
- App Service plan subscription.
- type str
- Resource type.
- geo
Region String - Geographical location for the App Service plan.
- id String
- The provider-assigned unique ID for this managed resource.
- maximum
Number NumberOf Workers - Maximum number of instances that can be assigned to this App Service plan.
- number
Of NumberSites - Number of apps assigned to this App Service plan.
- provisioning
State String - Provisioning state of the App Service Plan.
- resource
Group String - Resource group of the App Service plan.
- status String
- App Service plan status.
- subscription String
- App Service plan subscription.
- type String
- Resource type.
Supporting Types
Capability, CapabilityArgs
CapabilityResponse, CapabilityResponseArgs
HostingEnvironmentProfile, HostingEnvironmentProfileArgs
- Id string
- Resource ID of the App Service Environment.
- Id string
- Resource ID of the App Service Environment.
- id String
- Resource ID of the App Service Environment.
- id string
- Resource ID of the App Service Environment.
- id str
- Resource ID of the App Service Environment.
- id String
- Resource ID of the App Service Environment.
HostingEnvironmentProfileResponse, HostingEnvironmentProfileResponseArgs
KubeEnvironmentProfile, KubeEnvironmentProfileArgs
- Id string
- Resource ID of the Kubernetes Environment.
- Id string
- Resource ID of the Kubernetes Environment.
- id String
- Resource ID of the Kubernetes Environment.
- id string
- Resource ID of the Kubernetes Environment.
- id str
- Resource ID of the Kubernetes Environment.
- id String
- Resource ID of the Kubernetes Environment.
KubeEnvironmentProfileResponse, KubeEnvironmentProfileResponseArgs
SkuCapacity, SkuCapacityArgs
- Default int
- Default number of workers for this App Service plan SKU.
- Elastic
Maximum int - Maximum number of Elastic workers for this App Service plan SKU.
- Maximum int
- Maximum number of workers for this App Service plan SKU.
- Minimum int
- Minimum number of workers for this App Service plan SKU.
- Scale
Type string - Available scale configurations for an App Service plan.
- Default int
- Default number of workers for this App Service plan SKU.
- Elastic
Maximum int - Maximum number of Elastic workers for this App Service plan SKU.
- Maximum int
- Maximum number of workers for this App Service plan SKU.
- Minimum int
- Minimum number of workers for this App Service plan SKU.
- Scale
Type string - Available scale configurations for an App Service plan.
- default_ Integer
- Default number of workers for this App Service plan SKU.
- elastic
Maximum Integer - Maximum number of Elastic workers for this App Service plan SKU.
- maximum Integer
- Maximum number of workers for this App Service plan SKU.
- minimum Integer
- Minimum number of workers for this App Service plan SKU.
- scale
Type String - Available scale configurations for an App Service plan.
- default number
- Default number of workers for this App Service plan SKU.
- elastic
Maximum number - Maximum number of Elastic workers for this App Service plan SKU.
- maximum number
- Maximum number of workers for this App Service plan SKU.
- minimum number
- Minimum number of workers for this App Service plan SKU.
- scale
Type string - Available scale configurations for an App Service plan.
- default int
- Default number of workers for this App Service plan SKU.
- elastic_
maximum int - Maximum number of Elastic workers for this App Service plan SKU.
- maximum int
- Maximum number of workers for this App Service plan SKU.
- minimum int
- Minimum number of workers for this App Service plan SKU.
- scale_
type str - Available scale configurations for an App Service plan.
- default Number
- Default number of workers for this App Service plan SKU.
- elastic
Maximum Number - Maximum number of Elastic workers for this App Service plan SKU.
- maximum Number
- Maximum number of workers for this App Service plan SKU.
- minimum Number
- Minimum number of workers for this App Service plan SKU.
- scale
Type String - Available scale configurations for an App Service plan.
SkuCapacityResponse, SkuCapacityResponseArgs
- Default int
- Default number of workers for this App Service plan SKU.
- Elastic
Maximum int - Maximum number of Elastic workers for this App Service plan SKU.
- Maximum int
- Maximum number of workers for this App Service plan SKU.
- Minimum int
- Minimum number of workers for this App Service plan SKU.
- Scale
Type string - Available scale configurations for an App Service plan.
- Default int
- Default number of workers for this App Service plan SKU.
- Elastic
Maximum int - Maximum number of Elastic workers for this App Service plan SKU.
- Maximum int
- Maximum number of workers for this App Service plan SKU.
- Minimum int
- Minimum number of workers for this App Service plan SKU.
- Scale
Type string - Available scale configurations for an App Service plan.
- default_ Integer
- Default number of workers for this App Service plan SKU.
- elastic
Maximum Integer - Maximum number of Elastic workers for this App Service plan SKU.
- maximum Integer
- Maximum number of workers for this App Service plan SKU.
- minimum Integer
- Minimum number of workers for this App Service plan SKU.
- scale
Type String - Available scale configurations for an App Service plan.
- default number
- Default number of workers for this App Service plan SKU.
- elastic
Maximum number - Maximum number of Elastic workers for this App Service plan SKU.
- maximum number
- Maximum number of workers for this App Service plan SKU.
- minimum number
- Minimum number of workers for this App Service plan SKU.
- scale
Type string - Available scale configurations for an App Service plan.
- default int
- Default number of workers for this App Service plan SKU.
- elastic_
maximum int - Maximum number of Elastic workers for this App Service plan SKU.
- maximum int
- Maximum number of workers for this App Service plan SKU.
- minimum int
- Minimum number of workers for this App Service plan SKU.
- scale_
type str - Available scale configurations for an App Service plan.
- default Number
- Default number of workers for this App Service plan SKU.
- elastic
Maximum Number - Maximum number of Elastic workers for this App Service plan SKU.
- maximum Number
- Maximum number of workers for this App Service plan SKU.
- minimum Number
- Minimum number of workers for this App Service plan SKU.
- scale
Type String - Available scale configurations for an App Service plan.
SkuDescription, SkuDescriptionArgs
- Capabilities
List<Pulumi.
Azure Native. Web. Inputs. Capability> - Capabilities of the SKU, e.g., is traffic manager enabled?
- Capacity int
- Current number of instances assigned to the resource.
- Family string
- Family code of the resource SKU.
- Locations List<string>
- Locations of the SKU.
- Name string
- Name of the resource SKU.
- Size string
- Size specifier of the resource SKU.
- Sku
Capacity Pulumi.Azure Native. Web. Inputs. Sku Capacity - Min, max, and default scale values of the SKU.
- Tier string
- Service tier of the resource SKU.
- Capabilities []Capability
- Capabilities of the SKU, e.g., is traffic manager enabled?
- Capacity int
- Current number of instances assigned to the resource.
- Family string
- Family code of the resource SKU.
- Locations []string
- Locations of the SKU.
- Name string
- Name of the resource SKU.
- Size string
- Size specifier of the resource SKU.
- Sku
Capacity SkuCapacity - Min, max, and default scale values of the SKU.
- Tier string
- Service tier of the resource SKU.
- capabilities List<Capability>
- Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity Integer
- Current number of instances assigned to the resource.
- family String
- Family code of the resource SKU.
- locations List<String>
- Locations of the SKU.
- name String
- Name of the resource SKU.
- size String
- Size specifier of the resource SKU.
- sku
Capacity SkuCapacity - Min, max, and default scale values of the SKU.
- tier String
- Service tier of the resource SKU.
- capabilities Capability[]
- Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity number
- Current number of instances assigned to the resource.
- family string
- Family code of the resource SKU.
- locations string[]
- Locations of the SKU.
- name string
- Name of the resource SKU.
- size string
- Size specifier of the resource SKU.
- sku
Capacity SkuCapacity - Min, max, and default scale values of the SKU.
- tier string
- Service tier of the resource SKU.
- capabilities Sequence[Capability]
- Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity int
- Current number of instances assigned to the resource.
- family str
- Family code of the resource SKU.
- locations Sequence[str]
- Locations of the SKU.
- name str
- Name of the resource SKU.
- size str
- Size specifier of the resource SKU.
- sku_
capacity SkuCapacity - Min, max, and default scale values of the SKU.
- tier str
- Service tier of the resource SKU.
- capabilities List<Property Map>
- Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity Number
- Current number of instances assigned to the resource.
- family String
- Family code of the resource SKU.
- locations List<String>
- Locations of the SKU.
- name String
- Name of the resource SKU.
- size String
- Size specifier of the resource SKU.
- sku
Capacity Property Map - Min, max, and default scale values of the SKU.
- tier String
- Service tier of the resource SKU.
SkuDescriptionResponse, SkuDescriptionResponseArgs
- Capabilities
List<Pulumi.
Azure Native. Web. Inputs. Capability Response> - Capabilities of the SKU, e.g., is traffic manager enabled?
- Capacity int
- Current number of instances assigned to the resource.
- Family string
- Family code of the resource SKU.
- Locations List<string>
- Locations of the SKU.
- Name string
- Name of the resource SKU.
- Size string
- Size specifier of the resource SKU.
- Sku
Capacity Pulumi.Azure Native. Web. Inputs. Sku Capacity Response - Min, max, and default scale values of the SKU.
- Tier string
- Service tier of the resource SKU.
- Capabilities
[]Capability
Response - Capabilities of the SKU, e.g., is traffic manager enabled?
- Capacity int
- Current number of instances assigned to the resource.
- Family string
- Family code of the resource SKU.
- Locations []string
- Locations of the SKU.
- Name string
- Name of the resource SKU.
- Size string
- Size specifier of the resource SKU.
- Sku
Capacity SkuCapacity Response - Min, max, and default scale values of the SKU.
- Tier string
- Service tier of the resource SKU.
- capabilities
List<Capability
Response> - Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity Integer
- Current number of instances assigned to the resource.
- family String
- Family code of the resource SKU.
- locations List<String>
- Locations of the SKU.
- name String
- Name of the resource SKU.
- size String
- Size specifier of the resource SKU.
- sku
Capacity SkuCapacity Response - Min, max, and default scale values of the SKU.
- tier String
- Service tier of the resource SKU.
- capabilities
Capability
Response[] - Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity number
- Current number of instances assigned to the resource.
- family string
- Family code of the resource SKU.
- locations string[]
- Locations of the SKU.
- name string
- Name of the resource SKU.
- size string
- Size specifier of the resource SKU.
- sku
Capacity SkuCapacity Response - Min, max, and default scale values of the SKU.
- tier string
- Service tier of the resource SKU.
- capabilities
Sequence[Capability
Response] - Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity int
- Current number of instances assigned to the resource.
- family str
- Family code of the resource SKU.
- locations Sequence[str]
- Locations of the SKU.
- name str
- Name of the resource SKU.
- size str
- Size specifier of the resource SKU.
- sku_
capacity SkuCapacity Response - Min, max, and default scale values of the SKU.
- tier str
- Service tier of the resource SKU.
- capabilities List<Property Map>
- Capabilities of the SKU, e.g., is traffic manager enabled?
- capacity Number
- Current number of instances assigned to the resource.
- family String
- Family code of the resource SKU.
- locations List<String>
- Locations of the SKU.
- name String
- Name of the resource SKU.
- size String
- Size specifier of the resource SKU.
- sku
Capacity Property Map - Min, max, and default scale values of the SKU.
- tier String
- Service tier of the resource SKU.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:AppServicePlan testsf6141 /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/testsf6141
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0