ArmMachineLearningModelFactory.MachineLearningJobService Method

Definition

Overloads

MachineLearningJobService(String, String, String, JobNodes, Nullable<Int32>, IDictionary<String,String>, String)

Initializes a new instance of MachineLearningJobService.

MachineLearningJobService(String, Nullable<Int32>, String, String, String, IDictionary<String,String>, JobNodes)

Initializes a new instance of MachineLearningJobService.

MachineLearningJobService(String, String, String, JobNodes, Nullable<Int32>, IDictionary<String,String>, String)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of 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

Parameters

endpoint
String

Url for endpoint.

errorMessage
String

Any error in the service.

jobServiceType
String

Endpoint type.

nodes
JobNodes

Nodes that user would like to start the service on. If Nodes is not set or set to null, the service will only be started on leader node. Please note JobNodes is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include JobAllNodes.

port
Nullable<Int32>

Port for endpoint set by user.

properties
IDictionary<String,String>

Additional properties to set on the endpoint.

status
String

Status of endpoint.

Returns

A new MachineLearningJobService instance for mocking.

Applies to

MachineLearningJobService(String, Nullable<Int32>, String, String, String, IDictionary<String,String>, JobNodes)

Initializes a new instance of MachineLearningJobService.

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

Parameters

jobServiceType
String

Endpoint type.

port
Nullable<Int32>

Port for endpoint.

endpoint
String

Url for endpoint.

status
String

Status of endpoint.

errorMessage
String

Any error in the service.

properties
IDictionary<String,String>

Additional properties to set on the endpoint.

nodes
JobNodes

Nodes that user would like to start the service on. If Nodes is not set or set to null, the service will only be started on leader node. Please note JobNodes is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include JobAllNodes.

Returns

A new MachineLearningJobService instance for mocking.

Applies to