< Back

Get-AzureRmDataFactoryV2Trigger

Tue Jan 29, 2019 9:42 pm

NAME Get-AzureRmDataFactoryV2Trigger



SYNOPSIS

Gets information about triggers in a data factory.





SYNTAX

Get-AzureRmDataFactoryV2Trigger [-DataFactory] <PSDataFactory> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmDataFactoryV2Trigger [-ResourceGroupName] <String> [-DataFactoryName] <String> [[-Name] <String>] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmDataFactoryV2Trigger [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmDataFactoryV2Trigger cmdlet gets information about triggers in a data factory. If you specify the name of a trigger, the cmdlet

gets information about that trigger. If you do not specify a name, the cmdlet gets information about all triggers in the data factory.





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? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

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



-ResourceId <String>

The Azure resource ID.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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

System.String

Microsoft.Azure.Commands.DataFactoryV2.Models.PSDataFactory





OUTPUTS

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

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

Microsoft.Azure.Commands.DataFactoryV2.Models.PSTrigger





NOTES









Example 1: Get information about a specific trigger



PS C:\\> Get-AzureRmDataFactoryV2Trigger -ResourceGroupName "ADF" -DataFactoryName "WikiADF"



TriggerName : ScheduledTrigger

ResourceGroupName : ADF

DataFactoryName : WikiADF

Properties : Microsoft.Azure.Management.DataFactory.Models.ScheduleTrigger

RuntimeState : Stopped



TriggerName : ScheduledTrigger2

ResourceGroupName : ADF

DataFactoryName : WikiADF

Properties : Microsoft.Azure.Management.DataFactory.Models.ScheduleTrigger

RuntimeState : Stopped



Gets a list of all triggers that have been created in the data factory "WikiADF".





Example 2: Get information about all triggers



Get-AzureRmDataFactoryV2Trigger -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -TriggerName "ScheduledTrigger"



TriggerName : ScheduledTrigger

ResourceGroupName : ADF

DataFactoryName : WikiADF

Properties : Microsoft.Azure.Management.DataFactory.Models.ScheduleTrigger

RuntimeState : Stopped



Gets a single trigger called "ScheduledTrigger" in the data factory "WikiADF".







RELATED LINKS

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

Set-AzureRmDataFactoryV2Trigger

Start-AzureRmDataFactoryV2Trigger

Stop-AzureRmDataFactoryV2Trigger

Remove-AzureRmDataFactoryV2Trigger