Web Apps - List Instance Process Threads
说明 按网站中特定横向扩展实例的 ID 列出进程中的线程。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads?api-version=2025-03-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
instance
|
path | True |
string |
特定横向扩展实例的 ID。 这是来自“GET api/sites/{siteName}/instances”的 JSON 响应中 name 属性的值。 |
|
name
|
path | True |
string |
网站名称。 |
|
process
|
path | True |
string |
PID。 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
资源所属的资源组的名称。 |
|
subscription
|
path | True |
string |
Azure 订阅 ID。 这是 GUID 格式的字符串(例如 000000000-0000-0000-0000-00000000000000)。 |
|
api-version
|
query | True |
string |
API 版本 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
返回线程信息。 |
|
| 404 Not Found |
具有指定 ID 的进程未运行。 |
|
| Other Status Codes |
应用服务错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 冒充您的用户帐户 |
定义
| 名称 | 说明 |
|---|---|
|
Default |
应用服务错误响应。 |
| Details | |
| Error |
错误模型。 |
|
Process |
处理线程信息。 |
|
Process |
捻角羚线程信息元素的集合。 |
DefaultErrorResponse
应用服务错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误模型。 |
Details
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
标准化字符串,以编程方式识别错误。 |
| message |
string |
详细的错误描述和调试信息。 |
| target |
string |
详细的错误描述和调试信息。 |
Error
错误模型。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
标准化字符串,以编程方式识别错误。 |
| details |
Details[] |
详细错误。 |
| innererror |
string |
调试错误的更多信息。 |
| message |
string |
详细的错误描述和调试信息。 |
| target |
string |
详细的错误描述和调试信息。 |
ProcessThreadInfo
处理线程信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| kind |
string |
资源类型。 |
| name |
string |
资源名称。 |
| properties.base_priority |
integer (int32) |
基本优先级。 |
| properties.current_priority |
integer (int32) |
当前线程优先级。 |
| properties.href |
string |
HRef URI 中。 |
| properties.identifier |
integer (int32) |
站点扩展 ID。 |
| properties.priority_level |
string |
线程优先级。 |
| properties.process |
string |
处理 URI。 |
| properties.start_address |
string |
起始地址。 |
| properties.start_time |
string (date-time) |
开始时间。 |
| properties.state |
string |
线程状态。 |
| properties.total_processor_time |
string |
总处理器时间。 |
| properties.user_processor_time |
string |
用户处理器时间。 |
| properties.wait_reason |
string |
等待原因。 |
| type |
string |
资源类型。 |
ProcessThreadInfoCollection
捻角羚线程信息元素的集合。
| 名称 | 类型 | 说明 |
|---|---|---|
| nextLink |
string |
链接到下一页的资源。 |
| value |
资源收集。 |