共用方式為


AppServicePlanData Class

Definition

A class representing the AppServicePlan data model. App Service plan.

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

Constructors

AppServicePlanData(AzureLocation)

Initializes a new instance of AppServicePlanData.

Properties

ExtendedLocation

Extended Location.

FreeOfferExpireOn

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.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
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)
Sku

Description of a SKU for a scalable resource.

SpotExpireOn

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)
Tags

Resource tags.

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

Explicit Interface Implementations

IJsonModel<AppServicePlanData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppServicePlanData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppServicePlanData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppServicePlanData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppServicePlanData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to