ArmDataProtectionBackupModelFactory.BackupRestoreWithRehydrationContent Method

Definition

Initializes a new instance of BackupRestoreWithRehydrationContent.

public static Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreWithRehydrationContent BackupRestoreWithRehydrationContent (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, string recoveryPointId = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupRehydrationPriority rehydrationPriority = default, TimeSpan rehydrationRetentionDuration = default);
static member BackupRestoreWithRehydrationContent : Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetInfoBase * Azure.ResourceManager.DataProtectionBackup.Models.SourceDataStoreType * Azure.Core.ResourceIdentifier * seq<string> * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionIdentityDetails * string * Azure.ResourceManager.DataProtectionBackup.Models.BackupRehydrationPriority * TimeSpan -> Azure.ResourceManager.DataProtectionBackup.Models.BackupRestoreWithRehydrationContent
Public Shared Function BackupRestoreWithRehydrationContent (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 recoveryPointId As String = Nothing, Optional rehydrationPriority As BackupRehydrationPriority = Nothing, Optional rehydrationRetentionDuration As TimeSpan = Nothing) As BackupRestoreWithRehydrationContent

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.

recoveryPointId
String
rehydrationPriority
BackupRehydrationPriority

Priority to be used for rehydration. Values High or Standard.

rehydrationRetentionDuration
TimeSpan

Retention duration in ISO 8601 format i.e P10D .

Returns

A new BackupRestoreWithRehydrationContent instance for mocking.

Applies to