FileTaskRunRequest Constructors

Definition

Overloads

FileTaskRunRequest()

Initializes a new instance of the FileTaskRunRequest class.

FileTaskRunRequest(String, PlatformProperties, Nullable<Boolean>, String, IList<SetValue>, Nullable<Int32>, AgentProperties, String)

Initializes a new instance of the FileTaskRunRequest class.

FileTaskRunRequest()

Initializes a new instance of the FileTaskRunRequest class.

public FileTaskRunRequest ();
Public Sub New ()

Applies to

FileTaskRunRequest(String, PlatformProperties, Nullable<Boolean>, String, IList<SetValue>, Nullable<Int32>, AgentProperties, String)

Initializes a new instance of the FileTaskRunRequest class.

public FileTaskRunRequest (string taskFilePath, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.PlatformProperties platform, bool? isArchiveEnabled = default, string valuesFilePath = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SetValue> values = default, int? timeout = default, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.AgentProperties agentConfiguration = default, string sourceLocation = default);
new Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.FileTaskRunRequest : string * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.PlatformProperties * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.SetValue> * Nullable<int> * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.AgentProperties * string -> Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.FileTaskRunRequest
Public Sub New (taskFilePath As String, platform As PlatformProperties, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional valuesFilePath As String = Nothing, Optional values As IList(Of SetValue) = Nothing, Optional timeout As Nullable(Of Integer) = Nothing, Optional agentConfiguration As AgentProperties = Nothing, Optional sourceLocation As String = Nothing)

Parameters

taskFilePath
String

The template/definition file path relative to the source.

platform
PlatformProperties

The platform properties against which the run has to happen.

isArchiveEnabled
Nullable<Boolean>

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

valuesFilePath
String

The values/parameters file path relative to the source.

values
IList<SetValue>

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

timeout
Nullable<Int32>

Run timeout in seconds.

agentConfiguration
AgentProperties

The machine configuration of the run agent.

sourceLocation
String

The URL(absolute or relative) of the source context. It can be an URL to a tar or git repoistory. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

Applies to