ArmDataProtectionBackupModelFactory.BackupRecoveryTimeBasedRestoreContent 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 BackupRecoveryTimeBasedRestoreContent.
public static Azure.ResourceManager.DataProtectionBackup.Models.BackupRecoveryTimeBasedRestoreContent BackupRecoveryTimeBasedRestoreContent (Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase restoreTargetInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType sourceDataStoreType = default, Azure.Core.ResourceIdentifier sourceResourceId = default, System.Collections.Generic.IEnumerable<string> resourceGuardOperationRequests = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionIdentityDetails identityDetails = default, DateTimeOffset recoverOn = default);
static member BackupRecoveryTimeBasedRestoreContent : Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType * Azure.Core.ResourceIdentifier * seq<string> * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionIdentityDetails * DateTimeOffset -> Azure.ResourceManager.DataProtectionBackup.Models.BackupRecoveryTimeBasedRestoreContent
Public Shared Function BackupRecoveryTimeBasedRestoreContent (Optional restoreTargetInfo As RestoreTargetInfoBase = Nothing, Optional sourceDataStoreType As SourceDataStoreType = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional resourceGuardOperationRequests As IEnumerable(Of String) = Nothing, Optional identityDetails As DataProtectionIdentityDetails = Nothing, Optional recoverOn As DateTimeOffset = Nothing) As BackupRecoveryTimeBasedRestoreContent
Parameters
- restoreTargetInfo
- RestoreTargetInfoBase
Gets or sets the restore target information. Please note RestoreTargetInfoBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ItemLevelRestoreTargetInfo, RestoreFilesTargetInfo and RestoreTargetInfo.
- sourceDataStoreType
- SourceDataStoreType
Gets or sets the type of the source data store.
- sourceResourceId
- ResourceIdentifier
Fully qualified Azure Resource Manager ID of the datasource which is being recovered.
- resourceGuardOperationRequests
- IEnumerable<String>
ResourceGuardOperationRequests on which LAC check will be performed.
- identityDetails
- DataProtectionIdentityDetails
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
- recoverOn
- DateTimeOffset
The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z.
Returns
A new BackupRecoveryTimeBasedRestoreContent instance for mocking.
Applies to
Azure SDK for .NET