BuildTask Class
The build task that has the resource properties and all build items. The build task will have all information to schedule a build against it.
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_02_01_preview.models._models_py3.ResourceBuildTask
Constructor
BuildTask(*, location: str, tags: Dict[str, str] | None = None, alias: str | None = None, status: str | _models.BuildTaskStatus | None = None, source_repository: _models.SourceRepositoryProperties | None = None, platform: _models.PlatformProperties | None = None, timeout: int = 3600, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
The location of the resource. This cannot be changed after the resource is created. Required. |
tags
|
The tags of the resource. |
alias
|
The alternative updatable name for a build task. |
status
|
The current status of build task. Known values are: "Disabled" and "Enabled". |
source_repository
|
The properties that describes the source(code) for the build task. |
platform
|
The platform properties against which the build has to happen. |
timeout
|
Build timeout in seconds. Default value: 3600
|
Variables
Name | Description |
---|---|
id
|
The resource ID. |
name
|
The name of the resource. |
type
|
The type of the resource. |
location
|
The location of the resource. This cannot be changed after the resource is created. Required. |
tags
|
The tags of the resource. |
provisioning_state
|
The provisioning state of the build task. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled". |
creation_date
|
The creation date of build task. |
alias
|
The alternative updatable name for a build task. |
status
|
The current status of build task. Known values are: "Disabled" and "Enabled". |
source_repository
|
The properties that describes the source(code) for the build task. |
platform
|
The platform properties against which the build has to happen. |
timeout
|
Build timeout in seconds. |
Azure SDK for Python