次の方法で共有


SiteConfigResource クラス

Web アプリ構成 ARM リソース。

変数はサーバーによってのみ設定され、要求の送信時には無視されます。

継承
azure.mgmt.web.v2020_12_01.models._models_py3.ProxyOnlyResource
SiteConfigResource

コンストラクター

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, key_vault_reference_identity: str | 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, function_app_scale_limit: int | None = None, health_check_path: str | None = None, functions_runtime_scale_monitoring_enabled: bool | None = None, website_time_zone: str | None = None, minimum_elastic_instance_count: int | None = None, azure_storage_accounts: Dict[str, _models.AzureStorageInfoValue] | None = None, public_network_access: str | None = None, **kwargs: Any)

キーワードのみのパラメーター

名前 説明
kind
str

リソースの種類。

number_of_workers
int

worker 数。

default_documents

既定のドキュメント。

net_framework_version
str

.NET Frameworkバージョン。

規定値: v4.6
php_version
str

PHP のバージョン。

python_version
str

Python のバージョン。

node_version
str

Node.js のバージョン。

power_shell_version
str

PowerShell のバージョン。

linux_fx_version
str

Linux App Framework とバージョン。

windows_fx_version
str

Xenon App Framework とバージョン。

request_tracing_enabled

<code>true</code> 要求トレースが有効な場合は 。それ以外の場合は <code>false</code>

request_tracing_expiration_time

トレースの有効期限を要求します。

remote_debugging_enabled

<code>true</code> リモート デバッグが有効な場合は 。それ以外の場合は <code>false</code>

remote_debugging_version
str

リモート デバッグ バージョン。

http_logging_enabled

<code>true</code> HTTP ログが有効な場合は 。それ以外の場合は <code>false</code>

acr_use_managed_identity_creds

ACR プルにマネージド ID Creds を使用するためのフラグ。

acr_user_managed_identity_id
str

ユーザー マネージド ID を使用する場合は、ユーザーマネージド ID ClientId。

logs_directory_size_limit
int

HTTP ログのディレクトリ サイズの制限。

detailed_error_logging_enabled

<code>true</code> 詳細なエラー ログが有効になっている場合は 。それ以外の場合は <code>false</code>

publishing_username
str

発行ユーザー名。

app_settings

アプリケーション設定。

connection_strings

接続文字列。

handler_mappings

ハンドラー マッピング。

document_root
str

ドキュメント ルート。

scm_type
str または ScmType

SCM 型。 既知の値は、"None"、"Dropbox"、"Tfs"、"LocalGit"、"GitHub"、"CodePlexGit"、"CodePlexHg"、"BitbucketGit"、"BitbucketHg"、"ExternalGit"、"ExternalHg"、"OneDrive"、"VSO"、および "VSTSRM" です。

use32_bit_worker_process

<code>true</code> 32 ビット ワーカー プロセスを使用する場合。それ以外の場合は <code>false</code>

web_sockets_enabled

<code>true</code> WebSocket が有効になっている場合は 。それ以外の場合は <code>false</code>

always_on

<code>true</code>Always Onが有効な場合は 。それ以外の場合<code>false</code>は 。

java_version
str

Java バージョン。

java_container
str

Java コンテナー。

java_container_version
str

Java コンテナーのバージョン。

app_command_line
str

起動するアプリのコマンド ライン。

managed_pipeline_mode

[マネージ パイプライン モード]: 既知の値は、"Integrated" と "Classic" です。

virtual_applications

仮想アプリケーション。

load_balancing

サイトの負荷分散。 既知の値は、"WeightedRoundRobin"、"LeastRequests"、"LeastResponseTime"、"WeightedTotalTraffic"、"RequestHash"、および "PerSiteRoundRobin" です。

experiments

これは、ポリモーフィック型の場合に回避できます。

limits

サイトの制限。

auto_heal_enabled

<code>true</code> 自動修復が有効になっている場合。それ以外の場合は <code>false</code>

auto_heal_rules

自動修復ルール。

tracing_options
str

トレース オプション。

vnet_name
str

Virtual Network名。

vnet_route_all_enabled

[Route All]\(すべてルーティング\) が有効になっているVirtual Network。 これにより、すべての送信トラフィックにVirtual Networkセキュリティ グループとユーザー定義ルートが適用されます。

vnet_private_ports_count
int

このアプリに割り当てられているプライベート ポートの数。 これらは実行時に動的に割り当てられます。

cors

クロスオリジン リソース共有 (CORS) 設定。

push

プッシュ エンドポイントの設定。

api_definition

アプリの正式な API 定義に関する情報。

api_management_config

アプリにリンクされている Azure API 管理設定。

auto_swap_slot_name
str

自動スワップ スロット名。

local_my_sql_enabled

<code>true</code> ローカル MySQL を有効にする場合は 。それ以外の場合は <code>false</code>

managed_service_identity_id
int

マネージド サービス ID。

x_managed_service_identity_id
int

明示的なマネージド サービス ID。

key_vault_reference_identity
str

Key Vault参照認証に使用する ID。

ip_security_restrictions

メインの IP セキュリティ制限。

scm_ip_security_restrictions

scm の IP セキュリティ制限。

scm_ip_security_restrictions_use_main

メインを使用する scm の IP セキュリティ制限。

http20_enabled

Http20Enabled: クライアントが http2.0 経由で接続できるように Web サイトを構成します。

規定値: True
min_tls_version

MinTlsVersion: SSL 要求に必要な TLS の最小バージョンを構成します。 既知の値は、"1.0"、"1.1"、および "1.2" です。

scm_min_tls_version

ScmMinTlsVersion: SCM サイトの SSL 要求に必要な TLS の最小バージョンを構成します。 既知の値は、"1.0"、"1.1"、および "1.2" です。

ftps_state
str または FtpsState

FTP/FTPS サービスの状態。 既知の値は、"AllAllowed"、"FtpsOnly"、および "Disabled" です。

pre_warmed_instance_count
int

事前ウォーミングされたインスタンスの数。 この設定は、従量課金プランとエラスティック プランにのみ適用されます。

function_app_scale_limit
int

サイトがスケールアウトできるワーカーの最大数。 この設定は、従量課金プランと Elastic Premium プランにのみ適用されます。

health_check_path
str

正常性チェックパス。

functions_runtime_scale_monitoring_enabled

関数のランタイム スケール監視が有効かどうかを示す値を取得または設定します。 有効にすると、ScaleController はイベント ソースを直接監視しませんが、代わりに ランタイムを呼び出してスケールの状態を取得します。

website_time_zone
str

タイムスタンプの生成にサイトが使用するタイム ゾーンを設定します。 Linux および Windows App Serviceと互換性があります。 WEBSITE_TIME_ZONE アプリの設定は、この構成よりも優先されます。Linux の場合、tz データベース値 https://www.iana.org/time-zones が必要です (クイック リファレンスについては、「」を参照してください https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)。 Windows の場合、NTCurrentVersionTime Zones のHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsに一覧表示されているタイム ゾーンのいずれかが必要です。

minimum_elastic_instance_count
int

サイトの最小インスタンス数 この設定は、Elastic Plans にのみ適用されます。

azure_storage_accounts

Azure Storage アカウントの一覧。

public_network_access
str

すべてのパブリック トラフィックを許可またはブロックするプロパティ。

変数

名前 説明
id
str

リソース ID。

name
str

リソース名。

kind
str

リソースの種類。

type
str

リソースの種類。

number_of_workers
int

worker 数。

default_documents

既定のドキュメント。

net_framework_version
str

.NET Frameworkバージョン。

php_version
str

PHP のバージョン。

python_version
str

Python のバージョン。

node_version
str

Node.js のバージョン。

power_shell_version
str

PowerShell のバージョン。

linux_fx_version
str

Linux App Framework とバージョン。

windows_fx_version
str

Xenon App Framework とバージョン。

request_tracing_enabled

<code>true</code> 要求トレースが有効な場合は 。それ以外の場合は <code>false</code>

request_tracing_expiration_time

要求トレースの有効期限。

remote_debugging_enabled

<code>true</code> リモート デバッグが有効な場合は 。それ以外の場合は <code>false</code>

remote_debugging_version
str

リモート デバッグ バージョン。

http_logging_enabled

<code>true</code> HTTP ログが有効な場合は 。それ以外の場合は <code>false</code>

acr_use_managed_identity_creds

ACR プルにマネージド ID Creds を使用するフラグ。

acr_user_managed_identity_id
str

ユーザー マネージド ID を使用する場合は、ユーザー マネージド ID ClientId。

logs_directory_size_limit
int

HTTP ログのディレクトリ サイズの制限。

detailed_error_logging_enabled

<code>true</code> 詳細なエラー ログが有効な場合は 。それ以外の場合は <code>false</code>

publishing_username
str

ユーザー名の発行。

app_settings

アプリケーション設定。

connection_strings

接続文字列。

machine_key

Site MachineKey。

handler_mappings

ハンドラー マッピング。

document_root
str

ドキュメント ルート。

scm_type
str または ScmType

SCM 型。 既知の値は、"None"、"Dropbox"、"Tfs"、"LocalGit"、"GitHub"、"CodePlexGit"、"CodePlexHg"、"BitbucketGit"、"BitbucketHg"、"ExternalGit"、"ExternalHg"、"OneDrive"、"VSO"、"VSTSRM" です。

use32_bit_worker_process

<code>true</code> 32 ビット ワーカー プロセスを使用する場合。それ以外の場合は <code>false</code>

web_sockets_enabled

<code>true</code> WebSocket が有効な場合は 。それ以外の場合は <code>false</code>

always_on

<code>true</code>Always Onが有効な場合は 。それ以外の場合<code>false</code>は 。

java_version
str

Java バージョン。

java_container
str

Java コンテナー。

java_container_version
str

Java コンテナーのバージョン。

app_command_line
str

起動するアプリのコマンド ライン。

managed_pipeline_mode

[マネージ パイプライン モード]: 既知の値は、"Integrated" と "Classic" です。

virtual_applications

仮想アプリケーション。

load_balancing

サイトの負荷分散。 既知の値は、"WeightedRoundRobin"、"LeastRequests"、"LeastResponseTime"、"WeightedTotalTraffic"、"RequestHash"、および "PerSiteRoundRobin" です。

experiments

これは、ポリモーフィック型の場合に回避できます。

limits

サイトの制限。

auto_heal_enabled

<code>true</code> 自動修復が有効になっている場合。それ以外の場合は <code>false</code>

auto_heal_rules

自動修復ルール。

tracing_options
str

トレース オプション。

vnet_name
str

Virtual Network名。

vnet_route_all_enabled

Virtual Networkルートすべて有効です。 これにより、すべての送信トラフィックにVirtual Networkセキュリティ グループとユーザー定義ルートが適用されます。

vnet_private_ports_count
int

このアプリに割り当てられたプライベート ポートの数。 これらは実行時に動的に割り当てられます。

cors

クロスオリジン リソース共有 (CORS) 設定。

push

プッシュ エンドポイントの設定。

api_definition

アプリの正式な API 定義に関する情報。

api_management_config

アプリにリンクされた Azure API 管理設定。

auto_swap_slot_name
str

スロット名を自動スワップします。

local_my_sql_enabled

<code>true</code> ローカル MySQL を有効にする場合は 。それ以外の場合は <code>false</code>

managed_service_identity_id
int

マネージド サービス ID。

x_managed_service_identity_id
int

明示的なマネージド サービス ID。

key_vault_reference_identity
str

Key Vault参照認証に使用する ID。

ip_security_restrictions

メインの IP セキュリティ制限。

scm_ip_security_restrictions

scm の IP セキュリティ制限。

scm_ip_security_restrictions_use_main

メインを使用する scm の IP セキュリティ制限。

http20_enabled

Http20Enabled: クライアントが http2.0 経由で接続できるように Web サイトを構成します。

min_tls_version

MinTlsVersion: SSL 要求に必要な TLS の最小バージョンを構成します。 既知の値は、"1.0"、"1.1"、および "1.2" です。

scm_min_tls_version

ScmMinTlsVersion: SCM サイトの SSL 要求に必要な TLS の最小バージョンを構成します。 既知の値は、"1.0"、"1.1"、および "1.2" です。

ftps_state
str または FtpsState

FTP/FTPS サービスの状態。 既知の値は、"AllAllowed"、"FtpsOnly"、および "Disabled" です。

pre_warmed_instance_count
int

事前Warmed インスタンスの数。 この設定は、従量課金プランとエラスティック プランにのみ適用されます。

function_app_scale_limit
int

サイトがスケールアウトできるワーカーの最大数。 この設定は、従量課金プランと Elastic Premium プランにのみ適用されます。

health_check_path
str

正常性チェックパス。

functions_runtime_scale_monitoring_enabled

関数のランタイム スケール監視が有効かどうかを示す値を取得または設定します。 有効にすると、ScaleController はイベント ソースを直接監視せず、代わりにランタイムを呼び出してスケールの状態を取得します。

website_time_zone
str

サイトがタイムスタンプの生成に使用するタイム ゾーンを設定します。 Linux および Windows App Serviceと互換性があります。 WEBSITE_TIME_ZONE アプリ設定の設定は、この構成よりも優先されます。Linux の場合、tz データベース値 https://www.iana.org/time-zones が必要です (クイック リファレンスについては、「」を参照してください https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)。 Windows の場合、NTCurrentVersionTime Zones に一覧表示されているタイム ゾーンの 1 つHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows必要です。

minimum_elastic_instance_count
int

サイトの最小インスタンス数 この設定は、エラスティック プランにのみ適用されます。

azure_storage_accounts

Azure Storage アカウントの一覧。

public_network_access
str

すべてのパブリック トラフィックを許可またはブロックするプロパティ。