PsDataFactory

PsDataFactory is a PowerShell module to generate DataFactory pipelines and datasets.

View the Project on GitHub abbgrade/PsDataFactory

New-AdfIfCondition

SYNOPSIS

Creates an If Condition activity.

SYNTAX

New-AdfIfCondition [-Name] <String> [-Expression] <String> [[-DependsOn] <Object>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Creates an If Condition activity with the specified expression and optional dependencies.

EXAMPLES

EXAMPLE 1

New-AdfIfCondition -Name 'IsReady' -Expression '@equals(variables(''ready''), true)'
Creates an If Condition activity with the specified expression.

PARAMETERS

-Name

The activity name.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Expression

The expression evaluated by the If Condition activity.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DependsOn

The activity dependencies. Defaults to an empty array.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: @()
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Management.Automation.PSCustomObject. The If Condition activity definition.

NOTES

https://abbgrade.github.io/PsDataFactory/docs/New-AdfIfCondition.html

https://learn.microsoft.com/en-us/rest/api/datafactory/pipelines/create-or-update?view=rest-datafactory-2018-06-01