Web Apps - List Slot Differences From Production

「2 つの Web アプリ スロット間の構成設定の違いを取得する」の説明。

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

URI パラメーター

名前 / 必須 説明
name
path True

string

アプリの名前。

resourceGroupName
path True

string

リソースが属しているリソース グループの名前。

Regex pattern: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Azure のサブスクリプション ID。 これは GUID 形式の文字列です (たとえば、000000000-0000-0000-0000-000000000000000000000000000000000000000000000000000000000000、

api-version
query True

string

API バージョン

要求本文

名前 必須 説明
preserveVnet True

boolean

trueスワップ中にスロットへのVirtual Networkを保持する場合は 。それ以外の場合falseは 。

targetSlot True

string

スワップ操作中の宛先デプロイ スロット。

応答

名前 説明
200 OK

SlotDifferenceCollection

OK

Other Status Codes

DefaultErrorResponse

エラー応答をApp Serviceします。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

定義

名前 説明
CsmSlotEntity

デプロイ スロット のパラメーター。

DefaultErrorResponse

エラー応答をApp Serviceします。

Details
Error

エラー モデル。

SlotDifference

アプリの 2 つのデプロイ スロットの設定の違い。

SlotDifferenceCollection

スロットの相違点のコレクション。

CsmSlotEntity

デプロイ スロット のパラメーター。

名前 説明
preserveVnet

boolean

trueスワップ中にスロットへのVirtual Networkを保持する場合は 。それ以外の場合falseは 。

targetSlot

string

スワップ操作中の宛先デプロイ スロット。

DefaultErrorResponse

エラー応答をApp Serviceします。

名前 説明
error

Error

エラー モデル。

Details

名前 説明
code

string

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

message

string

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

target

string

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

Error

エラー モデル。

名前 説明
code

string

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

details

Details[]

詳細なエラー。

innererror

string

エラーのデバッグに関する詳細情報。

message

string

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

target

string

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

SlotDifference

アプリの 2 つのデプロイ スロットの設定の違い。

名前 説明
id

string

リソース ID。

kind

string

リソースの種類。

name

string

リソース名。

properties.description

string

設定の違いの説明。

properties.diffRule

string

スロット スワップ中に設定の違いを処理する方法を説明するルール。

properties.level

string

相違点のレベル: 情報、警告、またはエラー。

properties.settingName

string

設定の名前。

properties.settingType

string

設定の種類: General、AppSetting、ConnectionString。

properties.valueInCurrentSlot

string

現在のスロットの設定の値。

properties.valueInTargetSlot

string

ターゲット スロットの設定の値。

type

string

リソースの種類。

SlotDifferenceCollection

スロットの相違点のコレクション。

名前 説明
nextLink

string

リソースの次のページへのリンク。

value

SlotDifference[]

リソースのコレクション。