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.

class pulumi_datadog.pagerduty.Integration(resource_name, opts=None, api_token=None, individual_services=None, schedules=None, services=None, subdomain=None, __props__=None, __name__=None, __opts__=None)

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

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • api_token (pulumi.Input[str]) – Your PagerDuty API token.

  • individual_services (pulumi.Input[bool]) – Boolean to specify whether or not individual service objects specified by pagerduty.ServiceObject resource are to be used. Mutually exclusive with services key.

  • schedules (pulumi.Input[list]) – Array of your schedule URLs.

  • services (pulumi.Input[list]) –

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

  • subdomain (pulumi.Input[str]) – Your PagerDuty account’s personalized subdomain name.

The services object supports the following:

  • service_key (pulumi.Input[str]) - Your Service name associated service key in Pagerduty.

  • service_name (pulumi.Input[str]) - Your Service name in PagerDuty.

api_token = None

Your PagerDuty API token.

individual_services = None

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

schedules = None

Array of your schedule URLs.

services = None

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

  • service_key (str) - Your Service name associated service key in Pagerduty.

  • service_name (str) - Your Service name in PagerDuty.

subdomain = None

Your PagerDuty account’s personalized subdomain name.

static get(resource_name, id, opts=None, api_token=None, individual_services=None, schedules=None, services=None, subdomain=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • api_token (pulumi.Input[str]) – Your PagerDuty API token.

  • individual_services (pulumi.Input[bool]) –

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

  • schedules (pulumi.Input[list]) – Array of your schedule URLs.

  • services (pulumi.Input[list]) –

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

  • subdomain (pulumi.Input[str]) – Your PagerDuty account’s personalized subdomain name.

The services object supports the following:

  • service_key (pulumi.Input[str]) - Your Service name associated service key in Pagerduty.

  • service_name (pulumi.Input[str]) - Your Service name in PagerDuty.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_datadog.pagerduty.ServiceObject(resource_name, opts=None, service_key=None, service_name=None, __props__=None, __name__=None, __opts__=None)

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 pagerduty.Integration) in order for this resource to be usable.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • service_name (pulumi.Input[str]) – Your Service name in PagerDuty.

service_name = None

Your Service name in PagerDuty.

static get(resource_name, id, opts=None, service_key=None, service_name=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • service_name (pulumi.Input[str]) – Your Service name in PagerDuty.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str