Sdílet prostřednictvím


SiteConfig Konstruktory

Definice

Přetížení

SiteConfig()

Inicializuje novou instanci SiteConfig třídy.

SiteConfig(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)

Inicializuje novou instanci SiteConfig třídy.

SiteConfig()

Inicializuje novou instanci SiteConfig třídy.

public SiteConfig ();
Public Sub New ()

Platí pro

SiteConfig(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)

Inicializuje novou instanci SiteConfig třídy.

public SiteConfig (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.SiteConfig : 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.SiteConfig
Public Sub New (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)

Parametry

numberOfWorkers
Nullable<Int32>

Počet pracovníků.

defaultDocuments
IList<String>

Výchozí dokumenty.

netFrameworkVersion
String

Verze rozhraní .NET Framework.

phpVersion
String

Verze PHP.

pythonVersion
String

Verze Pythonu.

nodeVersion
String

Verze Node.js.

linuxFxVersion
String

Linux App Framework a verze

windowsFxVersion
String

Xenon App Framework a verze

requestTracingEnabled
Nullable<Boolean>

<kód>true</code> , pokud je povolené trasování požadavků; v opačném případě se jedná o <kód>false</kód>.

requestTracingExpirationTime
Nullable<DateTime>

Doba vypršení platnosti trasování požadavků

remoteDebuggingEnabled
Nullable<Boolean>

<kód>true</code> , pokud je povolené vzdálené ladění; v opačném případě se jedná o <kód>false</kód>.

remoteDebuggingVersion
String

Verze vzdáleného ladění.

httpLoggingEnabled
Nullable<Boolean>

<kód>true</code> , pokud je povolené protokolování HTTP; v opačném případě se jedná o <kód>false</kód>.

logsDirectorySizeLimit
Nullable<Int32>

Limit velikosti adresáře protokolů HTTP.

detailedErrorLoggingEnabled
Nullable<Boolean>

<kód>true</code> , pokud je povolené podrobné protokolování chyb; v opačném případě se jedná o <kód>false</kód>.

publishingUsername
String

Uživatelské jméno publikování.

appSettings
IList<NameValuePair>

Nastavení aplikací.

connectionStrings
IList<ConnStringInfo>

Připojovací řetězce.

machineKey
SiteMachineKey

Site MachineKey.

handlerMappings
IList<HandlerMapping>

Mapování obslužných rutin.

documentRoot
String

Kořen dokumentu.

scmType
ScmType

Typ SCM. Mezi možné hodnoty patří: None, Dropbox, Tfs, LocalGit, GitHub, CodePlexGit, CodePlexHg, BitbucketGit, BitbucketHg, BitbucketHg, ExternalGit, ExternalHg, ExternalHg, ExternalHg, OneDrive, VSO, VSTSRM.

use32BitWorkerProcess
Nullable<Boolean>

<kód>true</kód> pro použití 32bitového pracovního procesu; <v opačném případě kód>false</kód>.

webSocketsEnabled
Nullable<Boolean>

<true/>code> if WebSocket is enabled; v opačném případě se jedná o <kód>false</code>.<

alwaysOn
Nullable<Boolean>

<kód>true</kód> , pokud je zapnutá funkce AlwaysOn; <v opačném případě je kód>false</kód>.

javaVersion
String

Verze Javy.

javaContainer
String

Kontejner Javy.

javaContainerVersion
String

Verze kontejneru Java.

appCommandLine
String

Příkazový řádek aplikace ke spuštění.

managedPipelineMode
Nullable<ManagedPipelineMode>

Režim spravovaného kanálu. Mezi možné hodnoty patří: 'Integrated', 'Classic'

virtualApplications
IList<VirtualApplication>

Virtuální aplikace.

loadBalancing
Nullable<SiteLoadBalancing>

Vyrovnávání zatížení lokality. Mezi možné hodnoty patří: WeightedRoundRobin, LeastRequests, LeastResponseTime, WeightedTotalTraffic, RequestHash.

experiments
Experiments

Toto je řešení pro polymorfní typy.

limits
SiteLimits

Omezení webu.

autoHealEnabled
Nullable<Boolean>

<kód>true</code> , pokud je povolená funkce Auto Heal; v opačném případě se jedná o <kód>false</kód>.

autoHealRules
AutoHealRules

Pravidla automatického oprav.

tracingOptions
String

Možnosti trasování.

vnetName
String

Virtual Network název.

cors
CorsSettings

Nastavení sdílení prostředků mezi zdroji (CORS).

push
PushSettingsInner

Nabízená nastavení koncového bodu.

apiDefinition
ApiDefinitionInfo

Informace o formální definici rozhraní API pro aplikaci

apiManagementConfig
ApiManagementConfig

Nastavení služby Azure API Management propojené s aplikací

autoSwapSlotName
String

Název slotu automatického prohození.

localMySqlEnabled
Nullable<Boolean>

<kód>true</code> to enable local MySQL; <jinak code>false</code>.

managedServiceIdentityId
Nullable<Int32>

ID identity spravované služby

xManagedServiceIdentityId
Nullable<Int32>

Explicitní ID identity spravované služby

ipSecurityRestrictions
IList<IpSecurityRestriction>

Omezení zabezpečení IP adres pro main.

scmIpSecurityRestrictions
IList<IpSecurityRestriction>

Omezení zabezpečení PROTOKOLU IP pro scm.

scmIpSecurityRestrictionsUseMain
Nullable<Boolean>

Omezení zabezpečení PROTOKOLU IP pro použití hlavního objektu scm

http20Enabled
Nullable<Boolean>

Http20Enabled: Nakonfiguruje web tak, aby umožňoval klientům připojení přes http2.0.

minTlsVersion
SupportedTlsVersions

MinTlsVersion: Konfiguruje minimální verzi protokolu TLS vyžadovanou pro požadavky SSL. Mezi možné hodnoty patří: 1.0, 1.1, 1.2.

ftpsState
FtpsState

Stav služby FTP/FTPS. Mezi možné hodnoty patří: AllAllowed, FtpsOnly, Disabled.

preWarmedInstanceCount
Nullable<Int32>

Počet předzbrojených instancí Toto nastavení platí jenom pro plány Consumption a Elastic

healthCheckPath
String

Cesta ke kontrole stavu

Platí pro