共用方式為


EncodedTaskRunRequest Constructors

Definition

Overloads

EncodedTaskRunRequest()

Initializes a new instance of the EncodedTaskRunRequest class.

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

Initializes a new instance of the EncodedTaskRunRequest class.

EncodedTaskRunRequest()

Initializes a new instance of the EncodedTaskRunRequest class.

public EncodedTaskRunRequest ();
Public Sub New ()

Applies to

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

Initializes a new instance of the EncodedTaskRunRequest class.

public EncodedTaskRunRequest (string encodedTaskContent, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.PlatformProperties platform, bool? isArchiveEnabled = default, string encodedValuesContent = 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.EncodedTaskRunRequest : 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.EncodedTaskRunRequest
Public Sub New (encodedTaskContent As String, platform As PlatformProperties, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional encodedValuesContent 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

encodedTaskContent
String

Base64 encoded value of the template/definition file content.

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.

encodedValuesContent
String

Base64 encoded value of the parameters/values file content.

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