EncodedTaskRunRequest Class
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.
The parameters for a quick task run request.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.EncodedTaskRunRequestTypeConverter))]
public class EncodedTaskRunRequest : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IEncodedTaskRunRequest, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.EncodedTaskRunRequestTypeConverter))>]
type EncodedTaskRunRequest = class
interface IEncodedTaskRunRequest
interface IJsonSerializable
interface IRunRequest
interface IValidates
Public Class EncodedTaskRunRequest
Implements IEncodedTaskRunRequest, IValidates
- Inheritance
-
EncodedTaskRunRequest
- Attributes
- Implements
Constructors
EncodedTaskRunRequest() |
Creates an new EncodedTaskRunRequest 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. |
EncodedTaskContent |
Base64 encoded value of the template/definition file content. |
EncodedValuesContent |
Base64 encoded value of the parameters/values file content. |
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. |
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. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of EncodedTaskRunRequest. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of EncodedTaskRunRequest. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IEncodedTaskRunRequest. |
FromJsonString(String) |
Creates a new instance of EncodedTaskRunRequest, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of EncodedTaskRunRequest into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |