@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,86 @@
|
|
|
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 CatalogEntries extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing CatalogEntries 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?: CatalogEntriesState, opts?: pulumi.CustomResourceOptions): CatalogEntries;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of CatalogEntries. 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 CatalogEntries;
|
|
20
|
+
/**
|
|
21
|
+
* ID of this catalog type
|
|
22
|
+
*/
|
|
23
|
+
readonly catalogEntriesId: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Map of external ID to entry in the catalog.
|
|
26
|
+
*/
|
|
27
|
+
readonly entries: pulumi.Output<{
|
|
28
|
+
[key: string]: outputs.CatalogEntriesEntries;
|
|
29
|
+
}>;
|
|
30
|
+
/**
|
|
31
|
+
* The set of attributes that are managed by this resource. By default, all attributes are managed by this resource.
|
|
32
|
+
*
|
|
33
|
+
* This can be used to allow other attributes of a catalog entry to be managed elsewhere, for example in another Terraform repository or the incident.io web UI.
|
|
34
|
+
*/
|
|
35
|
+
readonly managedAttributes: pulumi.Output<string[] | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a CatalogEntries resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args: CatalogEntriesArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Input properties used for looking up and filtering CatalogEntries resources.
|
|
47
|
+
*/
|
|
48
|
+
export interface CatalogEntriesState {
|
|
49
|
+
/**
|
|
50
|
+
* ID of this catalog type
|
|
51
|
+
*/
|
|
52
|
+
catalogEntriesId?: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Map of external ID to entry in the catalog.
|
|
55
|
+
*/
|
|
56
|
+
entries?: pulumi.Input<{
|
|
57
|
+
[key: string]: pulumi.Input<inputs.CatalogEntriesEntries>;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* The set of attributes that are managed by this resource. By default, all attributes are managed by this resource.
|
|
61
|
+
*
|
|
62
|
+
* This can be used to allow other attributes of a catalog entry to be managed elsewhere, for example in another Terraform repository or the incident.io web UI.
|
|
63
|
+
*/
|
|
64
|
+
managedAttributes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a CatalogEntries resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface CatalogEntriesArgs {
|
|
70
|
+
/**
|
|
71
|
+
* ID of this catalog type
|
|
72
|
+
*/
|
|
73
|
+
catalogEntriesId: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Map of external ID to entry in the catalog.
|
|
76
|
+
*/
|
|
77
|
+
entries: pulumi.Input<{
|
|
78
|
+
[key: string]: pulumi.Input<inputs.CatalogEntriesEntries>;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
* The set of attributes that are managed by this resource. By default, all attributes are managed by this resource.
|
|
82
|
+
*
|
|
83
|
+
* This can be used to allow other attributes of a catalog entry to be managed elsewhere, for example in another Terraform repository or the incident.io web UI.
|
|
84
|
+
*/
|
|
85
|
+
managedAttributes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
86
|
+
}
|
|
@@ -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.CatalogEntries = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CatalogEntries extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CatalogEntries 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 CatalogEntries(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CatalogEntries. 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'] === CatalogEntries.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["catalogEntriesId"] = state?.catalogEntriesId;
|
|
37
|
+
resourceInputs["entries"] = state?.entries;
|
|
38
|
+
resourceInputs["managedAttributes"] = state?.managedAttributes;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if (args?.catalogEntriesId === undefined && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'catalogEntriesId'");
|
|
44
|
+
}
|
|
45
|
+
if (args?.entries === undefined && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'entries'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["catalogEntriesId"] = args?.catalogEntriesId;
|
|
49
|
+
resourceInputs["entries"] = args?.entries;
|
|
50
|
+
resourceInputs["managedAttributes"] = args?.managedAttributes;
|
|
51
|
+
}
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
|
+
super(CatalogEntries.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.CatalogEntries = CatalogEntries;
|
|
57
|
+
/** @internal */
|
|
58
|
+
CatalogEntries.__pulumiType = 'incident:index/catalogEntries:CatalogE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I,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACjH,CAAC;;AAzEL,wCA0EC;AA5DG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
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 CatalogEntry extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing CatalogEntry 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?: CatalogEntryState, opts?: pulumi.CustomResourceOptions): CatalogEntry;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of CatalogEntry. 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 CatalogEntry;
|
|
20
|
+
/**
|
|
21
|
+
* Optional aliases that can be used to reference this entry
|
|
22
|
+
*/
|
|
23
|
+
readonly aliases: pulumi.Output<string[]>;
|
|
24
|
+
readonly attributeValues: pulumi.Output<outputs.CatalogEntryAttributeValue[]>;
|
|
25
|
+
/**
|
|
26
|
+
* ID of this catalog type
|
|
27
|
+
*/
|
|
28
|
+
readonly catalogTypeId: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* An optional alternative ID for this entry, which is ensured to be unique for the type
|
|
31
|
+
*/
|
|
32
|
+
readonly externalId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The set of attributes that are managed by this resource. By default, all attributes are managed by this resource.
|
|
35
|
+
*
|
|
36
|
+
* This can be used to allow other attributes of a catalog entry to be managed elsewhere, for example in another Terraform repository or the incident.io web UI.
|
|
37
|
+
*
|
|
38
|
+
* When <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> is set, destroying the Terraform resource will clear only those attributes instead of deleting the catalog entry. This enables partial management of entries owned by external systems (e.g., Schedules from the on-call product).
|
|
39
|
+
*/
|
|
40
|
+
readonly managedAttributes: pulumi.Output<string[] | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Name is the human readable name of this entry
|
|
43
|
+
*/
|
|
44
|
+
readonly name: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* When catalog type is ranked, this is used to help order things
|
|
47
|
+
*/
|
|
48
|
+
readonly rank: pulumi.Output<number>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a CatalogEntry resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: CatalogEntryArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering CatalogEntry resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface CatalogEntryState {
|
|
62
|
+
/**
|
|
63
|
+
* Optional aliases that can be used to reference this entry
|
|
64
|
+
*/
|
|
65
|
+
aliases?: pulumi.Input<pulumi.Input<string>[]>;
|
|
66
|
+
attributeValues?: pulumi.Input<pulumi.Input<inputs.CatalogEntryAttributeValue>[]>;
|
|
67
|
+
/**
|
|
68
|
+
* ID of this catalog type
|
|
69
|
+
*/
|
|
70
|
+
catalogTypeId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* An optional alternative ID for this entry, which is ensured to be unique for the type
|
|
73
|
+
*/
|
|
74
|
+
externalId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The set of attributes that are managed by this resource. By default, all attributes are managed by this resource.
|
|
77
|
+
*
|
|
78
|
+
* This can be used to allow other attributes of a catalog entry to be managed elsewhere, for example in another Terraform repository or the incident.io web UI.
|
|
79
|
+
*
|
|
80
|
+
* When <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> is set, destroying the Terraform resource will clear only those attributes instead of deleting the catalog entry. This enables partial management of entries owned by external systems (e.g., Schedules from the on-call product).
|
|
81
|
+
*/
|
|
82
|
+
managedAttributes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
83
|
+
/**
|
|
84
|
+
* Name is the human readable name of this entry
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* When catalog type is ranked, this is used to help order things
|
|
89
|
+
*/
|
|
90
|
+
rank?: pulumi.Input<number>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a CatalogEntry resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface CatalogEntryArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Optional aliases that can be used to reference this entry
|
|
98
|
+
*/
|
|
99
|
+
aliases?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
attributeValues: pulumi.Input<pulumi.Input<inputs.CatalogEntryAttributeValue>[]>;
|
|
101
|
+
/**
|
|
102
|
+
* ID of this catalog type
|
|
103
|
+
*/
|
|
104
|
+
catalogTypeId: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* An optional alternative ID for this entry, which is ensured to be unique for the type
|
|
107
|
+
*/
|
|
108
|
+
externalId?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The set of attributes that are managed by this resource. By default, all attributes are managed by this resource.
|
|
111
|
+
*
|
|
112
|
+
* This can be used to allow other attributes of a catalog entry to be managed elsewhere, for example in another Terraform repository or the incident.io web UI.
|
|
113
|
+
*
|
|
114
|
+
* When <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> is set, destroying the Terraform resource will clear only those attributes instead of deleting the catalog entry. This enables partial management of entries owned by external systems (e.g., Schedules from the on-call product).
|
|
115
|
+
*/
|
|
116
|
+
managedAttributes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
117
|
+
/**
|
|
118
|
+
* Name is the human readable name of this entry
|
|
119
|
+
*/
|
|
120
|
+
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* When catalog type is ranked, this is used to help order things
|
|
123
|
+
*/
|
|
124
|
+
rank?: pulumi.Input<number>;
|
|
125
|
+
}
|
|
@@ -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.CatalogEntry = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CatalogEntry extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CatalogEntry 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 CatalogEntry(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CatalogEntry. 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'] === CatalogEntry.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["aliases"] = state?.aliases;
|
|
37
|
+
resourceInputs["attributeValues"] = state?.attributeValues;
|
|
38
|
+
resourceInputs["catalogTypeId"] = state?.catalogTypeId;
|
|
39
|
+
resourceInputs["externalId"] = state?.externalId;
|
|
40
|
+
resourceInputs["managedAttributes"] = state?.managedAttributes;
|
|
41
|
+
resourceInputs["name"] = state?.name;
|
|
42
|
+
resourceInputs["rank"] = state?.rank;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if (args?.attributeValues === undefined && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'attributeValues'");
|
|
48
|
+
}
|
|
49
|
+
if (args?.catalogTypeId === undefined && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'catalogTypeId'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["aliases"] = args?.aliases;
|
|
53
|
+
resourceInputs["attributeValues"] = args?.attributeValues;
|
|
54
|
+
resourceInputs["catalogTypeId"] = args?.catalogTypeId;
|
|
55
|
+
resourceInputs["externalId"] = args?.externalId;
|
|
56
|
+
resourceInputs["managedAttributes"] = args?.managedAttributes;
|
|
57
|
+
resourceInputs["name"] = args?.name;
|
|
58
|
+
resourceInputs["rank"] = args?.rank;
|
|
59
|
+
}
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
super(CatalogEntry.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.CatalogEntry = CatalogEntry;
|
|
65
|
+
/** @internal */
|
|
66
|
+
CatalogEntry.__pulumiType = 'incident:index/catalogEntry:CatalogEntry';
|
|
67
|
+
//# sourceMappingURL=catalogEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogEntry.js","sourceRoot":"","sources":["../catalogEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AA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,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AAhGL,oCAiGC;AAnFG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class CatalogType extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing CatalogType 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?: CatalogTypeState, opts?: pulumi.CustomResourceOptions): CatalogType;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of CatalogType. 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 CatalogType;
|
|
18
|
+
/**
|
|
19
|
+
* The categories that this type belongs to, to be shown in the web dashboard. Possible values are: <span pulumi-lang-nodejs="`customer`" pulumi-lang-dotnet="`Customer`" pulumi-lang-go="`customer`" pulumi-lang-python="`customer`" pulumi-lang-yaml="`customer`" pulumi-lang-java="`customer`">`customer`</span>, `issue-tracker`, `product-feature`, <span pulumi-lang-nodejs="`service`" pulumi-lang-dotnet="`Service`" pulumi-lang-go="`service`" pulumi-lang-python="`service`" pulumi-lang-yaml="`service`" pulumi-lang-java="`service`">`service`</span>, `on-call`, <span pulumi-lang-nodejs="`team`" pulumi-lang-dotnet="`Team`" pulumi-lang-go="`team`" pulumi-lang-python="`team`" pulumi-lang-yaml="`team`" pulumi-lang-java="`team`">`team`</span>, <span pulumi-lang-nodejs="`user`" pulumi-lang-dotnet="`User`" pulumi-lang-go="`user`" pulumi-lang-python="`user`" pulumi-lang-yaml="`user`" pulumi-lang-java="`user`">`user`</span>.
|
|
20
|
+
*/
|
|
21
|
+
readonly categories: pulumi.Output<string[]>;
|
|
22
|
+
/**
|
|
23
|
+
* Human readble description of this type
|
|
24
|
+
*/
|
|
25
|
+
readonly description: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Name is the human readable name of this type
|
|
28
|
+
*/
|
|
29
|
+
readonly name: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The url of the external repository where this type is managed. Users will not be able to edit the catalog type (or its entries) via the UI, and will instead be provided a link to this URL.
|
|
32
|
+
*/
|
|
33
|
+
readonly sourceRepoUrl: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName"]
|
|
36
|
+
*/
|
|
37
|
+
readonly typeName: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* If enabled, you can refer to entries of this type by their name, as well as their external ID and any aliases.
|
|
40
|
+
*/
|
|
41
|
+
readonly useNameAsIdentifier: pulumi.Output<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a CatalogType resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: CatalogTypeArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Input properties used for looking up and filtering CatalogType resources.
|
|
53
|
+
*/
|
|
54
|
+
export interface CatalogTypeState {
|
|
55
|
+
/**
|
|
56
|
+
* The categories that this type belongs to, to be shown in the web dashboard. Possible values are: <span pulumi-lang-nodejs="`customer`" pulumi-lang-dotnet="`Customer`" pulumi-lang-go="`customer`" pulumi-lang-python="`customer`" pulumi-lang-yaml="`customer`" pulumi-lang-java="`customer`">`customer`</span>, `issue-tracker`, `product-feature`, <span pulumi-lang-nodejs="`service`" pulumi-lang-dotnet="`Service`" pulumi-lang-go="`service`" pulumi-lang-python="`service`" pulumi-lang-yaml="`service`" pulumi-lang-java="`service`">`service`</span>, `on-call`, <span pulumi-lang-nodejs="`team`" pulumi-lang-dotnet="`Team`" pulumi-lang-go="`team`" pulumi-lang-python="`team`" pulumi-lang-yaml="`team`" pulumi-lang-java="`team`">`team`</span>, <span pulumi-lang-nodejs="`user`" pulumi-lang-dotnet="`User`" pulumi-lang-go="`user`" pulumi-lang-python="`user`" pulumi-lang-yaml="`user`" pulumi-lang-java="`user`">`user`</span>.
|
|
57
|
+
*/
|
|
58
|
+
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
59
|
+
/**
|
|
60
|
+
* Human readble description of this type
|
|
61
|
+
*/
|
|
62
|
+
description?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Name is the human readable name of this type
|
|
65
|
+
*/
|
|
66
|
+
name?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The url of the external repository where this type is managed. Users will not be able to edit the catalog type (or its entries) via the UI, and will instead be provided a link to this URL.
|
|
69
|
+
*/
|
|
70
|
+
sourceRepoUrl?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName"]
|
|
73
|
+
*/
|
|
74
|
+
typeName?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* If enabled, you can refer to entries of this type by their name, as well as their external ID and any aliases.
|
|
77
|
+
*/
|
|
78
|
+
useNameAsIdentifier?: pulumi.Input<boolean>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The set of arguments for constructing a CatalogType resource.
|
|
82
|
+
*/
|
|
83
|
+
export interface CatalogTypeArgs {
|
|
84
|
+
/**
|
|
85
|
+
* The categories that this type belongs to, to be shown in the web dashboard. Possible values are: <span pulumi-lang-nodejs="`customer`" pulumi-lang-dotnet="`Customer`" pulumi-lang-go="`customer`" pulumi-lang-python="`customer`" pulumi-lang-yaml="`customer`" pulumi-lang-java="`customer`">`customer`</span>, `issue-tracker`, `product-feature`, <span pulumi-lang-nodejs="`service`" pulumi-lang-dotnet="`Service`" pulumi-lang-go="`service`" pulumi-lang-python="`service`" pulumi-lang-yaml="`service`" pulumi-lang-java="`service`">`service`</span>, `on-call`, <span pulumi-lang-nodejs="`team`" pulumi-lang-dotnet="`Team`" pulumi-lang-go="`team`" pulumi-lang-python="`team`" pulumi-lang-yaml="`team`" pulumi-lang-java="`team`">`team`</span>, <span pulumi-lang-nodejs="`user`" pulumi-lang-dotnet="`User`" pulumi-lang-go="`user`" pulumi-lang-python="`user`" pulumi-lang-yaml="`user`" pulumi-lang-java="`user`">`user`</span>.
|
|
86
|
+
*/
|
|
87
|
+
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Human readble description of this type
|
|
90
|
+
*/
|
|
91
|
+
description: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Name is the human readable name of this type
|
|
94
|
+
*/
|
|
95
|
+
name?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The url of the external repository where this type is managed. Users will not be able to edit the catalog type (or its entries) via the UI, and will instead be provided a link to this URL.
|
|
98
|
+
*/
|
|
99
|
+
sourceRepoUrl: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName"]
|
|
102
|
+
*/
|
|
103
|
+
typeName?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* If enabled, you can refer to entries of this type by their name, as well as their external ID and any aliases.
|
|
106
|
+
*/
|
|
107
|
+
useNameAsIdentifier?: pulumi.Input<boolean>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.CatalogType = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class CatalogType extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing CatalogType 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 CatalogType(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of CatalogType. 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'] === CatalogType.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["categories"] = state?.categories;
|
|
37
|
+
resourceInputs["description"] = state?.description;
|
|
38
|
+
resourceInputs["name"] = state?.name;
|
|
39
|
+
resourceInputs["sourceRepoUrl"] = state?.sourceRepoUrl;
|
|
40
|
+
resourceInputs["typeName"] = state?.typeName;
|
|
41
|
+
resourceInputs["useNameAsIdentifier"] = state?.useNameAsIdentifier;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if (args?.description === undefined && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'description'");
|
|
47
|
+
}
|
|
48
|
+
if (args?.sourceRepoUrl === undefined && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'sourceRepoUrl'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["categories"] = args?.categories;
|
|
52
|
+
resourceInputs["description"] = args?.description;
|
|
53
|
+
resourceInputs["name"] = args?.name;
|
|
54
|
+
resourceInputs["sourceRepoUrl"] = args?.sourceRepoUrl;
|
|
55
|
+
resourceInputs["typeName"] = args?.typeName;
|
|
56
|
+
resourceInputs["useNameAsIdentifier"] = args?.useNameAsIdentifier;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
super(CatalogType.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.CatalogType = CatalogType;
|
|
63
|
+
/** @internal */
|
|
64
|
+
CatalogType.__pulumiType = 'incident:index/catalogType:CatalogType';
|
|
65
|
+
//# sourceMappingURL=catalogType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogType.js","sourceRoot":"","sources":["../catalogType.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,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;IAmCD,YAAY,IAAY,EAAE,WAAg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