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

Web Apps - Get Process Thread Slot

在网站的特定横向扩展实例中,按特定进程的线程 ID 获取线程信息。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads/{threadId}?api-version=2018-02-01

URI 参数

名称 必需 类型 说明
name
path True

string

站点名称。

processId
path True

string

Pid。

resourceGroupName
path True

string

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

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

slot
path True

string

部署槽的名称。 如果未指定槽,API 将返回生产槽的部署。

subscriptionId
path True

string

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

threadId
path True

string

TID。

api-version
query True

string

API 版本

响应

名称 类型 说明
200 OK

ProcessThreadInfo

返回的线程信息。

404 Not Found

找不到具有指定 TID 的线程,或者具有指定 PID 的进程未运行。

安全性

azure_auth

Azure Active Directory OAuth2 流

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

作用域

名称 说明
user_impersonation 模拟用户帐户

定义

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.priviledged_processor_time

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

资源类型。