Compartilhar via


EncodedTaskRunRequest Class

The parameters for a quick task run request.

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
EncodedTaskRunRequest

Constructor

EncodedTaskRunRequest(*, encoded_task_content: str, platform: _models.PlatformProperties, is_archive_enabled: bool = False, encoded_values_content: 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.

encoded_task_content
str

Base64 encoded value of the template/definition file content. Required.

encoded_values_content
str

Base64 encoded value of the parameters/values file content.

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.

encoded_task_content
str

Base64 encoded value of the template/definition file content. Required.

encoded_values_content
str

Base64 encoded value of the parameters/values file content.

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.