Append¶
SYNOPSIS¶
The append effect: fields to add to a create or update request. Use it instead of Effect.
SYNTAX¶
Append [[-Body] <ScriptBlock>] [-Effect <Object>] [<CommonParameters>]
USED IN¶
Policy
EXAMPLES¶
Example 1¶
Append {
Field supportsHttpsTrafficOnly | Add $true
Field 'networkAcls.ipRules[*]' | Add @{ value = '40.40.40.40'; action = 'Allow' }
}
Example 2¶
Append {
Field 'networkAcls.ipRules[*].action' | Add 'Allow'
}
Adds the property to every element of the array.
PARAMETERS¶
-Body¶
The Add operations.
Type: ScriptBlock
Required: false
Position: 1
Accept pipeline input: false
-Effect¶
The effect as a parameter, (Param Effect). Without it, the effect is Append.
Type: Object
Required: false
Position: named
Accept pipeline input: false