/// <summary>
 /// Initializes a new instance of the AzureSqlProtectedItem class.
 /// </summary>
 /// <param name="backupManagementType">Type of backup management for
 /// the backed up item. Possible values include: 'Invalid',
 /// 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql',
 /// 'AzureStorage', 'AzureWorkload', 'DefaultBackup'</param>
 /// <param name="workloadType">Type of workload this item represents.
 /// Possible values include: 'Invalid', 'VM', 'FileFolder',
 /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM',
 /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
 /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'</param>
 /// <param name="containerName">Unique name of container</param>
 /// <param name="sourceResourceId">ARM ID of the resource to be backed
 /// up.</param>
 /// <param name="policyId">ID of the backup policy with which this item
 /// is backed up.</param>
 /// <param name="lastRecoveryPoint">Timestamp when the last (latest)
 /// backup copy was created for this backup item.</param>
 /// <param name="backupSetName">Name of the backup set the backup item
 /// belongs to</param>
 /// <param name="createMode">Create mode to indicate recovery of
 /// existing soft deleted data source or creation of new data source.
 /// Possible values include: 'Invalid', 'Default', 'Recover'</param>
 /// <param name="deferredDeleteTimeInUTC">Time for deferred deletion in
 /// UTC</param>
 /// <param name="isScheduledForDeferredDelete">Flag to identify whether
 /// the DS is scheduled for deferred delete</param>
 /// <param name="deferredDeleteTimeRemaining">Time remaining before the
 /// DS marked for deferred delete is permanently deleted</param>
 /// <param name="isDeferredDeleteScheduleUpcoming">Flag to identify
 /// whether the deferred deleted DS is to be purged soon</param>
 /// <param name="isRehydrate">Flag to identify that deferred deleted DS
 /// is to be moved into Pause state</param>
 /// <param
 /// name="resourceGuardOperationRequests">ResourceGuardOperationRequests
 /// on which LAC check will be performed</param>
 /// <param name="protectedItemDataId">Internal ID of a backup item.
 /// Used by Azure SQL Backup engine to contact Recovery
 /// Services.</param>
 /// <param name="protectionState">Backup state of the backed up item.
 /// Possible values include: 'Invalid', 'IRPending', 'Protected',
 /// 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'</param>
 /// <param name="extendedInfo">Additional information for this backup
 /// item.</param>
 public AzureSqlProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime?lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime?deferredDeleteTimeInUTC = default(System.DateTime?), bool?isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool?isDeferredDeleteScheduleUpcoming = default(bool?), bool?isRehydrate = default(bool?), IList <string> resourceGuardOperationRequests = default(IList <string>), string protectedItemDataId = default(string), string protectionState = default(string), AzureSqlProtectedItemExtendedInfo extendedInfo = default(AzureSqlProtectedItemExtendedInfo))
     : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests)
 {
     ProtectedItemDataId = protectedItemDataId;
     ProtectionState     = protectionState;
     ExtendedInfo        = extendedInfo;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the AzureSqlProtectedItem class.
 /// </summary>
 /// <param name="backupManagementType">Type of backup managemenent for
 /// the backed up item. Possible values include: 'Invalid',
 /// 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql',
 /// 'AzureStorage', 'AzureWorkload', 'DefaultBackup'</param>
 /// <param name="workloadType">Type of workload this item represents.
 /// Possible values include: 'Invalid', 'VM', 'FileFolder',
 /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM',
 /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
 /// 'AzureFileShare', 'SAPHanaDatabase'</param>
 /// <param name="containerName">Unique name of container</param>
 /// <param name="sourceResourceId">ARM ID of the resource to be backed
 /// up.</param>
 /// <param name="policyId">ID of the backup policy with which this item
 /// is backed up.</param>
 /// <param name="lastRecoveryPoint">Timestamp when the last (latest)
 /// backup copy was created for this backup item.</param>
 /// <param name="backupSetName">Name of the backup set the backup item
 /// belongs to</param>
 /// <param name="createMode">Create mode to indicate recovery of
 /// existing soft deleted data source or creation of new data source.
 /// Possible values include: 'Invalid', 'Default', 'Recover'</param>
 /// <param name="protectedItemDataId">Internal ID of a backup item.
 /// Used by Azure SQL Backup engine to contact Recovery
 /// Services.</param>
 /// <param name="protectionState">Backup state of the backed up item.
 /// Possible values include: 'Invalid', 'IRPending', 'Protected',
 /// 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'</param>
 /// <param name="extendedInfo">Additional information for this backup
 /// item.</param>
 public AzureSqlProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime?lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), string protectedItemDataId = default(string), string protectionState = default(string), AzureSqlProtectedItemExtendedInfo extendedInfo = default(AzureSqlProtectedItemExtendedInfo))
     : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode)
 {
     ProtectedItemDataId = protectedItemDataId;
     ProtectionState     = protectionState;
     ExtendedInfo        = extendedInfo;
     CustomInit();
 }