Module pagerduty

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-datadog repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-datadog repo.

Resources

Others

Resources

Resource Integration

class Integration extends CustomResource

This content is derived from https://github.com/terraform-providers/terraform-provider-datadog/blob/master/website/docs/r/integration_pagerduty.html.markdown.

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): boolean

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 apiToken

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

Your PagerDuty API token.

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 individualServices

public individualServices: pulumi.Output<boolean | undefined>;

Boolean to specify whether or not individual service objects specified by datadog.pagerduty.ServiceObject resource are to be used. Mutually exclusive with services key.

property schedules

public schedules: pulumi.Output<string[] | undefined>;

Array of your schedule URLs.

property services

public services: pulumi.Output<outputs.pagerduty.IntegrationService[] | undefined>;

Array of PagerDuty service objects. Deprecated The services list is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note that individualServices must be set to true to ignore the service attribute and use individual services properly.

property subdomain

public subdomain: pulumi.Output<string>;

Your PagerDuty account’s personalized subdomain name.

property urn

urn: Output<URN>;

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

Resource ServiceObject

class ServiceObject extends CustomResource

Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated (either manually in the Datadog UI or by using datadog.pagerduty.Integration) in order for this resource to be usable.

Example Usage

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

const pd = new datadog.pagerduty.Integration("pd", {
    apiToken: "38457822378273432587234242874",
    individualServices: true,
    schedules: [
        "https://ddog.pagerduty.com/schedules/X123VF",
        "https://ddog.pagerduty.com/schedules/X321XX",
    ],
    subdomain: "ddog",
});
const testingBar = new datadog.pagerduty.ServiceObject("testingBar", {
    serviceKey: "54321098765432109876",
    serviceName: "testingBar",
}, {dependsOn: [pd]});
const testingFoo = new datadog.pagerduty.ServiceObject("testingFoo", {
    serviceKey: "9876543210123456789",
    serviceName: "testingFoo",
}, {dependsOn: [pd]});

This content is derived from https://github.com/terraform-providers/terraform-provider-datadog/blob/master/website/docs/r/integration_pagerduty_service_object.html.markdown.

constructor

new ServiceObject(name: string, args: ServiceObjectArgs, opts?: pulumi.CustomResourceOptions)

Create a ServiceObject 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?: ServiceObjectState, opts?: pulumi.CustomResourceOptions): ServiceObject

Get an existing ServiceObject 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): boolean

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

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 serviceKey

public serviceKey: pulumi.Output<string>;

property serviceName

public serviceName: pulumi.Output<string>;

Your Service name in PagerDuty.

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 apiToken

apiToken?: pulumi.Input<string>;

Your PagerDuty API token.

property individualServices

individualServices?: pulumi.Input<boolean>;

Boolean to specify whether or not individual service objects specified by datadog.pagerduty.ServiceObject resource are to be used. Mutually exclusive with services key.

property schedules

schedules?: pulumi.Input<pulumi.Input<string>[]>;

Array of your schedule URLs.

property services

services?: pulumi.Input<pulumi.Input<inputs.pagerduty.IntegrationService>[]>;

Array of PagerDuty service objects. Deprecated The services list is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note that individualServices must be set to true to ignore the service attribute and use individual services properly.

property subdomain

subdomain: pulumi.Input<string>;

Your PagerDuty account’s personalized subdomain name.

interface IntegrationState

interface IntegrationState

Input properties used for looking up and filtering Integration resources.

property apiToken

apiToken?: pulumi.Input<string>;

Your PagerDuty API token.

property individualServices

individualServices?: pulumi.Input<boolean>;

Boolean to specify whether or not individual service objects specified by datadog.pagerduty.ServiceObject resource are to be used. Mutually exclusive with services key.

property schedules

schedules?: pulumi.Input<pulumi.Input<string>[]>;

Array of your schedule URLs.

property services

services?: pulumi.Input<pulumi.Input<inputs.pagerduty.IntegrationService>[]>;

Array of PagerDuty service objects. Deprecated The services list is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note that individualServices must be set to true to ignore the service attribute and use individual services properly.

property subdomain

subdomain?: pulumi.Input<string>;

Your PagerDuty account’s personalized subdomain name.

interface ServiceObjectArgs

interface ServiceObjectArgs

The set of arguments for constructing a ServiceObject resource.

property serviceKey

serviceKey: pulumi.Input<string>;

property serviceName

serviceName: pulumi.Input<string>;

Your Service name in PagerDuty.

interface ServiceObjectState

interface ServiceObjectState

Input properties used for looking up and filtering ServiceObject resources.

property serviceKey

serviceKey?: pulumi.Input<string>;

property serviceName

serviceName?: pulumi.Input<string>;

Your Service name in PagerDuty.