Delen via


Web Apps - List Publishing Profile Xml With Secrets Slot

Beschrijving voor Hiermee wordt het publicatieprofiel voor een app (of implementatiesite, indien opgegeven) opgevraagd.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml?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\._\(\)]+[^\.]$

slot
path True

string

Naam van de implementatiesite. Als er geen site is opgegeven, krijgt de API het publicatieprofiel voor de productiesite.

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 Type Description
format

PublishingProfileFormat

Naam van de indeling. Geldige waarden zijn: FileZilla3 WebDeploy -- standaard FTP

includeDisasterRecoveryEndpoints

boolean

Neem het DisasterRecover-eindpunt op indien waar

Antwoorden

Name Type Description
200 OK

file

OK

Media Types: "application/xml"

Other Status Codes

DefaultErrorResponse

App Service foutreactie.

Media Types: "application/xml"

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
CsmPublishingProfileOptions

Publicatieopties voor aangevraagde profiel.

DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

PublishingProfileFormat

Naam van de indeling. Geldige waarden zijn: FileZilla3 WebDeploy -- standaard FTP

CsmPublishingProfileOptions

Publicatieopties voor aangevraagde profiel.

Name Type Description
format

PublishingProfileFormat

Naam van de indeling. Geldige waarden zijn: FileZilla3 WebDeploy -- standaard FTP

includeDisasterRecoveryEndpoints

boolean

Neem het DisasterRecover-eindpunt op indien waar

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.

PublishingProfileFormat

Naam van de indeling. Geldige waarden zijn: FileZilla3 WebDeploy -- standaard FTP

Name Type Description
FileZilla3

string

Ftp

string

WebDeploy

string