@incident-io/pulumi 0.1.0-alpha.1
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/LICENSE +7 -0
- package/README.md +69 -0
- package/alertAttribute.d.ts +230 -0
- package/alertAttribute.d.ts.map +1 -0
- package/alertAttribute.js +219 -0
- package/alertAttribute.js.map +1 -0
- package/alertRoute.d.ts +511 -0
- package/alertRoute.d.ts.map +1 -0
- package/alertRoute.js +432 -0
- package/alertRoute.js.map +1 -0
- package/alertSource.d.ts +347 -0
- package/alertSource.d.ts.map +1 -0
- package/alertSource.js +241 -0
- package/alertSource.js.map +1 -0
- package/alertSourceAttribute.d.ts +180 -0
- package/alertSourceAttribute.d.ts.map +1 -0
- package/alertSourceAttribute.js +107 -0
- package/alertSourceAttribute.js.map +1 -0
- package/alertSourceAttributeBeta.d.ts +188 -0
- package/alertSourceAttributeBeta.d.ts.map +1 -0
- package/alertSourceAttributeBeta.js +115 -0
- package/alertSourceAttributeBeta.js.map +1 -0
- package/alertSourceBeta.d.ts +244 -0
- package/alertSourceBeta.d.ts.map +1 -0
- package/alertSourceBeta.js +138 -0
- package/alertSourceBeta.js.map +1 -0
- package/apiKey.d.ts +276 -0
- package/apiKey.d.ts.map +1 -0
- package/apiKey.js +211 -0
- package/apiKey.js.map +1 -0
- package/catalogEntries.d.ts +241 -0
- package/catalogEntries.d.ts.map +1 -0
- package/catalogEntries.js +242 -0
- package/catalogEntries.js.map +1 -0
- package/catalogEntry.d.ts +183 -0
- package/catalogEntry.d.ts.map +1 -0
- package/catalogEntry.js +159 -0
- package/catalogEntry.js.map +1 -0
- package/catalogType.d.ts +169 -0
- package/catalogType.d.ts.map +1 -0
- package/catalogType.js +132 -0
- package/catalogType.js.map +1 -0
- package/catalogTypeAttribute.d.ts +190 -0
- package/catalogTypeAttribute.d.ts.map +1 -0
- package/catalogTypeAttribute.js +153 -0
- package/catalogTypeAttribute.js.map +1 -0
- package/config/index.d.ts +2 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +13 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +49 -0
- package/config/vars.js.map +1 -0
- package/customField.d.ts +260 -0
- package/customField.d.ts.map +1 -0
- package/customField.js +226 -0
- package/customField.js.map +1 -0
- package/customFieldOption.d.ts +107 -0
- package/customFieldOption.d.ts.map +1 -0
- package/customFieldOption.js +116 -0
- package/customFieldOption.js.map +1 -0
- package/escalationPath.d.ts +257 -0
- package/escalationPath.d.ts.map +1 -0
- package/escalationPath.js +228 -0
- package/escalationPath.js.map +1 -0
- package/escalationPathBeta.d.ts +134 -0
- package/escalationPathBeta.d.ts.map +1 -0
- package/escalationPathBeta.js +105 -0
- package/escalationPathBeta.js.map +1 -0
- package/getAlertAttribute.d.ts +81 -0
- package/getAlertAttribute.d.ts.map +1 -0
- package/getAlertAttribute.js +75 -0
- package/getAlertAttribute.js.map +1 -0
- package/getAlertSource.d.ts +169 -0
- package/getAlertSource.d.ts.map +1 -0
- package/getAlertSource.js +103 -0
- package/getAlertSource.js.map +1 -0
- package/getAlertSourceAttribute.d.ts +131 -0
- package/getAlertSourceAttribute.d.ts.map +1 -0
- package/getAlertSourceAttribute.js +85 -0
- package/getAlertSourceAttribute.js.map +1 -0
- package/getAlertSourceAttributeBeta.d.ts +131 -0
- package/getAlertSourceAttributeBeta.d.ts.map +1 -0
- package/getAlertSourceAttributeBeta.js +85 -0
- package/getAlertSourceAttributeBeta.js.map +1 -0
- package/getApiKey.d.ts +167 -0
- package/getApiKey.d.ts.map +1 -0
- package/getApiKey.js +145 -0
- package/getApiKey.js.map +1 -0
- package/getCatalogEntry.d.ts +77 -0
- package/getCatalogEntry.d.ts.map +1 -0
- package/getCatalogEntry.js +59 -0
- package/getCatalogEntry.js.map +1 -0
- package/getCatalogType.d.ts +163 -0
- package/getCatalogType.d.ts.map +1 -0
- package/getCatalogType.js +135 -0
- package/getCatalogType.js.map +1 -0
- package/getCatalogTypeAttribute.d.ts +73 -0
- package/getCatalogTypeAttribute.d.ts.map +1 -0
- package/getCatalogTypeAttribute.js +53 -0
- package/getCatalogTypeAttribute.js.map +1 -0
- package/getCustomField.d.ts +67 -0
- package/getCustomField.d.ts.map +1 -0
- package/getCustomField.js +51 -0
- package/getCustomField.js.map +1 -0
- package/getCustomFieldOption.d.ts +65 -0
- package/getCustomFieldOption.d.ts.map +1 -0
- package/getCustomFieldOption.js +55 -0
- package/getCustomFieldOption.js.map +1 -0
- package/getEscalationPath.d.ts +100 -0
- package/getEscalationPath.d.ts.map +1 -0
- package/getEscalationPath.js +83 -0
- package/getEscalationPath.js.map +1 -0
- package/getEscalationPathBeta.d.ts +100 -0
- package/getEscalationPathBeta.d.ts.map +1 -0
- package/getEscalationPathBeta.js +83 -0
- package/getEscalationPathBeta.js.map +1 -0
- package/getIncidentRole.d.ts +111 -0
- package/getIncidentRole.d.ts.map +1 -0
- package/getIncidentRole.js +105 -0
- package/getIncidentRole.js.map +1 -0
- package/getIncidentTemplate.d.ts +98 -0
- package/getIncidentTemplate.d.ts.map +1 -0
- package/getIncidentTemplate.js +95 -0
- package/getIncidentTemplate.js.map +1 -0
- package/getIncidentTimestamp.d.ts +107 -0
- package/getIncidentTimestamp.d.ts.map +1 -0
- package/getIncidentTimestamp.js +109 -0
- package/getIncidentTimestamp.js.map +1 -0
- package/getIncidentType.d.ts +121 -0
- package/getIncidentType.d.ts.map +1 -0
- package/getIncidentType.js +107 -0
- package/getIncidentType.js.map +1 -0
- package/getIpAllowlist.d.ts +62 -0
- package/getIpAllowlist.d.ts.map +1 -0
- package/getIpAllowlist.js +77 -0
- package/getIpAllowlist.js.map +1 -0
- package/getPolicy.d.ts +97 -0
- package/getPolicy.d.ts.map +1 -0
- package/getPolicy.js +91 -0
- package/getPolicy.js.map +1 -0
- package/getRichText.d.ts +111 -0
- package/getRichText.d.ts.map +1 -0
- package/getRichText.js +107 -0
- package/getRichText.js.map +1 -0
- package/getSchedule.d.ts +89 -0
- package/getSchedule.d.ts.map +1 -0
- package/getSchedule.js +87 -0
- package/getSchedule.js.map +1 -0
- package/getScheduleBeta.d.ts +85 -0
- package/getScheduleBeta.d.ts.map +1 -0
- package/getScheduleBeta.js +83 -0
- package/getScheduleBeta.js.map +1 -0
- package/getScheduleReplica.d.ts +116 -0
- package/getScheduleReplica.d.ts.map +1 -0
- package/getScheduleReplica.js +79 -0
- package/getScheduleReplica.js.map +1 -0
- package/getScheduleRotation.d.ts +166 -0
- package/getScheduleRotation.d.ts.map +1 -0
- package/getScheduleRotation.js +127 -0
- package/getScheduleRotation.js.map +1 -0
- package/getScheduleRotationBeta.d.ts +122 -0
- package/getScheduleRotationBeta.d.ts.map +1 -0
- package/getScheduleRotationBeta.js +83 -0
- package/getScheduleRotationBeta.js.map +1 -0
- package/getScheduleSyncRule.d.ts +91 -0
- package/getScheduleSyncRule.d.ts.map +1 -0
- package/getScheduleSyncRule.js +79 -0
- package/getScheduleSyncRule.js.map +1 -0
- package/getScheduleSyncTarget.d.ts +100 -0
- package/getScheduleSyncTarget.d.ts.map +1 -0
- package/getScheduleSyncTarget.js +93 -0
- package/getScheduleSyncTarget.js.map +1 -0
- package/getSecret.d.ts +115 -0
- package/getSecret.d.ts.map +1 -0
- package/getSecret.js +97 -0
- package/getSecret.js.map +1 -0
- package/getSeverity.d.ts +117 -0
- package/getSeverity.d.ts.map +1 -0
- package/getSeverity.js +115 -0
- package/getSeverity.js.map +1 -0
- package/getStatus.d.ts +125 -0
- package/getStatus.d.ts.map +1 -0
- package/getStatus.js +119 -0
- package/getStatus.js.map +1 -0
- package/getUser.d.ts +52 -0
- package/getUser.d.ts.map +1 -0
- package/getUser.js +61 -0
- package/getUser.js.map +1 -0
- package/getWorkflow.d.ts +103 -0
- package/getWorkflow.d.ts.map +1 -0
- package/getWorkflow.js +77 -0
- package/getWorkflow.js.map +1 -0
- package/incidentRole.d.ts +109 -0
- package/incidentRole.d.ts.map +1 -0
- package/incidentRole.js +111 -0
- package/incidentRole.js.map +1 -0
- package/incidentTemplate.d.ts +200 -0
- package/incidentTemplate.d.ts.map +1 -0
- package/incidentTemplate.js +207 -0
- package/incidentTemplate.js.map +1 -0
- package/index.d.ts +188 -0
- package/index.d.ts.map +1 -0
- package/index.js +303 -0
- package/index.js.map +1 -0
- package/maintenanceWindow.d.ts +255 -0
- package/maintenanceWindow.d.ts.map +1 -0
- package/maintenanceWindow.js +148 -0
- package/maintenanceWindow.js.map +1 -0
- package/package.json +33 -0
- package/policy.d.ts +476 -0
- package/policy.d.ts.map +1 -0
- package/policy.js +387 -0
- package/policy.js.map +1 -0
- package/provider.d.ts +62 -0
- package/provider.d.ts.map +1 -0
- package/provider.js +80 -0
- package/provider.js.map +1 -0
- package/schedule.d.ts +120 -0
- package/schedule.d.ts.map +1 -0
- package/schedule.js +114 -0
- package/schedule.js.map +1 -0
- package/scheduleBeta.d.ts +104 -0
- package/scheduleBeta.d.ts.map +1 -0
- package/scheduleBeta.js +98 -0
- package/scheduleBeta.js.map +1 -0
- package/scheduleReplica.d.ts +178 -0
- package/scheduleReplica.d.ts.map +1 -0
- package/scheduleReplica.js +134 -0
- package/scheduleReplica.js.map +1 -0
- package/scheduleRotation.d.ts +287 -0
- package/scheduleRotation.d.ts.map +1 -0
- package/scheduleRotation.js +224 -0
- package/scheduleRotation.js.map +1 -0
- package/scheduleRotationBeta.d.ts +184 -0
- package/scheduleRotationBeta.d.ts.map +1 -0
- package/scheduleRotationBeta.js +121 -0
- package/scheduleRotationBeta.js.map +1 -0
- package/scheduleSyncRule.d.ts +154 -0
- package/scheduleSyncRule.d.ts.map +1 -0
- package/scheduleSyncRule.js +146 -0
- package/scheduleSyncRule.js.map +1 -0
- package/scheduleSyncTarget.d.ts +108 -0
- package/scheduleSyncTarget.d.ts.map +1 -0
- package/scheduleSyncTarget.js +106 -0
- package/scheduleSyncTarget.js.map +1 -0
- package/secret.d.ts +276 -0
- package/secret.d.ts.map +1 -0
- package/secret.js +234 -0
- package/secret.js.map +1 -0
- package/severity.d.ts +96 -0
- package/severity.d.ts.map +1 -0
- package/severity.js +102 -0
- package/severity.js.map +1 -0
- package/status.d.ts +121 -0
- package/status.d.ts.map +1 -0
- package/status.js +120 -0
- package/status.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +34 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +23630 -0
- package/types/input.d.ts.map +1 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +19726 -0
- package/types/output.d.ts.map +1 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +5 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +114 -0
- package/utilities.js.map +1 -0
- package/workflow.d.ts +736 -0
- package/workflow.d.ts.map +1 -0
- package/workflow.js +608 -0
- package/workflow.js.map +1 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source provides information about a catalog type attribute.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getCatalogTypeAttribute(args: GetCatalogTypeAttributeArgs, opts?: pulumi.InvokeOptions): Promise<GetCatalogTypeAttributeResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getCatalogTypeAttribute.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetCatalogTypeAttributeArgs {
|
|
10
|
+
/**
|
|
11
|
+
* ID of this catalog type
|
|
12
|
+
*/
|
|
13
|
+
catalogTypeId: string;
|
|
14
|
+
/**
|
|
15
|
+
* The name of this attribute.
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A collection of values returned by getCatalogTypeAttribute.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCatalogTypeAttributeResult {
|
|
23
|
+
/**
|
|
24
|
+
* Whether this attribute is an array or scalar.
|
|
25
|
+
*/
|
|
26
|
+
readonly array: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* If this is a backlink, the id of the attribute that it's linked from
|
|
29
|
+
*/
|
|
30
|
+
readonly backlinkAttribute: string;
|
|
31
|
+
/**
|
|
32
|
+
* ID of this catalog type
|
|
33
|
+
*/
|
|
34
|
+
readonly catalogTypeId: string;
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the catalog type attribute
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* The name of this attribute.
|
|
41
|
+
*/
|
|
42
|
+
readonly name: string;
|
|
43
|
+
/**
|
|
44
|
+
* If this is a path attribute, the path that we should use to pull the data
|
|
45
|
+
*/
|
|
46
|
+
readonly paths: string[];
|
|
47
|
+
/**
|
|
48
|
+
* If true, Terraform will only manage the schema of the attribute. Values for this attribute can be managed from the incident.io web dashboard.
|
|
49
|
+
*/
|
|
50
|
+
readonly schemaOnly: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The type of this attribute.
|
|
53
|
+
*/
|
|
54
|
+
readonly type: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* This data source provides information about a catalog type attribute.
|
|
58
|
+
*/
|
|
59
|
+
export declare function getCatalogTypeAttributeOutput(args: GetCatalogTypeAttributeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCatalogTypeAttributeResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking getCatalogTypeAttribute.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetCatalogTypeAttributeOutputArgs {
|
|
64
|
+
/**
|
|
65
|
+
* ID of this catalog type
|
|
66
|
+
*/
|
|
67
|
+
catalogTypeId: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The name of this attribute.
|
|
70
|
+
*/
|
|
71
|
+
name: pulumi.Input<string>;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=getCatalogTypeAttribute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCatalogTypeAttribute.d.ts","sourceRoot":"","sources":["../getCatalogTypeAttribute.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAM9I;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAMtK;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.getCatalogTypeAttributeOutput = exports.getCatalogTypeAttribute = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides information about a catalog type attribute.
|
|
33
|
+
*/
|
|
34
|
+
function getCatalogTypeAttribute(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("incident:index/getCatalogTypeAttribute:getCatalogTypeAttribute", {
|
|
37
|
+
"catalogTypeId": args.catalogTypeId,
|
|
38
|
+
"name": args.name,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getCatalogTypeAttribute = getCatalogTypeAttribute;
|
|
42
|
+
/**
|
|
43
|
+
* This data source provides information about a catalog type attribute.
|
|
44
|
+
*/
|
|
45
|
+
function getCatalogTypeAttributeOutput(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invokeOutput("incident:index/getCatalogTypeAttribute:getCatalogTypeAttribute", {
|
|
48
|
+
"catalogTypeId": args.catalogTypeId,
|
|
49
|
+
"name": args.name,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getCatalogTypeAttributeOutput = getCatalogTypeAttributeOutput;
|
|
53
|
+
//# sourceMappingURL=getCatalogTypeAttribute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCatalogTypeAttribute.js","sourceRoot":"","sources":["../getCatalogTypeAttribute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAqDD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides information about a custom field.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getCustomField(args: GetCustomFieldArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomFieldResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getCustomField.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetCustomFieldArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Human readable name for the custom field
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getCustomField.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCustomFieldResult {
|
|
20
|
+
/**
|
|
21
|
+
* For catalog fields, the ID of the associated catalog type
|
|
22
|
+
*/
|
|
23
|
+
readonly catalogTypeId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Description of the custom field
|
|
26
|
+
*/
|
|
27
|
+
readonly description: string;
|
|
28
|
+
/**
|
|
29
|
+
* Type of custom field. Possible values are: `singleSelect`, `multiSelect`, `text`, `link`, `numeric`.
|
|
30
|
+
*/
|
|
31
|
+
readonly fieldType: string;
|
|
32
|
+
readonly filterBy: outputs.GetCustomFieldFilterBy;
|
|
33
|
+
/**
|
|
34
|
+
* Restrict this catalog-backed field's options to catalog entries whose `catalogAttributeId` attribute references one of `values`. This is the static counterpart to `filterBy`: rather than following whatever another custom field is set to on the incident, the filter is chosen up front and is the same for every incident. Mutually exclusive with `filterBy`.
|
|
35
|
+
*/
|
|
36
|
+
readonly fixedFilter: outputs.GetCustomFieldFixedFilter;
|
|
37
|
+
/**
|
|
38
|
+
* For catalog fields, the ID of the attribute used to group catalog entries (if applicable)
|
|
39
|
+
*/
|
|
40
|
+
readonly groupByCatalogAttributeId: string;
|
|
41
|
+
/**
|
|
42
|
+
* Which catalog attribute provides helptext for the options
|
|
43
|
+
*/
|
|
44
|
+
readonly helptextCatalogAttributeId: string;
|
|
45
|
+
/**
|
|
46
|
+
* The custom field ID
|
|
47
|
+
*/
|
|
48
|
+
readonly id: string;
|
|
49
|
+
/**
|
|
50
|
+
* Human readable name for the custom field
|
|
51
|
+
*/
|
|
52
|
+
readonly name: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* This data source provides information about a custom field.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getCustomFieldOutput(args: GetCustomFieldOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomFieldResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getCustomField.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetCustomFieldOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* Human readable name for the custom field
|
|
64
|
+
*/
|
|
65
|
+
name: pulumi.Input<string>;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=getCustomField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomField.d.ts","sourceRoot":"","sources":["../getCustomField.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAKnH;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,sBAAsB,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,yBAAyB,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,0BAA0B,EAAE,MAAM,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAK3I;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.getCustomFieldOutput = exports.getCustomField = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides information about a custom field.
|
|
33
|
+
*/
|
|
34
|
+
function getCustomField(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("incident:index/getCustomField:getCustomField", {
|
|
37
|
+
"name": args.name,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getCustomField = getCustomField;
|
|
41
|
+
/**
|
|
42
|
+
* This data source provides information about a custom field.
|
|
43
|
+
*/
|
|
44
|
+
function getCustomFieldOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("incident:index/getCustomField:getCustomField", {
|
|
47
|
+
"name": args.name,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getCustomFieldOutput = getCustomFieldOutput;
|
|
51
|
+
//# sourceMappingURL=getCustomField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomField.js","sourceRoot":"","sources":["../getCustomField.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAkDD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source provides information about a custom field option.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getCustomFieldOption(args: GetCustomFieldOptionArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomFieldOptionResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getCustomFieldOption.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetCustomFieldOptionArgs {
|
|
10
|
+
/**
|
|
11
|
+
* ID of the custom field this option belongs to
|
|
12
|
+
*/
|
|
13
|
+
customFieldId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Sort key used to order the custom field options correctly
|
|
16
|
+
*/
|
|
17
|
+
sortKey?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Human readable name for the custom field option. Values must not start or end with whitespace, or contain tabs or newlines.
|
|
20
|
+
*/
|
|
21
|
+
value: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A collection of values returned by getCustomFieldOption.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetCustomFieldOptionResult {
|
|
27
|
+
/**
|
|
28
|
+
* ID of the custom field this option belongs to
|
|
29
|
+
*/
|
|
30
|
+
readonly customFieldId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the custom field option
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* Sort key used to order the custom field options correctly
|
|
37
|
+
*/
|
|
38
|
+
readonly sortKey?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Human readable name for the custom field option. Values must not start or end with whitespace, or contain tabs or newlines.
|
|
41
|
+
*/
|
|
42
|
+
readonly value: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* This data source provides information about a custom field option.
|
|
46
|
+
*/
|
|
47
|
+
export declare function getCustomFieldOptionOutput(args: GetCustomFieldOptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomFieldOptionResult>;
|
|
48
|
+
/**
|
|
49
|
+
* A collection of arguments for invoking getCustomFieldOption.
|
|
50
|
+
*/
|
|
51
|
+
export interface GetCustomFieldOptionOutputArgs {
|
|
52
|
+
/**
|
|
53
|
+
* ID of the custom field this option belongs to
|
|
54
|
+
*/
|
|
55
|
+
customFieldId: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Sort key used to order the custom field options correctly
|
|
58
|
+
*/
|
|
59
|
+
sortKey?: pulumi.Input<number | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Human readable name for the custom field option. Values must not start or end with whitespace, or contain tabs or newlines.
|
|
62
|
+
*/
|
|
63
|
+
value: pulumi.Input<string>;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=getCustomFieldOption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomFieldOption.d.ts","sourceRoot":"","sources":["../getCustomFieldOption.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAOrI;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAO7J;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.getCustomFieldOptionOutput = exports.getCustomFieldOption = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides information about a custom field option.
|
|
33
|
+
*/
|
|
34
|
+
function getCustomFieldOption(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("incident:index/getCustomFieldOption:getCustomFieldOption", {
|
|
37
|
+
"customFieldId": args.customFieldId,
|
|
38
|
+
"sortKey": args.sortKey,
|
|
39
|
+
"value": args.value,
|
|
40
|
+
}, opts);
|
|
41
|
+
}
|
|
42
|
+
exports.getCustomFieldOption = getCustomFieldOption;
|
|
43
|
+
/**
|
|
44
|
+
* This data source provides information about a custom field option.
|
|
45
|
+
*/
|
|
46
|
+
function getCustomFieldOptionOutput(args, opts) {
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("incident:index/getCustomFieldOption:getCustomFieldOption", {
|
|
49
|
+
"customFieldId": args.customFieldId,
|
|
50
|
+
"sortKey": args.sortKey,
|
|
51
|
+
"value": args.value,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getCustomFieldOptionOutput = getCustomFieldOptionOutput;
|
|
55
|
+
//# sourceMappingURL=getCustomFieldOption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomFieldOption.js","sourceRoot":"","sources":["../getCustomFieldOption.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAyCD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Look up an escalation path by `id` or `name` and read it in the same flat `sequences` shape as `incident.EscalationPath`. Exactly one lookup field should be set.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as incident from "@incident-io/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* // Look up an escalation path by name. Names aren't unique across organisations,
|
|
13
|
+
* // so prefer `id` when you already have one.
|
|
14
|
+
* const urgentSupport = incident.getEscalationPath({
|
|
15
|
+
* name: "Urgent support",
|
|
16
|
+
* });
|
|
17
|
+
* export const urgentSupportStart = urgentSupport.then(urgentSupport => urgentSupport.start);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getEscalationPath(args?: GetEscalationPathArgs, opts?: pulumi.InvokeOptions): Promise<GetEscalationPathResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getEscalationPath.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetEscalationPathArgs {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for this escalation path.
|
|
27
|
+
*/
|
|
28
|
+
id?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name of this escalation path, for the user's reference.
|
|
31
|
+
*/
|
|
32
|
+
name?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getEscalationPath.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetEscalationPathResult {
|
|
38
|
+
/**
|
|
39
|
+
* Unique identifier for this escalation path.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name of this escalation path, for the user's reference.
|
|
44
|
+
*/
|
|
45
|
+
readonly name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Controls if an escalation will repeat after acknowledgement, when the alert is unresolved. When configured, it will repeat after the specified delay.
|
|
48
|
+
*/
|
|
49
|
+
readonly repeatConfig: outputs.GetEscalationPathRepeatConfig;
|
|
50
|
+
/**
|
|
51
|
+
* Named sequences of nodes, keyed by a name you choose. Each sequence either ends with a `branch` node or runs off the end of the escalation path. Branches reference other sequences by key.
|
|
52
|
+
*/
|
|
53
|
+
readonly sequences: {
|
|
54
|
+
[key: string]: outputs.GetEscalationPathSequences;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* The key of the sequence this escalation path begins with.
|
|
58
|
+
*/
|
|
59
|
+
readonly start: string;
|
|
60
|
+
/**
|
|
61
|
+
* IDs of the teams that own this escalation path. This will automatically sync escalation paths with the right teams in Catalog. If you have an escalation paths attribute on your Teams, this attribute is required.
|
|
62
|
+
*/
|
|
63
|
+
readonly teamIds: string[];
|
|
64
|
+
/**
|
|
65
|
+
* The working hours for this escalation path.
|
|
66
|
+
*/
|
|
67
|
+
readonly workingHours: outputs.GetEscalationPathWorkingHour[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Look up an escalation path by `id` or `name` and read it in the same flat `sequences` shape as `incident.EscalationPath`. Exactly one lookup field should be set.
|
|
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 escalation path by name. Names aren't unique across organisations,
|
|
79
|
+
* // so prefer `id` when you already have one.
|
|
80
|
+
* const urgentSupport = incident.getEscalationPath({
|
|
81
|
+
* name: "Urgent support",
|
|
82
|
+
* });
|
|
83
|
+
* export const urgentSupportStart = urgentSupport.then(urgentSupport => urgentSupport.start);
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare function getEscalationPathOutput(args?: GetEscalationPathOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEscalationPathResult>;
|
|
87
|
+
/**
|
|
88
|
+
* A collection of arguments for invoking getEscalationPath.
|
|
89
|
+
*/
|
|
90
|
+
export interface GetEscalationPathOutputArgs {
|
|
91
|
+
/**
|
|
92
|
+
* Unique identifier for this escalation path.
|
|
93
|
+
*/
|
|
94
|
+
id?: pulumi.Input<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* The name of this escalation path, for the user's reference.
|
|
97
|
+
*/
|
|
98
|
+
name?: pulumi.Input<string | undefined>;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=getEscalationPath.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEscalationPath.d.ts","sourceRoot":"","sources":["../getEscalationPath.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAO7H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;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,6BAA6B,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,0BAA0B,CAAA;KAAC,CAAC;IACxE;;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,4BAA4B,EAAE,CAAC;CACjE;AACD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAOrJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;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"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.getEscalationPathOutput = exports.getEscalationPath = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up an escalation path by `id` or `name` and read it in the same flat `sequences` shape as `incident.EscalationPath`. Exactly one lookup field should be set.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as incident from "@incident-io/pulumi";
|
|
39
|
+
*
|
|
40
|
+
* // Look up an escalation path by name. Names aren't unique across organisations,
|
|
41
|
+
* // so prefer `id` when you already have one.
|
|
42
|
+
* const urgentSupport = incident.getEscalationPath({
|
|
43
|
+
* name: "Urgent support",
|
|
44
|
+
* });
|
|
45
|
+
* export const urgentSupportStart = urgentSupport.then(urgentSupport => urgentSupport.start);
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function getEscalationPath(args, opts) {
|
|
49
|
+
args = args || {};
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
51
|
+
return pulumi.runtime.invoke("incident:index/getEscalationPath:getEscalationPath", {
|
|
52
|
+
"id": args.id,
|
|
53
|
+
"name": args.name,
|
|
54
|
+
}, opts);
|
|
55
|
+
}
|
|
56
|
+
exports.getEscalationPath = getEscalationPath;
|
|
57
|
+
/**
|
|
58
|
+
* Look up an escalation path by `id` or `name` and read it in the same flat `sequences` shape as `incident.EscalationPath`. Exactly one lookup field should be set.
|
|
59
|
+
*
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as incident from "@incident-io/pulumi";
|
|
65
|
+
*
|
|
66
|
+
* // Look up an escalation path by name. Names aren't unique across organisations,
|
|
67
|
+
* // so prefer `id` when you already have one.
|
|
68
|
+
* const urgentSupport = incident.getEscalationPath({
|
|
69
|
+
* name: "Urgent support",
|
|
70
|
+
* });
|
|
71
|
+
* export const urgentSupportStart = urgentSupport.then(urgentSupport => urgentSupport.start);
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
function getEscalationPathOutput(args, opts) {
|
|
75
|
+
args = args || {};
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
77
|
+
return pulumi.runtime.invokeOutput("incident:index/getEscalationPath:getEscalationPath", {
|
|
78
|
+
"id": args.id,
|
|
79
|
+
"name": args.name,
|
|
80
|
+
}, opts);
|
|
81
|
+
}
|
|
82
|
+
exports.getEscalationPathOutput = getEscalationPathOutput;
|
|
83
|
+
//# sourceMappingURL=getEscalationPath.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEscalationPath.js","sourceRoot":"","sources":["../getEscalationPath.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,oDAAoD,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAiDD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,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,oDAAoD,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC"}
|