@sst-provider/incident-io 5.32.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/README.md +3 -0
- package/bin/alertAttribute.d.ts +96 -0
- package/bin/alertAttribute.js +63 -0
- package/bin/alertAttribute.js.map +1 -0
- package/bin/alertRoute.d.ts +146 -0
- package/bin/alertRoute.js +95 -0
- package/bin/alertRoute.js.map +1 -0
- package/bin/alertSource.d.ts +127 -0
- package/bin/alertSource.js +73 -0
- package/bin/alertSource.js.map +1 -0
- package/bin/catalogEntries.d.ts +86 -0
- package/bin/catalogEntries.js +59 -0
- package/bin/catalogEntries.js.map +1 -0
- package/bin/catalogEntry.d.ts +125 -0
- package/bin/catalogEntry.js +67 -0
- package/bin/catalogEntry.js.map +1 -0
- package/bin/catalogType.d.ts +108 -0
- package/bin/catalogType.js +65 -0
- package/bin/catalogType.js.map +1 -0
- package/bin/catalogTypeAttribute.d.ts +126 -0
- package/bin/catalogTypeAttribute.js +67 -0
- package/bin/catalogTypeAttribute.js.map +1 -0
- package/bin/config/index.d.ts +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +8 -0
- package/bin/config/vars.js +19 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/customField.d.ts +113 -0
- package/bin/customField.js +67 -0
- package/bin/customField.js.map +1 -0
- package/bin/customFieldOption.d.ts +72 -0
- package/bin/customFieldOption.js +59 -0
- package/bin/customFieldOption.js.map +1 -0
- package/bin/escalationPath.d.ts +104 -0
- package/bin/escalationPath.js +60 -0
- package/bin/escalationPath.js.map +1 -0
- package/bin/getAlertAttribute.d.ts +26 -0
- package/bin/getAlertAttribute.js +22 -0
- package/bin/getAlertAttribute.js.map +1 -0
- package/bin/getAlertSources.d.ts +27 -0
- package/bin/getAlertSources.js +24 -0
- package/bin/getAlertSources.js.map +1 -0
- package/bin/getCatalogEntries.d.ts +27 -0
- package/bin/getCatalogEntries.js +22 -0
- package/bin/getCatalogEntries.js.map +1 -0
- package/bin/getCatalogEntry.d.ts +31 -0
- package/bin/getCatalogEntry.js +24 -0
- package/bin/getCatalogEntry.js.map +1 -0
- package/bin/getCatalogType.d.ts +31 -0
- package/bin/getCatalogType.js +28 -0
- package/bin/getCatalogType.js.map +1 -0
- package/bin/getCatalogTypeAttribute.d.ts +30 -0
- package/bin/getCatalogTypeAttribute.js +24 -0
- package/bin/getCatalogTypeAttribute.js.map +1 -0
- package/bin/getCustomField.d.ts +29 -0
- package/bin/getCustomField.js +22 -0
- package/bin/getCustomField.js.map +1 -0
- package/bin/getCustomFieldOption.d.ts +28 -0
- package/bin/getCustomFieldOption.js +26 -0
- package/bin/getCustomFieldOption.js.map +1 -0
- package/bin/getEscalationPath.d.ts +29 -0
- package/bin/getEscalationPath.js +26 -0
- package/bin/getEscalationPath.js.map +1 -0
- package/bin/getIncidentRole.d.ts +25 -0
- package/bin/getIncidentRole.js +22 -0
- package/bin/getIncidentRole.js.map +1 -0
- package/bin/getIncidentTypes.d.ts +14 -0
- package/bin/getIncidentTypes.js +18 -0
- package/bin/getIncidentTypes.js.map +1 -0
- package/bin/getSchedule.d.ts +26 -0
- package/bin/getSchedule.js +26 -0
- package/bin/getSchedule.js.map +1 -0
- package/bin/getUser.d.ts +28 -0
- package/bin/getUser.js +28 -0
- package/bin/getUser.js.map +1 -0
- package/bin/incidentRole.d.ts +84 -0
- package/bin/incidentRole.js +64 -0
- package/bin/incidentRole.js.map +1 -0
- package/bin/index.d.ts +91 -0
- package/bin/index.js +166 -0
- package/bin/index.js.map +1 -0
- package/bin/maintenanceWindow.d.ts +206 -0
- package/bin/maintenanceWindow.js +87 -0
- package/bin/maintenanceWindow.js.map +1 -0
- package/bin/package.json +35 -0
- package/bin/provider.d.ts +59 -0
- package/bin/provider.js +57 -0
- package/bin/provider.js.map +1 -0
- package/bin/schedule.d.ts +71 -0
- package/bin/schedule.js +63 -0
- package/bin/schedule.js.map +1 -0
- package/bin/severity.d.ts +72 -0
- package/bin/severity.js +56 -0
- package/bin/severity.js.map +1 -0
- package/bin/status.d.ts +72 -0
- package/bin/status.js +59 -0
- package/bin/status.js.map +1 -0
- package/bin/types/index.d.ts +3 -0
- package/bin/types/index.js +11 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +6516 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +11481 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +5 -0
- package/bin/utilities.js +129 -0
- package/bin/utilities.js.map +1 -0
- package/bin/workflow.d.ts +218 -0
- package/bin/workflow.js +107 -0
- package/bin/workflow.js.map +1 -0
- package/package.json +35 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class CatalogTypeAttribute extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing CatalogTypeAttribute resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CatalogTypeAttributeState, opts?: pulumi.CustomResourceOptions): CatalogTypeAttribute;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of CatalogTypeAttribute. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is CatalogTypeAttribute;
|
|
18
|
+
/**
|
|
19
|
+
* Whether this attribute is an array or scalar.
|
|
20
|
+
*/
|
|
21
|
+
readonly array: pulumi.Output<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* If this is a backlink, the id of the attribute that it's linked from
|
|
24
|
+
*/
|
|
25
|
+
readonly backlinkAttribute: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* ID of this catalog type
|
|
28
|
+
*/
|
|
29
|
+
readonly catalogTypeId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The name of this attribute.
|
|
32
|
+
*/
|
|
33
|
+
readonly name: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* If this is a path attribute, the path that we should use to pull the data
|
|
36
|
+
*/
|
|
37
|
+
readonly paths: pulumi.Output<string[] | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* If true, Terraform will only manage the schema of the attribute. Values for this attribute can be managed from the incident.io web dashboard.
|
|
40
|
+
*
|
|
41
|
+
* NOTE: When enabled, you should use the <span pulumi-lang-nodejs="`managedAttributes`" pulumi-lang-dotnet="`ManagedAttributes`" pulumi-lang-go="`managedAttributes`" pulumi-lang-python="`managed_attributes`" pulumi-lang-yaml="`managedAttributes`" pulumi-lang-java="`managedAttributes`">`managed_attributes`</span> argument on either <span pulumi-lang-nodejs="`incident.CatalogEntry`" pulumi-lang-dotnet="`incident.CatalogEntry`" pulumi-lang-go="`CatalogEntry`" pulumi-lang-python="`CatalogEntry`" pulumi-lang-yaml="`incident.CatalogEntry`" pulumi-lang-java="`incident.CatalogEntry`">`incident.CatalogEntry`</span> or <span pulumi-lang-nodejs="`incident.CatalogEntries`" pulumi-lang-dotnet="`incident.CatalogEntries`" pulumi-lang-go="`CatalogEntries`" pulumi-lang-python="`CatalogEntries`" pulumi-lang-yaml="`incident.CatalogEntries`" pulumi-lang-java="`incident.CatalogEntries`">`incident.CatalogEntries`</span> to manage the values of other attributes on this type, without Terraform overwriting values set in the dashboard.
|
|
42
|
+
*/
|
|
43
|
+
readonly schemaOnly: pulumi.Output<boolean>;
|
|
44
|
+
/**
|
|
45
|
+
* The type of this attribute.
|
|
46
|
+
*/
|
|
47
|
+
readonly type: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Create a CatalogTypeAttribute resource with the given unique name, arguments, and options.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resource.
|
|
52
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
53
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
54
|
+
*/
|
|
55
|
+
constructor(name: string, args: CatalogTypeAttributeArgs, opts?: pulumi.CustomResourceOptions);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Input properties used for looking up and filtering CatalogTypeAttribute resources.
|
|
59
|
+
*/
|
|
60
|
+
export interface CatalogTypeAttributeState {
|
|
61
|
+
/**
|
|
62
|
+
* Whether this attribute is an array or scalar.
|
|
63
|
+
*/
|
|
64
|
+
array?: pulumi.Input<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* If this is a backlink, the id of the attribute that it's linked from
|
|
67
|
+
*/
|
|
68
|
+
backlinkAttribute?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* ID of this catalog type
|
|
71
|
+
*/
|
|
72
|
+
catalogTypeId?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of this attribute.
|
|
75
|
+
*/
|
|
76
|
+
name?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* If this is a path attribute, the path that we should use to pull the data
|
|
79
|
+
*/
|
|
80
|
+
paths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
81
|
+
/**
|
|
82
|
+
* If true, Terraform will only manage the schema of the attribute. Values for this attribute can be managed from the incident.io web dashboard.
|
|
83
|
+
*
|
|
84
|
+
* NOTE: When enabled, you should use the <span pulumi-lang-nodejs="`managedAttributes`" pulumi-lang-dotnet="`ManagedAttributes`" pulumi-lang-go="`managedAttributes`" pulumi-lang-python="`managed_attributes`" pulumi-lang-yaml="`managedAttributes`" pulumi-lang-java="`managedAttributes`">`managed_attributes`</span> argument on either <span pulumi-lang-nodejs="`incident.CatalogEntry`" pulumi-lang-dotnet="`incident.CatalogEntry`" pulumi-lang-go="`CatalogEntry`" pulumi-lang-python="`CatalogEntry`" pulumi-lang-yaml="`incident.CatalogEntry`" pulumi-lang-java="`incident.CatalogEntry`">`incident.CatalogEntry`</span> or <span pulumi-lang-nodejs="`incident.CatalogEntries`" pulumi-lang-dotnet="`incident.CatalogEntries`" pulumi-lang-go="`CatalogEntries`" pulumi-lang-python="`CatalogEntries`" pulumi-lang-yaml="`incident.CatalogEntries`" pulumi-lang-java="`incident.CatalogEntries`">`incident.CatalogEntries`</span> to manage the values of other attributes on this type, without Terraform overwriting values set in the dashboard.
|
|
85
|
+
*/
|
|
86
|
+
schemaOnly?: pulumi.Input<boolean>;
|
|
87
|
+
/**
|
|
88
|
+
* The type of this attribute.
|
|
89
|
+
*/
|
|
90
|
+
type?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a CatalogTypeAttribute resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface CatalogTypeAttributeArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Whether this attribute is an array or scalar.
|
|
98
|
+
*/
|
|
99
|
+
array?: pulumi.Input<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* If this is a backlink, the id of the attribute that it's linked from
|
|
102
|
+
*/
|
|
103
|
+
backlinkAttribute?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* ID of this catalog type
|
|
106
|
+
*/
|
|
107
|
+
catalogTypeId: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of this attribute.
|
|
110
|
+
*/
|
|
111
|
+
name?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* If this is a path attribute, the path that we should use to pull the data
|
|
114
|
+
*/
|
|
115
|
+
paths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* If true, Terraform will only manage the schema of the attribute. Values for this attribute can be managed from the incident.io web dashboard.
|
|
118
|
+
*
|
|
119
|
+
* NOTE: When enabled, you should use the <span pulumi-lang-nodejs="`managedAttributes`" pulumi-lang-dotnet="`ManagedAttributes`" pulumi-lang-go="`managedAttributes`" pulumi-lang-python="`managed_attributes`" pulumi-lang-yaml="`managedAttributes`" pulumi-lang-java="`managedAttributes`">`managed_attributes`</span> argument on either <span pulumi-lang-nodejs="`incident.CatalogEntry`" pulumi-lang-dotnet="`incident.CatalogEntry`" pulumi-lang-go="`CatalogEntry`" pulumi-lang-python="`CatalogEntry`" pulumi-lang-yaml="`incident.CatalogEntry`" pulumi-lang-java="`incident.CatalogEntry`">`incident.CatalogEntry`</span> or <span pulumi-lang-nodejs="`incident.CatalogEntries`" pulumi-lang-dotnet="`incident.CatalogEntries`" pulumi-lang-go="`CatalogEntries`" pulumi-lang-python="`CatalogEntries`" pulumi-lang-yaml="`incident.CatalogEntries`" pulumi-lang-java="`incident.CatalogEntries`">`incident.CatalogEntries`</span> to manage the values of other attributes on this type, without Terraform overwriting values set in the dashboard.
|
|
120
|
+
*/
|
|
121
|
+
schemaOnly?: pulumi.Input<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* The type of this attribute.
|
|
124
|
+
*/
|
|
125
|
+
type: pulumi.Input<string>;
|
|
126
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CatalogTypeAttribute = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CatalogTypeAttribute extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CatalogTypeAttribute resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new CatalogTypeAttribute(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CatalogTypeAttribute. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === CatalogTypeAttribute.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["array"] = state?.array;
|
|
37
|
+
resourceInputs["backlinkAttribute"] = state?.backlinkAttribute;
|
|
38
|
+
resourceInputs["catalogTypeId"] = state?.catalogTypeId;
|
|
39
|
+
resourceInputs["name"] = state?.name;
|
|
40
|
+
resourceInputs["paths"] = state?.paths;
|
|
41
|
+
resourceInputs["schemaOnly"] = state?.schemaOnly;
|
|
42
|
+
resourceInputs["type"] = state?.type;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if (args?.catalogTypeId === undefined && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'catalogTypeId'");
|
|
48
|
+
}
|
|
49
|
+
if (args?.type === undefined && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'type'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["array"] = args?.array;
|
|
53
|
+
resourceInputs["backlinkAttribute"] = args?.backlinkAttribute;
|
|
54
|
+
resourceInputs["catalogTypeId"] = args?.catalogTypeId;
|
|
55
|
+
resourceInputs["name"] = args?.name;
|
|
56
|
+
resourceInputs["paths"] = args?.paths;
|
|
57
|
+
resourceInputs["schemaOnly"] = args?.schemaOnly;
|
|
58
|
+
resourceInputs["type"] = args?.type;
|
|
59
|
+
}
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
super(CatalogTypeAttribute.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.CatalogTypeAttribute = CatalogTypeAttribute;
|
|
65
|
+
/** @internal */
|
|
66
|
+
CatalogTypeAttribute.__pulumiType = 'incident:index/catalogTypeAttribute:CatalogTypeAttribute';
|
|
67
|
+
//# sourceMappingURL=catalogTypeAttribute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogTypeAttribute.js","sourceRoot":"","sources":["../catalogTypeAttribute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC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,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACvH,CAAC;;AAjGL,oDAkGC;AApFG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./vars";
|
|
@@ -0,0 +1,21 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
// Export members:
|
|
20
|
+
__exportStar(require("./vars"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API key for incident.io (https://app.incident.io/settings/api-keys). Sourced from the `INCIDENT_API_KEY` environment variable, if set.
|
|
3
|
+
*/
|
|
4
|
+
export declare const apiKey: string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* URL of the incident.io API
|
|
7
|
+
*/
|
|
8
|
+
export declare const endpoint: string | undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const __config = new pulumi.Config("incident");
|
|
7
|
+
Object.defineProperty(exports, "apiKey", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.get("apiKey");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "endpoint", {
|
|
14
|
+
get() {
|
|
15
|
+
return __config.get("endpoint");
|
|
16
|
+
},
|
|
17
|
+
enumerable: true,
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=vars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAM/C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class CustomField extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing CustomField resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomFieldState, opts?: pulumi.CustomResourceOptions): CustomField;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of CustomField. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is CustomField;
|
|
20
|
+
/**
|
|
21
|
+
* For catalog fields, the ID of the associated catalog type
|
|
22
|
+
*/
|
|
23
|
+
readonly catalogTypeId: pulumi.Output<string | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Description of the custom field
|
|
26
|
+
*/
|
|
27
|
+
readonly description: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Type of custom field. Possible values are: <span pulumi-lang-nodejs="`singleSelect`" pulumi-lang-dotnet="`SingleSelect`" pulumi-lang-go="`singleSelect`" pulumi-lang-python="`single_select`" pulumi-lang-yaml="`singleSelect`" pulumi-lang-java="`singleSelect`">`single_select`</span>, <span pulumi-lang-nodejs="`multiSelect`" pulumi-lang-dotnet="`MultiSelect`" pulumi-lang-go="`multiSelect`" pulumi-lang-python="`multi_select`" pulumi-lang-yaml="`multiSelect`" pulumi-lang-java="`multiSelect`">`multi_select`</span>, <span pulumi-lang-nodejs="`text`" pulumi-lang-dotnet="`Text`" pulumi-lang-go="`text`" pulumi-lang-python="`text`" pulumi-lang-yaml="`text`" pulumi-lang-java="`text`">`text`</span>, <span pulumi-lang-nodejs="`link`" pulumi-lang-dotnet="`Link`" pulumi-lang-go="`link`" pulumi-lang-python="`link`" pulumi-lang-yaml="`link`" pulumi-lang-java="`link`">`link`</span>, <span pulumi-lang-nodejs="`numeric`" pulumi-lang-dotnet="`Numeric`" pulumi-lang-go="`numeric`" pulumi-lang-python="`numeric`" pulumi-lang-yaml="`numeric`" pulumi-lang-java="`numeric`">`numeric`</span>.
|
|
30
|
+
*/
|
|
31
|
+
readonly fieldType: pulumi.Output<string>;
|
|
32
|
+
readonly filterBy: pulumi.Output<outputs.CustomFieldFilterBy | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* For catalog fields, the ID of the attribute used to group catalog entries (if applicable)
|
|
35
|
+
*/
|
|
36
|
+
readonly groupByCatalogAttributeId: pulumi.Output<string | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Which catalog attribute provides helptext for the options
|
|
39
|
+
*/
|
|
40
|
+
readonly helptextCatalogAttributeId: pulumi.Output<string | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Human readable name for the custom field
|
|
43
|
+
*/
|
|
44
|
+
readonly name: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a CustomField resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args: CustomFieldArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Input properties used for looking up and filtering CustomField resources.
|
|
56
|
+
*/
|
|
57
|
+
export interface CustomFieldState {
|
|
58
|
+
/**
|
|
59
|
+
* For catalog fields, the ID of the associated catalog type
|
|
60
|
+
*/
|
|
61
|
+
catalogTypeId?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Description of the custom field
|
|
64
|
+
*/
|
|
65
|
+
description?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Type of custom field. Possible values are: <span pulumi-lang-nodejs="`singleSelect`" pulumi-lang-dotnet="`SingleSelect`" pulumi-lang-go="`singleSelect`" pulumi-lang-python="`single_select`" pulumi-lang-yaml="`singleSelect`" pulumi-lang-java="`singleSelect`">`single_select`</span>, <span pulumi-lang-nodejs="`multiSelect`" pulumi-lang-dotnet="`MultiSelect`" pulumi-lang-go="`multiSelect`" pulumi-lang-python="`multi_select`" pulumi-lang-yaml="`multiSelect`" pulumi-lang-java="`multiSelect`">`multi_select`</span>, <span pulumi-lang-nodejs="`text`" pulumi-lang-dotnet="`Text`" pulumi-lang-go="`text`" pulumi-lang-python="`text`" pulumi-lang-yaml="`text`" pulumi-lang-java="`text`">`text`</span>, <span pulumi-lang-nodejs="`link`" pulumi-lang-dotnet="`Link`" pulumi-lang-go="`link`" pulumi-lang-python="`link`" pulumi-lang-yaml="`link`" pulumi-lang-java="`link`">`link`</span>, <span pulumi-lang-nodejs="`numeric`" pulumi-lang-dotnet="`Numeric`" pulumi-lang-go="`numeric`" pulumi-lang-python="`numeric`" pulumi-lang-yaml="`numeric`" pulumi-lang-java="`numeric`">`numeric`</span>.
|
|
68
|
+
*/
|
|
69
|
+
fieldType?: pulumi.Input<string>;
|
|
70
|
+
filterBy?: pulumi.Input<inputs.CustomFieldFilterBy>;
|
|
71
|
+
/**
|
|
72
|
+
* For catalog fields, the ID of the attribute used to group catalog entries (if applicable)
|
|
73
|
+
*/
|
|
74
|
+
groupByCatalogAttributeId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Which catalog attribute provides helptext for the options
|
|
77
|
+
*/
|
|
78
|
+
helptextCatalogAttributeId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Human readable name for the custom field
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The set of arguments for constructing a CustomField resource.
|
|
86
|
+
*/
|
|
87
|
+
export interface CustomFieldArgs {
|
|
88
|
+
/**
|
|
89
|
+
* For catalog fields, the ID of the associated catalog type
|
|
90
|
+
*/
|
|
91
|
+
catalogTypeId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Description of the custom field
|
|
94
|
+
*/
|
|
95
|
+
description: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Type of custom field. Possible values are: <span pulumi-lang-nodejs="`singleSelect`" pulumi-lang-dotnet="`SingleSelect`" pulumi-lang-go="`singleSelect`" pulumi-lang-python="`single_select`" pulumi-lang-yaml="`singleSelect`" pulumi-lang-java="`singleSelect`">`single_select`</span>, <span pulumi-lang-nodejs="`multiSelect`" pulumi-lang-dotnet="`MultiSelect`" pulumi-lang-go="`multiSelect`" pulumi-lang-python="`multi_select`" pulumi-lang-yaml="`multiSelect`" pulumi-lang-java="`multiSelect`">`multi_select`</span>, <span pulumi-lang-nodejs="`text`" pulumi-lang-dotnet="`Text`" pulumi-lang-go="`text`" pulumi-lang-python="`text`" pulumi-lang-yaml="`text`" pulumi-lang-java="`text`">`text`</span>, <span pulumi-lang-nodejs="`link`" pulumi-lang-dotnet="`Link`" pulumi-lang-go="`link`" pulumi-lang-python="`link`" pulumi-lang-yaml="`link`" pulumi-lang-java="`link`">`link`</span>, <span pulumi-lang-nodejs="`numeric`" pulumi-lang-dotnet="`Numeric`" pulumi-lang-go="`numeric`" pulumi-lang-python="`numeric`" pulumi-lang-yaml="`numeric`" pulumi-lang-java="`numeric`">`numeric`</span>.
|
|
98
|
+
*/
|
|
99
|
+
fieldType: pulumi.Input<string>;
|
|
100
|
+
filterBy?: pulumi.Input<inputs.CustomFieldFilterBy>;
|
|
101
|
+
/**
|
|
102
|
+
* For catalog fields, the ID of the attribute used to group catalog entries (if applicable)
|
|
103
|
+
*/
|
|
104
|
+
groupByCatalogAttributeId?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Which catalog attribute provides helptext for the options
|
|
107
|
+
*/
|
|
108
|
+
helptextCatalogAttributeId?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Human readable name for the custom field
|
|
111
|
+
*/
|
|
112
|
+
name?: pulumi.Input<string>;
|
|
113
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CustomField = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CustomField extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CustomField resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new CustomField(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CustomField. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === CustomField.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["catalogTypeId"] = state?.catalogTypeId;
|
|
37
|
+
resourceInputs["description"] = state?.description;
|
|
38
|
+
resourceInputs["fieldType"] = state?.fieldType;
|
|
39
|
+
resourceInputs["filterBy"] = state?.filterBy;
|
|
40
|
+
resourceInputs["groupByCatalogAttributeId"] = state?.groupByCatalogAttributeId;
|
|
41
|
+
resourceInputs["helptextCatalogAttributeId"] = state?.helptextCatalogAttributeId;
|
|
42
|
+
resourceInputs["name"] = state?.name;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if (args?.description === undefined && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'description'");
|
|
48
|
+
}
|
|
49
|
+
if (args?.fieldType === undefined && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'fieldType'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["catalogTypeId"] = args?.catalogTypeId;
|
|
53
|
+
resourceInputs["description"] = args?.description;
|
|
54
|
+
resourceInputs["fieldType"] = args?.fieldType;
|
|
55
|
+
resourceInputs["filterBy"] = args?.filterBy;
|
|
56
|
+
resourceInputs["groupByCatalogAttributeId"] = args?.groupByCatalogAttributeId;
|
|
57
|
+
resourceInputs["helptextCatalogAttributeId"] = args?.helptextCatalogAttributeId;
|
|
58
|
+
resourceInputs["name"] = args?.name;
|
|
59
|
+
}
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
super(CustomField.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.CustomField = CustomField;
|
|
65
|
+
/** @internal */
|
|
66
|
+
CustomField.__pulumiType = 'incident:index/customField:CustomField';
|
|
67
|
+
//# sourceMappingURL=customField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customField.js","sourceRoot":"","sources":["../customField.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAoCD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE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CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC9G,CAAC;;AA5FL,kCA6FC;AA/EG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class CustomFieldOption extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing CustomFieldOption resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomFieldOptionState, opts?: pulumi.CustomResourceOptions): CustomFieldOption;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of CustomFieldOption. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is CustomFieldOption;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the custom field this option belongs to
|
|
20
|
+
*/
|
|
21
|
+
readonly customFieldId: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Sort key used to order the custom field options correctly
|
|
24
|
+
*/
|
|
25
|
+
readonly sortKey: pulumi.Output<number>;
|
|
26
|
+
/**
|
|
27
|
+
* Human readable name for the custom field option
|
|
28
|
+
*/
|
|
29
|
+
readonly value: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a CustomFieldOption resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name: string, args: CustomFieldOptionArgs, opts?: pulumi.CustomResourceOptions);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Input properties used for looking up and filtering CustomFieldOption resources.
|
|
41
|
+
*/
|
|
42
|
+
export interface CustomFieldOptionState {
|
|
43
|
+
/**
|
|
44
|
+
* ID of the custom field this option belongs to
|
|
45
|
+
*/
|
|
46
|
+
customFieldId?: pulumi.Input<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Sort key used to order the custom field options correctly
|
|
49
|
+
*/
|
|
50
|
+
sortKey?: pulumi.Input<number>;
|
|
51
|
+
/**
|
|
52
|
+
* Human readable name for the custom field option
|
|
53
|
+
*/
|
|
54
|
+
value?: pulumi.Input<string>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The set of arguments for constructing a CustomFieldOption resource.
|
|
58
|
+
*/
|
|
59
|
+
export interface CustomFieldOptionArgs {
|
|
60
|
+
/**
|
|
61
|
+
* ID of the custom field this option belongs to
|
|
62
|
+
*/
|
|
63
|
+
customFieldId: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Sort key used to order the custom field options correctly
|
|
66
|
+
*/
|
|
67
|
+
sortKey?: pulumi.Input<number>;
|
|
68
|
+
/**
|
|
69
|
+
* Human readable name for the custom field option
|
|
70
|
+
*/
|
|
71
|
+
value: pulumi.Input<string>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CustomFieldOption = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CustomFieldOption extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CustomFieldOption resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new CustomFieldOption(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CustomFieldOption. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === CustomFieldOption.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["customFieldId"] = state?.customFieldId;
|
|
37
|
+
resourceInputs["sortKey"] = state?.sortKey;
|
|
38
|
+
resourceInputs["value"] = state?.value;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if (args?.customFieldId === undefined && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'customFieldId'");
|
|
44
|
+
}
|
|
45
|
+
if (args?.value === undefined && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'value'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["customFieldId"] = args?.customFieldId;
|
|
49
|
+
resourceInputs["sortKey"] = args?.sortKey;
|
|
50
|
+
resourceInputs["value"] = args?.value;
|
|
51
|
+
}
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
|
+
super(CustomFieldOption.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.CustomFieldOption = CustomFieldOption;
|
|
57
|
+
/** @internal */
|
|
58
|
+
CustomFieldOption.__pulumiType = 'incident:index/customFieldOption:CustomFieldOption';
|
|
59
|
+
//# sourceMappingURL=customFieldOption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customFieldOption.js","sourceRoot":"","sources":["../customFieldOption.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAA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