@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
package/getStatusPage.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
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.getStatusPageOutput = exports.getStatusPage = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
*
|
|
34
|
+
* 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.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as incident from "@incident-io/pulumi";
|
|
41
|
+
*
|
|
42
|
+
* // Look up a status page by name, as it was created in the dashboard.
|
|
43
|
+
* const _public = incident.getStatusPage({
|
|
44
|
+
* name: "Our public status page",
|
|
45
|
+
* });
|
|
46
|
+
* // Or by ID, taken from the dashboard URL or the ListStatusPages endpoint.
|
|
47
|
+
* const customer = incident.getStatusPage({
|
|
48
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
49
|
+
* });
|
|
50
|
+
* export const publicStatusPageUrl = _public.then(_public => _public.publicUrl);
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getStatusPage(args, opts) {
|
|
54
|
+
args = args || {};
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
56
|
+
return pulumi.runtime.invoke("incident:index/getStatusPage:getStatusPage", {
|
|
57
|
+
"id": args.id,
|
|
58
|
+
"name": args.name,
|
|
59
|
+
}, opts);
|
|
60
|
+
}
|
|
61
|
+
exports.getStatusPage = getStatusPage;
|
|
62
|
+
/**
|
|
63
|
+
* 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.
|
|
64
|
+
*
|
|
65
|
+
* 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.
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as incident from "@incident-io/pulumi";
|
|
72
|
+
*
|
|
73
|
+
* // Look up a status page by name, as it was created in the dashboard.
|
|
74
|
+
* const _public = incident.getStatusPage({
|
|
75
|
+
* name: "Our public status page",
|
|
76
|
+
* });
|
|
77
|
+
* // Or by ID, taken from the dashboard URL or the ListStatusPages endpoint.
|
|
78
|
+
* const customer = incident.getStatusPage({
|
|
79
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG0",
|
|
80
|
+
* });
|
|
81
|
+
* export const publicStatusPageUrl = _public.then(_public => _public.publicUrl);
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
function getStatusPageOutput(args, opts) {
|
|
85
|
+
args = args || {};
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
87
|
+
return pulumi.runtime.invokeOutput("incident:index/getStatusPage:getStatusPage", {
|
|
88
|
+
"id": args.id,
|
|
89
|
+
"name": args.name,
|
|
90
|
+
}, opts);
|
|
91
|
+
}
|
|
92
|
+
exports.getStatusPageOutput = getStatusPageOutput;
|
|
93
|
+
//# sourceMappingURL=getStatusPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatusPage.js","sourceRoot":"","sources":["../getStatusPage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAqCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,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,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Look up a status page component by `id`, such as one created in the incident.io dashboard, without managing it as an `incident.StatusPageComponent` resource.
|
|
4
|
+
*
|
|
5
|
+
* Only live components can be found; the API does not return archived ones. Any valid API key can read components, and no specific permission 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 component by ID, such as one created in the dashboard.
|
|
14
|
+
* const api = incident.getStatusPageComponent({
|
|
15
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG1",
|
|
16
|
+
* });
|
|
17
|
+
* export const apiComponentName = api.then(api => api.name);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getStatusPageComponent(args: GetStatusPageComponentArgs, opts?: pulumi.InvokeOptions): Promise<GetStatusPageComponentResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getStatusPageComponent.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetStatusPageComponentArgs {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for this component
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getStatusPageComponent.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetStatusPageComponentResult {
|
|
34
|
+
/**
|
|
35
|
+
* Optional short description of this component. Null when the component has none.
|
|
36
|
+
*/
|
|
37
|
+
readonly description: string;
|
|
38
|
+
/**
|
|
39
|
+
* Unique identifier for this component
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* Human-readable name for the component
|
|
44
|
+
*/
|
|
45
|
+
readonly name: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Look up a status page component by `id`, such as one created in the incident.io dashboard, without managing it as an `incident.StatusPageComponent` resource.
|
|
49
|
+
*
|
|
50
|
+
* Only live components can be found; the API does not return archived ones. Any valid API key can read components, and no specific permission is needed.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as incident from "@incident-io/pulumi";
|
|
57
|
+
*
|
|
58
|
+
* // Look up a status page component by ID, such as one created in the dashboard.
|
|
59
|
+
* const api = incident.getStatusPageComponent({
|
|
60
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG1",
|
|
61
|
+
* });
|
|
62
|
+
* export const apiComponentName = api.then(api => api.name);
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function getStatusPageComponentOutput(args: GetStatusPageComponentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStatusPageComponentResult>;
|
|
66
|
+
/**
|
|
67
|
+
* A collection of arguments for invoking getStatusPageComponent.
|
|
68
|
+
*/
|
|
69
|
+
export interface GetStatusPageComponentOutputArgs {
|
|
70
|
+
/**
|
|
71
|
+
* Unique identifier for this component
|
|
72
|
+
*/
|
|
73
|
+
id: pulumi.Input<string>;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=getStatusPageComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatusPageComponent.d.ts","sourceRoot":"","sources":["../getStatusPageComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAK3I;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;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;CACzB;AACD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAKnK;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.getStatusPageComponentOutput = exports.getStatusPageComponent = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a status page component by `id`, such as one created in the incident.io dashboard, without managing it as an `incident.StatusPageComponent` resource.
|
|
33
|
+
*
|
|
34
|
+
* Only live components can be found; the API does not return archived ones. Any valid API key can read components, and no specific permission is needed.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as incident from "@incident-io/pulumi";
|
|
41
|
+
*
|
|
42
|
+
* // Look up a status page component by ID, such as one created in the dashboard.
|
|
43
|
+
* const api = incident.getStatusPageComponent({
|
|
44
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG1",
|
|
45
|
+
* });
|
|
46
|
+
* export const apiComponentName = api.then(api => api.name);
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
function getStatusPageComponent(args, opts) {
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
51
|
+
return pulumi.runtime.invoke("incident:index/getStatusPageComponent:getStatusPageComponent", {
|
|
52
|
+
"id": args.id,
|
|
53
|
+
}, opts);
|
|
54
|
+
}
|
|
55
|
+
exports.getStatusPageComponent = getStatusPageComponent;
|
|
56
|
+
/**
|
|
57
|
+
* Look up a status page component by `id`, such as one created in the incident.io dashboard, without managing it as an `incident.StatusPageComponent` resource.
|
|
58
|
+
*
|
|
59
|
+
* Only live components can be found; the API does not return archived ones. Any valid API key can read components, and no specific permission is needed.
|
|
60
|
+
*
|
|
61
|
+
* ## Example Usage
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as incident from "@incident-io/pulumi";
|
|
66
|
+
*
|
|
67
|
+
* // Look up a status page component by ID, such as one created in the dashboard.
|
|
68
|
+
* const api = incident.getStatusPageComponent({
|
|
69
|
+
* id: "01FCNDV6P870EA6S7TK1DSYDG1",
|
|
70
|
+
* });
|
|
71
|
+
* export const apiComponentName = api.then(api => api.name);
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
function getStatusPageComponentOutput(args, opts) {
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
76
|
+
return pulumi.runtime.invokeOutput("incident:index/getStatusPageComponent:getStatusPageComponent", {
|
|
77
|
+
"id": args.id,
|
|
78
|
+
}, opts);
|
|
79
|
+
}
|
|
80
|
+
exports.getStatusPageComponentOutput = getStatusPageComponentOutput;
|
|
81
|
+
//# sourceMappingURL=getStatusPageComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatusPageComponent.js","sourceRoot":"","sources":["../getStatusPageComponent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC;AA6BD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oEAKC"}
|
package/getUser.d.ts
CHANGED
|
@@ -9,28 +9,40 @@ export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions)
|
|
|
9
9
|
* A collection of arguments for invoking getUser.
|
|
10
10
|
*/
|
|
11
11
|
export interface GetUserArgs {
|
|
12
|
+
/**
|
|
13
|
+
* Look up the user by email address.
|
|
14
|
+
*/
|
|
12
15
|
email?: string;
|
|
13
16
|
/**
|
|
14
|
-
*
|
|
17
|
+
* Look up the user by ID.
|
|
15
18
|
*/
|
|
16
19
|
id?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Look up the user by Slack user ID.
|
|
22
|
+
*/
|
|
17
23
|
slackUserId?: string;
|
|
18
24
|
}
|
|
19
25
|
/**
|
|
20
26
|
* A collection of values returned by getUser.
|
|
21
27
|
*/
|
|
22
28
|
export interface GetUserResult {
|
|
23
|
-
readonly email?: string;
|
|
24
29
|
/**
|
|
25
|
-
*
|
|
30
|
+
* Look up the user by email address.
|
|
31
|
+
*/
|
|
32
|
+
readonly email: string;
|
|
33
|
+
/**
|
|
34
|
+
* Look up the user by ID.
|
|
26
35
|
*/
|
|
27
|
-
readonly id
|
|
36
|
+
readonly id: string;
|
|
28
37
|
/**
|
|
29
38
|
* Whether the user is active. False if the user has been deactivated (e.g. offboarded) or is not yet active.
|
|
30
39
|
*/
|
|
31
40
|
readonly isActive: boolean;
|
|
32
41
|
readonly name: string;
|
|
33
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Look up the user by Slack user ID.
|
|
44
|
+
*/
|
|
45
|
+
readonly slackUserId: string;
|
|
34
46
|
}
|
|
35
47
|
/**
|
|
36
48
|
* View users.
|
|
@@ -42,11 +54,17 @@ export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.In
|
|
|
42
54
|
* A collection of arguments for invoking getUser.
|
|
43
55
|
*/
|
|
44
56
|
export interface GetUserOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Look up the user by email address.
|
|
59
|
+
*/
|
|
45
60
|
email?: pulumi.Input<string | undefined>;
|
|
46
61
|
/**
|
|
47
|
-
*
|
|
62
|
+
* Look up the user by ID.
|
|
48
63
|
*/
|
|
49
64
|
id?: pulumi.Input<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Look up the user by Slack user ID.
|
|
67
|
+
*/
|
|
50
68
|
slackUserId?: pulumi.Input<string | undefined>;
|
|
51
69
|
}
|
|
52
70
|
//# sourceMappingURL=getUser.d.ts.map
|
package/getUser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAQ/F;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,QAAQ,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAQ/F;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,C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AAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;GAIG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,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,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AA0CD;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,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,gCAAgC,EAAE;QACjE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC"}
|
package/getWorkflow.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export interface GetWorkflowResult {
|
|
|
73
73
|
readonly state: string;
|
|
74
74
|
readonly steps: outputs.GetWorkflowStep[];
|
|
75
75
|
readonly trigger: string;
|
|
76
|
+
readonly unlockInDashboard: boolean;
|
|
76
77
|
}
|
|
77
78
|
/**
|
|
78
79
|
* Use this data source to retrieve the full configuration of an existing workflow by ID.
|
package/getWorkflow.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWorkflow.d.ts","sourceRoot":"","sources":["../getWorkflow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAK1G;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC,yBAAyB,EAAE,CAAC;IAC9D;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,gBAAgB,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,qBAAqB,EAAE,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC;IAC1C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,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