< Back

Stop-AzureRmDataFactoryV2Trigger

Tue Jan 29, 2019 9:42 pm

NAME Stop-AzureRmDataFactoryV2Trigger



SYNOPSIS

Stops a trigger in a data factory.





SYNTAX

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

<IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]



Stop-AzureRmDataFactoryV2Trigger [-InputObject] <PSTrigger> [-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf]

[<CommonParameters>]



Stop-AzureRmDataFactoryV2Trigger [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The Stop-AzureRmDataFactoryV2Trigger cmdlet stops a trigger in a data factory. If the trigger is in the 'Started' state, the cmdlet stops the

trigger and no longer invokes pipelines. If the trigger is already in the 'Stopped' state, this cmdlet has no effect. If the Force parameter is

specified, the cmdlet doesn't prompt before stopping the trigger.





PARAMETERS

-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



-Force [<SwitchParameter>]

Runs the cmdlet without prompting for confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-InputObject <PSTrigger>

Trigger object to start.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

The trigger name.



Required? true

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

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what happens if the cmdlet runs, but doesn't run the cmdlet.



Required? false

Position? named

Default value False

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

System.String

Microsoft.Azure.Commands.DataFactoryV2.Models.PSTrigger





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: Stop a trigger



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



Confirm

Are you sure you want to stop trigger 'ScheduledTrigger' in data factory 'TestFactory'?

[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y

True



Stops a trigger called "ScheduledTrigger" in the data factory "WikiADF".







RELATED LINKS

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

Get-AzureRmDataFactoryV2Trigger

Set-AzureRmDataFactoryV2Trigger

Start-AzureRmDataFactoryV2Trigger

Remove-AzureRmDataFactoryV2Trigger