Delen via


AppServicePlanInner Class

Definition

App Service plan.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AppServicePlanInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AppServicePlanInner = class
    inherit Resource
Public Class AppServicePlanInner
Inherits Resource
Inheritance
AppServicePlanInner
Attributes

Constructors

AppServicePlanInner()

Initializes a new instance of the AppServicePlanInner class.

AppServicePlanInner(String, String, String, String, IDictionary<String, String>, String, Nullable<StatusOptions>, String, HostingEnvironmentProfile, Nullable<Int32>, String, 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>, SkuDescription, String)

Initializes a new instance of the AppServicePlanInner class.

Properties

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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
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.

Location

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

Resource name

(Inherited from ProxyResource)
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 Environment. 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

Resource tags

(Inherited from Resource)
TargetWorkerCount

Gets or sets scaling worker count.

TargetWorkerSizeId

Gets or sets scaling worker size ID.

Type

Resource type

(Inherited from ProxyResource)
WorkerTierName

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

Methods

Validate()

Validate the object.

Applies to