Integration

SignalFx Slack integration.

NOTE When managing integrations you’ll need to use an admin token to authenticate the SignalFx provider. Otherwise you’ll receive a 4xx error.

Example Usage

using Pulumi;
using SignalFx = Pulumi.SignalFx;

class MyStack : Stack
{
    public MyStack()
    {
        var slackMyteam = new SignalFx.Slack.Integration("slackMyteam", new SignalFx.Slack.IntegrationArgs
        {
            Enabled = true,
            WebhookUrl = "http://example.com",
        });
    }

}

Coming soon!

import pulumi
import pulumi_signalfx as signalfx

slack_myteam = signalfx.slack.Integration("slackMyteam",
    enabled=True,
    webhook_url="http://example.com")
import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const slackMyteam = new signalfx.slack.Integration("slack_myteam", {
    enabled: true,
    webhookUrl: "http://example.com",
});

Create a Integration Resource

def Integration(resource_name, opts=None, enabled=None, name=None, webhook_url=None, __props__=None);
func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)
public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args IntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args IntegrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Integration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Integration resource accepts the following input properties:

Enabled bool

Whether the integration is enabled.

WebhookUrl string

Slack incoming webhook URL.

Name string

Name of the integration.

Enabled bool

Whether the integration is enabled.

WebhookUrl string

Slack incoming webhook URL.

Name string

Name of the integration.

enabled boolean

Whether the integration is enabled.

webhookUrl string

Slack incoming webhook URL.

name string

Name of the integration.

enabled bool

Whether the integration is enabled.

webhook_url str

Slack incoming webhook URL.

name str

Name of the integration.

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 str
The provider-assigned unique ID for this managed resource.

Look up an 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
static get(resource_name, id, opts=None, enabled=None, name=None, webhook_url=None, __props__=None);
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)
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.

The following state arguments are supported:

Enabled bool

Whether the integration is enabled.

Name string

Name of the integration.

WebhookUrl string

Slack incoming webhook URL.

Enabled bool

Whether the integration is enabled.

Name string

Name of the integration.

WebhookUrl string

Slack incoming webhook URL.

enabled boolean

Whether the integration is enabled.

name string

Name of the integration.

webhookUrl string

Slack incoming webhook URL.

enabled bool

Whether the integration is enabled.

name str

Name of the integration.

webhook_url str

Slack incoming webhook URL.

Package Details

Repository
https://github.com/pulumi/pulumi-signalfx
License
Apache-2.0
Notes
This Pulumi package is based on the signalfx Terraform Provider.