다음을 통해 공유


AppServicePlan Class

Definition

App Service plan.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AppServicePlan : Microsoft.Azure.Management.WebSites.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AppServicePlan = class
    inherit Resource
Public Class AppServicePlan
Inherits Resource
Inheritance
AppServicePlan
Attributes

Constructors

AppServicePlan()

Initializes a new instance of the AppServicePlan class.

AppServicePlan(String, String, String, String, String, IDictionary<String, String>, String, Nullable<StatusOptions>, String, HostingEnvironmentProfile, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<ProvisioningState>, KubeEnvironmentProfile, Nullable<Boolean>, SkuDescription, ExtendedLocation)

Initializes a new instance of the AppServicePlan class.

Properties

ElasticScaleEnabled

Gets or sets serverFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku

ExtendedLocation
FreeOfferExpirationTime

Gets or sets the time when the server farm free offer expires.

GeoRegion

Gets geographical location for the App Service plan.

HostingEnvironmentProfile

Gets or sets specification for the App Service Environment to use for the App Service plan.

HyperV

Gets or sets if Hyper-V container app service plan &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt; otherwise.

Id

Gets resource Id.

(Inherited from Resource)
IsSpot

Gets or sets if &lt;code&gt;true&lt;/code&gt;, this App Service Plan owns spot instances.

IsXenon

Gets or sets obsolete: If Hyper-V container app service plan &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt; otherwise.

Kind

Gets or sets kind of resource.

(Inherited from Resource)
KubeEnvironmentProfile

Gets or sets specification for the Kubernetes Environment to use for the App Service plan.

Location

Gets or sets resource Location.

(Inherited from Resource)
MaximumElasticWorkerCount

Gets or sets maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan

MaximumNumberOfWorkers

Gets maximum number of instances that can be assigned to this App Service plan.

Name

Gets resource Name.

(Inherited from Resource)
NumberOfSites

Gets number of apps assigned to this App Service plan.

PerSiteScaling

Gets or sets if &lt;code&gt;true&lt;/code&gt;, apps assigned to this App Service plan can be scaled independently. If &lt;code&gt;false&lt;/code&gt;, apps assigned to this App Service plan will scale to all instances of the plan.

ProvisioningState

Gets provisioning state of the App Service Plan. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'

Reserved

Gets or sets if Linux app service plan &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt; otherwise.

ResourceGroup

Gets resource group of the App Service plan.

Sku
SpotExpirationTime

Gets or sets the time when the server farm expires. Valid only if it is a spot server farm.

Status

Gets app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'

Subscription

Gets app Service plan subscription.

Tags

Gets or sets resource tags.

(Inherited from Resource)
TargetWorkerCount

Gets or sets scaling worker count.

TargetWorkerSizeId

Gets or sets scaling worker size ID.

Type

Gets resource type.

(Inherited from Resource)
WorkerTierName

Gets or sets target worker tier assigned to the App Service plan.

ZoneRedundant

Gets or sets if &lt;code&gt;true&lt;/code&gt;, this App Service Plan will perform availability zone balancing. If &lt;code&gt;false&lt;/code&gt;, this App Service Plan will not perform availability zone balancing.

Methods

Validate()

Validate the object.

Applies to