< Back

Get-AzureRmDataFactoryV2TriggerRun

Tue Jan 29, 2019 9:42 pm

NAME Get-AzureRmDataFactoryV2TriggerRun



SYNOPSIS

Returns information about trigger runs.





SYNTAX

Get-AzureRmDataFactoryV2TriggerRun [-DataFactory] <PSDataFactory> [-Name] <String> [-TriggerRunStartedAfter] <DateTime> [-TriggerRunStartedBefore]

<DateTime> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmDataFactoryV2TriggerRun [-ResourceGroupName] <String> [-DataFactoryName] <String> [-Name] <String> [-TriggerRunStartedAfter] <DateTime>

[-TriggerRunStartedBefore] <DateTime> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmDataFactoryV2TriggerRun command returns detailed information about trigger runs for the specified trigger in the given timeframe.





PARAMETERS

-DataFactory <PSDataFactory>

The data factory object.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-DataFactoryName <String>

The data factory name.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

The trigger name.



Required? true

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group name.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-TriggerRunStartedAfter <DateTime>

The time at or after which the trigger run started to execute in ISO8601 format.



Required? true

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-TriggerRunStartedBefore <DateTime>

The time at or before which the trigger run started to execute in ISO8601 format.



Required? true

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory

System.String





OUTPUTS

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.DataFactoryV2.Models.PSTriggerRun, Microsoft.Azure.Commands.DataFactoryV2,

Version=0.1.9.0, Culture=neutral, PublicKeyToken=null]]

Microsoft.Azure.Commands.DataFactoryV2.Models.PSTriggerRun





NOTES









Example 1: Get information about trigger run



PS C:\\> Get-AzureRmDataFactoryV2TriggerRun -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".







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... triggerrun

Start-AzureRmDataFactoryV2Trigger

Stop-AzureRmDataFactoryV2Trigger