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

IDefinition 接口

定义

与 RegistryTaskRun 相关的所有定义的容器接口。

public interface IDefinition : Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IBlankFromRegistry, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IBlankFromRuns, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IRegistryTaskRunRequest, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IRunRequestExecutableWithSourceLocation, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTaskRun.Definition.IRunRequestType, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IExecutable<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryTaskRun>
type IDefinition = interface
    interface IBlankFromRegistry
    interface IPlatformAltTaskRunRequest
    interface IPlatform
    interface IBlankFromRuns
    interface IRegistryTaskRunRequest
    interface IRunRequestExecutable
    interface IArchive
    interface IExecutable<IRegistryTaskRun>
    interface IIndexable
    interface IRunRequestType
    interface IRunRequestExecutableWithSourceLocation
    interface IAgentConfiguration
Public Interface IDefinition
Implements IBlankFromRegistry, IBlankFromRuns, IExecutable(Of IRegistryTaskRun), IRegistryTaskRunRequest, IRunRequestExecutableWithSourceLocation, IRunRequestType
实现

属性

Key

与 RegistryTaskRun 相关的所有定义的容器接口。

(继承自 IIndexable)

方法

Execute()

执行请求。

(继承自 IExecutable<T>)
ExecuteAsync(CancellationToken, Boolean)

异步执行请求。

(继承自 IExecutable<T>)
WithArchiveEnabled(Boolean)

指定存档的函数将启用或不会启用。

(继承自 IRegistryTaskRunRequest)
WithCpuCount(Int32)

指定 CPU 计数的函数。

(继承自 IAgentConfiguration)
WithDockerTaskRunRequest()

指定任务运行请求类型的函数将是 Docker 任务。

(继承自 IRunRequestType)
WithEncodedTaskRunRequest()

指定任务运行请求类型的函数将是编码任务。

(继承自 IRunRequestType)
WithExistingRegistry(String, String)

指定运行此任务的注册表的函数。

(继承自 IBlankFromRuns)
WithFileTaskRunRequest()

指定任务运行请求类型的函数将是文件任务。

(继承自 IRunRequestType)
WithLinux()

指定平台的函数将具有 Linux OS。

(继承自 IPlatform)
WithLinux(Architecture)

指定平台的函数将具有具有体系结构体系结构的 Linux OS。

(继承自 IPlatform)
WithLinux(Architecture, Variant)

指定平台的函数将具有具有体系结构体系结构和 Variant 变体的 Linux OS。

(继承自 IPlatform)
WithOverridingValue(String, OverridingValue)

一个函数,指定是否将重写单个值以及将重写它的内容。

(继承自 IRegistryTaskRunRequest)
WithOverridingValues(IDictionary<String,OverridingValue>)

一个函数,指定是否有任何值将被重写,以及它们将被重写的内容。

(继承自 IRegistryTaskRunRequest)
WithPlatform(PlatformProperties)

指定注册表任务运行的平台属性的函数。

(继承自 IPlatform)
WithSourceLocation(String)

指定源代码管理位置的函数。

(继承自 IRunRequestExecutableWithSourceLocation)
WithTaskRunRequest(String)

指定要运行的现有任务的名称的函数。

(继承自 IPlatformAltTaskRunRequest)
WithTimeout(Int32)

指定超时的函数。

(继承自 IRunRequestExecutableWithSourceLocation)
WithWindows()

指定平台的函数将具有 Windows OS。

(继承自 IPlatform)
WithWindows(Architecture)

指定平台的函数将具有具有体系结构体系结构的 Windows OS。

(继承自 IPlatform)
WithWindows(Architecture, Variant)

指定平台的函数将具有具有体系结构体系结构和 Variant 变体的 Windows OS。

(继承自 IPlatform)

适用于