1. Packages
  2. Signalfx Provider
  3. API Docs
  4. victorops
  5. Integration
SignalFx v7.9.0 published on Wednesday, Mar 26, 2025 by Pulumi

signalfx.victorops.Integration

Explore with Pulumi AI

Splunk On-Call integrations.

NOTE When managing integrations, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See Operations that require a session token for an administrator. Otherwise you’ll receive a 4xx error.

Example

import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const vioctorOpsMyteam = new signalfx.victorops.Integration("vioctor_ops_myteam", {
    name: "Splunk On-Call - My Team",
    enabled: true,
    postUrl: "https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key",
});
Copy
import pulumi
import pulumi_signalfx as signalfx

vioctor_ops_myteam = signalfx.victorops.Integration("vioctor_ops_myteam",
    name="Splunk On-Call - My Team",
    enabled=True,
    post_url="https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key")
Copy
package main

import (
	"github.com/pulumi/pulumi-signalfx/sdk/v7/go/signalfx/victorops"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := victorops.NewIntegration(ctx, "vioctor_ops_myteam", &victorops.IntegrationArgs{
			Name:    pulumi.String("Splunk On-Call - My Team"),
			Enabled: pulumi.Bool(true),
			PostUrl: pulumi.String("https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SignalFx = Pulumi.SignalFx;

return await Deployment.RunAsync(() => 
{
    var vioctorOpsMyteam = new SignalFx.VictorOps.Integration("vioctor_ops_myteam", new()
    {
        Name = "Splunk On-Call - My Team",
        Enabled = true,
        PostUrl = "https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.signalfx.victorops.Integration;
import com.pulumi.signalfx.victorops.IntegrationArgs;
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 vioctorOpsMyteam = new Integration("vioctorOpsMyteam", IntegrationArgs.builder()
            .name("Splunk On-Call - My Team")
            .enabled(true)
            .postUrl("https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key")
            .build());

    }
}
Copy
resources:
  vioctorOpsMyteam:
    type: signalfx:victorops:Integration
    name: vioctor_ops_myteam
    properties:
      name: Splunk On-Call - My Team
      enabled: true
      postUrl: https://alert.victorops.com/integrations/generic/1234/alert/$key/$routing_key
Copy

Create Integration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);
@overload
def Integration(resource_name: str,
                args: IntegrationArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def Integration(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                enabled: Optional[bool] = None,
                name: Optional[str] = None,
                post_url: Optional[str] = None)
func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)
public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)
public Integration(String name, IntegrationArgs args)
public Integration(String name, IntegrationArgs args, CustomResourceOptions options)
type: signalfx:victorops:Integration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IntegrationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntegrationArgs
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 exampleintegrationResourceResourceFromVictoropsintegration = new SignalFx.VictorOps.Integration("exampleintegrationResourceResourceFromVictoropsintegration", new()
{
    Enabled = false,
    Name = "string",
    PostUrl = "string",
});
Copy
example, err := victorops.NewIntegration(ctx, "exampleintegrationResourceResourceFromVictoropsintegration", &victorops.IntegrationArgs{
	Enabled: pulumi.Bool(false),
	Name:    pulumi.String("string"),
	PostUrl: pulumi.String("string"),
})
Copy
var exampleintegrationResourceResourceFromVictoropsintegration = new Integration("exampleintegrationResourceResourceFromVictoropsintegration", IntegrationArgs.builder()
    .enabled(false)
    .name("string")
    .postUrl("string")
    .build());
Copy
exampleintegration_resource_resource_from_victoropsintegration = signalfx.victorops.Integration("exampleintegrationResourceResourceFromVictoropsintegration",
    enabled=False,
    name="string",
    post_url="string")
Copy
const exampleintegrationResourceResourceFromVictoropsintegration = new signalfx.victorops.Integration("exampleintegrationResourceResourceFromVictoropsintegration", {
    enabled: false,
    name: "string",
    postUrl: "string",
});
Copy
type: signalfx:victorops:Integration
properties:
    enabled: false
    name: string
    postUrl: string
Copy

Integration 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 Integration resource accepts the following input properties:

Enabled This property is required. bool
Whether the integration is enabled.
Name string
Name of the integration.
PostUrl string
Splunk On-Call REST API URL.
Enabled This property is required. bool
Whether the integration is enabled.
Name string
Name of the integration.
PostUrl string
Splunk On-Call REST API URL.
enabled This property is required. Boolean
Whether the integration is enabled.
name String
Name of the integration.
postUrl String
Splunk On-Call REST API URL.
enabled This property is required. boolean
Whether the integration is enabled.
name string
Name of the integration.
postUrl string
Splunk On-Call REST API URL.
enabled This property is required. bool
Whether the integration is enabled.
name str
Name of the integration.
post_url str
Splunk On-Call REST API URL.
enabled This property is required. Boolean
Whether the integration is enabled.
name String
Name of the integration.
postUrl String
Splunk On-Call REST API URL.

Outputs

All input properties are implicitly available as output properties. Additionally, the Integration resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing Integration Resource

Get an existing Integration 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?: IntegrationState, opts?: CustomResourceOptions): Integration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        post_url: Optional[str] = None) -> Integration
func GetIntegration(ctx *Context, name string, id IDInput, state *IntegrationState, opts ...ResourceOption) (*Integration, error)
public static Integration Get(string name, Input<string> id, IntegrationState? state, CustomResourceOptions? opts = null)
public static Integration get(String name, Output<String> id, IntegrationState state, CustomResourceOptions options)
resources:  _:    type: signalfx:victorops:Integration    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Enabled bool
Whether the integration is enabled.
Name string
Name of the integration.
PostUrl string
Splunk On-Call REST API URL.
Enabled bool
Whether the integration is enabled.
Name string
Name of the integration.
PostUrl string
Splunk On-Call REST API URL.
enabled Boolean
Whether the integration is enabled.
name String
Name of the integration.
postUrl String
Splunk On-Call REST API URL.
enabled boolean
Whether the integration is enabled.
name string
Name of the integration.
postUrl string
Splunk On-Call REST API URL.
enabled bool
Whether the integration is enabled.
name str
Name of the integration.
post_url str
Splunk On-Call REST API URL.
enabled Boolean
Whether the integration is enabled.
name String
Name of the integration.
postUrl String
Splunk On-Call REST API URL.

Package Details

Repository
SignalFx pulumi/pulumi-signalfx
License
Apache-2.0
Notes
This Pulumi package is based on the signalfx Terraform Provider.