AppServicePlanPatchResource Class

Definition

ARM resource for a app service plan.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AppServicePlanPatchResource : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AppServicePlanPatchResource = class
    inherit ProxyOnlyResourceInner
Public Class AppServicePlanPatchResource
Inherits ProxyOnlyResourceInner
Inheritance
AppServicePlanPatchResource
Attributes

Constructors

AppServicePlanPatchResource()

Initializes a new instance of the AppServicePlanPatchResource class.

AppServicePlanPatchResource(String, String, 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>)

Initializes a new instance of the AppServicePlanPatchResource 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.

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

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. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to