Module opsgenie

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-signalfx repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-signalfx repo.

Resources

Others

Resources

Resource Integration

class Integration extends CustomResource

SignalFx Opsgenie 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

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

const opgenieMyteam = new signalfx.opsgenie.Integration("opgenieMyteam", {
    apiKey: "farts",
    apiUrl: "https://api.opsgenie.com",
    enabled: true,
});

constructor

new Integration(name: string, args: IntegrationArgs, opts?: pulumi.CustomResourceOptions)

Create a Integration resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationState, opts?: pulumi.CustomResourceOptions): Integration

Get an existing Integration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Integration

Returns true if the given object is an instance of Integration. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiKey

public apiKey: pulumi.Output<string>;

The API key

property apiUrl

public apiUrl: pulumi.Output<string | undefined>;

Opsgenie API URL. Will default to https://api.opsgenie.com. You might also want https://api.eu.opsgenie.com.

property enabled

public enabled: pulumi.Output<boolean>;

Whether the integration is enabled.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

Name of the integration.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Others

interface IntegrationArgs

interface IntegrationArgs

The set of arguments for constructing a Integration resource.

property apiKey

apiKey: pulumi.Input<string>;

The API key

property apiUrl

apiUrl?: pulumi.Input<string>;

Opsgenie API URL. Will default to https://api.opsgenie.com. You might also want https://api.eu.opsgenie.com.

property enabled

enabled: pulumi.Input<boolean>;

Whether the integration is enabled.

property name

name?: pulumi.Input<string>;

Name of the integration.

interface IntegrationState

interface IntegrationState

Input properties used for looking up and filtering Integration resources.

property apiKey

apiKey?: pulumi.Input<string>;

The API key

property apiUrl

apiUrl?: pulumi.Input<string>;

Opsgenie API URL. Will default to https://api.opsgenie.com. You might also want https://api.eu.opsgenie.com.

property enabled

enabled?: pulumi.Input<boolean>;

Whether the integration is enabled.

property name

name?: pulumi.Input<string>;

Name of the integration.