EncodedTaskRunRequest Class

The parameters for a quick task run request.

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

Inheritance
azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.RunRequest
EncodedTaskRunRequest

Constructor

EncodedTaskRunRequest(*, encoded_task_content: str, platform: azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.PlatformProperties, is_archive_enabled: Optional[bool] = False, agent_pool_name: Optional[str] = None, log_template: Optional[str] = None, encoded_values_content: Optional[str] = None, values: Optional[List[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.SetValue]] = None, timeout: Optional[int] = 3600, agent_configuration: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.AgentProperties] = None, source_location: Optional[str] = None, credentials: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.Credentials] = None, **kwargs)

Variables

type
str

Required. The type of the run request.Constant filled by server.

is_archive_enabled
bool

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

agent_pool_name
str

The dedicated agent pool for the run.

log_template
str

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

encoded_task_content
str

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

encoded_values_content
str

Base64 encoded value of the parameters/values file content.

values
list[SetValue]

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

timeout
int

Run timeout in seconds.

platform
PlatformProperties

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

agent_configuration
AgentProperties

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
Credentials

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