SiteConfigResource Class
Web app configuration ARM resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.web.v2020_09_01.models._models_py3.ProxyOnlyResourceSiteConfigResource
Constructor
SiteConfigResource(*, kind: str | None = None, number_of_workers: int | None = None, default_documents: List[str] | None = None, net_framework_version: str = 'v4.6', php_version: str | None = None, python_version: str | None = None, node_version: str | None = None, power_shell_version: str | None = None, linux_fx_version: str | None = None, windows_fx_version: str | None = None, request_tracing_enabled: bool | None = None, request_tracing_expiration_time: datetime | None = None, remote_debugging_enabled: bool | None = None, remote_debugging_version: str | None = None, http_logging_enabled: bool | None = None, acr_use_managed_identity_creds: bool | None = None, acr_user_managed_identity_id: str | None = None, logs_directory_size_limit: int | None = None, detailed_error_logging_enabled: bool | None = None, publishing_username: str | None = None, app_settings: List[_models.NameValuePair] | None = None, connection_strings: List[_models.ConnStringInfo] | None = None, handler_mappings: List[_models.HandlerMapping] | None = None, document_root: str | None = None, scm_type: str | _models.ScmType | None = None, use32_bit_worker_process: bool | None = None, web_sockets_enabled: bool | None = None, always_on: bool | None = None, java_version: str | None = None, java_container: str | None = None, java_container_version: str | None = None, app_command_line: str | None = None, managed_pipeline_mode: str | _models.ManagedPipelineMode | None = None, virtual_applications: List[_models.VirtualApplication] | None = None, load_balancing: str | _models.SiteLoadBalancing | None = None, experiments: _models.Experiments | None = None, limits: _models.SiteLimits | None = None, auto_heal_enabled: bool | None = None, auto_heal_rules: _models.AutoHealRules | None = None, tracing_options: str | None = None, vnet_name: str | None = None, vnet_route_all_enabled: bool | None = None, vnet_private_ports_count: int | None = None, cors: _models.CorsSettings | None = None, push: _models.PushSettings | None = None, api_definition: _models.ApiDefinitionInfo | None = None, api_management_config: _models.ApiManagementConfig | None = None, auto_swap_slot_name: str | None = None, local_my_sql_enabled: bool = False, managed_service_identity_id: int | None = None, x_managed_service_identity_id: int | None = None, ip_security_restrictions: List[_models.IpSecurityRestriction] | None = None, scm_ip_security_restrictions: List[_models.IpSecurityRestriction] | None = None, scm_ip_security_restrictions_use_main: bool | None = None, http20_enabled: bool = True, min_tls_version: str | _models.SupportedTlsVersions | None = None, scm_min_tls_version: str | _models.SupportedTlsVersions | None = None, ftps_state: str | _models.FtpsState | None = None, pre_warmed_instance_count: int | None = None, health_check_path: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
kind
|
Kind of resource. |
number_of_workers
|
Number of workers. |
default_documents
|
Default documents. |
net_framework_version
|
.NET Framework version. Default value: v4.6
|
php_version
|
Version of PHP. |
python_version
|
Version of Python. |
node_version
|
Version of Node.js. |
power_shell_version
|
Version of PowerShell. |
linux_fx_version
|
Linux App Framework and version. |
windows_fx_version
|
Xenon App Framework and version. |
request_tracing_enabled
|
|
request_tracing_expiration_time
|
Request tracing expiration time. |
remote_debugging_enabled
|
|
remote_debugging_version
|
Remote debugging version. |
http_logging_enabled
|
|
acr_use_managed_identity_creds
|
Flag to use Managed Identity Creds for ACR pull. |
acr_user_managed_identity_id
|
If using user managed identity, the user managed identity ClientId. |
logs_directory_size_limit
|
HTTP logs directory size limit. |
detailed_error_logging_enabled
|
|
publishing_username
|
Publishing user name. |
app_settings
|
Application settings. |
connection_strings
|
Connection strings. |
handler_mappings
|
Handler mappings. |
document_root
|
Document root. |
scm_type
|
SCM type. Known values are: "None", "Dropbox", "Tfs", "LocalGit", "GitHub", "CodePlexGit", "CodePlexHg", "BitbucketGit", "BitbucketHg", "ExternalGit", "ExternalHg", "OneDrive", "VSO", and "VSTSRM". |
use32_bit_worker_process
|
|
web_sockets_enabled
|
|
always_on
|
|
java_version
|
Java version. |
java_container
|
Java container. |
java_container_version
|
Java container version. |
app_command_line
|
App command line to launch. |
managed_pipeline_mode
|
Managed pipeline mode. Known values are: "Integrated" and "Classic". |
virtual_applications
|
Virtual applications. |
load_balancing
|
Site load balancing. Known values are: "WeightedRoundRobin", "LeastRequests", "LeastResponseTime", "WeightedTotalTraffic", and "RequestHash". |
experiments
|
This is work around for polymorphic types. |
limits
|
Site limits. |
auto_heal_enabled
|
|
auto_heal_rules
|
Auto Heal rules. |
tracing_options
|
Tracing options. |
vnet_name
|
Virtual Network name. |
vnet_route_all_enabled
|
Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. |
vnet_private_ports_count
|
The number of private ports assigned to this app. These will be assigned dynamically on runtime. |
cors
|
Cross-Origin Resource Sharing (CORS) settings. |
push
|
Push endpoint settings. |
api_definition
|
Information about the formal API definition for the app. |
api_management_config
|
Azure API management settings linked to the app. |
auto_swap_slot_name
|
Auto-swap slot name. |
local_my_sql_enabled
|
|
managed_service_identity_id
|
Managed Service Identity Id. |
x_managed_service_identity_id
|
Explicit Managed Service Identity Id. |
ip_security_restrictions
|
IP security restrictions for main. |
scm_ip_security_restrictions
|
IP security restrictions for scm. |
scm_ip_security_restrictions_use_main
|
IP security restrictions for scm to use main. |
http20_enabled
|
Http20Enabled: configures a web site to allow clients to connect over http2.0. Default value: True
|
min_tls_version
|
MinTlsVersion: configures the minimum version of TLS required for SSL requests. Known values are: "1.0", "1.1", and "1.2". |
scm_min_tls_version
|
ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site. Known values are: "1.0", "1.1", and "1.2". |
ftps_state
|
State of FTP / FTPS service. Known values are: "AllAllowed", "FtpsOnly", and "Disabled". |
pre_warmed_instance_count
|
Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans. |
health_check_path
|
Health check path. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
type
|
Resource type. |
system_data
|
The system metadata relating to this resource. |
number_of_workers
|
Number of workers. |
default_documents
|
Default documents. |
net_framework_version
|
.NET Framework version. |
php_version
|
Version of PHP. |
python_version
|
Version of Python. |
node_version
|
Version of Node.js. |
power_shell_version
|
Version of PowerShell. |
linux_fx_version
|
Linux App Framework and version. |
windows_fx_version
|
Xenon App Framework and version. |
request_tracing_enabled
|
|
request_tracing_expiration_time
|
Request tracing expiration time. |
remote_debugging_enabled
|
|
remote_debugging_version
|
Remote debugging version. |
http_logging_enabled
|
|
acr_use_managed_identity_creds
|
Flag to use Managed Identity Creds for ACR pull. |
acr_user_managed_identity_id
|
If using user managed identity, the user managed identity ClientId. |
logs_directory_size_limit
|
HTTP logs directory size limit. |
detailed_error_logging_enabled
|
|
publishing_username
|
Publishing user name. |
app_settings
|
Application settings. |
connection_strings
|
Connection strings. |
machine_key
|
Site MachineKey. |
handler_mappings
|
Handler mappings. |
document_root
|
Document root. |
scm_type
|
SCM type. Known values are: "None", "Dropbox", "Tfs", "LocalGit", "GitHub", "CodePlexGit", "CodePlexHg", "BitbucketGit", "BitbucketHg", "ExternalGit", "ExternalHg", "OneDrive", "VSO", and "VSTSRM". |
use32_bit_worker_process
|
|
web_sockets_enabled
|
|
always_on
|
|
java_version
|
Java version. |
java_container
|
Java container. |
java_container_version
|
Java container version. |
app_command_line
|
App command line to launch. |
managed_pipeline_mode
|
Managed pipeline mode. Known values are: "Integrated" and "Classic". |
virtual_applications
|
Virtual applications. |
load_balancing
|
Site load balancing. Known values are: "WeightedRoundRobin", "LeastRequests", "LeastResponseTime", "WeightedTotalTraffic", and "RequestHash". |
experiments
|
This is work around for polymorphic types. |
limits
|
Site limits. |
auto_heal_enabled
|
|
auto_heal_rules
|
Auto Heal rules. |
tracing_options
|
Tracing options. |
vnet_name
|
Virtual Network name. |
vnet_route_all_enabled
|
Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. |
vnet_private_ports_count
|
The number of private ports assigned to this app. These will be assigned dynamically on runtime. |
cors
|
Cross-Origin Resource Sharing (CORS) settings. |
push
|
Push endpoint settings. |
api_definition
|
Information about the formal API definition for the app. |
api_management_config
|
Azure API management settings linked to the app. |
auto_swap_slot_name
|
Auto-swap slot name. |
local_my_sql_enabled
|
|
managed_service_identity_id
|
Managed Service Identity Id. |
x_managed_service_identity_id
|
Explicit Managed Service Identity Id. |
ip_security_restrictions
|
IP security restrictions for main. |
scm_ip_security_restrictions
|
IP security restrictions for scm. |
scm_ip_security_restrictions_use_main
|
IP security restrictions for scm to use main. |
http20_enabled
|
Http20Enabled: configures a web site to allow clients to connect over http2.0. |
min_tls_version
|
MinTlsVersion: configures the minimum version of TLS required for SSL requests. Known values are: "1.0", "1.1", and "1.2". |
scm_min_tls_version
|
ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site. Known values are: "1.0", "1.1", and "1.2". |
ftps_state
|
State of FTP / FTPS service. Known values are: "AllAllowed", "FtpsOnly", and "Disabled". |
pre_warmed_instance_count
|
Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans. |
health_check_path
|
Health check path. |
Azure SDK for Python