Partilhar via


TaskRun Class

The task run that has the ARM resource and properties. The task run will have the information of request and result of a run.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

TaskRun(*, identity: _models.IdentityProperties | None = None, location: str | None = None, run_request: _models.RunRequest | None = None, force_update_tag: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
identity

Identity for the resource.

Default value: None
location
str

The location of the resource.

Default value: None
run_request

The request (parameters) for the run.

Default value: None
force_update_tag
str

How the run should be forced to rerun even if the run request configuration has not changed.

Default value: None

Variables

Name Description
id
str

The resource ID.

name
str

The name of the resource.

type
str

The type of the resource.

system_data

Metadata pertaining to creation and last modification of the resource.

identity

Identity for the resource.

location
str

The location of the resource.

provisioning_state

The provisioning state of this task run. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled".

run_request

The request (parameters) for the run.

run_result
Run

The result of this task run.

force_update_tag
str

How the run should be forced to rerun even if the run request configuration has not changed.