AmlComputeNodeStateCounts 类
表示 AmlCompute 对象的详细节点计数信息。
使用 AmlCompute 的 get_status 方法查看节点计数。
- 继承
-
builtins.objectAmlComputeNodeStateCounts
构造函数
AmlComputeNodeStateCounts(idle_node_count, leaving_node_count, preempted_node_count, preparing_node_count, running_node_count, unusable_node_count)
参数
方法
| deserialize |
将 JSON 对象转换为 AmlComputeNodeStateCounts 对象。 |
| serialize |
将此 AmlComputeNodeStateCounts 对象转换为 JSON 序列化字典。 |
deserialize
将 JSON 对象转换为 AmlComputeNodeStateCounts 对象。
static deserialize(object_dict)
参数
返回
提供的 JSON 对象的 AmlComputeNodeStateCounts 表示形式。
返回类型
例外
serialize
将此 AmlComputeNodeStateCounts 对象转换为 JSON 序列化字典。
serialize()
返回
此 AmlComputeNodeStateCounts 对象的 JSON 表示形式。
返回类型
例外
反馈
提交和查看相关反馈