你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppServiceEnvironmentInner 构造函数

定义

重载

AppServiceEnvironmentInner()

初始化 AppServiceEnvironmentInner 类的新实例。

AppServiceEnvironmentInner(String, String, VirtualNetworkProfile, IList<WorkerPool>, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, String, String, String, Nullable<InternalLoadBalancingMode>, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int32>, String, String, String, String, String, String, Nullable<Int32>, IList<VirtualIPMapping>, IList<StampCapacity>, IList<NetworkAccessControlEntry>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<NameValuePair>, IList<String>, Nullable<Boolean>, String, String)

初始化 AppServiceEnvironmentInner 类的新实例。

AppServiceEnvironmentInner()

初始化 AppServiceEnvironmentInner 类的新实例。

public AppServiceEnvironmentInner ();
Public Sub New ()

适用于

AppServiceEnvironmentInner(String, String, VirtualNetworkProfile, IList<WorkerPool>, Nullable<ProvisioningState>, Nullable<HostingEnvironmentStatus>, String, String, String, Nullable<InternalLoadBalancingMode>, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int32>, String, String, String, String, String, String, Nullable<Int32>, IList<VirtualIPMapping>, IList<StampCapacity>, IList<NetworkAccessControlEntry>, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<NameValuePair>, IList<String>, Nullable<Boolean>, String, String)

初始化 AppServiceEnvironmentInner 类的新实例。

public AppServiceEnvironmentInner (string name, string location, Microsoft.Azure.Management.AppService.Fluent.Models.VirtualNetworkProfile virtualNetwork, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPool> workerPools, Microsoft.Azure.Management.AppService.Fluent.Models.ProvisioningState? provisioningState = default, Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentStatus? status = default, string vnetName = default, string vnetResourceGroupName = default, string vnetSubnetName = default, Microsoft.Azure.Management.AppService.Fluent.Models.InternalLoadBalancingMode? internalLoadBalancingMode = default, string multiSize = default, int? multiRoleCount = default, int? ipsslAddressCount = default, string databaseEdition = default, string databaseServiceObjective = default, int? upgradeDomains = default, string subscriptionId = default, string dnsSuffix = default, string lastAction = default, string lastActionResult = default, string allowedMultiSizes = default, string allowedWorkerSizes = default, int? maximumNumberOfMachines = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.VirtualIPMapping> vipMappings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.StampCapacity> environmentCapacities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkAccessControlEntry> networkAccessControlList = default, bool? environmentIsHealthy = default, string environmentStatus = default, string resourceGroup = default, int? frontEndScaleFactor = default, int? defaultFrontEndScaleFactor = default, string apiManagementAccountId = default, bool? suspended = default, bool? dynamicCacheEnabled = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair> clusterSettings = default, System.Collections.Generic.IList<string> userWhitelistedIpRanges = default, bool? hasLinuxWorkers = default, string sslCertKeyVaultId = default, string sslCertKeyVaultSecretName = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentInner : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.VirtualNetworkProfile * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPool> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.ProvisioningState> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentStatus> * string * string * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.InternalLoadBalancingMode> * string * Nullable<int> * Nullable<int> * string * string * Nullable<int> * string * string * string * string * string * string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.VirtualIPMapping> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.StampCapacity> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NetworkAccessControlEntry> * Nullable<bool> * string * string * Nullable<int> * Nullable<int> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string -> Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentInner
Public Sub New (name As String, location As String, virtualNetwork As VirtualNetworkProfile, workerPools As IList(Of WorkerPool), Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional status As Nullable(Of HostingEnvironmentStatus) = Nothing, Optional vnetName As String = Nothing, Optional vnetResourceGroupName As String = Nothing, Optional vnetSubnetName As String = Nothing, Optional internalLoadBalancingMode As Nullable(Of InternalLoadBalancingMode) = Nothing, Optional multiSize As String = Nothing, Optional multiRoleCount As Nullable(Of Integer) = Nothing, Optional ipsslAddressCount As Nullable(Of Integer) = Nothing, Optional databaseEdition As String = Nothing, Optional databaseServiceObjective As String = Nothing, Optional upgradeDomains As Nullable(Of Integer) = Nothing, Optional subscriptionId As String = Nothing, Optional dnsSuffix As String = Nothing, Optional lastAction As String = Nothing, Optional lastActionResult As String = Nothing, Optional allowedMultiSizes As String = Nothing, Optional allowedWorkerSizes As String = Nothing, Optional maximumNumberOfMachines As Nullable(Of Integer) = Nothing, Optional vipMappings As IList(Of VirtualIPMapping) = Nothing, Optional environmentCapacities As IList(Of StampCapacity) = Nothing, Optional networkAccessControlList As IList(Of NetworkAccessControlEntry) = Nothing, Optional environmentIsHealthy As Nullable(Of Boolean) = Nothing, Optional environmentStatus As String = Nothing, Optional resourceGroup As String = Nothing, Optional frontEndScaleFactor As Nullable(Of Integer) = Nothing, Optional defaultFrontEndScaleFactor As Nullable(Of Integer) = Nothing, Optional apiManagementAccountId As String = Nothing, Optional suspended As Nullable(Of Boolean) = Nothing, Optional dynamicCacheEnabled 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 sslCertKeyVaultId As String = Nothing, Optional sslCertKeyVaultSecretName As String = Nothing)

参数

name
String

应用服务环境的名称。

location
String

应用服务环境的位置,例如“美国西部”。

virtualNetwork
VirtualNetworkProfile

虚拟网络的说明。

workerPools
IList<WorkerPool>

描述每个池中具有辅助角色大小 ID、VM 大小和辅助角色数的工作器池。

provisioningState
Nullable<ProvisioningState>

应用服务环境的预配状态。 可能的值包括:“Succeeded”、“Failed”、“Canceled”、“InProgress”、“Deleting”

status
Nullable<HostingEnvironmentStatus>

应用服务环境的当前状态。 可能的值包括:“正在准备”、“就绪”、“缩放”、“删除”

vnetName
String

应用服务环境虚拟网络的名称。

vnetResourceGroupName
String

虚拟网络的资源组。

vnetSubnetName
String

虚拟网络的子网。

internalLoadBalancingMode
Nullable<InternalLoadBalancingMode>

指定要在虚拟网络内部为应用服务环境提供服务的终结点。 可能的值包括:“None”、“Web”、“Publishing”

multiSize
String

前端 VM 大小,例如“中”、“大”。

multiRoleCount
Nullable<Int32>

前端实例数。

ipsslAddressCount
Nullable<Int32>

为应用服务环境保留的 IP SSL 地址数。

databaseEdition
String

应用服务环境的元数据数据库版本,例如“标准”。

databaseServiceObjective
String

应用服务环境的元数据数据库的服务目标,例如“S0”。

upgradeDomains
Nullable<Int32>

应用服务环境的升级域数。

subscriptionId
String

应用服务环境的订阅。

dnsSuffix
String

应用服务环境的 DNS 后缀。

lastAction
String

应用服务环境的最后一个部署操作。

lastActionResult
String

应用服务环境上一个部署操作的结果。

allowedMultiSizes
String

以逗号分隔的字符串列表,描述前端允许使用哪些 VM 大小。

allowedWorkerSizes
String

以逗号分隔的字符串列表,描述允许辅助角色使用哪些 VM 大小。

maximumNumberOfMachines
Nullable<Int32>

应用服务环境中 VM 的最大数目。

vipMappings
IList<VirtualIPMapping>

应用服务环境的 IP SSL 映射的说明。

environmentCapacities
IList<StampCapacity>

当前总数、已用和可用辅助角色容量。

networkAccessControlList
IList<NetworkAccessControlEntry>

用于控制应用服务环境流量的访问控制列表。

environmentIsHealthy
Nullable<Boolean>

True/false,指示应用服务环境是否正常。

environmentStatus
String

有关 的详细消息以及应用服务环境的最后一个检查的结果。

resourceGroup
String

应用服务环境的资源组。

frontEndScaleFactor
Nullable<Int32>

前端的比例因子。

defaultFrontEndScaleFactor
Nullable<Int32>

前端的默认比例系数。

apiManagementAccountId
String

API 管理与应用服务环境关联的帐户。

suspended
Nullable<Boolean>

<如果暂停应用服务环境,则为代码 true/code>;否则为 <false<>/code>。<> 环境可以挂起,例如,当管理终结点不再可用时, (很可能是因为 NSG 阻止了传入流量) 。

dynamicCacheEnabled
Nullable<Boolean>

True/false,指示应用服务环境是否已挂起。 当管理终结点不再可用时,环境可以挂起, (很可能是因为 NSG 阻止了传入流量) 。

clusterSettings
IList<NameValuePair>

用于更改应用服务环境行为的自定义设置。

userWhitelistedIpRanges
IList<String>

用户已将 IP 范围添加到 ASE db 的允许列表

hasLinuxWorkers
Nullable<Boolean>

显示 ASE 是否具有 Linux 辅助角色的标志

sslCertKeyVaultId
String

ILB 应用服务环境默认 SSL 证书的密钥保管库 ID

sslCertKeyVaultSecretName
String

密钥保管库 ILB 应用服务环境默认 SSL 证书的机密名称

适用于