共用方式為


ArmRecoveryServicesBackupModelFactory.MabFileFolderProtectedItem Method

Definition

Initializes a new instance of MabFileFolderProtectedItem.

public static Azure.ResourceManager.RecoveryServicesBackup.Models.MabFileFolderProtectedItem MabFileFolderProtectedItem (Azure.ResourceManager.RecoveryServicesBackup.Models.BackupManagementType? backupManagementType = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupDataSourceType? workloadType = default, string containerName = default, Azure.Core.ResourceIdentifier sourceResourceId = default, Azure.Core.ResourceIdentifier policyId = default, DateTimeOffset? lastRecoverOn = default, string backupSetName = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode? createMode = default, DateTimeOffset? deferredDeletedOn = default, bool? isScheduledForDeferredDelete = default, string deferredDeleteTimeRemaining = default, bool? isDeferredDeleteScheduleUpcoming = default, bool? isRehydrate = default, System.Collections.Generic.IEnumerable<string> resourceGuardOperationRequests = default, bool? isArchiveEnabled = default, string policyName = default, int? softDeleteRetentionPeriodInDays = default, string vaultId = default, string friendlyName = default, string computerName = default, string lastBackupStatus = default, DateTimeOffset? lastBackupOn = default, string protectionState = default, long? deferredDeleteSyncTimeInUTC = default, Azure.ResourceManager.RecoveryServicesBackup.Models.MabFileFolderProtectedItemExtendedInfo extendedInfo = default);
static member MabFileFolderProtectedItem : Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupManagementType> * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupDataSourceType> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode> * Nullable<DateTimeOffset> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * seq<string> * Nullable<bool> * string * Nullable<int> * string * string * string * string * Nullable<DateTimeOffset> * string * Nullable<int64> * Azure.ResourceManager.RecoveryServicesBackup.Models.MabFileFolderProtectedItemExtendedInfo -> Azure.ResourceManager.RecoveryServicesBackup.Models.MabFileFolderProtectedItem
Public Shared Function MabFileFolderProtectedItem (Optional backupManagementType As Nullable(Of BackupManagementType) = Nothing, Optional workloadType As Nullable(Of BackupDataSourceType) = Nothing, Optional containerName As String = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional policyId As ResourceIdentifier = Nothing, Optional lastRecoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional backupSetName As String = Nothing, Optional createMode As Nullable(Of BackupCreateMode) = Nothing, Optional deferredDeletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional isScheduledForDeferredDelete As Nullable(Of Boolean) = Nothing, Optional deferredDeleteTimeRemaining As String = Nothing, Optional isDeferredDeleteScheduleUpcoming As Nullable(Of Boolean) = Nothing, Optional isRehydrate As Nullable(Of Boolean) = Nothing, Optional resourceGuardOperationRequests As IEnumerable(Of String) = Nothing, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional policyName As String = Nothing, Optional softDeleteRetentionPeriodInDays As Nullable(Of Integer) = Nothing, Optional vaultId As String = Nothing, Optional friendlyName As String = Nothing, Optional computerName As String = Nothing, Optional lastBackupStatus As String = Nothing, Optional lastBackupOn As Nullable(Of DateTimeOffset) = Nothing, Optional protectionState As String = Nothing, Optional deferredDeleteSyncTimeInUTC As Nullable(Of Long) = Nothing, Optional extendedInfo As MabFileFolderProtectedItemExtendedInfo = Nothing) As MabFileFolderProtectedItem

Parameters

backupManagementType
Nullable<BackupManagementType>

Type of backup management for the backed up item.

workloadType
Nullable<BackupDataSourceType>

Type of workload this item represents.

containerName
String

Unique name of container.

sourceResourceId
ResourceIdentifier

ARM ID of the resource to be backed up.

policyId
ResourceIdentifier

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

lastRecoverOn
Nullable<DateTimeOffset>

Timestamp when the last (latest) backup copy was created for this backup item.

backupSetName
String

Name of the backup set the backup item belongs to.

createMode
Nullable<BackupCreateMode>

Create mode to indicate recovery of existing soft deleted data source or creation of new data source.

deferredDeletedOn
Nullable<DateTimeOffset>

Time for deferred deletion in UTC.

isScheduledForDeferredDelete
Nullable<Boolean>

Flag to identify whether the DS is scheduled for deferred delete.

deferredDeleteTimeRemaining
String

Time remaining before the DS marked for deferred delete is permanently deleted.

isDeferredDeleteScheduleUpcoming
Nullable<Boolean>

Flag to identify whether the deferred deleted DS is to be purged soon.

isRehydrate
Nullable<Boolean>

Flag to identify that deferred deleted DS is to be moved into Pause state.

resourceGuardOperationRequests
IEnumerable<String>

ResourceGuardOperationRequests on which LAC check will be performed.

isArchiveEnabled
Nullable<Boolean>

Flag to identify whether datasource is protected in archive.

policyName
String

Name of the policy used for protection.

softDeleteRetentionPeriodInDays
Nullable<Int32>

Soft delete retention period in days.

vaultId
String

ID of the vault which protects this item.

friendlyName
String

Friendly name of this backup item.

computerName
String

Name of the computer associated with this backup item.

lastBackupStatus
String

Status of last backup operation.

lastBackupOn
Nullable<DateTimeOffset>

Timestamp of the last backup operation on this backup item.

protectionState
String

Protected, ProtectionStopped, IRPending or ProtectionError.

deferredDeleteSyncTimeInUTC
Nullable<Int64>

Sync time for deferred deletion in UTC.

extendedInfo
MabFileFolderProtectedItemExtendedInfo

Additional information with this backup item.

Returns

A new MabFileFolderProtectedItem instance for mocking.

Applies to