Dela via


SiteConfig Class

Definition

Configuration of an App Service app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigTypeConverter))]
public class SiteConfig : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigTypeConverter))>]
type SiteConfig = class
    interface ISiteConfig
    interface IJsonSerializable
Public Class SiteConfig
Implements ISiteConfig
Inheritance
SiteConfig
Attributes
Implements

Constructors

SiteConfig()

Creates an new SiteConfig instance.

Properties

AcrUseManagedIdentityCred

Flag to use Managed Identity Creds for ACR pull

AcrUserManagedIdentityId

If using user managed identity, the user managed identity ClientId

ActionMinProcessExecutionTime

Minimum time the process must execute before taking the action

ActionType

Predefined action to be taken.

AlwaysOn

true if Always On is enabled; otherwise, false.

ApiDefinitionUrl

The URL of the API definition.

ApiManagementConfigId

APIM-Api Identifier.

AppCommandLine

App command line to launch.

AppSetting

Application settings.

AutoHealEnabled

true if Auto Heal is enabled; otherwise, false.

AutoSwapSlotName

Auto-swap slot name.

ConnectionString

Connection strings.

CorAllowedOrigin

Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all.

CorSupportCredentials

Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details.

CustomActionExe

Executable to be run.

CustomActionParameter

Parameters for the executable.

DefaultDocument

Default documents.

DetailedErrorLoggingEnabled

true if detailed error logging is enabled; otherwise, false.

DocumentRoot

Document root.

DynamicTagsJson

Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

ExperimentRampUpRule

List of ramp-up rules.

FtpsState

State of FTP / FTPS service

HandlerMapping

Handler mappings.

HealthCheckPath

Health check path

Http20Enabled

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

HttpLoggingEnabled

true if HTTP logging is enabled; otherwise, false.

IPSecurityRestriction

IP security restrictions for main.

IsPushEnabled

Gets or sets a flag indicating whether the Push endpoint is enabled.

JavaContainer

Java container.

JavaContainerVersion

Java container version.

JavaVersion

Java version.

LimitMaxDiskSizeInMb

Maximum allowed disk size usage in MB.

LimitMaxMemoryInMb

Maximum allowed memory usage in MB.

LimitMaxPercentageCpu

Maximum allowed CPU usage percentage.

LinuxFxVersion

Linux App Framework and version

LoadBalancing

Site load balancing.

LocalMySqlEnabled

true to enable local MySQL; otherwise, false.

LogsDirectorySizeLimit

HTTP logs directory size limit.

MachineKeyDecryption

Algorithm used for decryption.

MachineKeyDecryptionKey

Decryption key.

MachineKeyValidation

MachineKey validation.

MachineKeyValidationKey

Validation key.

ManagedPipelineMode

Managed pipeline mode.

ManagedServiceIdentityId

Managed Service Identity Id

MinTlsVersion

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

NetFrameworkVersion

.NET Framework version.

NodeVersion

Version of Node.js.

NumberOfWorker

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

PublishingUsername

Publishing user name.

PushId

Resource Id.

PushKind

Kind of resource.

PushName

Resource Name.

PushType

Resource type.

PythonVersion

Version of Python.

RemoteDebuggingEnabled

true if remote debugging is enabled; otherwise, false.

RemoteDebuggingVersion

Remote debugging version.

RequestCount

Request Count.

RequestTimeInterval

Time interval.

RequestTracingEnabled

true if request tracing is enabled; otherwise, false.

RequestTracingExpirationTime

Request tracing expiration time.

ScmIPSecurityRestriction

IP security restrictions for scm.

ScmIPSecurityRestrictionsUseMain

IP security restrictions for scm to use main.

ScmType

SCM type.

SlowRequestCount

Request Count.

SlowRequestTimeInterval

Time interval.

SlowRequestTimeTaken

Time taken.

TagsRequiringAuth

Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.

TagWhitelistJson

Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

TracingOption

Tracing options.

TriggerPrivateBytesInKb

A rule based on private bytes.

TriggerStatusCode

A rule based on status codes.

Use32BitWorkerProcess

true to use 32-bit worker process; otherwise, false.

VirtualApplication

Virtual applications.

VnetName

Virtual Network name.

WebSocketsEnabled

true if WebSocket is enabled; otherwise, false.

WindowsFxVersion

Xenon App Framework and version

XManagedServiceIdentityId

Explicit Managed Service Identity Id

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SiteConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SiteConfig.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig.

FromJsonString(String)

Creates a new instance of SiteConfig, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SiteConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to