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.v2018_02_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, 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, 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.v2018_02_01.models._models_py3.NameValuePair]] = None, azure_storage_accounts: Optional[Dict[str, azure.mgmt.web.v2018_02_01.models._models_py3.AzureStorageInfoValue]] = None, connection_strings: Optional[List[azure.mgmt.web.v2018_02_01.models._models_py3.ConnStringInfo]] = None, handler_mappings: Optional[List[azure.mgmt.web.v2018_02_01.models._models_py3.HandlerMapping]] = None, document_root: Optional[str] = None, scm_type: Optional[Union[str, azure.mgmt.web.v2018_02_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.v2018_02_01.models._web_site_management_client_enums.ManagedPipelineMode]] = None, virtual_applications: Optional[List[azure.mgmt.web.v2018_02_01.models._models_py3.VirtualApplication]] = None, load_balancing: Optional[Union[str, azure.mgmt.web.v2018_02_01.models._web_site_management_client_enums.SiteLoadBalancing]] = None, experiments: Optional[azure.mgmt.web.v2018_02_01.models._models_py3.Experiments] = None, limits: Optional[azure.mgmt.web.v2018_02_01.models._models_py3.SiteLimits] = None, auto_heal_enabled: Optional[bool] = None, auto_heal_rules: Optional[azure.mgmt.web.v2018_02_01.models._models_py3.AutoHealRules] = None, tracing_options: Optional[str] = None, vnet_name: Optional[str] = None, cors: Optional[azure.mgmt.web.v2018_02_01.models._models_py3.CorsSettings] = None, push: Optional[azure.mgmt.web.v2018_02_01.models._models_py3.PushSettings] = None, api_definition: Optional[azure.mgmt.web.v2018_02_01.models._models_py3.ApiDefinitionInfo] = 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, ip_security_restrictions: Optional[List[azure.mgmt.web.v2018_02_01.models._models_py3.IpSecurityRestriction]] = None, scm_ip_security_restrictions: Optional[List[azure.mgmt.web.v2018_02_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.v2018_02_01.models._web_site_management_client_enums.SupportedTlsVersions]] = None, ftps_state: Optional[Union[str, azure.mgmt.web.v2018_02_01.models._web_site_management_client_enums.FtpsState]] = None, reserved_instance_count: Optional[int] = 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>.
- detailed_error_logging_enabled
- bool
<code>true</code> if detailed error logging is
enabled; otherwise, <code>false</code>.
- azure_storage_accounts
- dict[<xref:str,azure.mgmt.web.v2018_02_01.models.AzureStorageInfoValue>]
User-provided Azure storage accounts.
SCM type. Possible values include: "None", "Dropbox", "Tfs", "LocalGit", "GitHub", "CodePlexGit", "CodePlexHg", "BitbucketGit", "BitbucketHg", "ExternalGit", "ExternalHg", "OneDrive", "VSO".
- 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".
- auto_heal_enabled
- bool
<code>true</code> if Auto Heal is enabled; otherwise,
<code>false</code>.
- 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".
State of FTP / FTPS service. Possible values include: "AllAllowed", "FtpsOnly", "Disabled".
- reserved_instance_count
- int
Number of reserved instances. This setting only applies to the Consumption Plan.
Variables
- id
- str
Resource Id.
- name
- str
Resource Name.
- type
- str
Resource type.
- machine_key
- SiteMachineKey
Site MachineKey.
Feedback
Submit and view feedback for