PsDataFactory is a PowerShell module to generate DataFactory pipelines and datasets.
Creates an Azure Databricks Python activity.
New-AdfDatabricksPythonActivity [-Name] <String> [[-Timeout] <Object>] [-PythonFilePath] <String>
[-LinkedServiceReference] <PSObject> [[-DependsOn] <Object>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Creates an activity that runs the specified Python file using the supplied Azure Databricks linked service.
New-AdfDatabricksPythonActivity -Name 'RunNotebookScript' -PythonFilePath 'dbfs:/main.py' -LinkedServiceReference $linkedService
Creates an activity that runs the specified Python file.
The activity name.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The activity timeout. Defaults to 12 hours.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: 0.12:00:00
Accept pipeline input: False
Accept wildcard characters: False
The path of the Python file to run.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Azure Databricks linked service reference.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The activity dependencies. Defaults to an empty array.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: @()
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://abbgrade.github.io/PsDataFactory/docs/New-AdfDatabricksPythonActivity.html