Compartir a través de


AppServicePlanPatchResource Class

Definition

ARM resource for a app service plan.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlanPatchResourceTypeConverter))]
public class AppServicePlanPatchResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.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

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.

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

This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be 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.

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.Api20190801.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