interface ReleaseDefinition {
    _links?: any;
    artifacts?: Artifact[];
    comment?: string;
    createdBy?: IdentityRef;
    createdOn?: Date;
    description?: string;
    environments?: ReleaseDefinitionEnvironment[];
    id?: number;
    isDeleted?: boolean;
    isDisabled?: boolean;
    lastRelease?: ReleaseReference;
    modifiedBy?: IdentityRef;
    modifiedOn?: Date;
    name?: string;
    path?: string;
    pipelineProcess?: PipelineProcess;
    projectReference?: ProjectReference;
    properties?: any;
    releaseNameFormat?: string;
    retentionPolicy?: RetentionPolicy;
    revision?: number;
    source?: ReleaseDefinitionSource;
    tags?: string[];
    triggers?: ReleaseTriggerBase[];
    url?: string;
    variableGroups?: number[];
    variables?: { [key: string]: ConfigurationVariableValue };
}

Hierarchy (View Summary)

Properties

_links?: any

Gets the links to related resources, APIs, and views for the release definition.

artifacts?: Artifact[]

Gets or sets the list of artifacts.

comment?: string

Gets or sets comment.

createdBy?: IdentityRef

Gets or sets the identity who created.

createdOn?: Date

Gets date on which it got created.

description?: string

Gets or sets the description.

Gets or sets the list of environments.

id?: number

Gets the unique identifier of release definition.

isDeleted?: boolean

Whether release definition is deleted.

isDisabled?: boolean

Whether release definition is disabled.

lastRelease?: ReleaseReference

Gets the reference of last release.

modifiedBy?: IdentityRef

Gets or sets the identity who modified.

modifiedOn?: Date

Gets date on which it got modified.

name?: string

Gets or sets the name of the release definition.

path?: string

Gets or sets the path of the release definition.

pipelineProcess?: PipelineProcess

Gets or sets pipeline process.

projectReference?: ProjectReference

Gets or sets project reference.

properties?: any

Gets or sets properties.

releaseNameFormat?: string

Gets or sets the release name format.

retentionPolicy?: RetentionPolicy
revision?: number

Gets the revision number.

Gets or sets source of release definition.

tags?: string[]

Gets or sets list of tags.

triggers?: ReleaseTriggerBase[]

Gets or sets the list of triggers.

url?: string

Gets the REST API url to access the release definition.

variableGroups?: number[]

Gets or sets the list of variable groups.

variables?: { [key: string]: ConfigurationVariableValue }

Gets or sets the dictionary of variables.