你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppServicePlanInner 类

定义

应用服务计划。

[Microsoft.Rest.Serialization.JsonTransformation]
public class AppServicePlanInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AppServicePlanInner = class
    inherit Resource
Public Class AppServicePlanInner
Inherits Resource
继承
AppServicePlanInner
属性

构造函数

AppServicePlanInner()

初始化 AppServicePlanInner 类的新实例。

AppServicePlanInner(String, String, String, String, IDictionary<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>, SkuDescription, String)

初始化 AppServicePlanInner 类的新实例。

属性

FreeOfferExpirationTime

获取或设置服务器场免费套餐到期的时间。

GeoRegion

获取App 服务计划的地理位置。

HostingEnvironmentProfile

获取或设置要用于App 服务计划的应用服务环境的规范。

HyperV

获取或设置 Hyper-V 容器应用服务计划 &lt;code gt;true&&lt;/code&gt;,&lt;code&gt;false&lt;/code&gt;否则。

Id

资源 ID。Setter 受保护,因为需要在网络资源中设置 ID。

(继承自 ProxyResource)
IsSpot

获取或设置 lt&;code&gt;true&lt;/code&gt;,此App 服务计划拥有现成实例。

IsXenon

获取或设置已过时:如果 Hyper-V 容器应用服务计划 &lt;code&gt;true&lt;/code&gt;, &则 lt;code&gt;false&lt;/code&gt;否则为 。

Kind

获取或设置资源类型。

Location

资源位置

(继承自 Resource)
MaximumElasticWorkerCount

获取或设置此 ElasticScaleEnabled App 服务 Plan 允许的最大辅助角色总数

MaximumNumberOfWorkers

获取可分配给此App 服务计划的最大实例数。

Name

资源名称

(继承自 ProxyResource)
NumberOfSites

获取分配给此App 服务计划的应用数。

PerSiteScaling

获取或设置是否 &lt;code&gt;true&lt;/code&gt;,可独立缩放分配给此App 服务计划的应用。 如果 &lt;code&gt;false&lt;/code&gt;,则分配给此App 服务计划的应用将扩展到计划的所有实例。

ProvisioningState

获取应用服务环境的预配状态。 可能的值包括:“Succeeded”、“Failed”、“Canceled”、“InProgress”、“删除”

Reserved

如果 Linux 应用服务计划 &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt;否则,则获取或设置。

ResourceGroup

获取App 服务计划的资源组。

Sku

应用服务计划。

SpotExpirationTime

获取或设置服务器场过期的时间。 仅当它是现成服务器场时有效。

Status

获取应用服务计划状态。 可能的值包括:“Ready”、“Pending”、“Create”

Subscription

获取应用服务计划订阅。

Tags

资源标记

(继承自 Resource)
TargetWorkerCount

获取或设置缩放辅助角色计数。

TargetWorkerSizeId

获取或设置缩放辅助角色大小 ID。

Type

资源类型

(继承自 ProxyResource)
WorkerTierName

获取或设置分配给App 服务计划的目标辅助角色层。

方法

Validate()

验证 对象。

适用于