ArmAppServiceModelFactory.SiteConfigData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SiteConfigData.
public static Azure.ResourceManager.AppService.SiteConfigData SiteConfigData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? numberOfWorkers = default, System.Collections.Generic.IEnumerable<string> defaultDocuments = default, string netFrameworkVersion = default, string phpVersion = default, string pythonVersion = default, string nodeVersion = default, string powerShellVersion = default, string linuxFxVersion = default, string windowsFxVersion = default, bool? isRequestTracingEnabled = default, DateTimeOffset? requestTracingExpirationOn = default, bool? isRemoteDebuggingEnabled = default, string remoteDebuggingVersion = default, bool? isHttpLoggingEnabled = default, bool? useManagedIdentityCreds = default, string acrUserManagedIdentityId = default, int? logsDirectorySizeLimit = default, bool? isDetailedErrorLoggingEnabled = default, string publishingUsername = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair> appSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair> metadata = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.ConnStringInfo> connectionStrings = default, Azure.ResourceManager.AppService.Models.SiteMachineKey machineKey = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.HttpRequestHandlerMapping> handlerMappings = default, string documentRoot = default, Azure.ResourceManager.AppService.Models.ScmType? scmType = default, bool? use32BitWorkerProcess = default, bool? isWebSocketsEnabled = default, bool? isAlwaysOn = default, string javaVersion = default, string javaContainer = default, string javaContainerVersion = default, string appCommandLine = default, Azure.ResourceManager.AppService.Models.ManagedPipelineMode? managedPipelineMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.VirtualApplication> virtualApplications = default, Azure.ResourceManager.AppService.Models.SiteLoadBalancing? loadBalancing = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.RampUpRule> experimentsRampUpRules = default, Azure.ResourceManager.AppService.Models.SiteLimits limits = default, bool? isAutoHealEnabled = default, Azure.ResourceManager.AppService.Models.AutoHealRules autoHealRules = default, string tracingOptions = default, string vnetName = default, bool? isVnetRouteAllEnabled = default, int? vnetPrivatePortsCount = default, Azure.ResourceManager.AppService.Models.AppServiceCorsSettings cors = default, Azure.ResourceManager.AppService.Models.WebAppPushSettings push = default, Uri apiDefinitionUri = default, string apiManagementConfigId = default, string autoSwapSlotName = default, bool? isLocalMySqlEnabled = default, int? managedServiceIdentityId = default, int? xManagedServiceIdentityId = default, string keyVaultReferenceIdentity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceIPSecurityRestriction> ipSecurityRestrictions = default, Azure.ResourceManager.AppService.Models.SiteDefaultAction? ipSecurityRestrictionsDefaultAction = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceIPSecurityRestriction> scmIPSecurityRestrictions = default, Azure.ResourceManager.AppService.Models.SiteDefaultAction? scmIPSecurityRestrictionsDefaultAction = default, bool? allowIPSecurityRestrictionsForScmToUseMain = default, bool? isHttp20Enabled = default, Azure.ResourceManager.AppService.Models.AppServiceSupportedTlsVersion? minTlsVersion = default, Azure.ResourceManager.AppService.Models.AppServiceTlsCipherSuite? minTlsCipherSuite = default, Azure.ResourceManager.AppService.Models.AppServiceSupportedTlsVersion? scmMinTlsVersion = default, Azure.ResourceManager.AppService.Models.AppServiceFtpsState? ftpsState = default, int? preWarmedInstanceCount = default, int? functionAppScaleLimit = default, int? elasticWebAppScaleLimit = default, string healthCheckPath = default, bool? isFunctionsRuntimeScaleMonitoringEnabled = default, string websiteTimeZone = default, int? minimumElasticInstanceCount = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.AppService.Models.AppServiceStorageAccessInfo> azureStorageAccounts = default, string publicNetworkAccess = default, string kind = default);
static member SiteConfigData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * seq<string> * string * string * string * string * string * string * string * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * string * Nullable<int> * Nullable<bool> * string * seq<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair> * seq<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair> * seq<Azure.ResourceManager.AppService.Models.ConnStringInfo> * Azure.ResourceManager.AppService.Models.SiteMachineKey * seq<Azure.ResourceManager.AppService.Models.HttpRequestHandlerMapping> * string * Nullable<Azure.ResourceManager.AppService.Models.ScmType> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * string * string * Nullable<Azure.ResourceManager.AppService.Models.ManagedPipelineMode> * seq<Azure.ResourceManager.AppService.Models.VirtualApplication> * Nullable<Azure.ResourceManager.AppService.Models.SiteLoadBalancing> * seq<Azure.ResourceManager.AppService.Models.RampUpRule> * Azure.ResourceManager.AppService.Models.SiteLimits * Nullable<bool> * Azure.ResourceManager.AppService.Models.AutoHealRules * string * string * Nullable<bool> * Nullable<int> * Azure.ResourceManager.AppService.Models.AppServiceCorsSettings * Azure.ResourceManager.AppService.Models.WebAppPushSettings * Uri * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * string * seq<Azure.ResourceManager.AppService.Models.AppServiceIPSecurityRestriction> * Nullable<Azure.ResourceManager.AppService.Models.SiteDefaultAction> * seq<Azure.ResourceManager.AppService.Models.AppServiceIPSecurityRestriction> * Nullable<Azure.ResourceManager.AppService.Models.SiteDefaultAction> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceSupportedTlsVersion> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceTlsCipherSuite> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceSupportedTlsVersion> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceFtpsState> * Nullable<int> * Nullable<int> * Nullable<int> * string * Nullable<bool> * string * Nullable<int> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.AppService.Models.AppServiceStorageAccessInfo> * string * string -> Azure.ResourceManager.AppService.SiteConfigData
Public Shared Function SiteConfigData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional numberOfWorkers As Nullable(Of Integer) = Nothing, Optional defaultDocuments As IEnumerable(Of String) = Nothing, Optional netFrameworkVersion As String = Nothing, Optional phpVersion As String = Nothing, Optional pythonVersion As String = Nothing, Optional nodeVersion As String = Nothing, Optional powerShellVersion As String = Nothing, Optional linuxFxVersion As String = Nothing, Optional windowsFxVersion As String = Nothing, Optional isRequestTracingEnabled As Nullable(Of Boolean) = Nothing, Optional requestTracingExpirationOn As Nullable(Of DateTimeOffset) = Nothing, Optional isRemoteDebuggingEnabled As Nullable(Of Boolean) = Nothing, Optional remoteDebuggingVersion As String = Nothing, Optional isHttpLoggingEnabled As Nullable(Of Boolean) = Nothing, Optional useManagedIdentityCreds As Nullable(Of Boolean) = Nothing, Optional acrUserManagedIdentityId As String = Nothing, Optional logsDirectorySizeLimit As Nullable(Of Integer) = Nothing, Optional isDetailedErrorLoggingEnabled As Nullable(Of Boolean) = Nothing, Optional publishingUsername As String = Nothing, Optional appSettings As IEnumerable(Of AppServiceNameValuePair) = Nothing, Optional metadata As IEnumerable(Of AppServiceNameValuePair) = Nothing, Optional connectionStrings As IEnumerable(Of ConnStringInfo) = Nothing, Optional machineKey As SiteMachineKey = Nothing, Optional handlerMappings As IEnumerable(Of HttpRequestHandlerMapping) = Nothing, Optional documentRoot As String = Nothing, Optional scmType As Nullable(Of ScmType) = Nothing, Optional use32BitWorkerProcess As Nullable(Of Boolean) = Nothing, Optional isWebSocketsEnabled As Nullable(Of Boolean) = Nothing, Optional isAlwaysOn 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 IEnumerable(Of VirtualApplication) = Nothing, Optional loadBalancing As Nullable(Of SiteLoadBalancing) = Nothing, Optional experimentsRampUpRules As IEnumerable(Of RampUpRule) = Nothing, Optional limits As SiteLimits = Nothing, Optional isAutoHealEnabled As Nullable(Of Boolean) = Nothing, Optional autoHealRules As AutoHealRules = Nothing, Optional tracingOptions As String = Nothing, Optional vnetName As String = Nothing, Optional isVnetRouteAllEnabled As Nullable(Of Boolean) = Nothing, Optional vnetPrivatePortsCount As Nullable(Of Integer) = Nothing, Optional cors As AppServiceCorsSettings = Nothing, Optional push As WebAppPushSettings = Nothing, Optional apiDefinitionUri As Uri = Nothing, Optional apiManagementConfigId As String = Nothing, Optional autoSwapSlotName As String = Nothing, Optional isLocalMySqlEnabled As Nullable(Of Boolean) = Nothing, Optional managedServiceIdentityId As Nullable(Of Integer) = Nothing, Optional xManagedServiceIdentityId As Nullable(Of Integer) = Nothing, Optional keyVaultReferenceIdentity As String = Nothing, Optional ipSecurityRestrictions As IEnumerable(Of AppServiceIPSecurityRestriction) = Nothing, Optional ipSecurityRestrictionsDefaultAction As Nullable(Of SiteDefaultAction) = Nothing, Optional scmIPSecurityRestrictions As IEnumerable(Of AppServiceIPSecurityRestriction) = Nothing, Optional scmIPSecurityRestrictionsDefaultAction As Nullable(Of SiteDefaultAction) = Nothing, Optional allowIPSecurityRestrictionsForScmToUseMain As Nullable(Of Boolean) = Nothing, Optional isHttp20Enabled As Nullable(Of Boolean) = Nothing, Optional minTlsVersion As Nullable(Of AppServiceSupportedTlsVersion) = Nothing, Optional minTlsCipherSuite As Nullable(Of AppServiceTlsCipherSuite) = Nothing, Optional scmMinTlsVersion As Nullable(Of AppServiceSupportedTlsVersion) = Nothing, Optional ftpsState As Nullable(Of AppServiceFtpsState) = Nothing, Optional preWarmedInstanceCount As Nullable(Of Integer) = Nothing, Optional functionAppScaleLimit As Nullable(Of Integer) = Nothing, Optional elasticWebAppScaleLimit As Nullable(Of Integer) = Nothing, Optional healthCheckPath As String = Nothing, Optional isFunctionsRuntimeScaleMonitoringEnabled As Nullable(Of Boolean) = Nothing, Optional websiteTimeZone As String = Nothing, Optional minimumElasticInstanceCount As Nullable(Of Integer) = Nothing, Optional azureStorageAccounts As IDictionary(Of String, AppServiceStorageAccessInfo) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional kind As String = Nothing) As SiteConfigData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- defaultDocuments
- IEnumerable<String>
Default documents.
- netFrameworkVersion
- String
.NET Framework version.
- phpVersion
- String
Version of PHP.
- pythonVersion
- String
Version of Python.
- nodeVersion
- String
Version of Node.js.
- powerShellVersion
- String
Version of PowerShell.
- linuxFxVersion
- String
Linux App Framework and version.
- windowsFxVersion
- String
Xenon App Framework and version.
<code>true</code> if request tracing is enabled; otherwise, <code>false</code>.
- requestTracingExpirationOn
- Nullable<DateTimeOffset>
Request tracing expiration time.
<code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.
- remoteDebuggingVersion
- String
Remote debugging version.
<code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.
- acrUserManagedIdentityId
- String
If using user managed identity, the user managed identity ClientId.
<code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.
- publishingUsername
- String
Publishing user name.
- appSettings
- IEnumerable<AppServiceNameValuePair>
Application settings.
- metadata
- IEnumerable<AppServiceNameValuePair>
Application metadata. This property cannot be retrieved, since it may contain secrets.
- connectionStrings
- IEnumerable<ConnStringInfo>
Connection strings.
- machineKey
- SiteMachineKey
Site MachineKey.
- handlerMappings
- IEnumerable<HttpRequestHandlerMapping>
Handler mappings.
- documentRoot
- String
Document root.
<code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.
<code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.
<code>true</code> if Always On is enabled; otherwise, <code>false</code>.
- javaVersion
- String
Java version.
- javaContainer
- String
Java container.
- javaContainerVersion
- String
Java container version.
- appCommandLine
- String
App command line to launch.
- managedPipelineMode
- Nullable<ManagedPipelineMode>
Managed pipeline mode.
- virtualApplications
- IEnumerable<VirtualApplication>
Virtual applications.
- loadBalancing
- Nullable<SiteLoadBalancing>
Site load balancing.
- experimentsRampUpRules
- IEnumerable<RampUpRule>
This is work around for polymorphic types.
- limits
- SiteLimits
Site limits.
<code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.
- autoHealRules
- AutoHealRules
Auto Heal rules.
- tracingOptions
- String
Tracing options.
- vnetName
- String
Virtual Network name.
Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.
The number of private ports assigned to this app. These will be assigned dynamically on runtime.
Cross-Origin Resource Sharing (CORS) settings.
- push
- WebAppPushSettings
Push endpoint settings.
- apiDefinitionUri
- Uri
Information about the formal API definition for the app.
- apiManagementConfigId
- String
Azure API management settings linked to the app.
- autoSwapSlotName
- String
Auto-swap slot name.
<code>true</code> to enable local MySQL; otherwise, <code>false</code>.
- keyVaultReferenceIdentity
- String
Identity to use for Key Vault Reference authentication.
- ipSecurityRestrictions
- IEnumerable<AppServiceIPSecurityRestriction>
IP security restrictions for main.
- ipSecurityRestrictionsDefaultAction
- Nullable<SiteDefaultAction>
Default action for main access restriction if no rules are matched.
- scmIPSecurityRestrictions
- IEnumerable<AppServiceIPSecurityRestriction>
IP security restrictions for scm.
- scmIPSecurityRestrictionsDefaultAction
- Nullable<SiteDefaultAction>
Default action for scm access restriction if no rules are matched.
IP security restrictions for scm to use main.
Http20Enabled: configures a web site to allow clients to connect over http2.0.
- minTlsVersion
- Nullable<AppServiceSupportedTlsVersion>
MinTlsVersion: configures the minimum version of TLS required for SSL requests.
- minTlsCipherSuite
- Nullable<AppServiceTlsCipherSuite>
The minimum strength TLS cipher suite allowed for an application.
- scmMinTlsVersion
- Nullable<AppServiceSupportedTlsVersion>
ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.
- ftpsState
- Nullable<AppServiceFtpsState>
State of FTP / FTPS service.
Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans
Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium Plans
Maximum number of workers that a site can scale out to. This setting only applies to apps in plans where ElasticScaleEnabled is <code>true</code>
- healthCheckPath
- String
Health check path.
Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled, the ScaleController will not monitor event sources directly, but will instead call to the runtime to get scale status.
- websiteTimeZone
- String
Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows App Service. Setting the WEBSITE_TIME_ZONE app setting takes precedence over this config. For Linux, expects tz database values https://www.iana.org/time-zones (for a quick reference see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For Windows, expects one of the time zones listed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.
Number of minimum instance count for a site This setting only applies to the Elastic Plans
- azureStorageAccounts
- IDictionary<String,AppServiceStorageAccessInfo>
List of Azure Storage Accounts.
- publicNetworkAccess
- String
Property to allow or block all public traffic.
- kind
- String
Kind of resource.
Returns
A new SiteConfigData instance for mocking.
Applies to
Azure SDK for .NET