Share via


TaskUpdateParameters Class

Definition

The parameters for updating a task.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskUpdateParametersTypeConverter))]
public class TaskUpdateParameters : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ITaskUpdateParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskUpdateParametersTypeConverter))>]
type TaskUpdateParameters = class
    interface ITaskUpdateParameters
    interface IJsonSerializable
Public Class TaskUpdateParameters
Implements ITaskUpdateParameters
Inheritance
TaskUpdateParameters
Attributes
Implements

Constructors

TaskUpdateParameters()

Creates an new TaskUpdateParameters instance.

Properties

AgentConfigurationCpu

The CPU configuration in terms of number of cores required for the run.

AgentPoolName

The dedicated agent pool for the task.

BaseImageTriggerBaseImageTriggerType

The type of the auto trigger for base image dependency updates.

BaseImageTriggerName

The name of the trigger.

BaseImageTriggerStatus

The current status of trigger.

BaseImageTriggerUpdateTriggerEndpoint

The endpoint URL for receiving update triggers.

BaseImageTriggerUpdateTriggerPayloadType

Type of Payload body for Base image update triggers.

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.

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

IdentityUserAssignedIdentity

The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

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.

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.

Status

The current status of task.

StepContextAccessToken

The token (git PAT or SAS token of storage account blob) associated with the context for a step.

StepContextPath

The URL(absolute or relative) of the source context for the task step.

StepType

The type of the step.

Tag

The ARM resource tags.

Timeout

Run timeout in seconds.

TriggerSourceTrigger

The collection of triggers based on source code repository.

TriggerTimerTrigger

The collection of timer triggers.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TaskUpdateParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TaskUpdateParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ITaskUpdateParameters.

FromJsonString(String)

Creates a new instance of TaskUpdateParameters, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TaskUpdateParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to