Microsoft.Web sites 2015-08-01
Bicep リソース定義
サイト リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの 参照してください。
リソースの形式
Microsoft.Web/sites リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Web/sites@2015-08-01' = {
kind: 'string'
location: 'string'
name: 'string'
properties: {
clientAffinityEnabled: bool
clientCertEnabled: bool
cloningInfo: {
appSettingsOverrides: {
{customized property}: 'string'
}
cloneCustomHostNames: bool
cloneSourceControl: bool
configureLoadBalancing: bool
correlationId: 'string'
hostingEnvironment: 'string'
overwrite: bool
sourceWebAppId: 'string'
trafficManagerProfileId: 'string'
trafficManagerProfileName: 'string'
}
containerSize: int
enabled: bool
gatewaySiteName: 'string'
hostingEnvironmentProfile: {
id: 'string'
name: 'string'
type: 'string'
}
hostNamesDisabled: bool
hostNameSslStates: [
{
name: 'string'
sslState: 'string'
thumbprint: 'string'
toUpdate: bool
virtualIP: 'string'
}
]
maxNumberOfWorkers: int
microService: 'string'
name: 'string'
scmSiteAlsoStopped: bool
serverFarmId: 'string'
siteConfig: {
id: 'string'
kind: 'string'
location: 'string'
name: 'string'
properties: {
alwaysOn: bool
apiDefinition: {
url: 'string'
}
appCommandLine: 'string'
appSettings: [
{
name: 'string'
value: 'string'
}
]
autoHealEnabled: bool
autoHealRules: {
actions: {
actionType: 'string'
customAction: {
exe: 'string'
parameters: 'string'
}
minProcessExecutionTime: 'string'
}
triggers: {
privateBytesInKB: int
requests: {
count: int
timeInterval: 'string'
}
slowRequests: {
count: int
timeInterval: 'string'
timeTaken: 'string'
}
statusCodes: [
{
count: int
status: int
subStatus: int
timeInterval: 'string'
win32Status: int
}
]
}
}
autoSwapSlotName: 'string'
connectionStrings: [
{
connectionString: 'string'
name: 'string'
type: 'string'
}
]
cors: {
allowedOrigins: [
'string'
]
}
defaultDocuments: [
'string'
]
detailedErrorLoggingEnabled: bool
documentRoot: 'string'
experiments: {
rampUpRules: [
{
actionHostName: 'string'
changeDecisionCallbackUrl: 'string'
changeIntervalInMinutes: int
changeStep: int
maxReroutePercentage: int
minReroutePercentage: int
name: 'string'
reroutePercentage: int
}
]
}
handlerMappings: [
{
arguments: 'string'
extension: 'string'
scriptProcessor: 'string'
}
]
httpLoggingEnabled: bool
ipSecurityRestrictions: [
{
ipAddress: 'string'
subnetMask: 'string'
}
]
javaContainer: 'string'
javaContainerVersion: 'string'
javaVersion: 'string'
limits: {
maxDiskSizeInMb: int
maxMemoryInMb: int
maxPercentageCpu: int
}
loadBalancing: 'string'
localMySqlEnabled: bool
logsDirectorySizeLimit: int
managedPipelineMode: 'string'
metadata: [
{
name: 'string'
value: 'string'
}
]
netFrameworkVersion: 'string'
nodeVersion: 'string'
numberOfWorkers: int
phpVersion: 'string'
publishingPassword: 'string'
publishingUsername: 'string'
pythonVersion: 'string'
remoteDebuggingEnabled: bool
remoteDebuggingVersion: 'string'
requestTracingEnabled: bool
requestTracingExpirationTime: 'string'
scmType: 'string'
tracingOptions: 'string'
use32BitWorkerProcess: bool
virtualApplications: [
{
physicalPath: 'string'
preloadEnabled: bool
virtualDirectories: [
{
physicalPath: 'string'
virtualPath: 'string'
}
]
virtualPath: 'string'
}
]
vnetName: 'string'
webSocketsEnabled: bool
}
tags: {
{customized property}: 'string'
}
type: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
プロパティ値
ApiDefinitionInfo
名前 | 形容 | 価値 |
---|---|---|
url | API 定義の URL。 | 糸 |
AutoHealActions
名前 | 形容 | 価値 |
---|---|---|
actionType | ActionType - 実行する定義済みのアクション | 'CustomAction' 'LogEvent' 'Recycle' (必須) |
customAction | CustomAction - 実行するカスタム アクション | AutoHealCustomAction を する |
minProcessExecutionTime | MinProcessExecutionTime - プロセスを実行する必要がある最小時間 アクションを実行する前に |
糸 |
AutoHealCustomAction
名前 | 形容 | 価値 |
---|---|---|
exe | 実行する実行可能ファイル | 糸 |
パラメーター | 実行可能ファイルのパラメーター | 糸 |
AutoHealRules
名前 | 形容 | 価値 |
---|---|---|
アクション | アクション - ルールがトリガーされたときに実行されるアクション | AutoHealActions の |
トリガー | トリガー - 自動修復アクションを実行するタイミングを示す条件 | AutoHealTriggers を する |
AutoHealTriggers
名前 | 形容 | 価値 |
---|---|---|
privateBytesInKB | PrivateBytesInKB - プライベート バイトに基づいてルールを定義します | int |
要求 | 要求 - 要求の合計数に基づいてルールを定義します | RequestsBasedTrigger |
slowRequests | SlowRequests - 要求の実行時間に基づいてルールを定義します | SlowRequestsBasedTrigger の |
statusCodes | StatusCodes - 状態コードに基づいてルールを定義します | StatusCodesBasedTrigger[] |
CloningInfo
名前 | 形容 | 価値 |
---|---|---|
appSettingsOverrides | 複製された Web アプリのアプリケーション設定がオーバーライドされます。 指定した場合、これらの設定は複製された設定をオーバーライドします ソース Web アプリから。 指定しない場合、ソース Web アプリのアプリケーション設定は保持されます。 |
CloningInfoAppSettingsOverrides |
cloneCustomHostNames | true の場合は、ソース Web アプリからカスタム ホスト名を複製します | bool |
cloneSourceControl | ソース Web アプリからソース管理を複製する | bool |
configureLoadBalancing | 指定した場合、ソース サイトと複製サイトの負荷分散を構成する | bool |
correlationId | 複製操作の関連付け ID。 この ID は、複数の複製操作を結び付けます 同じスナップショットを使用するために一緒に |
糸 |
hostingEnvironment | ホスティング環境 | 糸 |
上書き | コピー先の Web アプリを上書きする | bool |
sourceWebAppId | ソース Web アプリの ARM リソース ID。 Web アプリのリソース ID の形式 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots |
糸 |
trafficManagerProfileId | 存在する場合に使用する Traffic Manager プロファイルの ARM リソース ID。 Traffic Manager のリソース ID は次の形式です /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName} |
糸 |
trafficManagerProfileName | 作成する Traffic Manager プロファイルの名前。 これは、Traffic Manager プロファイルがまだ存在しない場合にのみ必要です | 糸 |
CloningInfoAppSettingsOverrides
名前 | 形容 | 価値 |
---|
ConnStringInfo
名前 | 形容 | 価値 |
---|---|---|
connectionString | 接続文字列の値 | 糸 |
名前 | 接続文字列の名前 | 糸 |
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
CorsSettings
名前 | 形容 | 価値 |
---|---|---|
allowedOrigins | クロスオリジンを許可するオリジンの一覧を取得または設定します。 呼び出し (例: http://example.com:12345)。 "*" を使用してすべてを許可します。 |
string[] |
実験
名前 | 形容 | 価値 |
---|---|---|
rampUpRules | {Microsoft.Web.Hosting.Administration.RampUpRule} オブジェクトの一覧。 | RampUpRule[] |
HandlerMapping
名前 | 形容 | 価値 |
---|---|---|
引数 | スクリプト プロセッサに渡されるコマンド ライン引数。 | 糸 |
延長 | この拡張機能を持つ要求は、指定された FastCGI アプリケーションを使用して処理されます。 | 糸 |
scriptProcessor | FastCGI アプリケーションへの絶対パス。 | 糸 |
HostingEnvironmentProfile
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | hostingEnvironment のリソース ID (App Service Environment) | 糸 |
名前 | hostingEnvironment の名前 (App Service Environment) (読み取り専用) | 糸 |
種類 | hostingEnvironment のリソースの種類 (App Service Environment) (読み取り専用) | 糸 |
HostNameSslState
名前 | 形容 | 価値 |
---|---|---|
名前 | ホスト名 | 糸 |
sslState | SSL の種類 | 'Disabled' 'IpBasedEnabled' 'SniEnabled' (必須) |
拇印 | SSL 証明書の拇印 | 糸 |
toUpdate | 既存のホスト名を更新するには、このフラグを設定します | bool |
virtualIP | IP ベースの SSL が有効になっている場合にホスト名に割り当てられた仮想 IP アドレス | 糸 |
IpSecurityRestriction
名前 | 形容 | 価値 |
---|---|---|
ipAddress | セキュリティ制限が有効な IP アドレス | 糸 |
subnetMask | 制限が有効な IP アドレスの範囲のサブネット マスク | 糸 |
Microsoft.Web/sites
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | string (必須) |
プロパティ | SiteProperties | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
NameValuePair
名前 | 形容 | 価値 |
---|---|---|
名前 | ペア名 | 糸 |
価値 | ペア値 | 糸 |
RampUpRule
名前 | 形容 | 価値 |
---|---|---|
actionHostName | トラフィックがリダイレクトされるスロットのホスト名 (決定した場合)。 例: mysite-stage.azurewebsites.net | 糸 |
changeDecisionCallbackUrl | カスタム決定アルゴリズムは、Url を指定できる TiPCallback サイト拡張機能で提供できます。 | 糸 |
changeIntervalInMinutes | [省略可能]ReroutePercentage を再評価する間隔を分単位で指定します | int |
changeStep | [省略可能]自動ランプ アップ シナリオでは、{Microsoft.Web.Hosting.Administration.RampUpRule.ReroutePercentage} に到達するまで追加または削除する手順です {Microsoft.Web.Hosting.Administration.RampUpRule.MinReroutePercentage} または {Microsoft.Web.Hosting.Administration.RampUpRule.MaxReroutePercentage}。 サイト メトリックは、{Microsoft.Web.Hosting.Administration.RampUpRule.ChangeIntervalInMinutes} で指定された N 分ごとにチェックされます。 カスタム決定アルゴリズムは、{Microsoft.Web.Hosting.Administration.RampUpRule.ChangeDecisionCallbackUrl} で URL を指定できる TiPCallback サイト拡張機能で提供できます。 |
int |
maxReroutePercentage | [省略可能]ReroutePercentage を維持する上限を指定します。 | int |
minReroutePercentage | [省略可能]ReroutePercentage が維持される下限を指定します。 | int |
名前 | ルーティング規則の名前。 推奨される名前は、実験のトラフィックを受信するスロットを指すように設定します。 | 糸 |
reroutePercentage | {Microsoft.Web.Hosting.Administration.RampUpRule.ActionHostName} にリダイレクトされるトラフィックの割合 | int |
RequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
SiteConfig
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | リソース ID | 糸 |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 糸 |
プロパティ | SiteConfigProperties の | |
タグ | リソース タグ | ResourceTags |
種類 | リソースの種類 | 糸 |
SiteConfigProperties
名前 | 形容 | 価値 |
---|---|---|
alwaysOn | Always On | bool |
apiDefinition | Web アプリの正式な API 定義に関する情報。 | ApiDefinitionInfo |
appCommandLine | 起動するアプリ のコマンド ライン | 糸 |
appSettings | アプリケーション設定 | NameValuePair[] |
autoHealEnabled | 自動修復が有効 | bool |
autoHealRules | 自動修復ルール | AutoHealRules を する |
autoSwapSlotName | 自動スワップ スロット名 | 糸 |
connectionStrings | 接続文字列 | ConnStringInfo[] |
cors | クロスオリジン リソース共有 (CORS) 設定。 | CorsSettings の |
defaultDocuments | 既定のドキュメント | string[] |
detailedErrorLoggingEnabled | 詳細なエラー ログ記録が有効になっている | bool |
documentRoot | ドキュメント ルート | 糸 |
実験 | これはポリモーフィック型の場合に回避できます | 実験の |
handlerMappings | ハンドラー マッピング | HandlerMapping[] |
httpLoggingEnabled | HTTP ログの有効化 | bool |
ipSecurityRestrictions | IP セキュリティの制限 | IpSecurityRestriction[] |
javaContainer | Java コンテナー | 糸 |
javaContainerVersion | Java コンテナーのバージョン | 糸 |
javaVersion | Java バージョン | 糸 |
切り | サイトの制限 | SiteLimits |
loadBalancing | サイトの負荷分散 | 'LeastRequests' 'LeastResponseTime' 'RequestHash' 'WeightedRoundRobin' 'WeightedTotalTraffic' |
localMySqlEnabled | ローカル mysql が有効 | bool |
logsDirectorySizeLimit | HTTP ログ ディレクトリのサイズ制限 | int |
managedPipelineMode | マネージド パイプライン モード | 'Classic' 'Integrated' |
metadata | サイト メタデータ | NameValuePair[] |
netFrameworkVersion | Net Framework のバージョン | 糸 |
nodeVersion | ノードのバージョン | 糸 |
numberOfWorkers | ワーカーの数 | int |
phpVersion | PHP のバージョン | 糸 |
publishingPassword | パスワードの発行 | 糸 |
publishingUsername | ユーザー名の発行 | 糸 |
pythonVersion | Python のバージョン | 糸 |
remoteDebuggingEnabled | リモート デバッグが有効 | bool |
remoteDebuggingVersion | リモート デバッグのバージョン | 糸 |
requestTracingEnabled | 要求トレースを有効にする | bool |
requestTracingExpirationTime | 要求トレースの有効期限 | 糸 |
scmType | SCM の種類 | 糸 |
tracingOptions | トレース オプション | 糸 |
use32BitWorkerProcess | 32 ビット ワーカー プロセスを使用する | bool |
virtualApplications | 仮想アプリケーション | VirtualApplication[] |
vnetName | Vnet 名 | 糸 |
webSocketsEnabled | Web ソケットが有効になっている。 | bool |
SiteLimits
名前 | 形容 | 価値 |
---|---|---|
maxDiskSizeInMb | 許可されるディスク サイズの最大使用量 (MB) | int |
maxMemoryInMb | 許容最大メモリ使用量 (MB) | int |
maxPercentageCpu | 許可される CPU 使用率の最大値 | int |
SiteProperties
名前 | 形容 | 価値 |
---|---|---|
clientAffinityEnabled | Web アプリの複数のインスタンスに対する http 要求の負荷分散時にクライアント アフィニティを有効にするかどうかを指定します。 | bool |
clientCertEnabled | Web アプリに対してクライアント証明書が有効になっているかどうかを指定します | bool |
cloningInfo | これは、Web アプリの作成にのみ有効です。 指定した場合、Web アプリは ソース Web アプリ |
CloningInfo |
containerSize | 関数コンテナーのサイズ | int |
有効 | サイトが有効な場合は True。それ以外の場合は false。 この値を false に設定すると、サイトが無効になります (サイトがオフになります)。 | bool |
gatewaySiteName | Web アプリに関連付けられているゲートウェイ アプリの名前 | 糸 |
hostingEnvironmentProfile | Web アプリに使用するホスティング環境 (App Service Environment) の仕様 | HostingEnvironmentProfile |
hostNamesDisabled | パブリック ホスト名を Web アプリで無効にするかどうかを指定します。 true に設定すると、アプリは API Management プロセス経由でのみアクセスできます |
bool |
hostNameSslStates | ホスト名 SSL 状態は、サイトのホスト名の SSL バインドを管理するために使用されます。 | HostNameSslState[] |
maxNumberOfWorkers | ワーカーの最大数 これは関数コンテナーにのみ適用されます |
int |
microService | 糸 | |
名前 | Web アプリの名前 | 糸 |
scmSiteAlsoStopped | If set は、Web アプリが停止されたときに SCM (KUDU) サイトを停止するかどうかを示します。 既定値は false です。 | bool |
serverFarmId | 糸 | |
siteConfig | Web アプリの構成 | SiteConfig |
SlowRequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
timeTaken | TimeTaken | 糸 |
StatusCodesBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
地位 | HTTP 状態コード | int |
subStatus | SubStatus | int |
timeInterval | TimeInterval | 糸 |
win32Status | Win32 エラー コード | int |
VirtualApplication
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
preloadEnabled | bool | |
virtualDirectories | VirtualDirectory[] | |
virtualPath | 糸 |
VirtualDirectory
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
virtualPath | 糸 |
使用例
Azure 検証済みモジュール
次の Azure 検証済みモジュール を使用して、このリソースの種類をデプロイできます。
モジュール | 形容 |
---|---|
Web/Function App | Web/Function App 用の AVM リソース モジュール |
Azure クイック スタートのサンプル
次 Azure クイック スタート テンプレート、このリソースの種類をデプロイするための Bicep サンプルが含まれています。
Bicep ファイル | 形容 |
---|---|
ホスティング プランと Azure WebApp を使用した App Service Environment の | プライベートに使用できる既存の仮想ネットワークに ILB アドレスを持つ App Service Environment v2 を作成します。 App Service Environment には、ホスティング プランと Azure Web アプリが含まれます |
App Service クイック スタート - Linux App | このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
App Service クイック スタート - Windows アプリ | このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
App Service クイック スタート - Windows アプリ | このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
App Service クイック スタート - Windows コンテナー アプリの | このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
内部 API Management と Web App を使用した Application Gateway の | Azure Web アプリでホストされている Web API にサービスを提供する仮想ネットワーク (内部モード) API Management インスタンスにインターネット トラフィックをルーティングする Application Gateway。 |
Web App を使用して Azure Cosmos DB アカウントを する | このテンプレートは、Azure Cosmos DB アカウントと App Service プランをデプロイし、App Service プランに Web アプリを作成します。 また、Azure Cosmos DB アカウント エンドポイントを参照する 2 つのアプリケーション設定を Web アプリに追加します。 このように、Web アプリにデプロイされたソリューションは、これらの設定を使用して Azure Cosmos DB アカウント エンドポイントに接続できます。 |
関数と Private Link サービスを使用した Azure Digital Twins の | このテンプレートでは、Private Link エンドポイントを介して Digital Twins と通信できる、仮想ネットワークに接続された Azure 関数で構成された Azure Digital Twins サービスが作成されます。 また、仮想ネットワークからプライベート エンドポイントの内部サブネット IP アドレスへの Digital Twins エンドポイントのシームレスなホスト名解決を可能にするプライベート DNS ゾーンも作成します。 ホスト名は、"ADT_ENDPOINT" という名前の Azure 関数の設定として格納されます。 |
Azure 関数アプリと HTTP によってトリガーされる関数 を する | この例では、Azure 関数アプリと HTTP によってトリガーされる関数をテンプレートにインラインでデプロイします。 また、Key Vault をデプロイし、シークレットに関数アプリのホスト キーを設定します。 |
Linux 従量課金プランでホストされている Azure Function App を する | このテンプレートは、動的ホスティング プランである Linux 従量課金プランで関数アプリをプロビジョニングします。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 |
デプロイ スロット を使用して Azure Function App を する | このテンプレートは、運用スロットと追加のデプロイ スロットを備えた Premium プランに関数アプリをプロビジョニングします。 |
Event Hub とマネージド ID を使用して Azure Function App を する | 彼のテンプレートは、Linux 従量課金プランに Azure 関数アプリを、Event Hub、Azure Storage、Application Insights と共にプロビジョニングします。 関数アプリは、マネージド ID を使用してイベント ハブとストレージ アカウントに接続できます |
仮想ネットワーク統合 を使用して Azure Function App を する | このテンプレートは、新しく作成された仮想ネットワークに対してリージョン仮想ネットワーク統合が有効になっている Premium プランに関数アプリをプロビジョニングします。 |
Azure Traffic Manager Web アプリの例 | このテンプレートでは、App Service の Azure Traffic Manager プロファイルを作成する方法を示します。 |
Azure Database for MySQL を使用して Linux 上に Web アプリを構築する | このテンプレートは、Azure Database for MySQL を使用して Linux 上に Web Apps をデプロイする方法を提供します。 |
CDN プロファイル、CDN エンドポイント、Web アプリ を作成する | このテンプレートは、配信元として Web アプリを使用して CDN プロファイルと CDN エンドポイントを作成します |
Java 13 と Tomcat 9 を有効にして Azure で Web アプリを作成 | このテンプレートでは、Java 13 と Tomcat 9 を有効にして Azure 上に Web アプリを作成し、Azure で Java アプリケーションを実行できるようにします。 テンプレートは、Microsoft の Donovan Brown によって作成されました。 |
テンプレート を使用して Web アプリと Redis Cache を作成する | このテンプレートは、Redis Cache を使用して Azure Web アプリを作成します。 |
Web アプリ、PE、Application Gateway v2 を作成する | このテンプレートは、Azure Virtual Network サブネット (Application Gateway v2) にプライベート エンドポイントを持つ Azure Web アプリを作成します。 Application Gateway は vNet (サブネット) にデプロイされます。 Web アプリは、プライベート エンドポイントを使用してサブネットからのトラフィックへのアクセスを制限します |
ゼロ タッチの Azure Cosmos アカウントと Azure Web App を作成する | このテンプレートは、Azure Cosmos アカウントを作成し、Cosmos DB エンドポイントとキーを Azure Web App の設定に挿入してから、GitHub から ASP MVC Web アプリをデプロイします。 |
Function App とプライベート エンドポイントで保護されたストレージ を作成する | このテンプレートを使用すると、プライベート エンドポイント経由で Azure Storage と通信する Azure Function App をデプロイできます。 |
基本的な Linux Web アプリ をデプロイする | このテンプレートを使用すると、App Service プランと基本的な Linux Web アプリをデプロイできます |
リージョン VNet 統合 を使用してアプリ サービスをデプロイする | このテンプレートを使用すると、新しく作成された仮想ネットワークに対してリージョン VNet 統合を有効にして、App Service プランと基本的な Windows Web アプリをデプロイできます |
az 対応 Azure Function Premium プランをデプロイ | このテンプレートを使用すると、可用性ゾーンが有効なストレージ アカウントなど、可用性ゾーンのサポートを使用して Azure Function Premium プランをデプロイできます。 |
vnet 統合 を使用して Azure Function Premium プランをデプロイする | このテンプレートを使用すると、リージョン仮想ネットワーク統合を有効にした Azure Function Premium プランを、新しく作成された仮想ネットワークにデプロイできます。 |
Django アプリ を する | このテンプレートを使用すると、Django アプリをデプロイするための App Service を作成できます。 |
Flask アプリ サービス の | このテンプレートを使用すると、Flask アプリをデプロイするための App Service を作成できます。 |
Front Door Premium と App Service の配信元と Private Link | このテンプレートは、Front Door Premium と App Service を作成し、Front Door のプライベート エンドポイントを使用してアプリケーションにトラフィックを送信します。 |
App Service 配信元の Front Door Standard/Premium | このテンプレートは、App Service である Front Door Standard/Premium を作成し、トラフィックが Front Door の配信元を通過したことを検証するように App Service を構成します。 |
Azure Functions の配信元 を使用した Front Door Standard/Premium の | このテンプレートは、Azure Functions アプリである Front Door Standard/Premium を作成し、トラフィックが Front Door の配信元を通過したことを検証するように関数アプリを構成します。 |
Function App | このテンプレートは、空の関数アプリとホスティング プランをデプロイします。 |
Azure Frontdoor によってセキュリティ保護された関数アプリの | このテンプレートを使用すると、Azure Frontdoor Premium によって保護および発行された Azure Premium 関数をデプロイできます。 Azure Frontdoor と Azure Functions の間の接続は、Azure Private Link によって保護されます。 |
高可用性のマルチリージョン Web アプリ を する | このテンプレートを使用すると、Azure Front Door の背後にある異なるリージョンに 2 つの Web アプリを使用して、セキュリティで保護された高可用性のマルチリージョン エンド ツー エンド ソリューションを作成できます。 |
Moesif API Analytics と収益化の | このテンプレートは、Azure API Management から Moesif API 分析および収益化プラットフォームへの API 呼び出しをログに記録します |
プライベート関数アプリとプライベート エンドポイントで保護されたストレージ の | このテンプレートは、プライベート エンドポイントを持ち、プライベート エンドポイント経由で Azure Storage と通信する Premium プランで関数アプリをプロビジョニングします。 |
従量課金プランの に関数アプリをプロビジョニングする | このテンプレートは、動的ホスティング プランである従量課金プランに関数アプリをプロビジョニングします。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 専用ホスティング プランでのプロビジョニングに使用できる他のテンプレートがあります。 |
App Service プラン で実行されている関数アプリをプロビジョニングする | このテンプレートは、専用のホスティング プランで関数アプリをプロビジョニングします。つまり、App Service サイトと同様に実行され、課金されます。 |
SQL Database を使用して Web アプリをプロビジョニングする | このテンプレートは、Web アプリ、SQL Database、自動スケール設定、アラート ルール、App Insights をプロビジョニングします。 Web アプリでデータベースの接続文字列を構成します。 |
デプロイ スロット を使用した従量課金プランのプロビジョニング機能の | このテンプレートは、動的ホスティング プランである従量課金プランに関数アプリをプロビジョニングします。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 専用ホスティング プランでのプロビジョニングに使用できる他のテンプレートがあります。 |
セキュリティで保護された N 層 Web アプリ の | このテンプレートを使用すると、ステージング スロット(フロントエンドとバックエンド)、フロントエンドが VNet インジェクションとプライベート エンドポイントを通じて安全にバックを消費する 2 つの Web アプリを使用して、セキュリティで保護されたエンド ツー エンド ソリューションを作成できます |
Azure SQL を使用して Linux 上の Sonarqube Docker Web App を する | このテンプレートは、公式の Sonarqube イメージを使用して Azure App Service Web アプリ Linux コンテナーに Sonarqube をデプロイし、Azure SQL Server によってサポートされます。 |
PostgreSQL を使用して Linux 上の Sonarqube Docker Web App を する | このテンプレートは、Azure Database for PostgreSQL (プレビュー) を使用して Linux Web アプリに Sonarqube Docker イメージ (alpine タグ) を簡単にデプロイする方法を提供します |
SonarQube on Web App と PostgreSQL と VNet の統合 | このテンプレートを使用すると、PostgreSQL フレキシブル サーバー、VNet 統合、プライベート DNS を使用して、SonarQube を Linux 上の Web アプリに簡単にデプロイできます。 |
GitHub からの Web アプリのデプロイの | このテンプレートを使用すると、リンクされた GitHub リポジトリでリンクされた WebApp を作成できます。 |
Log Analytics に送信する Application Insights を使用して Web アプリを する | このテンプレートは、microsoft.insights/components の新しい API バージョンのサポートに役立ちます。 2020-02-02-preview WorkspaceID 以降は、Application Inisghts を作成するときに必要になります。このテンプレートでは、App Service プラン、App Service、Application Insights、Log Analytics ワークスペースをデプロイし、まとめてフックします。 |
Azure Database for MySQL を使用して Web アプリを する | このテンプレートを使用すると、Azure Database for MySQL を使用して Azure App Service Web Apps に Web アプリを簡単にデプロイできます。 |
マネージド ID、SQL Server、ΑΙ を使用した Web アプリの | アプリ + データ + マネージド ID + 監視用の Azure インフラストラクチャをデプロイする簡単な例 |
VNet インジェクションとプライベート エンドポイント を使用して Web アプリを する | このテンプレートを使用すると、フロントエンドとバックエンドの 2 つの Web アプリを使用して、セキュリティで保護されたエンド ツー エンド ソリューションを作成できます。フロントエンドは、VNet インジェクションとプライベート エンドポイントを通じて安全にバックを消費します |
ARM テンプレート リソース定義
サイト リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの 参照してください。
リソースの形式
Microsoft.Web/sites リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.Web/sites",
"apiVersion": "2015-08-01",
"name": "string",
"kind": "string",
"location": "string",
"properties": {
"clientAffinityEnabled": "bool",
"clientCertEnabled": "bool",
"cloningInfo": {
"appSettingsOverrides": {
"{customized property}": "string"
},
"cloneCustomHostNames": "bool",
"cloneSourceControl": "bool",
"configureLoadBalancing": "bool",
"correlationId": "string",
"hostingEnvironment": "string",
"overwrite": "bool",
"sourceWebAppId": "string",
"trafficManagerProfileId": "string",
"trafficManagerProfileName": "string"
},
"containerSize": "int",
"enabled": "bool",
"gatewaySiteName": "string",
"hostingEnvironmentProfile": {
"id": "string",
"name": "string",
"type": "string"
},
"hostNamesDisabled": "bool",
"hostNameSslStates": [
{
"name": "string",
"sslState": "string",
"thumbprint": "string",
"toUpdate": "bool",
"virtualIP": "string"
}
],
"maxNumberOfWorkers": "int",
"microService": "string",
"name": "string",
"scmSiteAlsoStopped": "bool",
"serverFarmId": "string",
"siteConfig": {
"id": "string",
"kind": "string",
"location": "string",
"name": "string",
"properties": {
"alwaysOn": "bool",
"apiDefinition": {
"url": "string"
},
"appCommandLine": "string",
"appSettings": [
{
"name": "string",
"value": "string"
}
],
"autoHealEnabled": "bool",
"autoHealRules": {
"actions": {
"actionType": "string",
"customAction": {
"exe": "string",
"parameters": "string"
},
"minProcessExecutionTime": "string"
},
"triggers": {
"privateBytesInKB": "int",
"requests": {
"count": "int",
"timeInterval": "string"
},
"slowRequests": {
"count": "int",
"timeInterval": "string",
"timeTaken": "string"
},
"statusCodes": [
{
"count": "int",
"status": "int",
"subStatus": "int",
"timeInterval": "string",
"win32Status": "int"
}
]
}
},
"autoSwapSlotName": "string",
"connectionStrings": [
{
"connectionString": "string",
"name": "string",
"type": "string"
}
],
"cors": {
"allowedOrigins": [ "string" ]
},
"defaultDocuments": [ "string" ],
"detailedErrorLoggingEnabled": "bool",
"documentRoot": "string",
"experiments": {
"rampUpRules": [
{
"actionHostName": "string",
"changeDecisionCallbackUrl": "string",
"changeIntervalInMinutes": "int",
"changeStep": "int",
"maxReroutePercentage": "int",
"minReroutePercentage": "int",
"name": "string",
"reroutePercentage": "int"
}
]
},
"handlerMappings": [
{
"arguments": "string",
"extension": "string",
"scriptProcessor": "string"
}
],
"httpLoggingEnabled": "bool",
"ipSecurityRestrictions": [
{
"ipAddress": "string",
"subnetMask": "string"
}
],
"javaContainer": "string",
"javaContainerVersion": "string",
"javaVersion": "string",
"limits": {
"maxDiskSizeInMb": "int",
"maxMemoryInMb": "int",
"maxPercentageCpu": "int"
},
"loadBalancing": "string",
"localMySqlEnabled": "bool",
"logsDirectorySizeLimit": "int",
"managedPipelineMode": "string",
"metadata": [
{
"name": "string",
"value": "string"
}
],
"netFrameworkVersion": "string",
"nodeVersion": "string",
"numberOfWorkers": "int",
"phpVersion": "string",
"publishingPassword": "string",
"publishingUsername": "string",
"pythonVersion": "string",
"remoteDebuggingEnabled": "bool",
"remoteDebuggingVersion": "string",
"requestTracingEnabled": "bool",
"requestTracingExpirationTime": "string",
"scmType": "string",
"tracingOptions": "string",
"use32BitWorkerProcess": "bool",
"virtualApplications": [
{
"physicalPath": "string",
"preloadEnabled": "bool",
"virtualDirectories": [
{
"physicalPath": "string",
"virtualPath": "string"
}
],
"virtualPath": "string"
}
],
"vnetName": "string",
"webSocketsEnabled": "bool"
},
"tags": {
"{customized property}": "string"
},
"type": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
プロパティ値
ApiDefinitionInfo
名前 | 形容 | 価値 |
---|---|---|
url | API 定義の URL。 | 糸 |
AutoHealActions
名前 | 形容 | 価値 |
---|---|---|
actionType | ActionType - 実行する定義済みのアクション | 'CustomAction' 'LogEvent' 'Recycle' (必須) |
customAction | CustomAction - 実行するカスタム アクション | AutoHealCustomAction を する |
minProcessExecutionTime | MinProcessExecutionTime - プロセスを実行する必要がある最小時間 アクションを実行する前に |
糸 |
AutoHealCustomAction
名前 | 形容 | 価値 |
---|---|---|
exe | 実行する実行可能ファイル | 糸 |
パラメーター | 実行可能ファイルのパラメーター | 糸 |
AutoHealRules
名前 | 形容 | 価値 |
---|---|---|
アクション | アクション - ルールがトリガーされたときに実行されるアクション | AutoHealActions の |
トリガー | トリガー - 自動修復アクションを実行するタイミングを示す条件 | AutoHealTriggers を する |
AutoHealTriggers
名前 | 形容 | 価値 |
---|---|---|
privateBytesInKB | PrivateBytesInKB - プライベート バイトに基づいてルールを定義します | int |
要求 | 要求 - 要求の合計数に基づいてルールを定義します | RequestsBasedTrigger |
slowRequests | SlowRequests - 要求の実行時間に基づいてルールを定義します | SlowRequestsBasedTrigger の |
statusCodes | StatusCodes - 状態コードに基づいてルールを定義します | StatusCodesBasedTrigger[] |
CloningInfo
名前 | 形容 | 価値 |
---|---|---|
appSettingsOverrides | 複製された Web アプリのアプリケーション設定がオーバーライドされます。 指定した場合、これらの設定は複製された設定をオーバーライドします ソース Web アプリから。 指定しない場合、ソース Web アプリのアプリケーション設定は保持されます。 |
CloningInfoAppSettingsOverrides |
cloneCustomHostNames | true の場合は、ソース Web アプリからカスタム ホスト名を複製します | bool |
cloneSourceControl | ソース Web アプリからソース管理を複製する | bool |
configureLoadBalancing | 指定した場合、ソース サイトと複製サイトの負荷分散を構成する | bool |
correlationId | 複製操作の関連付け ID。 この ID は、複数の複製操作を結び付けます 同じスナップショットを使用するために一緒に |
糸 |
hostingEnvironment | ホスティング環境 | 糸 |
上書き | コピー先の Web アプリを上書きする | bool |
sourceWebAppId | ソース Web アプリの ARM リソース ID。 Web アプリのリソース ID の形式 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots |
糸 |
trafficManagerProfileId | 存在する場合に使用する Traffic Manager プロファイルの ARM リソース ID。 Traffic Manager のリソース ID は次の形式です /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName} |
糸 |
trafficManagerProfileName | 作成する Traffic Manager プロファイルの名前。 これは、Traffic Manager プロファイルがまだ存在しない場合にのみ必要です | 糸 |
CloningInfoAppSettingsOverrides
名前 | 形容 | 価値 |
---|
ConnStringInfo
名前 | 形容 | 価値 |
---|---|---|
connectionString | 接続文字列の値 | 糸 |
名前 | 接続文字列の名前 | 糸 |
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
CorsSettings
名前 | 形容 | 価値 |
---|---|---|
allowedOrigins | クロスオリジンを許可するオリジンの一覧を取得または設定します。 呼び出し (例: http://example.com:12345)。 "*" を使用してすべてを許可します。 |
string[] |
実験
名前 | 形容 | 価値 |
---|---|---|
rampUpRules | {Microsoft.Web.Hosting.Administration.RampUpRule} オブジェクトの一覧。 | RampUpRule[] |
HandlerMapping
名前 | 形容 | 価値 |
---|---|---|
引数 | スクリプト プロセッサに渡されるコマンド ライン引数。 | 糸 |
延長 | この拡張機能を持つ要求は、指定された FastCGI アプリケーションを使用して処理されます。 | 糸 |
scriptProcessor | FastCGI アプリケーションへの絶対パス。 | 糸 |
HostingEnvironmentProfile
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | hostingEnvironment のリソース ID (App Service Environment) | 糸 |
名前 | hostingEnvironment の名前 (App Service Environment) (読み取り専用) | 糸 |
種類 | hostingEnvironment のリソースの種類 (App Service Environment) (読み取り専用) | 糸 |
HostNameSslState
名前 | 形容 | 価値 |
---|---|---|
名前 | ホスト名 | 糸 |
sslState | SSL の種類 | 'Disabled' 'IpBasedEnabled' 'SniEnabled' (必須) |
拇印 | SSL 証明書の拇印 | 糸 |
toUpdate | 既存のホスト名を更新するには、このフラグを設定します | bool |
virtualIP | IP ベースの SSL が有効になっている場合にホスト名に割り当てられた仮想 IP アドレス | 糸 |
IpSecurityRestriction
名前 | 形容 | 価値 |
---|---|---|
ipAddress | セキュリティ制限が有効な IP アドレス | 糸 |
subnetMask | 制限が有効な IP アドレスの範囲のサブネット マスク | 糸 |
Microsoft.Web/sites
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2015-08-01' |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | string (必須) |
プロパティ | SiteProperties | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Web/sites' |
NameValuePair
名前 | 形容 | 価値 |
---|---|---|
名前 | ペア名 | 糸 |
価値 | ペア値 | 糸 |
RampUpRule
名前 | 形容 | 価値 |
---|---|---|
actionHostName | トラフィックがリダイレクトされるスロットのホスト名 (決定した場合)。 例: mysite-stage.azurewebsites.net | 糸 |
changeDecisionCallbackUrl | カスタム決定アルゴリズムは、Url を指定できる TiPCallback サイト拡張機能で提供できます。 | 糸 |
changeIntervalInMinutes | [省略可能]ReroutePercentage を再評価する間隔を分単位で指定します | int |
changeStep | [省略可能]自動ランプ アップ シナリオでは、{Microsoft.Web.Hosting.Administration.RampUpRule.ReroutePercentage} に到達するまで追加または削除する手順です {Microsoft.Web.Hosting.Administration.RampUpRule.MinReroutePercentage} または {Microsoft.Web.Hosting.Administration.RampUpRule.MaxReroutePercentage}。 サイト メトリックは、{Microsoft.Web.Hosting.Administration.RampUpRule.ChangeIntervalInMinutes} で指定された N 分ごとにチェックされます。 カスタム決定アルゴリズムは、{Microsoft.Web.Hosting.Administration.RampUpRule.ChangeDecisionCallbackUrl} で URL を指定できる TiPCallback サイト拡張機能で提供できます。 |
int |
maxReroutePercentage | [省略可能]ReroutePercentage を維持する上限を指定します。 | int |
minReroutePercentage | [省略可能]ReroutePercentage が維持される下限を指定します。 | int |
名前 | ルーティング規則の名前。 推奨される名前は、実験のトラフィックを受信するスロットを指すように設定します。 | 糸 |
reroutePercentage | {Microsoft.Web.Hosting.Administration.RampUpRule.ActionHostName} にリダイレクトされるトラフィックの割合 | int |
RequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
SiteConfig
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | リソース ID | 糸 |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 糸 |
プロパティ | SiteConfigProperties の | |
タグ | リソース タグ | ResourceTags |
種類 | リソースの種類 | 糸 |
SiteConfigProperties
名前 | 形容 | 価値 |
---|---|---|
alwaysOn | Always On | bool |
apiDefinition | Web アプリの正式な API 定義に関する情報。 | ApiDefinitionInfo |
appCommandLine | 起動するアプリ のコマンド ライン | 糸 |
appSettings | アプリケーション設定 | NameValuePair[] |
autoHealEnabled | 自動修復が有効 | bool |
autoHealRules | 自動修復ルール | AutoHealRules を する |
autoSwapSlotName | 自動スワップ スロット名 | 糸 |
connectionStrings | 接続文字列 | ConnStringInfo[] |
cors | クロスオリジン リソース共有 (CORS) 設定。 | CorsSettings の |
defaultDocuments | 既定のドキュメント | string[] |
detailedErrorLoggingEnabled | 詳細なエラー ログ記録が有効になっている | bool |
documentRoot | ドキュメント ルート | 糸 |
実験 | これはポリモーフィック型の場合に回避できます | 実験の |
handlerMappings | ハンドラー マッピング | HandlerMapping[] |
httpLoggingEnabled | HTTP ログの有効化 | bool |
ipSecurityRestrictions | IP セキュリティの制限 | IpSecurityRestriction[] |
javaContainer | Java コンテナー | 糸 |
javaContainerVersion | Java コンテナーのバージョン | 糸 |
javaVersion | Java バージョン | 糸 |
切り | サイトの制限 | SiteLimits |
loadBalancing | サイトの負荷分散 | 'LeastRequests' 'LeastResponseTime' 'RequestHash' 'WeightedRoundRobin' 'WeightedTotalTraffic' |
localMySqlEnabled | ローカル mysql が有効 | bool |
logsDirectorySizeLimit | HTTP ログ ディレクトリのサイズ制限 | int |
managedPipelineMode | マネージド パイプライン モード | 'Classic' 'Integrated' |
metadata | サイト メタデータ | NameValuePair[] |
netFrameworkVersion | Net Framework のバージョン | 糸 |
nodeVersion | ノードのバージョン | 糸 |
numberOfWorkers | ワーカーの数 | int |
phpVersion | PHP のバージョン | 糸 |
publishingPassword | パスワードの発行 | 糸 |
publishingUsername | ユーザー名の発行 | 糸 |
pythonVersion | Python のバージョン | 糸 |
remoteDebuggingEnabled | リモート デバッグが有効 | bool |
remoteDebuggingVersion | リモート デバッグのバージョン | 糸 |
requestTracingEnabled | 要求トレースを有効にする | bool |
requestTracingExpirationTime | 要求トレースの有効期限 | 糸 |
scmType | SCM の種類 | 糸 |
tracingOptions | トレース オプション | 糸 |
use32BitWorkerProcess | 32 ビット ワーカー プロセスを使用する | bool |
virtualApplications | 仮想アプリケーション | VirtualApplication[] |
vnetName | Vnet 名 | 糸 |
webSocketsEnabled | Web ソケットが有効になっている。 | bool |
SiteLimits
名前 | 形容 | 価値 |
---|---|---|
maxDiskSizeInMb | 許可されるディスク サイズの最大使用量 (MB) | int |
maxMemoryInMb | 許容最大メモリ使用量 (MB) | int |
maxPercentageCpu | 許可される CPU 使用率の最大値 | int |
SiteProperties
名前 | 形容 | 価値 |
---|---|---|
clientAffinityEnabled | Web アプリの複数のインスタンスに対する http 要求の負荷分散時にクライアント アフィニティを有効にするかどうかを指定します。 | bool |
clientCertEnabled | Web アプリに対してクライアント証明書が有効になっているかどうかを指定します | bool |
cloningInfo | これは、Web アプリの作成にのみ有効です。 指定した場合、Web アプリは ソース Web アプリ |
CloningInfo |
containerSize | 関数コンテナーのサイズ | int |
有効 | サイトが有効な場合は True。それ以外の場合は false。 この値を false に設定すると、サイトが無効になります (サイトがオフになります)。 | bool |
gatewaySiteName | Web アプリに関連付けられているゲートウェイ アプリの名前 | 糸 |
hostingEnvironmentProfile | Web アプリに使用するホスティング環境 (App Service Environment) の仕様 | HostingEnvironmentProfile |
hostNamesDisabled | パブリック ホスト名を Web アプリで無効にするかどうかを指定します。 true に設定すると、アプリは API Management プロセス経由でのみアクセスできます |
bool |
hostNameSslStates | ホスト名 SSL 状態は、サイトのホスト名の SSL バインドを管理するために使用されます。 | HostNameSslState[] |
maxNumberOfWorkers | ワーカーの最大数 これは関数コンテナーにのみ適用されます |
int |
microService | 糸 | |
名前 | Web アプリの名前 | 糸 |
scmSiteAlsoStopped | If set は、Web アプリが停止されたときに SCM (KUDU) サイトを停止するかどうかを示します。 既定値は false です。 | bool |
serverFarmId | 糸 | |
siteConfig | Web アプリの構成 | SiteConfig |
SlowRequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
timeTaken | TimeTaken | 糸 |
StatusCodesBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
地位 | HTTP 状態コード | int |
subStatus | SubStatus | int |
timeInterval | TimeInterval | 糸 |
win32Status | Win32 エラー コード | int |
VirtualApplication
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
preloadEnabled | bool | |
virtualDirectories | VirtualDirectory[] | |
virtualPath | 糸 |
VirtualDirectory
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
virtualPath | 糸 |
使用例
Azure クイック スタート テンプレート
このリソースの種類 デプロイする Azure クイック スタート テンプレート 次に示します。
テンプレート | 形容 |
---|---|
PostgreSQL を使用した Linux 上の エアフロー Docker Web アプリ Azure |
このテンプレートを使用すると、Azure Database for PostgreSQL を使用して Linux Web アプリに puckel/docker-airflow イメージ (最新のタグ) を簡単にデプロイできます。 |
App Services 上の PostgreSQL データベースを使用して、エアフロー Web アプリを する Azure |
App Services に PostgreSQL データベースを使用してエアフロー Web アプリをデプロイするためのテンプレート |
Azure SQL バックエンド を使用した App Service Environment の Azure |
このテンプレートは、プライベート/分離環境で通常使用される関連リソースと共に、Azure SQL バックエンドとプライベート エンドポイントを含む App Service Environment を作成します。 |
ホスティング プランと Azure WebApp を使用した App Service Environment の Azure |
プライベートに使用できる既存の仮想ネットワークに ILB アドレスを持つ App Service Environment v2 を作成します。 App Service Environment には、ホスティング プランと Azure Web アプリが含まれます |
App Service クイック スタート - Linux App Azure |
このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
App Service クイック スタート - Windows アプリ Azure |
このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
App Service クイック スタート - Windows アプリ Azure |
このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
App Service クイック スタート - Windows コンテナー アプリの Azure |
このテンプレートは、/azure/app-service/quickstart-arm-template と共に使用します |
IP 制限 を使用した Web アプリの Application Gateway の Azure |
このテンプレートは、Web アプリで IP 制限が有効になっている Azure Web アプリの前にアプリケーション ゲートウェイを作成します。 |
内部 API Management と Web App を使用した Application Gateway の Azure |
Azure Web アプリでホストされている Web API にサービスを提供する仮想ネットワーク (内部モード) API Management インスタンスにインターネット トラフィックをルーティングする Application Gateway。 |
ASP.NET アプリの Azure |
このテンプレートを使用すると、ASP.NET アプリをデプロイするための App Service を作成できます。 |
Web App を使用して Azure Cosmos DB アカウントを する Azure |
このテンプレートは、Azure Cosmos DB アカウントと App Service プランをデプロイし、App Service プランに Web アプリを作成します。 また、Azure Cosmos DB アカウント エンドポイントを参照する 2 つのアプリケーション設定を Web アプリに追加します。 このように、Web アプリにデプロイされたソリューションは、これらの設定を使用して Azure Cosmos DB アカウント エンドポイントに接続できます。 |
関数と Private Link サービスを使用した Azure Digital Twins の Azure |
このテンプレートでは、Private Link エンドポイントを介して Digital Twins と通信できる、仮想ネットワークに接続された Azure 関数で構成された Azure Digital Twins サービスが作成されます。 また、仮想ネットワークからプライベート エンドポイントの内部サブネット IP アドレスへの Digital Twins エンドポイントのシームレスなホスト名解決を可能にするプライベート DNS ゾーンも作成します。 ホスト名は、"ADT_ENDPOINT" という名前の Azure 関数の設定として格納されます。 |
Azure 関数アプリと HTTP によってトリガーされる関数 を する Azure |
この例では、Azure 関数アプリと HTTP によってトリガーされる関数をテンプレートにインラインでデプロイします。 また、Key Vault をデプロイし、シークレットに関数アプリのホスト キーを設定します。 |
専用プラン でホストされている Azure Function App の Azure |
このテンプレートは、専用のホスティング プランで関数アプリをプロビジョニングします。つまり、App Service サイトと同様に実行され、課金されます。 |
Linux 従量課金プランでホストされている Azure Function App を する Azure |
このテンプレートは、動的ホスティング プランである Linux 従量課金プランで関数アプリをプロビジョニングします。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 |
Premium プランでホストされている Azure Function App を する Azure |
このテンプレートは、Premium プランで関数アプリをプロビジョニングします。 |
Windows 従量課金プランでホストされている Azure Function App Azure |
このテンプレートは、動的ホスティング プランである Windows 従量課金プランに関数アプリをプロビジョニングします。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 |
デプロイ スロット を使用して Azure Function App を する Azure |
このテンプレートは、運用スロットと追加のデプロイ スロットを備えた Premium プランに関数アプリをプロビジョニングします。 |
Event Hub とマネージド ID を使用して Azure Function App を する Azure |
彼のテンプレートは、Linux 従量課金プランに Azure 関数アプリを、Event Hub、Azure Storage、Application Insights と共にプロビジョニングします。 関数アプリは、マネージド ID を使用してイベント ハブとストレージ アカウントに接続できます |
仮想ネットワーク統合 を使用して Azure Function App を する Azure |
このテンプレートは、新しく作成された仮想ネットワークに対してリージョン仮想ネットワーク統合が有効になっている Premium プランに関数アプリをプロビジョニングします。 |
関数 を使用して Azure ロジック アプリを する Azure |
このテンプレートは、Logic Apps と Functions を使用して Azure にサーバーレス アプリを作成します。 ロジック アプリは HTTP POST でトリガーし、Azure 関数を呼び出して、応答を返します。 |
Azure Traffic Manager Web アプリの例 Azure |
このテンプレートでは、App Service の Azure Traffic Manager プロファイルを作成する方法を示します。 |
Buffalo Web App Azure |
Azure で Golang Buffalo アプリケーションを迅速かつ安価に実行します。 |
Azure Database for MySQL を使用して Linux 上に Web アプリを構築する Azure |
このテンプレートは、Azure Database for MySQL を使用して Linux 上に Web Apps をデプロイする方法を提供します。 |
Azure Logic Apps からカスタム API を呼び出す Azure |
Logic Apps にはさまざまなサービス用の数百のコネクタが用意されていますが、独自のコードを実行する API を呼び出したい場合があります。 独自の Web API をホストする最も簡単で最もスケーラブルな方法の 1 つは、Azure App Service を使用することです。 このテンプレートは、カスタム API 用の Web アプリをデプロイし、Azure Active Directory 認証を使用してその API をセキュリティで保護します。 |
CDN プロファイル、CDN エンドポイント、Web アプリ を作成する Azure |
このテンプレートは、配信元として Web アプリを使用して CDN プロファイルと CDN エンドポイントを作成します |
関数アプリを作成し、カスタム リソース を使用して呼び出す Azure |
このテンプレートは、テンプレートデプロイでカスタム リソース プロバイダーのワークロードとして使用される関数アプリを作成します。 |
テンプレート を使用して Web アプリ + Redis Cache + SQL DB を作成 Azure |
このテンプレートは、Redis Cache と SQL Database を使用して Azure Web アプリを作成します。 |
Java 13 と Tomcat 9 を有効にして Azure で Web アプリを作成 Azure |
このテンプレートでは、Java 13 と Tomcat 9 を有効にして Azure 上に Web アプリを作成し、Azure で Java アプリケーションを実行できるようにします。 テンプレートは、Microsoft の Donovan Brown によって作成されました。 |
Python を有効にして Azure で Web アプリを作成 Azure |
このテンプレートでは、Python を有効にして Azure 上に Web アプリを作成し、Azure で Python アプリケーションを実行できるようにします。 テンプレートは、Microsoft の Donovan Brown によって作成されました。 |
テンプレート を使用して Web アプリと Redis Cache を作成する Azure |
このテンプレートは、Redis Cache を使用して Azure Web アプリを作成します。 |
Application Gateway v2 によって保護された Web アプリを作成する Azure |
このテンプレートは、Application Gateway v2 のアクセス制限付きの Azure Web アプリを作成します。 Application Gateway は、"Microsoft.Web" サービス エンドポイントが有効になっている vNet (サブネット) にデプロイされます。 Web アプリは、サブネットからのトラフィックへのアクセスを制限します。 |
Web アプリ、PE、Application Gateway v2 を作成する Azure |
このテンプレートは、Azure Virtual Network サブネット (Application Gateway v2) にプライベート エンドポイントを持つ Azure Web アプリを作成します。 Application Gateway は vNet (サブネット) にデプロイされます。 Web アプリは、プライベート エンドポイントを使用してサブネットからのトラフィックへのアクセスを制限します |
ゼロ タッチの Azure Cosmos アカウントと Azure Web App を作成する Azure |
このテンプレートは、Azure Cosmos アカウントを作成し、Cosmos DB エンドポイントとキーを Azure Web App の設定に挿入してから、GitHub から ASP MVC Web アプリをデプロイします。 |
アプリで AppServicePlan とアプリを作成します。 Service Env. v2 Azure |
App Service Environment v2 で AppServicePlan とアプリを作成する |
ASE で AppServicePlan とアプリを作成する Azure |
ASE で AppServicePlan とアプリを作成する |
標準の App Service 証明書 を作成して割り当てる Azure |
標準の App Service 証明書を作成し、App Service App を使用して検証し、証明書の準備ができたら SSL バインドを作成します |
ワイルドカード App Service 証明書の作成と割り当て Azure |
ワイルドカード App Service 証明書を作成し、App Service ドメインを使用して検証し、証明書の準備ができたら App Service アプリに SSL バインドを作成します |
追加された Web アプリを使用して Azure App Service 環境を作成 Azure |
仮想ネットワーク サブネット内に Azure App Service Environment を作成します。 このテンプレートでは、App Service Environment 内に Azure Web アプリも追加されます。 PixelPin の Callum Brankin によって作成されたテンプレート |
Blob Storage 接続文字列を使用して Azure Web アプリを作成 Azure |
Blob Storage 接続文字列を使用して Azure Web アプリを作成します。テンプレートは、元は Microsoft の Jeff Bowles によって作成されました |
Function App とプライベート エンドポイントで保護されたストレージ を作成する Azure |
このテンプレートを使用すると、プライベート エンドポイント経由で Azure Storage と通信する Azure Function App をデプロイできます。 |
マネージド サービス ID を使用して関数アプリを作成する Azure |
ログとメトリック用に Application Insights を設定して、マネージド サービス ID が有効になっている関数アプリを作成します。 |
基本的な Linux Web アプリ をデプロイする Azure |
このテンプレートを使用すると、App Service プランと基本的な Linux Web アプリをデプロイできます |
リージョン VNet 統合 を使用してアプリ サービスをデプロイする Azure |
このテンプレートを使用すると、新しく作成された仮想ネットワークに対してリージョン VNet 統合を有効にして、App Service プランと基本的な Windows Web アプリをデプロイできます |
az 対応 Azure Function Premium プランをデプロイ Azure |
このテンプレートを使用すると、可用性ゾーンが有効なストレージ アカウントなど、可用性ゾーンのサポートを使用して Azure Function Premium プランをデプロイできます。 |
vnet 統合 を使用して Azure Function Premium プランをデプロイする Azure |
このテンプレートを使用すると、リージョン仮想ネットワーク統合を有効にした Azure Function Premium プランを、新しく作成された仮想ネットワークにデプロイできます。 |
Django アプリ を する Azure |
このテンプレートを使用すると、Django アプリをデプロイするための App Service を作成できます。 |
Enterprise Governance-AppService、SQL DB、AD、OMS、Runbook Azure |
小規模または大規模なエンタープライズ向けのクラウド導入では、クラウド デプロイから価値を引き出すために、責任ある効率的なガバナンス モデルが必要です。 CloudWise (ソリューションのコード名) は、Azure Partner QuickStarts から入手できる複合ソリューションであり、顧客、システム インテグレーター、パートナーの導入を可能にし、コストの最適化、アプリケーションの信頼性の向上、ビジネス リスクの削減に重点を置いた、セルフサービスで自動化されたガバナンスと運用ソリューションを提供します。 このソリューションでは、可視性と制御の主要なガバナンスの柱が強調されています。 |
Azure で EPiserverCMS を する Azure |
このテンプレートを使用すると、Azure での EpiServerCMS のデプロイに必要なリソースを作成できます |
ILB ASE を使用した eShop Web サイトの Azure |
App Service Environment は、Azure App Service の Premium サービス プラン オプションであり、Web Apps、Mobile Apps、API Apps など、Azure App Service アプリを大規模に安全に実行するための完全に分離された専用の環境を提供します。 |
Flask アプリ サービス の Azure |
このテンプレートを使用すると、Flask アプリをデプロイするための App Service を作成できます。 |
Front Door Premium と App Service の配信元と Private Link Azure |
このテンプレートは、Front Door Premium と App Service を作成し、Front Door のプライベート エンドポイントを使用してアプリケーションにトラフィックを送信します。 |
App Service 配信元の Front Door Standard/Premium Azure |
このテンプレートは、App Service である Front Door Standard/Premium を作成し、トラフィックが Front Door の配信元を通過したことを検証するように App Service を構成します。 |
Azure Functions の配信元 を使用した Front Door Standard/Premium の Azure |
このテンプレートは、Azure Functions アプリである Front Door Standard/Premium を作成し、トラフィックが Front Door の配信元を通過したことを検証するように関数アプリを構成します。 |
Function App Azure |
このテンプレートは、空の関数アプリとホスティング プランをデプロイします。 |
リモート ビルド を使用した Linux 上の関数アプリの使用計画の Azure |
このテンプレートは、Linux 従量課金プランで関数アプリをプロビジョニングし、コードのデプロイ中にリモート ビルドを実行します。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 |
Azure Frontdoor によってセキュリティ保護された関数アプリの Azure |
このテンプレートを使用すると、Azure Frontdoor Premium によって保護および発行された Azure Premium 関数をデプロイできます。 Azure Frontdoor と Azure Functions の間の接続は、Azure Private Link によって保護されます。 |
高可用性のマルチリージョン Web アプリ を する Azure |
このテンプレートを使用すると、Azure Front Door の背後にある異なるリージョンに 2 つの Web アプリを使用して、セキュリティで保護された高可用性のマルチリージョン エンド ツー エンド ソリューションを作成できます。 |
Azure Firewall を使用した ILB App Service Environment の Azure |
Azure Firewall 統合を使用して App Service 環境をデプロイする方法を示す Resource Manager テンプレートとパラメーター |
Jenkins と Azure Web Apps を使用して Java CI/CD を する Azure |
これは、Jenkins と Azure Web Apps を使用した Java CI/CD のサンプルです。 |
Kentico Xperience Azure |
このテンプレートにより、Microsoft Azure で Kentico Xperience 環境をホストするために必要なリソースのデプロイが容易になります。 |
Moesif API Analytics と収益化の Azure |
このテンプレートは、Azure API Management から Moesif API 分析および収益化プラットフォームへの API 呼び出しをログに記録します |
Node App Service Azure |
このテンプレートを使用すると、Node アプリをデプロイするための App Service を作成できます。 |
Orchard CMS ビデオ ポータル Web アプリ Azure |
このテンプレートは、Azure Media Services モジュールを有効にして構成した Azure App Service Web Apps に Orchard CMS を簡単にデプロイする方法を提供します。 |
プライベート関数アプリとプライベート エンドポイントで保護されたストレージ の Azure |
このテンプレートは、プライベート エンドポイントを持ち、プライベート エンドポイント経由で Azure Storage と通信する Premium プランで関数アプリをプロビジョニングします。 |
従量課金プランの に関数アプリをプロビジョニングする Azure |
このテンプレートは、動的ホスティング プランである従量課金プランに関数アプリをプロビジョニングします。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 専用ホスティング プランでのプロビジョニングに使用できる他のテンプレートがあります。 |
App Service プラン で実行されている関数アプリをプロビジョニングする Azure |
このテンプレートは、専用のホスティング プランで関数アプリをプロビジョニングします。つまり、App Service サイトと同様に実行され、課金されます。 |
GitHub からデプロイされたソースを使用して関数アプリをプロビジョニングする Azure |
このテンプレートは、新しい専用 App Service プランでホストされている関数アプリをデプロイします。 Function App には、継続的な統合を可能にし、GitHub リポジトリから関数コードをデプロイする子リソースがあります。 |
SQL Database を使用してモバイル アプリをプロビジョニングする Azure |
このテンプレートは、モバイル アプリ、SQL Database、および Notification Hub をプロビジョニングします。 データベースと通知ハブのモバイル アプリで接続文字列を構成します。 |
SQL Database を使用して Web アプリをプロビジョニングする Azure |
このテンプレートは、Web アプリ、SQL Database、自動スケール設定、アラート ルール、App Insights をプロビジョニングします。 Web アプリでデータベースの接続文字列を構成します。 |
デプロイ スロット を使用した従量課金プランのプロビジョニング機能の Azure |
このテンプレートは、動的ホスティング プランである従量課金プランに関数アプリをプロビジョニングします。 アプリはオンデマンドで実行され、継続的なリソース コミットメントなしで、実行ごとに課金されます。 専用ホスティング プランでのプロビジョニングに使用できる他のテンプレートがあります。 |
Azure Event Hubs の PubNub Realtime Gateway の Azure |
Azure 用 PubNub Realtime Gateway は、PubNub データ ストリーム ネットワークと Azure Event Hubs の間のリアルタイム データ ストリーム ブリッジを提供します。 -- PubNub と Azure の間の双方向ブリッジと考えてください。 |
スケーラブルな Umbraco CMS Web アプリ を する Azure |
このテンプレートは、Azure App Service Web Apps に umbraco CMS Web アプリを簡単にデプロイする方法を提供します。 |
セキュリティで保護された N 層 Web アプリ の Azure |
このテンプレートを使用すると、ステージング スロット(フロントエンドとバックエンド)、フロントエンドが VNet インジェクションとプライベート エンドポイントを通じて安全にバックを消費する 2 つの Web アプリを使用して、セキュリティで保護されたエンド ツー エンド ソリューションを作成できます |
シンプルな Umbraco CMS Web アプリの Azure |
このテンプレートは、Azure App Service Web Apps に umbraco CMS Web アプリを簡単にデプロイする方法を提供します。 |
Azure SQL を使用して Linux 上の Sonarqube Docker Web App を する Azure |
このテンプレートは、公式の Sonarqube イメージを使用して Azure App Service Web アプリ Linux コンテナーに Sonarqube をデプロイし、Azure SQL Server によってサポートされます。 |
MySQL を使用した Linux 上の Sonarqube Docker Web App の Azure |
このテンプレートは、Azure Database for MySQL を使用して Linux Web アプリに Sonarqube Docker イメージ (alpine タグ) を簡単にデプロイする方法を提供します |
PostgreSQL を使用して Linux 上の Sonarqube Docker Web App を する Azure |
このテンプレートは、Azure Database for PostgreSQL (プレビュー) を使用して Linux Web アプリに Sonarqube Docker イメージ (alpine タグ) を簡単にデプロイする方法を提供します |
SonarQube on Web App と PostgreSQL と VNet の統合 Azure |
このテンプレートを使用すると、PostgreSQL フレキシブル サーバー、VNet 統合、プライベート DNS を使用して、SonarQube を Linux 上の Web アプリに簡単にデプロイできます。 |
GitHub からの Web アプリのデプロイの Azure |
このテンプレートを使用すると、リンクされた GitHub リポジトリでリンクされた WebApp を作成できます。 |
Web App と Key Vault の統合 Azure |
Key Vault シークレットから Web アプリ証明書をデプロイし、それを使用して SSL バインドを作成する |
PostgreSQL を使用して Linux 上の Web アプリを する Azure |
このテンプレートを使用すると、Azure Database for PostgreSQL (プレビュー) を使用して Web App on Linux を簡単にデプロイできます。 |
PostgreSQL を使用して Linux 上の Web アプリを する Azure |
このテンプレートは、Azure Database for PostgreSQL を使用して Linux 上の Web アプリを簡単にデプロイする方法を提供します。 |
Log Analytics に送信する Application Insights を使用して Web アプリを する Azure |
このテンプレートは、microsoft.insights/components の新しい API バージョンのサポートに役立ちます。 2020-02-02-preview WorkspaceID 以降は、Application Inisghts を作成するときに必要になります。このテンプレートでは、App Service プラン、App Service、Application Insights、Log Analytics ワークスペースをデプロイし、まとめてフックします。 |
カスタム ドメインとオプションの SSL バインド を使用して Web アプリを する Azure |
カスタム ドメインを使用して Web アプリを作成し、必要に応じて https 暗号化用の SSL 証明書を追加します。 |
SQL Database、Azure Cosmos DB、Azure Search を使用した Web アプリの Azure |
このテンプレートは、Web アプリ、SQL Database、Azure Cosmos DB、Azure Search、Application Insights をプロビジョニングします。 |
Azure Database for MySQL を使用して Web アプリを する Azure |
このテンプレートを使用すると、Azure Database for MySQL を使用して Azure App Service Web Apps に Web アプリを簡単にデプロイできます。 |
カスタム デプロイ スロット を使用して Web アプリを する Azure |
このテンプレートは、Azure Web Apps にカスタム デプロイ スロットを備えた Web アプリを簡単にデプロイする方法を提供します。 |
Blob Container への診断ログを使用して Web アプリを する Azure |
診断ログを有効にした Web アプリをストレージ アカウント BLOB コンテナーにデプロイします。 |
マネージド ID、SQL Server、ΑΙ を使用した Web アプリの Azure |
アプリ + データ + マネージド ID + 監視用の Azure インフラストラクチャをデプロイする簡単な例 |
プライベート エンドポイント を使用して Web アプリを する Azure |
このテンプレートを使用すると、Web アプリを作成し、プライベート エンドポイントを介して公開できます |
VNet インジェクションとプライベート エンドポイント を使用して Web アプリを する Azure |
このテンプレートを使用すると、フロントエンドとバックエンドの 2 つの Web アプリを使用して、セキュリティで保護されたエンド ツー エンド ソリューションを作成できます。フロントエンドは、VNet インジェクションとプライベート エンドポイントを通じて安全にバックを消費します |
Azure SQL プライベート エンドポイント を使用する WebApp の Azure |
このテンプレートでは、Azure SQL Server を指すプライベート エンドポイントを使用する Web アプリを作成する方法を示します |
App で MySQL を使用して App Service で WordPress を する Azure |
このテンプレートは、アプリ内の MySQL を使用して Windows App Service に WordPress Web アプリをデプロイします |
Terraform (AzAPI プロバイダー) リソース定義
サイト リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループの
各 API バージョンで変更されたプロパティの一覧については、変更ログの 参照してください。
リソースの形式
Microsoft.Web/sites リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/sites@2015-08-01"
name = "string"
kind = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
clientAffinityEnabled = bool
clientCertEnabled = bool
cloningInfo = {
appSettingsOverrides = {
{customized property} = "string"
}
cloneCustomHostNames = bool
cloneSourceControl = bool
configureLoadBalancing = bool
correlationId = "string"
hostingEnvironment = "string"
overwrite = bool
sourceWebAppId = "string"
trafficManagerProfileId = "string"
trafficManagerProfileName = "string"
}
containerSize = int
enabled = bool
gatewaySiteName = "string"
hostingEnvironmentProfile = {
id = "string"
name = "string"
type = "string"
}
hostNamesDisabled = bool
hostNameSslStates = [
{
name = "string"
sslState = "string"
thumbprint = "string"
toUpdate = bool
virtualIP = "string"
}
]
maxNumberOfWorkers = int
microService = "string"
name = "string"
scmSiteAlsoStopped = bool
serverFarmId = "string"
siteConfig = {
id = "string"
kind = "string"
location = "string"
name = "string"
properties = {
alwaysOn = bool
apiDefinition = {
url = "string"
}
appCommandLine = "string"
appSettings = [
{
name = "string"
value = "string"
}
]
autoHealEnabled = bool
autoHealRules = {
actions = {
actionType = "string"
customAction = {
exe = "string"
parameters = "string"
}
minProcessExecutionTime = "string"
}
triggers = {
privateBytesInKB = int
requests = {
count = int
timeInterval = "string"
}
slowRequests = {
count = int
timeInterval = "string"
timeTaken = "string"
}
statusCodes = [
{
count = int
status = int
subStatus = int
timeInterval = "string"
win32Status = int
}
]
}
}
autoSwapSlotName = "string"
connectionStrings = [
{
connectionString = "string"
name = "string"
type = "string"
}
]
cors = {
allowedOrigins = [
"string"
]
}
defaultDocuments = [
"string"
]
detailedErrorLoggingEnabled = bool
documentRoot = "string"
experiments = {
rampUpRules = [
{
actionHostName = "string"
changeDecisionCallbackUrl = "string"
changeIntervalInMinutes = int
changeStep = int
maxReroutePercentage = int
minReroutePercentage = int
name = "string"
reroutePercentage = int
}
]
}
handlerMappings = [
{
arguments = "string"
extension = "string"
scriptProcessor = "string"
}
]
httpLoggingEnabled = bool
ipSecurityRestrictions = [
{
ipAddress = "string"
subnetMask = "string"
}
]
javaContainer = "string"
javaContainerVersion = "string"
javaVersion = "string"
limits = {
maxDiskSizeInMb = int
maxMemoryInMb = int
maxPercentageCpu = int
}
loadBalancing = "string"
localMySqlEnabled = bool
logsDirectorySizeLimit = int
managedPipelineMode = "string"
metadata = [
{
name = "string"
value = "string"
}
]
netFrameworkVersion = "string"
nodeVersion = "string"
numberOfWorkers = int
phpVersion = "string"
publishingPassword = "string"
publishingUsername = "string"
pythonVersion = "string"
remoteDebuggingEnabled = bool
remoteDebuggingVersion = "string"
requestTracingEnabled = bool
requestTracingExpirationTime = "string"
scmType = "string"
tracingOptions = "string"
use32BitWorkerProcess = bool
virtualApplications = [
{
physicalPath = "string"
preloadEnabled = bool
virtualDirectories = [
{
physicalPath = "string"
virtualPath = "string"
}
]
virtualPath = "string"
}
]
vnetName = "string"
webSocketsEnabled = bool
}
tags = {
{customized property} = "string"
}
type = "string"
}
}
})
}
プロパティ値
ApiDefinitionInfo
名前 | 形容 | 価値 |
---|---|---|
url | API 定義の URL。 | 糸 |
AutoHealActions
名前 | 形容 | 価値 |
---|---|---|
actionType | ActionType - 実行する定義済みのアクション | 'CustomAction' 'LogEvent' 'Recycle' (必須) |
customAction | CustomAction - 実行するカスタム アクション | AutoHealCustomAction を する |
minProcessExecutionTime | MinProcessExecutionTime - プロセスを実行する必要がある最小時間 アクションを実行する前に |
糸 |
AutoHealCustomAction
名前 | 形容 | 価値 |
---|---|---|
exe | 実行する実行可能ファイル | 糸 |
パラメーター | 実行可能ファイルのパラメーター | 糸 |
AutoHealRules
名前 | 形容 | 価値 |
---|---|---|
アクション | アクション - ルールがトリガーされたときに実行されるアクション | AutoHealActions の |
トリガー | トリガー - 自動修復アクションを実行するタイミングを示す条件 | AutoHealTriggers を する |
AutoHealTriggers
名前 | 形容 | 価値 |
---|---|---|
privateBytesInKB | PrivateBytesInKB - プライベート バイトに基づいてルールを定義します | int |
要求 | 要求 - 要求の合計数に基づいてルールを定義します | RequestsBasedTrigger |
slowRequests | SlowRequests - 要求の実行時間に基づいてルールを定義します | SlowRequestsBasedTrigger の |
statusCodes | StatusCodes - 状態コードに基づいてルールを定義します | StatusCodesBasedTrigger[] |
CloningInfo
名前 | 形容 | 価値 |
---|---|---|
appSettingsOverrides | 複製された Web アプリのアプリケーション設定がオーバーライドされます。 指定した場合、これらの設定は複製された設定をオーバーライドします ソース Web アプリから。 指定しない場合、ソース Web アプリのアプリケーション設定は保持されます。 |
CloningInfoAppSettingsOverrides |
cloneCustomHostNames | true の場合は、ソース Web アプリからカスタム ホスト名を複製します | bool |
cloneSourceControl | ソース Web アプリからソース管理を複製する | bool |
configureLoadBalancing | 指定した場合、ソース サイトと複製サイトの負荷分散を構成する | bool |
correlationId | 複製操作の関連付け ID。 この ID は、複数の複製操作を結び付けます 同じスナップショットを使用するために一緒に |
糸 |
hostingEnvironment | ホスティング環境 | 糸 |
上書き | コピー先の Web アプリを上書きする | bool |
sourceWebAppId | ソース Web アプリの ARM リソース ID。 Web アプリのリソース ID の形式 /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots |
糸 |
trafficManagerProfileId | 存在する場合に使用する Traffic Manager プロファイルの ARM リソース ID。 Traffic Manager のリソース ID は次の形式です /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName} |
糸 |
trafficManagerProfileName | 作成する Traffic Manager プロファイルの名前。 これは、Traffic Manager プロファイルがまだ存在しない場合にのみ必要です | 糸 |
CloningInfoAppSettingsOverrides
名前 | 形容 | 価値 |
---|
ConnStringInfo
名前 | 形容 | 価値 |
---|---|---|
connectionString | 接続文字列の値 | 糸 |
名前 | 接続文字列の名前 | 糸 |
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
CorsSettings
名前 | 形容 | 価値 |
---|---|---|
allowedOrigins | クロスオリジンを許可するオリジンの一覧を取得または設定します。 呼び出し (例: http://example.com:12345)。 "*" を使用してすべてを許可します。 |
string[] |
実験
名前 | 形容 | 価値 |
---|---|---|
rampUpRules | {Microsoft.Web.Hosting.Administration.RampUpRule} オブジェクトの一覧。 | RampUpRule[] |
HandlerMapping
名前 | 形容 | 価値 |
---|---|---|
引数 | スクリプト プロセッサに渡されるコマンド ライン引数。 | 糸 |
延長 | この拡張機能を持つ要求は、指定された FastCGI アプリケーションを使用して処理されます。 | 糸 |
scriptProcessor | FastCGI アプリケーションへの絶対パス。 | 糸 |
HostingEnvironmentProfile
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | hostingEnvironment のリソース ID (App Service Environment) | 糸 |
名前 | hostingEnvironment の名前 (App Service Environment) (読み取り専用) | 糸 |
種類 | hostingEnvironment のリソースの種類 (App Service Environment) (読み取り専用) | 糸 |
HostNameSslState
名前 | 形容 | 価値 |
---|---|---|
名前 | ホスト名 | 糸 |
sslState | SSL の種類 | 'Disabled' 'IpBasedEnabled' 'SniEnabled' (必須) |
拇印 | SSL 証明書の拇印 | 糸 |
toUpdate | 既存のホスト名を更新するには、このフラグを設定します | bool |
virtualIP | IP ベースの SSL が有効になっている場合にホスト名に割り当てられた仮想 IP アドレス | 糸 |
IpSecurityRestriction
名前 | 形容 | 価値 |
---|---|---|
ipAddress | セキュリティ制限が有効な IP アドレス | 糸 |
subnetMask | 制限が有効な IP アドレスの範囲のサブネット マスク | 糸 |
Microsoft.Web/sites
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | string (必須) |
プロパティ | SiteProperties | |
タグ | リソース タグ | タグ名と値のディクショナリ。 |
種類 | リソースの種類 | "Microsoft.Web/sites@2015-08-01" |
NameValuePair
名前 | 形容 | 価値 |
---|---|---|
名前 | ペア名 | 糸 |
価値 | ペア値 | 糸 |
RampUpRule
名前 | 形容 | 価値 |
---|---|---|
actionHostName | トラフィックがリダイレクトされるスロットのホスト名 (決定した場合)。 例: mysite-stage.azurewebsites.net | 糸 |
changeDecisionCallbackUrl | カスタム決定アルゴリズムは、Url を指定できる TiPCallback サイト拡張機能で提供できます。 | 糸 |
changeIntervalInMinutes | [省略可能]ReroutePercentage を再評価する間隔を分単位で指定します | int |
changeStep | [省略可能]自動ランプ アップ シナリオでは、{Microsoft.Web.Hosting.Administration.RampUpRule.ReroutePercentage} に到達するまで追加または削除する手順です {Microsoft.Web.Hosting.Administration.RampUpRule.MinReroutePercentage} または {Microsoft.Web.Hosting.Administration.RampUpRule.MaxReroutePercentage}。 サイト メトリックは、{Microsoft.Web.Hosting.Administration.RampUpRule.ChangeIntervalInMinutes} で指定された N 分ごとにチェックされます。 カスタム決定アルゴリズムは、{Microsoft.Web.Hosting.Administration.RampUpRule.ChangeDecisionCallbackUrl} で URL を指定できる TiPCallback サイト拡張機能で提供できます。 |
int |
maxReroutePercentage | [省略可能]ReroutePercentage を維持する上限を指定します。 | int |
minReroutePercentage | [省略可能]ReroutePercentage が維持される下限を指定します。 | int |
名前 | ルーティング規則の名前。 推奨される名前は、実験のトラフィックを受信するスロットを指すように設定します。 | 糸 |
reroutePercentage | {Microsoft.Web.Hosting.Administration.RampUpRule.ActionHostName} にリダイレクトされるトラフィックの割合 | int |
RequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
SiteConfig
名前 | 形容 | 価値 |
---|---|---|
身分証明書 | リソース ID | 糸 |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 糸 |
プロパティ | SiteConfigProperties の | |
タグ | リソース タグ | ResourceTags |
種類 | リソースの種類 | 糸 |
SiteConfigProperties
名前 | 形容 | 価値 |
---|---|---|
alwaysOn | Always On | bool |
apiDefinition | Web アプリの正式な API 定義に関する情報。 | ApiDefinitionInfo |
appCommandLine | 起動するアプリ のコマンド ライン | 糸 |
appSettings | アプリケーション設定 | NameValuePair[] |
autoHealEnabled | 自動修復が有効 | bool |
autoHealRules | 自動修復ルール | AutoHealRules を する |
autoSwapSlotName | 自動スワップ スロット名 | 糸 |
connectionStrings | 接続文字列 | ConnStringInfo[] |
cors | クロスオリジン リソース共有 (CORS) 設定。 | CorsSettings の |
defaultDocuments | 既定のドキュメント | string[] |
detailedErrorLoggingEnabled | 詳細なエラー ログ記録が有効になっている | bool |
documentRoot | ドキュメント ルート | 糸 |
実験 | これはポリモーフィック型の場合に回避できます | 実験の |
handlerMappings | ハンドラー マッピング | HandlerMapping[] |
httpLoggingEnabled | HTTP ログの有効化 | bool |
ipSecurityRestrictions | IP セキュリティの制限 | IpSecurityRestriction[] |
javaContainer | Java コンテナー | 糸 |
javaContainerVersion | Java コンテナーのバージョン | 糸 |
javaVersion | Java バージョン | 糸 |
切り | サイトの制限 | SiteLimits |
loadBalancing | サイトの負荷分散 | 'LeastRequests' 'LeastResponseTime' 'RequestHash' 'WeightedRoundRobin' 'WeightedTotalTraffic' |
localMySqlEnabled | ローカル mysql が有効 | bool |
logsDirectorySizeLimit | HTTP ログ ディレクトリのサイズ制限 | int |
managedPipelineMode | マネージド パイプライン モード | 'Classic' 'Integrated' |
metadata | サイト メタデータ | NameValuePair[] |
netFrameworkVersion | Net Framework のバージョン | 糸 |
nodeVersion | ノードのバージョン | 糸 |
numberOfWorkers | ワーカーの数 | int |
phpVersion | PHP のバージョン | 糸 |
publishingPassword | パスワードの発行 | 糸 |
publishingUsername | ユーザー名の発行 | 糸 |
pythonVersion | Python のバージョン | 糸 |
remoteDebuggingEnabled | リモート デバッグが有効 | bool |
remoteDebuggingVersion | リモート デバッグのバージョン | 糸 |
requestTracingEnabled | 要求トレースを有効にする | bool |
requestTracingExpirationTime | 要求トレースの有効期限 | 糸 |
scmType | SCM の種類 | 糸 |
tracingOptions | トレース オプション | 糸 |
use32BitWorkerProcess | 32 ビット ワーカー プロセスを使用する | bool |
virtualApplications | 仮想アプリケーション | VirtualApplication[] |
vnetName | Vnet 名 | 糸 |
webSocketsEnabled | Web ソケットが有効になっている。 | bool |
SiteLimits
名前 | 形容 | 価値 |
---|---|---|
maxDiskSizeInMb | 許可されるディスク サイズの最大使用量 (MB) | int |
maxMemoryInMb | 許容最大メモリ使用量 (MB) | int |
maxPercentageCpu | 許可される CPU 使用率の最大値 | int |
SiteProperties
名前 | 形容 | 価値 |
---|---|---|
clientAffinityEnabled | Web アプリの複数のインスタンスに対する http 要求の負荷分散時にクライアント アフィニティを有効にするかどうかを指定します。 | bool |
clientCertEnabled | Web アプリに対してクライアント証明書が有効になっているかどうかを指定します | bool |
cloningInfo | これは、Web アプリの作成にのみ有効です。 指定した場合、Web アプリは ソース Web アプリ |
CloningInfo |
containerSize | 関数コンテナーのサイズ | int |
有効 | サイトが有効な場合は True。それ以外の場合は false。 この値を false に設定すると、サイトが無効になります (サイトがオフになります)。 | bool |
gatewaySiteName | Web アプリに関連付けられているゲートウェイ アプリの名前 | 糸 |
hostingEnvironmentProfile | Web アプリに使用するホスティング環境 (App Service Environment) の仕様 | HostingEnvironmentProfile |
hostNamesDisabled | パブリック ホスト名を Web アプリで無効にするかどうかを指定します。 true に設定すると、アプリは API Management プロセス経由でのみアクセスできます |
bool |
hostNameSslStates | ホスト名 SSL 状態は、サイトのホスト名の SSL バインドを管理するために使用されます。 | HostNameSslState[] |
maxNumberOfWorkers | ワーカーの最大数 これは関数コンテナーにのみ適用されます |
int |
microService | 糸 | |
名前 | Web アプリの名前 | 糸 |
scmSiteAlsoStopped | If set は、Web アプリが停止されたときに SCM (KUDU) サイトを停止するかどうかを示します。 既定値は false です。 | bool |
serverFarmId | 糸 | |
siteConfig | Web アプリの構成 | SiteConfig |
SlowRequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
timeTaken | TimeTaken | 糸 |
StatusCodesBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
地位 | HTTP 状態コード | int |
subStatus | SubStatus | int |
timeInterval | TimeInterval | 糸 |
win32Status | Win32 エラー コード | int |
VirtualApplication
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
preloadEnabled | bool | |
virtualDirectories | VirtualDirectory[] | |
virtualPath | 糸 |
VirtualDirectory
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
virtualPath | 糸 |
使用例
Azure 検証済みモジュール
次の Azure 検証済みモジュール を使用して、このリソースの種類をデプロイできます。
モジュール | 形容 |
---|---|
Web/Function App | Web/Function App 用の AVM リソース モジュール |