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

SiteInner 构造函数

定义

重载

SiteInner()

初始化 SiteInner 类的新实例。

SiteInner(String, String, String, String, IDictionary<String, String>, String, IList<String>, String, Nullable<UsageState>, Nullable<Boolean>, IList<String>, Nullable<SiteAvailabilityState>, IList<HostNameSslState>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<DateTime>, SiteConfig, IList<String>, Nullable<Boolean>, String, HostingEnvironmentProfile, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, CloningInfo, String, Nullable<Boolean>, String, SlotSwapStatus, Nullable<Boolean>, Nullable<RedundancyMode>, Nullable<Guid>, ManagedServiceIdentity, String)

初始化 SiteInner 类的新实例。

SiteInner()

初始化 SiteInner 类的新实例。

public SiteInner ();
Public Sub New ()

适用于

SiteInner(String, String, String, String, IDictionary<String, String>, String, IList<String>, String, Nullable<UsageState>, Nullable<Boolean>, IList<String>, Nullable<SiteAvailabilityState>, IList<HostNameSslState>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<DateTime>, SiteConfig, IList<String>, Nullable<Boolean>, String, HostingEnvironmentProfile, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<Int32>, CloningInfo, String, Nullable<Boolean>, String, SlotSwapStatus, Nullable<Boolean>, Nullable<RedundancyMode>, Nullable<Guid>, ManagedServiceIdentity, String)

初始化 SiteInner 类的新实例。

public SiteInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string state = default, System.Collections.Generic.IList<string> hostNames = default, string repositorySiteName = default, Microsoft.Azure.Management.AppService.Fluent.Models.UsageState? usageState = default, bool? enabled = default, System.Collections.Generic.IList<string> enabledHostNames = default, Microsoft.Azure.Management.AppService.Fluent.Models.SiteAvailabilityState? availabilityState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.HostNameSslState> hostNameSslStates = default, string serverFarmId = default, bool? reserved = default, bool? isXenon = default, bool? hyperV = default, DateTime? lastModifiedTimeUtc = default, Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfig siteConfig = default, System.Collections.Generic.IList<string> trafficManagerHostNames = default, bool? scmSiteAlsoStopped = default, string targetSwapSlot = default, Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, bool? clientAffinityEnabled = default, bool? clientCertEnabled = default, string clientCertExclusionPaths = default, bool? hostNamesDisabled = default, string outboundIpAddresses = default, string possibleOutboundIpAddresses = default, int? containerSize = default, int? dailyMemoryTimeQuota = default, DateTime? suspendedTill = default, int? maxNumberOfWorkers = default, Microsoft.Azure.Management.AppService.Fluent.Models.CloningInfo cloningInfo = default, string resourceGroup = default, bool? isDefaultContainer = default, string defaultHostName = default, Microsoft.Azure.Management.AppService.Fluent.Models.SlotSwapStatus slotSwapStatus = default, bool? httpsOnly = default, Microsoft.Azure.Management.AppService.Fluent.Models.RedundancyMode? redundancyMode = default, Guid? inProgressOperationId = default, Microsoft.Azure.Management.AppService.Fluent.Models.ManagedServiceIdentity identity = default, string kind = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<string> * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.UsageState> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.SiteAvailabilityState> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.HostNameSslState> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTime> * Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfig * System.Collections.Generic.IList<string> * Nullable<bool> * string * Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentProfile * Nullable<bool> * Nullable<bool> * string * Nullable<bool> * string * string * Nullable<int> * Nullable<int> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.AppService.Fluent.Models.CloningInfo * string * Nullable<bool> * string * Microsoft.Azure.Management.AppService.Fluent.Models.SlotSwapStatus * Nullable<bool> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.RedundancyMode> * Nullable<Guid> * Microsoft.Azure.Management.AppService.Fluent.Models.ManagedServiceIdentity * string -> Microsoft.Azure.Management.AppService.Fluent.Models.SiteInner
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional state As String = Nothing, Optional hostNames As IList(Of String) = Nothing, Optional repositorySiteName As String = Nothing, Optional usageState As Nullable(Of UsageState) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional enabledHostNames As IList(Of String) = Nothing, Optional availabilityState As Nullable(Of SiteAvailabilityState) = Nothing, Optional hostNameSslStates As IList(Of HostNameSslState) = Nothing, Optional serverFarmId As String = Nothing, Optional reserved As Nullable(Of Boolean) = Nothing, Optional isXenon As Nullable(Of Boolean) = Nothing, Optional hyperV As Nullable(Of Boolean) = Nothing, Optional lastModifiedTimeUtc As Nullable(Of DateTime) = Nothing, Optional siteConfig As SiteConfig = Nothing, Optional trafficManagerHostNames As IList(Of String) = Nothing, Optional scmSiteAlsoStopped As Nullable(Of Boolean) = Nothing, Optional targetSwapSlot As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional clientAffinityEnabled As Nullable(Of Boolean) = Nothing, Optional clientCertEnabled As Nullable(Of Boolean) = Nothing, Optional clientCertExclusionPaths As String = Nothing, Optional hostNamesDisabled As Nullable(Of Boolean) = Nothing, Optional outboundIpAddresses As String = Nothing, Optional possibleOutboundIpAddresses As String = Nothing, Optional containerSize As Nullable(Of Integer) = Nothing, Optional dailyMemoryTimeQuota As Nullable(Of Integer) = Nothing, Optional suspendedTill As Nullable(Of DateTime) = Nothing, Optional maxNumberOfWorkers As Nullable(Of Integer) = Nothing, Optional cloningInfo As CloningInfo = Nothing, Optional resourceGroup As String = Nothing, Optional isDefaultContainer As Nullable(Of Boolean) = Nothing, Optional defaultHostName As String = Nothing, Optional slotSwapStatus As SlotSwapStatus = Nothing, Optional httpsOnly As Nullable(Of Boolean) = Nothing, Optional redundancyMode As Nullable(Of RedundancyMode) = Nothing, Optional inProgressOperationId As Nullable(Of Guid) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional kind As String = Nothing)

参数

location
String
id
String
name
String
type
String
state
String

应用的当前状态。

hostNames
IList<String>

与应用关联的主机名。

repositorySiteName
String

存储库站点的名称。

usageState
Nullable<UsageState>

指示应用是否已超出其配额使用情况的状态。 只读。 可能的值包括:“Normal”、“Exceeded”

enabled
Nullable<Boolean>

<如果启用了应用,则为代码 true/code>;否则为 <false<>/code>。<> 将此值设置为 false 会禁用应用 (使应用脱机) 。

enabledHostNames
IList<String>

为应用启用主机名。需要分配主机名 (请参阅 hostNames) and enabled。 否则,应用不会在这些主机名上提供。

availabilityState
Nullable<SiteAvailabilityState>

应用的管理信息可用性状态。 可能的值包括:“Normal”、“Limited”、“DisasterRecoveryMode”

hostNameSslStates
IList<HostNameSslState>

主机名 SSL 状态用于管理应用的主机名的 SSL 绑定。

serverFarmId
String

关联的App 服务计划的资源 ID,格式为:“/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}”。

reserved
Nullable<Boolean>

<code>true</code> (如果保留);否则为 <代码>false</code>。

isXenon
Nullable<Boolean>

已过时:Hyper-V 沙盒。

hyperV
Nullable<Boolean>

Hyper-V 沙盒。

lastModifiedTimeUtc
Nullable<DateTime>

上次修改应用的时间(UTC)。 只读。

siteConfig
SiteConfig

应用的配置。

trafficManagerHostNames
IList<String>

与应用关联的 Azure 流量管理器主机名。 只读。

scmSiteAlsoStopped
Nullable<Boolean>

<code>true</code> to stop SCM (KUDU) site(当应用停止时);否则, <代码>为 false</code>。 默认值为 <代码>false</code>。

targetSwapSlot
String

指定此应用将交换到哪个部署槽位。 只读。

hostingEnvironmentProfile
HostingEnvironmentProfile

应用服务环境用于应用。

clientAffinityEnabled
Nullable<Boolean>

<code>true</code> to enable client affinity; <代码>false</code> 停止发送会话相关性 Cookie,将同一会话中的客户端请求路由到同一实例。 默认值为 <代码>true</code>。

clientCertEnabled
Nullable<Boolean>

<code>true</code> 用于启用客户端证书身份验证 (TLS 相互身份验证) ;否则, <代码>为 false</code>。 默认值为 <代码>false</code>。

clientCertExclusionPaths
String

客户端证书身份验证逗号分隔的排除路径

hostNamesDisabled
Nullable<Boolean>

<code>true</code> 用于禁用应用的公共主机名;否则为 <false></code>。 如果 <代码>为 true</code>,则只能通过 API 管理过程访问应用。

outboundIpAddresses
String

应用用于出站连接的 IP 地址列表 (例如数据库访问) 。 包括来自可以使用当前设置托管站点的租户的 VIP。 只读。

possibleOutboundIpAddresses
String

应用用于出站连接的 IP 地址列表 (例如数据库访问) 。 包括除 dataComponent 之外的所有租户的 VIP。 只读。

containerSize
Nullable<Int32>

函数容器的大小。

dailyMemoryTimeQuota
Nullable<Int32>

每日允许的最大内存时间配额 (仅适用于) 动态应用。

suspendedTill
Nullable<DateTime>

应用暂停,直到超过内存时间配额。

maxNumberOfWorkers
Nullable<Int32>

最大辅助角色数。 这仅适用于 Functions 容器。

cloningInfo
CloningInfo

如果在应用创建过程中指定,则会从源应用克隆应用。

resourceGroup
String

应用所属的资源组的名称。 只读。

isDefaultContainer
Nullable<Boolean>

<如果应用是默认容器,则为代码>true/code>;否则为 <false></code><。

defaultHostName
String

应用的默认主机名。 只读。

slotSwapStatus
SlotSwapStatus

上次部署槽交换操作的状态。

httpsOnly
Nullable<Boolean>

HttpsOnly:将网站配置为仅接受 https 请求。 http 请求重定向的问题

redundancyMode
Nullable<RedundancyMode>

站点冗余模式。 可能的值包括:“None”、“Manual”、“Failover”、“ActiveActive”、“GeoRedundant”

inProgressOperationId
Nullable<Guid>

如果此站点具有挂起的操作,则指定操作 ID。

kind
String

资源类型。

适用于