次の方法で共有


Web Apps - Create Or Update

「既存のリソース グループに新しい Web、モバイル、または API アプリを作成するか、既存のアプリを更新する」の説明。

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}?api-version=2023-12-01

URI パラメーター

名前 / 必須 説明
name
path True

string

作成または更新するアプリの一意の名前。 デプロイ スロットを作成または更新するには、{slot} パラメーターを使用します。

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+[^\.]$

リソースが属するリソース グループの名前。

subscriptionId
path True

string

Azure サブスクリプション ID。 これは GUID 形式の文字列です (例: 000000000-0000-0000-0000-000000000000)。

api-version
query True

string

API バージョン

要求本文

名前 必須 説明
location True

string

リソースの場所。

extendedLocation

ExtendedLocation

拡張された場所。

identity

ManagedServiceIdentity

マネージド サービス ID。

kind

string

リソースの種類。

properties.clientAffinityEnabled

boolean

クライアント アフィニティを有効にする true。セッション アフィニティ Cookie の送信を停止する false、同じセッション内のクライアント要求を同じインスタンスにルーティングします。 既定値は trueです。

properties.clientCertEnabled

boolean

クライアント証明書認証 (TLS 相互認証) を有効にする true。それ以外の場合は、falseします。 既定値は falseです。

properties.clientCertExclusionPaths

string

クライアント証明書認証のコンマ区切り除外パス

properties.clientCertMode

ClientCertMode

これは ClientCertEnabled 設定で構成されます。

  • ClientCertEnabled: false は、ClientCert が無視されていることを意味します。
  • ClientCertEnabled: true と ClientCertMode: Required は ClientCert が必要であることを意味します。
  • ClientCertEnabled: true と ClientCertMode: 省略可能は、ClientCert が省略可能または受け入れ可能であることを意味します。
properties.cloningInfo

CloningInfo

アプリの作成時に指定した場合、アプリはソース アプリから複製されます。

properties.containerSize

integer (int32)

関数コンテナーのサイズ。

properties.customDomainVerificationId

string

アプリに割り当てられているカスタム ドメインを検証する一意の識別子。 お客様は、確認のためにこの ID を txt レコードに追加します。

properties.dailyMemoryTimeQuota

integer (int32)

1 日に許可される最大メモリ時間クォータ (動的アプリにのみ適用されます)。

properties.daprConfig

DaprConfig

アプリの Dapr 構成。

properties.dnsConfiguration

SiteDnsConfig

サイトのさまざまな DNS 関連設定を構成するプロパティ。

properties.enabled

boolean

アプリが有効になっているかどうかを true します。それ以外の場合は、falseします。 この値を false に設定すると、アプリが無効になります (アプリはオフラインになります)。

properties.endToEndEncryptionEnabled

boolean

フロントエンドと Worker の間でエンド ツー エンド暗号化を使用するかどうか

properties.functionAppConfig

FunctionAppConfig

Azure 関数アプリに固有の構成。

properties.hostNameSslStates

HostNameSslState[]

ホスト名の SSL 状態は、アプリのホスト名の SSL バインドを管理するために使用されます。

properties.hostNamesDisabled

boolean

アプリのパブリック ホスト名を無効にする true。それ以外の場合は、falseします。 true場合、アプリは API 管理プロセス経由でのみアクセスできます。

properties.hostingEnvironmentProfile

HostingEnvironmentProfile

アプリに使用する App Service Environment。

properties.httpsOnly

boolean

HttpsOnly: https 要求のみを受け入れるように Web サイトを構成します。 http 要求のリダイレクトに関する問題

properties.hyperV

boolean

サンドボックス Hyper-V。

properties.isXenon

boolean

現在は使用されていません:サンドボックス Hyper-V。

properties.keyVaultReferenceIdentity

string

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

properties.managedEnvironmentId

string

このアプリをホストする、顧客が選択したマネージド環境の Azure Resource Manager ID。 これは、/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName} の形式である必要があります。

properties.publicNetworkAccess

string

すべてのパブリック トラフィックを許可またはブロックするプロパティ。 使用できる値: 'Enabled'、'Disabled'、または空の文字列。

properties.redundancyMode

RedundancyMode

サイト冗長モード

properties.reserved

boolean

予約されている場合は true。それ以外の場合は、falseします。

properties.resourceConfig

ResourceConfig

関数アプリのリソース要件。

properties.scmSiteAlsoStopped

boolean

アプリが停止したときに SCM (KUDU) サイトを停止する true。それ以外の場合は、falseします。 既定値は falseです。

properties.serverFarmId

string

関連付けられた App Service プランのリソース ID。"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}" という形式です。

properties.siteConfig

SiteConfig

アプリの構成。

properties.storageAccountRequired

boolean

お客様が指定したストレージ アカウントが必要かどうかを確認します

properties.virtualNetworkSubnetId

string

リージョン VNET 統合によって参加する仮想ネットワークとサブネットの Azure Resource Manager ID。 これは、/subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} の形式である必要があります。

properties.vnetBackupRestoreEnabled

boolean

仮想ネットワーク経由でバックアップ操作と復元操作を有効にするには

properties.vnetContentShareEnabled

boolean

仮想ネットワーク経由でコンテンツへのアクセスを有効にするには

properties.vnetImagePullEnabled

boolean

Virtual Network 経由でイメージのプルを有効にするには

properties.vnetRouteAllEnabled

boolean

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

properties.workloadProfileName

string

実行する関数アプリのワークロード プロファイル名。

tags

object

リソース タグ。

応答

名前 説明
200 OK

Site

わかりました。

202 Accepted

Site

非同期操作が進行中です。

Other Status Codes

DefaultErrorResponse

App Service エラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

Clone web app
Create or Update Flex Consumption function app
Create or Update Flex Consumption function app with details
Create or Update web app

Clone web app

要求のサンプル

PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141?api-version=2023-12-01

{
  "kind": "app",
  "location": "East US",
  "properties": {
    "cloningInfo": {
      "cloneCustomHostNames": true,
      "cloneSourceControl": true,
      "sourceWebAppId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/sites/srcsiteg478",
      "sourceWebAppLocation": "West Europe",
      "hostingEnvironment": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg456/providers/Microsoft.Web/hostingenvironments/aseforsites",
      "appSettingsOverrides": {
        "Setting1": "NewValue1",
        "Setting3": "NewValue5"
      },
      "configureLoadBalancing": false,
      "overwrite": false
    }
  }
}

応答のサンプル

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "kind": "app",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": false,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "defaultDocuments": [
        "Default.htm",
        "Default.html",
        "Default.asp",
        "index.htm",
        "index.html",
        "iisstart.htm",
        "default.aspx",
        "index.php",
        "hostingstart.html"
      ],
      "netFrameworkVersion": "v4.0",
      "phpVersion": "5.6",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": true,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": true,
    "clientCertEnabled": false,
    "clientCertMode": "Required",
    "hostNamesDisabled": false,
    "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153",
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 0,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": false,
    "redundancyMode": "None",
    "storageAccountRequired": false,
    "keyVaultReferenceIdentity": "SystemAssigned"
  }
}
azure-asyncoperation: https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-12-01
{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "kind": "app",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": false,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "defaultDocuments": [
        "Default.htm",
        "Default.html",
        "Default.asp",
        "index.htm",
        "index.html",
        "iisstart.htm",
        "default.aspx",
        "index.php",
        "hostingstart.html"
      ],
      "netFrameworkVersion": "v4.0",
      "phpVersion": "5.6",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": true,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": true,
    "clientCertEnabled": false,
    "clientCertMode": "Required",
    "hostNamesDisabled": false,
    "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153",
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 0,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": false,
    "redundancyMode": "None",
    "storageAccountRequired": false,
    "keyVaultReferenceIdentity": "SystemAssigned"
  }
}

Create or Update Flex Consumption function app

要求のサンプル

PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141?api-version=2023-12-01

{
  "location": "East US",
  "kind": "functionapp,linux",
  "properties": {
    "siteConfig": {
      "appSettings": [
        {
          "name": "AzureWebJobsStorage",
          "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net"
        },
        {
          "name": "APPLICATIONINSIGHTS_CONNECTION_STRING",
          "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized"
        }
      ]
    },
    "functionAppConfig": {
      "deployment": {
        "storage": {
          "type": "blobContainer",
          "value": "https://storageAccountName.blob.core.windows.net/containername",
          "authentication": {
            "type": "StorageAccountConnectionString",
            "storageAccountConnectionStringName": "TheAppSettingName"
          }
        }
      },
      "runtime": {
        "name": "python",
        "version": "3.11"
      },
      "scaleAndConcurrency": {
        "maximumInstanceCount": 100,
        "instanceMemoryMB": 2048
      }
    }
  }
}

応答のサンプル

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": null,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2024-01-09T00:24:54.8",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "netFrameworkVersion": "",
      "phpVersion": "",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": false,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "keyVaultReferenceIdentity": "",
      "ipSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "scmIpSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "functionAppConfig": {
      "deployment": {
        "storage": {
          "type": "blobContainer",
          "value": "https://storageAccountName.blob.core.windows.net/containername",
          "authentication": {
            "type": "StorageAccountConnectionString",
            "storageAccountConnectionStringName": "TheAppSettingName"
          }
        }
      },
      "runtime": {
        "name": "python",
        "version": "3.11"
      },
      "scaleAndConcurrency": {
        "alwaysReady": null,
        "maximumInstanceCount": 100,
        "instanceMemoryMB": 2048,
        "triggers": null
      }
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": false,
    "clientCertEnabled": false,
    "vnetBackupRestoreEnabled": false,
    "resourceConfig": {
      "cpu": 1,
      "memory": "2.0Gi"
    },
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 2048,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": true,
    "redundancyMode": "None",
    "publicNetworkAccess": "Enabled",
    "storageAccountRequired": false
  }
}
azure-asyncoperation: https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-12-01
{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": null,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2024-01-09T00:24:54.8",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "netFrameworkVersion": "",
      "phpVersion": "",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": false,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "keyVaultReferenceIdentity": "",
      "ipSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "scmIpSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "functionAppConfig": {
      "deployment": {
        "storage": {
          "type": "blobContainer",
          "value": "https://storageAccountName.blob.core.windows.net/containername",
          "authentication": {
            "type": "StorageAccountConnectionString",
            "storageAccountConnectionStringName": "TheAppSettingName"
          }
        }
      },
      "runtime": {
        "name": "python",
        "version": "3.11"
      },
      "scaleAndConcurrency": {
        "alwaysReady": null,
        "maximumInstanceCount": 100,
        "instanceMemoryMB": 2048,
        "triggers": null
      }
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": false,
    "clientCertEnabled": false,
    "vnetBackupRestoreEnabled": false,
    "resourceConfig": {
      "cpu": 1,
      "memory": "2.0Gi"
    },
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 2048,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": true,
    "redundancyMode": "None",
    "publicNetworkAccess": "Enabled",
    "storageAccountRequired": false
  }
}

Create or Update Flex Consumption function app with details

要求のサンプル

PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141?api-version=2023-12-01

{
  "location": "East US",
  "kind": "functionapp,linux",
  "properties": {
    "siteConfig": {
      "appSettings": [
        {
          "name": "AzureWebJobsStorage",
          "value": "DefaultEndpointsProtocol=https;AccountName=StorageAccountName;AccountKey=Sanitized;EndpointSuffix=core.windows.net"
        },
        {
          "name": "APPLICATIONINSIGHTS_CONNECTION_STRING",
          "value": "InstrumentationKey=Sanitized;IngestionEndpoint=Sanitized;LiveEndpoint=Sanitized"
        }
      ]
    },
    "functionAppConfig": {
      "deployment": {
        "storage": {
          "type": "blobContainer",
          "value": "https://storageAccountName.blob.core.windows.net/containername",
          "authentication": {
            "type": "StorageAccountConnectionString",
            "storageAccountConnectionStringName": "TheAppSettingName"
          }
        }
      },
      "runtime": {
        "name": "python",
        "version": "3.11"
      },
      "scaleAndConcurrency": {
        "alwaysReady": [
          {
            "name": "http",
            "instanceCount": 2
          }
        ],
        "maximumInstanceCount": 100,
        "instanceMemoryMB": 2048,
        "triggers": {
          "http": {
            "perInstanceConcurrency": 16
          }
        }
      }
    }
  }
}

応答のサンプル

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": null,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2024-01-09T00:24:54.8",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "netFrameworkVersion": "",
      "phpVersion": "",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": false,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "keyVaultReferenceIdentity": "",
      "ipSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "scmIpSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "functionAppConfig": {
      "deployment": {
        "storage": {
          "type": "blobContainer",
          "value": "https://storageAccountName.blob.core.windows.net/containername",
          "authentication": {
            "type": "StorageAccountConnectionString",
            "storageAccountConnectionStringName": "TheAppSettingName"
          }
        }
      },
      "runtime": {
        "name": "python",
        "version": "3.11"
      },
      "scaleAndConcurrency": {
        "alwaysReady": [
          {
            "name": "http",
            "instanceCount": 2
          }
        ],
        "maximumInstanceCount": 100,
        "instanceMemoryMB": 2048,
        "triggers": {
          "http": {
            "perInstanceConcurrency": 16
          }
        }
      }
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": false,
    "clientCertEnabled": false,
    "vnetBackupRestoreEnabled": false,
    "resourceConfig": {
      "cpu": 1,
      "memory": "2.0Gi"
    },
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 2048,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": true,
    "redundancyMode": "None",
    "publicNetworkAccess": "Enabled",
    "storageAccountRequired": false
  }
}
azure-asyncoperation: https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-12-01
{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": null,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2024-01-09T00:24:54.8",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "netFrameworkVersion": "",
      "phpVersion": "",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": false,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "keyVaultReferenceIdentity": "",
      "ipSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "scmIpSecurityRestrictions": [
        {
          "ipAddress": "Any",
          "action": "Allow",
          "priority": 2147483647,
          "name": "Allow all",
          "description": "Allow all access"
        }
      ],
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "functionAppConfig": {
      "deployment": {
        "storage": {
          "type": "blobContainer",
          "value": "https://storageAccountName.blob.core.windows.net/containername",
          "authentication": {
            "type": "StorageAccountConnectionString",
            "storageAccountConnectionStringName": "TheAppSettingName"
          }
        }
      },
      "runtime": {
        "name": "python",
        "version": "3.11"
      },
      "scaleAndConcurrency": {
        "alwaysReady": [
          {
            "name": "http",
            "instanceCount": 2
          }
        ],
        "maximumInstanceCount": 100,
        "instanceMemoryMB": 2048,
        "triggers": {
          "http": {
            "perInstanceConcurrency": 16
          }
        }
      }
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": false,
    "clientCertEnabled": false,
    "vnetBackupRestoreEnabled": false,
    "resourceConfig": {
      "cpu": 1,
      "memory": "2.0Gi"
    },
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 2048,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": true,
    "redundancyMode": "None",
    "publicNetworkAccess": "Enabled",
    "storageAccountRequired": false
  }
}

Create or Update web app

要求のサンプル

PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141?api-version=2023-12-01

{
  "kind": "app",
  "location": "East US",
  "properties": {
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp"
  }
}

応答のサンプル

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "kind": "app",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": false,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "defaultDocuments": [
        "Default.htm",
        "Default.html",
        "Default.asp",
        "index.htm",
        "index.html",
        "iisstart.htm",
        "default.aspx",
        "index.php",
        "hostingstart.html"
      ],
      "netFrameworkVersion": "v4.0",
      "phpVersion": "5.6",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": true,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": true,
    "clientCertEnabled": false,
    "clientCertMode": "Required",
    "hostNamesDisabled": false,
    "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153",
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 0,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": false,
    "redundancyMode": "None",
    "storageAccountRequired": false,
    "keyVaultReferenceIdentity": "SystemAssigned",
    "workloadProfileName": "myd4wp",
    "resourceConfig": {
      "cpu": 1,
      "memory": "2.0Gi"
    }
  }
}
azure-asyncoperation: https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/sites/sitef6141/operationResults/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-12-01
{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141",
  "name": "sitef6141",
  "type": "Microsoft.Web/sites",
  "kind": "app",
  "location": "East US",
  "properties": {
    "state": "Running",
    "hostNames": [
      "sitef6141.azurewebsites.net"
    ],
    "repositorySiteName": "sitef6141",
    "usageState": "Normal",
    "enabled": true,
    "enabledHostNames": [
      "sitef6141.azurewebsites.net",
      "sitef6141.scm.azurewebsites.net"
    ],
    "availabilityState": "Normal",
    "hostNameSslStates": [
      {
        "name": "sitef6141.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Standard"
      },
      {
        "name": "sitef6141.scm.azurewebsites.net",
        "sslState": "Disabled",
        "hostType": "Repository"
      }
    ],
    "serverFarmId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/serverfarms/DefaultAsp",
    "reserved": false,
    "isXenon": false,
    "hyperV": false,
    "lastModifiedTimeUtc": "2020-03-04T17:33:11.641Z",
    "vnetRouteAllEnabled": false,
    "vnetImagePullEnabled": false,
    "vnetContentShareEnabled": false,
    "siteConfig": {
      "numberOfWorkers": 1,
      "defaultDocuments": [
        "Default.htm",
        "Default.html",
        "Default.asp",
        "index.htm",
        "index.html",
        "iisstart.htm",
        "default.aspx",
        "index.php",
        "hostingstart.html"
      ],
      "netFrameworkVersion": "v4.0",
      "phpVersion": "5.6",
      "pythonVersion": "",
      "nodeVersion": "",
      "powerShellVersion": "",
      "linuxFxVersion": "",
      "requestTracingEnabled": false,
      "remoteDebuggingEnabled": false,
      "httpLoggingEnabled": false,
      "acrUseManagedIdentityCreds": false,
      "logsDirectorySizeLimit": 35,
      "detailedErrorLoggingEnabled": false,
      "use32BitWorkerProcess": true,
      "webSocketsEnabled": false,
      "alwaysOn": false,
      "appCommandLine": "",
      "managedPipelineMode": "Integrated",
      "virtualApplications": [
        {
          "virtualPath": "/",
          "physicalPath": "site\\wwwroot",
          "preloadEnabled": false
        }
      ],
      "loadBalancing": "LeastRequests",
      "autoHealEnabled": false,
      "vnetName": "",
      "vnetRouteAllEnabled": false,
      "vnetPrivatePortsCount": 0,
      "http20Enabled": false,
      "minTlsVersion": "1.2",
      "scmMinTlsVersion": "1.2",
      "ftpsState": "AllAllowed",
      "functionAppScaleLimit": 0,
      "functionsRuntimeScaleMonitoringEnabled": false,
      "minimumElasticInstanceCount": 0,
      "azureStorageAccounts": {}
    },
    "scmSiteAlsoStopped": false,
    "clientAffinityEnabled": true,
    "clientCertEnabled": false,
    "clientCertMode": "Required",
    "hostNamesDisabled": false,
    "customDomainVerificationId": "7F3BB652450EF7AD0B6AA33064586E4A9CE823A46DF0B2EC6443A68086E84153",
    "outboundIpAddresses": "70.37.102.201,20.225.43.144",
    "possibleOutboundIpAddresses": "70.37.102.201,20.225.43.144,20.225.184.122,20.225.184.188",
    "containerSize": 0,
    "dailyMemoryTimeQuota": 0,
    "resourceGroup": "testrg123",
    "defaultHostName": "sitef6141.azurewebsites.net",
    "httpsOnly": false,
    "redundancyMode": "None",
    "storageAccountRequired": false,
    "keyVaultReferenceIdentity": "SystemAssigned",
    "workloadProfileName": "myd4wp",
    "resourceConfig": {
      "cpu": 1,
      "memory": "2.0Gi"
    }
  }
}

定義

名前 説明
ApiDefinitionInfo

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

ApiManagementConfig

アプリにリンクされた Azure API Management (APIM) 構成。

Authentication

デプロイのためにストレージ アカウントにアクセスするための認証方法。

AuthenticationType

選択したストレージ アカウントにアクセスするための認証の種類を選択するプロパティ。 使用可能なオプション: SystemAssignedIdentity、UserAssignedIdentity、StorageAccountConnectionString。

AutoHealActions

ルールがトリガーされたときに自動修復モジュールによって実行されるアクション。

AutoHealActionType

実行する定義済みのアクション。

AutoHealCustomAction

自動修復ルールがトリガーされたときに実行されるカスタム アクション。

AutoHealRules

自動修復用に定義できるルール。

AutoHealTriggers

自動修復のトリガー。

AzureStorageInfoValue

ディクショナリ ストレージの Azure Files または Blob Storage アクセス情報の値。

AzureStorageProtocol

ストレージ アカウントに使用するマウント プロトコル。

AzureStorageState

ストレージ アカウントの状態。

AzureStorageType

ストレージの種類。

ClientCertMode

これは ClientCertEnabled 設定で構成されます。

  • ClientCertEnabled: false は、ClientCert が無視されていることを意味します。
  • ClientCertEnabled: true と ClientCertMode: Required は ClientCert が必要であることを意味します。
  • ClientCertEnabled: true と ClientCertMode: 省略可能は、ClientCert が省略可能または受け入れ可能であることを意味します。
CloningInfo

複製操作に必要な情報。

ConnectionStringType

データベースの種類。

ConnStringInfo

データベース接続文字列情報。

CorsSettings

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

DaprConfig

アプリ Dapr の構成。

daprLogLevel

Dapr サイドカーのログ レベルを設定します。 使用できる値は、デバッグ、情報、警告、エラーです。 既定値は info です。

DefaultAction

規則が一致しない場合のメイン アクセス制限の既定のアクション。

DefaultErrorResponse

App Service エラー応答。

Details
Error

エラー モデル。

Experiments

運用実験のルーティング 規則。

ExtendedLocation

拡張された場所。

FtpsState

FTP/FTPS サービスの状態

FunctionAppConfig

関数アプリの構成。

FunctionsAlwaysReadyConfig

関数グループまたは特定の関数の 'Always Ready' インスタンスの数を設定します。

FunctionsDeployment

関数アプリのデプロイの構成セクション。

FunctionsDeploymentStorageType

Azure Storage の種類を選択するプロパティ。 使用できるオプション: blobContainer。

FunctionsRuntime

関数アプリのランタイム名とバージョン。

FunctionsScaleAndConcurrency

関数アプリのスケール設定とコンカレンシー設定。

HandlerMapping

特定の拡張機能を使用して HTTP 要求を処理するハンドラーを定義するために使用される IIS ハンドラー マッピング。 たとえば、*.php 拡張子を持つすべての HTTP 要求を処理するように php-cgi.exe プロセスを構成するために使用されます。

HostingEnvironmentProfile

このリソースに使用する App Service Environment の仕様。

HostNameSslState

SSL 対応のホスト名。

HostType

ホスト名が標準ホスト名かリポジトリ ホスト名かを示します。

Http

HTTP トリガーのスケール設定とコンカレンシー設定。

IpFilterTag

この IP フィルターの用途を定義します。 これは、プロキシでの IP フィルター処理をサポートするためです。

IpSecurityRestriction

アプリの IP セキュリティ制限。

ManagedPipelineMode

マネージド パイプライン モード。

ManagedServiceIdentity

マネージド サービス ID。

ManagedServiceIdentityType

マネージド サービス ID の種類。

NameValuePair

名前の値のペア。

PushSettings

アプリのプッシュ設定。

RampUpRule

ランプアップ テストのルーティング規則。 このルールにより、静的トラフィック % をスロットにリダイレクトしたり、パフォーマンスに基づいてルーティング % を徐々に変更したりできます。

RedundancyMode

サイト冗長モード

RequestsBasedTrigger

要求の合計数に基づいてトリガーされます。

ResourceConfig

関数アプリのリソース要件。

RuntimeName

関数アプリのランタイム名。 使用可能なオプション: dotnet-isolated、node、java、powershell、python、custom

ScmType

SCM 型。

Site

Web アプリ、モバイル アプリ バックエンド、または API アプリ。

SiteAvailabilityState

アプリの管理情報の可用性の状態。

SiteConfig

App Service アプリの構成。

SiteDnsConfig
SiteLimits

アプリに設定されているメトリックの制限。

SiteLoadBalancing

サイトの負荷分散。

SiteMachineKey

アプリの MachineKey。

SlotSwapStatus

最後に成功したスロット スワップ操作の状態。

SlowRequestsBasedTrigger

要求の実行時間に基づいてトリガーされます。

SslState

SSL の種類

StatusCodesBasedTrigger

状態コードに基づいてトリガーします。

StatusCodesRangeBasedTrigger

状態コードの範囲に基づいてトリガーします。

Storage

関数アプリによって使用されるデプロイ済みパッケージのストレージ。

SupportedTlsVersions

MinTlsVersion: SSL 要求に必要な TLS の最小バージョンを構成します

TlsCipherSuites

アプリケーションで許可される最小強度 TLS 暗号スイート

Triggers

関数アプリトリガーのスケール設定とコンカレンシー設定。

UsageState

アプリがクォータ使用量を超えたかどうかを示す状態。 読み取り専用。

userAssignedIdentity

ユーザー割り当て ID。

VirtualApplication

アプリ内の仮想アプリケーション。

VirtualDirectory

仮想アプリケーションのディレクトリ。

ApiDefinitionInfo

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

名前 説明
url

string

API 定義の URL。

ApiManagementConfig

アプリにリンクされた Azure API Management (APIM) 構成。

名前 説明
id

string

APIM-Api 識別子。

Authentication

デプロイのためにストレージ アカウントにアクセスするための認証方法。

名前 説明
storageAccountConnectionStringName

string

StorageAccountConnectionString には、このプロパティを使用します。 ストレージ アカウントの接続文字列を持つアプリ設定の名前を設定します。 他の認証の種類を使用する場合は、このプロパティの値を設定しないでください。

type

AuthenticationType

選択したストレージ アカウントにアクセスするための認証の種類を選択するプロパティ。 使用可能なオプション: SystemAssignedIdentity、UserAssignedIdentity、StorageAccountConnectionString。

userAssignedIdentityResourceId

string

UserAssignedIdentity には、このプロパティを使用します。 ID のリソース ID を設定します。 他の認証の種類を使用する場合は、このプロパティの値を設定しないでください。

AuthenticationType

選択したストレージ アカウントにアクセスするための認証の種類を選択するプロパティ。 使用可能なオプション: SystemAssignedIdentity、UserAssignedIdentity、StorageAccountConnectionString。

説明
StorageAccountConnectionString
SystemAssignedIdentity
UserAssignedIdentity

AutoHealActions

ルールがトリガーされたときに自動修復モジュールによって実行されるアクション。

名前 説明
actionType

AutoHealActionType

実行する定義済みのアクション。

customAction

AutoHealCustomAction

実行するカスタム アクション。

minProcessExecutionTime

string

アクションを実行する前にプロセスを実行する必要がある最小時間

AutoHealActionType

実行する定義済みのアクション。

説明
CustomAction
LogEvent
Recycle

AutoHealCustomAction

自動修復ルールがトリガーされたときに実行されるカスタム アクション。

名前 説明
exe

string

実行する実行可能ファイル。

parameters

string

実行可能ファイルのパラメーター。

AutoHealRules

自動修復用に定義できるルール。

名前 説明
actions

AutoHealActions

ルールがトリガーされたときに実行されるアクション。

triggers

AutoHealTriggers

自動修復アクションを実行するタイミングを示す条件。

AutoHealTriggers

自動修復のトリガー。

名前 説明
privateBytesInKB

integer (int32)

プライベート バイトに基づくルール。

requests

RequestsBasedTrigger

要求の合計数に基づくルール。

slowRequests

SlowRequestsBasedTrigger

要求の実行時間に基づくルール。

slowRequestsWithPath

SlowRequestsBasedTrigger[]

パスを持つ複数の低速要求ルールに基づくルール

statusCodes

StatusCodesBasedTrigger[]

状態コードに基づくルール。

statusCodesRange

StatusCodesRangeBasedTrigger[]

状態コードの範囲に基づくルール。

AzureStorageInfoValue

ディクショナリ ストレージの Azure Files または Blob Storage アクセス情報の値。

名前 説明
accessKey

string

ストレージ アカウントのアクセス キー。

accountName

string

ストレージ アカウントの名前。

mountPath

string

サイトのランタイム環境内にストレージをマウントするパス。

protocol

AzureStorageProtocol

ストレージ アカウントに使用するマウント プロトコル。

shareName

string

ファイル共有の名前 (BLOB ストレージの場合はコンテナー名)。

state

AzureStorageState

ストレージ アカウントの状態。

type

AzureStorageType

ストレージの種類。

AzureStorageProtocol

ストレージ アカウントに使用するマウント プロトコル。

説明
Http
Nfs
Smb

AzureStorageState

ストレージ アカウントの状態。

説明
InvalidCredentials
InvalidShare
NotValidated
Ok

AzureStorageType

ストレージの種類。

説明
AzureBlob
AzureFiles

ClientCertMode

これは ClientCertEnabled 設定で構成されます。

  • ClientCertEnabled: false は、ClientCert が無視されていることを意味します。
  • ClientCertEnabled: true と ClientCertMode: Required は ClientCert が必要であることを意味します。
  • ClientCertEnabled: true と ClientCertMode: 省略可能は、ClientCert が省略可能または受け入れ可能であることを意味します。
説明
Optional
OptionalInteractiveUser
Required

CloningInfo

複製操作に必要な情報。

名前 説明
appSettingsOverrides

object

複製されたアプリのアプリケーション設定のオーバーライド。 指定した場合、これらの設定は、ソース アプリから複製された設定をオーバーライドします。 それ以外の場合、ソース アプリのアプリケーション設定は保持されます。

cloneCustomHostNames

boolean

ソース アプリからカスタム ホスト名を複製する true。それ以外の場合は、falseします。

cloneSourceControl

boolean

ソース アプリからソース管理を複製する true。それ以外の場合は、falseします。

configureLoadBalancing

boolean

ソース アプリと移行先アプリの負荷分散を構成する true

correlationId

string (uuid)

複製操作の関連付け ID。 この ID は、同じスナップショットを使用するために複数の複製操作を結び付けます。

hostingEnvironment

string

App Service Environment。

overwrite

boolean

宛先アプリを上書きする true。それ以外の場合は、falseします。

sourceWebAppId

string

ソース アプリの ARM リソース ID。 アプリ リソース ID は、運用スロットの場合は /subscriptions/{subId}/resourceGroupName}/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}、他のスロットの場合は /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} の形式です。

sourceWebAppLocation

string

ソース アプリの場所 (例: 米国西部または北ヨーロッパ)

trafficManagerProfileId

string

使用する Traffic Manager プロファイルの ARM リソース ID (存在する場合)。 Traffic Manager リソース ID は、/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName} の形式です。

trafficManagerProfileName

string

作成する Traffic Manager プロファイルの名前。 これは、Traffic Manager プロファイルがまだ存在しない場合にのみ必要です。

ConnectionStringType

データベースの種類。

説明
ApiHub
Custom
DocDb
EventHub
MySql
NotificationHub
PostgreSQL
RedisCache
SQLAzure
SQLServer
ServiceBus

ConnStringInfo

データベース接続文字列情報。

名前 説明
connectionString

string

接続文字列の値。

name

string

接続文字列の名前。

type

ConnectionStringType

データベースの種類。

CorsSettings

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

名前 説明
allowedOrigins

string[]

クロスオリジン呼び出しを許可するオリジンの一覧を取得または設定します (例: http://example.com:12345)。 "*" を使用してすべてを許可します。

supportCredentials

boolean

資格情報を持つ CORS 要求を許可するかどうかを取得または設定します。 詳細については、https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials を参照してください。

DaprConfig

アプリ Dapr の構成。

名前 規定値 説明
appId

string

Dapr アプリケーション識別子

appPort

integer (int32)

アプリケーションがリッスンしているポートを Dapr に通知します

enableApiLogging

boolean

Dapr サイドカーの API ログ記録を有効にします

enabled

boolean

False

Dapr 側の車が有効かどうかを示すブール値

httpMaxRequestSize

integer (int32)

大きなファイルのアップロードを処理するために、要求本文の http サーバー パラメーターの最大サイズを MB 単位で増やします。 既定値は 4 MB です。

httpReadBufferSize

integer (int32)

マルチ KB ヘッダーを送信するときに処理する http ヘッダー読み取りバッファーの最大サイズ (KB 単位)。 既定値は 65 KB です。

logLevel

daprLogLevel

Dapr サイドカーのログ レベルを設定します。 使用できる値は、デバッグ、情報、警告、エラーです。 既定値は info です。

daprLogLevel

Dapr サイドカーのログ レベルを設定します。 使用できる値は、デバッグ、情報、警告、エラーです。 既定値は info です。

説明
debug
error
info
warn

DefaultAction

規則が一致しない場合のメイン アクセス制限の既定のアクション。

説明
Allow
Deny

DefaultErrorResponse

App Service エラー応答。

名前 説明
error

Error

エラー モデル。

Details

名前 説明
code

string

プログラムによってエラーを識別するための標準化された文字列。

message

string

エラーの詳細な説明とデバッグ情報。

target

string

エラーの詳細な説明とデバッグ情報。

Error

エラー モデル。

名前 説明
code

string

プログラムによってエラーを識別するための標準化された文字列。

details

Details[]

詳細なエラー。

innererror

string

デバッグ エラーの詳細。

message

string

エラーの詳細な説明とデバッグ情報。

target

string

エラーの詳細な説明とデバッグ情報。

Experiments

運用実験のルーティング 規則。

名前 説明
rampUpRules

RampUpRule[]

ランプアップ ルールの一覧。

ExtendedLocation

拡張された場所。

名前 説明
name

string

拡張された場所の名前。

type

string

拡張された場所の種類。

FtpsState

FTP/FTPS サービスの状態

説明
AllAllowed
Disabled
FtpsOnly

FunctionAppConfig

関数アプリの構成。

名前 説明
deployment

FunctionsDeployment

関数アプリのデプロイ構成。

runtime

FunctionsRuntime

関数アプリのランタイム設定。

scaleAndConcurrency

FunctionsScaleAndConcurrency

関数アプリのスケールとコンカレンシーの設定。

FunctionsAlwaysReadyConfig

関数グループまたは特定の関数の 'Always Ready' インスタンスの数を設定します。

名前 説明
instanceCount

integer (int32)

特定の関数グループまたは特定の関数の 'Always Ready' インスタンスの数を設定します。 詳細については、https://aka.ms/flexconsumption/alwaysreadyを参照してください。

name

string

関数グループまたは関数名が必要です。 詳細については、https://aka.ms/flexconsumption/alwaysreadyを参照してください。

FunctionsDeployment

関数アプリのデプロイの構成セクション。

名前 説明
storage

Storage

関数アプリによって使用されるデプロイ済みパッケージのストレージ。

FunctionsDeploymentStorageType

Azure Storage の種類を選択するプロパティ。 使用できるオプション: blobContainer。

説明
blobContainer

FunctionsRuntime

関数アプリのランタイム名とバージョン。

名前 説明
name

RuntimeName

関数アプリのランタイム名。 使用可能なオプション: dotnet-isolated、node、java、powershell、python、custom

version

string

関数アプリのランタイム バージョン。 例: 8 (dotnet 分離の場合)

FunctionsScaleAndConcurrency

関数アプリのスケール設定とコンカレンシー設定。

名前 説明
alwaysReady

FunctionsAlwaysReadyConfig[]

関数アプリの 'Always Ready' 構成。

instanceMemoryMB

integer (int32)

関数アプリの各インスタンスに割り当てられるメモリの量を MB 単位で設定します。 CPU とネットワーク帯域幅は比例して割り当てられます。

maximumInstanceCount

integer (int32)

関数アプリのインスタンスの最大数。

triggers

Triggers

関数アプリトリガーのスケール設定とコンカレンシー設定。

HandlerMapping

特定の拡張機能を使用して HTTP 要求を処理するハンドラーを定義するために使用される IIS ハンドラー マッピング。 たとえば、*.php 拡張子を持つすべての HTTP 要求を処理するように php-cgi.exe プロセスを構成するために使用されます。

名前 説明
arguments

string

スクリプト プロセッサに渡されるコマンド ライン引数。

extension

string

この拡張機能を持つ要求は、指定された FastCGI アプリケーションを使用して処理されます。

scriptProcessor

string

FastCGI アプリケーションへの絶対パス。

HostingEnvironmentProfile

このリソースに使用する App Service Environment の仕様。

名前 説明
id

string

App Service Environment のリソース ID。

name

string

App Service 環境の名前。

type

string

App Service Environment のリソースの種類。

HostNameSslState

SSL 対応のホスト名。

名前 説明
hostType

HostType

ホスト名が標準ホスト名かリポジトリ ホスト名かを示します。

name

string

ホスト名。

sslState

SslState

SSL の種類。

thumbprint

string

SSL 証明書の拇印。

toUpdate

boolean

既存のホスト名を更新するには、true に設定します。

virtualIP

string

IP ベースの SSL が有効になっている場合、ホスト名に割り当てられる仮想 IP アドレス。

HostType

ホスト名が標準ホスト名かリポジトリ ホスト名かを示します。

説明
Repository
Standard

Http

HTTP トリガーのスケール設定とコンカレンシー設定。

名前 説明
perInstanceConcurrency

integer (int32)

インスタンスあたりの同時 HTTP トリガー呼び出しの最大数。

IpFilterTag

この IP フィルターの用途を定義します。 これは、プロキシでの IP フィルター処理をサポートするためです。

説明
Default
ServiceTag
XffProxy

IpSecurityRestriction

アプリの IP セキュリティ制限。

名前 説明
action

string

この IP 範囲のアクセスを許可または拒否します。

description

string

IP 制限規則の説明。

headers

object

IP 制限規則ヘッダー。 X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples)。 一致するロジックは ..

  • プロパティが null または空 (既定値) の場合、すべてのホスト (または不足) が許可されます。
  • 値は、ordinal-ignore-case (ポート番号を除く) を使用して比較されます。
  • サブドメインのワイルドカードは許可されますが、ルート ドメインと一致しません。 たとえば、*.contoso.com はサブドメイン foo.contoso.com と一致しますが、ルート ドメインの contoso.com や複数レベルの foo.bar.contoso.com には一致しません
  • Unicode ホスト名は許可されますが、照合のために Punycode に変換されます。

X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples)。 一致するロジックは ..

  • プロパティが null または空 (既定値) の場合は、転送された for チェーン (または存在しません) が許可されます。
  • チェーン内のアドレス (ポート番号を除く) がプロパティで定義されている CIDR と一致する場合 (コンマ区切り)。

X-Azure-FDID と X-FD-HealthProbe。 一致するロジックは完全一致です。

ipAddress

string

セキュリティ制限が有効な IP アドレス。 純粋な ipv4 アドレス (必要な SubnetMask プロパティ) または ipv4/mask (先頭のビット一致) などの CIDR 表記の形式にすることができます。 CIDR の場合、SubnetMask プロパティを指定しないでください。

name

string

IP 制限規則の名前。

priority

integer (int32)

IP 制限規則の優先順位。

subnetMask

string

制限が有効な IP アドレスの範囲のサブネット マスク。

subnetTrafficTag

integer (int32)

(内部)サブネット トラフィック タグ

tag

IpFilterTag

この IP フィルターの用途を定義します。 これは、プロキシでの IP フィルター処理をサポートするためです。

vnetSubnetResourceId

string

仮想ネットワーク リソース ID

vnetTrafficTag

integer (int32)

(内部)Vnet トラフィック タグ

ManagedPipelineMode

マネージド パイプライン モード。

説明
Classic
Integrated

ManagedServiceIdentity

マネージド サービス ID。

名前 説明
principalId

string

マネージド サービス ID のプリンシパル ID。

tenantId

string

マネージド サービス ID のテナント。

type

ManagedServiceIdentityType

マネージド サービス ID の種類。

userAssignedIdentities

<string,  userAssignedIdentity>

リソースに関連付けられているユーザー割り当て ID の一覧。 ユーザー ID ディクショナリ のキー参照は、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} という形式の ARM リソース ID になります。

ManagedServiceIdentityType

マネージド サービス ID の種類。

説明
None
SystemAssigned
SystemAssigned, UserAssigned
UserAssigned

NameValuePair

名前の値のペア。

名前 説明
name

string

ペア名。

value

string

ペア値。

PushSettings

アプリのプッシュ設定。

名前 説明
id

string

リソース ID。

kind

string

リソースの種類。

name

string

リソース名。

properties.dynamicTagsJson

string

プッシュ登録エンドポイントのユーザー要求から評価される動的タグの一覧を含む JSON 文字列を取得または設定します。

properties.isPushEnabled

boolean

プッシュ エンドポイントが有効かどうかを示すフラグを取得または設定します。

properties.tagWhitelistJson

string

プッシュ登録エンドポイントで使用するためにホワイトリストに登録されているタグの一覧を含む JSON 文字列を取得または設定します。

properties.tagsRequiringAuth

string

プッシュ登録エンドポイントでユーザー認証を使用する必要があるタグの一覧を含む JSON 文字列を取得または設定します。 タグは英数字と、'_'、'@'、'#'、'.'、':'、'-' で構成できます。 検証は PushRequestHandler で実行する必要があります。

type

string

リソースの種類。

RampUpRule

ランプアップ テストのルーティング規則。 このルールにより、静的トラフィック % をスロットにリダイレクトしたり、パフォーマンスに基づいてルーティング % を徐々に変更したりできます。

名前 説明
actionHostName

string

トラフィックがリダイレクトされるスロットのホスト名 (決定した場合)。 例: myapp-stage.azurewebsites.net。

changeDecisionCallbackUrl

string

カスタム決定アルゴリズムは、指定できる URL を TiPCallback サイト拡張機能で提供できます。

changeIntervalInMinutes

integer (int32)

ReroutePercentage を再評価する間隔を分単位で指定します。

changeStep

number (double)

自動ランプアップシナリオでは、これは \nReroutePercentage または MinReroutePercentageに達するまで MaxReroutePercentage から追加/削除する手順です。 サイト メトリックは、ChangeIntervalInMinutesで指定された N 分ごとにチェックされます。\nカスタム決定アルゴリズムは、ChangeDecisionCallbackUrlで指定できる URL を TiPCallback サイト拡張機能で提供できます。

maxReroutePercentage

number (double)

ReroutePercentage を維持する上限を指定します。

minReroutePercentage

number (double)

ReroutePercentage が維持される下限を指定します。

name

string

ルーティング規則の名前。 推奨される名前は、実験のトラフィックを受信するスロットを指すように設定します。

reroutePercentage

number (double)

ActionHostNameにリダイレクトされるトラフィックの割合。

RedundancyMode

サイト冗長モード

説明
ActiveActive
Failover
GeoRedundant
Manual
None

RequestsBasedTrigger

要求の合計数に基づいてトリガーされます。

名前 説明
count

integer (int32)

要求数。

timeInterval

string

時間間隔。

ResourceConfig

関数アプリのリソース要件。

名前 説明
cpu

number (double)

コアで必要な CPU (例: 0.5)

memory

string

必要なメモリ (例: "1Gi" )

RuntimeName

関数アプリのランタイム名。 使用可能なオプション: dotnet-isolated、node、java、powershell、python、custom

説明
custom
dotnet-isolated
java
node
powershell
python

ScmType

SCM 型。

説明
BitbucketGit
BitbucketHg
CodePlexGit
CodePlexHg
Dropbox
ExternalGit
ExternalHg
GitHub
LocalGit
None
OneDrive
Tfs
VSO
VSTSRM

Site

Web アプリ、モバイル アプリ バックエンド、または API アプリ。

名前 規定値 説明
extendedLocation

ExtendedLocation

拡張された場所。

id

string

リソース ID。

identity

ManagedServiceIdentity

マネージド サービス ID。

kind

string

リソースの種類。

location

string

リソースの場所。

name

string

リソース名。

properties.availabilityState

SiteAvailabilityState

アプリの管理情報の可用性の状態。

properties.clientAffinityEnabled

boolean

クライアント アフィニティを有効にする true。セッション アフィニティ Cookie の送信を停止する false、同じセッション内のクライアント要求を同じインスタンスにルーティングします。 既定値は trueです。

properties.clientCertEnabled

boolean

クライアント証明書認証 (TLS 相互認証) を有効にする true。それ以外の場合は、falseします。 既定値は falseです。

properties.clientCertExclusionPaths

string

クライアント証明書認証のコンマ区切り除外パス

properties.clientCertMode

ClientCertMode

これは ClientCertEnabled 設定で構成されます。

  • ClientCertEnabled: false は、ClientCert が無視されていることを意味します。
  • ClientCertEnabled: true と ClientCertMode: Required は ClientCert が必要であることを意味します。
  • ClientCertEnabled: true と ClientCertMode: 省略可能は、ClientCert が省略可能または受け入れ可能であることを意味します。
properties.cloningInfo

CloningInfo

アプリの作成時に指定した場合、アプリはソース アプリから複製されます。

properties.containerSize

integer (int32)

関数コンテナーのサイズ。

properties.customDomainVerificationId

string

アプリに割り当てられているカスタム ドメインを検証する一意の識別子。 お客様は、確認のためにこの ID を txt レコードに追加します。

properties.dailyMemoryTimeQuota

integer (int32)

1 日に許可される最大メモリ時間クォータ (動的アプリにのみ適用されます)。

properties.daprConfig

DaprConfig

アプリの Dapr 構成。

properties.defaultHostName

string

アプリの既定のホスト名。 読み取り専用。

properties.dnsConfiguration

SiteDnsConfig

サイトのさまざまな DNS 関連設定を構成するプロパティ。

properties.enabled

boolean

アプリが有効になっているかどうかを true します。それ以外の場合は、falseします。 この値を false に設定すると、アプリが無効になります (アプリはオフラインになります)。

properties.enabledHostNames

string[]

アプリのホスト名を有効にしました。ホスト名を割り当てる必要があります (HostNames を参照) AND を有効にします。 それ以外の場合、アプリはそれらのホスト名では提供されません。

properties.endToEndEncryptionEnabled

boolean

フロントエンドと Worker の間でエンド ツー エンド暗号化を使用するかどうか

properties.functionAppConfig

FunctionAppConfig

Azure 関数アプリに固有の構成。

properties.hostNameSslStates

HostNameSslState[]

ホスト名の SSL 状態は、アプリのホスト名の SSL バインドを管理するために使用されます。

properties.hostNames

string[]

アプリに関連付けられているホスト名。

properties.hostNamesDisabled

boolean

アプリのパブリック ホスト名を無効にする true。それ以外の場合は、falseします。 true場合、アプリは API 管理プロセス経由でのみアクセスできます。

properties.hostingEnvironmentProfile

HostingEnvironmentProfile

アプリに使用する App Service Environment。

properties.httpsOnly

boolean

HttpsOnly: https 要求のみを受け入れるように Web サイトを構成します。 http 要求のリダイレクトに関する問題

properties.hyperV

boolean

False

サンドボックス Hyper-V。

properties.inProgressOperationId

string (uuid)

このサイトに保留中の操作がある場合は、操作 ID を指定します。

properties.isDefaultContainer

boolean

アプリが既定のコンテナーであるかどうかを true します。それ以外の場合は、falseします。

properties.isXenon

boolean

False

現在は使用されていません:サンドボックス Hyper-V。

properties.keyVaultReferenceIdentity

string

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

properties.lastModifiedTimeUtc

string (date-time)

アプリが最後に変更された時刻 (UTC)。 読み取り専用。

properties.managedEnvironmentId

string

このアプリをホストする、顧客が選択したマネージド環境の Azure Resource Manager ID。 これは、/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName} の形式である必要があります。

properties.maxNumberOfWorkers

integer (int32)

ワーカーの最大数。 これは Functions コンテナーにのみ適用されます。

properties.outboundIpAddresses

string

アプリが送信接続に使用する IP アドレスの一覧 (データベース アクセスなど)。 現在の設定でサイトをホストできるテナントの VIP が含まれます。 読み取り専用。

properties.possibleOutboundIpAddresses

string

アプリが送信接続に使用する IP アドレスの一覧 (データベース アクセスなど)。 dataComponent を除くすべてのテナントの VIP が含まれます。 読み取り専用。

properties.publicNetworkAccess

string

すべてのパブリック トラフィックを許可またはブロックするプロパティ。 使用できる値: 'Enabled'、'Disabled'、または空の文字列。

properties.redundancyMode

RedundancyMode

サイト冗長モード

properties.repositorySiteName

string

リポジトリ サイトの名前。

properties.reserved

boolean

False

予約されている場合は true。それ以外の場合は、falseします。

properties.resourceConfig

ResourceConfig

関数アプリのリソース要件。

properties.resourceGroup

string

アプリが属するリソース グループの名前。 読み取り専用。

properties.scmSiteAlsoStopped

boolean

False

アプリが停止したときに SCM (KUDU) サイトを停止する true。それ以外の場合は、falseします。 既定値は falseです。

properties.serverFarmId

string

関連付けられた App Service プランのリソース ID。"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}" という形式です。

properties.siteConfig

SiteConfig

アプリの構成。

properties.slotSwapStatus

SlotSwapStatus

最後のデプロイ スロットスワップ操作の状態。

properties.state

string

アプリの現在の状態。

properties.storageAccountRequired

boolean

お客様が指定したストレージ アカウントが必要かどうかを確認します

properties.suspendedTill

string (date-time)

メモリ時間クォータを超えた場合に備え、アプリは中断されます。

properties.targetSwapSlot

string

このアプリがスワップするデプロイ スロットを指定します。 読み取り専用。

properties.trafficManagerHostNames

string[]

アプリに関連付けられている Azure Traffic Manager のホスト名。 読み取り専用。

properties.usageState

UsageState

アプリがクォータ使用量を超えたかどうかを示す状態。 読み取り専用。

properties.virtualNetworkSubnetId

string

リージョン VNET 統合によって参加する仮想ネットワークとサブネットの Azure Resource Manager ID。 これは、/subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} の形式である必要があります。

properties.vnetBackupRestoreEnabled

boolean

仮想ネットワーク経由でバックアップ操作と復元操作を有効にするには

properties.vnetContentShareEnabled

boolean

仮想ネットワーク経由でコンテンツへのアクセスを有効にするには

properties.vnetImagePullEnabled

boolean

Virtual Network 経由でイメージのプルを有効にするには

properties.vnetRouteAllEnabled

boolean

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

properties.workloadProfileName

string

実行する関数アプリのワークロード プロファイル名。

tags

object

リソース タグ。

type

string

リソースの種類。

SiteAvailabilityState

アプリの管理情報の可用性の状態。

説明
DisasterRecoveryMode
Limited
Normal

SiteConfig

App Service アプリの構成。

名前 規定値 説明
acrUseManagedIdentityCreds

boolean

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

acrUserManagedIdentityID

string

ユーザー マネージド ID を使用している場合、ユーザー マネージド ID ClientId

alwaysOn

boolean

Always On が有効になっている場合に true します。それ以外の場合は、falseします。

apiDefinition

ApiDefinitionInfo

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

apiManagementConfig

ApiManagementConfig

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

appCommandLine

string

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

appSettings

NameValuePair[]

アプリケーションの設定。

autoHealEnabled

boolean

自動修復が有効になっている場合に true;それ以外の場合は、falseします。

autoHealRules

AutoHealRules

自動修復ルール。

autoSwapSlotName

string

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

azureStorageAccounts

<string,  AzureStorageInfoValue>

Azure ストレージ アカウントの一覧。

connectionStrings

ConnStringInfo[]

接続文字列。

cors

CorsSettings

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

defaultDocuments

string[]

既定のドキュメント。

detailedErrorLoggingEnabled

boolean

詳細なエラー ログが有効になっている場合に true します。それ以外の場合は、falseします。

documentRoot

string

ドキュメント ルート。

elasticWebAppScaleLimit

integer (int32)

minimum: 0

サイトがスケールアウトできるワーカーの最大数。 この設定は、ElasticScaleEnabled が true されているプラン内のアプリにのみ適用されます

experiments

Experiments

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

ftpsState

FtpsState

FTP/FTPS サービスの状態

functionAppScaleLimit

integer (int32)

minimum: 0

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

functionsRuntimeScaleMonitoringEnabled

boolean

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

handlerMappings

HandlerMapping[]

ハンドラー マッピング。

healthCheckPath

string

正常性チェック パス

http20Enabled

boolean

True

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

httpLoggingEnabled

boolean

HTTP ログが有効になっているかどうかを true します。それ以外の場合は、falseします。

ipSecurityRestrictions

IpSecurityRestriction[]

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

ipSecurityRestrictionsDefaultAction

DefaultAction

規則が一致しない場合のメイン アクセス制限の既定のアクション。

javaContainer

string

Java コンテナー。

javaContainerVersion

string

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

javaVersion

string

Java バージョン。

keyVaultReferenceIdentity

string

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

limits

SiteLimits

サイトの制限。

linuxFxVersion

string

Linux App Framework とバージョン

loadBalancing

SiteLoadBalancing

サイトの負荷分散。

localMySqlEnabled

boolean

False

ローカル MySQL を有効にする true。それ以外の場合は、falseします。

logsDirectorySizeLimit

integer (int32)

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

machineKey

SiteMachineKey

Site MachineKey。

managedPipelineMode

ManagedPipelineMode

マネージド パイプライン モード。

managedServiceIdentityId

integer (int32)

マネージド サービス ID

metadata

NameValuePair[]

アプリケーション メタデータ。 このプロパティはシークレットを含む可能性があるため、取得できません。

minTlsCipherSuite

TlsCipherSuites

アプリケーションで許可される最小強度 TLS 暗号スイート

minTlsVersion

SupportedTlsVersions

MinTlsVersion: SSL 要求に必要な TLS の最小バージョンを構成します

minimumElasticInstanceCount

integer (int32)

minimum: 0
maximum: 20

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

netFrameworkVersion

string

v4.6

.NET Framework のバージョン。

nodeVersion

string

Node.jsのバージョン。

numberOfWorkers

integer (int32)

ワーカーの数。

phpVersion

string

PHP のバージョン。

powerShellVersion

string

PowerShell のバージョン。

preWarmedInstanceCount

integer (int32)

minimum: 0
maximum: 10

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

publicNetworkAccess

string

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

publishingUsername

string

ユーザー名の発行。

push

PushSettings

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

pythonVersion

string

Python のバージョン。

remoteDebuggingEnabled

boolean

リモート デバッグが有効になっている場合に true します。それ以外の場合は、falseします。

remoteDebuggingVersion

string

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

requestTracingEnabled

boolean

要求トレースが有効になっている場合に true します。それ以外の場合は、falseします。

requestTracingExpirationTime

string (date-time)

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

scmIpSecurityRestrictions

IpSecurityRestriction[]

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

scmIpSecurityRestrictionsDefaultAction

DefaultAction

規則が一致しない場合の scm アクセス制限の既定のアクション。

scmIpSecurityRestrictionsUseMain

boolean

scm で main を使用するための IP セキュリティ制限。

scmMinTlsVersion

SupportedTlsVersions

ScmMinTlsVersion: SCM サイトの SSL 要求に必要な TLS の最小バージョンを構成します

scmType

ScmType

SCM 型。

tracingOptions

string

トレース オプション。

use32BitWorkerProcess

boolean

32 ビットワーカー プロセスを使用する true。それ以外の場合は、falseします。

virtualApplications

VirtualApplication[]

仮想アプリケーション。

vnetName

string

仮想ネットワーク名。

vnetPrivatePortsCount

integer (int32)

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

vnetRouteAllEnabled

boolean

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

webSocketsEnabled

boolean

WebSocket が有効になっているかどうかを true します。それ以外の場合は、falseします。

websiteTimeZone

string

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

windowsFxVersion

string

Xenon App Framework とバージョン

xManagedServiceIdentityId

integer (int32)

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

SiteDnsConfig

名前 説明
dnsAltServer

string

アプリで使用される代替 DNS サーバー。 このプロパティは、WEBSITE_DNS_ALT_SERVER アプリ設定をレプリケートします。

dnsLegacySortOrder

boolean

仮想ネットワーク カスタム DNS サーバーを使用しているサイトが引き続き DNS サーバーの一覧を並べ替っていることを示します。 読み取り専用。

dnsMaxCacheTimeout

integer (int32)

DNS が数秒でキャッシュされるカスタム時間。 使用できる範囲: 0 ~ 60。 既定値は 30 秒です。 0 はキャッシュが無効を意味します。

dnsRetryAttemptCount

integer (int32)

DNS 参照の再試行の合計数。 使用できる範囲: 1 ~ 5。 既定値は 3 です。

dnsRetryAttemptTimeout

integer (int32)

1 回の DNS 参照のタイムアウト (秒単位)。 使用できる範囲: 1 ~ 30。 既定値は 3 です。

dnsServers

string[]

アプリが参照に使用するカスタム DNS サーバーの一覧。 最大 5 つの DNS サーバーを設定できます。

SiteLimits

アプリに設定されているメトリックの制限。

名前 説明
maxDiskSizeInMb

integer (int64)

許容されるディスク サイズの最大使用量 (MB)。

maxMemoryInMb

integer (int64)

許容されるメモリ使用量の最大値 (MB)。

maxPercentageCpu

number (double)

許容される CPU 使用率の最大値。

SiteLoadBalancing

サイトの負荷分散。

説明
LeastRequests
LeastResponseTime
PerSiteRoundRobin
RequestHash
WeightedRoundRobin
WeightedTotalTraffic

SiteMachineKey

アプリの MachineKey。

名前 説明
decryption

string

復号化に使用されるアルゴリズム。

decryptionKey

string

復号化キー。

validation

string

MachineKey 検証。

validationKey

string

検証キー。

SlotSwapStatus

最後に成功したスロット スワップ操作の状態。

名前 説明
destinationSlotName

string

最後のスワップ操作の宛先スロット。

sourceSlotName

string

最後のスワップ操作のソース スロット。

timestampUtc

string (date-time)

最後に成功したスロット スワップが完了した時刻。

SlowRequestsBasedTrigger

要求の実行時間に基づいてトリガーされます。

名前 説明
count

integer (int32)

要求数。

path

string

要求パス。

timeInterval

string

時間間隔。

timeTaken

string

所要時間。

SslState

SSL の種類

説明
Disabled
IpBasedEnabled
SniEnabled

StatusCodesBasedTrigger

状態コードに基づいてトリガーします。

名前 説明
count

integer (int32)

要求数。

path

string

要求パス

status

integer (int32)

HTTP 状態コード。

subStatus

integer (int32)

要求サブの状態。

timeInterval

string

時間間隔。

win32Status

integer (int32)

Win32 エラー コード。

StatusCodesRangeBasedTrigger

状態コードの範囲に基づいてトリガーします。

名前 説明
count

integer (int32)

要求数。

path

string

statusCodes

string

HTTP 状態コード。

timeInterval

string

時間間隔。

Storage

関数アプリによって使用されるデプロイ済みパッケージのストレージ。

名前 説明
authentication

Authentication

デプロイのためにストレージ アカウントにアクセスするための認証方法。

type

FunctionsDeploymentStorageType

Azure Storage の種類を選択するプロパティ。 使用できるオプション: blobContainer。

value

string (uri)

選択した Azure Storage の種類の URL を設定するプロパティ。 例: blobContainer の場合、値は https://.blob.core.windows.net/.

SupportedTlsVersions

MinTlsVersion: SSL 要求に必要な TLS の最小バージョンを構成します

説明
1.0
1.1
1.2
1.3

TlsCipherSuites

アプリケーションで許可される最小強度 TLS 暗号スイート

説明
TLS_AES_128_GCM_SHA256
TLS_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_128_CBC_SHA256
TLS_RSA_WITH_AES_128_GCM_SHA256
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA256
TLS_RSA_WITH_AES_256_GCM_SHA384

Triggers

関数アプリトリガーのスケール設定とコンカレンシー設定。

名前 説明
http

Http

HTTP トリガーのスケール設定とコンカレンシー設定。

UsageState

アプリがクォータ使用量を超えたかどうかを示す状態。 読み取り専用。

説明
Exceeded
Normal

userAssignedIdentity

ユーザー割り当て ID。

名前 説明
clientId

string

ユーザー割り当て ID のクライアント ID

principalId

string

ユーザー割り当て ID のプリンシパル ID

VirtualApplication

アプリ内の仮想アプリケーション。

名前 説明
physicalPath

string

物理パス。

preloadEnabled

boolean

プリロードが有効になっている場合の true。それ以外の場合は、falseします。

virtualDirectories

VirtualDirectory[]

仮想アプリケーションの仮想ディレクトリ。

virtualPath

string

仮想パス。

VirtualDirectory

仮想アプリケーションのディレクトリ。

名前 説明
physicalPath

string

物理パス。

virtualPath

string

仮想アプリケーションへのパス。