你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Web Apps - List Publishing Profile Xml With Secrets

获取应用的发布配置文件(或部署槽,如果指定)的说明。

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

URI 参数

名称 必需 类型 说明
name
path True

string

应用的名称。

resourceGroupName
path True

string

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

资源所属的资源组的名称。

subscriptionId
path True

string

Azure 订阅 ID。 这是 GUID 格式的字符串(例如 000000000-0000-0000-0000-00000000000000)。

api-version
query True

string

API 版本

请求正文

名称 类型 说明
format

PublishingProfileFormat

格式的名称。 有效值为:FileZilla3 WebDeploy -- 默认 Ftp

includeDisasterRecoveryEndpoints

boolean

如果为 true,则包括 DisasterRecover 终结点

响应

名称 类型 说明
200 OK

file

好的

Media Types: "application/xml"

Other Status Codes

DefaultErrorResponse

应用服务错误响应。

Media Types: "application/xml"

安全性

azure_auth

Azure Active Directory OAuth2 流

类型: oauth2
流向: implicit
授权 URL: https://login.microsoftonline.com/common/oauth2/authorize

作用域

名称 说明
user_impersonation 模拟用户帐户

定义

名称 说明
CsmPublishingProfileOptions

请求的配置文件的发布选项。

DefaultErrorResponse

应用服务错误响应。

Details
Error

错误模型。

PublishingProfileFormat

格式的名称。 有效值为:FileZilla3 WebDeploy -- 默认 Ftp

CsmPublishingProfileOptions

请求的配置文件的发布选项。

名称 类型 说明
format

PublishingProfileFormat

格式的名称。 有效值为:FileZilla3 WebDeploy -- 默认 Ftp

includeDisasterRecoveryEndpoints

boolean

如果为 true,则包括 DisasterRecover 终结点

DefaultErrorResponse

应用服务错误响应。

名称 类型 说明
error

Error

错误模型。

Details

名称 类型 说明
code

string

标准化字符串,以编程方式识别错误。

message

string

详细的错误描述和调试信息。

target

string

详细的错误描述和调试信息。

Error

错误模型。

名称 类型 说明
code

string

标准化字符串,以编程方式识别错误。

details

Details[]

详细错误。

innererror

string

调试错误的更多信息。

message

string

详细的错误描述和调试信息。

target

string

详细的错误描述和调试信息。

PublishingProfileFormat

格式的名称。 有效值为:FileZilla3 WebDeploy -- 默认 Ftp

说明
FileZilla3
WebDeploy
Ftp