你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ITaskCreatable 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义的阶段,它包含要创建的资源所需的所有最小输入,但也允许指定任何其他可选设置。
public interface ITaskCreatable : Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Definition.IAgentConfiguration, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Definition.ISourceTriggerDefinition, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Definition.ITimeout, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Definition.ITriggerTypes, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryTask>
type ITaskCreatable = interface
interface IAgentConfiguration
interface ITimeout
interface ISourceTriggerDefinition
interface ITriggerTypes
interface ICreatable<IRegistryTask>
interface IIndexable
Public Interface ITaskCreatable
Implements IAgentConfiguration, ICreatable(Of IRegistryTask), ISourceTriggerDefinition, ITimeout, ITriggerTypes
- 派生
- 实现
属性
Key |
定义的阶段,它包含要创建的资源所需的所有最小输入,但也允许指定任何其他可选设置。 (继承自 IIndexable) |
Name |
获取可创建资源的名称。 (继承自 ICreatable<T>) |
方法
Create() |
执行创建请求。 (继承自 ICreatable<T>) |
CreateAsync(CancellationToken, Boolean) |
将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行它。 (继承自 ICreatable<T>) |
DefineSourceTrigger(String) |
开始源触发器定义的函数。 (继承自 ITriggerTypes) |
WithBaseImageTrigger(String, BaseImageTriggerType) |
使用创建基本映像触发器所需的两个参数定义基本映像触发器的函数。 (继承自 ITriggerTypes) |
WithBaseImageTrigger(String, BaseImageTriggerType, TriggerStatus) |
定义基本映像触发器的函数,其中包含创建基本映像触发器的所有可能参数。 (继承自 ITriggerTypes) |
WithCpuCount(Int32) |
指定 CPU 计数的函数。 (继承自 IAgentConfiguration) |
WithTimeout(Int32) |
设置超时时间的函数。 (继承自 ITimeout) |