Compartilhar via


FileTaskRunRequest Class

The request parameters for a scheduling run against a task file.

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerregistry.v2018_09_01.models._models_py3.RunRequest
FileTaskRunRequest

Constructor

FileTaskRunRequest(*, task_file_path: str, platform: _models.PlatformProperties, is_archive_enabled: bool = False, values_file_path: str | None = None, values: List[_models.SetValue] | None = None, timeout: int = 3600, agent_configuration: _models.AgentProperties | None = None, source_location: str | None = None, credentials: _models.Credentials | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
is_archive_enabled

The value that indicates whether archiving is enabled for the run or not.

task_file_path
str

The template/definition file path relative to the source. Required.

values_file_path
str

The values/parameters file path relative to the source.

values

The collection of overridable values that can be passed when running a task.

timeout
int

Run timeout in seconds.

Default value: 3600
platform

The platform properties against which the run has to happen. Required.

agent_configuration

The machine configuration of the run agent.

source_location
str

The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

credentials

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

Variables

Name Description
type
str

The type of the run request. Required.

is_archive_enabled

The value that indicates whether archiving is enabled for the run or not.

task_file_path
str

The template/definition file path relative to the source. Required.

values_file_path
str

The values/parameters file path relative to the source.

values

The collection of overridable values that can be passed when running a task.

timeout
int

Run timeout in seconds.

platform

The platform properties against which the run has to happen. Required.

agent_configuration

The machine configuration of the run agent.

source_location
str

The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

credentials

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