ClusterSwitchProtectionJobDetails Class

Definition

This class represents details for switch cluster protection job.

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

Constructors

Name Description
ClusterSwitchProtectionJobDetails()

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

NewReplicationProtectionClusterId

ARM Id of the new replication protection cluster.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ClusterSwitchProtectionJobDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ClusterSwitchProtectionJobDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ClusterSwitchProtectionJobDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to