Microsoft.Web sites/slots/config 2015-08-01
Bicep リソース定義
サイト/スロット/構成リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの 参照してください。
リソースの形式
Microsoft.Web/sites/slots/config リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Web/sites/slots/config@2015-08-01' = {
name: 'string'
// For remaining properties, see microsoft.web/sites/slots/config objects
}
microsoft.web/sites/slots/config オブジェクト
名 プロパティを設定して、オブジェクトの種類を指定します。
Webの場合は、次を使用します。
{
kind: 'string'
location: 'string'
name: 'web'
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'
}
}
appsettingsの場合は、次を使用します。
{
kind: 'string'
location: 'string'
name: 'appsettings'
properties: {
{customized property}: 'string'
}
tags: {
{customized property}: 'string'
}
}
connectionstringsの場合は、次の値を使用します。
{
kind: 'string'
location: 'string'
name: 'connectionstrings'
properties: {
{customized property}: {
type: 'string'
value: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
認証の場合は、次を使用します。
{
aadClientId: 'string'
additionalLoginParams: [
'string'
]
allowedAudiences: [
'string'
]
allowedExternalRedirectUrls: [
'string'
]
clientId: 'string'
clientSecret: 'string'
defaultProvider: 'string'
enabled: bool
facebookAppId: 'string'
facebookAppSecret: 'string'
facebookOAuthScopes: [
'string'
]
googleClientId: 'string'
googleClientSecret: 'string'
googleOAuthScopes: [
'string'
]
httpApiPrefixPath: 'string'
issuer: 'string'
microsoftAccountClientId: 'string'
microsoftAccountClientSecret: 'string'
microsoftAccountOAuthScopes: [
'string'
]
name: 'authsettings'
openIdIssuer: 'string'
tokenRefreshExtensionHours: int
tokenStoreEnabled: bool
twitterConsumerKey: 'string'
twitterConsumerSecret: 'string'
unauthenticatedClientAction: 'string'
}
メタデータの場合は、次を使用します。
{
kind: 'string'
location: 'string'
name: 'metadata'
properties: {
{customized property}: 'string'
}
tags: {
{customized property}: 'string'
}
}
ログの場合は、次を使用します。
{
kind: 'string'
location: 'string'
name: 'logs'
properties: {
applicationLogs: {
azureBlobStorage: {
level: 'string'
retentionInDays: int
sasUrl: 'string'
}
azureTableStorage: {
level: 'string'
sasUrl: 'string'
}
fileSystem: {
level: 'string'
}
}
detailedErrorMessages: {
enabled: bool
}
failedRequestsTracing: {
enabled: bool
}
httpLogs: {
azureBlobStorage: {
enabled: bool
retentionInDays: int
sasUrl: 'string'
}
fileSystem: {
enabled: bool
retentionInDays: int
retentionInMb: int
}
}
}
tags: {
{customized property}: 'string'
}
}
バックアップの場合は、次を使用します。
{
kind: 'string'
location: 'string'
name: 'backup'
properties: {
backupSchedule: {
frequencyInterval: int
frequencyUnit: 'string'
keepAtLeastOneBackup: bool
lastExecutionTime: 'string'
retentionPeriodInDays: int
startTime: 'string'
}
databases: [
{
connectionString: 'string'
connectionStringName: 'string'
databaseType: 'string'
name: 'string'
}
]
enabled: bool
name: 'string'
storageAccountUrl: 'string'
type: 'string'
}
tags: {
{customized property}: 'string'
}
}
プロパティ値
ApiDefinitionInfo
名前 | 形容 | 価値 |
---|---|---|
url | API 定義の URL。 | 糸 |
ApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
azureBlobStorage | BLOB ストレージ構成へのアプリケーション ログ | AzureBlobStorageApplicationLogsConfig |
azureTableStorage | Azure Table Storage の構成に対するアプリケーション ログ | AzureTableStorageApplicationLogsConfig |
fileSystem | ファイル システム構成へのアプリケーション ログ | FileSystemApplicationLogsConfig の |
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[] |
AzureBlobStorageApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
retentionInDays | リテンション期間 (日数)。 X 日より前の BLOB を削除します。 0 以下は、保持がないことを意味します。 |
int |
sasUrl | 読み取り/書き込み/リスト/削除のアクセス許可を持つ Azure BLOB コンテナーへの SAS URL | 糸 |
AzureBlobStorageHttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
retentionInDays | リテンション期間 (日数)。 X 日より前の BLOB を削除します。 0 以下は、保持がないことを意味します。 |
int |
sasUrl | 読み取り/書き込み/リスト/削除のアクセス許可を持つ Azure BLOB コンテナーへの SAS URL | 糸 |
AzureTableStorageApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
sasUrl | 追加/クエリ/削除アクセス許可を持つ Azure テーブルへの SAS URL | 糸 |
BackupRequestProperties
名前 | 形容 | 価値 |
---|---|---|
backupSchedule | バックアップが定期的に実行される場合のスケジュール | BackupSchedule |
データベース | バックアップに含まれるデータベース | DatabaseBackupSetting[] |
有効 | バックアップ スケジュールが有効になっている場合は True (その場合は含める必要があります)、バックアップ スケジュールを無効にする必要がある場合は false | bool |
名前 | バックアップの名前 | 糸 |
storageAccountUrl | コンテナーへの SAS URL | 糸 |
種類 | バックアップの種類 | 'Clone' 'Default' '再配置' (必須) |
BackupSchedule
名前 | 形容 | 価値 |
---|---|---|
frequencyInterval | バックアップを実行する頻度 (たとえば、毎週のバックアップの場合は 7 に、FrequencyUnit を Day に設定する必要があります) | int |
frequencyUnit | バックアップを実行する頻度 (たとえば、毎週のバックアップの場合は Day に設定し、FrequencyInterval を 7 に設定する必要があります) | 'Day' 'Hour' (必須) |
keepAtLeastOneBackup | True の 場合、保持ポリシーは常にストレージ アカウント内の少なくとも 1 つのバックアップを保持する必要があります、古いかどうかに関係なく。それ以外の場合は false。 | bool |
lastExecutionTime | このスケジュールが最後にトリガーされた時刻 | 糸 |
retentionPeriodInDays | バックアップを削除する日数が経過した後 | int |
startTime | スケジュールが動作を開始するタイミング | 糸 |
ConnectionStringDictionaryProperties
名前 | 形容 | 価値 |
---|
ConnStringInfo
名前 | 形容 | 価値 |
---|---|---|
connectionString | 接続文字列の値 | 糸 |
名前 | 接続文字列の名前 | 糸 |
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
ConnStringValueTypePair
名前 | 形容 | 価値 |
---|---|---|
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
価値 | ペアの値 | 糸 |
CorsSettings
名前 | 形容 | 価値 |
---|---|---|
allowedOrigins | クロスオリジンを許可するオリジンの一覧を取得または設定します。 呼び出し (例: http://example.com:12345)。 "*" を使用してすべてを許可します。 |
string[] |
DatabaseBackupSetting
名前 | 形容 | 価値 |
---|---|---|
connectionString | バックアップ/復元中のデータベースへの接続文字列を格納します。 復元が新しいデータベースに対して行われる場合、内部のデータベース名は新しいデータベース名になります。 | 糸 |
connectionStringName | SiteConfig.ConnectionStrings にリンクされている接続文字列名が含まれています。 これは、接続文字列の上書きオプションを使用して復元中に使用されます。 |
糸 |
databaseType | SqlAzure /MySql | 糸 |
名前 | 糸 |
EnabledConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
実験
名前 | 形容 | 価値 |
---|---|---|
rampUpRules | {Microsoft.Web.Hosting.Administration.RampUpRule} オブジェクトの一覧。 | RampUpRule[] |
FileSystemApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
FileSystemHttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
retentionInDays | リテンション期間 (日数)。 X 日より前のファイルを削除します。 0 以下は、保持がないことを意味します。 |
int |
retentionInMb | http ログ ファイルで使用できる最大サイズ (メガバイト単位)。 古いログ ファイルに達すると、新しいログ ファイル用の領域を作成するために削除されます。 値の範囲は 25 ~ 100 です。 |
int |
HandlerMapping
名前 | 形容 | 価値 |
---|---|---|
引数 | スクリプト プロセッサに渡されるコマンド ライン引数。 | 糸 |
延長 | この拡張機能を持つ要求は、指定された FastCGI アプリケーションを使用して処理されます。 | 糸 |
scriptProcessor | FastCGI アプリケーションへの絶対パス。 | 糸 |
HttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
azureBlobStorage | Azure BLOB ストレージ構成への Http ログ | AzureBlobStorageHttpLogsConfig |
fileSystem | ファイル システム構成への Http ログ | FileSystemHttpLogsConfig の |
IpSecurityRestriction
名前 | 形容 | 価値 |
---|---|---|
ipAddress | セキュリティ制限が有効な IP アドレス | 糸 |
subnetMask | 制限が有効な IP アドレスの範囲のサブネット マスク | 糸 |
microsoft.web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
名前 | Microsoft.Web/sites/slots/config 種類として 'web' に設定します。型 Microsoft.Web/sites/slots/configの 'appsettings' に設定します。型 Microsoft.Web/sites/slots/configの 'connectionstrings' に設定します。Microsoft.Web/sites/slots/config の種類'authsettings' に設定します。Microsoft.Web/sites/slots/config 型の 'metadata' に設定します。Microsoft.Web/sites/slots/config の種類'logs' に設定します。Microsoft.Web/sites/slots/config の種類'backup' に設定します。 | 'appsettings' 'authsettings' 'backup' 'connectionstrings' 'logs' 'metadata' 'web' (必須) |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'web' (必須) |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: サイト/スロット |
プロパティ | SiteConfigProperties の | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'appsettings' (必須) |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: サイト/スロット |
プロパティ | 設定 | StringDictionaryProperties |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'connectionstrings' (必須) |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: サイト/スロット |
プロパティ | 接続文字列 | ConnectionStringDictionaryProperties の |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
aadClientId | 糸 | |
additionalLoginParams | OpenID Connect 承認エンドポイントに送信するログイン パラメーターの一覧を取得または設定します。 ユーザーがログインします。 各パラメーターは、"key=value" の形式である必要があります。 |
string[] |
allowedAudiences | によって発行された JWT を検証するときに考慮する対象ユーザーの値の一覧を取得または設定します。 Azure Active Directory。 {Microsoft.Web.Hosting.Administration.SiteAuthSettings.ClientId} 値は常に この設定に関係なく、許可された対象ユーザー。 |
string[] |
allowedExternalRedirectUrls | ログインの一部としてリダイレクトできる外部 URL のコレクションを取得または設定します。 または Web アプリからログアウトします。 URL のクエリ文字列部分は無視されることに注意してください。 これは、通常、Windows ストア アプリケーション バックエンドでのみ必要な詳細設定です。 現在のドメイン内の URL は常に暗黙的に許可されることに注意してください。 |
string[] |
clientId | client_idと呼ばれる、この証明書利用者アプリケーションのクライアント ID を取得または設定します。 この設定は、Azure Active Directory または 他のサードパーティの OpenID Connect プロバイダー。 OpenID Connect の詳細: http://openid.net/specs/openid-connect-core-1_0.html |
糸 |
clientSecret | この証明書利用者アプリケーションのクライアント シークレットを取得または設定します (Azure Active Directory では、これはキーとも呼ばれます)。 この設定は省略可能です。 クライアント シークレットが構成されていない場合は、OpenID Connect の暗黙的な認証フローを使用してエンド ユーザーを認証します。 それ以外の場合は、OpenID Connect 承認コード フローを使用してエンド ユーザーを認証します。 OpenID Connect の詳細: http://openid.net/specs/openid-connect-core-1_0.html |
糸 |
defaultProvider | 複数のプロバイダーを構成するときに使用する既定の認証プロバイダーを取得または設定します。 この設定は、複数のプロバイダーが構成され、認証されていないクライアントが構成されている場合にのみ必要です。 action が "RedirectToLoginPage" に設定されています。 |
'AzureActiveDirectory' 'Facebook' 'Google' 'MicrosoftAccount' 'Twitter' |
有効 | 現在のアプリに対して認証/承認機能が有効かどうかを示す値を取得または設定します。 | bool |
facebookAppId | ログインに使用する Facebook アプリのアプリ ID を取得または設定します。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
糸 |
facebookAppSecret | Facebook ログインに使用される Facebook アプリのアプリ シークレットを取得または設定します。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
糸 |
facebookOAuthScopes | Facebook ログイン認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
string[] |
googleClientId | Google Web アプリケーションの OpenID Connect クライアント ID を取得または設定します。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
糸 |
googleClientSecret | Google Web アプリケーションに関連付けられているクライアント シークレットを取得または設定します。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
糸 |
googleOAuthScopes | Google Sign-In 認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 指定しない場合、"openid"、"profile"、および "email" が既定のスコープとして使用されます。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
string[] |
httpApiPrefixPath | プラットフォーム HTTP API で使用される相対パス プレフィックスを取得または設定します。 互換性の理由を除き、この値を変更することはお勧めしません。 |
糸 |
発行者 | このアプリケーションのアクセス トークンを発行するエンティティを表す OpenID Connect 発行者 URI を取得または設定します。 Azure Active Directory を使用する場合、この値はディレクトリ テナントの URI です (例: https://sts.windows.net/{tenant-guid}/ )。この URI は、トークン発行者の大文字と小文字を区別する識別子です。 OpenID Connect Discovery の詳細: http://openid.net/specs/openid-connect-discovery-1_0.html |
糸 |
microsoftAccountClientId | 認証に使用するアプリ用に作成された OAuth 2.0 クライアント ID を取得または設定します。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm |
糸 |
microsoftAccountClientSecret | 認証に使用するアプリ用に作成された OAuth 2.0 クライアント シークレットを取得または設定します。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm |
糸 |
microsoftAccountOAuthScopes | Microsoft アカウント認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 指定しない場合は、既定のスコープとして "wl.basic" が使用されます。 Microsoft アカウントのスコープとアクセス許可に関するドキュメント: https://msdn.microsoft.com/en-us/library/dn631845.aspx |
string[] |
名前 | リソース名 | 'authsettings' (必須) |
openIdIssuer | 糸 | |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: サイト/スロット |
tokenRefreshExtensionHours | セッション トークンを使用してセッション トークンを使用できる時間を取得または設定します。 トークン更新 API を呼び出します。 既定値は 72 時間です。 |
int |
tokenStoreEnabled | プラットフォーム固有のセキュリティ トークンを永続的に格納するかどうかを示す値を取得または設定します。 ログイン フロー中に取得されます。 この機能は既定で無効になっています。 |
bool |
twitterConsumerKey | サインインに使用する Twitter アプリケーションの OAuth 1.0a コンシューマー キーを取得または設定します。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-In ドキュメント: https://dev.twitter.com/web/sign-in |
糸 |
twitterConsumerSecret | サインインに使用される Twitter アプリケーションの OAuth 1.0a コンシューマー シークレットを取得または設定します。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-In ドキュメント: https://dev.twitter.com/web/sign-in |
糸 |
unauthenticatedClientAction | 認証されていないクライアントがアプリにアクセスしようとしたときに実行するアクションを取得または設定します。 | 'AllowAnonymous' 'RedirectToLoginPage' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'metadata' (必須) |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: サイト/スロット |
プロパティ | 設定 | StringDictionaryProperties |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'logs' (必須) |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: サイト/スロット |
プロパティ | SiteLogsConfigProperties の | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'backup' (必須) |
親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソース の外部子リソース」を参照してください。 |
種類のリソースのシンボリック名: サイト/スロット |
プロパティ | BackupRequestProperties | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
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
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
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 |
SiteLogsConfigProperties
名前 | 形容 | 価値 |
---|---|---|
applicationLogs | アプリケーション ログの構成 | ApplicationLogsConfig の |
detailedErrorMessages | 詳細なエラー メッセージの構成 | EnabledConfig の |
failedRequestsTracing | 失敗した要求のトレース構成 | EnabledConfig の |
httpLogs | Http ログの構成 | HttpLogsConfig の |
SlowRequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
timeTaken | TimeTaken | 糸 |
StatusCodesBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
地位 | HTTP 状態コード | int |
subStatus | SubStatus | int |
timeInterval | TimeInterval | 糸 |
win32Status | Win32 エラー コード | int |
StringDictionaryProperties
名前 | 形容 | 価値 |
---|
StringDictionaryProperties
名前 | 形容 | 価値 |
---|
VirtualApplication
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
preloadEnabled | bool | |
virtualDirectories | VirtualDirectory[] | |
virtualPath | 糸 |
VirtualDirectory
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
virtualPath | 糸 |
ARM テンプレート リソース定義
サイト/スロット/構成リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの 参照してください。
リソースの形式
Microsoft.Web/sites/slots/config リソースを作成するには、次の JSON をテンプレートに追加します。
{
"name": "string"
// For remaining properties, see microsoft.web/sites/slots/config objects
}
microsoft.web/sites/slots/config オブジェクト
名 プロパティを設定して、オブジェクトの種類を指定します。
Webの場合は、次を使用します。
{
"kind": "string",
"location": "string",
"name": "web",
"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"
}
}
appsettingsの場合は、次を使用します。
{
"kind": "string",
"location": "string",
"name": "appsettings",
"properties": {
"{customized property}": "string"
},
"tags": {
"{customized property}": "string"
}
}
connectionstringsの場合は、次の値を使用します。
{
"kind": "string",
"location": "string",
"name": "connectionstrings",
"properties": {
"{customized property}": {
"type": "string",
"value": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
認証の場合は、次を使用します。
{
"aadClientId": "string",
"additionalLoginParams": [ "string" ],
"allowedAudiences": [ "string" ],
"allowedExternalRedirectUrls": [ "string" ],
"clientId": "string",
"clientSecret": "string",
"defaultProvider": "string",
"enabled": "bool",
"facebookAppId": "string",
"facebookAppSecret": "string",
"facebookOAuthScopes": [ "string" ],
"googleClientId": "string",
"googleClientSecret": "string",
"googleOAuthScopes": [ "string" ],
"httpApiPrefixPath": "string",
"issuer": "string",
"microsoftAccountClientId": "string",
"microsoftAccountClientSecret": "string",
"microsoftAccountOAuthScopes": [ "string" ],
"name": "authsettings",
"openIdIssuer": "string",
"tokenRefreshExtensionHours": "int",
"tokenStoreEnabled": "bool",
"twitterConsumerKey": "string",
"twitterConsumerSecret": "string",
"unauthenticatedClientAction": "string"
}
メタデータの場合は、次を使用します。
{
"kind": "string",
"location": "string",
"name": "metadata",
"properties": {
"{customized property}": "string"
},
"tags": {
"{customized property}": "string"
}
}
ログの場合は、次を使用します。
{
"kind": "string",
"location": "string",
"name": "logs",
"properties": {
"applicationLogs": {
"azureBlobStorage": {
"level": "string",
"retentionInDays": "int",
"sasUrl": "string"
},
"azureTableStorage": {
"level": "string",
"sasUrl": "string"
},
"fileSystem": {
"level": "string"
}
},
"detailedErrorMessages": {
"enabled": "bool"
},
"failedRequestsTracing": {
"enabled": "bool"
},
"httpLogs": {
"azureBlobStorage": {
"enabled": "bool",
"retentionInDays": "int",
"sasUrl": "string"
},
"fileSystem": {
"enabled": "bool",
"retentionInDays": "int",
"retentionInMb": "int"
}
}
},
"tags": {
"{customized property}": "string"
}
}
バックアップの場合は、次を使用します。
{
"kind": "string",
"location": "string",
"name": "backup",
"properties": {
"backupSchedule": {
"frequencyInterval": "int",
"frequencyUnit": "string",
"keepAtLeastOneBackup": "bool",
"lastExecutionTime": "string",
"retentionPeriodInDays": "int",
"startTime": "string"
},
"databases": [
{
"connectionString": "string",
"connectionStringName": "string",
"databaseType": "string",
"name": "string"
}
],
"enabled": "bool",
"name": "string",
"storageAccountUrl": "string",
"type": "string"
},
"tags": {
"{customized property}": "string"
}
}
プロパティ値
ApiDefinitionInfo
名前 | 形容 | 価値 |
---|---|---|
url | API 定義の URL。 | 糸 |
ApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
azureBlobStorage | BLOB ストレージ構成へのアプリケーション ログ | AzureBlobStorageApplicationLogsConfig |
azureTableStorage | Azure Table Storage の構成に対するアプリケーション ログ | AzureTableStorageApplicationLogsConfig |
fileSystem | ファイル システム構成へのアプリケーション ログ | FileSystemApplicationLogsConfig の |
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[] |
AzureBlobStorageApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
retentionInDays | リテンション期間 (日数)。 X 日より前の BLOB を削除します。 0 以下は、保持がないことを意味します。 |
int |
sasUrl | 読み取り/書き込み/リスト/削除のアクセス許可を持つ Azure BLOB コンテナーへの SAS URL | 糸 |
AzureBlobStorageHttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
retentionInDays | リテンション期間 (日数)。 X 日より前の BLOB を削除します。 0 以下は、保持がないことを意味します。 |
int |
sasUrl | 読み取り/書き込み/リスト/削除のアクセス許可を持つ Azure BLOB コンテナーへの SAS URL | 糸 |
AzureTableStorageApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
sasUrl | 追加/クエリ/削除アクセス許可を持つ Azure テーブルへの SAS URL | 糸 |
BackupRequestProperties
名前 | 形容 | 価値 |
---|---|---|
backupSchedule | バックアップが定期的に実行される場合のスケジュール | BackupSchedule |
データベース | バックアップに含まれるデータベース | DatabaseBackupSetting[] |
有効 | バックアップ スケジュールが有効になっている場合は True (その場合は含める必要があります)、バックアップ スケジュールを無効にする必要がある場合は false | bool |
名前 | バックアップの名前 | 糸 |
storageAccountUrl | コンテナーへの SAS URL | 糸 |
種類 | バックアップの種類 | 'Clone' 'Default' '再配置' (必須) |
BackupSchedule
名前 | 形容 | 価値 |
---|---|---|
frequencyInterval | バックアップを実行する頻度 (たとえば、毎週のバックアップの場合は 7 に、FrequencyUnit を Day に設定する必要があります) | int |
frequencyUnit | バックアップを実行する頻度 (たとえば、毎週のバックアップの場合は Day に設定し、FrequencyInterval を 7 に設定する必要があります) | 'Day' 'Hour' (必須) |
keepAtLeastOneBackup | True の 場合、保持ポリシーは常にストレージ アカウント内の少なくとも 1 つのバックアップを保持する必要があります、古いかどうかに関係なく。それ以外の場合は false。 | bool |
lastExecutionTime | このスケジュールが最後にトリガーされた時刻 | 糸 |
retentionPeriodInDays | バックアップを削除する日数が経過した後 | int |
startTime | スケジュールが動作を開始するタイミング | 糸 |
ConnectionStringDictionaryProperties
名前 | 形容 | 価値 |
---|
ConnStringInfo
名前 | 形容 | 価値 |
---|---|---|
connectionString | 接続文字列の値 | 糸 |
名前 | 接続文字列の名前 | 糸 |
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
ConnStringValueTypePair
名前 | 形容 | 価値 |
---|---|---|
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
価値 | ペアの値 | 糸 |
CorsSettings
名前 | 形容 | 価値 |
---|---|---|
allowedOrigins | クロスオリジンを許可するオリジンの一覧を取得または設定します。 呼び出し (例: http://example.com:12345)。 "*" を使用してすべてを許可します。 |
string[] |
DatabaseBackupSetting
名前 | 形容 | 価値 |
---|---|---|
connectionString | バックアップ/復元中のデータベースへの接続文字列を格納します。 復元が新しいデータベースに対して行われる場合、内部のデータベース名は新しいデータベース名になります。 | 糸 |
connectionStringName | SiteConfig.ConnectionStrings にリンクされている接続文字列名が含まれています。 これは、接続文字列の上書きオプションを使用して復元中に使用されます。 |
糸 |
databaseType | SqlAzure /MySql | 糸 |
名前 | 糸 |
EnabledConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
実験
名前 | 形容 | 価値 |
---|---|---|
rampUpRules | {Microsoft.Web.Hosting.Administration.RampUpRule} オブジェクトの一覧。 | RampUpRule[] |
FileSystemApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
FileSystemHttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
retentionInDays | リテンション期間 (日数)。 X 日より前のファイルを削除します。 0 以下は、保持がないことを意味します。 |
int |
retentionInMb | http ログ ファイルで使用できる最大サイズ (メガバイト単位)。 古いログ ファイルに達すると、新しいログ ファイル用の領域を作成するために削除されます。 値の範囲は 25 ~ 100 です。 |
int |
HandlerMapping
名前 | 形容 | 価値 |
---|---|---|
引数 | スクリプト プロセッサに渡されるコマンド ライン引数。 | 糸 |
延長 | この拡張機能を持つ要求は、指定された FastCGI アプリケーションを使用して処理されます。 | 糸 |
scriptProcessor | FastCGI アプリケーションへの絶対パス。 | 糸 |
HttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
azureBlobStorage | Azure BLOB ストレージ構成への Http ログ | AzureBlobStorageHttpLogsConfig |
fileSystem | ファイル システム構成への Http ログ | FileSystemHttpLogsConfig の |
IpSecurityRestriction
名前 | 形容 | 価値 |
---|---|---|
ipAddress | セキュリティ制限が有効な IP アドレス | 糸 |
subnetMask | 制限が有効な IP アドレスの範囲のサブネット マスク | 糸 |
microsoft.web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
名前 | Microsoft.Web/sites/slots/config 種類として 'web' に設定します。型 Microsoft.Web/sites/slots/configの 'appsettings' に設定します。型 Microsoft.Web/sites/slots/configの 'connectionstrings' に設定します。Microsoft.Web/sites/slots/config の種類'authsettings' に設定します。Microsoft.Web/sites/slots/config 型の 'metadata' に設定します。Microsoft.Web/sites/slots/config の種類'logs' に設定します。Microsoft.Web/sites/slots/config の種類'backup' に設定します。 | 'appsettings' 'authsettings' 'backup' 'connectionstrings' 'logs' 'metadata' 'web' (必須) |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2015-08-01' |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'web' (必須) |
プロパティ | SiteConfigProperties の | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Web/sites/slots/config' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2015-08-01' |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'appsettings' (必須) |
プロパティ | 設定 | StringDictionaryProperties |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Web/sites/slots/config' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2015-08-01' |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'connectionstrings' (必須) |
プロパティ | 接続文字列 | ConnectionStringDictionaryProperties の |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Web/sites/slots/config' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
aadClientId | 糸 | |
additionalLoginParams | OpenID Connect 承認エンドポイントに送信するログイン パラメーターの一覧を取得または設定します。 ユーザーがログインします。 各パラメーターは、"key=value" の形式である必要があります。 |
string[] |
allowedAudiences | によって発行された JWT を検証するときに考慮する対象ユーザーの値の一覧を取得または設定します。 Azure Active Directory。 {Microsoft.Web.Hosting.Administration.SiteAuthSettings.ClientId} 値は常に この設定に関係なく、許可された対象ユーザー。 |
string[] |
allowedExternalRedirectUrls | ログインの一部としてリダイレクトできる外部 URL のコレクションを取得または設定します。 または Web アプリからログアウトします。 URL のクエリ文字列部分は無視されることに注意してください。 これは、通常、Windows ストア アプリケーション バックエンドでのみ必要な詳細設定です。 現在のドメイン内の URL は常に暗黙的に許可されることに注意してください。 |
string[] |
apiVersion | API のバージョン | '2015-08-01' |
clientId | client_idと呼ばれる、この証明書利用者アプリケーションのクライアント ID を取得または設定します。 この設定は、Azure Active Directory または 他のサードパーティの OpenID Connect プロバイダー。 OpenID Connect の詳細: http://openid.net/specs/openid-connect-core-1_0.html |
糸 |
clientSecret | この証明書利用者アプリケーションのクライアント シークレットを取得または設定します (Azure Active Directory では、これはキーとも呼ばれます)。 この設定は省略可能です。 クライアント シークレットが構成されていない場合は、OpenID Connect の暗黙的な認証フローを使用してエンド ユーザーを認証します。 それ以外の場合は、OpenID Connect 承認コード フローを使用してエンド ユーザーを認証します。 OpenID Connect の詳細: http://openid.net/specs/openid-connect-core-1_0.html |
糸 |
defaultProvider | 複数のプロバイダーを構成するときに使用する既定の認証プロバイダーを取得または設定します。 この設定は、複数のプロバイダーが構成され、認証されていないクライアントが構成されている場合にのみ必要です。 action が "RedirectToLoginPage" に設定されています。 |
'AzureActiveDirectory' 'Facebook' 'Google' 'MicrosoftAccount' 'Twitter' |
有効 | 現在のアプリに対して認証/承認機能が有効かどうかを示す値を取得または設定します。 | bool |
facebookAppId | ログインに使用する Facebook アプリのアプリ ID を取得または設定します。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
糸 |
facebookAppSecret | Facebook ログインに使用される Facebook アプリのアプリ シークレットを取得または設定します。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
糸 |
facebookOAuthScopes | Facebook ログイン認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
string[] |
googleClientId | Google Web アプリケーションの OpenID Connect クライアント ID を取得または設定します。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
糸 |
googleClientSecret | Google Web アプリケーションに関連付けられているクライアント シークレットを取得または設定します。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
糸 |
googleOAuthScopes | Google Sign-In 認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 指定しない場合、"openid"、"profile"、および "email" が既定のスコープとして使用されます。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
string[] |
httpApiPrefixPath | プラットフォーム HTTP API で使用される相対パス プレフィックスを取得または設定します。 互換性の理由を除き、この値を変更することはお勧めしません。 |
糸 |
発行者 | このアプリケーションのアクセス トークンを発行するエンティティを表す OpenID Connect 発行者 URI を取得または設定します。 Azure Active Directory を使用する場合、この値はディレクトリ テナントの URI です (例: https://sts.windows.net/{tenant-guid}/ )。この URI は、トークン発行者の大文字と小文字を区別する識別子です。 OpenID Connect Discovery の詳細: http://openid.net/specs/openid-connect-discovery-1_0.html |
糸 |
microsoftAccountClientId | 認証に使用するアプリ用に作成された OAuth 2.0 クライアント ID を取得または設定します。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm |
糸 |
microsoftAccountClientSecret | 認証に使用するアプリ用に作成された OAuth 2.0 クライアント シークレットを取得または設定します。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm |
糸 |
microsoftAccountOAuthScopes | Microsoft アカウント認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 指定しない場合は、既定のスコープとして "wl.basic" が使用されます。 Microsoft アカウントのスコープとアクセス許可に関するドキュメント: https://msdn.microsoft.com/en-us/library/dn631845.aspx |
string[] |
名前 | リソース名 | 'authsettings' (必須) |
openIdIssuer | 糸 | |
tokenRefreshExtensionHours | セッション トークンを使用してセッション トークンを使用できる時間を取得または設定します。 トークン更新 API を呼び出します。 既定値は 72 時間です。 |
int |
tokenStoreEnabled | プラットフォーム固有のセキュリティ トークンを永続的に格納するかどうかを示す値を取得または設定します。 ログイン フロー中に取得されます。 この機能は既定で無効になっています。 |
bool |
twitterConsumerKey | サインインに使用する Twitter アプリケーションの OAuth 1.0a コンシューマー キーを取得または設定します。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-In ドキュメント: https://dev.twitter.com/web/sign-in |
糸 |
twitterConsumerSecret | サインインに使用される Twitter アプリケーションの OAuth 1.0a コンシューマー シークレットを取得または設定します。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-In ドキュメント: https://dev.twitter.com/web/sign-in |
糸 |
種類 | リソースの種類 | 'Microsoft.Web/sites/slots/config' |
unauthenticatedClientAction | 認証されていないクライアントがアプリにアクセスしようとしたときに実行するアクションを取得または設定します。 | 'AllowAnonymous' 'RedirectToLoginPage' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2015-08-01' |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'metadata' (必須) |
プロパティ | 設定 | StringDictionaryProperties |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Web/sites/slots/config' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2015-08-01' |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'logs' (必須) |
プロパティ | SiteLogsConfigProperties の | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Web/sites/slots/config' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
apiVersion | API のバージョン | '2015-08-01' |
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'backup' (必須) |
プロパティ | BackupRequestProperties | |
タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 | リソースの種類 | 'Microsoft.Web/sites/slots/config' |
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
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
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 |
SiteLogsConfigProperties
名前 | 形容 | 価値 |
---|---|---|
applicationLogs | アプリケーション ログの構成 | ApplicationLogsConfig の |
detailedErrorMessages | 詳細なエラー メッセージの構成 | EnabledConfig の |
failedRequestsTracing | 失敗した要求のトレース構成 | EnabledConfig の |
httpLogs | Http ログの構成 | HttpLogsConfig の |
SlowRequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
timeTaken | TimeTaken | 糸 |
StatusCodesBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
地位 | HTTP 状態コード | int |
subStatus | SubStatus | int |
timeInterval | TimeInterval | 糸 |
win32Status | Win32 エラー コード | int |
StringDictionaryProperties
名前 | 形容 | 価値 |
---|
StringDictionaryProperties
名前 | 形容 | 価値 |
---|
VirtualApplication
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
preloadEnabled | bool | |
virtualDirectories | VirtualDirectory[] | |
virtualPath | 糸 |
VirtualDirectory
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
virtualPath | 糸 |
使用例
Terraform (AzAPI プロバイダー) リソース定義
サイト/スロット/構成リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループの
各 API バージョンで変更されたプロパティの一覧については、変更ログの 参照してください。
リソースの形式
Microsoft.Web/sites/slots/config リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
name = "string"
// For remaining properties, see microsoft.web/sites/slots/config objects
}
microsoft.web/sites/slots/config オブジェクト
名 プロパティを設定して、オブジェクトの種類を指定します。
Webの場合は、次を使用します。
{
kind = "string"
location = "string"
name = "web"
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"
}
}
appsettingsの場合は、次を使用します。
{
kind = "string"
location = "string"
name = "appsettings"
properties = {
{customized property} = "string"
}
tags = {
{customized property} = "string"
}
}
connectionstringsの場合は、次の値を使用します。
{
kind = "string"
location = "string"
name = "connectionstrings"
properties = {
{customized property} = {
type = "string"
value = "string"
}
}
tags = {
{customized property} = "string"
}
}
認証の場合は、次を使用します。
{
aadClientId = "string"
additionalLoginParams = [
"string"
]
allowedAudiences = [
"string"
]
allowedExternalRedirectUrls = [
"string"
]
clientId = "string"
clientSecret = "string"
defaultProvider = "string"
enabled = bool
facebookAppId = "string"
facebookAppSecret = "string"
facebookOAuthScopes = [
"string"
]
googleClientId = "string"
googleClientSecret = "string"
googleOAuthScopes = [
"string"
]
httpApiPrefixPath = "string"
issuer = "string"
microsoftAccountClientId = "string"
microsoftAccountClientSecret = "string"
microsoftAccountOAuthScopes = [
"string"
]
name = "authsettings"
openIdIssuer = "string"
tokenRefreshExtensionHours = int
tokenStoreEnabled = bool
twitterConsumerKey = "string"
twitterConsumerSecret = "string"
unauthenticatedClientAction = "string"
}
メタデータの場合は、次を使用します。
{
kind = "string"
location = "string"
name = "metadata"
properties = {
{customized property} = "string"
}
tags = {
{customized property} = "string"
}
}
ログの場合は、次を使用します。
{
kind = "string"
location = "string"
name = "logs"
properties = {
applicationLogs = {
azureBlobStorage = {
level = "string"
retentionInDays = int
sasUrl = "string"
}
azureTableStorage = {
level = "string"
sasUrl = "string"
}
fileSystem = {
level = "string"
}
}
detailedErrorMessages = {
enabled = bool
}
failedRequestsTracing = {
enabled = bool
}
httpLogs = {
azureBlobStorage = {
enabled = bool
retentionInDays = int
sasUrl = "string"
}
fileSystem = {
enabled = bool
retentionInDays = int
retentionInMb = int
}
}
}
tags = {
{customized property} = "string"
}
}
バックアップの場合は、次を使用します。
{
kind = "string"
location = "string"
name = "backup"
properties = {
backupSchedule = {
frequencyInterval = int
frequencyUnit = "string"
keepAtLeastOneBackup = bool
lastExecutionTime = "string"
retentionPeriodInDays = int
startTime = "string"
}
databases = [
{
connectionString = "string"
connectionStringName = "string"
databaseType = "string"
name = "string"
}
]
enabled = bool
name = "string"
storageAccountUrl = "string"
type = "string"
}
tags = {
{customized property} = "string"
}
}
プロパティ値
ApiDefinitionInfo
名前 | 形容 | 価値 |
---|---|---|
url | API 定義の URL。 | 糸 |
ApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
azureBlobStorage | BLOB ストレージ構成へのアプリケーション ログ | AzureBlobStorageApplicationLogsConfig |
azureTableStorage | Azure Table Storage の構成に対するアプリケーション ログ | AzureTableStorageApplicationLogsConfig |
fileSystem | ファイル システム構成へのアプリケーション ログ | FileSystemApplicationLogsConfig の |
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[] |
AzureBlobStorageApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
retentionInDays | リテンション期間 (日数)。 X 日より前の BLOB を削除します。 0 以下は、保持がないことを意味します。 |
int |
sasUrl | 読み取り/書き込み/リスト/削除のアクセス許可を持つ Azure BLOB コンテナーへの SAS URL | 糸 |
AzureBlobStorageHttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
retentionInDays | リテンション期間 (日数)。 X 日より前の BLOB を削除します。 0 以下は、保持がないことを意味します。 |
int |
sasUrl | 読み取り/書き込み/リスト/削除のアクセス許可を持つ Azure BLOB コンテナーへの SAS URL | 糸 |
AzureTableStorageApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
sasUrl | 追加/クエリ/削除アクセス許可を持つ Azure テーブルへの SAS URL | 糸 |
BackupRequestProperties
名前 | 形容 | 価値 |
---|---|---|
backupSchedule | バックアップが定期的に実行される場合のスケジュール | BackupSchedule |
データベース | バックアップに含まれるデータベース | DatabaseBackupSetting[] |
有効 | バックアップ スケジュールが有効になっている場合は True (その場合は含める必要があります)、バックアップ スケジュールを無効にする必要がある場合は false | bool |
名前 | バックアップの名前 | 糸 |
storageAccountUrl | コンテナーへの SAS URL | 糸 |
種類 | バックアップの種類 | 'Clone' 'Default' '再配置' (必須) |
BackupSchedule
名前 | 形容 | 価値 |
---|---|---|
frequencyInterval | バックアップを実行する頻度 (たとえば、毎週のバックアップの場合は 7 に、FrequencyUnit を Day に設定する必要があります) | int |
frequencyUnit | バックアップを実行する頻度 (たとえば、毎週のバックアップの場合は Day に設定し、FrequencyInterval を 7 に設定する必要があります) | 'Day' 'Hour' (必須) |
keepAtLeastOneBackup | True の 場合、保持ポリシーは常にストレージ アカウント内の少なくとも 1 つのバックアップを保持する必要があります、古いかどうかに関係なく。それ以外の場合は false。 | bool |
lastExecutionTime | このスケジュールが最後にトリガーされた時刻 | 糸 |
retentionPeriodInDays | バックアップを削除する日数が経過した後 | int |
startTime | スケジュールが動作を開始するタイミング | 糸 |
ConnectionStringDictionaryProperties
名前 | 形容 | 価値 |
---|
ConnStringInfo
名前 | 形容 | 価値 |
---|---|---|
connectionString | 接続文字列の値 | 糸 |
名前 | 接続文字列の名前 | 糸 |
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
ConnStringValueTypePair
名前 | 形容 | 価値 |
---|---|---|
種類 | データベースの種類 | 'Custom' 'MySql' 'SQLAzure' 'SQLServer' (必須) |
価値 | ペアの値 | 糸 |
CorsSettings
名前 | 形容 | 価値 |
---|---|---|
allowedOrigins | クロスオリジンを許可するオリジンの一覧を取得または設定します。 呼び出し (例: http://example.com:12345)。 "*" を使用してすべてを許可します。 |
string[] |
DatabaseBackupSetting
名前 | 形容 | 価値 |
---|---|---|
connectionString | バックアップ/復元中のデータベースへの接続文字列を格納します。 復元が新しいデータベースに対して行われる場合、内部のデータベース名は新しいデータベース名になります。 | 糸 |
connectionStringName | SiteConfig.ConnectionStrings にリンクされている接続文字列名が含まれています。 これは、接続文字列の上書きオプションを使用して復元中に使用されます。 |
糸 |
databaseType | SqlAzure /MySql | 糸 |
名前 | 糸 |
EnabledConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
実験
名前 | 形容 | 価値 |
---|---|---|
rampUpRules | {Microsoft.Web.Hosting.Administration.RampUpRule} オブジェクトの一覧。 | RampUpRule[] |
FileSystemApplicationLogsConfig
名前 | 形容 | 価値 |
---|---|---|
レベル | ログ レベル | 'Error' 'Information' 'Off' 'Verbose' 'Warning' |
FileSystemHttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
有効 | 有効 | bool |
retentionInDays | リテンション期間 (日数)。 X 日より前のファイルを削除します。 0 以下は、保持がないことを意味します。 |
int |
retentionInMb | http ログ ファイルで使用できる最大サイズ (メガバイト単位)。 古いログ ファイルに達すると、新しいログ ファイル用の領域を作成するために削除されます。 値の範囲は 25 ~ 100 です。 |
int |
HandlerMapping
名前 | 形容 | 価値 |
---|---|---|
引数 | スクリプト プロセッサに渡されるコマンド ライン引数。 | 糸 |
延長 | この拡張機能を持つ要求は、指定された FastCGI アプリケーションを使用して処理されます。 | 糸 |
scriptProcessor | FastCGI アプリケーションへの絶対パス。 | 糸 |
HttpLogsConfig
名前 | 形容 | 価値 |
---|---|---|
azureBlobStorage | Azure BLOB ストレージ構成への Http ログ | AzureBlobStorageHttpLogsConfig |
fileSystem | ファイル システム構成への Http ログ | FileSystemHttpLogsConfig の |
IpSecurityRestriction
名前 | 形容 | 価値 |
---|---|---|
ipAddress | セキュリティ制限が有効な IP アドレス | 糸 |
subnetMask | 制限が有効な IP アドレスの範囲のサブネット マスク | 糸 |
microsoft.web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
名前 | Microsoft.Web/sites/slots/config 種類として 'web' に設定します。型 Microsoft.Web/sites/slots/configの 'appsettings' に設定します。型 Microsoft.Web/sites/slots/configの 'connectionstrings' に設定します。Microsoft.Web/sites/slots/config の種類'authsettings' に設定します。Microsoft.Web/sites/slots/config 型の 'metadata' に設定します。Microsoft.Web/sites/slots/config の種類'logs' に設定します。Microsoft.Web/sites/slots/config の種類'backup' に設定します。 | 'appsettings' 'authsettings' 'backup' 'connectionstrings' 'logs' 'metadata' 'web' (必須) |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'web' (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: サイト/スロット |
プロパティ | SiteConfigProperties の | |
タグ | リソース タグ | タグ名と値のディクショナリ。 |
種類 | リソースの種類 | "Microsoft.Web/sites/slots/config@2015-08-01" |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'appsettings' (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: サイト/スロット |
プロパティ | 設定 | StringDictionaryProperties |
タグ | リソース タグ | タグ名と値のディクショナリ。 |
種類 | リソースの種類 | "Microsoft.Web/sites/slots/config@2015-08-01" |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'connectionstrings' (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: サイト/スロット |
プロパティ | 接続文字列 | ConnectionStringDictionaryProperties の |
タグ | リソース タグ | タグ名と値のディクショナリ。 |
種類 | リソースの種類 | "Microsoft.Web/sites/slots/config@2015-08-01" |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
aadClientId | 糸 | |
additionalLoginParams | OpenID Connect 承認エンドポイントに送信するログイン パラメーターの一覧を取得または設定します。 ユーザーがログインします。 各パラメーターは、"key=value" の形式である必要があります。 |
string[] |
allowedAudiences | によって発行された JWT を検証するときに考慮する対象ユーザーの値の一覧を取得または設定します。 Azure Active Directory。 {Microsoft.Web.Hosting.Administration.SiteAuthSettings.ClientId} 値は常に この設定に関係なく、許可された対象ユーザー。 |
string[] |
allowedExternalRedirectUrls | ログインの一部としてリダイレクトできる外部 URL のコレクションを取得または設定します。 または Web アプリからログアウトします。 URL のクエリ文字列部分は無視されることに注意してください。 これは、通常、Windows ストア アプリケーション バックエンドでのみ必要な詳細設定です。 現在のドメイン内の URL は常に暗黙的に許可されることに注意してください。 |
string[] |
clientId | client_idと呼ばれる、この証明書利用者アプリケーションのクライアント ID を取得または設定します。 この設定は、Azure Active Directory または 他のサードパーティの OpenID Connect プロバイダー。 OpenID Connect の詳細: http://openid.net/specs/openid-connect-core-1_0.html |
糸 |
clientSecret | この証明書利用者アプリケーションのクライアント シークレットを取得または設定します (Azure Active Directory では、これはキーとも呼ばれます)。 この設定は省略可能です。 クライアント シークレットが構成されていない場合は、OpenID Connect の暗黙的な認証フローを使用してエンド ユーザーを認証します。 それ以外の場合は、OpenID Connect 承認コード フローを使用してエンド ユーザーを認証します。 OpenID Connect の詳細: http://openid.net/specs/openid-connect-core-1_0.html |
糸 |
defaultProvider | 複数のプロバイダーを構成するときに使用する既定の認証プロバイダーを取得または設定します。 この設定は、複数のプロバイダーが構成され、認証されていないクライアントが構成されている場合にのみ必要です。 action が "RedirectToLoginPage" に設定されています。 |
'AzureActiveDirectory' 'Facebook' 'Google' 'MicrosoftAccount' 'Twitter' |
有効 | 現在のアプリに対して認証/承認機能が有効かどうかを示す値を取得または設定します。 | bool |
facebookAppId | ログインに使用する Facebook アプリのアプリ ID を取得または設定します。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
糸 |
facebookAppSecret | Facebook ログインに使用される Facebook アプリのアプリ シークレットを取得または設定します。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
糸 |
facebookOAuthScopes | Facebook ログイン認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 Facebook ログインのドキュメント: https://developers.facebook.com/docs/facebook-login |
string[] |
googleClientId | Google Web アプリケーションの OpenID Connect クライアント ID を取得または設定します。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
糸 |
googleClientSecret | Google Web アプリケーションに関連付けられているクライアント シークレットを取得または設定します。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
糸 |
googleOAuthScopes | Google Sign-In 認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 指定しない場合、"openid"、"profile"、および "email" が既定のスコープとして使用されます。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/ |
string[] |
httpApiPrefixPath | プラットフォーム HTTP API で使用される相対パス プレフィックスを取得または設定します。 互換性の理由を除き、この値を変更することはお勧めしません。 |
糸 |
発行者 | このアプリケーションのアクセス トークンを発行するエンティティを表す OpenID Connect 発行者 URI を取得または設定します。 Azure Active Directory を使用する場合、この値はディレクトリ テナントの URI です (例: https://sts.windows.net/{tenant-guid}/ )。この URI は、トークン発行者の大文字と小文字を区別する識別子です。 OpenID Connect Discovery の詳細: http://openid.net/specs/openid-connect-discovery-1_0.html |
糸 |
microsoftAccountClientId | 認証に使用するアプリ用に作成された OAuth 2.0 クライアント ID を取得または設定します。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm |
糸 |
microsoftAccountClientSecret | 認証に使用するアプリ用に作成された OAuth 2.0 クライアント シークレットを取得または設定します。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm |
糸 |
microsoftAccountOAuthScopes | Microsoft アカウント認証の一部として要求される OAuth 2.0 スコープを取得または設定します。 この設定は省略可能です。 指定しない場合は、既定のスコープとして "wl.basic" が使用されます。 Microsoft アカウントのスコープとアクセス許可に関するドキュメント: https://msdn.microsoft.com/en-us/library/dn631845.aspx |
string[] |
名前 | リソース名 | 'authsettings' (必須) |
openIdIssuer | 糸 | |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: サイト/スロット |
tokenRefreshExtensionHours | セッション トークンを使用してセッション トークンを使用できる時間を取得または設定します。 トークン更新 API を呼び出します。 既定値は 72 時間です。 |
int |
tokenStoreEnabled | プラットフォーム固有のセキュリティ トークンを永続的に格納するかどうかを示す値を取得または設定します。 ログイン フロー中に取得されます。 この機能は既定で無効になっています。 |
bool |
twitterConsumerKey | サインインに使用する Twitter アプリケーションの OAuth 1.0a コンシューマー キーを取得または設定します。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-In ドキュメント: https://dev.twitter.com/web/sign-in |
糸 |
twitterConsumerSecret | サインインに使用される Twitter アプリケーションの OAuth 1.0a コンシューマー シークレットを取得または設定します。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-In ドキュメント: https://dev.twitter.com/web/sign-in |
糸 |
種類 | リソースの種類 | "Microsoft.Web/sites/slots/config@2015-08-01" |
unauthenticatedClientAction | 認証されていないクライアントがアプリにアクセスしようとしたときに実行するアクションを取得または設定します。 | 'AllowAnonymous' 'RedirectToLoginPage' |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'metadata' (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: サイト/スロット |
プロパティ | 設定 | StringDictionaryProperties |
タグ | リソース タグ | タグ名と値のディクショナリ。 |
種類 | リソースの種類 | "Microsoft.Web/sites/slots/config@2015-08-01" |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'logs' (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: サイト/スロット |
プロパティ | SiteLogsConfigProperties の | |
タグ | リソース タグ | タグ名と値のディクショナリ。 |
種類 | リソースの種類 | "Microsoft.Web/sites/slots/config@2015-08-01" |
Microsoft.Web/sites/slots/config
名前 | 形容 | 価値 |
---|---|---|
種類 | リソースの種類 | 糸 |
場所 | リソースの場所 | string (必須) |
名前 | リソース名 | 'backup' (必須) |
parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: サイト/スロット |
プロパティ | BackupRequestProperties | |
タグ | リソース タグ | タグ名と値のディクショナリ。 |
種類 | リソースの種類 | "Microsoft.Web/sites/slots/config@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
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
ResourceTags
名前 | 形容 | 価値 |
---|
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 |
SiteLogsConfigProperties
名前 | 形容 | 価値 |
---|---|---|
applicationLogs | アプリケーション ログの構成 | ApplicationLogsConfig の |
detailedErrorMessages | 詳細なエラー メッセージの構成 | EnabledConfig の |
failedRequestsTracing | 失敗した要求のトレース構成 | EnabledConfig の |
httpLogs | Http ログの構成 | HttpLogsConfig の |
SlowRequestsBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
timeInterval | TimeInterval | 糸 |
timeTaken | TimeTaken | 糸 |
StatusCodesBasedTrigger
名前 | 形容 | 価値 |
---|---|---|
数える | 数える | int |
地位 | HTTP 状態コード | int |
subStatus | SubStatus | int |
timeInterval | TimeInterval | 糸 |
win32Status | Win32 エラー コード | int |
StringDictionaryProperties
名前 | 形容 | 価値 |
---|
StringDictionaryProperties
名前 | 形容 | 価値 |
---|
VirtualApplication
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
preloadEnabled | bool | |
virtualDirectories | VirtualDirectory[] | |
virtualPath | 糸 |
VirtualDirectory
名前 | 形容 | 価値 |
---|---|---|
physicalPath | 糸 | |
virtualPath | 糸 |