你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SiteConfigResourceInner 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SiteConfigResourceInner()
初始化 SiteConfigResourceInner 类的新实例。
public SiteConfigResourceInner ();
Public Sub New ()
适用于
SiteConfigResourceInner(String, String, String, String, Nullable<Int32>, IList<String>, String, String, String, String, String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, String, IList<NameValuePair>, IList<ConnStringInfo>, SiteMachineKey, IList<HandlerMapping>, String, ScmType, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, Nullable<ManagedPipelineMode>, IList<VirtualApplication>, Nullable<SiteLoadBalancing>, Experiments, SiteLimits, Nullable<Boolean>, AutoHealRules, String, String, CorsSettings, PushSettingsInner, ApiDefinitionInfo, ApiManagementConfig, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, IList<IpSecurityRestriction>, IList<IpSecurityRestriction>, Nullable<Boolean>, Nullable<Boolean>, SupportedTlsVersions, FtpsState, Nullable<Int32>, String)
初始化 SiteConfigResourceInner 类的新实例。
public SiteConfigResourceInner (string id = default, string name = default, string type = default, string kind = default, int? numberOfWorkers = default, System.Collections.Generic.IList<string> defaultDocuments = default, string netFrameworkVersion = default, string phpVersion = default, string pythonVersion = default, string nodeVersion = default, string linuxFxVersion = default, string windowsFxVersion = default, bool? requestTracingEnabled = default, DateTime? requestTracingExpirationTime = default, bool? remoteDebuggingEnabled = default, string remoteDebuggingVersion = default, bool? httpLoggingEnabled = default, int? logsDirectorySizeLimit = default, bool? detailedErrorLoggingEnabled = default, string publishingUsername = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair> appSettings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.ConnStringInfo> connectionStrings = default, Microsoft.Azure.Management.AppService.Fluent.Models.SiteMachineKey machineKey = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.HandlerMapping> handlerMappings = default, string documentRoot = default, Microsoft.Azure.Management.AppService.Fluent.Models.ScmType scmType = default, bool? use32BitWorkerProcess = default, bool? webSocketsEnabled = default, bool? alwaysOn = default, string javaVersion = default, string javaContainer = default, string javaContainerVersion = default, string appCommandLine = default, Microsoft.Azure.Management.AppService.Fluent.Models.ManagedPipelineMode? managedPipelineMode = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.VirtualApplication> virtualApplications = default, Microsoft.Azure.Management.AppService.Fluent.Models.SiteLoadBalancing? loadBalancing = default, Microsoft.Azure.Management.AppService.Fluent.Models.Experiments experiments = default, Microsoft.Azure.Management.AppService.Fluent.Models.SiteLimits limits = default, bool? autoHealEnabled = default, Microsoft.Azure.Management.AppService.Fluent.Models.AutoHealRules autoHealRules = default, string tracingOptions = default, string vnetName = default, Microsoft.Azure.Management.AppService.Fluent.Models.CorsSettings cors = default, Microsoft.Azure.Management.AppService.Fluent.Models.PushSettingsInner push = default, Microsoft.Azure.Management.AppService.Fluent.Models.ApiDefinitionInfo apiDefinition = default, Microsoft.Azure.Management.AppService.Fluent.Models.ApiManagementConfig apiManagementConfig = default, string autoSwapSlotName = default, bool? localMySqlEnabled = default, int? managedServiceIdentityId = default, int? xManagedServiceIdentityId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.IpSecurityRestriction> ipSecurityRestrictions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.IpSecurityRestriction> scmIpSecurityRestrictions = default, bool? scmIpSecurityRestrictionsUseMain = default, bool? http20Enabled = default, Microsoft.Azure.Management.AppService.Fluent.Models.SupportedTlsVersions minTlsVersion = default, Microsoft.Azure.Management.AppService.Fluent.Models.FtpsState ftpsState = default, int? preWarmedInstanceCount = default, string healthCheckPath = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfigResourceInner : string * string * string * string * Nullable<int> * System.Collections.Generic.IList<string> * string * string * string * string * string * string * Nullable<bool> * Nullable<DateTime> * Nullable<bool> * string * Nullable<bool> * Nullable<int> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.NameValuePair> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.ConnStringInfo> * Microsoft.Azure.Management.AppService.Fluent.Models.SiteMachineKey * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.HandlerMapping> * string * Microsoft.Azure.Management.AppService.Fluent.Models.ScmType * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * string * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.ManagedPipelineMode> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.VirtualApplication> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.SiteLoadBalancing> * Microsoft.Azure.Management.AppService.Fluent.Models.Experiments * Microsoft.Azure.Management.AppService.Fluent.Models.SiteLimits * Nullable<bool> * Microsoft.Azure.Management.AppService.Fluent.Models.AutoHealRules * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.CorsSettings * Microsoft.Azure.Management.AppService.Fluent.Models.PushSettingsInner * Microsoft.Azure.Management.AppService.Fluent.Models.ApiDefinitionInfo * Microsoft.Azure.Management.AppService.Fluent.Models.ApiManagementConfig * string * Nullable<bool> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.IpSecurityRestriction> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.IpSecurityRestriction> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.AppService.Fluent.Models.SupportedTlsVersions * Microsoft.Azure.Management.AppService.Fluent.Models.FtpsState * Nullable<int> * string -> Microsoft.Azure.Management.AppService.Fluent.Models.SiteConfigResourceInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional numberOfWorkers As Nullable(Of Integer) = Nothing, Optional defaultDocuments As IList(Of String) = Nothing, Optional netFrameworkVersion As String = Nothing, Optional phpVersion As String = Nothing, Optional pythonVersion As String = Nothing, Optional nodeVersion As String = Nothing, Optional linuxFxVersion As String = Nothing, Optional windowsFxVersion As String = Nothing, Optional requestTracingEnabled As Nullable(Of Boolean) = Nothing, Optional requestTracingExpirationTime As Nullable(Of DateTime) = Nothing, Optional remoteDebuggingEnabled As Nullable(Of Boolean) = Nothing, Optional remoteDebuggingVersion As String = Nothing, Optional httpLoggingEnabled As Nullable(Of Boolean) = Nothing, Optional logsDirectorySizeLimit As Nullable(Of Integer) = Nothing, Optional detailedErrorLoggingEnabled As Nullable(Of Boolean) = Nothing, Optional publishingUsername As String = Nothing, Optional appSettings As IList(Of NameValuePair) = Nothing, Optional connectionStrings As IList(Of ConnStringInfo) = Nothing, Optional machineKey As SiteMachineKey = Nothing, Optional handlerMappings As IList(Of HandlerMapping) = Nothing, Optional documentRoot As String = Nothing, Optional scmType As ScmType = Nothing, Optional use32BitWorkerProcess As Nullable(Of Boolean) = Nothing, Optional webSocketsEnabled As Nullable(Of Boolean) = Nothing, Optional alwaysOn As Nullable(Of Boolean) = Nothing, Optional javaVersion As String = Nothing, Optional javaContainer As String = Nothing, Optional javaContainerVersion As String = Nothing, Optional appCommandLine As String = Nothing, Optional managedPipelineMode As Nullable(Of ManagedPipelineMode) = Nothing, Optional virtualApplications As IList(Of VirtualApplication) = Nothing, Optional loadBalancing As Nullable(Of SiteLoadBalancing) = Nothing, Optional experiments As Experiments = Nothing, Optional limits As SiteLimits = Nothing, Optional autoHealEnabled As Nullable(Of Boolean) = Nothing, Optional autoHealRules As AutoHealRules = Nothing, Optional tracingOptions As String = Nothing, Optional vnetName As String = Nothing, Optional cors As CorsSettings = Nothing, Optional push As PushSettingsInner = Nothing, Optional apiDefinition As ApiDefinitionInfo = Nothing, Optional apiManagementConfig As ApiManagementConfig = Nothing, Optional autoSwapSlotName As String = Nothing, Optional localMySqlEnabled As Nullable(Of Boolean) = Nothing, Optional managedServiceIdentityId As Nullable(Of Integer) = Nothing, Optional xManagedServiceIdentityId As Nullable(Of Integer) = Nothing, Optional ipSecurityRestrictions As IList(Of IpSecurityRestriction) = Nothing, Optional scmIpSecurityRestrictions As IList(Of IpSecurityRestriction) = Nothing, Optional scmIpSecurityRestrictionsUseMain As Nullable(Of Boolean) = Nothing, Optional http20Enabled As Nullable(Of Boolean) = Nothing, Optional minTlsVersion As SupportedTlsVersions = Nothing, Optional ftpsState As FtpsState = Nothing, Optional preWarmedInstanceCount As Nullable(Of Integer) = Nothing, Optional healthCheckPath As String = Nothing)
参数
- id
- String
- name
- String
- type
- String
- kind
- String
资源类型。
- netFrameworkVersion
- String
.NET Framework版本。
- phpVersion
- String
PHP 的版本。
- pythonVersion
- String
Python 版本。
- nodeVersion
- String
Node.js 的版本。
- linuxFxVersion
- String
Linux 应用框架和版本
- windowsFxVersion
- String
Xenon 应用框架和版本
- remoteDebuggingVersion
- String
远程调试版本。
- publishingUsername
- String
发布用户名。
- appSettings
- IList<NameValuePair>
应用程序设置。
- connectionStrings
- IList<ConnStringInfo>
连接字符串。
- machineKey
- SiteMachineKey
Site MachineKey。
- handlerMappings
- IList<HandlerMapping>
处理程序映射。
- documentRoot
- String
文档根目录。
- scmType
- ScmType
SCM 类型。 可能的值包括:“None”、“Dropbox”、“Tfs”、“LocalGit”、“GitHub”、“CodePlexGit”、“CodePlexHg”、“BitbucketGit”、“BitbucketHg”、“ExternalGit”、“ExternalGit”、“ExternalHg”、“OneDrive”、“VSO”、“VSTSRM”
- javaVersion
- String
Java 版本。
- javaContainer
- String
Java 容器。
- javaContainerVersion
- String
Java 容器版本。
- appCommandLine
- String
要启动的应用命令行。
- managedPipelineMode
- Nullable<ManagedPipelineMode>
托管管道模式。 可能的值包括:“Integrated”、“Classic”
- virtualApplications
- IList<VirtualApplication>
虚拟应用程序。
- loadBalancing
- Nullable<SiteLoadBalancing>
站点负载均衡。 可能的值包括:“WeightedRoundRobin”、“LeastRequests”、“LeastResponseTime”、“WeightedTotalTraffic”、“RequestHash”
- experiments
- Experiments
这是多态类型的解决方法。
- limits
- SiteLimits
网站限制。
- autoHealRules
- AutoHealRules
自动愈合规则。
- tracingOptions
- String
跟踪选项。
- vnetName
- String
虚拟网络名称。
- cors
- CorsSettings
跨域资源共享 (CORS) 设置。
- push
- PushSettingsInner
推送终结点设置。
- apiDefinition
- ApiDefinitionInfo
有关应用的正式 API 定义的信息。
- apiManagementConfig
- ApiManagementConfig
链接到应用的 Azure API 管理设置。
- autoSwapSlotName
- String
自动交换槽名称。
- ipSecurityRestrictions
- IList<IpSecurityRestriction>
main的 IP 安全限制。
- scmIpSecurityRestrictions
- IList<IpSecurityRestriction>
scm 的 IP 安全限制。
- minTlsVersion
- SupportedTlsVersions
MinTlsVersion:配置 SSL 请求所需的最低 TLS 版本。 可能的值包括:“1.0”、“1.1”、“1.2”
- ftpsState
- FtpsState
FTP/FTPS 服务的状态。 可能的值包括:“AllAllowed”、“FtpsOnly”、“Disabled”
- healthCheckPath
- String
运行状况检查路径