共用方式為


SiteConfigData Class

Definition

A class representing the SiteConfig data model. Web app configuration ARM resource.

public class SiteConfigData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.SiteConfigData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.SiteConfigData>
type SiteConfigData = class
    inherit ResourceData
    interface IJsonModel<SiteConfigData>
    interface IPersistableModel<SiteConfigData>
Public Class SiteConfigData
Inherits ResourceData
Implements IJsonModel(Of SiteConfigData), IPersistableModel(Of SiteConfigData)
Inheritance
SiteConfigData
Implements

Constructors

SiteConfigData()

Initializes a new instance of SiteConfigData.

Properties

AcrUserManagedIdentityId

If using user managed identity, the user managed identity ClientId.

AllowIPSecurityRestrictionsForScmToUseMain

IP security restrictions for scm to use main.

ApiDefinitionUri

The URL of the API definition.

ApiManagementConfigId

APIM-Api Identifier.

AppCommandLine

App command line to launch.

AppSettings

Application settings.

AutoHealRules

Auto Heal rules.

AutoSwapSlotName

Auto-swap slot name.

AzureStorageAccounts

List of Azure Storage Accounts.

ConnectionStrings

Connection strings.

Cors

Cross-Origin Resource Sharing (CORS) settings.

DefaultDocuments

Default documents.

DocumentRoot

Document root.

ElasticWebAppScaleLimit

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>

ExperimentsRampUpRules

List of ramp-up rules.

FtpsState

State of FTP / FTPS service.

FunctionAppScaleLimit

Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium Plans

HandlerMappings

Handler mappings.

HealthCheckPath

Health check path.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IPSecurityRestrictions

IP security restrictions for main.

IPSecurityRestrictionsDefaultAction

Default action for main access restriction if no rules are matched.

IsAlwaysOn

<code>true</code> if Always On is enabled; otherwise, <code>false</code>.

IsAutoHealEnabled

<code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.

IsDetailedErrorLoggingEnabled

<code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.

IsFunctionsRuntimeScaleMonitoringEnabled

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.

IsHttp20Enabled

Http20Enabled: configures a web site to allow clients to connect over http2.0.

IsHttpLoggingEnabled

<code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.

IsLocalMySqlEnabled

<code>true</code> to enable local MySQL; otherwise, <code>false</code>.

IsRemoteDebuggingEnabled

<code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.

IsRequestTracingEnabled

<code>true</code> if request tracing is enabled; otherwise, <code>false</code>.

IsVnetRouteAllEnabled

Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.

IsWebSocketsEnabled

<code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.

JavaContainer

Java container.

JavaContainerVersion

Java container version.

JavaVersion

Java version.

KeyVaultReferenceIdentity

Identity to use for Key Vault Reference authentication.

Kind

Kind of resource.

Limits

Site limits.

LinuxFxVersion

Linux App Framework and version.

LoadBalancing

Site load balancing.

LogsDirectorySizeLimit

HTTP logs directory size limit.

MachineKey

Site MachineKey.

ManagedPipelineMode

Managed pipeline mode.

ManagedServiceIdentityId

Managed Service Identity Id.

Metadata

Application metadata. This property cannot be retrieved, since it may contain secrets.

MinimumElasticInstanceCount

Number of minimum instance count for a site This setting only applies to the Elastic Plans

MinTlsCipherSuite

The minimum strength TLS cipher suite allowed for an application.

MinTlsVersion

MinTlsVersion: configures the minimum version of TLS required for SSL requests.

Name

The name of the resource.

(Inherited from ResourceData)
NetFrameworkVersion

.NET Framework version.

NodeVersion

Version of Node.js.

NumberOfWorkers

Number of workers.

PhpVersion

Version of PHP.

PowerShellVersion

Version of PowerShell.

PreWarmedInstanceCount

Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans

PublicNetworkAccess

Property to allow or block all public traffic.

PublishingUsername

Publishing user name.

Push

Push endpoint settings.

PythonVersion

Version of Python.

RemoteDebuggingVersion

Remote debugging version.

RequestTracingExpirationOn

Request tracing expiration time.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ScmIPSecurityRestrictions

IP security restrictions for scm.

ScmIPSecurityRestrictionsDefaultAction

Default action for scm access restriction if no rules are matched.

ScmMinTlsVersion

ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site.

ScmType

SCM type.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TracingOptions

Tracing options.

Use32BitWorkerProcess

<code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.

UseManagedIdentityCreds

Flag to use Managed Identity Creds for ACR pull.

VirtualApplications

Virtual applications.

VnetName

Virtual Network name.

VnetPrivatePortsCount

The number of private ports assigned to this app. These will be assigned dynamically on runtime.

WebsiteTimeZone

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.

WindowsFxVersion

Xenon App Framework and version.

XManagedServiceIdentityId

Explicit Managed Service Identity Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SiteConfigData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SiteConfigData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteConfigData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteConfigData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SiteConfigData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to