Partager via


AppServicePlan Class

Definition

App Service plan.

[Microsoft.Azure.PowerShell.Cmdlets.Functions.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlanTypeConverter))]
public class AppServicePlan : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.Functions.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlanTypeConverter))>]
type AppServicePlan = class
    interface IAppServicePlan
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class AppServicePlan
Implements IAppServicePlan, IValidates
Inheritance
AppServicePlan
Attributes
Implements

Constructors

AppServicePlan()

Creates an new AppServicePlan instance.

Properties

Capacity

Current number of instances assigned to the resource.

FreeOfferExpirationTime

The time when the server farm free offer expires.

GeoRegion

Geographical location for the App Service plan.

HostingEnvironmentProfileId

Resource ID of the App Service Environment.

HostingEnvironmentProfileName

Name of the App Service Environment.

HostingEnvironmentProfileType

Resource type of the App Service Environment.

HyperV

If Hyper-V container app service plan true, false otherwise.

Id

Resource Id.

IsSpot

If true, this App Service Plan owns spot instances.

IsXenon

Obsolete: If Hyper-V container app service plan true, false otherwise.

Kind

Kind of resource.

Location

Resource Location.

MaximumElasticWorkerCount

Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan

MaximumNumberOfWorker

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

Name

Resource Name.

NumberOfSite

Number of apps assigned to this App Service plan.

PerSiteScaling

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.

ProvisioningState

Provisioning state of the App Service Environment.

Reserved

If Linux app service plan true, false otherwise.

ResourceGroup

Resource group of the App Service plan.

SkuCapability

Capabilities of the SKU, e.g., is traffic manager enabled?

SkuCapacityDefault

Default number of workers for this App Service plan SKU.

SkuCapacityMaximum

Maximum number of workers for this App Service plan SKU.

SkuCapacityMinimum

Minimum number of workers for this App Service plan SKU.

SkuCapacityScaleType

Available scale configurations for an App Service plan.

SkuFamily

Family code of the resource SKU.

SkuLocation

Locations of the SKU.

SkuName

Name of the resource SKU.

SkuSize

Size specifier of the resource SKU.

SkuTier

Service tier of the resource SKU.

SpotExpirationTime

The time when the server farm expires. Valid only if it is a spot server farm.

Status

App Service plan status.

Subscription

App Service plan subscription.

Tag

Resource tags.

TargetWorkerCount

Scaling worker count.

TargetWorkerSizeId

Scaling worker size ID.

Type

Resource type.

WorkerTierName

Target worker tier assigned to the App Service plan.

WorkerType

The Service plan worker type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AppServicePlan.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AppServicePlan.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan.

FromJsonString(String)

Creates a new instance of AppServicePlan, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AppServicePlan into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to