@pulumi/pagerduty 3.10.2 → 3.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/customField.d.ts +13 -1
- package/customField.js +13 -1
- package/customField.js.map +1 -1
- package/customFieldOption.d.ts +7 -1
- package/customFieldOption.js +7 -1
- package/customFieldOption.js.map +1 -1
- package/customFieldSchema.d.ts +6 -1
- package/customFieldSchema.js +6 -1
- package/customFieldSchema.js.map +1 -1
- package/customFieldSchemaAssignment.d.ts +6 -1
- package/customFieldSchemaAssignment.js +6 -1
- package/customFieldSchemaAssignment.js.map +1 -1
- package/customFieldSchemaFieldConfiguration.d.ts +6 -1
- package/customFieldSchemaFieldConfiguration.js +6 -1
- package/customFieldSchemaFieldConfiguration.js.map +1 -1
- package/getCustomField.d.ts +16 -2
- package/getCustomField.js +16 -2
- package/getCustomField.js.map +1 -1
- package/getCustomFieldSchema.d.ts +12 -2
- package/getCustomFieldSchema.js +12 -2
- package/getCustomFieldSchema.js.map +1 -1
- package/getIncidentCustomField.d.ts +73 -0
- package/getIncidentCustomField.js +57 -0
- package/getIncidentCustomField.js.map +1 -0
- package/incidentCustomField.d.ts +108 -0
- package/incidentCustomField.js +95 -0
- package/incidentCustomField.js.map +1 -0
- package/incidentCustomFieldOption.d.ts +103 -0
- package/incidentCustomFieldOption.js +93 -0
- package/incidentCustomFieldOption.js.map +1 -0
- package/index.d.ts +9 -0
- package/index.js +15 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/rulesetRule.d.ts +97 -0
- package/rulesetRule.js +97 -0
- package/rulesetRule.js.map +1 -1
- package/slackConnection.d.ts +3 -3
- package/package.json.dev +0 -28
package/customField.d.ts
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
4
|
+
*
|
|
3
5
|
* A [Custom Field](https://support.pagerduty.com/docs/custom-fields) is a resuable element which can be added to Custom Field Schemas.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* ## Migration
|
|
8
|
+
*
|
|
9
|
+
* The `incidentCustomField` resource provides similar functionality
|
|
10
|
+
* with largely the same arguments and attributes. The key distinction is that while custom fields created by this data source
|
|
11
|
+
* may have only applied to a subset of incidents within the account after being added to a schema and assigned to a service,
|
|
12
|
+
* custom fields managed by the `incidentCustomField` resource are applied to all incidents in the account.
|
|
13
|
+
*
|
|
14
|
+
* Additionally:
|
|
15
|
+
* * The separate `multiValue` and `fixedOptions` arguments have been merged into a single argument
|
|
16
|
+
* named `fieldType`.
|
|
17
|
+
* * The `datatype` argument has been renamed `dataType` to match the Public API for the Custom Fields on Incidents feature.
|
|
6
18
|
*
|
|
7
19
|
* ## Example Usage
|
|
8
20
|
*
|
package/customField.js
CHANGED
|
@@ -6,9 +6,21 @@ exports.CustomField = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
10
|
+
*
|
|
9
11
|
* A [Custom Field](https://support.pagerduty.com/docs/custom-fields) is a resuable element which can be added to Custom Field Schemas.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ## Migration
|
|
14
|
+
*
|
|
15
|
+
* The `incidentCustomField` resource provides similar functionality
|
|
16
|
+
* with largely the same arguments and attributes. The key distinction is that while custom fields created by this data source
|
|
17
|
+
* may have only applied to a subset of incidents within the account after being added to a schema and assigned to a service,
|
|
18
|
+
* custom fields managed by the `incidentCustomField` resource are applied to all incidents in the account.
|
|
19
|
+
*
|
|
20
|
+
* Additionally:
|
|
21
|
+
* * The separate `multiValue` and `fixedOptions` arguments have been merged into a single argument
|
|
22
|
+
* named `fieldType`.
|
|
23
|
+
* * The `datatype` argument has been renamed `dataType` to match the Public API for the Custom Fields on Incidents feature.
|
|
12
24
|
*
|
|
13
25
|
* ## Example Usage
|
|
14
26
|
*
|
package/customField.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customField.js","sourceRoot":"","sources":["../customField.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customField.js","sourceRoot":"","sources":["../customField.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA6BD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC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W,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAnFL,kCAoFC;AAtEG,gBAAgB;AACO,wBAAY,GAAG,yCAAyC,CAAC"}
|
package/customFieldOption.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
4
|
+
*
|
|
3
5
|
* A Custom Field Option is a specific value that can be used for [Custom Fields](https://support.pagerduty.com/docs/custom-fields) that only allow values from a set of fixed option.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* ## Migration
|
|
8
|
+
*
|
|
9
|
+
* The `incidentCustomFieldOption` resource provides similar functionality
|
|
10
|
+
* with largely the same arguments and attributes. The only significant change is that the `datatype` argument has been renamed `dataType`
|
|
11
|
+
* to match the Public API for the Custom Fields on Incidents feature.
|
|
6
12
|
*
|
|
7
13
|
* ## Example Usage
|
|
8
14
|
*
|
package/customFieldOption.js
CHANGED
|
@@ -6,9 +6,15 @@ exports.CustomFieldOption = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
10
|
+
*
|
|
9
11
|
* A Custom Field Option is a specific value that can be used for [Custom Fields](https://support.pagerduty.com/docs/custom-fields) that only allow values from a set of fixed option.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ## Migration
|
|
14
|
+
*
|
|
15
|
+
* The `incidentCustomFieldOption` resource provides similar functionality
|
|
16
|
+
* with largely the same arguments and attributes. The only significant change is that the `datatype` argument has been renamed `dataType`
|
|
17
|
+
* to match the Public API for the Custom Fields on Incidents feature.
|
|
12
18
|
*
|
|
13
19
|
* ## Example Usage
|
|
14
20
|
*
|
package/customFieldOption.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customFieldOption.js","sourceRoot":"","sources":["../customFieldOption.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customFieldOption.js","sourceRoot":"","sources":["../customFieldOption.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAA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IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA1EL,8CA2EC;AA7DG,gBAAgB;AACO,8BAAY,GAAG,qDAAqD,CAAC"}
|
package/customFieldSchema.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
4
|
+
*
|
|
3
5
|
* A [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) is a set of Custom Fields which can be set on an incident.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* ## Migration
|
|
8
|
+
*
|
|
9
|
+
* This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
10
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
6
11
|
*
|
|
7
12
|
* ## Example Usage
|
|
8
13
|
*
|
package/customFieldSchema.js
CHANGED
|
@@ -6,9 +6,14 @@ exports.CustomFieldSchema = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
10
|
+
*
|
|
9
11
|
* A [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) is a set of Custom Fields which can be set on an incident.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ## Migration
|
|
14
|
+
*
|
|
15
|
+
* This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
16
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
12
17
|
*
|
|
13
18
|
* ## Example Usage
|
|
14
19
|
*
|
package/customFieldSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customFieldSchema.js","sourceRoot":"","sources":["../customFieldSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customFieldSchema.js","sourceRoot":"","sources":["../customFieldSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA9DL,8CA+DC;AAjDG,gBAAgB;AACO,8BAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
4
|
+
*
|
|
3
5
|
* A [Custom Field Schema Assignment](https://support.pagerduty.com/docs/custom-fields#associate-schemas-with-services) is a relationship between a Custom Field Schema and a Service.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* ## Migration
|
|
8
|
+
*
|
|
9
|
+
* This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
10
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
6
11
|
*
|
|
7
12
|
* ## Example Usage
|
|
8
13
|
*
|
|
@@ -6,9 +6,14 @@ exports.CustomFieldSchemaAssignment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
10
|
+
*
|
|
9
11
|
* A [Custom Field Schema Assignment](https://support.pagerduty.com/docs/custom-fields#associate-schemas-with-services) is a relationship between a Custom Field Schema and a Service.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ## Migration
|
|
14
|
+
*
|
|
15
|
+
* This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
16
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
12
17
|
*
|
|
13
18
|
* ## Example Usage
|
|
14
19
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customFieldSchemaAssignment.js","sourceRoot":"","sources":["../customFieldSchemaAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customFieldSchemaAssignment.js","sourceRoot":"","sources":["../customFieldSchemaAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,K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AAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAjEL,kEAkEC;AApDG,gBAAgB;AACO,wCAAY,GAAG,yEAAyE,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
4
|
+
*
|
|
3
5
|
* A [Custom Field Configuration](https://support.pagerduty.com/docs/custom-fields#associate-schemas-with-services) is a declaration of a specific Custom Field in a specific Custom Field Schema.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* ## Migration
|
|
8
|
+
*
|
|
9
|
+
* This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
10
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
6
11
|
*
|
|
7
12
|
* ## Example Usage
|
|
8
13
|
*
|
|
@@ -6,9 +6,14 @@ exports.CustomFieldSchemaFieldConfiguration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> This Resource is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
10
|
+
*
|
|
9
11
|
* A [Custom Field Configuration](https://support.pagerduty.com/docs/custom-fields#associate-schemas-with-services) is a declaration of a specific Custom Field in a specific Custom Field Schema.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ## Migration
|
|
14
|
+
*
|
|
15
|
+
* This resource has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
16
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
12
17
|
*
|
|
13
18
|
* ## Example Usage
|
|
14
19
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customFieldSchemaFieldConfiguration.js","sourceRoot":"","sources":["../customFieldSchemaFieldConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customFieldSchemaFieldConfiguration.js","sourceRoot":"","sources":["../customFieldSchemaFieldConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmE,CAAC;YAClF,cAAc,CA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CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAzFL,kFA0FC;AA5EG,gBAAgB;AACO,gDAAY,GAAG,yFAAyF,CAAC"}
|
package/getCustomField.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
4
|
+
*
|
|
3
5
|
* Use this data source to get information about a specific [Custom Field](https://support.pagerduty.com/docs/custom-fields) that you can add to a custom field schema.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* ## Migration
|
|
8
|
+
*
|
|
9
|
+
* The `incidentCustomField` data source provides similar functionality
|
|
10
|
+
* with the same arguments and attributes. The key distinction is that while custom fields returned by this data source
|
|
11
|
+
* may have only applied to a subset of incidents within the account, custom fields returned by the `incidentCustomField`
|
|
12
|
+
* data source are applied to all incidents in the account.
|
|
6
13
|
*/
|
|
7
14
|
export declare function getCustomField(args: GetCustomFieldArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomFieldResult>;
|
|
8
15
|
/**
|
|
@@ -30,9 +37,16 @@ export interface GetCustomFieldResult {
|
|
|
30
37
|
readonly name: string;
|
|
31
38
|
}
|
|
32
39
|
/**
|
|
40
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
41
|
+
*
|
|
33
42
|
* Use this data source to get information about a specific [Custom Field](https://support.pagerduty.com/docs/custom-fields) that you can add to a custom field schema.
|
|
34
43
|
*
|
|
35
|
-
*
|
|
44
|
+
* ## Migration
|
|
45
|
+
*
|
|
46
|
+
* The `incidentCustomField` data source provides similar functionality
|
|
47
|
+
* with the same arguments and attributes. The key distinction is that while custom fields returned by this data source
|
|
48
|
+
* may have only applied to a subset of incidents within the account, custom fields returned by the `incidentCustomField`
|
|
49
|
+
* data source are applied to all incidents in the account.
|
|
36
50
|
*/
|
|
37
51
|
export declare function getCustomFieldOutput(args: GetCustomFieldOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomFieldResult>;
|
|
38
52
|
/**
|
package/getCustomField.js
CHANGED
|
@@ -6,9 +6,16 @@ exports.getCustomFieldOutput = exports.getCustomField = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
10
|
+
*
|
|
9
11
|
* Use this data source to get information about a specific [Custom Field](https://support.pagerduty.com/docs/custom-fields) that you can add to a custom field schema.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ## Migration
|
|
14
|
+
*
|
|
15
|
+
* The `incidentCustomField` data source provides similar functionality
|
|
16
|
+
* with the same arguments and attributes. The key distinction is that while custom fields returned by this data source
|
|
17
|
+
* may have only applied to a subset of incidents within the account, custom fields returned by the `incidentCustomField`
|
|
18
|
+
* data source are applied to all incidents in the account.
|
|
12
19
|
*/
|
|
13
20
|
function getCustomField(args, opts) {
|
|
14
21
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,9 +25,16 @@ function getCustomField(args, opts) {
|
|
|
18
25
|
}
|
|
19
26
|
exports.getCustomField = getCustomField;
|
|
20
27
|
/**
|
|
28
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
29
|
+
*
|
|
21
30
|
* Use this data source to get information about a specific [Custom Field](https://support.pagerduty.com/docs/custom-fields) that you can add to a custom field schema.
|
|
22
31
|
*
|
|
23
|
-
*
|
|
32
|
+
* ## Migration
|
|
33
|
+
*
|
|
34
|
+
* The `incidentCustomField` data source provides similar functionality
|
|
35
|
+
* with the same arguments and attributes. The key distinction is that while custom fields returned by this data source
|
|
36
|
+
* may have only applied to a subset of incidents within the account, custom fields returned by the `incidentCustomField`
|
|
37
|
+
* data source are applied to all incidents in the account.
|
|
24
38
|
*/
|
|
25
39
|
function getCustomFieldOutput(args, opts) {
|
|
26
40
|
return pulumi.output(args).apply((a) => getCustomField(a, opts));
|
package/getCustomField.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomField.js","sourceRoot":"","sources":["../getCustomField.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCustomField.js","sourceRoot":"","sources":["../getCustomField.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA2BD;;;;;;;;;;;GAWG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
4
|
+
*
|
|
3
5
|
* Use this data source to get information about a specific [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) that you can assign to a service.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* ## Migration
|
|
8
|
+
*
|
|
9
|
+
* This data source has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
10
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
6
11
|
*
|
|
7
12
|
* ## Example Usage
|
|
8
13
|
*
|
|
@@ -44,9 +49,14 @@ export interface GetCustomFieldSchemaResult {
|
|
|
44
49
|
readonly title: string;
|
|
45
50
|
}
|
|
46
51
|
/**
|
|
52
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
53
|
+
*
|
|
47
54
|
* Use this data source to get information about a specific [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) that you can assign to a service.
|
|
48
55
|
*
|
|
49
|
-
*
|
|
56
|
+
* ## Migration
|
|
57
|
+
*
|
|
58
|
+
* This data source has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
59
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
50
60
|
*
|
|
51
61
|
* ## Example Usage
|
|
52
62
|
*
|
package/getCustomFieldSchema.js
CHANGED
|
@@ -6,9 +6,14 @@ exports.getCustomFieldSchemaOutput = exports.getCustomFieldSchema = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
10
|
+
*
|
|
9
11
|
* Use this data source to get information about a specific [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) that you can assign to a service.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ## Migration
|
|
14
|
+
*
|
|
15
|
+
* This data source has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
16
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
12
17
|
*
|
|
13
18
|
* ## Example Usage
|
|
14
19
|
*
|
|
@@ -36,9 +41,14 @@ function getCustomFieldSchema(args, opts) {
|
|
|
36
41
|
}
|
|
37
42
|
exports.getCustomFieldSchema = getCustomFieldSchema;
|
|
38
43
|
/**
|
|
44
|
+
* !> This Data Source is no longer functional. Documentation is left here for the purpose of documenting migration steps.
|
|
45
|
+
*
|
|
39
46
|
* Use this data source to get information about a specific [Custom Field Schema](https://support.pagerduty.com/docs/custom-fields#schemas) that you can assign to a service.
|
|
40
47
|
*
|
|
41
|
-
*
|
|
48
|
+
* ## Migration
|
|
49
|
+
*
|
|
50
|
+
* This data source has no currently functional counterpart. Custom Fields on Incidents are now applied globally
|
|
51
|
+
* to incidents within an account and have no notion of a Field Schema.
|
|
42
52
|
*
|
|
43
53
|
* ## Example Usage
|
|
44
54
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomFieldSchema.js","sourceRoot":"","sources":["../getCustomFieldSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCustomFieldSchema.js","sourceRoot":"","sources":["../getCustomFieldSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information about a specific [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents).
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
10
|
+
*
|
|
11
|
+
* const environment = pagerduty.getIncidentCustomField({
|
|
12
|
+
* name: "environment",
|
|
13
|
+
* });
|
|
14
|
+
* const devEnvironment = new pagerduty.IncidentCustomFieldOption("devEnvironment", {
|
|
15
|
+
* field: environment.then(environment => environment.id),
|
|
16
|
+
* datatype: "string",
|
|
17
|
+
* value: "dev",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function getIncidentCustomField(args: GetIncidentCustomFieldArgs, opts?: pulumi.InvokeOptions): Promise<GetIncidentCustomFieldResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getIncidentCustomField.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetIncidentCustomFieldArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The name of the field.
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by getIncidentCustomField.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetIncidentCustomFieldResult {
|
|
35
|
+
readonly dataType: string;
|
|
36
|
+
readonly description: string;
|
|
37
|
+
readonly displayName: string;
|
|
38
|
+
readonly fieldType: string;
|
|
39
|
+
/**
|
|
40
|
+
* The provider-assigned unique ID for this managed resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly id: string;
|
|
43
|
+
readonly name: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Use this data source to get information about a specific [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents).
|
|
47
|
+
*
|
|
48
|
+
* ## Example Usage
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
53
|
+
*
|
|
54
|
+
* const environment = pagerduty.getIncidentCustomField({
|
|
55
|
+
* name: "environment",
|
|
56
|
+
* });
|
|
57
|
+
* const devEnvironment = new pagerduty.IncidentCustomFieldOption("devEnvironment", {
|
|
58
|
+
* field: environment.then(environment => environment.id),
|
|
59
|
+
* datatype: "string",
|
|
60
|
+
* value: "dev",
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare function getIncidentCustomFieldOutput(args: GetIncidentCustomFieldOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIncidentCustomFieldResult>;
|
|
65
|
+
/**
|
|
66
|
+
* A collection of arguments for invoking getIncidentCustomField.
|
|
67
|
+
*/
|
|
68
|
+
export interface GetIncidentCustomFieldOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The name of the field.
|
|
71
|
+
*/
|
|
72
|
+
name: pulumi.Input<string>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIncidentCustomFieldOutput = exports.getIncidentCustomField = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about a specific [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
16
|
+
*
|
|
17
|
+
* const environment = pagerduty.getIncidentCustomField({
|
|
18
|
+
* name: "environment",
|
|
19
|
+
* });
|
|
20
|
+
* const devEnvironment = new pagerduty.IncidentCustomFieldOption("devEnvironment", {
|
|
21
|
+
* field: environment.then(environment => environment.id),
|
|
22
|
+
* datatype: "string",
|
|
23
|
+
* value: "dev",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getIncidentCustomField(args, opts) {
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
|
+
return pulumi.runtime.invoke("pagerduty:index/getIncidentCustomField:getIncidentCustomField", {
|
|
30
|
+
"name": args.name,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getIncidentCustomField = getIncidentCustomField;
|
|
34
|
+
/**
|
|
35
|
+
* Use this data source to get information about a specific [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents).
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
42
|
+
*
|
|
43
|
+
* const environment = pagerduty.getIncidentCustomField({
|
|
44
|
+
* name: "environment",
|
|
45
|
+
* });
|
|
46
|
+
* const devEnvironment = new pagerduty.IncidentCustomFieldOption("devEnvironment", {
|
|
47
|
+
* field: environment.then(environment => environment.id),
|
|
48
|
+
* datatype: "string",
|
|
49
|
+
* value: "dev",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getIncidentCustomFieldOutput(args, opts) {
|
|
54
|
+
return pulumi.output(args).apply((a) => getIncidentCustomField(a, opts));
|
|
55
|
+
}
|
|
56
|
+
exports.getIncidentCustomFieldOutput = getIncidentCustomFieldOutput;
|
|
57
|
+
//# sourceMappingURL=getIncidentCustomField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIncidentCustomField.js","sourceRoot":"","sources":["../getIncidentCustomField.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AA0BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* An [Incident Custom Field](https://support.pagerduty.com/docs/custom-fields-on-incidents) defines a field which can be set on incidents in the target account.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as pagerduty from "@pulumi/pagerduty";
|
|
10
|
+
*
|
|
11
|
+
* const csImpact = new pagerduty.IncidentCustomField("csImpact", {
|
|
12
|
+
* dataType: "string",
|
|
13
|
+
* fieldType: "single_value",
|
|
14
|
+
* });
|
|
15
|
+
* const sreEnvironment = new pagerduty.IncidentCustomField("sreEnvironment", {
|
|
16
|
+
* dataType: "string",
|
|
17
|
+
* fieldType: "single_value_fixed",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Fields can be imported using the `id`, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import pagerduty:index/incidentCustomField:IncidentCustomField sre_environment PLBP09X
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class IncidentCustomField extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing IncidentCustomField resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IncidentCustomFieldState, opts?: pulumi.CustomResourceOptions): IncidentCustomField;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of IncidentCustomField. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is IncidentCustomField;
|
|
45
|
+
/**
|
|
46
|
+
* The data type of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
|
|
47
|
+
*/
|
|
48
|
+
readonly dataType: pulumi.Output<string>;
|
|
49
|
+
readonly defaultValue: pulumi.Output<string | undefined>;
|
|
50
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
51
|
+
readonly displayName: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The field type of the field. Must be one of `singleValue`, `singleValueFixed`, `multiValue`, or `multiValueFixed`.
|
|
54
|
+
*/
|
|
55
|
+
readonly fieldType: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The name of the field.
|
|
58
|
+
*/
|
|
59
|
+
readonly name: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a IncidentCustomField resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: IncidentCustomFieldArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering IncidentCustomField resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface IncidentCustomFieldState {
|
|
73
|
+
/**
|
|
74
|
+
* The data type of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
|
|
75
|
+
*/
|
|
76
|
+
dataType?: pulumi.Input<string>;
|
|
77
|
+
defaultValue?: pulumi.Input<string>;
|
|
78
|
+
description?: pulumi.Input<string>;
|
|
79
|
+
displayName?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The field type of the field. Must be one of `singleValue`, `singleValueFixed`, `multiValue`, or `multiValueFixed`.
|
|
82
|
+
*/
|
|
83
|
+
fieldType?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the field.
|
|
86
|
+
*/
|
|
87
|
+
name?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a IncidentCustomField resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface IncidentCustomFieldArgs {
|
|
93
|
+
/**
|
|
94
|
+
* The data type of the field. Must be one of `string`, `integer`, `float`, `boolean`, `datetime`, or `url`.
|
|
95
|
+
*/
|
|
96
|
+
dataType: pulumi.Input<string>;
|
|
97
|
+
defaultValue?: pulumi.Input<string>;
|
|
98
|
+
description?: pulumi.Input<string>;
|
|
99
|
+
displayName: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The field type of the field. Must be one of `singleValue`, `singleValueFixed`, `multiValue`, or `multiValueFixed`.
|
|
102
|
+
*/
|
|
103
|
+
fieldType: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the field.
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string>;
|
|
108
|
+
}
|