< Back

Get-AzureRmLogicAppTrigger

Tue Jan 29, 2019 9:51 pm

NAME Get-AzureRmLogicAppTrigger



SYNOPSIS

Gets the triggers of a logic app.





SYNTAX

Get-AzureRmLogicAppTrigger [-DefaultProfile <IAzureContextContainer>] -Name <String> -ResourceGroupName <String> [-TriggerName <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmLogicAppTrigger cmdlet gets triggers from a logic app. This cmdlet returns a WorkflowTrigger object. Specify the workflow, resource

group, and trigger.



This module supports dynamic parameters. To use a dynamic parameter, type it in the command. To discover the names of dynamic parameters, type a

hyphen (-) after the cmdlet name, and then press the Tab key repeatedly to cycle through the available parameters. If you omit a required template

parameter, the cmdlet prompts you for the value.





PARAMETERS

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

Specifies the name of the logic app from which this cmdlet gets a trigger.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of a resource group in which this cmdlet gets a trigger.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-TriggerName <String>

Specifies the name of the trigger that this cmdlet gets.



Required? false

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

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Management.Logic.Models.WorkflowTrigger







NOTES









Example 1: Get a trigger of a logic app



PS C:\\>Get-AzureRmLogicAppTrigger -ResourceGroupName "ResourceGroup11" -Name "LogicApp05" -TriggerName "Trigger01"

ChangedTime : 1/14/2016 11:45:07 AM

CreatedTime : 1/13/2016 2:42:26 PM

LastExecutionTime : 1/14/2016 11:45:07 AM

Name : Trigger01

NextExecutionTime : 1/14/2016 12:45:07 PM

RecurrenceFrequency : Minute

RecurrenceInterval : 60

Status : Waiting

Type : Microsoft.Logic/workflows/triggers

LogicAppName : LogicApp05

LogicAppVersion : 08587489107406290826



This command gets the trigger named Trigger01 from the logic app named LogicApp05.





Example 2: Get all triggers of a logic app



PS C:\\>Get-AzureRmLogicAppTrigger -ResourceGroupName "ResourceGroup11" -Name "LogicApp07"

ChangedTime : 1/14/2016 11:45:07 AM

CreatedTime : 1/13/2016 2:42:26 PM

LastExecutionTime : 1/14/2016 11:45:07 AM

Name : Trigger02

NextExecutionTime : 1/14/2016 12:45:07 PM

RecurrenceFrequency : Minute

RecurrenceInterval : 60

Status : Waiting

Type : Microsoft.Logic/workflows/triggers

LogicAppName : LogicApp07

LogicAppVersion : 08587489107406290826



This command gets the triggers of the logic app named LogicApp07.







RELATED LINKS

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

Get-AzureRmLogicAppTriggerHistory

Start-AzureRmLogicApp