Udostępnij za pośrednictwem


FileTaskRunRequest Constructors

Definition

Overloads

FileTaskRunRequest()

Initializes a new instance of the FileTaskRunRequest class.

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

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, String, String, IList<SetValue>, Nullable<Int32>, AgentProperties, String, Credentials)

Initializes a new instance of the FileTaskRunRequest class.

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

agentPoolName
String

The dedicated agent pool for the run.

logTemplate
String

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

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 repository. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

credentials
Credentials

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

Applies to