Share via


AppServiceEnvironment Constructors

Definition

Overloads

AppServiceEnvironment()

Initializes a new instance of the AppServiceEnvironment class.

AppServiceEnvironment(VirtualNetworkProfile, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IList<NameValuePair>, IList<String>, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the AppServiceEnvironment class.

AppServiceEnvironment()

Initializes a new instance of the AppServiceEnvironment class.

public AppServiceEnvironment ();
Public Sub New ()

Applies to

AppServiceEnvironment(VirtualNetworkProfile, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, IList<NameValuePair>, IList<String>, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the AppServiceEnvironment class.

public AppServiceEnvironment (Microsoft.Azure.Management.WebSites.Models.VirtualNetworkProfile virtualNetwork, Microsoft.Azure.Management.WebSites.Models.ProvisioningState? provisioningState = default, Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentStatus? status = default, string internalLoadBalancingMode = default, string multiSize = default, int? multiRoleCount = default, int? ipsslAddressCount = default, string dnsSuffix = default, int? maximumNumberOfMachines = default, int? frontEndScaleFactor = default, bool? suspended = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NameValuePair> clusterSettings = default, System.Collections.Generic.IList<string> userWhitelistedIpRanges = default, bool? hasLinuxWorkers = default, int? dedicatedHostCount = default, bool? zoneRedundant = default);
new Microsoft.Azure.Management.WebSites.Models.AppServiceEnvironment : Microsoft.Azure.Management.WebSites.Models.VirtualNetworkProfile * Nullable<Microsoft.Azure.Management.WebSites.Models.ProvisioningState> * Nullable<Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentStatus> * string * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NameValuePair> * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.WebSites.Models.AppServiceEnvironment
Public Sub New (virtualNetwork As VirtualNetworkProfile, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional status As Nullable(Of HostingEnvironmentStatus) = Nothing, Optional internalLoadBalancingMode As String = Nothing, Optional multiSize As String = Nothing, Optional multiRoleCount As Nullable(Of Integer) = Nothing, Optional ipsslAddressCount As Nullable(Of Integer) = Nothing, Optional dnsSuffix As String = Nothing, Optional maximumNumberOfMachines As Nullable(Of Integer) = Nothing, Optional frontEndScaleFactor As Nullable(Of Integer) = Nothing, Optional suspended As Nullable(Of Boolean) = Nothing, Optional clusterSettings As IList(Of NameValuePair) = Nothing, Optional userWhitelistedIpRanges As IList(Of String) = Nothing, Optional hasLinuxWorkers As Nullable(Of Boolean) = Nothing, Optional dedicatedHostCount As Nullable(Of Integer) = Nothing, Optional zoneRedundant As Nullable(Of Boolean) = Nothing)

Parameters

virtualNetwork
VirtualNetworkProfile

Description of the Virtual Network.

provisioningState
Nullable<ProvisioningState>

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

status
Nullable<HostingEnvironmentStatus>

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

internalLoadBalancingMode
String

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

multiSize
String

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

multiRoleCount
Nullable<Int32>

Number of front-end instances.

ipsslAddressCount
Nullable<Int32>

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

dnsSuffix
String

DNS suffix of the App Service Environment.

maximumNumberOfMachines
Nullable<Int32>

Maximum number of VMs in the App Service Environment.

frontEndScaleFactor
Nullable<Int32>

Scale factor for front-ends.

suspended
Nullable<Boolean>

<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).

clusterSettings
IList<NameValuePair>

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

userWhitelistedIpRanges
IList<String>

User added ip ranges to whitelist on ASE db

hasLinuxWorkers
Nullable<Boolean>

Flag that displays whether an ASE has linux workers or not

dedicatedHostCount
Nullable<Int32>

Dedicated Host Count

zoneRedundant
Nullable<Boolean>

Whether or not this App Service Environment is zone-redundant.

Applies to