Share via


AsrTask Class

Definition

Task of the Job.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AsrTaskTypeConverter))]
public class AsrTask : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAsrTask
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AsrTaskTypeConverter))>]
type AsrTask = class
    interface IAsrTask
    interface IJsonSerializable
Public Class AsrTask
Implements IAsrTask
Inheritance
AsrTask
Attributes
Implements

Constructors

AsrTask()

Creates an new AsrTask instance.

Properties

AllowedAction

The state/actions applicable on this task.

CustomDetailInstanceType

The type of task details.

EndTime

The end time.

Error

The task error details.

FriendlyName

The name.

GroupTaskCustomDetailChildTask

The child tasks.

GroupTaskCustomDetailInstanceType

The type of task details.

Name

The unique Task name.

StartTime

The start time.

State

The State. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.

StateDescription

The description of the task state. For example - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.

TaskId

The Id.

TaskType

The type of task. Details in CustomDetails property depend on this type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AsrTask.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AsrTask.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAsrTask.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AsrTask into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to