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

Web Apps - List Deployment Log

列出应用或部署槽的特定部署的部署日志的说明。

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

URI 参数

名称 必需 类型 说明
id
path True

string

特定部署的 ID。 这是 JSON 响应中“GET /api/sites/{siteName}/deployments”中 name 属性的值。

name
path True

string

应用的名称。

resourceGroupName
path True

string

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

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

subscriptionId
path True

string

Azure 订阅 ID。 这是一个 GUID 格式的字符串, (例如 00000000-0000-0000-0000-0000000000000) 。

api-version
query True

string

API 版本

响应

名称 类型 说明
200 OK

Deployment

确定

Other Status Codes

DefaultErrorResponse

App 服务错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 流

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

Scopes

名称 说明
user_impersonation 模拟用户帐户

定义

名称 说明
DefaultErrorResponse

App 服务错误响应。

Deployment

用于发布活动的用户凭据。

Details
Error

错误模型。

DefaultErrorResponse

App 服务错误响应。

名称 类型 说明
error

Error

错误模型。

Deployment

用于发布活动的用户凭据。

名称 类型 说明
id

string

资源 ID。

kind

string

资源类型。

name

string

资源名称。

properties.active

boolean

如果部署当前处于活动状态,则为 True;如果已完成,则为 false;如果未启动,则为 null。

properties.author

string

部署的作者。

properties.author_email

string

创作电子邮件。

properties.deployer

string

执行部署的人员。

properties.details

string

有关部署的详细信息。

properties.end_time

string

结束时间。

properties.message

string

有关部署状态的详细信息。

properties.start_time

string

开始时间。

properties.status

integer

部署状态。

type

string

资源类型。

Details

名称 类型 说明
code

string

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

message

string

详细的错误说明和调试信息。

target

string

详细的错误说明和调试信息。

Error

错误模型。

名称 类型 说明
code

string

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

details

Details[]

详细错误。

innererror

string

调试错误的详细信息。

message

string

详细的错误说明和调试信息。

target

string

详细的错误说明和调试信息。