Compartilhar via


FileTaskStep Class

The properties of a task step.

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.TaskStepProperties
FileTaskStep

Constructor

FileTaskStep(*, task_file_path: str, context_path: str | None = None, context_access_token: str | None = None, values_file_path: str | None = None, values: List[_models.SetValue] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
context_path
str

The URL(absolute or relative) of the source context for the task step.

context_access_token
str

The token (git PAT or SAS token of storage account blob) associated with the context for a step.

task_file_path
str

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

values_file_path
str

The task values/parameters file path relative to the source context.

values

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

Variables

Name Description
type

The type of the step. Required. Known values are: "Docker", "FileTask", and "EncodedTask".

base_image_dependencies

List of base image dependencies for a step.

context_path
str

The URL(absolute or relative) of the source context for the task step.

context_access_token
str

The token (git PAT or SAS token of storage account blob) associated with the context for a step.

task_file_path
str

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

values_file_path
str

The task values/parameters file path relative to the source context.

values

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