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

DockerBuildStepUpdateParameters 构造函数

定义

重载

DockerBuildStepUpdateParameters()

初始化 DockerBuildStepUpdateParameters 类的新实例。

DockerBuildStepUpdateParameters(String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Argument>, String)

初始化 DockerBuildStepUpdateParameters 类的新实例。

DockerBuildStepUpdateParameters()

初始化 DockerBuildStepUpdateParameters 类的新实例。

public DockerBuildStepUpdateParameters ();
Public Sub New ()

适用于

DockerBuildStepUpdateParameters(String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Argument>, String)

初始化 DockerBuildStepUpdateParameters 类的新实例。

public DockerBuildStepUpdateParameters (string contextPath = default, string contextAccessToken = default, System.Collections.Generic.IList<string> imageNames = default, bool? isPushEnabled = default, bool? noCache = default, string dockerFilePath = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.Argument> arguments = default, string target = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.DockerBuildStepUpdateParameters : string * string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.Argument> * string -> Microsoft.Azure.Management.ContainerRegistry.Models.DockerBuildStepUpdateParameters
Public Sub New (Optional contextPath As String = Nothing, Optional contextAccessToken As String = Nothing, Optional imageNames As IList(Of String) = Nothing, Optional isPushEnabled As Nullable(Of Boolean) = Nothing, Optional noCache As Nullable(Of Boolean) = Nothing, Optional dockerFilePath As String = Nothing, Optional arguments As IList(Of Argument) = Nothing, Optional target As String = Nothing)

参数

contextPath
String

URL (任务步骤的源上下文的绝对或相对) 。

contextAccessToken
String

存储帐户 blob 的令牌 (git PAT 或 SAS 令牌) 与步骤的上下文相关联。

imageNames
IList<String>

完全限定的映像名称,包括存储库和标记。

isPushEnabled
Nullable<Boolean>

此属性的值指示是否应将生成的映像推送到注册表。

noCache
Nullable<Boolean>

此属性的值指示是否启用图像缓存。

dockerFilePath
String

相对于源上下文的 Docker 文件路径。

arguments
IList<Argument>

在执行此生成步骤时要使用的重写参数的集合。

target
String

docker 生成的目标生成阶段的名称。

适用于