The Get-AzDataFactoryRun cmdlet gets the runs for a data slice of a dataset in Azure Data Factory.
A dataset in a data factory is composed of slices over the time axis.
The width of a slice is determined by the schedule, either hourly or daily.
A run is a unit of processing for a slice.
There could be one or more runs for a slice in case of retries or in case you rerun your slice due to failures.
A slice is identified by its start time.
To obtain the start time of a slice, use the Get-AzDataFactorySlice cmdlet.
For example, to get a run for the following slice, use the start time 2015-04-02T20:00:00.
ResourceGroupName : ADF
DataFactoryName : SPDataFactory0924
DatasetName : MarketingCampaignEffectivenessBlobDataset
Start : 5/2/2014 8:00:00 PM
End : 5/3/2014 8:00:00 PM
RetryCount : 0
Status : Ready
LatencyStatus :
This command gets all runs for slices of the dataset named DAWikiAggregatedData in the data factory named WikiADF that start from 4 PM GMT on 05/21/2014.
Parameters
-DataFactory
Specifies a PSDataFactory object.
This cmdlet gets runs for slices that belong to the data factory that this parameter specifies.
Specifies the start of a time period as a DateTime object.
This cmdlet gets runs for the data slices that match this time period.
StartDateTime must be specified in the ISO8601 format, as in the following examples:
2015-01-01Z
2015-01-01T00:00:00Z
2015-01-01T00:00:00.000Z (UTC)
2015-01-01T00:00:00-08:00 (Pacific Standard Time)
The default time zone designator is UTC.
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.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.