Delen via


Web Apps - List Slot Differences From Production

Beschrijving voor Het verschil in configuratie-instellingen tussen twee web-app-sites ophalen.

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

URI-parameters

Name In Vereist Type Description
name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

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

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000).

api-version
query True

string

API-versie

Aanvraagbody

Name Vereist Type Description
preserveVnet True

boolean

trueom Virtual Network tijdens het wisselen van de site te behouden; falseanders.

targetSlot True

string

Doelimplementatiesite tijdens wisselbewerking.

Antwoorden

Name Type Description
200 OK

SlotDifferenceCollection

OK

Other Status Codes

DefaultErrorResponse

App Service foutreactie.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Definities

Name Description
CsmSlotEntity

Implementatiesiteparameters.

DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

SlotDifference

Een instellingsverschil tussen twee implementatiesites van een app.

SlotDifferenceCollection

Verzameling van sleufverschillen.

CsmSlotEntity

Implementatiesiteparameters.

Name Type Description
preserveVnet

boolean

trueom Virtual Network tijdens het wisselen van de site te behouden; falseanders.

targetSlot

string

Doelimplementatiesite tijdens wisselbewerking.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

Error

Foutmodel.

Details

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

Error

Foutmodel.

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

details

Details[]

Gedetailleerde fouten.

innererror

string

Meer informatie over foutopsporing.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

SlotDifference

Een instellingsverschil tussen twee implementatiesites van een app.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.description

string

Beschrijving van het instellingsverschil.

properties.diffRule

string

Regel die beschrijft hoe u het instellingsverschil tijdens het wisselen van sites verwerkt.

properties.level

string

Niveau van het verschil: Informatie, Waarschuwing of Fout.

properties.settingName

string

Naam van de instelling.

properties.settingType

string

Het type instelling: Algemeen, AppSetting of Verbindingsreeks.

properties.valueInCurrentSlot

string

Waarde van de instelling in de huidige site.

properties.valueInTargetSlot

string

Waarde van de instelling in de doelsite.

type

string

Resourcetype.

SlotDifferenceCollection

Verzameling van sleufverschillen.

Name Type Description
nextLink

string

Koppeling naar de volgende pagina met resources.

value

SlotDifference[]

Verzameling resources.