BackupGenericProtectedItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for backup items. Please note this is the abstract base class. The derived classes available for instantiation are: FileshareProtectedItem, IaasClassicComputeVmProtectedItem, IaasVmProtectedItem, IaasComputeVmProtectedItem, SqlProtectedItem, VmWorkloadProtectedItem, VmWorkloadSapAseDatabaseProtectedItem, VmWorkloadSapHanaDatabaseProtectedItem, VmWorkloadSapHanaDBInstanceProtectedItem, VmWorkloadSqlDatabaseProtectedItem, VmWorkloadSqlInstanceProtectedItem, DpmProtectedItem, GenericProtectedItem, and MabFileFolderProtectedItem.
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownProtectedItem))]
public abstract class BackupGenericProtectedItem : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectedItem>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectedItem>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownProtectedItem))>]
type BackupGenericProtectedItem = class
interface IJsonModel<BackupGenericProtectedItem>
interface IPersistableModel<BackupGenericProtectedItem>
Public MustInherit Class BackupGenericProtectedItem
Implements IJsonModel(Of BackupGenericProtectedItem), IPersistableModel(Of BackupGenericProtectedItem)
- Inheritance
-
BackupGenericProtectedItem
- Derived
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| BackupGenericProtectedItem() |
Initializes a new instance of BackupGenericProtectedItem for deserialization. |
Properties
| Name | Description |
|---|---|
| BackupManagementType |
Type of backup management for the backed up item. |
| BackupSetName |
Name of the backup set the backup item belongs to. |
| ContainerName |
Unique name of container. |
| CreateMode |
Create mode to indicate recovery of existing soft deleted data source or creation of new data source. |
| DeferredDeletedOn |
Time for deferred deletion in UTC. |
| DeferredDeleteTimeRemaining |
Time remaining before the DS marked for deferred delete is permanently deleted. |
| IsArchiveEnabled |
Flag to identify whether datasource is protected in archive. |
| IsDeferredDeleteScheduleUpcoming |
Flag to identify whether the deferred deleted DS is to be purged soon. |
| IsRehydrate |
Flag to identify that deferred deleted DS is to be moved into Pause state. |
| IsScheduledForDeferredDelete |
Flag to identify whether the DS is scheduled for deferred delete. |
| LastRecoverOn |
Timestamp when the last (latest) backup copy was created for this backup item. |
| PolicyId |
ID of the backup policy with which this item is backed up. |
| PolicyName |
Name of the policy used for protection. |
| ResourceGuardOperationRequests |
ResourceGuardOperationRequests on which LAC check will be performed. |
| SoftDeleteRetentionPeriodInDays |
Soft delete retention period in days. |
| SourceResourceId |
ARM ID of the resource to be backed up. |
| SourceSideScanInfo |
Source side threat information. |
| VaultId |
ID of the vault which protects this item. |
| WorkloadType |
Type of workload this item represents. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<BackupGenericProtectedItem>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<BackupGenericProtectedItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<BackupGenericProtectedItem>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<BackupGenericProtectedItem>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<BackupGenericProtectedItem>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |