ArmRecoveryServicesBackupModelFactory.VmWorkloadSqlDatabaseProtectedItem Method
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.
Initializes a new instance of VmWorkloadSqlDatabaseProtectedItem.
public static Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadSqlDatabaseProtectedItem VmWorkloadSqlDatabaseProtectedItem (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 serverName = default, string parentName = default, string parentType = default, string protectionStatus = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionState? protectionState = default, Azure.ResourceManager.RecoveryServicesBackup.Models.LastBackupStatus? lastBackupStatus = default, DateTimeOffset? lastBackupOn = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupErrorDetail lastBackupErrorDetail = default, string protectedItemDataSourceId = default, Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemHealthStatus? protectedItemHealthStatus = default, Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemExtendedInfo extendedInfo = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.RecoveryServicesBackup.Models.KpiResourceHealthDetails> kpisHealths = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesBackup.Models.DistributedNodesInfo> nodesList = default);
static member VmWorkloadSqlDatabaseProtectedItem : 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 * string * string * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionState> * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.LastBackupStatus> * Nullable<DateTimeOffset> * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupErrorDetail * string * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemHealthStatus> * Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadProtectedItemExtendedInfo * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.RecoveryServicesBackup.Models.KpiResourceHealthDetails> * seq<Azure.ResourceManager.RecoveryServicesBackup.Models.DistributedNodesInfo> -> Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadSqlDatabaseProtectedItem
Public Shared Function VmWorkloadSqlDatabaseProtectedItem (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 serverName As String = Nothing, Optional parentName As String = Nothing, Optional parentType As String = Nothing, Optional protectionStatus As String = Nothing, Optional protectionState As Nullable(Of BackupProtectionState) = Nothing, Optional lastBackupStatus As Nullable(Of LastBackupStatus) = Nothing, Optional lastBackupOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastBackupErrorDetail As BackupErrorDetail = Nothing, Optional protectedItemDataSourceId As String = Nothing, Optional protectedItemHealthStatus As Nullable(Of VmWorkloadProtectedItemHealthStatus) = Nothing, Optional extendedInfo As VmWorkloadProtectedItemExtendedInfo = Nothing, Optional kpisHealths As IDictionary(Of String, KpiResourceHealthDetails) = Nothing, Optional nodesList As IEnumerable(Of DistributedNodesInfo) = Nothing) As VmWorkloadSqlDatabaseProtectedItem
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.
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.
Flag to identify whether the deferred deleted DS is to be purged soon.
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.
- policyName
- String
Name of the policy used for protection.
- vaultId
- String
ID of the vault which protects this item.
- friendlyName
- String
Friendly name of the DB represented by this backup item.
- serverName
- String
Host/Cluster Name for instance or AG.
- parentName
- String
Parent name of the DB such as Instance or Availability Group.
- parentType
- String
Parent type of protected item, example: for a DB, standalone server or distributed.
- protectionStatus
- String
Backup status of this backup item.
- protectionState
- Nullable<BackupProtectionState>
Backup state of this backup item.
- lastBackupStatus
- Nullable<LastBackupStatus>
Last backup operation status. Possible values: Healthy, Unhealthy.
- lastBackupOn
- Nullable<DateTimeOffset>
Timestamp of the last backup operation on this backup item.
- lastBackupErrorDetail
- BackupErrorDetail
Error details in last backup.
- protectedItemDataSourceId
- String
Data ID of the protected item.
- protectedItemHealthStatus
- Nullable<VmWorkloadProtectedItemHealthStatus>
Health status of the backup item, evaluated based on last heartbeat received.
- extendedInfo
- VmWorkloadProtectedItemExtendedInfo
Additional information for this backup item.
- kpisHealths
- IDictionary<String,KpiResourceHealthDetails>
Health details of different KPIs.
- nodesList
- IEnumerable<DistributedNodesInfo>
List of the nodes in case of distributed container.
Returns
A new VmWorkloadSqlDatabaseProtectedItem instance for mocking.