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

ProtectableItem Class

Definition

Replication protected item.

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

Constructors

ProtectableItem()

Creates an new ProtectableItem instance.

Properties

CustomDetailInstanceType

Gets the class type. Overridden in derived classes.

FriendlyName

The name.

Id

Resource Id

Location

Resource Location

Name

Resource Name

ProtectionReadinessError

The Current protection readiness errors.

ProtectionStatus

The protection status.

RecoveryServicesProviderId

The recovery provider ARM Id.

ReplicationProtectedItemId

The ARM resource of protected items.

SupportedReplicationProvider

The list of replication providers supported for the protectable item.

Type

Resource Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ProtectableItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ProtectableItem.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ProtectableItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to