Share via


ProtectableContainer Class

Definition

Protectable Container Class. Please note ProtectableContainer is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include StorageProtectableContainer and VmAppContainerProtectableContainer.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownProtectableContainer))]
public abstract class ProtectableContainer : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectableContainer>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectableContainer>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownProtectableContainer))>]
type ProtectableContainer = class
    interface IJsonModel<ProtectableContainer>
    interface IPersistableModel<ProtectableContainer>
Public MustInherit Class ProtectableContainer
Implements IJsonModel(Of ProtectableContainer), IPersistableModel(Of ProtectableContainer)
Inheritance
ProtectableContainer
Derived
Attributes
Implements

Constructors

ProtectableContainer()

Initializes a new instance of ProtectableContainer.

Properties

BackupManagementType

Type of backup management for the container.

ContainerId

Fabric Id of the container such as ARM Id.

FriendlyName

Friendly name of the container.

HealthStatus

Status of health of the container.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ProtectableContainer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ProtectableContainer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProtectableContainer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProtectableContainer>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ProtectableContainer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to