Job Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
Job()
Inicializuje novou instanci Job třídy.
public Job ();
Public Sub New ()
Platí pro
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)
Inicializuje novou instanci Job třídy.
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)
Parametry
- id
- String
ID prostředku.
- name
- String
Název prostředku.
- type
- String
Typ prostředku.
- schedulingPriority
- String
Priorita plánování.
- cluster
- ResourceId
Clusteru.
- mountVolumes
- MountVolumes
Připojte svazky.
- containerSettings
- ContainerSettings
Pokud je zadáno, úloha se spustí v zadaném kontejneru.
- toolType
- String
Typ sady nástrojů pro tuto úlohu.
- cntkSettings
- CNTKsettings
Určuje nastavení pro úlohu CNTK (neboli Microsoft Cognitive Toolkit).
- pyTorchSettings
- PyTorchSettings
Určuje nastavení pro úlohu pyTorch.
- tensorFlowSettings
- TensorFlowSettings
Určuje nastavení pro úlohu Tensor Flow.
- caffeSettings
- CaffeSettings
Určuje nastavení pro úlohu Caffe.
- caffe2Settings
- Caffe2Settings
Určuje nastavení pro úlohu Caffe2.
- chainerSettings
- ChainerSettings
Určuje nastavení pro úlohu Chainer.
- customToolkitSettings
- CustomToolkitSettings
Určuje nastavení pro vlastní úlohu sady nástrojů.
- customMpiSettings
- CustomMpiSettings
Určuje nastavení pro vlastní úlohu MPI.
- horovodSettings
- HorovodSettings
Určuje nastavení pro úlohu Horovod.
- jobPreparation
- JobPreparation
Určuje akce, které se mají provést před spuštěním sady nástrojů.
- jobOutputDirectoryPathSegment
- String
Segment výstupní cesty k adresáři.
- stdOutErrPathPrefix
- String
Standardní předpona cesty k výstupnímu adresáři
- inputDirectories
- IList<InputDirectory>
Vstupní adresáře.
- outputDirectories
- IList<OutputDirectory>
Výstupní adresáře.
- environmentVariables
- IList<EnvironmentVariable>
Proměnné prostředí.
- secrets
- IList<EnvironmentVariableWithSecretValue>
Tajemství.
- constraints
- JobPropertiesConstraints
Omezení přidružená k úloze
- provisioningState
- String
Stav zřizování.
- executionState
- String
Stav spuštění.
- executionInfo
- JobPropertiesExecutionInfo
Informace o spuštění úlohy.
Platí pro
Azure SDK for .NET