Share via


FileTaskRunContent Class

Definition

The request parameters for a scheduling run against a task file.

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

Constructors

Name Description
FileTaskRunContent(String, ContainerRegistryTaskPlatformProperties)

Initializes a new instance of FileTaskRunContent.

Properties

Name Description
AgentCpu

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

AgentPoolName

The dedicated agent pool for the run.

(Inherited from RunContent)
Credentials

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

IsArchiveEnabled

The value that indicates whether archiving is enabled for the run or not.

(Inherited from RunContent)
LogTemplate

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

(Inherited from RunContent)
Platform

The platform properties against which the run has to happen.

SourceLocation

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.

TaskFilePath

The template/definition file path relative to the source.

TimeoutInSeconds

Run timeout in seconds.

Values

The collection of overridable values that can be passed when running a task.

ValuesFilePath

The values/parameters file path relative to the source.

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<FileTaskRunContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<FileTaskRunContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<RunContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from RunContent)
IJsonModel<RunContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from RunContent)
IPersistableModel<FileTaskRunContent>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<FileTaskRunContent>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<FileTaskRunContent>.Write(ModelReaderWriterOptions)
IPersistableModel<RunContent>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from RunContent)
IPersistableModel<RunContent>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from RunContent)
IPersistableModel<RunContent>.Write(ModelReaderWriterOptions) (Inherited from RunContent)

Applies to