ArmDataProtectionBackupModelFactory.ItemPathBasedRestoreCriteria 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 ItemPathBasedRestoreCriteria.
public static Azure.ResourceManager.DataProtectionBackup.Models.ItemPathBasedRestoreCriteria ItemPathBasedRestoreCriteria (string itemPath = default, bool isPathRelativeToBackupItem = false, System.Collections.Generic.IEnumerable<string> subItemPathPrefix = default);
static member ItemPathBasedRestoreCriteria : string * bool * seq<string> -> Azure.ResourceManager.DataProtectionBackup.Models.ItemPathBasedRestoreCriteria
Public Shared Function ItemPathBasedRestoreCriteria (Optional itemPath As String = Nothing, Optional isPathRelativeToBackupItem As Boolean = false, Optional subItemPathPrefix As IEnumerable(Of String) = Nothing) As ItemPathBasedRestoreCriteria
Parameters
- itemPath
- String
The path of the item to be restored. It could be the full path of the item or the path relative to the backup item.
- isPathRelativeToBackupItem
- Boolean
Flag to specify if the path is relative to backup item or full path.
- subItemPathPrefix
- IEnumerable<String>
The list of prefix strings to be used as filter criteria during restore. These are relative to the item path specified.
Returns
A new ItemPathBasedRestoreCriteria instance for mocking.
Applies to
Azure SDK for .NET