Share via


InMageUnplannedFailoverInput Class

Definition

Provider specific input for InMage unplanned failover.

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

Constructors

InMageUnplannedFailoverInput()

Creates an new InMageUnplannedFailoverInput instance.

Properties

InstanceType

The class type.

RecoveryPointId

The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.

RecoveryPointType

The recovery point type. Values from LatestTime, LatestTag or Custom. In the case of custom, the recovery point provided by RecoveryPointId will be used. In the other two cases, recovery point id will be ignored.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of InMageUnplannedFailoverInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InMageUnplannedFailoverInput.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of InMageUnplannedFailoverInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to