SiteConfig Class

Definition

Configuration of an App Service app.

public class SiteConfig
type SiteConfig = class
Public Class SiteConfig
Inheritance
SiteConfig

Constructors

SiteConfig()

Initializes a new instance of the SiteConfig class.

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)

Initializes a new instance of the SiteConfig class.

Properties

AlwaysOn

Gets or sets &lt;code&gt;true&lt;/code&gt; if Always On is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.

ApiDefinition

Gets or sets information about the formal API definition for the app.

ApiManagementConfig

Gets or sets azure API management settings linked to the app.

AppCommandLine

Gets or sets app command line to launch.

AppSettings

Gets or sets application settings.

AutoHealEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; if Auto Heal is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.

AutoHealRules

Gets or sets auto Heal rules.

AutoSwapSlotName

Gets or sets auto-swap slot name.

ConnectionStrings

Gets or sets connection strings.

Cors

Gets or sets cross-Origin Resource Sharing (CORS) settings.

DefaultDocuments

Gets or sets default documents.

DetailedErrorLoggingEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; if detailed error logging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.

DocumentRoot

Gets or sets document root.

Experiments

Gets or sets this is work around for polymorphic types.

FtpsState

Gets or sets state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'

HandlerMappings

Gets or sets handler mappings.

HealthCheckPath

Gets or sets health check path

Http20Enabled

Gets or sets http20Enabled: configures a web site to allow clients to connect over http2.0

HttpLoggingEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; if HTTP logging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.

IpSecurityRestrictions

Gets or sets IP security restrictions for main.

JavaContainer

Gets or sets java container.

JavaContainerVersion

Gets or sets java container version.

JavaVersion

Gets or sets java version.

Limits

Gets or sets site limits.

LinuxFxVersion

Gets or sets linux App Framework and version

LoadBalancing

Gets or sets site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'

LocalMySqlEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; to enable local MySQL; otherwise, &lt;code&gt;false&lt;/code&gt;.

LogsDirectorySizeLimit

Gets or sets HTTP logs directory size limit.

MachineKey

Gets site MachineKey.

ManagedPipelineMode

Gets or sets managed pipeline mode. Possible values include: 'Integrated', 'Classic'

ManagedServiceIdentityId

Gets or sets managed Service Identity Id

MinTlsVersion

Gets or sets minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'

NetFrameworkVersion

Gets or sets .NET Framework version.

NodeVersion

Gets or sets version of Node.js.

NumberOfWorkers

Gets or sets number of workers.

PhpVersion

Gets or sets version of PHP.

PreWarmedInstanceCount

Gets or sets number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans

PublishingUsername

Gets or sets publishing user name.

Push

Gets or sets push endpoint settings.

PythonVersion

Gets or sets version of Python.

RemoteDebuggingEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; if remote debugging is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.

RemoteDebuggingVersion

Gets or sets remote debugging version.

RequestTracingEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; if request tracing is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.

RequestTracingExpirationTime

Gets or sets request tracing expiration time.

ScmIpSecurityRestrictions

Gets or sets IP security restrictions for scm.

ScmIpSecurityRestrictionsUseMain

Gets or sets IP security restrictions for scm to use main.

ScmType

Gets or sets SCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO', 'VSTSRM'

TracingOptions

Gets or sets tracing options.

Use32BitWorkerProcess

Gets or sets &lt;code&gt;true&lt;/code&gt; to use 32-bit worker process; otherwise, &lt;code&gt;false&lt;/code&gt;.

VirtualApplications

Gets or sets virtual applications.

VnetName

Gets or sets virtual Network name.

WebSocketsEnabled

Gets or sets &lt;code&gt;true&lt;/code&gt; if WebSocket is enabled; otherwise, &lt;code&gt;false&lt;/code&gt;.

WindowsFxVersion

Gets or sets xenon App Framework and version

XManagedServiceIdentityId

Gets or sets explicit Managed Service Identity Id

Methods

Validate()

Validate the object.

Applies to