ArmStorageActionsModelFactory.StorageTaskIfCondition 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.
The if block of storage task operation.
public static Azure.ResourceManager.StorageActions.Models.StorageTaskIfCondition StorageTaskIfCondition(string condition = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageActions.Models.StorageTaskOperationInfo> operations = default);
static member StorageTaskIfCondition : string * seq<Azure.ResourceManager.StorageActions.Models.StorageTaskOperationInfo> -> Azure.ResourceManager.StorageActions.Models.StorageTaskIfCondition
Public Shared Function StorageTaskIfCondition (Optional condition As String = Nothing, Optional operations As IEnumerable(Of StorageTaskOperationInfo) = Nothing) As StorageTaskIfCondition
Parameters
- condition
- String
Condition predicate to evaluate each object. See https://aka.ms/storagetaskconditions for valid properties and operators.
- operations
- IEnumerable<StorageTaskOperationInfo>
List of operations to execute when the condition predicate satisfies.
Returns
A new StorageTaskIfCondition instance for mocking.