Integration
Create a Integration Resource
new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);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.
- Api
Token string 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
serviceskey.- Schedules List<string>
Array of your schedule URLs.
- Services
List<Integration
Service Args> Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.
- Subdomain string
Your PagerDuty account’s personalized subdomain name.
- Api
Token string 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
serviceskey.- Schedules []string
Array of your schedule URLs.
- Services
[]Integration
Service Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.
- subdomain string
Your PagerDuty account’s personalized subdomain name.
- api
Token string Your PagerDuty API token.
- individual
Services boolean Boolean to specify whether or not individual service objects specified by datadog.pagerduty.ServiceObject resource are to be used. Mutually exclusive with
serviceskey.- schedules string[]
Array of your schedule URLs.
- services
Integration
Service[] Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.
- 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
serviceskey.- schedules List[str]
Array of your schedule URLs.
- services
List[Integration
Service] Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.
Outputs
All input properties are implicitly available as output properties. Additionally, the Integration resource produces the following output properties:
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): Integrationstatic 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:
- Api
Token string 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
serviceskey.- Schedules List<string>
Array of your schedule URLs.
- Services
List<Integration
Service Args> Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.- Subdomain string
Your PagerDuty account’s personalized subdomain name.
- Api
Token string 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
serviceskey.- Schedules []string
Array of your schedule URLs.
- Services
[]Integration
Service Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.- Subdomain string
Your PagerDuty account’s personalized subdomain name.
- api
Token string Your PagerDuty API token.
- individual
Services boolean Boolean to specify whether or not individual service objects specified by datadog.pagerduty.ServiceObject resource are to be used. Mutually exclusive with
serviceskey.- schedules string[]
Array of your schedule URLs.
- services
Integration
Service[] Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.- 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
serviceskey.- schedules List[str]
Array of your schedule URLs.
- services
List[Integration
Service] Array of PagerDuty service objects. Deprecated The
serviceslist is now deprecated in favour of datadog.pagerduty.ServiceObject resource. Note thatindividual_servicesmust be set totrueto ignore theserviceattribute and use individual services properly.- subdomain str
Your PagerDuty account’s personalized subdomain name.
Supporting Types
IntegrationService
- Service
Key string Your Service name associated service key in Pagerduty.
- Service
Name string Your Service name in PagerDuty.
- Service
Key string Your Service name associated service key in Pagerduty.
- Service
Name string Your Service name in PagerDuty.
- service
Key string Your Service name associated service key in Pagerduty.
- service
Name 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
datadogTerraform Provider.