DockerBuildRequest Class
The parameters for a docker quick build.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.RunRequestDockerBuildRequest
Constructor
DockerBuildRequest(*, docker_file_path: 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, image_names: Optional[List[str]] = None, is_push_enabled: Optional[bool] = True, no_cache: Optional[bool] = False, target: Optional[str] = None, arguments: Optional[List[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.Argument]] = 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.
- is_push_enabled
- bool
The value of this property indicates whether the image built should be pushed to the registry or not.
- no_cache
- bool
The value of this property indicates whether the image cache is enabled or not.
- docker_file_path
- str
Required. The Docker file path relative to the source location.
- target
- str
The name of the target build stage for the docker build.
- 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.
Feedback
Submit and view feedback for