Share via


FailoverJobDetails Class

Definition

This class represents the details for a failover job.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.FailoverJobDetailsTypeConverter))]
public class FailoverJobDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IFailoverJobDetails, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.FailoverJobDetailsTypeConverter))>]
type FailoverJobDetails = class
    interface IFailoverJobDetails
    interface IJsonSerializable
    interface IJobDetails
    interface IValidates
Public Class FailoverJobDetails
Implements IFailoverJobDetails, IValidates
Inheritance
FailoverJobDetails
Attributes
Implements

Constructors

FailoverJobDetails()

Creates an new FailoverJobDetails 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).

ProtectedItemDetail

The test VM details.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FailoverJobDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FailoverJobDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of FailoverJobDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to