Share via


AppServicePlanPatchResource Class

Definition

ARM resource for a app service plan.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AppServicePlanPatchResourceTypeConverter))]
public class AppServicePlanPatchResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAppServicePlanPatchResource, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AppServicePlanPatchResourceTypeConverter))>]
type AppServicePlanPatchResource = class
    interface IAppServicePlanPatchResource
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class AppServicePlanPatchResource
Implements IAppServicePlanPatchResource, IValidates
Inheritance
AppServicePlanPatchResource
Attributes
Implements

Constructors

AppServicePlanPatchResource()

Creates an new AppServicePlanPatchResource instance.

Properties

ElasticScaleEnabled

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

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.

KubeEnvironmentProfileId

Resource ID of the Kubernetes Environment.

KubeEnvironmentProfileName

Name of the Kubernetes Environment.

KubeEnvironmentProfileType

Resource type of the Kubernetes Environment.

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.

NumberOfWorker

The number of instances that are 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 Plan.

Reserved

If Linux app service plan true, false otherwise.

ResourceGroup

Resource group of the App Service plan.

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.

TargetWorkerCount

Scaling worker count.

TargetWorkerSizeId

Scaling worker size ID.

Type

Resource type.

WorkerTierName

Target worker tier assigned to the App Service plan.

ZoneRedundant

If true, this App Service Plan will perform availability zone balancing. If false, this App Service Plan will not perform availability zone balancing.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AppServicePlanPatchResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AppServicePlanPatchResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAppServicePlanPatchResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AppServicePlanPatchResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to