/// <summary>
 /// Initializes a new instance of the SiteConfigResourceInner class.
 /// </summary>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="numberOfWorkers">Number of workers.</param>
 /// <param name="defaultDocuments">Default documents.</param>
 /// <param name="netFrameworkVersion">.NET Framework version.</param>
 /// <param name="phpVersion">Version of PHP.</param>
 /// <param name="pythonVersion">Version of Python.</param>
 /// <param name="nodeVersion">Version of Node.js.</param>
 /// <param name="linuxFxVersion">Linux App Framework and
 /// version</param>
 /// <param name="windowsFxVersion">Xenon App Framework and
 /// version</param>
 /// <param name="requestTracingEnabled">&lt;code&gt;true&lt;/code&gt;
 /// if request tracing is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="requestTracingExpirationTime">Request tracing
 /// expiration time.</param>
 /// <param name="remoteDebuggingEnabled">&lt;code&gt;true&lt;/code&gt;
 /// if remote debugging is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="remoteDebuggingVersion">Remote debugging
 /// version.</param>
 /// <param name="httpLoggingEnabled">&lt;code&gt;true&lt;/code&gt; if
 /// HTTP logging is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="logsDirectorySizeLimit">HTTP logs directory size
 /// limit.</param>
 /// <param
 /// name="detailedErrorLoggingEnabled">&lt;code&gt;true&lt;/code&gt; if
 /// detailed error logging is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="publishingUsername">Publishing user name.</param>
 /// <param name="appSettings">Application settings.</param>
 /// <param name="connectionStrings">Connection strings.</param>
 /// <param name="machineKey">Site MachineKey.</param>
 /// <param name="handlerMappings">Handler mappings.</param>
 /// <param name="documentRoot">Document root.</param>
 /// <param name="scmType">SCM type. Possible values include: 'None',
 /// 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit',
 /// 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit',
 /// 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'</param>
 /// <param name="use32BitWorkerProcess">&lt;code&gt;true&lt;/code&gt;
 /// to use 32-bit worker process; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="webSocketsEnabled">&lt;code&gt;true&lt;/code&gt; if
 /// WebSocket is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="alwaysOn">&lt;code&gt;true&lt;/code&gt; if Always On
 /// is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="javaVersion">Java version.</param>
 /// <param name="javaContainer">Java container.</param>
 /// <param name="javaContainerVersion">Java container version.</param>
 /// <param name="appCommandLine">App command line to launch.</param>
 /// <param name="managedPipelineMode">Managed pipeline mode. Possible
 /// values include: 'Integrated', 'Classic'</param>
 /// <param name="virtualApplications">Virtual applications.</param>
 /// <param name="loadBalancing">Site load balancing. Possible values
 /// include: 'WeightedRoundRobin', 'LeastRequests',
 /// 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'</param>
 /// <param name="experiments">This is work around for polymorphic
 /// types.</param>
 /// <param name="limits">Site limits.</param>
 /// <param name="autoHealEnabled">&lt;code&gt;true&lt;/code&gt; if Auto
 /// Heal is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="autoHealRules">Auto Heal rules.</param>
 /// <param name="tracingOptions">Tracing options.</param>
 /// <param name="vnetName">Virtual Network name.</param>
 /// <param name="cors">Cross-Origin Resource Sharing (CORS)
 /// settings.</param>
 /// <param name="push">Push endpoint settings.</param>
 /// <param name="apiDefinition">Information about the formal API
 /// definition for the app.</param>
 /// <param name="apiManagementConfig">Azure API management settings
 /// linked to the app.</param>
 /// <param name="autoSwapSlotName">Auto-swap slot name.</param>
 /// <param name="localMySqlEnabled">&lt;code&gt;true&lt;/code&gt; to
 /// enable local MySQL; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="managedServiceIdentityId">Managed Service Identity
 /// Id</param>
 /// <param name="xManagedServiceIdentityId">Explicit Managed Service
 /// Identity Id</param>
 /// <param name="ipSecurityRestrictions">IP security restrictions for
 /// main.</param>
 /// <param name="scmIpSecurityRestrictions">IP security restrictions
 /// for scm.</param>
 /// <param name="scmIpSecurityRestrictionsUseMain">IP security
 /// restrictions for scm to use main.</param>
 /// <param name="http20Enabled">Http20Enabled: configures a web site to
 /// allow clients to connect over http2.0</param>
 /// <param name="minTlsVersion">MinTlsVersion: configures the minimum
 /// version of TLS required for SSL requests. Possible values include:
 /// '1.0', '1.1', '1.2'</param>
 /// <param name="ftpsState">State of FTP / FTPS service. Possible
 /// values include: 'AllAllowed', 'FtpsOnly', 'Disabled'</param>
 /// <param name="preWarmedInstanceCount">Number of preWarmed instances.
 /// This setting only applies to the Consumption and Elastic
 /// Plans</param>
 /// <param name="healthCheckPath">Health check path</param>
 public SiteConfigResourceInner(string id = default(string), string name = default(string), string type = default(string), string kind = default(string), int?numberOfWorkers = default(int?), IList <string> defaultDocuments = default(IList <string>), string netFrameworkVersion = default(string), string phpVersion = default(string), string pythonVersion = default(string), string nodeVersion = default(string), string linuxFxVersion = default(string), string windowsFxVersion = default(string), bool?requestTracingEnabled = default(bool?), System.DateTime?requestTracingExpirationTime = default(System.DateTime?), bool?remoteDebuggingEnabled = default(bool?), string remoteDebuggingVersion = default(string), bool?httpLoggingEnabled = default(bool?), int?logsDirectorySizeLimit = default(int?), bool?detailedErrorLoggingEnabled = default(bool?), string publishingUsername = default(string), IList <NameValuePair> appSettings = default(IList <NameValuePair>), IList <ConnStringInfo> connectionStrings = default(IList <ConnStringInfo>), SiteMachineKey machineKey = default(SiteMachineKey), IList <HandlerMapping> handlerMappings = default(IList <HandlerMapping>), string documentRoot = default(string), ScmType scmType = default(ScmType), bool?use32BitWorkerProcess = default(bool?), bool?webSocketsEnabled = default(bool?), bool?alwaysOn = default(bool?), string javaVersion = default(string), string javaContainer = default(string), string javaContainerVersion = default(string), string appCommandLine = default(string), ManagedPipelineMode?managedPipelineMode = default(ManagedPipelineMode?), IList <VirtualApplication> virtualApplications = default(IList <VirtualApplication>), SiteLoadBalancing?loadBalancing = default(SiteLoadBalancing?), Experiments experiments = default(Experiments), SiteLimits limits = default(SiteLimits), bool?autoHealEnabled = default(bool?), AutoHealRules autoHealRules = default(AutoHealRules), string tracingOptions = default(string), string vnetName = default(string), CorsSettings cors = default(CorsSettings), PushSettingsInner push = default(PushSettingsInner), ApiDefinitionInfo apiDefinition = default(ApiDefinitionInfo), ApiManagementConfig apiManagementConfig = default(ApiManagementConfig), string autoSwapSlotName = default(string), bool?localMySqlEnabled = default(bool?), int?managedServiceIdentityId = default(int?), int?xManagedServiceIdentityId = default(int?), IList <IpSecurityRestriction> ipSecurityRestrictions = default(IList <IpSecurityRestriction>), IList <IpSecurityRestriction> scmIpSecurityRestrictions = default(IList <IpSecurityRestriction>), bool?scmIpSecurityRestrictionsUseMain = default(bool?), bool?http20Enabled = default(bool?), SupportedTlsVersions minTlsVersion = default(SupportedTlsVersions), FtpsState ftpsState = default(FtpsState), int?preWarmedInstanceCount = default(int?), string healthCheckPath = default(string))
     : base(id, name, type, kind)
 {
     NumberOfWorkers              = numberOfWorkers;
     DefaultDocuments             = defaultDocuments;
     NetFrameworkVersion          = netFrameworkVersion;
     PhpVersion                   = phpVersion;
     PythonVersion                = pythonVersion;
     NodeVersion                  = nodeVersion;
     LinuxFxVersion               = linuxFxVersion;
     WindowsFxVersion             = windowsFxVersion;
     RequestTracingEnabled        = requestTracingEnabled;
     RequestTracingExpirationTime = requestTracingExpirationTime;
     RemoteDebuggingEnabled       = remoteDebuggingEnabled;
     RemoteDebuggingVersion       = remoteDebuggingVersion;
     HttpLoggingEnabled           = httpLoggingEnabled;
     LogsDirectorySizeLimit       = logsDirectorySizeLimit;
     DetailedErrorLoggingEnabled  = detailedErrorLoggingEnabled;
     PublishingUsername           = publishingUsername;
     AppSettings                  = appSettings;
     ConnectionStrings            = connectionStrings;
     MachineKey                   = machineKey;
     HandlerMappings              = handlerMappings;
     DocumentRoot                 = documentRoot;
     ScmType = scmType;
     Use32BitWorkerProcess = use32BitWorkerProcess;
     WebSocketsEnabled     = webSocketsEnabled;
     AlwaysOn             = alwaysOn;
     JavaVersion          = javaVersion;
     JavaContainer        = javaContainer;
     JavaContainerVersion = javaContainerVersion;
     AppCommandLine       = appCommandLine;
     ManagedPipelineMode  = managedPipelineMode;
     VirtualApplications  = virtualApplications;
     LoadBalancing        = loadBalancing;
     Experiments          = experiments;
     Limits                           = limits;
     AutoHealEnabled                  = autoHealEnabled;
     AutoHealRules                    = autoHealRules;
     TracingOptions                   = tracingOptions;
     VnetName                         = vnetName;
     Cors                             = cors;
     Push                             = push;
     ApiDefinition                    = apiDefinition;
     ApiManagementConfig              = apiManagementConfig;
     AutoSwapSlotName                 = autoSwapSlotName;
     LocalMySqlEnabled                = localMySqlEnabled;
     ManagedServiceIdentityId         = managedServiceIdentityId;
     XManagedServiceIdentityId        = xManagedServiceIdentityId;
     IpSecurityRestrictions           = ipSecurityRestrictions;
     ScmIpSecurityRestrictions        = scmIpSecurityRestrictions;
     ScmIpSecurityRestrictionsUseMain = scmIpSecurityRestrictionsUseMain;
     Http20Enabled                    = http20Enabled;
     MinTlsVersion                    = minTlsVersion;
     FtpsState                        = ftpsState;
     PreWarmedInstanceCount           = preWarmedInstanceCount;
     HealthCheckPath                  = healthCheckPath;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the SiteConfig class.
 /// </summary>
 /// <param name="numberOfWorkers">Number of workers.</param>
 /// <param name="defaultDocuments">Default documents.</param>
 /// <param name="netFrameworkVersion">.NET Framework version.</param>
 /// <param name="phpVersion">Version of PHP.</param>
 /// <param name="pythonVersion">Version of Python.</param>
 /// <param name="nodeVersion">Version of Node.js.</param>
 /// <param name="linuxFxVersion">Linux App Framework and
 /// version</param>
 /// <param name="requestTracingEnabled">&lt;code&gt;true&lt;/code&gt;
 /// if request tracing is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="requestTracingExpirationTime">Request tracing
 /// expiration time.</param>
 /// <param name="remoteDebuggingEnabled">&lt;code&gt;true&lt;/code&gt;
 /// if remote debugging is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="remoteDebuggingVersion">Remote debugging
 /// version.</param>
 /// <param name="httpLoggingEnabled">&lt;code&gt;true&lt;/code&gt; if
 /// HTTP logging is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="logsDirectorySizeLimit">HTTP logs directory size
 /// limit.</param>
 /// <param
 /// name="detailedErrorLoggingEnabled">&lt;code&gt;true&lt;/code&gt; if
 /// detailed error logging is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="publishingUsername">Publishing user name.</param>
 /// <param name="appSettings">Application settings.</param>
 /// <param name="connectionStrings">Connection strings.</param>
 /// <param name="machineKey">Site MachineKey.</param>
 /// <param name="handlerMappings">Handler mappings.</param>
 /// <param name="documentRoot">Document root.</param>
 /// <param name="scmType">SCM type. Possible values include: 'None',
 /// 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit',
 /// 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit',
 /// 'ExternalHg', 'OneDrive', 'VSO'</param>
 /// <param name="use32BitWorkerProcess">&lt;code&gt;true&lt;/code&gt;
 /// to use 32-bit worker process; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="webSocketsEnabled">&lt;code&gt;true&lt;/code&gt; if
 /// WebSocket is enabled; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="alwaysOn">&lt;code&gt;true&lt;/code&gt; if Always On
 /// is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="javaVersion">Java version.</param>
 /// <param name="javaContainer">Java container.</param>
 /// <param name="javaContainerVersion">Java container version.</param>
 /// <param name="appCommandLine">App command line to launch.</param>
 /// <param name="managedPipelineMode">Managed pipeline mode. Possible
 /// values include: 'Integrated', 'Classic'</param>
 /// <param name="virtualApplications">Virtual applications.</param>
 /// <param name="loadBalancing">Site load balancing. Possible values
 /// include: 'WeightedRoundRobin', 'LeastRequests',
 /// 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'</param>
 /// <param name="experiments">This is work around for polymophic
 /// types.</param>
 /// <param name="limits">Site limits.</param>
 /// <param name="autoHealEnabled">&lt;code&gt;true&lt;/code&gt; if Auto
 /// Heal is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="autoHealRules">Auto Heal rules.</param>
 /// <param name="tracingOptions">Tracing options.</param>
 /// <param name="vnetName">Virtual Network name.</param>
 /// <param name="cors">Cross-Origin Resource Sharing (CORS)
 /// settings.</param>
 /// <param name="push">Push endpoint settings.</param>
 /// <param name="apiDefinition">Information about the formal API
 /// definition for the app.</param>
 /// <param name="autoSwapSlotName">Auto-swap slot name.</param>
 /// <param name="localMySqlEnabled">&lt;code&gt;true&lt;/code&gt; to
 /// enable local MySQL; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;.</param>
 /// <param name="ipSecurityRestrictions">IP security
 /// restrictions.</param>
 public SiteConfig(int?numberOfWorkers = default(int?), IList <string> defaultDocuments = default(IList <string>), string netFrameworkVersion = default(string), string phpVersion = default(string), string pythonVersion = default(string), string nodeVersion = default(string), string linuxFxVersion = default(string), bool?requestTracingEnabled = default(bool?), System.DateTime?requestTracingExpirationTime = default(System.DateTime?), bool?remoteDebuggingEnabled = default(bool?), string remoteDebuggingVersion = default(string), bool?httpLoggingEnabled = default(bool?), int?logsDirectorySizeLimit = default(int?), bool?detailedErrorLoggingEnabled = default(bool?), string publishingUsername = default(string), IList <NameValuePair> appSettings = default(IList <NameValuePair>), IList <ConnStringInfo> connectionStrings = default(IList <ConnStringInfo>), SiteMachineKey machineKey = default(SiteMachineKey), IList <HandlerMapping> handlerMappings = default(IList <HandlerMapping>), string documentRoot = default(string), string scmType = default(string), bool?use32BitWorkerProcess = default(bool?), bool?webSocketsEnabled = default(bool?), bool?alwaysOn = default(bool?), string javaVersion = default(string), string javaContainer = default(string), string javaContainerVersion = default(string), string appCommandLine = default(string), ManagedPipelineMode?managedPipelineMode = default(ManagedPipelineMode?), IList <VirtualApplication> virtualApplications = default(IList <VirtualApplication>), SiteLoadBalancing?loadBalancing = default(SiteLoadBalancing?), Experiments experiments = default(Experiments), SiteLimits limits = default(SiteLimits), bool?autoHealEnabled = default(bool?), AutoHealRules autoHealRules = default(AutoHealRules), string tracingOptions = default(string), string vnetName = default(string), CorsSettings cors = default(CorsSettings), PushSettingsInner push = default(PushSettingsInner), ApiDefinitionInfo apiDefinition = default(ApiDefinitionInfo), string autoSwapSlotName = default(string), bool?localMySqlEnabled = default(bool?), IList <IpSecurityRestriction> ipSecurityRestrictions = default(IList <IpSecurityRestriction>))
 {
     NumberOfWorkers              = numberOfWorkers;
     DefaultDocuments             = defaultDocuments;
     NetFrameworkVersion          = netFrameworkVersion;
     PhpVersion                   = phpVersion;
     PythonVersion                = pythonVersion;
     NodeVersion                  = nodeVersion;
     LinuxFxVersion               = linuxFxVersion;
     RequestTracingEnabled        = requestTracingEnabled;
     RequestTracingExpirationTime = requestTracingExpirationTime;
     RemoteDebuggingEnabled       = remoteDebuggingEnabled;
     RemoteDebuggingVersion       = remoteDebuggingVersion;
     HttpLoggingEnabled           = httpLoggingEnabled;
     LogsDirectorySizeLimit       = logsDirectorySizeLimit;
     DetailedErrorLoggingEnabled  = detailedErrorLoggingEnabled;
     PublishingUsername           = publishingUsername;
     AppSettings                  = appSettings;
     ConnectionStrings            = connectionStrings;
     MachineKey                   = machineKey;
     HandlerMappings              = handlerMappings;
     DocumentRoot                 = documentRoot;
     ScmType = scmType;
     Use32BitWorkerProcess = use32BitWorkerProcess;
     WebSocketsEnabled     = webSocketsEnabled;
     AlwaysOn             = alwaysOn;
     JavaVersion          = javaVersion;
     JavaContainer        = javaContainer;
     JavaContainerVersion = javaContainerVersion;
     AppCommandLine       = appCommandLine;
     ManagedPipelineMode  = managedPipelineMode;
     VirtualApplications  = virtualApplications;
     LoadBalancing        = loadBalancing;
     Experiments          = experiments;
     Limits                 = limits;
     AutoHealEnabled        = autoHealEnabled;
     AutoHealRules          = autoHealRules;
     TracingOptions         = tracingOptions;
     VnetName               = vnetName;
     Cors                   = cors;
     Push                   = push;
     ApiDefinition          = apiDefinition;
     AutoSwapSlotName       = autoSwapSlotName;
     LocalMySqlEnabled      = localMySqlEnabled;
     IpSecurityRestrictions = ipSecurityRestrictions;
     CustomInit();
 }