Integration

Create a Integration Resource

def Integration(resource_name, opts=None, api_token=None, individual_services=None, schedules=None, services=None, subdomain=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:

Subdomain string

Your PagerDuty account’s personalized subdomain name.

ApiToken string

Your PagerDuty API token.

IndividualServices bool

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

Schedules List<string>

Array of your schedule URLs.

Services List<IntegrationServiceArgs>

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

Subdomain string

Your PagerDuty account’s personalized subdomain name.

ApiToken string

Your PagerDuty API token.

IndividualServices bool

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

Schedules []string

Array of your schedule URLs.

Services []IntegrationService

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

subdomain string

Your PagerDuty account’s personalized subdomain name.

apiToken string

Your PagerDuty API token.

individualServices 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.

schedules string[]

Array of your schedule URLs.

services IntegrationService[]

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

subdomain str

Your PagerDuty account’s personalized subdomain name.

api_token str

Your PagerDuty API token.

individual_services bool

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

schedules List[str]

Array of your schedule URLs.

services List[IntegrationService]

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

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, api_token=None, individual_services=None, schedules=None, services=None, subdomain=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:

ApiToken string

Your PagerDuty API token.

IndividualServices bool

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

Schedules List<string>

Array of your schedule URLs.

Services List<IntegrationServiceArgs>

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

Subdomain string

Your PagerDuty account’s personalized subdomain name.

ApiToken string

Your PagerDuty API token.

IndividualServices bool

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

Schedules []string

Array of your schedule URLs.

Services []IntegrationService

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

Subdomain string

Your PagerDuty account’s personalized subdomain name.

apiToken string

Your PagerDuty API token.

individualServices 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.

schedules string[]

Array of your schedule URLs.

services IntegrationService[]

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

subdomain string

Your PagerDuty account’s personalized subdomain name.

api_token str

Your PagerDuty API token.

individual_services bool

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

schedules List[str]

Array of your schedule URLs.

services List[IntegrationService]

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

Deprecated: set "individual_services" to true and use datadog_pagerduty_integration_service_object

subdomain str

Your PagerDuty account’s personalized subdomain name.

Supporting Types

IntegrationService

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ServiceKey string

Your Service name associated service key in Pagerduty.

ServiceName string

Your Service name in PagerDuty.

ServiceKey string

Your Service name associated service key in Pagerduty.

ServiceName string

Your Service name in PagerDuty.

serviceKey string

Your Service name associated service key in Pagerduty.

serviceName string

Your Service name in PagerDuty.

service_key str

Your Service name associated service key in Pagerduty.

service_name str

Your Service name in PagerDuty.

Package Details

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