次の方法で共有


ProtectableItem Class

Definition

Replication protected item.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.ProtectableItemTypeConverter))]
public class ProtectableItem : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IProtectableItem, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.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.Api202401.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