MigrationItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Migration item.
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.MigrationItemTypeConverter))]
public class MigrationItem : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IMigrationItem, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.Migrate.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.MigrationItemTypeConverter))>]
type MigrationItem = class
interface IMigrationItem
interface IJsonSerializable
interface IResource
interface IValidates
Public Class MigrationItem
Implements IMigrationItem, IValidates
- Inheritance
-
MigrationItem
- Attributes
- Implements
Constructors
MigrationItem() |
Creates an new MigrationItem instance. |
Properties
AllowedOperation |
The allowed operations on the migration item based on the current migration state of the item. |
CriticalJobHistory |
The critical past job details. |
CurrentJobId |
The ARM Id of the job being executed. |
CurrentJobName |
The job name. |
CurrentJobStartTime |
The start time of the job. |
EventCorrelationId |
The correlation Id for events associated with this migration item. |
Health |
The consolidated health. |
HealthError |
The list of health errors. |
Id |
Resource Id |
LastMigrationStatus |
The status of the last migration. |
LastMigrationTime |
The last migration time. |
LastTestMigrationStatus |
The status of the last test migration. |
LastTestMigrationTime |
The last test migration time. |
Location |
Resource Location |
MachineName |
The on-premise virtual machine name. |
MigrationState |
The migration status. |
MigrationStateDescription |
The migration state description. |
Name |
Resource Name |
PolicyFriendlyName |
The name of policy governing this item. |
PolicyId |
The ARM Id of policy governing this item. |
ProviderSpecificDetail |
The migration provider custom settings. |
RecoveryServicesProviderId |
The recovery services provider ARM Id. |
ReplicationStatus |
The replication status. |
TestMigrateState |
The test migrate state. |
TestMigrateStateDescription |
The test migrate state description. |
Type |
Resource Type |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MigrationItem. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MigrationItem. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IMigrationItem. |
FromJsonString(String) |
Creates a new instance of MigrationItem, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of MigrationItem into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |