Sdílet prostřednictvím


GenericProtectedItem Class

Definition

Base class for backup items.

public class GenericProtectedItem : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItem
type GenericProtectedItem = class
    inherit ProtectedItem
Public Class GenericProtectedItem
Inherits ProtectedItem
Inheritance
GenericProtectedItem

Constructors

GenericProtectedItem()

Initializes a new instance of the GenericProtectedItem class.

GenericProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, Nullable<Boolean>, String, String, String, String, Nullable<Int64>, IDictionary<String, String>, String)

Initializes a new instance of the GenericProtectedItem class.

Properties

BackupManagementType

Gets or sets type of backup management for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup'

(Inherited from ProtectedItem)
BackupSetName

Gets or sets name of the backup set the backup item belongs to

(Inherited from ProtectedItem)
ContainerName

Gets or sets unique name of container

(Inherited from ProtectedItem)
CreateMode

Gets or sets create mode to indicate recovery of existing soft deleted data source or creation of new data source. Possible values include: 'Invalid', 'Default', 'Recover'

(Inherited from ProtectedItem)
DeferredDeleteTimeInUTC

Gets or sets time for deferred deletion in UTC

(Inherited from ProtectedItem)
DeferredDeleteTimeRemaining

Gets or sets time remaining before the DS marked for deferred delete is permanently deleted

(Inherited from ProtectedItem)
FabricName

Gets or sets name of this backup item's fabric.

FriendlyName

Gets or sets friendly name of the container.

IsArchiveEnabled

Gets or sets flag to identify whether datasource is protected in archive

(Inherited from ProtectedItem)
IsDeferredDeleteScheduleUpcoming

Gets or sets flag to identify whether the deferred deleted DS is to be purged soon

(Inherited from ProtectedItem)
IsRehydrate

Gets or sets flag to identify that deferred deleted DS is to be moved into Pause state

(Inherited from ProtectedItem)
IsScheduledForDeferredDelete

Gets or sets flag to identify whether the DS is scheduled for deferred delete

(Inherited from ProtectedItem)
LastRecoveryPoint

Gets or sets timestamp when the last (latest) backup copy was created for this backup item.

(Inherited from ProtectedItem)
PolicyId

Gets or sets ID of the backup policy with which this item is backed up.

(Inherited from ProtectedItem)
PolicyName

Gets or sets name of the policy used for protection

(Inherited from ProtectedItem)
PolicyState

Gets or sets indicates consistency of policy object and policy applied to this backup item.

ProtectedItemId

Gets or sets data Plane Service ID of the protected item.

ProtectionState

Gets or sets backup state of this backup item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'

ResourceGuardOperationRequests

Gets or sets resourceGuardOperationRequests on which LAC check will be performed

(Inherited from ProtectedItem)
SourceAssociations

Gets or sets loosely coupled (type, value) associations (example - parent of a protected item)

SourceResourceId

Gets or sets ARM ID of the resource to be backed up.

(Inherited from ProtectedItem)
WorkloadType

Gets or sets type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'

(Inherited from ProtectedItem)

Applies to