Share via


ReplicationProtectedItem Class

Definition

Replication protected item.

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

Constructors

ReplicationProtectedItem()

Creates an new ReplicationProtectedItem instance.

Properties

ActiveLocation

The Current active location of the PE.

AllowedOperation

The allowed operations on the Replication protected item.

CurrentScenarioJobId

ARM Id of the job being executed.

CurrentScenarioName

Scenario name.

CurrentScenarioStartTime

Start time of the workflow.

EventCorrelationId

The correlation Id for events associated with this protected item.

FailoverHealth

The consolidated failover health for the VM.

FailoverRecoveryPointId

The recovery point ARM Id to which the Vm was failed over.

FriendlyName

The name.

HealthError

List of health errors.

Id

Resource Id

LastSuccessfulFailoverTime

The Last successful failover time.

LastSuccessfulTestFailoverTime

The Last successful test failover time.

Location

Resource Location

Name

Resource Name

PolicyFriendlyName

The name of Policy governing this PE.

PolicyId

The ID of Policy governing this PE.

PrimaryFabricFriendlyName

The friendly name of the primary fabric.

PrimaryFabricProvider

The fabric provider of the primary fabric.

PrimaryProtectionContainerFriendlyName

The name of primary protection container friendly name.

ProtectableItemId

The protected item ARM Id.

ProtectedItemType

The type of protected item type.

ProtectionState

The protection status.

ProtectionStateDescription

The protection state description.

ProviderSpecificDetailInstanceType

Gets the Instance type.

RecoveryContainerId

The recovery container Id.

RecoveryFabricFriendlyName

The friendly name of recovery fabric.

RecoveryFabricId

The Arm Id of recovery fabric.

RecoveryProtectionContainerFriendlyName

The name of recovery container friendly name.

RecoveryServicesProviderId

The recovery provider ARM Id.

ReplicationHealth

The consolidated protection health for the VM taking any issues with SRS as well as all the replication units associated with the VM's replication group into account. This is a string representation of the ProtectionHealth enumeration.

SwitchProviderState

The switch provider state.

SwitchProviderStateDescription

The switch provider state description.

TestFailoverState

The Test failover state.

TestFailoverStateDescription

The Test failover state description.

Type

Resource Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ReplicationProtectedItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ReplicationProtectedItem.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ReplicationProtectedItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to