sysdig.SecureNotificationChannelVictorops
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const sample_victorops = new sysdig.SecureNotificationChannelVictorops("sample-victorops", {
    apiKey: "1234342-4234243-4234-2",
    enabled: true,
    notifyWhenOk: false,
    notifyWhenResolved: false,
    routingKey: "My team",
    sendTestNotification: false,
});
import pulumi
import pulumi_sysdig as sysdig
sample_victorops = sysdig.SecureNotificationChannelVictorops("sample-victorops",
    api_key="1234342-4234243-4234-2",
    enabled=True,
    notify_when_ok=False,
    notify_when_resolved=False,
    routing_key="My team",
    send_test_notification=False)
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.NewSecureNotificationChannelVictorops(ctx, "sample-victorops", &sysdig.SecureNotificationChannelVictoropsArgs{
			ApiKey:               pulumi.String("1234342-4234243-4234-2"),
			Enabled:              pulumi.Bool(true),
			NotifyWhenOk:         pulumi.Bool(false),
			NotifyWhenResolved:   pulumi.Bool(false),
			RoutingKey:           pulumi.String("My team"),
			SendTestNotification: pulumi.Bool(false),
		})
		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 sample_victorops = new Sysdig.SecureNotificationChannelVictorops("sample-victorops", new()
    {
        ApiKey = "1234342-4234243-4234-2",
        Enabled = true,
        NotifyWhenOk = false,
        NotifyWhenResolved = false,
        RoutingKey = "My team",
        SendTestNotification = false,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SecureNotificationChannelVictorops;
import com.pulumi.sysdig.SecureNotificationChannelVictoropsArgs;
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) {
        var sample_victorops = new SecureNotificationChannelVictorops("sample-victorops", SecureNotificationChannelVictoropsArgs.builder()
            .apiKey("1234342-4234243-4234-2")
            .enabled(true)
            .notifyWhenOk(false)
            .notifyWhenResolved(false)
            .routingKey("My team")
            .sendTestNotification(false)
            .build());
    }
}
resources:
  sample-victorops:
    type: sysdig:SecureNotificationChannelVictorops
    properties:
      apiKey: 1234342-4234243-4234-2
      enabled: true
      notifyWhenOk: false
      notifyWhenResolved: false
      routingKey: My team
      sendTestNotification: false
Create SecureNotificationChannelVictorops Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecureNotificationChannelVictorops(name: string, args: SecureNotificationChannelVictoropsArgs, opts?: CustomResourceOptions);@overload
def SecureNotificationChannelVictorops(resource_name: str,
                                       args: SecureNotificationChannelVictoropsArgs,
                                       opts: Optional[ResourceOptions] = None)
@overload
def SecureNotificationChannelVictorops(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       api_key: Optional[str] = None,
                                       routing_key: Optional[str] = None,
                                       enabled: Optional[bool] = None,
                                       name: Optional[str] = None,
                                       notify_when_ok: Optional[bool] = None,
                                       notify_when_resolved: Optional[bool] = None,
                                       secure_notification_channel_victorops_id: Optional[str] = None,
                                       send_test_notification: Optional[bool] = None,
                                       share_with_current_team: Optional[bool] = None,
                                       timeouts: Optional[SecureNotificationChannelVictoropsTimeoutsArgs] = None)func NewSecureNotificationChannelVictorops(ctx *Context, name string, args SecureNotificationChannelVictoropsArgs, opts ...ResourceOption) (*SecureNotificationChannelVictorops, error)public SecureNotificationChannelVictorops(string name, SecureNotificationChannelVictoropsArgs args, CustomResourceOptions? opts = null)
public SecureNotificationChannelVictorops(String name, SecureNotificationChannelVictoropsArgs args)
public SecureNotificationChannelVictorops(String name, SecureNotificationChannelVictoropsArgs args, CustomResourceOptions options)
type: sysdig:SecureNotificationChannelVictorops
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 SecureNotificationChannelVictoropsArgs
- 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 SecureNotificationChannelVictoropsArgs
- 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 SecureNotificationChannelVictoropsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecureNotificationChannelVictoropsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecureNotificationChannelVictoropsArgs
- 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 secureNotificationChannelVictoropsResource = new Sysdig.SecureNotificationChannelVictorops("secureNotificationChannelVictoropsResource", new()
{
    ApiKey = "string",
    RoutingKey = "string",
    Enabled = false,
    Name = "string",
    NotifyWhenOk = false,
    NotifyWhenResolved = false,
    SecureNotificationChannelVictoropsId = "string",
    SendTestNotification = false,
    ShareWithCurrentTeam = false,
    Timeouts = new Sysdig.Inputs.SecureNotificationChannelVictoropsTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
});
example, err := sysdig.NewSecureNotificationChannelVictorops(ctx, "secureNotificationChannelVictoropsResource", &sysdig.SecureNotificationChannelVictoropsArgs{
	ApiKey:                               pulumi.String("string"),
	RoutingKey:                           pulumi.String("string"),
	Enabled:                              pulumi.Bool(false),
	Name:                                 pulumi.String("string"),
	NotifyWhenOk:                         pulumi.Bool(false),
	NotifyWhenResolved:                   pulumi.Bool(false),
	SecureNotificationChannelVictoropsId: pulumi.String("string"),
	SendTestNotification:                 pulumi.Bool(false),
	ShareWithCurrentTeam:                 pulumi.Bool(false),
	Timeouts: &sysdig.SecureNotificationChannelVictoropsTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Read:   pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
var secureNotificationChannelVictoropsResource = new SecureNotificationChannelVictorops("secureNotificationChannelVictoropsResource", SecureNotificationChannelVictoropsArgs.builder()
    .apiKey("string")
    .routingKey("string")
    .enabled(false)
    .name("string")
    .notifyWhenOk(false)
    .notifyWhenResolved(false)
    .secureNotificationChannelVictoropsId("string")
    .sendTestNotification(false)
    .shareWithCurrentTeam(false)
    .timeouts(SecureNotificationChannelVictoropsTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .build());
secure_notification_channel_victorops_resource = sysdig.SecureNotificationChannelVictorops("secureNotificationChannelVictoropsResource",
    api_key="string",
    routing_key="string",
    enabled=False,
    name="string",
    notify_when_ok=False,
    notify_when_resolved=False,
    secure_notification_channel_victorops_id="string",
    send_test_notification=False,
    share_with_current_team=False,
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    })
const secureNotificationChannelVictoropsResource = new sysdig.SecureNotificationChannelVictorops("secureNotificationChannelVictoropsResource", {
    apiKey: "string",
    routingKey: "string",
    enabled: false,
    name: "string",
    notifyWhenOk: false,
    notifyWhenResolved: false,
    secureNotificationChannelVictoropsId: "string",
    sendTestNotification: false,
    shareWithCurrentTeam: false,
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
});
type: sysdig:SecureNotificationChannelVictorops
properties:
    apiKey: string
    enabled: false
    name: string
    notifyWhenOk: false
    notifyWhenResolved: false
    routingKey: string
    secureNotificationChannelVictoropsId: string
    sendTestNotification: false
    shareWithCurrentTeam: false
    timeouts:
        create: string
        delete: string
        read: string
        update: string
SecureNotificationChannelVictorops 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 SecureNotificationChannelVictorops resource accepts the following input properties:
- ApiKey string
- Key for the API.
- RoutingKey string
- Routing key for VictorOps.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- SecureNotification stringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to trueit 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 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Victorops Timeouts 
- ApiKey string
- Key for the API.
- RoutingKey string
- Routing key for VictorOps.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- SecureNotification stringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to trueit 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 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Victorops Timeouts Args 
- apiKey String
- Key for the API.
- routingKey String
- Routing key for VictorOps.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification StringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Victorops Timeouts 
- apiKey string
- Key for the API.
- routingKey string
- Routing key for VictorOps.
- enabled boolean
- If false, the channel will not emit notifications. Default is true.
- name string
- The name of the Notification Channel. Must be unique.
- notifyWhen booleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen booleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification stringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- sendTest booleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- boolean
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Victorops Timeouts 
- api_key str
- Key for the API.
- routing_key str
- Routing key for VictorOps.
- enabled bool
- If false, the channel will not emit notifications. Default is true.
- 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.
- secure_notification_ strchannel_ victorops_ id 
- (Computed) The ID of the Notification Channel.
- send_test_ boolnotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Victorops Timeouts Args 
- apiKey String
- Key for the API.
- routingKey String
- Routing key for VictorOps.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- secureNotification StringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SecureNotificationChannelVictorops resource produces the following output properties:
Look up Existing SecureNotificationChannelVictorops Resource
Get an existing SecureNotificationChannelVictorops 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?: SecureNotificationChannelVictoropsState, opts?: CustomResourceOptions): SecureNotificationChannelVictorops@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_key: Optional[str] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        notify_when_ok: Optional[bool] = None,
        notify_when_resolved: Optional[bool] = None,
        routing_key: Optional[str] = None,
        secure_notification_channel_victorops_id: Optional[str] = None,
        send_test_notification: Optional[bool] = None,
        share_with_current_team: Optional[bool] = None,
        timeouts: Optional[SecureNotificationChannelVictoropsTimeoutsArgs] = None,
        version: Optional[float] = None) -> SecureNotificationChannelVictoropsfunc GetSecureNotificationChannelVictorops(ctx *Context, name string, id IDInput, state *SecureNotificationChannelVictoropsState, opts ...ResourceOption) (*SecureNotificationChannelVictorops, error)public static SecureNotificationChannelVictorops Get(string name, Input<string> id, SecureNotificationChannelVictoropsState? state, CustomResourceOptions? opts = null)public static SecureNotificationChannelVictorops get(String name, Output<String> id, SecureNotificationChannelVictoropsState state, CustomResourceOptions options)resources:  _:    type: sysdig:SecureNotificationChannelVictorops    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.
- ApiKey string
- Key for the API.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- RoutingKey string
- Routing key for VictorOps.
- SecureNotification stringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to trueit 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 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Victorops Timeouts 
- Version double
- (Computed) The current version of the Notification Channel.
- ApiKey string
- Key for the API.
- Enabled bool
- If false, the channel will not emit notifications. Default is true.
- Name string
- The name of the Notification Channel. Must be unique.
- NotifyWhen boolOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- NotifyWhen boolResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- RoutingKey string
- Routing key for VictorOps.
- SecureNotification stringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- SendTest boolNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to trueit 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 Forbiddenif this is not set totrue.
- Timeouts
SecureNotification Channel Victorops Timeouts Args 
- Version float64
- (Computed) The current version of the Notification Channel.
- apiKey String
- Key for the API.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- routingKey String
- Routing key for VictorOps.
- secureNotification StringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Victorops Timeouts 
- version Double
- (Computed) The current version of the Notification Channel.
- apiKey string
- Key for the API.
- enabled boolean
- If false, the channel will not emit notifications. Default is true.
- name string
- The name of the Notification Channel. Must be unique.
- notifyWhen booleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen booleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- routingKey string
- Routing key for VictorOps.
- secureNotification stringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- sendTest booleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- boolean
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Victorops Timeouts 
- version number
- (Computed) The current version of the Notification Channel.
- api_key str
- Key for the API.
- enabled bool
- If false, the channel will not emit notifications. Default is true.
- 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.
- routing_key str
- Routing key for VictorOps.
- secure_notification_ strchannel_ victorops_ id 
- (Computed) The ID of the Notification Channel.
- send_test_ boolnotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- bool
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts
SecureNotification Channel Victorops Timeouts Args 
- version float
- (Computed) The current version of the Notification Channel.
- apiKey String
- Key for the API.
- enabled Boolean
- If false, the channel will not emit notifications. Default is true.
- name String
- The name of the Notification Channel. Must be unique.
- notifyWhen BooleanOk 
- Send a new notification when the alert condition is no longer triggered. Default is false.
- notifyWhen BooleanResolved 
- Send a new notification when the alert is manually acknowledged by a user. Default is false.
- routingKey String
- Routing key for VictorOps.
- secureNotification StringChannel Victorops Id 
- (Computed) The ID of the Notification Channel.
- sendTest BooleanNotification 
- Send an initial test notification to check if the notification channel is working. Default is false.
- Boolean
- If set to trueit 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 Forbiddenif this is not set totrue.
- timeouts Property Map
- version Number
- (Computed) The current version of the Notification Channel.
Supporting Types
SecureNotificationChannelVictoropsTimeouts, SecureNotificationChannelVictoropsTimeoutsArgs          
Import
VictorOPS notification channels for Secure can be imported using the ID, e.g.
$ pulumi import sysdig:index/secureNotificationChannelVictorops:SecureNotificationChannelVictorops 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 sysdigTerraform Provider.