PsDataFactory

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

View the Project on GitHub abbgrade/PsDataFactory

New-AdfPipeline

SYNOPSIS

Creates an Azure Data Factory pipeline definition.

SYNTAX

New-AdfPipeline [-Name] <String> [[-Description] <String>] [[-Activities] <PSObject[]>]
 [[-Parameters] <PSObject>] [[-Variables] <PSObject>] [[-FolderName] <String>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Creates a pipeline object with its name, description, activities, parameters, variables, folder, and generated-pipeline annotation.

EXAMPLES

EXAMPLE 1

New-AdfPipeline -Name 'DailyLoad' -Description 'Loads daily data'
Creates a pipeline definition with the specified name and description.

PARAMETERS

-Name

The pipeline name.

Type: String
Parameter Sets: (All)
Aliases:

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

-Description

The optional pipeline description.

Type: String
Parameter Sets: (All)
Aliases:

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

-Activities

The activities to include in the pipeline. Defaults to an empty array.

Type: PSObject[]
Parameter Sets: (All)
Aliases:

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

-Parameters

The pipeline parameters. Defaults to an empty object.

Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: @{}
Accept pipeline input: False
Accept wildcard characters: False

-Variables

The pipeline variables. Defaults to an empty object.

Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: @{}
Accept pipeline input: False
Accept wildcard characters: False

-FolderName

The optional pipeline folder name.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
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 pipeline definition.

NOTES

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

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