AppServicePlanPatchResource Class
ARM resource for a app service plan.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.web.v2021_01_15.models._models_py3.ProxyOnlyResourceAppServicePlanPatchResource
Constructor
AppServicePlanPatchResource(*, kind: Optional[str] = None, worker_tier_name: Optional[str] = None, hosting_environment_profile: Optional[azure.mgmt.web.v2021_01_15.models._models_py3.HostingEnvironmentProfile] = None, per_site_scaling: Optional[bool] = False, elastic_scale_enabled: Optional[bool] = None, maximum_elastic_worker_count: Optional[int] = None, is_spot: Optional[bool] = None, spot_expiration_time: Optional[datetime.datetime] = None, free_offer_expiration_time: Optional[datetime.datetime] = None, reserved: Optional[bool] = False, is_xenon: Optional[bool] = False, hyper_v: Optional[bool] = False, target_worker_count: Optional[int] = None, target_worker_size_id: Optional[int] = None, kube_environment_profile: Optional[azure.mgmt.web.v2021_01_15.models._models_py3.KubeEnvironmentProfile] = None, **kwargs)
Parameters
- hosting_environment_profile
- HostingEnvironmentProfile
Specification for the App Service Environment to use for the App Service plan.
- per_site_scaling
- bool
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.
- elastic_scale_enabled
- bool
ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku.
- maximum_elastic_worker_count
- int
Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.
- spot_expiration_time
- datetime
The time when the server farm expires. Valid only if it is a spot server farm.
- is_xenon
- bool
Obsolete: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
- hyper_v
- bool
If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise.
- kube_environment_profile
- KubeEnvironmentProfile
Specification for the Kubernetes Environment to use for the App Service plan.
Variables
- id
- str
Resource Id.
- name
- str
Resource Name.
- type
- str
Resource type.
- status
- str or StatusOptions
App Service plan status. Possible values include: "Ready", "Pending", "Creating".
- subscription
- str
App Service plan subscription.
- maximum_number_of_workers
- int
Maximum number of instances that can be assigned to this App Service plan.
- geo_region
- str
Geographical location for the App Service plan.
- number_of_sites
- int
Number of apps assigned to this App Service plan.
- resource_group
- str
Resource group of the App Service plan.
- provisioning_state
- str or ProvisioningState
Provisioning state of the App Service Plan. Possible values include: "Succeeded", "Failed", "Canceled", "InProgress", "Deleting".
Feedback
Submit and view feedback for