Package version:

The parameters for a quick task run request.

interface EncodedTaskRunRequest {
    agentConfiguration?: AgentProperties;
    agentPoolName?: string;
    credentials?: Credentials;
    encodedTaskContent: string;
    encodedValuesContent?: string;
    isArchiveEnabled?: boolean;
    logTemplate?: string;
    platform: PlatformProperties;
    sourceLocation?: string;
    timeout?: number;
    type: "EncodedTaskRunRequest";
    values?: SetValue[];
}

Hierarchy (view full)

Properties

agentConfiguration?: AgentProperties

The machine configuration of the run agent.

agentPoolName?: string

The dedicated agent pool for the run.

credentials?: Credentials

The properties that describes a set of credentials that will be used when this run is invoked.

encodedTaskContent: string

Base64 encoded value of the template/definition file content.

encodedValuesContent?: string

Base64 encoded value of the parameters/values file content.

isArchiveEnabled?: boolean

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

logTemplate?: string

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

The platform properties against which the run has to happen.

sourceLocation?: string

The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

timeout?: number

Run timeout in seconds.

type

Polymorphic discriminator, which specifies the different types this object can be

values?: SetValue[]

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