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

ArmMachineLearningModelFactory.MachineLearningJobService 方法

定义

初始化 MachineLearningJobService 的新实例。

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService MachineLearningJobService (string endpoint = default, string errorMessage = default, string jobServiceType = default, Azure.ResourceManager.MachineLearning.Models.JobNodes nodes = default, int? port = default, System.Collections.Generic.IDictionary<string,string> properties = default, string status = default);
static member MachineLearningJobService : string * string * string * Azure.ResourceManager.MachineLearning.Models.JobNodes * Nullable<int> * System.Collections.Generic.IDictionary<string, string> * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService
Public Shared Function MachineLearningJobService (Optional endpoint As String = Nothing, Optional errorMessage As String = Nothing, Optional jobServiceType As String = Nothing, Optional nodes As JobNodes = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional status As String = Nothing) As MachineLearningJobService

参数

endpoint
String

终结点的 URL。

errorMessage
String

服务中的任何错误。

jobServiceType
String

终结点类型。

nodes
JobNodes

用户想要启动服务的节点。 如果未将 Nodes 设置为 null,则仅在领导节点上启动该服务。 请注意 JobNodes ,是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 JobAllNodes

port
Nullable<Int32>

用户设置的终结点的端口。

properties
IDictionary<String,String>

要对终结点设置的其他属性。

status
String

终结点的状态。

返回

用于模拟的新 MachineLearningJobService 实例。

适用于