EncodedTaskRunRequest Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EncodedTaskRunRequest() |
Initializes a new instance of the EncodedTaskRunRequest class. |
EncodedTaskRunRequest(String, PlatformProperties, Nullable<Boolean>, String, String, String, IList<SetValue>, Nullable<Int32>, AgentProperties, String, Credentials) |
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, String, String, IList<SetValue>, Nullable<Int32>, AgentProperties, String, Credentials)
Initializes a new instance of the EncodedTaskRunRequest class.
public EncodedTaskRunRequest (string encodedTaskContent, Microsoft.Azure.Management.ContainerRegistry.Models.PlatformProperties platform, bool? isArchiveEnabled = default, string agentPoolName = default, string logTemplate = default, string encodedValuesContent = 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.EncodedTaskRunRequest : 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.EncodedTaskRunRequest
Public Sub New (encodedTaskContent As String, platform As PlatformProperties, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional agentPoolName As String = Nothing, Optional logTemplate As String = 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, Optional credentials As Credentials = 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.
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.
- encodedValuesContent
- String
Base64 encoded value of the parameters/values file content.
- 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.