AppServicePlan Class
App Service plan.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.web.v2016_09_01.models._models_py3.ResourceAppServicePlan
Constructor
AppServicePlan(*, location: str, kind: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[azure.mgmt.web.v2016_09_01.models._models_py3.SkuDescription] = None, name_properties_name: Optional[str] = None, worker_tier_name: Optional[str] = None, admin_site_name: Optional[str] = None, hosting_environment_profile: Optional[azure.mgmt.web.v2016_09_01.models._models_py3.HostingEnvironmentProfile] = None, per_site_scaling: Optional[bool] = False, is_spot: Optional[bool] = None, spot_expiration_time: Optional[datetime.datetime] = None, reserved: Optional[bool] = False, target_worker_count: Optional[int] = None, target_worker_size_id: Optional[int] = 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.
- spot_expiration_time
- datetime
The time when the server farm expires. Valid only if it is a spot server farm.
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 Environment. Possible values include: "Succeeded", "Failed", "Canceled", "InProgress", "Deleting".
Feedback
Submit and view feedback for