@incident-io/pulumi 0.1.2 → 0.3.0
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/alertRoute.d.ts +12 -0
- package/alertRoute.d.ts.map +1 -1
- package/alertRoute.js +2 -0
- package/alertRoute.js.map +1 -1
- package/alertSource.d.ts +15 -3
- package/alertSource.d.ts.map +1 -1
- package/alertSource.js +2 -0
- package/alertSource.js.map +1 -1
- package/alertSourceBeta.d.ts +15 -3
- package/alertSourceBeta.d.ts.map +1 -1
- package/alertSourceBeta.js +2 -0
- package/alertSourceBeta.js.map +1 -1
- package/announcementRule.d.ts +247 -0
- package/announcementRule.d.ts.map +1 -0
- package/announcementRule.js +175 -0
- package/announcementRule.js.map +1 -0
- package/announcementTemplate.d.ts +157 -0
- package/announcementTemplate.d.ts.map +1 -0
- package/announcementTemplate.js +148 -0
- package/announcementTemplate.js.map +1 -0
- package/apiKey.d.ts +12 -0
- package/apiKey.d.ts.map +1 -1
- package/apiKey.js +2 -0
- package/apiKey.js.map +1 -1
- package/catalogType.d.ts +12 -0
- package/catalogType.d.ts.map +1 -1
- package/catalogType.js +2 -0
- package/catalogType.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/escalationPath.d.ts +69 -15
- package/escalationPath.d.ts.map +1 -1
- package/escalationPath.js +8 -6
- package/escalationPath.js.map +1 -1
- package/escalationPathBeta.d.ts +69 -15
- package/escalationPathBeta.d.ts.map +1 -1
- package/escalationPathBeta.js +8 -6
- package/escalationPathBeta.js.map +1 -1
- package/escalationPathTemplate.d.ts +318 -0
- package/escalationPathTemplate.d.ts.map +1 -0
- package/escalationPathTemplate.js +253 -0
- package/escalationPathTemplate.js.map +1 -0
- package/getAlertSource.d.ts +5 -1
- package/getAlertSource.d.ts.map +1 -1
- package/getAlertSource.js.map +1 -1
- package/getAnnouncementRule.d.ts +138 -0
- package/getAnnouncementRule.d.ts.map +1 -0
- package/getAnnouncementRule.js +99 -0
- package/getAnnouncementRule.js.map +1 -0
- package/getAnnouncementTemplate.d.ts +148 -0
- package/getAnnouncementTemplate.d.ts.map +1 -0
- package/getAnnouncementTemplate.js +137 -0
- package/getAnnouncementTemplate.js.map +1 -0
- package/getCatalogType.d.ts +4 -0
- package/getCatalogType.d.ts.map +1 -1
- package/getCatalogType.js.map +1 -1
- package/getEscalationPath.d.ts +19 -1
- package/getEscalationPath.d.ts.map +1 -1
- package/getEscalationPath.js.map +1 -1
- package/getEscalationPathBeta.d.ts +19 -1
- package/getEscalationPathBeta.d.ts.map +1 -1
- package/getEscalationPathBeta.js.map +1 -1
- package/getIncidentForm.d.ts +96 -0
- package/getIncidentForm.d.ts.map +1 -0
- package/getIncidentForm.js +89 -0
- package/getIncidentForm.js.map +1 -0
- package/getIncidentTemplate.d.ts +4 -0
- package/getIncidentTemplate.d.ts.map +1 -1
- package/getIncidentTemplate.js.map +1 -1
- package/getPayConfig.d.ts +130 -0
- package/getPayConfig.d.ts.map +1 -0
- package/getPayConfig.js +99 -0
- package/getPayConfig.js.map +1 -0
- package/getPolicy.d.ts +1 -1
- package/getScheduleSyncRule.d.ts +4 -0
- package/getScheduleSyncRule.d.ts.map +1 -1
- package/getScheduleSyncRule.js.map +1 -1
- package/getStatusPage.d.ts +95 -0
- package/getStatusPage.d.ts.map +1 -0
- package/getStatusPage.js +93 -0
- package/getStatusPage.js.map +1 -0
- package/getStatusPageComponent.d.ts +75 -0
- package/getStatusPageComponent.d.ts.map +1 -0
- package/getStatusPageComponent.js +81 -0
- package/getStatusPageComponent.js.map +1 -0
- package/getUser.d.ts +24 -6
- package/getUser.d.ts.map +1 -1
- package/getUser.js.map +1 -1
- package/getWorkflow.d.ts +1 -0
- package/getWorkflow.d.ts.map +1 -1
- package/getWorkflow.js.map +1 -1
- package/incidentForm.d.ts +424 -0
- package/incidentForm.d.ts.map +1 -0
- package/incidentForm.js +408 -0
- package/incidentForm.js.map +1 -0
- package/incidentTemplate.d.ts +12 -0
- package/incidentTemplate.d.ts.map +1 -1
- package/incidentTemplate.js +2 -0
- package/incidentTemplate.js.map +1 -1
- package/index.d.ts +42 -0
- package/index.d.ts.map +1 -1
- package/index.js +61 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/payConfig.d.ts +258 -0
- package/payConfig.d.ts.map +1 -0
- package/payConfig.js +213 -0
- package/payConfig.js.map +1 -0
- package/policy.d.ts +73 -17
- package/policy.d.ts.map +1 -1
- package/policy.js +42 -6
- package/policy.js.map +1 -1
- package/provider.d.ts +1 -1
- package/schedule.d.ts +12 -0
- package/schedule.d.ts.map +1 -1
- package/schedule.js +2 -0
- package/schedule.js.map +1 -1
- package/scheduleBeta.d.ts +12 -0
- package/scheduleBeta.d.ts.map +1 -1
- package/scheduleBeta.js +2 -0
- package/scheduleBeta.js.map +1 -1
- package/scheduleSyncRule.d.ts +12 -0
- package/scheduleSyncRule.d.ts.map +1 -1
- package/scheduleSyncRule.js +2 -0
- package/scheduleSyncRule.js.map +1 -1
- package/scheduleSyncTarget.d.ts +12 -0
- package/scheduleSyncTarget.d.ts.map +1 -1
- package/scheduleSyncTarget.js +2 -0
- package/scheduleSyncTarget.js.map +1 -1
- package/secret.d.ts +12 -0
- package/secret.d.ts.map +1 -1
- package/secret.js +2 -0
- package/secret.js.map +1 -1
- package/statusPageComponent.d.ts +120 -0
- package/statusPageComponent.d.ts.map +1 -0
- package/statusPageComponent.js +123 -0
- package/statusPageComponent.js.map +1 -0
- package/statusPageStructure.d.ts +151 -0
- package/statusPageStructure.d.ts.map +1 -0
- package/statusPageStructure.js +148 -0
- package/statusPageStructure.js.map +1 -0
- package/teamGroupingPreference.d.ts +164 -0
- package/teamGroupingPreference.d.ts.map +1 -0
- package/teamGroupingPreference.js +165 -0
- package/teamGroupingPreference.js.map +1 -0
- package/types/input.d.ts +5722 -4067
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +4932 -2641
- package/types/output.d.ts.map +1 -1
- package/workflow.d.ts +12 -0
- package/workflow.d.ts.map +1 -1
- package/workflow.js +2 -0
- package/workflow.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEscalationPathBeta.d.ts","sourceRoot":"","sources":["../getEscalationPathBeta.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAOzI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,iCAAiC,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,8BAA8B,CAAA;KAAC,CAAC;IAC5E;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,gCAAgC,EAAE,CAAC;CACrE;AACD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAA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,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;
|
|
1
|
+
{"version":3,"file":"getEscalationPathBeta.js","sourceRoot":"","sources":["../getEscalationPathBeta.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AAiED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAAiC;IACjH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Configure the forms used to declare, accept, update, and resolve incidents.
|
|
5
|
+
*
|
|
6
|
+
* Each form carries its elements and the expressions those elements can reference.
|
|
7
|
+
* Escalate forms are not part of this API.
|
|
8
|
+
*
|
|
9
|
+
* Use this data source to read an existing incident form by ID, including its elements and expressions, without managing it as an `incident.IncidentForm` resource. The ID of a form is in the dashboard's URL when editing it. Escalate forms are not available through this data source.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as incident from "@incident-io/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* // Read an existing incident form by its ID, which is in the dashboard's URL when
|
|
18
|
+
* // editing the form.
|
|
19
|
+
* const defaultDeclare = incident.getIncidentForm({
|
|
20
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
21
|
+
* });
|
|
22
|
+
* export const defaultDeclareCustomFields = defaultDeclare.then(defaultDeclare => .filter(element => element.elementType == "custom_field").map(element => (element.customFieldId)));
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getIncidentForm(args: GetIncidentFormArgs, opts?: pulumi.InvokeOptions): Promise<GetIncidentFormResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getIncidentForm.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetIncidentFormArgs {
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for this incident form
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getIncidentForm.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetIncidentFormResult {
|
|
39
|
+
/**
|
|
40
|
+
* Expressions that make variables available in the scope
|
|
41
|
+
*/
|
|
42
|
+
readonly expressions: outputs.GetIncidentFormExpression[];
|
|
43
|
+
/**
|
|
44
|
+
* Which form this is. Escalate forms are not part of this API. Possible values are: `declare`, `accept`, `update`, `resolve`, `retrospective`, `custom-fields`.
|
|
45
|
+
*/
|
|
46
|
+
readonly formType: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier for this incident form
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* The incident type this form belongs to. Unset for the organisation's default form of this type.
|
|
53
|
+
*/
|
|
54
|
+
readonly incidentTypeId: string;
|
|
55
|
+
/**
|
|
56
|
+
* Elements on this form, in display order. List position is the order: there is no separate rank.
|
|
57
|
+
*/
|
|
58
|
+
readonly lifecycleElements: outputs.GetIncidentFormLifecycleElement[];
|
|
59
|
+
/**
|
|
60
|
+
* Not populated: whether Terraform claims a resource is configuration, and no read endpoint reports it.
|
|
61
|
+
*/
|
|
62
|
+
readonly unlockInDashboard: boolean;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Configure the forms used to declare, accept, update, and resolve incidents.
|
|
66
|
+
*
|
|
67
|
+
* Each form carries its elements and the expressions those elements can reference.
|
|
68
|
+
* Escalate forms are not part of this API.
|
|
69
|
+
*
|
|
70
|
+
* Use this data source to read an existing incident form by ID, including its elements and expressions, without managing it as an `incident.IncidentForm` resource. The ID of a form is in the dashboard's URL when editing it. Escalate forms are not available through this data source.
|
|
71
|
+
*
|
|
72
|
+
* ## Example Usage
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as incident from "@incident-io/pulumi";
|
|
77
|
+
*
|
|
78
|
+
* // Read an existing incident form by its ID, which is in the dashboard's URL when
|
|
79
|
+
* // editing the form.
|
|
80
|
+
* const defaultDeclare = incident.getIncidentForm({
|
|
81
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
82
|
+
* });
|
|
83
|
+
* export const defaultDeclareCustomFields = defaultDeclare.then(defaultDeclare => .filter(element => element.elementType == "custom_field").map(element => (element.customFieldId)));
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare function getIncidentFormOutput(args: GetIncidentFormOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIncidentFormResult>;
|
|
87
|
+
/**
|
|
88
|
+
* A collection of arguments for invoking getIncidentForm.
|
|
89
|
+
*/
|
|
90
|
+
export interface GetIncidentFormOutputArgs {
|
|
91
|
+
/**
|
|
92
|
+
* Unique identifier for this incident form
|
|
93
|
+
*/
|
|
94
|
+
id: pulumi.Input<string>;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=getIncidentForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIncidentForm.d.ts","sourceRoot":"","sources":["../getIncidentForm.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAKtH;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,yBAAyB,EAAE,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,+BAA+B,EAAE,CAAC;IACtE;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;CACvC;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAK9I;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getIncidentFormOutput = exports.getIncidentForm = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Configure the forms used to declare, accept, update, and resolve incidents.
|
|
33
|
+
*
|
|
34
|
+
* Each form carries its elements and the expressions those elements can reference.
|
|
35
|
+
* Escalate forms are not part of this API.
|
|
36
|
+
*
|
|
37
|
+
* Use this data source to read an existing incident form by ID, including its elements and expressions, without managing it as an `incident.IncidentForm` resource. The ID of a form is in the dashboard's URL when editing it. Escalate forms are not available through this data source.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as incident from "@incident-io/pulumi";
|
|
44
|
+
*
|
|
45
|
+
* // Read an existing incident form by its ID, which is in the dashboard's URL when
|
|
46
|
+
* // editing the form.
|
|
47
|
+
* const defaultDeclare = incident.getIncidentForm({
|
|
48
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
49
|
+
* });
|
|
50
|
+
* export const defaultDeclareCustomFields = defaultDeclare.then(defaultDeclare => .filter(element => element.elementType == "custom_field").map(element => (element.customFieldId)));
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getIncidentForm(args, opts) {
|
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
55
|
+
return pulumi.runtime.invoke("incident:index/getIncidentForm:getIncidentForm", {
|
|
56
|
+
"id": args.id,
|
|
57
|
+
}, opts);
|
|
58
|
+
}
|
|
59
|
+
exports.getIncidentForm = getIncidentForm;
|
|
60
|
+
/**
|
|
61
|
+
* Configure the forms used to declare, accept, update, and resolve incidents.
|
|
62
|
+
*
|
|
63
|
+
* Each form carries its elements and the expressions those elements can reference.
|
|
64
|
+
* Escalate forms are not part of this API.
|
|
65
|
+
*
|
|
66
|
+
* Use this data source to read an existing incident form by ID, including its elements and expressions, without managing it as an `incident.IncidentForm` resource. The ID of a form is in the dashboard's URL when editing it. Escalate forms are not available through this data source.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as incident from "@incident-io/pulumi";
|
|
73
|
+
*
|
|
74
|
+
* // Read an existing incident form by its ID, which is in the dashboard's URL when
|
|
75
|
+
* // editing the form.
|
|
76
|
+
* const defaultDeclare = incident.getIncidentForm({
|
|
77
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
78
|
+
* });
|
|
79
|
+
* export const defaultDeclareCustomFields = defaultDeclare.then(defaultDeclare => .filter(element => element.elementType == "custom_field").map(element => (element.customFieldId)));
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
function getIncidentFormOutput(args, opts) {
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
84
|
+
return pulumi.runtime.invokeOutput("incident:index/getIncidentForm:getIncidentForm", {
|
|
85
|
+
"id": args.id,
|
|
86
|
+
}, opts);
|
|
87
|
+
}
|
|
88
|
+
exports.getIncidentFormOutput = getIncidentFormOutput;
|
|
89
|
+
//# sourceMappingURL=getIncidentForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIncidentForm.js","sourceRoot":"","sources":["../getIncidentForm.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AAyCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
|
package/getIncidentTemplate.d.ts
CHANGED
|
@@ -57,6 +57,10 @@ export interface GetIncidentTemplateResult {
|
|
|
57
57
|
* The values an incident template applies to the incidents it creates.
|
|
58
58
|
*/
|
|
59
59
|
readonly template: outputs.GetIncidentTemplateTemplate;
|
|
60
|
+
/**
|
|
61
|
+
* Not populated: whether Terraform claims a resource is configuration, and no read endpoint reports it.
|
|
62
|
+
*/
|
|
63
|
+
readonly unlockInDashboard: boolean;
|
|
60
64
|
}
|
|
61
65
|
/**
|
|
62
66
|
* Manage incident templates: reusable sets of values applied to incidents created from alerts.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIncidentTemplate.d.ts","sourceRoot":"","sources":["../getIncidentTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI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plate.js","sourceRoot":"","sources":["../getIncidentTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAyCD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAAiC;IAC7G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Manage on-call pay configs: the rates that pay reports price on-call shifts against.
|
|
5
|
+
*
|
|
6
|
+
* Use this data source to look up an existing pay config, either by `id` or by `name`, without managing it as an `incident.PayConfig` resource. Set exactly one of the two lookup attributes; setting both, or neither, is rejected at plan time.
|
|
7
|
+
*
|
|
8
|
+
* A lookup sees published configs and drafts created through the API. A draft somebody created in the dashboard is private to them until a report priced against it is published, so it cannot be found here.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as incident from "@incident-io/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* // Look up an existing pay config by name, such as one created in the dashboard and
|
|
17
|
+
* // published in a report.
|
|
18
|
+
* const platform = incident.getPayConfig({
|
|
19
|
+
* name: "Platform on-call",
|
|
20
|
+
* });
|
|
21
|
+
* // Or by ID, to reference a config another module manages.
|
|
22
|
+
* const flatDaily = incident.getPayConfig({
|
|
23
|
+
* id: "01G0J1EXE7AXZ2C93K61WBPYEH",
|
|
24
|
+
* });
|
|
25
|
+
* export const platformBaseRateCents = platform.then(platform => platform.baseRateCents);
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function getPayConfig(args?: GetPayConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetPayConfigResult>;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of arguments for invoking getPayConfig.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetPayConfigArgs {
|
|
33
|
+
/**
|
|
34
|
+
* Unique identifier for this pay config
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Human readable name for this pay config
|
|
39
|
+
*/
|
|
40
|
+
name?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A collection of values returned by getPayConfig.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetPayConfigResult {
|
|
46
|
+
/**
|
|
47
|
+
* Rate paid for any time no rule covers, in the lowest denomination of the currency
|
|
48
|
+
*/
|
|
49
|
+
readonly baseRateCents: number;
|
|
50
|
+
/**
|
|
51
|
+
* When this pay config was created.
|
|
52
|
+
*/
|
|
53
|
+
readonly createdAt: string;
|
|
54
|
+
/**
|
|
55
|
+
* Currency this config pays in, in ISO 4217 format
|
|
56
|
+
*/
|
|
57
|
+
readonly currency: string;
|
|
58
|
+
/**
|
|
59
|
+
* Unique identifier for this pay config
|
|
60
|
+
*/
|
|
61
|
+
readonly id: string;
|
|
62
|
+
/**
|
|
63
|
+
* Human readable name for this pay config
|
|
64
|
+
*/
|
|
65
|
+
readonly name: string;
|
|
66
|
+
/**
|
|
67
|
+
* Rules that apply over a single window of time, such as a public holiday. These take precedence over the weekly rules.
|
|
68
|
+
*/
|
|
69
|
+
readonly oneOffRules: outputs.GetPayConfigOneOffRule[];
|
|
70
|
+
/**
|
|
71
|
+
* When a published report first priced against this config. Once set, editing the config needs the schedule*pay*configs.update_published scope. Null until then.
|
|
72
|
+
*/
|
|
73
|
+
readonly publishedAt: string;
|
|
74
|
+
/**
|
|
75
|
+
* The unit of time every rate on this config is quoted per. Pay is pro-rated by the second either way. Possible values are: `hour`, `day`.
|
|
76
|
+
*/
|
|
77
|
+
readonly rateTimeUnit: string;
|
|
78
|
+
/**
|
|
79
|
+
* IANA timezone this config's rules are interpreted in
|
|
80
|
+
*/
|
|
81
|
+
readonly timezone: string;
|
|
82
|
+
/**
|
|
83
|
+
* When this pay config, or one of its rules, was last changed.
|
|
84
|
+
*/
|
|
85
|
+
readonly updatedAt: string;
|
|
86
|
+
/**
|
|
87
|
+
* Rules that apply every week, by day of week and time of day, in evaluation order. The first rule that covers a shift prices it.
|
|
88
|
+
*/
|
|
89
|
+
readonly weeklyRules: outputs.GetPayConfigWeeklyRule[];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Manage on-call pay configs: the rates that pay reports price on-call shifts against.
|
|
93
|
+
*
|
|
94
|
+
* Use this data source to look up an existing pay config, either by `id` or by `name`, without managing it as an `incident.PayConfig` resource. Set exactly one of the two lookup attributes; setting both, or neither, is rejected at plan time.
|
|
95
|
+
*
|
|
96
|
+
* A lookup sees published configs and drafts created through the API. A draft somebody created in the dashboard is private to them until a report priced against it is published, so it cannot be found here.
|
|
97
|
+
*
|
|
98
|
+
* ## Example Usage
|
|
99
|
+
*
|
|
100
|
+
* ```typescript
|
|
101
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
102
|
+
* import * as incident from "@incident-io/pulumi";
|
|
103
|
+
*
|
|
104
|
+
* // Look up an existing pay config by name, such as one created in the dashboard and
|
|
105
|
+
* // published in a report.
|
|
106
|
+
* const platform = incident.getPayConfig({
|
|
107
|
+
* name: "Platform on-call",
|
|
108
|
+
* });
|
|
109
|
+
* // Or by ID, to reference a config another module manages.
|
|
110
|
+
* const flatDaily = incident.getPayConfig({
|
|
111
|
+
* id: "01G0J1EXE7AXZ2C93K61WBPYEH",
|
|
112
|
+
* });
|
|
113
|
+
* export const platformBaseRateCents = platform.then(platform => platform.baseRateCents);
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
export declare function getPayConfigOutput(args?: GetPayConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPayConfigResult>;
|
|
117
|
+
/**
|
|
118
|
+
* A collection of arguments for invoking getPayConfig.
|
|
119
|
+
*/
|
|
120
|
+
export interface GetPayConfigOutputArgs {
|
|
121
|
+
/**
|
|
122
|
+
* Unique identifier for this pay config
|
|
123
|
+
*/
|
|
124
|
+
id?: pulumi.Input<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* Human readable name for this pay config
|
|
127
|
+
*/
|
|
128
|
+
name?: pulumi.Input<string | undefined>;
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=getPayConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPayConfig.d.ts","sourceRoot":"","sources":["../getPayConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C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AW,sBAAsB;IACnC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
package/getPayConfig.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getPayConfigOutput = exports.getPayConfig = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manage on-call pay configs: the rates that pay reports price on-call shifts against.
|
|
33
|
+
*
|
|
34
|
+
* Use this data source to look up an existing pay config, either by `id` or by `name`, without managing it as an `incident.PayConfig` resource. Set exactly one of the two lookup attributes; setting both, or neither, is rejected at plan time.
|
|
35
|
+
*
|
|
36
|
+
* A lookup sees published configs and drafts created through the API. A draft somebody created in the dashboard is private to them until a report priced against it is published, so it cannot be found here.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as incident from "@incident-io/pulumi";
|
|
43
|
+
*
|
|
44
|
+
* // Look up an existing pay config by name, such as one created in the dashboard and
|
|
45
|
+
* // published in a report.
|
|
46
|
+
* const platform = incident.getPayConfig({
|
|
47
|
+
* name: "Platform on-call",
|
|
48
|
+
* });
|
|
49
|
+
* // Or by ID, to reference a config another module manages.
|
|
50
|
+
* const flatDaily = incident.getPayConfig({
|
|
51
|
+
* id: "01G0J1EXE7AXZ2C93K61WBPYEH",
|
|
52
|
+
* });
|
|
53
|
+
* export const platformBaseRateCents = platform.then(platform => platform.baseRateCents);
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
function getPayConfig(args, opts) {
|
|
57
|
+
args = args || {};
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
59
|
+
return pulumi.runtime.invoke("incident:index/getPayConfig:getPayConfig", {
|
|
60
|
+
"id": args.id,
|
|
61
|
+
"name": args.name,
|
|
62
|
+
}, opts);
|
|
63
|
+
}
|
|
64
|
+
exports.getPayConfig = getPayConfig;
|
|
65
|
+
/**
|
|
66
|
+
* Manage on-call pay configs: the rates that pay reports price on-call shifts against.
|
|
67
|
+
*
|
|
68
|
+
* Use this data source to look up an existing pay config, either by `id` or by `name`, without managing it as an `incident.PayConfig` resource. Set exactly one of the two lookup attributes; setting both, or neither, is rejected at plan time.
|
|
69
|
+
*
|
|
70
|
+
* A lookup sees published configs and drafts created through the API. A draft somebody created in the dashboard is private to them until a report priced against it is published, so it cannot be found here.
|
|
71
|
+
*
|
|
72
|
+
* ## Example Usage
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as incident from "@incident-io/pulumi";
|
|
77
|
+
*
|
|
78
|
+
* // Look up an existing pay config by name, such as one created in the dashboard and
|
|
79
|
+
* // published in a report.
|
|
80
|
+
* const platform = incident.getPayConfig({
|
|
81
|
+
* name: "Platform on-call",
|
|
82
|
+
* });
|
|
83
|
+
* // Or by ID, to reference a config another module manages.
|
|
84
|
+
* const flatDaily = incident.getPayConfig({
|
|
85
|
+
* id: "01G0J1EXE7AXZ2C93K61WBPYEH",
|
|
86
|
+
* });
|
|
87
|
+
* export const platformBaseRateCents = platform.then(platform => platform.baseRateCents);
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
function getPayConfigOutput(args, opts) {
|
|
91
|
+
args = args || {};
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
93
|
+
return pulumi.runtime.invokeOutput("incident:index/getPayConfig:getPayConfig", {
|
|
94
|
+
"id": args.id,
|
|
95
|
+
"name": args.name,
|
|
96
|
+
}, opts);
|
|
97
|
+
}
|
|
98
|
+
exports.getPayConfigOutput = getPayConfigOutput;
|
|
99
|
+
//# sourceMappingURL=getPayConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPayConfig.js","sourceRoot":"","sources":["../getPayConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAiED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC"}
|
package/getPolicy.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export interface GetPolicyResult {
|
|
|
51
51
|
*/
|
|
52
52
|
readonly name: string;
|
|
53
53
|
/**
|
|
54
|
-
* Type of the policy, specifying what this applies to. Possible values are: `debrief`, `followUp`, `onCallReadiness`, `postMortem`, `schedule`, `vacationConflict`.
|
|
54
|
+
* Type of the policy, specifying what this applies to. Possible values are: `debrief`, `followUp`, `onCallReadiness`, `postMortem`, `schedule`, `shiftConflict`, `vacationConflict`.
|
|
55
55
|
*/
|
|
56
56
|
readonly policyType: string;
|
|
57
57
|
/**
|
package/getScheduleSyncRule.d.ts
CHANGED
|
@@ -57,6 +57,10 @@ export interface GetScheduleSyncRuleResult {
|
|
|
57
57
|
* Which schedule members sync to the user group. Possible values are: `onCall`, `allUsers`, `nextOnCall`.
|
|
58
58
|
*/
|
|
59
59
|
readonly syncType: string;
|
|
60
|
+
/**
|
|
61
|
+
* Not populated: whether Terraform claims a resource is configuration, and no read endpoint reports it.
|
|
62
|
+
*/
|
|
63
|
+
readonly unlockInDashboard: boolean;
|
|
60
64
|
}
|
|
61
65
|
/**
|
|
62
66
|
* Look up an existing schedule sync rule by schedule ID and rule ID.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getScheduleSyncRule.d.ts","sourceRoot":"","sources":["../getScheduleSyncRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAMlI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,sBAAsB,EAAE,MAAM,EAAE,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"getSche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|
1
|
-
{"version":3,"file":"getScheduleSyncRule.js","sourceRoot":"","sources":["../getScheduleSyncRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;
|
|
1
|
+
{"version":3,"file":"getScheduleSyncRule.js","sourceRoot":"","sources":["../getScheduleSyncRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAiDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Look up a status page, either by `id` or by `name`. Set exactly one of the two lookup attributes; setting both, or neither, is rejected at plan time.
|
|
4
|
+
*
|
|
5
|
+
* Status pages are created in the incident.io dashboard rather than through the API, so there is no `incident.getStatusPage` resource. Use this data source to reference one from configuration, such as to pass its `id` to a workflow or an alert route. Any valid API key can read status pages; no specific scope is needed.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as incident from "@incident-io/pulumi";
|
|
12
|
+
*
|
|
13
|
+
* // Look up a status page by name, as it was created in the dashboard.
|
|
14
|
+
* const _public = incident.getStatusPage({
|
|
15
|
+
* name: "Our public status page",
|
|
16
|
+
* });
|
|
17
|
+
* // Or by ID, taken from the dashboard URL or the ListStatusPages endpoint.
|
|
18
|
+
* const customer = incident.getStatusPage({
|
|
19
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
20
|
+
* });
|
|
21
|
+
* export const publicStatusPageUrl = _public.then(_public => _public.publicUrl);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getStatusPage(args?: GetStatusPageArgs, opts?: pulumi.InvokeOptions): Promise<GetStatusPageResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getStatusPage.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetStatusPageArgs {
|
|
29
|
+
/**
|
|
30
|
+
* Unique ID of this status page
|
|
31
|
+
*/
|
|
32
|
+
id?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The title of this status page. Names aren't unique, so a lookup fails if more than one status page matches.
|
|
35
|
+
*/
|
|
36
|
+
name?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A collection of values returned by getStatusPage.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetStatusPageResult {
|
|
42
|
+
/**
|
|
43
|
+
* The description of this status page. Null when the page has none.
|
|
44
|
+
*/
|
|
45
|
+
readonly description: string;
|
|
46
|
+
/**
|
|
47
|
+
* Unique ID of this status page
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* The title of this status page. Names aren't unique, so a lookup fails if more than one status page matches.
|
|
52
|
+
*/
|
|
53
|
+
readonly name: string;
|
|
54
|
+
/**
|
|
55
|
+
* The public URL of this status page. Null when the page has no public URL yet.
|
|
56
|
+
*/
|
|
57
|
+
readonly publicUrl: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Look up a status page, either by `id` or by `name`. Set exactly one of the two lookup attributes; setting both, or neither, is rejected at plan time.
|
|
61
|
+
*
|
|
62
|
+
* Status pages are created in the incident.io dashboard rather than through the API, so there is no `incident.getStatusPage` resource. Use this data source to reference one from configuration, such as to pass its `id` to a workflow or an alert route. Any valid API key can read status pages; no specific scope is needed.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as incident from "@incident-io/pulumi";
|
|
69
|
+
*
|
|
70
|
+
* // Look up a status page by name, as it was created in the dashboard.
|
|
71
|
+
* const _public = incident.getStatusPage({
|
|
72
|
+
* name: "Our public status page",
|
|
73
|
+
* });
|
|
74
|
+
* // Or by ID, taken from the dashboard URL or the ListStatusPages endpoint.
|
|
75
|
+
* const customer = incident.getStatusPage({
|
|
76
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
77
|
+
* });
|
|
78
|
+
* export const publicStatusPageUrl = _public.then(_public => _public.publicUrl);
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export declare function getStatusPageOutput(args?: GetStatusPageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStatusPageResult>;
|
|
82
|
+
/**
|
|
83
|
+
* A collection of arguments for invoking getStatusPage.
|
|
84
|
+
*/
|
|
85
|
+
export interface GetStatusPageOutputArgs {
|
|
86
|
+
/**
|
|
87
|
+
* Unique ID of this status page
|
|
88
|
+
*/
|
|
89
|
+
id?: pulumi.Input<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* The title of this status page. Names aren't unique, so a lookup fails if more than one status page matches.
|
|
92
|
+
*/
|
|
93
|
+
name?: pulumi.Input<string | undefined>;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=getStatusPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatusPage.d.ts","sourceRoot":"","sources":["../getStatusPage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAOjH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAOzI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|