Share via


JobDetails Class

Definition

Job details based on specific job type.

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

Constructors

JobDetails()

Creates an new JobDetails instance.

Properties

AffectedObjectDetail

The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.

InstanceType

Gets the type of job details (see JobDetailsTypes enum for possible values).

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IJobDetails. Note: the Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IJobDetails interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to