Get-AzDataFactoryV2Pipeline
Gets information about pipelines in Data Factory.
Syntax
ByFactoryName (Default)
Get-AzDataFactoryV2Pipeline
[[-Name] <String>]
[-ResourceGroupName] <String>
[-DataFactoryName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByFactoryObject
Get-AzDataFactoryV2Pipeline
[[-Name] <String>]
[-DataFactory] <PSDataFactory>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByResourceId
Get-AzDataFactoryV2Pipeline
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzDataFactoryV2Pipeline cmdlet gets information about pipelines in Azure Data Factory. If you specify the name of a pipeline, this cmdlet gets information about that pipeline. If you do not specify a name, this cmdlet gets information about all the pipelines in the data factory.
Examples
Example 1: Get information about all pipelines
Get-AzDataFactoryV2Pipeline -ResourceGroupName "ADF" -DataFactoryName "WikiADF"
PipelineName : DPWikisample
ResourceGroupName : ADF
DataFactoryName : WikiADF
Activities : {MyWebActivity}
Parameters : {[url, Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification]}
PipelineName : DPTwittersample
ResourceGroupName : ADF
DataFactoryName : WikiADF
Activities : {MyCopyActivity_0_0, MyCopyActivity_1_0}
Parameters : {[OutputBlobName, Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification]}
This command gets information about all pipelines in the data factory named WikiADF. You can use either one of the following example commands. The second one uses a DataFactory object as a parameter.
Example 2: Get information about a specific pipeline
Get-AzDataFactoryV2Pipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF" | Format-List
PipelineName : DPWikisample
ResourceGroupName : ADF
DataFactoryName : WikiADF
Activities : {MyCopyActivity_0_0, MyCopyActivity_1_0}
Parameters : {[OutputBlobName, Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification]}
This command gets information about the pipeline named DPWikisample in the data factory named WikiADF. The command passes that information to the Format-List cmdlet by using the pipeline operator. That Windows PowerShell cmdlet formats the results. For more information, type Get-Help Format-List.
Example 3: Get the properties for a specific pipeline
(Get-AzDataFactoryV2Pipeline -ResourceGroupName "ADF" -Name DPWikisample -DataFactoryName "WikiADF").Activities
Source : Microsoft.Azure.Management.DataFactory.Models.BlobSource
Sink : Microsoft.Azure.Management.DataFactory.Models.BlobSink
Translator :
EnableStaging :
StagingSettings :
ParallelCopies :
CloudDataMovementUnits :
EnableSkipIncompatibleRow :
RedirectIncompatibleRowSettings :
Inputs : {}
Outputs : {}
LinkedServiceName :
Policy :
Name : MyCopyActivity_0_0
Description :
DependsOn :
Source : Microsoft.Azure.Management.DataFactory.Models.BlobSource
Sink : Microsoft.Azure.Management.DataFactory.Models.BlobSink
Translator :
EnableStaging :
StagingSettings :
ParallelCopies :
CloudDataMovementUnits :
EnableSkipIncompatibleRow :
RedirectIncompatibleRowSettings :
Inputs : {}
Outputs : {}
LinkedServiceName :
Policy :
Name : MyCopyActivity_1_0
Description :
DependsOn : {Microsoft.Azure.Management.DataFactory.Models.ActivityDependency}
This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline.
Example 4: Get information about inputs for the first activity
(Get-AzDataFactoryV2Pipeline -ResourceGroupName "ADF" -Name "DPWikisample" -DataFactoryName "WikiADF11").Activities[0].Inputs | Format-List
ReferenceName : dsIn
Parameters :
This command gets information for the pipeline named DPWikisample in the data factory named WikiADF, and then uses standard dot notation to view the Activities property associated with that pipeline. The command displays the Inputs property of the first element of the Activities array by using the Format-List cmdlet.
Parameters
-DataFactory
Specifies a PSDataFactory object. This cmdlet gets pipelines that belong to the data factory that this parameter specifies.
Parameter properties
| Type: | PSDataFactory |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByFactoryObject
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-DataFactoryName
Specifies the name of a data factory. This cmdlet gets pipelines that belong to the data factory that this parameter specifies.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByFactoryName
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
Specifies the name of the pipeline about which to get information.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | PipelineName |
Parameter sets
ByFactoryName
| Position: | 2 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
ByFactoryObject
| Position: | 2 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-ResourceGroupName
Specifies the name of an Azure resource group. This cmdlet gets pipelines that belong to the group that this parameter specifies.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByFactoryName
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-ResourceId
The Azure resource ID.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByResourceId
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
String
PSDataFactory
Outputs
PSPipeline
Notes
Keywords: azure, azurerm, arm, resource, management, manager, data, factories