public final class AppServicePlanInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
AppServicePlanInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
elasticScaleEnabled()
Get the elasticScaleEnabled property: ServerFarm supports ElasticScale.
|
ExtendedLocation |
extendedLocation()
Get the extendedLocation property: Extended Location.
|
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.
|
String |
kind()
Get the kind property: Kind of resource.
|
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.
|
SkuDescription |
sku()
Get the sku property: Description of a SKU for a scalable resource.
|
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.
|
AppServicePlanInner |
withElasticScaleEnabled(Boolean elasticScaleEnabled)
Set the elasticScaleEnabled property: ServerFarm supports ElasticScale.
|
AppServicePlanInner |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Extended Location.
|
AppServicePlanInner |
withFreeOfferExpirationTime(OffsetDateTime freeOfferExpirationTime)
Set the freeOfferExpirationTime property: The time when the server farm free offer expires.
|
AppServicePlanInner |
withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
Set the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the App
Service plan.
|
AppServicePlanInner |
withHyperV(Boolean hyperV)
Set the hyperV property: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
|
AppServicePlanInner |
withIsSpot(Boolean isSpot)
Set the isSpot property: If <code>true</code>, this App Service Plan owns spot instances.
|
AppServicePlanInner |
withIsXenon(Boolean isXenon)
Set the isXenon property: Obsolete: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
|
AppServicePlanInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
AppServicePlanInner |
withKubeEnvironmentProfile(KubeEnvironmentProfile kubeEnvironmentProfile)
Set the kubeEnvironmentProfile property: Specification for the Kubernetes Environment to use for the App Service
plan.
|
AppServicePlanInner |
withLocation(String location) |
AppServicePlanInner |
withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount)
Set the maximumElasticWorkerCount property: Maximum number of total workers allowed for this ElasticScaleEnabled
App Service Plan.
|
AppServicePlanInner |
withPerSiteScaling(Boolean perSiteScaling)
Set the perSiteScaling property: If <code>true</code>, apps assigned to this App Service plan can be
scaled independently.
|
AppServicePlanInner |
withReserved(Boolean reserved)
Set the reserved property: If Linux app service plan <code>true</code>,
<code>false</code> otherwise.
|
AppServicePlanInner |
withSku(SkuDescription sku)
Set the sku property: Description of a SKU for a scalable resource.
|
AppServicePlanInner |
withSpotExpirationTime(OffsetDateTime spotExpirationTime)
Set the spotExpirationTime property: The time when the server farm expires.
|
AppServicePlanInner |
withTags(Map<String,String> tags) |
AppServicePlanInner |
withTargetWorkerCount(Integer targetWorkerCount)
Set the targetWorkerCount property: Scaling worker count.
|
AppServicePlanInner |
withTargetWorkerSizeId(Integer targetWorkerSizeId)
Set the targetWorkerSizeId property: Scaling worker size ID.
|
AppServicePlanInner |
withWorkerTierName(String workerTierName)
Set the workerTierName property: Target worker tier assigned to the App Service plan.
|
AppServicePlanInner |
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 SkuDescription sku()
public AppServicePlanInner withSku(SkuDescription sku)
sku - the sku value to set.public ExtendedLocation extendedLocation()
public AppServicePlanInner withExtendedLocation(ExtendedLocation extendedLocation)
extendedLocation - the extendedLocation value to set.public String kind()
public AppServicePlanInner withKind(String kind)
kind - the kind value to set.public AppServicePlanInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic AppServicePlanInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic String workerTierName()
public AppServicePlanInner withWorkerTierName(String workerTierName)
workerTierName - the workerTierName value to set.public StatusOptions status()
public String subscription()
public HostingEnvironmentProfile hostingEnvironmentProfile()
public AppServicePlanInner withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
hostingEnvironmentProfile - the hostingEnvironmentProfile value to set.public Integer maximumNumberOfWorkers()
public String geoRegion()
public Boolean perSiteScaling()
public AppServicePlanInner withPerSiteScaling(Boolean perSiteScaling)
perSiteScaling - the perSiteScaling value to set.public Boolean elasticScaleEnabled()
public AppServicePlanInner withElasticScaleEnabled(Boolean elasticScaleEnabled)
elasticScaleEnabled - the elasticScaleEnabled value to set.public Integer maximumElasticWorkerCount()
public AppServicePlanInner withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount)
maximumElasticWorkerCount - the maximumElasticWorkerCount value to set.public Integer numberOfSites()
public Boolean isSpot()
public AppServicePlanInner withIsSpot(Boolean isSpot)
isSpot - the isSpot value to set.public OffsetDateTime spotExpirationTime()
public AppServicePlanInner withSpotExpirationTime(OffsetDateTime spotExpirationTime)
spotExpirationTime - the spotExpirationTime value to set.public OffsetDateTime freeOfferExpirationTime()
public AppServicePlanInner withFreeOfferExpirationTime(OffsetDateTime freeOfferExpirationTime)
freeOfferExpirationTime - the freeOfferExpirationTime value to set.public String resourceGroup()
public Boolean reserved()
public AppServicePlanInner withReserved(Boolean reserved)
reserved - the reserved value to set.public Boolean isXenon()
public AppServicePlanInner withIsXenon(Boolean isXenon)
isXenon - the isXenon value to set.public Boolean hyperV()
public AppServicePlanInner withHyperV(Boolean hyperV)
hyperV - the hyperV value to set.public Integer targetWorkerCount()
public AppServicePlanInner withTargetWorkerCount(Integer targetWorkerCount)
targetWorkerCount - the targetWorkerCount value to set.public Integer targetWorkerSizeId()
public AppServicePlanInner withTargetWorkerSizeId(Integer targetWorkerSizeId)
targetWorkerSizeId - the targetWorkerSizeId value to set.public ProvisioningState provisioningState()
public KubeEnvironmentProfile kubeEnvironmentProfile()
public AppServicePlanInner withKubeEnvironmentProfile(KubeEnvironmentProfile kubeEnvironmentProfile)
kubeEnvironmentProfile - the kubeEnvironmentProfile value to set.public Boolean zoneRedundant()
public AppServicePlanInner 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.