編輯

共用方式為


TaskGroupCreateParameter interface

Properties

author

Sets author name of the task group.

category

Sets category of the task group.

description

Sets description of the task group.

friendlyName

Sets friendly name of the task group.

iconUrl

Sets url icon of the task group.

inputs

Sets input for the task group.

instanceNameFormat

Sets display name of the task group.

name

Sets name of the task group.

parentDefinitionId

Sets parent task group Id. This is used while creating a draft task group.

runsOn

Sets RunsOn of the task group. Value can be 'Agent', 'Server' or 'DeploymentGroup'.

tasks

Sets tasks for the task group.

version

Sets version of the task group.

Property Details

author

Sets author name of the task group.

author: string

Property Value

string

category

Sets category of the task group.

category: string

Property Value

string

description

Sets description of the task group.

description: string

Property Value

string

friendlyName

Sets friendly name of the task group.

friendlyName: string

Property Value

string

iconUrl

Sets url icon of the task group.

iconUrl: string

Property Value

string

inputs

Sets input for the task group.

inputs: TaskInputDefinition[]

Property Value

instanceNameFormat

Sets display name of the task group.

instanceNameFormat: string

Property Value

string

name

Sets name of the task group.

name: string

Property Value

string

parentDefinitionId

Sets parent task group Id. This is used while creating a draft task group.

parentDefinitionId: string

Property Value

string

runsOn

Sets RunsOn of the task group. Value can be 'Agent', 'Server' or 'DeploymentGroup'.

runsOn: string[]

Property Value

string[]

tasks

Sets tasks for the task group.

tasks: TaskGroupStep[]

Property Value

version

Sets version of the task group.

version: TaskVersion

Property Value