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-datadogrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-datadogrepo.
Resources
Others
Resources
Resource Integration
class Integration extends CustomResourceconstructor
new Integration(name: string, args: IntegrationArgs, opts?: pulumi.CustomResourceOptions)Create a Integration resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA 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): IntegrationGet 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 | undefinedmethod isInstance
public static isInstance(obj: any): obj is IntegrationReturns 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<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 CustomResourceProvides 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 testingFoo = new datadog.pagerduty.ServiceObject("testingFoo", {
serviceKey: "9876543210123456789",
serviceName: "testingFoo",
}, { dependsOn: [pd] });
const testingBar = new datadog.pagerduty.ServiceObject("testingBar", {
serviceKey: "54321098765432109876",
serviceName: "testingBar",
}, { dependsOn: [pd] });constructor
new ServiceObject(name: string, args: ServiceObjectArgs, opts?: pulumi.CustomResourceOptions)Create a ServiceObject resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA 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): ServiceObjectGet 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 | undefinedmethod isInstance
public static isInstance(obj: any): obj is ServiceObjectReturns 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 IntegrationArgsThe 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<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 IntegrationStateInput 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<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 ServiceObjectArgsThe 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 ServiceObjectStateInput 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.