Class AppServicePlanPatchResource
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.appservice.ProxyOnlyResource
com.microsoft.azure.management.appservice.AppServicePlanPatchResource
ARM resource for a app service plan.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
Get the time when the server farm free offer expires.Get geographical location for the App Service plan.Get specification for the App Service Environment to use for the App Service plan.hyperV()
Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.isSpot()
Get if <code>true</code>, this App Service Plan owns spot instances.isXenon()
Get obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.Get maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.Get maximum number of instances that can be assigned to this App Service plan.Get number of apps assigned to this App Service plan.Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently.Get provisioning state of the App Service Environment.reserved()
Get if Linux app service plan <code>true</code>, <code>false</code> otherwise.Get resource group of the App Service plan.org.joda.time.DateTime
Get the time when the server farm expires.status()
Get app Service plan status.Get app Service plan subscription.Get scaling worker count.Get scaling worker size ID.withFreeOfferExpirationTime
(org.joda.time.DateTime freeOfferExpirationTime) Set the time when the server farm free offer expires.withHostingEnvironmentProfile
(HostingEnvironmentProfile hostingEnvironmentProfile) Set specification for the App Service Environment to use for the App Service plan.withHyperV
(Boolean hyperV) Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.withIsSpot
(Boolean isSpot) Set if <code>true</code>, this App Service Plan owns spot instances.withIsXenon
(Boolean isXenon) Set obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.withMaximumElasticWorkerCount
(Integer maximumElasticWorkerCount) Set maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.withPerSiteScaling
(Boolean perSiteScaling) Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently.withReserved
(Boolean reserved) Set if Linux app service plan <code>true</code>, <code>false</code> otherwise.withSpotExpirationTime
(org.joda.time.DateTime spotExpirationTime) Set the time when the server farm expires.withTargetWorkerCount
(Integer targetWorkerCount) Set scaling worker count.withTargetWorkerSizeId
(Integer targetWorkerSizeId) Set scaling worker size ID.withWorkerTierName
(String workerTierName) Set target worker tier assigned to the App Service plan.Get target worker tier assigned to the App Service plan.Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
AppServicePlanPatchResource
public AppServicePlanPatchResource()
-
-
Method Details
-
workerTierName
Get target worker tier assigned to the App Service plan.- Returns:
- the workerTierName value
-
withWorkerTierName
Set target worker tier assigned to the App Service plan.- Parameters:
workerTierName
- the workerTierName value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
status
Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'.- Returns:
- the status value
-
subscription
Get app Service plan subscription.- Returns:
- the subscription value
-
hostingEnvironmentProfile
Get specification for the App Service Environment to use for the App Service plan.- Returns:
- the hostingEnvironmentProfile value
-
withHostingEnvironmentProfile
public AppServicePlanPatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile) Set specification for the App Service Environment to use for the App Service plan.- Parameters:
hostingEnvironmentProfile
- the hostingEnvironmentProfile value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
maximumNumberOfWorkers
Get maximum number of instances that can be assigned to this App Service plan.- Returns:
- the maximumNumberOfWorkers value
-
geoRegion
Get geographical location for the App Service plan.- Returns:
- the geoRegion value
-
perSiteScaling
Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan.- Returns:
- the perSiteScaling value
-
withPerSiteScaling
Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan.- Parameters:
perSiteScaling
- the perSiteScaling value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
maximumElasticWorkerCount
Get maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.- Returns:
- the maximumElasticWorkerCount value
-
withMaximumElasticWorkerCount
Set maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.- Parameters:
maximumElasticWorkerCount
- the maximumElasticWorkerCount value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
numberOfSites
Get number of apps assigned to this App Service plan.- Returns:
- the numberOfSites value
-
isSpot
Get if <code>true</code>, this App Service Plan owns spot instances.- Returns:
- the isSpot value
-
withIsSpot
Set if <code>true</code>, this App Service Plan owns spot instances.- Parameters:
isSpot
- the isSpot value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
spotExpirationTime
public org.joda.time.DateTime spotExpirationTime()Get the time when the server farm expires. Valid only if it is a spot server farm.- Returns:
- the spotExpirationTime value
-
withSpotExpirationTime
public AppServicePlanPatchResource withSpotExpirationTime(org.joda.time.DateTime spotExpirationTime) Set the time when the server farm expires. Valid only if it is a spot server farm.- Parameters:
spotExpirationTime
- the spotExpirationTime value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
freeOfferExpirationTime
public org.joda.time.DateTime freeOfferExpirationTime()Get the time when the server farm free offer expires.- Returns:
- the freeOfferExpirationTime value
-
withFreeOfferExpirationTime
public AppServicePlanPatchResource withFreeOfferExpirationTime(org.joda.time.DateTime freeOfferExpirationTime) Set the time when the server farm free offer expires.- Parameters:
freeOfferExpirationTime
- the freeOfferExpirationTime value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
resourceGroup
Get resource group of the App Service plan.- Returns:
- the resourceGroup value
-
reserved
Get if Linux app service plan <code>true</code>, <code>false</code> otherwise.- Returns:
- the reserved value
-
withReserved
Set if Linux app service plan <code>true</code>, <code>false</code> otherwise.- Parameters:
reserved
- the reserved value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
isXenon
Get obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.- Returns:
- the isXenon value
-
withIsXenon
Set obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.- Parameters:
isXenon
- the isXenon value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
hyperV
Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.- Returns:
- the hyperV value
-
withHyperV
Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.- Parameters:
hyperV
- the hyperV value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
targetWorkerCount
Get scaling worker count.- Returns:
- the targetWorkerCount value
-
withTargetWorkerCount
Set scaling worker count.- Parameters:
targetWorkerCount
- the targetWorkerCount value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
targetWorkerSizeId
Get scaling worker size ID.- Returns:
- the targetWorkerSizeId value
-
withTargetWorkerSizeId
Set scaling worker size ID.- Parameters:
targetWorkerSizeId
- the targetWorkerSizeId value to set- Returns:
- the AppServicePlanPatchResource object itself.
-
provisioningState
Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.- Returns:
- the provisioningState value
-