Sdílet prostřednictvím


AppServicePlanPatch Class

Definition

ARM resource for a app service plan.

public class AppServicePlanPatch : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.AppServicePlanPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.AppServicePlanPatch>
type AppServicePlanPatch = class
    inherit ResourceData
    interface IJsonModel<AppServicePlanPatch>
    interface IPersistableModel<AppServicePlanPatch>
Public Class AppServicePlanPatch
Inherits ResourceData
Implements IJsonModel(Of AppServicePlanPatch), IPersistableModel(Of AppServicePlanPatch)
Inheritance
AppServicePlanPatch
Implements

Constructors

AppServicePlanPatch()

Initializes a new instance of AppServicePlanPatch.

Properties

FreeOfferExpirationOn

The time when the server farm free offer expires.

GeoRegion

Geographical location for the App Service plan.

HostingEnvironmentProfile

Specification for the App Service Environment to use for the App Service plan.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsElasticScaleEnabled

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

IsHyperV

If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.

IsPerSiteScaling

If <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan.

IsReserved

If Linux app service plan <code>true</code>, <code>false</code> otherwise.

IsSpot

If <code>true</code>, this App Service Plan owns spot instances.

IsXenon

Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.

IsZoneRedundant

If <code>true</code>, this App Service Plan will perform availability zone balancing. If <code>false</code>, this App Service Plan will not perform availability zone balancing.

Kind

Kind of resource.

KubeEnvironmentProfile

Specification for the Kubernetes Environment to use for the App Service plan.

MaximumElasticWorkerCount

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

MaximumNumberOfWorkers

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

Name

The name of the resource.

(Inherited from ResourceData)
NumberOfSites

Number of apps assigned to this App Service plan.

NumberOfWorkers

The number of instances that are assigned to this App Service plan.

ProvisioningState

Provisioning state of the App Service Plan.

ResourceGroup

Resource group of the App Service plan.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SpotExpirationOn

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.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TargetWorkerCount

Scaling worker count.

TargetWorkerSizeId

Scaling worker size ID.

WorkerTierName

Target worker tier assigned to the App Service plan.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<AppServicePlanPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppServicePlanPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppServicePlanPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppServicePlanPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppServicePlanPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to