SparkJob Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SparkJob(ResourceIdentifier, SparkJobEntry) |
Initializes a new instance of SparkJob. |
SparkJob(String, SparkJobEntry) |
Initializes a new instance of SparkJob. |
SparkJob(ResourceIdentifier, SparkJobEntry)
- Source:
- SparkJob.cs
Initializes a new instance of SparkJob.
public SparkJob (Azure.Core.ResourceIdentifier codeId, Azure.ResourceManager.MachineLearning.Models.SparkJobEntry entry);
new Azure.ResourceManager.MachineLearning.Models.SparkJob : Azure.Core.ResourceIdentifier * Azure.ResourceManager.MachineLearning.Models.SparkJobEntry -> Azure.ResourceManager.MachineLearning.Models.SparkJob
Public Sub New (codeId As ResourceIdentifier, entry As SparkJobEntry)
Parameters
- codeId
- ResourceIdentifier
[Required] arm-id of the code asset.
- entry
- SparkJobEntry
[Required] The entry to execute on startup of the job. Please note SparkJobEntry 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 SparkJobPythonEntry and SparkJobScalaEntry.
Exceptions
codeId
or entry
is null.
Applies to
SparkJob(String, SparkJobEntry)
- Source:
- SparkJob.cs
Initializes a new instance of SparkJob.
public SparkJob (string codeId, Azure.ResourceManager.MachineLearning.Models.SparkJobEntry entry);
new Azure.ResourceManager.MachineLearning.Models.SparkJob : string * Azure.ResourceManager.MachineLearning.Models.SparkJobEntry -> Azure.ResourceManager.MachineLearning.Models.SparkJob
Public Sub New (codeId As String, entry As SparkJobEntry)
Parameters
- codeId
- String
[Required] ARM resource ID of the code asset.
- entry
- SparkJobEntry
[Required] The entry to execute on startup of the job. Please note SparkJobEntry 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 SparkJobPythonEntry and SparkJobScalaEntry.
Exceptions
codeId
or entry
is null.