sysdig.MonitorNotificationChannelIbmEventNotification
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
// IBM event notification registering in the same account
const sample = new sysdig.MonitorNotificationChannelIbmEventNotification("sample", {
enabled: true,
instanceId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
notifyWhenOk: false,
notifyWhenResolved: false,
shareWithCurrentTeam: true,
});
import pulumi
import pulumi_sysdig as sysdig
# IBM event notification registering in the same account
sample = sysdig.MonitorNotificationChannelIbmEventNotification("sample",
enabled=True,
instance_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
notify_when_ok=False,
notify_when_resolved=False,
share_with_current_team=True)
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 {
// IBM event notification registering in the same account
_, err := sysdig.NewMonitorNotificationChannelIbmEventNotification(ctx, "sample", &sysdig.MonitorNotificationChannelIbmEventNotificationArgs{
Enabled: pulumi.Bool(true),
InstanceId: pulumi.String("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
NotifyWhenOk: pulumi.Bool(false),
NotifyWhenResolved: pulumi.Bool(false),
ShareWithCurrentTeam: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() =>
{
// IBM event notification registering in the same account
var sample = new Sysdig.MonitorNotificationChannelIbmEventNotification("sample", new()
{
Enabled = true,
InstanceId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
NotifyWhenOk = false,
NotifyWhenResolved = false,
ShareWithCurrentTeam = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.MonitorNotificationChannelIbmEventNotification;
import com.pulumi.sysdig.MonitorNotificationChannelIbmEventNotificationArgs;
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) {
// IBM event notification registering in the same account
var sample = new MonitorNotificationChannelIbmEventNotification("sample", MonitorNotificationChannelIbmEventNotificationArgs.builder()
.enabled(true)
.instanceId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
.notifyWhenOk(false)
.notifyWhenResolved(false)
.shareWithCurrentTeam(true)
.build());
}
}
resources:
# IBM event notification registering in the same account
sample:
type: sysdig:MonitorNotificationChannelIbmEventNotification
properties:
enabled: true
instanceId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
notifyWhenOk: false
notifyWhenResolved: false
shareWithCurrentTeam: true
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
// IBM event notification registering in different account
const sample = new sysdig.MonitorNotificationChannelIbmEventNotification("sample", {
enabled: true,
instanceId: "crn:v1:bluemix:public:event-notifications:global:a/59bcbfa6ea2f006b4ed7094c1a08dcdd:1a0ec336-f391-4091-a6fb-5e084a4c56f4::",
notifyWhenOk: false,
notifyWhenResolved: false,
shareWithCurrentTeam: true,
});
import pulumi
import pulumi_sysdig as sysdig
# IBM event notification registering in different account
sample = sysdig.MonitorNotificationChannelIbmEventNotification("sample",
enabled=True,
instance_id="crn:v1:bluemix:public:event-notifications:global:a/59bcbfa6ea2f006b4ed7094c1a08dcdd:1a0ec336-f391-4091-a6fb-5e084a4c56f4::",
notify_when_ok=False,
notify_when_resolved=False,
share_with_current_team=True)
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 {
// IBM event notification registering in different account
_, err := sysdig.NewMonitorNotificationChannelIbmEventNotification(ctx, "sample", &sysdig.MonitorNotificationChannelIbmEventNotificationArgs{
Enabled: pulumi.Bool(true),
InstanceId: pulumi.String("crn:v1:bluemix:public:event-notifications:global:a/59bcbfa6ea2f006b4ed7094c1a08dcdd:1a0ec336-f391-4091-a6fb-5e084a4c56f4::"),
NotifyWhenOk: pulumi.Bool(false),
NotifyWhenResolved: pulumi.Bool(false),
ShareWithCurrentTeam: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() =>
{
// IBM event notification registering in different account
var sample = new Sysdig.MonitorNotificationChannelIbmEventNotification("sample", new()
{
Enabled = true,
InstanceId = "crn:v1:bluemix:public:event-notifications:global:a/59bcbfa6ea2f006b4ed7094c1a08dcdd:1a0ec336-f391-4091-a6fb-5e084a4c56f4::",
NotifyWhenOk = false,
NotifyWhenResolved = false,
ShareWithCurrentTeam = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.MonitorNotificationChannelIbmEventNotification;
import com.pulumi.sysdig.MonitorNotificationChannelIbmEventNotificationArgs;
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) {
// IBM event notification registering in different account
var sample = new MonitorNotificationChannelIbmEventNotification("sample", MonitorNotificationChannelIbmEventNotificationArgs.builder()
.enabled(true)
.instanceId("crn:v1:bluemix:public:event-notifications:global:a/59bcbfa6ea2f006b4ed7094c1a08dcdd:1a0ec336-f391-4091-a6fb-5e084a4c56f4::")
.notifyWhenOk(false)
.notifyWhenResolved(false)
.shareWithCurrentTeam(true)
.build());
}
}
resources:
# IBM event notification registering in different account
sample:
type: sysdig:MonitorNotificationChannelIbmEventNotification
properties:
enabled: true
instanceId: 'crn:v1:bluemix:public:event-notifications:global:a/59bcbfa6ea2f006b4ed7094c1a08dcdd:1a0ec336-f391-4091-a6fb-5e084a4c56f4::'
notifyWhenOk: false
notifyWhenResolved: false
shareWithCurrentTeam: true
Create MonitorNotificationChannelIbmEventNotification Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitorNotificationChannelIbmEventNotification(name: string, args: MonitorNotificationChannelIbmEventNotificationArgs, opts?: CustomResourceOptions);
@overload
def MonitorNotificationChannelIbmEventNotification(resource_name: str,
args: MonitorNotificationChannelIbmEventNotificationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MonitorNotificationChannelIbmEventNotification(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
enabled: Optional[bool] = None,
monitor_notification_channel_ibm_event_notification_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[MonitorNotificationChannelIbmEventNotificationTimeoutsArgs] = None)
func NewMonitorNotificationChannelIbmEventNotification(ctx *Context, name string, args MonitorNotificationChannelIbmEventNotificationArgs, opts ...ResourceOption) (*MonitorNotificationChannelIbmEventNotification, error)
public MonitorNotificationChannelIbmEventNotification(string name, MonitorNotificationChannelIbmEventNotificationArgs args, CustomResourceOptions? opts = null)
public MonitorNotificationChannelIbmEventNotification(String name, MonitorNotificationChannelIbmEventNotificationArgs args)
public MonitorNotificationChannelIbmEventNotification(String name, MonitorNotificationChannelIbmEventNotificationArgs args, CustomResourceOptions options)
type: sysdig:MonitorNotificationChannelIbmEventNotification
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MonitorNotificationChannelIbmEventNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MonitorNotificationChannelIbmEventNotificationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MonitorNotificationChannelIbmEventNotificationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitorNotificationChannelIbmEventNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitorNotificationChannelIbmEventNotificationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var monitorNotificationChannelIbmEventNotificationResource = new Sysdig.MonitorNotificationChannelIbmEventNotification("monitorNotificationChannelIbmEventNotificationResource", new()
{
InstanceId = "string",
Enabled = false,
MonitorNotificationChannelIbmEventNotificationId = "string",
Name = "string",
NotifyWhenOk = false,
NotifyWhenResolved = false,
SendTestNotification = false,
ShareWithCurrentTeam = false,
Timeouts = new Sysdig.Inputs.MonitorNotificationChannelIbmEventNotificationTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := sysdig.NewMonitorNotificationChannelIbmEventNotification(ctx, "monitorNotificationChannelIbmEventNotificationResource", &sysdig.MonitorNotificationChannelIbmEventNotificationArgs{
InstanceId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
MonitorNotificationChannelIbmEventNotificationId: pulumi.String("string"),
Name: pulumi.String("string"),
NotifyWhenOk: pulumi.Bool(false),
NotifyWhenResolved: pulumi.Bool(false),
SendTestNotification: pulumi.Bool(false),
ShareWithCurrentTeam: pulumi.Bool(false),
Timeouts: &sysdig.MonitorNotificationChannelIbmEventNotificationTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var monitorNotificationChannelIbmEventNotificationResource = new MonitorNotificationChannelIbmEventNotification("monitorNotificationChannelIbmEventNotificationResource", MonitorNotificationChannelIbmEventNotificationArgs.builder()
.instanceId("string")
.enabled(false)
.monitorNotificationChannelIbmEventNotificationId("string")
.name("string")
.notifyWhenOk(false)
.notifyWhenResolved(false)
.sendTestNotification(false)
.shareWithCurrentTeam(false)
.timeouts(MonitorNotificationChannelIbmEventNotificationTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
monitor_notification_channel_ibm_event_notification_resource = sysdig.MonitorNotificationChannelIbmEventNotification("monitorNotificationChannelIbmEventNotificationResource",
instance_id="string",
enabled=False,
monitor_notification_channel_ibm_event_notification_id="string",
name="string",
notify_when_ok=False,
notify_when_resolved=False,
send_test_notification=False,
share_with_current_team=False,
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const monitorNotificationChannelIbmEventNotificationResource = new sysdig.MonitorNotificationChannelIbmEventNotification("monitorNotificationChannelIbmEventNotificationResource", {
instanceId: "string",
enabled: false,
monitorNotificationChannelIbmEventNotificationId: "string",
name: "string",
notifyWhenOk: false,
notifyWhenResolved: false,
sendTestNotification: false,
shareWithCurrentTeam: false,
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: sysdig:MonitorNotificationChannelIbmEventNotification
properties:
enabled: false
instanceId: string
monitorNotificationChannelIbmEventNotificationId: string
name: string
notifyWhenOk: false
notifyWhenResolved: false
sendTestNotification: false
shareWithCurrentTeam: false
timeouts:
create: string
delete: string
read: string
update: string
MonitorNotificationChannelIbmEventNotification Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MonitorNotificationChannelIbmEventNotification resource accepts the following input properties:
- Instance
Id string - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Monitor
Notification stringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - Timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts
- Instance
Id string - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Monitor
Notification stringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - Timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts Args
- instance
Id String - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- monitor
Notification StringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts
- instance
Id string - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- enabled boolean
- If false, the channel will not emit notifications. Default is true.
- monitor
Notification stringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- name string
- The name of the Notification Channel. Must be unique.
- notify
When booleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When booleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send
Test booleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- boolean
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts
- instance_
id str - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- enabled bool
- If false, the channel will not emit notifications. Default is true.
- monitor_
notification_ strchannel_ ibm_ event_ notification_ id - (Computed) The ID of the Notification Channel.
- name str
- The name of the Notification Channel. Must be unique.
- notify_
when_ boolok - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify_
when_ boolresolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send_
test_ boolnotification - Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts Args
- instance
Id String - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- monitor
Notification StringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitorNotificationChannelIbmEventNotification resource produces the following output properties:
Look up Existing MonitorNotificationChannelIbmEventNotification Resource
Get an existing MonitorNotificationChannelIbmEventNotification resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MonitorNotificationChannelIbmEventNotificationState, opts?: CustomResourceOptions): MonitorNotificationChannelIbmEventNotification
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
instance_id: Optional[str] = None,
monitor_notification_channel_ibm_event_notification_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[MonitorNotificationChannelIbmEventNotificationTimeoutsArgs] = None,
version: Optional[float] = None) -> MonitorNotificationChannelIbmEventNotification
func GetMonitorNotificationChannelIbmEventNotification(ctx *Context, name string, id IDInput, state *MonitorNotificationChannelIbmEventNotificationState, opts ...ResourceOption) (*MonitorNotificationChannelIbmEventNotification, error)
public static MonitorNotificationChannelIbmEventNotification Get(string name, Input<string> id, MonitorNotificationChannelIbmEventNotificationState? state, CustomResourceOptions? opts = null)
public static MonitorNotificationChannelIbmEventNotification get(String name, Output<String> id, MonitorNotificationChannelIbmEventNotificationState state, CustomResourceOptions options)
resources: _: type: sysdig:MonitorNotificationChannelIbmEventNotification get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Instance
Id string - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- Monitor
Notification stringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - Timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts - Version double
- (Computed) The current version of the Notification Channel.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Instance
Id string - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- Monitor
Notification stringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- Name string
- The name of the Notification Channel. Must be unique.
- Notify
When boolOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- Notify
When boolResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- Send
Test boolNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - Timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts Args - Version float64
- (Computed) The current version of the Notification Channel.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- instance
Id String - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- monitor
Notification StringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts - version Double
- (Computed) The current version of the Notification Channel.
- enabled boolean
- If false, the channel will not emit notifications. Default is true.
- instance
Id string - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- monitor
Notification stringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- name string
- The name of the Notification Channel. Must be unique.
- notify
When booleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When booleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send
Test booleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- boolean
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts - version number
- (Computed) The current version of the Notification Channel.
- enabled bool
- If false, the channel will not emit notifications. Default is true.
- instance_
id str - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- monitor_
notification_ strchannel_ ibm_ event_ notification_ id - (Computed) The ID of the Notification Channel.
- name str
- The name of the Notification Channel. Must be unique.
- notify_
when_ boolok - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify_
when_ boolresolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send_
test_ boolnotification - Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts
Monitor
Notification Channel Ibm Event Notification Timeouts Args - version float
- (Computed) The current version of the Notification Channel.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- instance
Id String - id of the Event Notifications Instance. Id value can be either an instance id or CRN. If the event notification instance is within the same account, use the actual instance id. If it is in a different account, then use the Event Notifications Instance's CRN.
- monitor
Notification StringChannel Ibm Event Notification Id - (Computed) The ID of the Notification Channel.
- name String
- The name of the Notification Channel. Must be unique.
- notify
When BooleanOk - Send a new notification when the alert condition is no longer triggered. Default is false.
- notify
When BooleanResolved - Send a new notification when the alert is manually acknowledged by a user. Default is false.
- send
Test BooleanNotification - Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to
true
it will share notification channel only with current team (in which user is logged in). Otherwise, it will share it with all teams, which is the default behaviour. Although this is an optional setting, beware that if you have lower permissions than admin you may see aerror: 403 Forbidden
if this is not set totrue
. - timeouts Property Map
- version Number
- (Computed) The current version of the Notification Channel.
Supporting Types
MonitorNotificationChannelIbmEventNotificationTimeouts, MonitorNotificationChannelIbmEventNotificationTimeoutsArgs
Import
IBM Event Notification notification channels for Monitor can be imported using the ID, e.g.
$ pulumi import sysdig:index/monitorNotificationChannelIbmEventNotification:MonitorNotificationChannelIbmEventNotification example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the
sysdig
Terraform Provider.