AzureVmWorkloadProtectedItem Constructors
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.
Overloads
AzureVmWorkloadProtectedItem() |
Initializes a new instance of the AzureVmWorkloadProtectedItem class. |
AzureVmWorkloadProtectedItem(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, String, String, String, String, Nullable<DateTime>, ErrorDetail, String, String, AzureVmWorkloadProtectedItemExtendedInfo, IDictionary<String, KPIResourceHealthDetails>) |
Initializes a new instance of the AzureVmWorkloadProtectedItem class. |
AzureVmWorkloadProtectedItem()
Initializes a new instance of the AzureVmWorkloadProtectedItem class.
public AzureVmWorkloadProtectedItem ();
Public Sub New ()
Applies to
AzureVmWorkloadProtectedItem(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, String, String, String, String, Nullable<DateTime>, ErrorDetail, String, String, AzureVmWorkloadProtectedItemExtendedInfo, IDictionary<String, KPIResourceHealthDetails>)
Initializes a new instance of the AzureVmWorkloadProtectedItem class.
public AzureVmWorkloadProtectedItem (string backupManagementType = default, string workloadType = default, string containerName = default, string sourceResourceId = default, string policyId = default, DateTime? lastRecoveryPoint = default, string backupSetName = default, string createMode = default, DateTime? deferredDeleteTimeInUTC = default, bool? isScheduledForDeferredDelete = default, string deferredDeleteTimeRemaining = default, bool? isDeferredDeleteScheduleUpcoming = default, bool? isRehydrate = default, System.Collections.Generic.IList<string> resourceGuardOperationRequests = default, bool? isArchiveEnabled = default, string policyName = default, string friendlyName = default, string serverName = default, string parentName = default, string parentType = default, string protectionStatus = default, string protectionState = default, string lastBackupStatus = default, DateTime? lastBackupTime = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ErrorDetail lastBackupErrorDetail = default, string protectedItemDataSourceId = default, string protectedItemHealthStatus = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.RecoveryServices.Backup.Models.KPIResourceHealthDetails> kpisHealths = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVmWorkloadProtectedItem : string * string * string * string * string * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * string * string * string * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.ErrorDetail * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVmWorkloadProtectedItemExtendedInfo * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.RecoveryServices.Backup.Models.KPIResourceHealthDetails> -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVmWorkloadProtectedItem
Public Sub New (Optional backupManagementType As String = Nothing, Optional workloadType As String = Nothing, Optional containerName As String = Nothing, Optional sourceResourceId As String = Nothing, Optional policyId As String = Nothing, Optional lastRecoveryPoint As Nullable(Of DateTime) = Nothing, Optional backupSetName As String = Nothing, Optional createMode As String = Nothing, Optional deferredDeleteTimeInUTC As Nullable(Of DateTime) = 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 IList(Of String) = Nothing, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional policyName 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 String = Nothing, Optional lastBackupStatus As String = Nothing, Optional lastBackupTime As Nullable(Of DateTime) = Nothing, Optional lastBackupErrorDetail As ErrorDetail = Nothing, Optional protectedItemDataSourceId As String = Nothing, Optional protectedItemHealthStatus As String = Nothing, Optional extendedInfo As AzureVmWorkloadProtectedItemExtendedInfo = Nothing, Optional kpisHealths As IDictionary(Of String, KPIResourceHealthDetails) = Nothing)
Parameters
- backupManagementType
- String
Type of backup management for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup'
- workloadType
- String
Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'
- containerName
- String
Unique name of container
- sourceResourceId
- String
ARM ID of the resource to be backed up.
- policyId
- String
ID of the backup policy with which this item is backed up.
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
- String
Create mode to indicate recovery of existing soft deleted data source or creation of new data source. Possible values include: 'Invalid', 'Default', 'Recover'
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 on which LAC check will be performed
- policyName
- String
Name of the policy used for protection
- 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
- String
Backup state of this backup item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- lastBackupStatus
- String
Last backup operation status. Possible values: Healthy, Unhealthy. Possible values include: 'Invalid', 'Healthy', 'Unhealthy', 'IRPending'
- lastBackupErrorDetail
- ErrorDetail
Error details in last backup
- protectedItemDataSourceId
- String
Data ID of the protected item.
- protectedItemHealthStatus
- String
Health status of the backup item, evaluated based on last heartbeat received. Possible values include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', 'IRPending'
- extendedInfo
- AzureVmWorkloadProtectedItemExtendedInfo
Additional information for this backup item.
- kpisHealths
- IDictionary<String,KPIResourceHealthDetails>
Health details of different KPIs
Applies to
Azure SDK for .NET