< Back
Resume-DDMonitor
Post
NAME Resume-DDMonitor
SYNOPSIS
Unmutes Datadog monitors. Either all of them with -All or a specific one with -MonitorID
SYNTAX
Resume-DDMonitor [-WhatIf] [-Confirm] [<CommonParameters>]
Resume-DDMonitor [-All] [-WhatIf] [-Confirm] [<CommonParameters>]
Resume-DDMonitor [-MonitorId] <UInt32> [[-Scope] <String[]>] [-AllScopes] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-All [<SwitchParameter>]
A switch to resume all monitors. Incompatible with all other parameters.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-MonitorId <UInt32>
A Datadog monitor ID.
Required? true
Position? 1
Default value 0
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Scope <String[]>
A string or array of strings representing the scope to apply the unmuting to.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AllScopes [<SwitchParameter>]
A switch to clear muting for a monitor across all scopes.
Required? false
Position? named
Default value False
Accept pipeline input? false
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:\\># Unmute all monitors
Resume-DDMonitor -All
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Mute a single monitor
Resume-DDMonitor -MonitorID 123456
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Unmute a single monitor for scope role:frontend
Resume-DDMonitor -MonitorID 123456 -Scope role:frontend
-------------------------- EXAMPLE 4 --------------------------
PS C:\\># Unmute a single monitor across all scopes
Resume-DDMonitor -MonitorID 123456 -AllScopes
RELATED LINKS
http://docs.datadoghq.com/api/?lang=con ... nitor-mute
http://docs.datadoghq.com/api/?lang=con ... r-mute-all
http://docs.datadoghq.com/api/?lang=con ... nitor-mute
http://docs.datadoghq.com/api/?lang=con ... r-mute-all
SYNOPSIS
Unmutes Datadog monitors. Either all of them with -All or a specific one with -MonitorID
SYNTAX
Resume-DDMonitor [-WhatIf] [-Confirm] [<CommonParameters>]
Resume-DDMonitor [-All] [-WhatIf] [-Confirm] [<CommonParameters>]
Resume-DDMonitor [-MonitorId] <UInt32> [[-Scope] <String[]>] [-AllScopes] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-All [<SwitchParameter>]
A switch to resume all monitors. Incompatible with all other parameters.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-MonitorId <UInt32>
A Datadog monitor ID.
Required? true
Position? 1
Default value 0
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Scope <String[]>
A string or array of strings representing the scope to apply the unmuting to.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AllScopes [<SwitchParameter>]
A switch to clear muting for a monitor across all scopes.
Required? false
Position? named
Default value False
Accept pipeline input? false
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:\\># Unmute all monitors
Resume-DDMonitor -All
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Mute a single monitor
Resume-DDMonitor -MonitorID 123456
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Unmute a single monitor for scope role:frontend
Resume-DDMonitor -MonitorID 123456 -Scope role:frontend
-------------------------- EXAMPLE 4 --------------------------
PS C:\\># Unmute a single monitor across all scopes
Resume-DDMonitor -MonitorID 123456 -AllScopes
RELATED LINKS
http://docs.datadoghq.com/api/?lang=con ... nitor-mute
http://docs.datadoghq.com/api/?lang=con ... r-mute-all
http://docs.datadoghq.com/api/?lang=con ... nitor-mute
http://docs.datadoghq.com/api/?lang=con ... r-mute-all