Class AppServicePlanPatchResource

java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.appservice.ProxyOnlyResource
com.microsoft.azure.management.appservice.AppServicePlanPatchResource

public class AppServicePlanPatchResource extends ProxyOnlyResource
ARM resource for a app service plan.
  • Constructor Details

    • AppServicePlanPatchResource

      public AppServicePlanPatchResource()
  • Method Details

    • workerTierName

      public String workerTierName()
      Get target worker tier assigned to the App Service plan.
      Returns:
      the workerTierName value
    • withWorkerTierName

      public AppServicePlanPatchResource withWorkerTierName(String workerTierName)
      Set target worker tier assigned to the App Service plan.
      Parameters:
      workerTierName - the workerTierName value to set
      Returns:
      the AppServicePlanPatchResource object itself.
    • status

      public StatusOptions status()
      Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'.
      Returns:
      the status value
    • subscription

      public String subscription()
      Get app Service plan subscription.
      Returns:
      the subscription value
    • hostingEnvironmentProfile

      public HostingEnvironmentProfile 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

      public Integer maximumNumberOfWorkers()
      Get maximum number of instances that can be assigned to this App Service plan.
      Returns:
      the maximumNumberOfWorkers value
    • geoRegion

      public String geoRegion()
      Get geographical location for the App Service plan.
      Returns:
      the geoRegion value
    • perSiteScaling

      public Boolean 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

      public AppServicePlanPatchResource withPerSiteScaling(Boolean perSiteScaling)
      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

      public Integer maximumElasticWorkerCount()
      Get maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.
      Returns:
      the maximumElasticWorkerCount value
    • withMaximumElasticWorkerCount

      public AppServicePlanPatchResource withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount)
      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

      public Integer numberOfSites()
      Get number of apps assigned to this App Service plan.
      Returns:
      the numberOfSites value
    • isSpot

      public Boolean isSpot()
      Get if <code>true</code>, this App Service Plan owns spot instances.
      Returns:
      the isSpot value
    • withIsSpot

      public AppServicePlanPatchResource withIsSpot(Boolean isSpot)
      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

      public String resourceGroup()
      Get resource group of the App Service plan.
      Returns:
      the resourceGroup value
    • reserved

      public Boolean reserved()
      Get if Linux app service plan <code>true</code>, <code>false</code> otherwise.
      Returns:
      the reserved value
    • withReserved

      public AppServicePlanPatchResource withReserved(Boolean reserved)
      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

      public Boolean isXenon()
      Get obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
      Returns:
      the isXenon value
    • withIsXenon

      public AppServicePlanPatchResource withIsXenon(Boolean isXenon)
      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

      public Boolean hyperV()
      Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.
      Returns:
      the hyperV value
    • withHyperV

      public AppServicePlanPatchResource withHyperV(Boolean hyperV)
      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

      public Integer targetWorkerCount()
      Get scaling worker count.
      Returns:
      the targetWorkerCount value
    • withTargetWorkerCount

      public AppServicePlanPatchResource withTargetWorkerCount(Integer targetWorkerCount)
      Set scaling worker count.
      Parameters:
      targetWorkerCount - the targetWorkerCount value to set
      Returns:
      the AppServicePlanPatchResource object itself.
    • targetWorkerSizeId

      public Integer targetWorkerSizeId()
      Get scaling worker size ID.
      Returns:
      the targetWorkerSizeId value
    • withTargetWorkerSizeId

      public AppServicePlanPatchResource withTargetWorkerSizeId(Integer targetWorkerSizeId)
      Set scaling worker size ID.
      Parameters:
      targetWorkerSizeId - the targetWorkerSizeId value to set
      Returns:
      the AppServicePlanPatchResource object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.
      Returns:
      the provisioningState value