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.v2021_01_01.models._models_py3.ProxyOnlyResourceSiteConfigResource
Constructor
SiteConfigResource(*, kind: Optional[str] = None, number_of_workers: Optional[int] = None, default_documents: Optional[List[str]] = None, net_framework_version: Optional[str] = 'v4.6', php_version: Optional[str] = None, python_version: Optional[str] = None, node_version: Optional[str] = None, power_shell_version: Optional[str] = None, linux_fx_version: Optional[str] = None, windows_fx_version: Optional[str] = None, request_tracing_enabled: Optional[bool] = None, request_tracing_expiration_time: Optional[datetime.datetime] = None, remote_debugging_enabled: Optional[bool] = None, remote_debugging_version: Optional[str] = None, http_logging_enabled: Optional[bool] = None, acr_use_managed_identity_creds: Optional[bool] = None, acr_user_managed_identity_id: Optional[str] = None, logs_directory_size_limit: Optional[int] = None, detailed_error_logging_enabled: Optional[bool] = None, publishing_username: Optional[str] = None, app_settings: Optional[List[azure.mgmt.web.v2021_01_01.models._models_py3.NameValuePair]] = None, connection_strings: Optional[List[azure.mgmt.web.v2021_01_01.models._models_py3.ConnStringInfo]] = None, handler_mappings: Optional[List[azure.mgmt.web.v2021_01_01.models._models_py3.HandlerMapping]] = None, document_root: Optional[str] = None, scm_type: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.ScmType]] = None, use32_bit_worker_process: Optional[bool] = None, web_sockets_enabled: Optional[bool] = None, always_on: Optional[bool] = None, java_version: Optional[str] = None, java_container: Optional[str] = None, java_container_version: Optional[str] = None, app_command_line: Optional[str] = None, managed_pipeline_mode: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.ManagedPipelineMode]] = None, virtual_applications: Optional[List[azure.mgmt.web.v2021_01_01.models._models_py3.VirtualApplication]] = None, load_balancing: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.SiteLoadBalancing]] = None, experiments: Optional[azure.mgmt.web.v2021_01_01.models._models_py3.Experiments] = None, limits: Optional[azure.mgmt.web.v2021_01_01.models._models_py3.SiteLimits] = None, auto_heal_enabled: Optional[bool] = None, auto_heal_rules: Optional[azure.mgmt.web.v2021_01_01.models._models_py3.AutoHealRules] = None, tracing_options: Optional[str] = None, vnet_name: Optional[str] = None, vnet_route_all_enabled: Optional[bool] = None, vnet_private_ports_count: Optional[int] = None, cors: Optional[azure.mgmt.web.v2021_01_01.models._models_py3.CorsSettings] = None, push: Optional[azure.mgmt.web.v2021_01_01.models._models_py3.PushSettings] = None, api_definition: Optional[azure.mgmt.web.v2021_01_01.models._models_py3.ApiDefinitionInfo] = None, api_management_config: Optional[azure.mgmt.web.v2021_01_01.models._models_py3.ApiManagementConfig] = None, auto_swap_slot_name: Optional[str] = None, local_my_sql_enabled: Optional[bool] = False, managed_service_identity_id: Optional[int] = None, x_managed_service_identity_id: Optional[int] = None, key_vault_reference_identity: Optional[str] = None, ip_security_restrictions: Optional[List[azure.mgmt.web.v2021_01_01.models._models_py3.IpSecurityRestriction]] = None, scm_ip_security_restrictions: Optional[List[azure.mgmt.web.v2021_01_01.models._models_py3.IpSecurityRestriction]] = None, scm_ip_security_restrictions_use_main: Optional[bool] = None, http20_enabled: Optional[bool] = True, min_tls_version: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.SupportedTlsVersions]] = None, scm_min_tls_version: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.SupportedTlsVersions]] = None, ftps_state: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.FtpsState]] = None, pre_warmed_instance_count: Optional[int] = None, function_app_scale_limit: Optional[int] = None, health_check_path: Optional[str] = None, functions_runtime_scale_monitoring_enabled: Optional[bool] = None, website_time_zone: Optional[str] = None, minimum_elastic_instance_count: Optional[int] = None, azure_storage_accounts: Optional[Dict[str, azure.mgmt.web.v2021_01_01.models._models_py3.AzureStorageInfoValue]] = None, public_network_access: Optional[str] = None, **kwargs)
Parameters
- request_tracing_enabled
- bool
<code>true</code> if request tracing is enabled;
otherwise, <code>false</code>.
- remote_debugging_enabled
- bool
<code>true</code> if remote debugging is enabled;
otherwise, <code>false</code>.
- http_logging_enabled
- bool
<code>true</code> if HTTP logging is enabled; otherwise,
<code>false</code>.
- acr_user_managed_identity_id
- str
If using user managed identity, the user managed identity ClientId.
- detailed_error_logging_enabled
- bool
<code>true</code> if detailed error logging is
enabled; otherwise, <code>false</code>.
SCM type. Possible values include: "None", "Dropbox", "Tfs", "LocalGit", "GitHub", "CodePlexGit", "CodePlexHg", "BitbucketGit", "BitbucketHg", "ExternalGit", "ExternalHg", "OneDrive", "VSO", "VSTSRM".
- use32_bit_worker_process
- bool
<code>true</code> to use 32-bit worker process;
otherwise, <code>false</code>.
- web_sockets_enabled
- bool
<code>true</code> if WebSocket is enabled; otherwise,
<code>false</code>.
- managed_pipeline_mode
- str or ManagedPipelineMode
Managed pipeline mode. Possible values include: "Integrated", "Classic".
- load_balancing
- str or SiteLoadBalancing
Site load balancing. Possible values include: "WeightedRoundRobin", "LeastRequests", "LeastResponseTime", "WeightedTotalTraffic", "RequestHash", "PerSiteRoundRobin".
- auto_heal_enabled
- bool
<code>true</code> if Auto Heal is enabled; otherwise,
<code>false</code>.
- vnet_route_all_enabled
- bool
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
- int
The number of private ports assigned to this app. These will be assigned dynamically on runtime.
- local_my_sql_enabled
- bool
<code>true</code> to enable local MySQL; otherwise,
<code>false</code>.
- http20_enabled
- bool
Http20Enabled: configures a web site to allow clients to connect over http2.0.
- min_tls_version
- str or SupportedTlsVersions
MinTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: "1.0", "1.1", "1.2".
- scm_min_tls_version
- str or SupportedTlsVersions
ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site. Possible values include: "1.0", "1.1", "1.2".
State of FTP / FTPS service. Possible values include: "AllAllowed", "FtpsOnly", "Disabled".
- pre_warmed_instance_count
- int
Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans.
- function_app_scale_limit
- int
Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium Plans.
- functions_runtime_scale_monitoring_enabled
- bool
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.
- website_time_zone
- str
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_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionTime Zones.
- minimum_elastic_instance_count
- int
Number of minimum instance count for a site This setting only applies to the Elastic Plans.
- azure_storage_accounts
- dict[<xref:str,azure.mgmt.web.v2021_01_01.models.AzureStorageInfoValue>]
List of Azure Storage Accounts.
Variables
- id
- str
Resource Id.
- name
- str
Resource Name.
- type
- str
Resource type.
- machine_key
- SiteMachineKey
Site MachineKey.
Feedback
Submit and view feedback for