Share via


SwitchProtectionJobDetails Class

Definition

This class represents details for switch protection job.

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

Constructors

SwitchProtectionJobDetails()

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

NewReplicationProtectedItemId

ARM Id of the new replication protected item.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SwitchProtectionJobDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SwitchProtectionJobDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SwitchProtectionJobDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to