Share via


TaskPatch Class

Definition

The parameters for updating a task.

public class TaskPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Tasks.Models.TaskPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Tasks.Models.TaskPatch>
type TaskPatch = class
    interface IJsonModel<TaskPatch>
    interface IPersistableModel<TaskPatch>
Public Class TaskPatch
Implements IJsonModel(Of TaskPatch), IPersistableModel(Of TaskPatch)
Inheritance
TaskPatch
Implements

Constructors

Name Description
TaskPatch()

Initializes a new instance of TaskPatch.

Properties

Name Description
AgentCpu

The CPU configuration in terms of number of cores required for the run.

AgentPoolName

The dedicated agent pool for the task.

Credentials

The parameters that describes a set of credentials that will be used when this run is invoked.

Identity

Identity for the resource.

LogTemplate

The template that describes the repository and tag information for run log artifact.

Platform

The platform properties against which the run has to happen.

Status

The current status of task.

Step

The properties for updating a task step.

Tags

The ARM resource tags.

TimeoutInSeconds

Run timeout in seconds.

Trigger

The properties for updating trigger properties.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<TaskPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<TaskPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<TaskPatch>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<TaskPatch>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<TaskPatch>.Write(ModelReaderWriterOptions)

Applies to