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

SetupTask 构造函数

定义

重载

SetupTask()

初始化 SetupTask 类的新实例。

SetupTask(String, String, IList<EnvironmentVariable>, IList<EnvironmentVariableWithSecretValue>, String)

初始化 SetupTask 类的新实例。

SetupTask()

初始化 SetupTask 类的新实例。

public SetupTask ();
Public Sub New ()

适用于

SetupTask(String, String, IList<EnvironmentVariable>, IList<EnvironmentVariableWithSecretValue>, String)

初始化 SetupTask 类的新实例。

public SetupTask (string commandLine, string stdOutErrPathPrefix, System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariable> environmentVariables = default, System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariableWithSecretValue> secrets = default, string stdOutErrPathSuffix = default);
new Microsoft.Azure.Management.BatchAI.Models.SetupTask : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariable> * System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.EnvironmentVariableWithSecretValue> * string -> Microsoft.Azure.Management.BatchAI.Models.SetupTask
Public Sub New (commandLine As String, stdOutErrPathPrefix As String, Optional environmentVariables As IList(Of EnvironmentVariable) = Nothing, Optional secrets As IList(Of EnvironmentVariableWithSecretValue) = Nothing, Optional stdOutErrPathSuffix As String = Nothing)

参数

commandLine
String

命令行。

stdOutErrPathPrefix
String

输出路径前缀。

environmentVariables
IList<EnvironmentVariable>

环境变量。

stdOutErrPathSuffix
String

输出路径后缀。

适用于