< Back
Remove-DDMonitor
Post
NAME Remove-DDMonitor
SYNOPSIS
Remove a Datadog monitor.
SYNTAX
Remove-DDMonitor [-MonitorId] <UInt32> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-MonitorId <UInt32>
[int]$null is 0, so we can't use [ValidateNullOrEmpty]
Required? true
Position? 1
Default value 0
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Enter confirmation when asked
Remove-DDMonitor -MonitorID 123456
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Pass the value by pipeline and bypass confirmation
$m.id | Remove-DDMonitor -Confirm:$False
RELATED LINKS
http://docs.datadoghq.com/api/?lang=con ... tor-delete
SYNOPSIS
Remove a Datadog monitor.
SYNTAX
Remove-DDMonitor [-MonitorId] <UInt32> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-MonitorId <UInt32>
[int]$null is 0, so we can't use [ValidateNullOrEmpty]
Required? true
Position? 1
Default value 0
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Enter confirmation when asked
Remove-DDMonitor -MonitorID 123456
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Pass the value by pipeline and bypass confirmation
$m.id | Remove-DDMonitor -Confirm:$False
RELATED LINKS
http://docs.datadoghq.com/api/?lang=con ... tor-delete