AmlWindowsComputeStatus 类
AmlWindowsCompute 对象的详细状态。
- 继承
-
AmlWindowsComputeStatus
构造函数
AmlWindowsComputeStatus(allocation_state, allocation_state_transition_time, creation_time, current_node_count, errors, modified_time, node_state_counts, provisioning_state, provisioning_state_transition_time, scale_settings, target_node_count, vm_priority, vm_size, vm_image, os_type)
参数
- node_state_counts
- <xref:azureml.contrib.core.AmlComputeNodeStateCounts>
必需
包含群集中各种当前节点状态计数的对象。
- scale_settings
- <xref:ScaleSettings>
必需
包含群集的指定缩放设置的对象。
- vm_size
- str
必需
代理 VM 的大小。 此处提供了更多详细信息:https://aka.ms/azureml-vm-details。 请注意,并非所有大小都适用于所有区域,如上一个链接中所述。
- vm_image
- dict
必需
要用于 Windows 计算目标的虚拟机映像。 示例:{ "id" : "<image_id>/versions/"}.。 请参考创建映像定义。 如果未指定,将默认为 DSVM Windows Server 2016 映像。
注解
初始化 AmlWindowsComputeStatus 对象。
方法
| deserialize |
将 JSON 对象转换为 AmlWindowsComputeStatus 对象。 |
| serialize |
将此 AmlWindowsComputeStatus 对象转换为 JSON 序列化字典。 |
deserialize
将 JSON 对象转换为 AmlWindowsComputeStatus 对象。
static deserialize(object_dict)
参数
返回
所提供的 JSON 对象的 AmlWindowsComputeStatus 表示形式。
返回类型
例外
serialize
将此 AmlWindowsComputeStatus 对象转换为 JSON 序列化字典。
serialize()
返回
此 AmlWindowsComputeStatus 对象的 JSON 表示形式。
返回类型
例外
反馈
提交和查看相关反馈