Share via


CustomizationTask Class

Definition

A customization task to run on a Dev Box.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.CustomizationTaskTypeConverter))]
public class CustomizationTask : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.ICustomizationTask
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.CustomizationTaskTypeConverter))>]
type CustomizationTask = class
    interface ICustomizationTask
    interface IJsonSerializable
Public Class CustomizationTask
Implements ICustomizationTask
Inheritance
CustomizationTask
Attributes
Implements

Constructors

CustomizationTask()

Creates an new CustomizationTask instance.

Properties

DisplayName

Display name to help differentiate multiple instances of the same task.

EndTime

End time of the task.

Id

ID of the task instance.

LogUri

The unique URI for retrieving the task logs.

Name

Name of the task.

Parameter

Parameters for the task.

RunAs

What account to run the task as.

StartTime

Start time of the task.

Status

Status of the task.

TimeoutInSecond

Timeout, in seconds. Overrides any timeout provided on the task definition.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CustomizationTask.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CustomizationTask.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.ICustomizationTask.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CustomizationTask into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to