Task Class
The task that has the ARM resource and task properties. The task will have all information to schedule a run 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.
ivar id: The resource ID.
vartype id: str
ivar name: The name of the resource.
vartype name: str
ivar type: The type of the resource.
vartype type: str
ivar location: Required. The location of the resource. This cannot be changed after the resource is created.
vartype location: str
ivar tags: A set of tags. The tags of the resource.
vartype tags: dict[str, str]
ivar system_data: Metadata pertaining to creation and last modification of the resource.
vartype system_data: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData
ivar identity: Identity for the resource.
vartype identity: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.IdentityProperties
ivar provisioning_state: The provisioning state of the task. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled".
vartype provisioning_state: str or ~azure.mgmt.containerregistry.v2019_06_01_preview.models.ProvisioningState
ivar creation_date: The creation date of task.
vartype creation_date: ~datetime.datetime
ivar status: The current status of task. Possible values include: "Disabled", "Enabled".
vartype status: str or ~azure.mgmt.containerregistry.v2019_06_01_preview.models.TaskStatus
ivar platform: The platform properties against which the run has to happen.
vartype platform: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.PlatformProperties
ivar agent_configuration: The machine configuration of the run agent.
vartype agent_configuration: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.AgentProperties
ivar agent_pool_name: The dedicated agent pool for the task.
vartype agent_pool_name: str
ivar timeout: Run timeout in seconds.
vartype timeout: int
ivar step: The properties of a task step.
vartype step: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.TaskStepProperties
ivar trigger: The properties that describe all triggers for the task.
vartype trigger: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.TriggerProperties
ivar credentials: The properties that describes a set of credentials that will be used when this run is invoked.
vartype credentials: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.Credentials
ivar log_template: The template that describes the repository and tag information for run log artifact.
vartype log_template: str
ivar is_system_task: The value of this property indicates whether the task resource is system task or not.
vartype is_system_task: bool
- Inheritance
-
azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.ResourceTask
Constructor
Task(*, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.IdentityProperties] = None, status: Optional[Union[str, azure.mgmt.containerregistry.v2019_06_01_preview.models._container_registry_management_client_enums.TaskStatus]] = None, platform: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.PlatformProperties] = None, agent_configuration: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.AgentProperties] = None, agent_pool_name: Optional[str] = None, timeout: Optional[int] = 3600, step: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.TaskStepProperties] = None, trigger: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.TriggerProperties] = None, credentials: Optional[azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.Credentials] = None, log_template: Optional[str] = None, is_system_task: Optional[bool] = False, **kwargs)
Feedback
Submit and view feedback for