Share via


FileTaskRunRequest Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.FileTaskRunRequestTypeConverter))]
public class FileTaskRunRequest : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IFileTaskRunRequest, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.FileTaskRunRequestTypeConverter))>]
type FileTaskRunRequest = class
    interface IFileTaskRunRequest
    interface IJsonSerializable
    interface IRunRequest
    interface IValidates
Public Class FileTaskRunRequest
Implements IFileTaskRunRequest, IValidates
Inheritance
FileTaskRunRequest
Attributes
Implements

Constructors

FileTaskRunRequest()

Creates an new FileTaskRunRequest instance.

Properties

AgentConfigurationCpu

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

AgentPoolName

The dedicated agent pool for the run.

CredentialsCustomRegistry

Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.

IsArchiveEnabled

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

LogTemplate

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

PlatformArchitecture

The OS architecture.

PlatformOS

The operating system type required for the run.

PlatformVariant

Variant of the CPU.

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.

SourceRegistryLoginMode

The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.

TaskFilePath

The template/definition file path relative to the source.

Timeout

Run timeout in seconds.

Type

The type of the run request.

Value

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

ValuesFilePath

The values/parameters file path relative to the source.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FileTaskRunRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FileTaskRunRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IFileTaskRunRequest.

FromJsonString(String)

Creates a new instance of FileTaskRunRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of FileTaskRunRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to