Compartir a través de


TaskRunRequest Class

Definition

The parameters for a task run request.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskRunRequestTypeConverter))]
public class TaskRunRequest : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ITaskRunRequest, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskRunRequestTypeConverter))>]
type TaskRunRequest = class
    interface ITaskRunRequest
    interface IJsonSerializable
    interface IRunRequest
    interface IValidates
Public Class TaskRunRequest
Implements ITaskRunRequest, IValidates
Inheritance
TaskRunRequest
Attributes
Implements

Constructors

TaskRunRequest()

Creates an new TaskRunRequest instance.

Properties

AgentPoolName

The dedicated agent pool for the run.

IsArchiveEnabled

The value that indicates whether archiving is enabled for the run or not.

LogTemplate

The template that describes the repository and tag information for run log artifact.

OverrideTaskStepPropertyArgument

Gets or sets the collection of override arguments to be used when executing a build step.

OverrideTaskStepPropertyContextPath

The source context against which run has to be queued.

OverrideTaskStepPropertyFile

The file against which run has to be queued.

OverrideTaskStepPropertyTarget

The name of the target build stage for the docker build.

OverrideTaskStepPropertyUpdateTriggerToken

Base64 encoded update trigger token that will be attached with the base image trigger webhook.

OverrideTaskStepPropertyValue

The collection of overridable values that can be passed when running a Task.

TaskId

The resource ID of task against which run has to be queued.

Type

The type of the run request.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TaskRunRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TaskRunRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ITaskRunRequest.

FromJsonString(String)

Creates a new instance of TaskRunRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TaskRunRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to