Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Get-AzDataFactoryV2TriggerRun
- Module:
- Az.DataFactory Module
Returns information about trigger runs.
Syntax
ByFactoryName (Default)
Get-AzDataFactoryV2TriggerRun
[-Name] <String>
[-TriggerRunStartedAfter] <DateTime>
[-TriggerRunStartedBefore] <DateTime>
[-ResourceGroupName] <String>
[-DataFactoryName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByFactoryObject
Get-AzDataFactoryV2TriggerRun
[-Name] <String>
[-TriggerRunStartedAfter] <DateTime>
[-TriggerRunStartedBefore] <DateTime>
[-DataFactory] <PSDataFactory>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzDataFactoryV2TriggerRun command returns detailed information about trigger runs for the specified trigger in the given timeframe.
Examples
Example 1: Get information about trigger run
Get-AzDataFactoryV2TriggerRun -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TriggerName "WikiTrigger" -TriggerRunStartedAfter "2017-09-01" -TriggerRunStartedBefore "2019-09-30"
ResourceGroupName : ADF
DataFactoryName : WikiADF
TriggerName : WikiTrigger
TriggerRunId : 08586958400454144995526033731
TriggerType : ScheduleTrigger
TriggerRunTimestamp : 9/18/2017 8:34:00 PM
Status : Succeeded
This command shows information about runs for "WikiTrigger" in the factory "WikiADF" that started between "2017-09-01" and "2019-09-30".
Parameters
-DataFactory
The data factory object.
Parameter properties
| Type: | PSDataFactory |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-DataFactoryName
The data factory name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-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
-Name
The trigger name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | TriggerName |
Parameter sets
-ResourceGroupName
The resource group name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-TriggerRunStartedAfter
The time at or after which the trigger run started to execute in ISO8601 format.
Parameter properties
| Type: | DateTime |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-TriggerRunStartedBefore
The time at or before which the trigger run started to execute in ISO8601 format.
Parameter properties
| Type: | DateTime |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
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
PSDataFactory
String
Outputs
PSTriggerRun
Related Links
Azure PowerShell
Feedback
Was this page helpful?
