< Back

Remove-AzureRmDataFactoryV2Trigger

Tue Jan 29, 2019 9:42 pm

NAME Remove-AzureRmDataFactoryV2Trigger



SYNOPSIS

Removes a trigger from a data factory.





SYNTAX

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

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



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

[<CommonParameters>]



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

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmDataFactoryV2Trigger cmdlet removes a trigger from a data factory. If the Force parameter is specified, the cmdlet doesn't

prompt before removing 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>

The Trigger object to remove.



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



-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

Microsoft.Azure.Commands.DataFactoryV2.Models.PSTrigger

System.String





OUTPUTS

System.Object







NOTES









Example 1: Remove a trigger



Remove-AzureRmDataFactoryV2Trigger -ResourceGroupName "ADF" -DataFactoryName "WikiADF" -Name "ScheduledTrigger"



Confirm

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

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

True



Remove a trigger called "ScheduledTrigger" from the data factory "WikiADF".







RELATED LINKS

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

Get-AzureRmDataFactoryV2Trigger

Set-AzureRmDataFactoryV2Trigger

Start-AzureRmDataFactoryV2Trigger

Stop-AzureRmDataFactoryV2Trigger