ClusterFailoverJobDetails Class

Definition

This class represents the details for a failover job of cluster.

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

Constructors

Name Description
ClusterFailoverJobDetails()

Creates an new ClusterFailoverJobDetails instance.

Properties

Name Description
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

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ClusterFailoverJobDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ClusterFailoverJobDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.IClusterFailoverJobDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ClusterFailoverJobDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to