你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FailoverJobDetails Class

Definition

This class represents the details for a failover job.

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

Constructors

FailoverJobDetails()

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

ProtectedItemDetail

The test VM details.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FailoverJobDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FailoverJobDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IFailoverJobDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of FailoverJobDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to