Task Class

Definition

The task that has the ARM resource and task properties. The task will have all information to schedule a run against it.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Task : Microsoft.Azure.Management.ContainerRegistry.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Task = class
    inherit Resource
Public Class Task
Inherits Resource
Inheritance
System.Object
Task
Attributes

Constructors

Task()

Initializes a new instance of the Task class.

Task(String, PlatformProperties, TaskStepProperties, String, String, String, IDictionary<String,String>, IdentityProperties, String, Nullable<DateTime>, String, AgentProperties, Nullable<Int32>, TriggerProperties, Credentials)

Initializes a new instance of the Task class.

Properties

AgentConfiguration

Gets or sets the machine configuration of the run agent.

CreationDate

Gets the creation date of task.

Credentials

Gets or sets the properties that describes a set of credentials that will be used when this run is invoked.

Id

Gets the resource ID.

(Inherited from Resource)
Identity

Gets or sets identity for the resource.

Location

Gets or sets the location of the resource. This cannot be changed after the resource is created.

(Inherited from Resource)
Name

Gets the name of the resource.

(Inherited from Resource)
Platform

Gets or sets the platform properties against which the run has to happen.

ProvisioningState

Gets the provisioning state of the task. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

Status

Gets or sets the current status of task. Possible values include: 'Disabled', 'Enabled'

Step

Gets or sets the properties of a task step.

Tags

Gets or sets the tags of the resource.

(Inherited from Resource)
Timeout

Gets or sets run timeout in seconds.

Trigger

Gets or sets the properties that describe all triggers for the task.

Type

Gets the type of the resource.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to