ProtectedItemModelProperties Class

Definition

Protected item model properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20240901.ProtectedItemModelPropertiesTypeConverter))]
public class ProtectedItemModelProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20240901.IProtectedItemModelProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20240901.ProtectedItemModelPropertiesTypeConverter))>]
type ProtectedItemModelProperties = class
    interface IProtectedItemModelProperties
    interface IJsonSerializable
Public Class ProtectedItemModelProperties
Implements IProtectedItemModelProperties
Inheritance
ProtectedItemModelProperties
Attributes
Implements

Constructors

Name Description
ProtectedItemModelProperties()

Creates an new ProtectedItemModelProperties instance.

Properties

Name Description
AllowedJob

Gets or sets the allowed scenarios on the protected item.

CorrelationId

Gets or sets the protected item correlation Id.

CurrentJob

Gets or sets the current scenario.

CustomProperty

Protected item model custom properties.

FabricAgentId

Gets or sets the fabric agent Id.

FabricId

Gets or sets the fabric Id.

FabricObjectId

Gets or sets the fabric object Id.

FabricObjectName

Gets or sets the fabric object name.

HealthError

Gets or sets the list of health errors.

LastFailedEnableProtectionJob

Gets or sets the last failed enabled protection job.

LastFailedPlannedFailoverJob

Gets or sets the last failed planned failover job.

LastSuccessfulPlannedFailoverTime

Gets or sets the Last successful planned failover time.

LastSuccessfulTestFailoverTime

Gets or sets the Last successful test failover time.

LastSuccessfulUnplannedFailoverTime

Gets or sets the Last successful unplanned failover time.

LastTestFailoverJob

Gets or sets the last test failover job.

PolicyName

Gets or sets the policy name.

ProtectionState

Gets or sets the protection state.

ProtectionStateDescription

Gets or sets the protection state description.

ProvisioningState

Gets or sets the provisioning state of the fabric agent.

ReplicationExtensionName

Gets or sets the replication extension name.

ReplicationHealth

Gets or sets protected item replication health.

ResynchronizationState

Gets or sets the resynchronization state.

ResyncRequired

Gets or sets a value indicating whether resynchronization is required or not.

SourceFabricProviderId

Gets or sets the source fabric provider Id.

TargetFabricAgentId

Gets or sets the target fabric agent Id.

TargetFabricId

Gets or sets the target fabric Id.

TargetFabricProviderId

Gets or sets the target fabric provider Id.

TestFailoverState

Gets or sets the test failover state.

TestFailoverStateDescription

Gets or sets the Test failover state description.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProtectedItemModelProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProtectedItemModelProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20240901.IProtectedItemModelProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProtectedItemModelProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to