PsDataFactory

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

View the Project on GitHub abbgrade/PsDataFactory

Add-AdfParameter

SYNOPSIS

Adds a parameter definition to a pipeline.

SYNTAX

Add-AdfParameter -Pipeline <PSObject> [-Name] <String> [-Type] <String> [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

Adds a parameter with the specified type to the pipeline’s parameters collection.

EXAMPLES

EXAMPLE 1

$pipeline | Add-AdfParameter -Name 'Environment' -Type 'String'
Adds a String parameter named Environment.

PARAMETERS

-Pipeline

The pipeline to update.

Type: PSObject
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

The parameter name.

Type: String
Parameter Sets: (All)
Aliases:

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

-Type

The parameter type.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
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

NOTES

https://abbgrade.github.io/PsDataFactory/docs/Add-AdfParameter.html

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