ArmStorageModelFactory.ExecutionTarget 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.
Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task.
public static Azure.ResourceManager.Storage.Models.ExecutionTarget ExecutionTarget(System.Collections.Generic.IEnumerable<string> prefix = default, System.Collections.Generic.IEnumerable<string> excludePrefix = default);
static member ExecutionTarget : seq<string> * seq<string> -> Azure.ResourceManager.Storage.Models.ExecutionTarget
Public Shared Function ExecutionTarget (Optional prefix As IEnumerable(Of String) = Nothing, Optional excludePrefix As IEnumerable(Of String) = Nothing) As ExecutionTarget
Parameters
- prefix
- IEnumerable<String>
Required list of object prefixes to be included for task execution.
- excludePrefix
- IEnumerable<String>
List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor.
Returns
A new ExecutionTarget instance for mocking.