Share via


TaskUpdateParameters Class

The parameters for updating a task.

Constructor

TaskUpdateParameters(*, identity: _models.IdentityProperties | None = None, tags: Dict[str, str] | None = None, status: str | _models.TaskStatus | None = None, platform: _models.PlatformUpdateParameters | None = None, agent_configuration: _models.AgentProperties | None = None, agent_pool_name: str | None = None, timeout: int | None = None, step: _models.TaskStepUpdateParameters | None = None, trigger: _models.TriggerUpdateParameters | None = None, credentials: _models.Credentials | None = None, log_template: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
identity

Identity for the resource.

Default value: None
tags

The ARM resource tags.

Default value: None
status

The current status of task. Known values are: "Disabled" and "Enabled".

Default value: None
platform

The platform properties against which the run has to happen.

Default value: None
agent_configuration

The machine configuration of the run agent.

Default value: None
agent_pool_name
str

The dedicated agent pool for the task.

Default value: None
timeout
int

Run timeout in seconds.

Default value: None
step

The properties for updating a task step.

Default value: None
trigger

The properties for updating trigger properties.

Default value: None
credentials

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

Default value: None
log_template
str

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

Default value: None

Variables

Name Description
identity

Identity for the resource.

tags

The ARM resource tags.

status

The current status of task. Known values are: "Disabled" and "Enabled".

platform

The platform properties against which the run has to happen.

agent_configuration

The machine configuration of the run agent.

agent_pool_name
str

The dedicated agent pool for the task.

timeout
int

Run timeout in seconds.

step

The properties for updating a task step.

trigger

The properties for updating trigger properties.

credentials

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

log_template
str

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