Represents a template from which new build definitions can be created.

interface BuildDefinitionTemplate {
    canDelete?: boolean;
    category?: string;
    defaultHostedQueue?: string;
    description?: string;
    icons?: { [key: string]: string };
    iconTaskId?: string;
    id: string;
    name: string;
    template?: BuildDefinition;
}

Properties

canDelete?: boolean

Indicates whether the template can be deleted.

category?: string

The template category.

defaultHostedQueue?: string

An optional hosted agent queue for the template to use by default.

description?: string

A description of the template.

icons?: { [key: string]: string }
iconTaskId?: string

The ID of the task whose icon is used when showing this template in the UI.

id: string

The ID of the template.

name: string

The name of the template.

template?: BuildDefinition

The actual template.