sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs
sysdig.getMonitorNotificationChannelPrometheusAlertManager
Explore with Pulumi AI
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const ncPrometheusAlertManager = sysdig.getMonitorNotificationChannelPrometheusAlertManager({
name: "some notification channel name",
});
import pulumi
import pulumi_sysdig as sysdig
nc_prometheus_alert_manager = sysdig.get_monitor_notification_channel_prometheus_alert_manager(name="some notification channel name")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sysdig.LookupMonitorNotificationChannelPrometheusAlertManager(ctx, &sysdig.LookupMonitorNotificationChannelPrometheusAlertManagerArgs{
Name: "some notification channel name",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() =>
{
var ncPrometheusAlertManager = Sysdig.GetMonitorNotificationChannelPrometheusAlertManager.Invoke(new()
{
Name = "some notification channel name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SysdigFunctions;
import com.pulumi.sysdig.inputs.GetMonitorNotificationChannelPrometheusAlertManagerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ncPrometheusAlertManager = SysdigFunctions.getMonitorNotificationChannelPrometheusAlertManager(GetMonitorNotificationChannelPrometheusAlertManagerArgs.builder()
.name("some notification channel name")
.build());
}
}
variables:
ncPrometheusAlertManager:
fn::invoke:
function: sysdig:getMonitorNotificationChannelPrometheusAlertManager
arguments:
name: some notification channel name
Using getMonitorNotificationChannelPrometheusAlertManager
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMonitorNotificationChannelPrometheusAlertManager(args: GetMonitorNotificationChannelPrometheusAlertManagerArgs, opts?: InvokeOptions): Promise<GetMonitorNotificationChannelPrometheusAlertManagerResult>
function getMonitorNotificationChannelPrometheusAlertManagerOutput(args: GetMonitorNotificationChannelPrometheusAlertManagerOutputArgs, opts?: InvokeOptions): Output<GetMonitorNotificationChannelPrometheusAlertManagerResult>
def get_monitor_notification_channel_prometheus_alert_manager(enabled: Optional[bool] = None,
id: Optional[str] = None,
name: Optional[str] = None,
notify_when_ok: Optional[bool] = None,
notify_when_resolved: Optional[bool] = None,
send_test_notification: Optional[bool] = None,
share_with_current_team: Optional[bool] = None,
timeouts: Optional[GetMonitorNotificationChannelPrometheusAlertManagerTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitorNotificationChannelPrometheusAlertManagerResult
def get_monitor_notification_channel_prometheus_alert_manager_output(enabled: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
notify_when_ok: Optional[pulumi.Input[bool]] = None,
notify_when_resolved: Optional[pulumi.Input[bool]] = None,
send_test_notification: Optional[pulumi.Input[bool]] = None,
share_with_current_team: Optional[pulumi.Input[bool]] = None,
timeouts: Optional[pulumi.Input[GetMonitorNotificationChannelPrometheusAlertManagerTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMonitorNotificationChannelPrometheusAlertManagerResult]
func LookupMonitorNotificationChannelPrometheusAlertManager(ctx *Context, args *LookupMonitorNotificationChannelPrometheusAlertManagerArgs, opts ...InvokeOption) (*LookupMonitorNotificationChannelPrometheusAlertManagerResult, error)
func LookupMonitorNotificationChannelPrometheusAlertManagerOutput(ctx *Context, args *LookupMonitorNotificationChannelPrometheusAlertManagerOutputArgs, opts ...InvokeOption) LookupMonitorNotificationChannelPrometheusAlertManagerResultOutput
> Note: This function is named LookupMonitorNotificationChannelPrometheusAlertManager
in the Go SDK.
public static class GetMonitorNotificationChannelPrometheusAlertManager
{
public static Task<GetMonitorNotificationChannelPrometheusAlertManagerResult> InvokeAsync(GetMonitorNotificationChannelPrometheusAlertManagerArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorNotificationChannelPrometheusAlertManagerResult> Invoke(GetMonitorNotificationChannelPrometheusAlertManagerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMonitorNotificationChannelPrometheusAlertManagerResult> getMonitorNotificationChannelPrometheusAlertManager(GetMonitorNotificationChannelPrometheusAlertManagerArgs args, InvokeOptions options)
public static Output<GetMonitorNotificationChannelPrometheusAlertManagerResult> getMonitorNotificationChannelPrometheusAlertManager(GetMonitorNotificationChannelPrometheusAlertManagerArgs args, InvokeOptions options)
fn::invoke:
function: sysdig:index/getMonitorNotificationChannelPrometheusAlertManager:getMonitorNotificationChannelPrometheusAlertManager
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Notification Channel to retrieve.
- Enabled bool
- Whether the Notification Channel is active or not.
- Id string
- The Notification Channel ID.
- Notify
When boolOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- Notify
When boolResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- Send
Test boolNotification - Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- Name string
- The name of the Notification Channel to retrieve.
- Enabled bool
- Whether the Notification Channel is active or not.
- Id string
- The Notification Channel ID.
- Notify
When boolOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- Notify
When boolResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- Send
Test boolNotification - Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- name String
- The name of the Notification Channel to retrieve.
- enabled Boolean
- Whether the Notification Channel is active or not.
- id String
- The Notification Channel ID.
- notify
When BooleanOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify
When BooleanResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send
Test BooleanNotification - Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- name string
- The name of the Notification Channel to retrieve.
- enabled boolean
- Whether the Notification Channel is active or not.
- id string
- The Notification Channel ID.
- notify
When booleanOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify
When booleanResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send
Test booleanNotification - Whether the Notification Channel has enabled the test notification.
- boolean
- timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- name str
- The name of the Notification Channel to retrieve.
- enabled bool
- Whether the Notification Channel is active or not.
- id str
- The Notification Channel ID.
- notify_
when_ boolok - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify_
when_ boolresolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send_
test_ boolnotification - Whether the Notification Channel has enabled the test notification.
- bool
- timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- name String
- The name of the Notification Channel to retrieve.
- enabled Boolean
- Whether the Notification Channel is active or not.
- id String
- The Notification Channel ID.
- notify
When BooleanOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify
When BooleanResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send
Test BooleanNotification - Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts Property Map
getMonitorNotificationChannelPrometheusAlertManager Result
The following output properties are available:
- Additional
Headers Dictionary<string, string> - Key value list of custom headers.
- Allow
Insecure boolConnections - Whether to skip TLS verification.
- Id string
- The Notification Channel ID.
- Name string
- The Notification Channel Name.
- Url string
- URL to send the event.
- Version double
- The version of the Notification Channel.
- Enabled bool
- Whether the Notification Channel is active or not.
- Notify
When boolOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- Notify
When boolResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- Send
Test boolNotification - Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- Additional
Headers map[string]string - Key value list of custom headers.
- Allow
Insecure boolConnections - Whether to skip TLS verification.
- Id string
- The Notification Channel ID.
- Name string
- The Notification Channel Name.
- Url string
- URL to send the event.
- Version float64
- The version of the Notification Channel.
- Enabled bool
- Whether the Notification Channel is active or not.
- Notify
When boolOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- Notify
When boolResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- Send
Test boolNotification - Whether the Notification Channel has enabled the test notification.
- bool
- Timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- additional
Headers Map<String,String> - Key value list of custom headers.
- allow
Insecure BooleanConnections - Whether to skip TLS verification.
- id String
- The Notification Channel ID.
- name String
- The Notification Channel Name.
- url String
- URL to send the event.
- version Double
- The version of the Notification Channel.
- enabled Boolean
- Whether the Notification Channel is active or not.
- notify
When BooleanOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify
When BooleanResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send
Test BooleanNotification - Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- additional
Headers {[key: string]: string} - Key value list of custom headers.
- allow
Insecure booleanConnections - Whether to skip TLS verification.
- id string
- The Notification Channel ID.
- name string
- The Notification Channel Name.
- url string
- URL to send the event.
- version number
- The version of the Notification Channel.
- enabled boolean
- Whether the Notification Channel is active or not.
- notify
When booleanOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify
When booleanResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send
Test booleanNotification - Whether the Notification Channel has enabled the test notification.
- boolean
- timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- additional_
headers Mapping[str, str] - Key value list of custom headers.
- allow_
insecure_ boolconnections - Whether to skip TLS verification.
- id str
- The Notification Channel ID.
- name str
- The Notification Channel Name.
- url str
- URL to send the event.
- version float
- The version of the Notification Channel.
- enabled bool
- Whether the Notification Channel is active or not.
- notify_
when_ boolok - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify_
when_ boolresolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send_
test_ boolnotification - Whether the Notification Channel has enabled the test notification.
- bool
- timeouts
Get
Monitor Notification Channel Prometheus Alert Manager Timeouts
- additional
Headers Map<String> - Key value list of custom headers.
- allow
Insecure BooleanConnections - Whether to skip TLS verification.
- id String
- The Notification Channel ID.
- name String
- The Notification Channel Name.
- url String
- URL to send the event.
- version Number
- The version of the Notification Channel.
- enabled Boolean
- Whether the Notification Channel is active or not.
- notify
When BooleanOk - Whether the Notification Channel sends a notification when the condition is no longer triggered.
- notify
When BooleanResolved - Whether the Notification Channel sends a notification if it's manually acknowledged by a user.
- send
Test BooleanNotification - Whether the Notification Channel has enabled the test notification.
- Boolean
- timeouts Property Map
Supporting Types
GetMonitorNotificationChannelPrometheusAlertManagerTimeouts
- Read string
- Read string
- read String
- read string
- read str
- read String
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the
sysdig
Terraform Provider.
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs