ArmDataProtectionBackupModelFactory.RestoreFilesTargetDetails 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 RestoreFilesTargetDetails.
public static Azure.ResourceManager.DataProtectionBackup.Models.RestoreFilesTargetDetails RestoreFilesTargetDetails (string filePrefix = default, Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetLocationType restoreTargetLocationType = default, Uri uri = default, Azure.Core.ResourceIdentifier targetResourceArmId = default);
static member RestoreFilesTargetDetails : string * Azure.ResourceManager.DataProtectionBackup.Models.RestoreTargetLocationType * Uri * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DataProtectionBackup.Models.RestoreFilesTargetDetails
Public Shared Function RestoreFilesTargetDetails (Optional filePrefix As String = Nothing, Optional restoreTargetLocationType As RestoreTargetLocationType = Nothing, Optional uri As Uri = Nothing, Optional targetResourceArmId As ResourceIdentifier = Nothing) As RestoreFilesTargetDetails
Parameters
- filePrefix
- String
Restore operation may create multiple files inside location pointed by Url Below will be the common prefix for all of them
- restoreTargetLocationType
- RestoreTargetLocationType
Denotes the target location where the data will be restored, string value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}
- uri
- Uri
Url denoting the restore destination. It can point to container / file share etc.
- targetResourceArmId
- ResourceIdentifier
Full ARM Id denoting the restore destination. It is the ARM Id pointing to container / file share This is optional if the target subscription can be identified with the URL field. If not then this is needed if CrossSubscriptionRestore field of BackupVault is in any of the disabled states
Returns
A new RestoreFilesTargetDetails instance for mocking.