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

IDefinition 接口

定义

与注册表 Docker 任务运行请求相关的所有定义的容器接口。

public interface IDefinition : Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryDockerTaskRunRequest.Definition.IBlank, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryDockerTaskRunRequest.Definition.IDockerFilePath, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryDockerTaskRunRequest.Definition.IDockerTaskRunRequestStepAttachable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.IAttachable<Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IRunRequestExecutableWithSourceLocation>
type IDefinition = interface
    interface IBlank
    interface IDockerFilePath
    interface IDockerTaskRunRequestStepAttachable
    interface IAttachable<IRunRequestExecutableWithSourceLocation>
Public Interface IDefinition
Implements IAttachable(Of IRunRequestExecutableWithSourceLocation), IBlank, IDockerFilePath, IDockerTaskRunRequestStepAttachable
实现

方法

Attach()

将此子对象的定义附加到其父对象的定义。

(继承自 IAttachable<ParentT>)
DefineDockerTaskStep()

获取 开始任务运行请求中 Docker 任务步骤定义的函数。

(继承自 IBlank)
WithCacheEnabled(Boolean)

将使用或不使用指定缓存的函数。

(继承自 IDockerTaskRunRequestStepAttachable)
WithDockerFilePath(String)

指定 Docker 文件路径的函数。

(继承自 IDockerFilePath)
WithImageNames(IList<String>)

指定图像名称列表的函数。

(继承自 IDockerTaskRunRequestStepAttachable)
WithOverridingArgument(String, OverridingArgument)

指定重写自变量及其将替代的内容的函数。

(继承自 IDockerTaskRunRequestStepAttachable)
WithOverridingArguments(IDictionary<String,OverridingArgument>)

指定重写参数及其将替代的内容的函数。

(继承自 IDockerTaskRunRequestStepAttachable)
WithPushEnabled(Boolean)

指定推送的函数已启用或未启用。

(继承自 IDockerTaskRunRequestStepAttachable)

适用于