AppServiceEnvironment Class

Description of an App Service Environment.

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
AppServiceEnvironment

Constructor

AppServiceEnvironment(*, virtual_network: azure.mgmt.web.v2021_01_15.models._models_py3.VirtualNetworkProfile, internal_load_balancing_mode: Optional[Union[str, azure.mgmt.web.v2021_01_15.models._web_site_management_client_enums.LoadBalancingMode]] = None, multi_size: Optional[str] = None, ipssl_address_count: Optional[int] = None, dns_suffix: Optional[str] = None, front_end_scale_factor: Optional[int] = None, cluster_settings: Optional[List[azure.mgmt.web.v2021_01_15.models._models_py3.NameValuePair]] = None, user_whitelisted_ip_ranges: Optional[List[str]] = None, **kwargs)

Parameters

virtual_network
VirtualNetworkProfile
Required

Required. Description of the Virtual Network.

internal_load_balancing_mode
str or LoadBalancingMode
Required

Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: "None", "Web", "Publishing", "Web, Publishing".

multi_size
str
Required

Front-end VM size, e.g. "Medium", "Large".

ipssl_address_count
int
Required

Number of IP SSL addresses reserved for the App Service Environment.

dns_suffix
str
Required

DNS suffix of the App Service Environment.

front_end_scale_factor
int
Required

Scale factor for front-ends.

cluster_settings
list[NameValuePair]
Required

Custom settings for changing the behavior of the App Service Environment.

user_whitelisted_ip_ranges
list[str]
Required

User added ip ranges to whitelist on ASE db.

Variables

provisioning_state
str or ProvisioningState

Provisioning state of the App Service Environment. Possible values include: "Succeeded", "Failed", "Canceled", "InProgress", "Deleting".

status
str or HostingEnvironmentStatus

Current status of the App Service Environment. Possible values include: "Preparing", "Ready", "Scaling", "Deleting".

multi_role_count
int

Number of front-end instances.

maximum_number_of_machines
int

Maximum number of VMs in the App Service Environment.

suspended
bool

<code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>. The environment can be suspended, e.g. when the management endpoint is no longer available

(most likely because NSG blocked the incoming traffic).

has_linux_workers
bool

Flag that displays whether an ASE has linux workers or not.

dedicated_host_count
int

Dedicated Host Count.