public class AppServicePlanPatchResource extends ProxyOnlyResource
| Constructor and Description |
|---|
AppServicePlanPatchResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
adminSiteName()
Get app Service plan administration site.
|
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 |
isSpot()
Get if <code>true</code>, this App Service Plan owns spot instances.
|
Boolean |
isXenon()
Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
|
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 |
withAdminSiteName(String adminSiteName)
Set app Service plan administration site.
|
AppServicePlanPatchResource |
withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile)
Set specification for the App Service Environment to use for the App Service plan.
|
AppServicePlanPatchResource |
withIsSpot(Boolean isSpot)
Set if <code>true</code>, this App Service Plan owns spot instances.
|
AppServicePlanPatchResource |
withIsXenon(Boolean isXenon)
Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
|
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 String adminSiteName()
public AppServicePlanPatchResource withAdminSiteName(String adminSiteName)
adminSiteName - the adminSiteName value to setpublic 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 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 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 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 (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/