public class AppServicePlanPatchResource extends ProxyOnlyResource
| Constructor and Description |
|---|
AppServicePlanPatchResource() |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
freeOfferExpirationTime()
Get the time when the server farm free offer expires.
|
String |
geoRegion()
Get geographical location for the App Service plan.
|
HostingEnvironmentProfile |
hostingEnvironmentProfile()
Get specification for the App Service Environment to use for the App Service plan.
|
Boolean |
hyperV()
Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
|
Boolean |
isSpot()
Get if <code>true</code>, this App Service Plan owns spot instances.
|
Boolean |
isXenon()
Get obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
|
Integer |
maximumElasticWorkerCount()
Get maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.
|
Integer |
maximumNumberOfWorkers()
Get maximum number of instances that can be assigned to this App Service plan.
|
Integer |
numberOfSites()
Get number of apps assigned to this App Service plan.
|
Boolean |
perSiteScaling()
Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently.
|
ProvisioningState |
provisioningState()
Get provisioning state of the App Service Environment.
|
Boolean |
reserved()
Get if Linux app service plan <code>true</code>, <code>false</code> otherwise.
|
String |
resourceGroup()
Get resource group of the App Service plan.
|
org.joda.time.DateTime |
spotExpirationTime()
Get the time when the server farm expires.
|
StatusOptions |
status()
Get app Service plan status.
|
String |
subscription()
Get app Service plan subscription.
|
Integer |
targetWorkerCount()
Get scaling worker count.
|
Integer |
targetWorkerSizeId()
Get scaling worker size ID.
|
AppServicePlanPatchResource |
withFreeOfferExpirationTime(org.joda.time.DateTime freeOfferExpirationTime)
Set the time when the server farm free offer expires.
|
AppServicePlanPatchResource |
withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
Set specification for the App Service Environment to use for the App Service plan.
|
AppServicePlanPatchResource |
withHyperV(Boolean hyperV)
Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
|
AppServicePlanPatchResource |
withIsSpot(Boolean isSpot)
Set if <code>true</code>, this App Service Plan owns spot instances.
|
AppServicePlanPatchResource |
withIsXenon(Boolean isXenon)
Set obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
|
AppServicePlanPatchResource |
withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount)
Set maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.
|
AppServicePlanPatchResource |
withPerSiteScaling(Boolean perSiteScaling)
Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently.
|
AppServicePlanPatchResource |
withReserved(Boolean reserved)
Set if Linux app service plan <code>true</code>, <code>false</code> otherwise.
|
AppServicePlanPatchResource |
withSpotExpirationTime(org.joda.time.DateTime spotExpirationTime)
Set the time when the server farm expires.
|
AppServicePlanPatchResource |
withTargetWorkerCount(Integer targetWorkerCount)
Set scaling worker count.
|
AppServicePlanPatchResource |
withTargetWorkerSizeId(Integer targetWorkerSizeId)
Set scaling worker size ID.
|
AppServicePlanPatchResource |
withWorkerTierName(String workerTierName)
Set target worker tier assigned to the App Service plan.
|
String |
workerTierName()
Get target worker tier assigned to the App Service plan.
|
kind, withKindpublic String workerTierName()
public AppServicePlanPatchResource withWorkerTierName(String workerTierName)
workerTierName - the workerTierName value to setpublic StatusOptions status()
public String subscription()
public HostingEnvironmentProfile hostingEnvironmentProfile()
public AppServicePlanPatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
hostingEnvironmentProfile - the hostingEnvironmentProfile value to setpublic Integer maximumNumberOfWorkers()
public String geoRegion()
public Boolean perSiteScaling()
public AppServicePlanPatchResource withPerSiteScaling(Boolean perSiteScaling)
perSiteScaling - the perSiteScaling value to setpublic Integer maximumElasticWorkerCount()
public AppServicePlanPatchResource withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount)
maximumElasticWorkerCount - the maximumElasticWorkerCount value to setpublic Integer numberOfSites()
public Boolean isSpot()
public AppServicePlanPatchResource withIsSpot(Boolean isSpot)
isSpot - the isSpot value to setpublic org.joda.time.DateTime spotExpirationTime()
public AppServicePlanPatchResource withSpotExpirationTime(org.joda.time.DateTime spotExpirationTime)
spotExpirationTime - the spotExpirationTime value to setpublic org.joda.time.DateTime freeOfferExpirationTime()
public AppServicePlanPatchResource withFreeOfferExpirationTime(org.joda.time.DateTime freeOfferExpirationTime)
freeOfferExpirationTime - the freeOfferExpirationTime value to setpublic String resourceGroup()
public Boolean reserved()
public AppServicePlanPatchResource withReserved(Boolean reserved)
reserved - the reserved value to setpublic Boolean isXenon()
public AppServicePlanPatchResource withIsXenon(Boolean isXenon)
isXenon - the isXenon value to setpublic Boolean hyperV()
public AppServicePlanPatchResource withHyperV(Boolean hyperV)
hyperV - the hyperV value to setpublic Integer targetWorkerCount()
public AppServicePlanPatchResource withTargetWorkerCount(Integer targetWorkerCount)
targetWorkerCount - the targetWorkerCount value to setpublic Integer targetWorkerSizeId()
public AppServicePlanPatchResource withTargetWorkerSizeId(Integer targetWorkerSizeId)
targetWorkerSizeId - the targetWorkerSizeId value to setpublic ProvisioningState provisioningState()
Copyright © 2019. All rights reserved.