public final class AppServicePlanProperties extends Object
| Constructor and Description |
|---|
AppServicePlanProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
elasticScaleEnabled()
Get the elasticScaleEnabled property: ServerFarm supports ElasticScale.
|
OffsetDateTime |
freeOfferExpirationTime()
Get the freeOfferExpirationTime property: The time when the server farm free offer expires.
|
String |
geoRegion()
Get the geoRegion property: Geographical location for the App Service plan.
|
HostingEnvironmentProfile |
hostingEnvironmentProfile()
Get the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the App
Service plan.
|
Boolean |
hyperV()
Get the hyperV property: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
|
Boolean |
isSpot()
Get the isSpot property: If <code>true</code>, this App Service Plan owns spot instances.
|
Boolean |
isXenon()
Get the isXenon property: Obsolete: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
|
KubeEnvironmentProfile |
kubeEnvironmentProfile()
Get the kubeEnvironmentProfile property: Specification for the Kubernetes Environment to use for the App Service
plan.
|
Integer |
maximumElasticWorkerCount()
Get the maximumElasticWorkerCount property: Maximum number of total workers allowed for this ElasticScaleEnabled
App Service Plan.
|
Integer |
maximumNumberOfWorkers()
Get the maximumNumberOfWorkers property: Maximum number of instances that can be assigned to this App Service
plan.
|
Integer |
numberOfSites()
Get the numberOfSites property: Number of apps assigned to this App Service plan.
|
Boolean |
perSiteScaling()
Get the perSiteScaling property: If <code>true</code>, apps assigned to this App Service plan can be
scaled independently.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: Provisioning state of the App Service Plan.
|
Boolean |
reserved()
Get the reserved property: If Linux app service plan <code>true</code>,
<code>false</code> otherwise.
|
String |
resourceGroup()
Get the resourceGroup property: Resource group of the App Service plan.
|
OffsetDateTime |
spotExpirationTime()
Get the spotExpirationTime property: The time when the server farm expires.
|
StatusOptions |
status()
Get the status property: App Service plan status.
|
String |
subscription()
Get the subscription property: App Service plan subscription.
|
Integer |
targetWorkerCount()
Get the targetWorkerCount property: Scaling worker count.
|
Integer |
targetWorkerSizeId()
Get the targetWorkerSizeId property: Scaling worker size ID.
|
void |
validate()
Validates the instance.
|
AppServicePlanProperties |
withElasticScaleEnabled(Boolean elasticScaleEnabled)
Set the elasticScaleEnabled property: ServerFarm supports ElasticScale.
|
AppServicePlanProperties |
withFreeOfferExpirationTime(OffsetDateTime freeOfferExpirationTime)
Set the freeOfferExpirationTime property: The time when the server farm free offer expires.
|
AppServicePlanProperties |
withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
Set the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the App
Service plan.
|
AppServicePlanProperties |
withHyperV(Boolean hyperV)
Set the hyperV property: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
|
AppServicePlanProperties |
withIsSpot(Boolean isSpot)
Set the isSpot property: If <code>true</code>, this App Service Plan owns spot instances.
|
AppServicePlanProperties |
withIsXenon(Boolean isXenon)
Set the isXenon property: Obsolete: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
|
AppServicePlanProperties |
withKubeEnvironmentProfile(KubeEnvironmentProfile kubeEnvironmentProfile)
Set the kubeEnvironmentProfile property: Specification for the Kubernetes Environment to use for the App Service
plan.
|
AppServicePlanProperties |
withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount)
Set the maximumElasticWorkerCount property: Maximum number of total workers allowed for this ElasticScaleEnabled
App Service Plan.
|
AppServicePlanProperties |
withPerSiteScaling(Boolean perSiteScaling)
Set the perSiteScaling property: If <code>true</code>, apps assigned to this App Service plan can be
scaled independently.
|
AppServicePlanProperties |
withReserved(Boolean reserved)
Set the reserved property: If Linux app service plan <code>true</code>,
<code>false</code> otherwise.
|
AppServicePlanProperties |
withSpotExpirationTime(OffsetDateTime spotExpirationTime)
Set the spotExpirationTime property: The time when the server farm expires.
|
AppServicePlanProperties |
withTargetWorkerCount(Integer targetWorkerCount)
Set the targetWorkerCount property: Scaling worker count.
|
AppServicePlanProperties |
withTargetWorkerSizeId(Integer targetWorkerSizeId)
Set the targetWorkerSizeId property: Scaling worker size ID.
|
AppServicePlanProperties |
withWorkerTierName(String workerTierName)
Set the workerTierName property: Target worker tier assigned to the App Service plan.
|
AppServicePlanProperties |
withZoneRedundant(Boolean zoneRedundant)
Set the zoneRedundant property: If <code>true</code>, this App Service Plan will perform availability
zone balancing.
|
String |
workerTierName()
Get the workerTierName property: Target worker tier assigned to the App Service plan.
|
Boolean |
zoneRedundant()
Get the zoneRedundant property: If <code>true</code>, this App Service Plan will perform availability
zone balancing.
|
public String workerTierName()
public AppServicePlanProperties withWorkerTierName(String workerTierName)
workerTierName - the workerTierName value to set.public StatusOptions status()
public String subscription()
public HostingEnvironmentProfile hostingEnvironmentProfile()
public AppServicePlanProperties withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
hostingEnvironmentProfile - the hostingEnvironmentProfile value to set.public Integer maximumNumberOfWorkers()
public String geoRegion()
public Boolean perSiteScaling()
public AppServicePlanProperties withPerSiteScaling(Boolean perSiteScaling)
perSiteScaling - the perSiteScaling value to set.public Boolean elasticScaleEnabled()
public AppServicePlanProperties withElasticScaleEnabled(Boolean elasticScaleEnabled)
elasticScaleEnabled - the elasticScaleEnabled value to set.public Integer maximumElasticWorkerCount()
public AppServicePlanProperties withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount)
maximumElasticWorkerCount - the maximumElasticWorkerCount value to set.public Integer numberOfSites()
public Boolean isSpot()
public AppServicePlanProperties withIsSpot(Boolean isSpot)
isSpot - the isSpot value to set.public OffsetDateTime spotExpirationTime()
public AppServicePlanProperties withSpotExpirationTime(OffsetDateTime spotExpirationTime)
spotExpirationTime - the spotExpirationTime value to set.public OffsetDateTime freeOfferExpirationTime()
public AppServicePlanProperties withFreeOfferExpirationTime(OffsetDateTime freeOfferExpirationTime)
freeOfferExpirationTime - the freeOfferExpirationTime value to set.public String resourceGroup()
public Boolean reserved()
public AppServicePlanProperties withReserved(Boolean reserved)
reserved - the reserved value to set.public Boolean isXenon()
public AppServicePlanProperties withIsXenon(Boolean isXenon)
isXenon - the isXenon value to set.public Boolean hyperV()
public AppServicePlanProperties withHyperV(Boolean hyperV)
hyperV - the hyperV value to set.public Integer targetWorkerCount()
public AppServicePlanProperties withTargetWorkerCount(Integer targetWorkerCount)
targetWorkerCount - the targetWorkerCount value to set.public Integer targetWorkerSizeId()
public AppServicePlanProperties withTargetWorkerSizeId(Integer targetWorkerSizeId)
targetWorkerSizeId - the targetWorkerSizeId value to set.public ProvisioningState provisioningState()
public KubeEnvironmentProfile kubeEnvironmentProfile()
public AppServicePlanProperties withKubeEnvironmentProfile(KubeEnvironmentProfile kubeEnvironmentProfile)
kubeEnvironmentProfile - the kubeEnvironmentProfile value to set.public Boolean zoneRedundant()
public AppServicePlanProperties withZoneRedundant(Boolean zoneRedundant)
zoneRedundant - the zoneRedundant value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.