Job 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
Job()
Initializes a new instance of the Job class.
public Job ();
Public Sub New ()
Applies to
Job(String, String, String, String, ResourceId, MountVolumes, Nullable<Int32>, ContainerSettings, String, CNTKsettings, PyTorchSettings, TensorFlowSettings, CaffeSettings, Caffe2Settings, ChainerSettings, CustomToolkitSettings, CustomMpiSettings, HorovodSettings, JobPreparation, String, String, IList<InputDirectory>, IList<OutputDirectory>, IList<EnvironmentVariable>, IList<EnvironmentVariableWithSecretValue>, JobPropertiesConstraints, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, JobPropertiesExecutionInfo)
Initializes a new instance of the Job class.
public Job (string id = default, string name = default, string type = default, string schedulingPriority = default, Microsoft.Azure.Management.BatchAI.Models.ResourceId cluster = default, Microsoft.Azure.Management.BatchAI.Models.MountVolumes mountVolumes = default, int? nodeCount = default, Microsoft.Azure.Management.BatchAI.Models.ContainerSettings containerSettings = default, string toolType = default, Microsoft.Azure.Management.BatchAI.Models.CNTKsettings cntkSettings = default, Microsoft.Azure.Management.BatchAI.Models.PyTorchSettings pyTorchSettings = default, Microsoft.Azure.Management.BatchAI.Models.TensorFlowSettings tensorFlowSettings = default, Microsoft.Azure.Management.BatchAI.Models.CaffeSettings caffeSettings = default, Microsoft.Azure.Management.BatchAI.Models.Caffe2Settings caffe2Settings = default, Microsoft.Azure.Management.BatchAI.Models.ChainerSettings chainerSettings = default, Microsoft.Azure.Management.BatchAI.Models.CustomToolkitSettings customToolkitSettings = default, Microsoft.Azure.Management.BatchAI.Models.CustomMpiSettings customMpiSettings = default, Microsoft.Azure.Management.BatchAI.Models.HorovodSettings horovodSettings = default, Microsoft.Azure.Management.BatchAI.Models.JobPreparation jobPreparation = default, string jobOutputDirectoryPathSegment = default, string stdOutErrPathPrefix = default, System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.InputDirectory> inputDirectories = default, System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.OutputDirectory> outputDirectories = default, System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariable> environmentVariables = default, System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariableWithSecretValue> secrets = default, Microsoft.Azure.Management.BatchAI.Models.JobPropertiesConstraints constraints = default, DateTime? creationTime = default, string provisioningState = default, DateTime? provisioningStateTransitionTime = default, string executionState = default, DateTime? executionStateTransitionTime = default, Microsoft.Azure.Management.BatchAI.Models.JobPropertiesExecutionInfo executionInfo = default);
new Microsoft.Azure.Management.BatchAI.Models.Job : string * string * string * string * Microsoft.Azure.Management.BatchAI.Models.ResourceId * Microsoft.Azure.Management.BatchAI.Models.MountVolumes * Nullable<int> * Microsoft.Azure.Management.BatchAI.Models.ContainerSettings * string * Microsoft.Azure.Management.BatchAI.Models.CNTKsettings * Microsoft.Azure.Management.BatchAI.Models.PyTorchSettings * Microsoft.Azure.Management.BatchAI.Models.TensorFlowSettings * Microsoft.Azure.Management.BatchAI.Models.CaffeSettings * Microsoft.Azure.Management.BatchAI.Models.Caffe2Settings * Microsoft.Azure.Management.BatchAI.Models.ChainerSettings * Microsoft.Azure.Management.BatchAI.Models.CustomToolkitSettings * Microsoft.Azure.Management.BatchAI.Models.CustomMpiSettings * Microsoft.Azure.Management.BatchAI.Models.HorovodSettings * Microsoft.Azure.Management.BatchAI.Models.JobPreparation * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.InputDirectory> * System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.OutputDirectory> * System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariable> * System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariableWithSecretValue> * Microsoft.Azure.Management.BatchAI.Models.JobPropertiesConstraints * Nullable<DateTime> * string * Nullable<DateTime> * string * Nullable<DateTime> * Microsoft.Azure.Management.BatchAI.Models.JobPropertiesExecutionInfo -> Microsoft.Azure.Management.BatchAI.Models.Job
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional schedulingPriority As String = Nothing, Optional cluster As ResourceId = Nothing, Optional mountVolumes As MountVolumes = Nothing, Optional nodeCount As Nullable(Of Integer) = Nothing, Optional containerSettings As ContainerSettings = Nothing, Optional toolType As String = Nothing, Optional cntkSettings As CNTKsettings = Nothing, Optional pyTorchSettings As PyTorchSettings = Nothing, Optional tensorFlowSettings As TensorFlowSettings = Nothing, Optional caffeSettings As CaffeSettings = Nothing, Optional caffe2Settings As Caffe2Settings = Nothing, Optional chainerSettings As ChainerSettings = Nothing, Optional customToolkitSettings As CustomToolkitSettings = Nothing, Optional customMpiSettings As CustomMpiSettings = Nothing, Optional horovodSettings As HorovodSettings = Nothing, Optional jobPreparation As JobPreparation = Nothing, Optional jobOutputDirectoryPathSegment As String = Nothing, Optional stdOutErrPathPrefix As String = Nothing, Optional inputDirectories As IList(Of InputDirectory) = Nothing, Optional outputDirectories As IList(Of OutputDirectory) = Nothing, Optional environmentVariables As IList(Of EnvironmentVariable) = Nothing, Optional secrets As IList(Of EnvironmentVariableWithSecretValue) = Nothing, Optional constraints As JobPropertiesConstraints = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional provisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional executionState As String = Nothing, Optional executionStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional executionInfo As JobPropertiesExecutionInfo = Nothing)
Parameters
- id
- String
The ID of the resource.
- name
- String
The name of the resource.
- type
- String
The type of the resource.
- schedulingPriority
- String
Scheduling priority.
- cluster
- ResourceId
Cluster.
- mountVolumes
- MountVolumes
Mount volumes.
- containerSettings
- ContainerSettings
If provided the job will run in the specified container.
- toolType
- String
The toolkit type of this job.
- cntkSettings
- CNTKsettings
Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job.
- pyTorchSettings
- PyTorchSettings
Specifies the settings for pyTorch job.
- tensorFlowSettings
- TensorFlowSettings
Specifies the settings for Tensor Flow job.
- caffeSettings
- CaffeSettings
Specifies the settings for Caffe job.
- caffe2Settings
- Caffe2Settings
Specifies the settings for Caffe2 job.
- chainerSettings
- ChainerSettings
Specifies the settings for Chainer job.
- customToolkitSettings
- CustomToolkitSettings
Specifies the settings for custom tool kit job.
- customMpiSettings
- CustomMpiSettings
Specifies the settings for custom MPI job.
- horovodSettings
- HorovodSettings
Specifies the settings for Horovod job.
- jobPreparation
- JobPreparation
Specifies the actions to be performed before tool kit is launched.
- jobOutputDirectoryPathSegment
- String
Output directory path segment.
- stdOutErrPathPrefix
- String
Standard output directory path prefix.
- inputDirectories
- IList<InputDirectory>
Input directories.
- outputDirectories
- IList<OutputDirectory>
Output directories.
- environmentVariables
- IList<EnvironmentVariable>
Environment variables.
- secrets
- IList<EnvironmentVariableWithSecretValue>
Secrets.
- constraints
- JobPropertiesConstraints
Constraints associated with the Job.
- provisioningState
- String
Provisioning state.
- executionState
- String
Execution state.
- executionInfo
- JobPropertiesExecutionInfo
Information about the execution of a job.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for