Share via


InMageTestFailoverInput Class

Definition

Provider specific input for InMage test failover.

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

Constructors

InMageTestFailoverInput()

Creates an new InMageTestFailoverInput instance.

Properties

InstanceType

The class type.

RecoveryPointId

The recovery point id to be passed to test 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 InMageTestFailoverInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InMageTestFailoverInput.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of InMageTestFailoverInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to