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

ServerUsage 类

表示服务器指标。

变量仅由服务器填充,在发送请求时将被忽略。

继承
ServerUsage

构造函数

ServerUsage(**kwargs)

变量

name
str

服务器使用情况指标的名称。

resource_name
str

资源的名称。

display_name
str

指标显示名称。

current_value
float

指标的当前值。

limit
float

指标的当前限制。

unit
str

指标的单位。

next_reset_time
datetime

指标的下一次重置时间 (ISO8601 格式) 。