@incident-io/pulumi 0.1.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alertRoute.d.ts +12 -0
- package/alertRoute.d.ts.map +1 -1
- package/alertRoute.js +2 -0
- package/alertRoute.js.map +1 -1
- package/alertSource.d.ts +15 -3
- package/alertSource.d.ts.map +1 -1
- package/alertSource.js +2 -0
- package/alertSource.js.map +1 -1
- package/alertSourceBeta.d.ts +15 -3
- package/alertSourceBeta.d.ts.map +1 -1
- package/alertSourceBeta.js +2 -0
- package/alertSourceBeta.js.map +1 -1
- package/announcementRule.d.ts +247 -0
- package/announcementRule.d.ts.map +1 -0
- package/announcementRule.js +175 -0
- package/announcementRule.js.map +1 -0
- package/announcementTemplate.d.ts +157 -0
- package/announcementTemplate.d.ts.map +1 -0
- package/announcementTemplate.js +148 -0
- package/announcementTemplate.js.map +1 -0
- package/apiKey.d.ts +12 -0
- package/apiKey.d.ts.map +1 -1
- package/apiKey.js +2 -0
- package/apiKey.js.map +1 -1
- package/catalogType.d.ts +12 -0
- package/catalogType.d.ts.map +1 -1
- package/catalogType.js +2 -0
- package/catalogType.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/escalationPath.d.ts +69 -15
- package/escalationPath.d.ts.map +1 -1
- package/escalationPath.js +8 -6
- package/escalationPath.js.map +1 -1
- package/escalationPathBeta.d.ts +69 -15
- package/escalationPathBeta.d.ts.map +1 -1
- package/escalationPathBeta.js +8 -6
- package/escalationPathBeta.js.map +1 -1
- package/escalationPathTemplate.d.ts +318 -0
- package/escalationPathTemplate.d.ts.map +1 -0
- package/escalationPathTemplate.js +253 -0
- package/escalationPathTemplate.js.map +1 -0
- package/getAlertSource.d.ts +5 -1
- package/getAlertSource.d.ts.map +1 -1
- package/getAlertSource.js.map +1 -1
- package/getAnnouncementRule.d.ts +138 -0
- package/getAnnouncementRule.d.ts.map +1 -0
- package/getAnnouncementRule.js +99 -0
- package/getAnnouncementRule.js.map +1 -0
- package/getAnnouncementTemplate.d.ts +148 -0
- package/getAnnouncementTemplate.d.ts.map +1 -0
- package/getAnnouncementTemplate.js +137 -0
- package/getAnnouncementTemplate.js.map +1 -0
- package/getCatalogType.d.ts +4 -0
- package/getCatalogType.d.ts.map +1 -1
- package/getCatalogType.js.map +1 -1
- package/getEscalationPath.d.ts +19 -1
- package/getEscalationPath.d.ts.map +1 -1
- package/getEscalationPath.js.map +1 -1
- package/getEscalationPathBeta.d.ts +19 -1
- package/getEscalationPathBeta.d.ts.map +1 -1
- package/getEscalationPathBeta.js.map +1 -1
- package/getIncidentForm.d.ts +96 -0
- package/getIncidentForm.d.ts.map +1 -0
- package/getIncidentForm.js +89 -0
- package/getIncidentForm.js.map +1 -0
- package/getIncidentTemplate.d.ts +4 -0
- package/getIncidentTemplate.d.ts.map +1 -1
- package/getIncidentTemplate.js.map +1 -1
- package/getPayConfig.d.ts +130 -0
- package/getPayConfig.d.ts.map +1 -0
- package/getPayConfig.js +99 -0
- package/getPayConfig.js.map +1 -0
- package/getPolicy.d.ts +1 -1
- package/getScheduleSyncRule.d.ts +4 -0
- package/getScheduleSyncRule.d.ts.map +1 -1
- package/getScheduleSyncRule.js.map +1 -1
- package/getStatusPage.d.ts +95 -0
- package/getStatusPage.d.ts.map +1 -0
- package/getStatusPage.js +93 -0
- package/getStatusPage.js.map +1 -0
- package/getStatusPageComponent.d.ts +75 -0
- package/getStatusPageComponent.d.ts.map +1 -0
- package/getStatusPageComponent.js +81 -0
- package/getStatusPageComponent.js.map +1 -0
- package/getUser.d.ts +24 -6
- package/getUser.d.ts.map +1 -1
- package/getUser.js.map +1 -1
- package/getWorkflow.d.ts +1 -0
- package/getWorkflow.d.ts.map +1 -1
- package/getWorkflow.js.map +1 -1
- package/incidentForm.d.ts +424 -0
- package/incidentForm.d.ts.map +1 -0
- package/incidentForm.js +408 -0
- package/incidentForm.js.map +1 -0
- package/incidentTemplate.d.ts +12 -0
- package/incidentTemplate.d.ts.map +1 -1
- package/incidentTemplate.js +2 -0
- package/incidentTemplate.js.map +1 -1
- package/index.d.ts +42 -0
- package/index.d.ts.map +1 -1
- package/index.js +61 -2
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/payConfig.d.ts +258 -0
- package/payConfig.d.ts.map +1 -0
- package/payConfig.js +213 -0
- package/payConfig.js.map +1 -0
- package/policy.d.ts +73 -17
- package/policy.d.ts.map +1 -1
- package/policy.js +42 -6
- package/policy.js.map +1 -1
- package/provider.d.ts +1 -1
- package/schedule.d.ts +12 -0
- package/schedule.d.ts.map +1 -1
- package/schedule.js +2 -0
- package/schedule.js.map +1 -1
- package/scheduleBeta.d.ts +12 -0
- package/scheduleBeta.d.ts.map +1 -1
- package/scheduleBeta.js +2 -0
- package/scheduleBeta.js.map +1 -1
- package/scheduleSyncRule.d.ts +12 -0
- package/scheduleSyncRule.d.ts.map +1 -1
- package/scheduleSyncRule.js +2 -0
- package/scheduleSyncRule.js.map +1 -1
- package/scheduleSyncTarget.d.ts +12 -0
- package/scheduleSyncTarget.d.ts.map +1 -1
- package/scheduleSyncTarget.js +2 -0
- package/scheduleSyncTarget.js.map +1 -1
- package/secret.d.ts +12 -0
- package/secret.d.ts.map +1 -1
- package/secret.js +2 -0
- package/secret.js.map +1 -1
- package/statusPageComponent.d.ts +120 -0
- package/statusPageComponent.d.ts.map +1 -0
- package/statusPageComponent.js +123 -0
- package/statusPageComponent.js.map +1 -0
- package/statusPageStructure.d.ts +151 -0
- package/statusPageStructure.d.ts.map +1 -0
- package/statusPageStructure.js +148 -0
- package/statusPageStructure.js.map +1 -0
- package/teamGroupingPreference.d.ts +164 -0
- package/teamGroupingPreference.d.ts.map +1 -0
- package/teamGroupingPreference.js +165 -0
- package/teamGroupingPreference.js.map +1 -0
- package/types/input.d.ts +5722 -4067
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +4932 -2641
- package/types/output.d.ts.map +1 -1
- package/workflow.d.ts +12 -0
- package/workflow.d.ts.map +1 -1
- package/workflow.js +2 -0
- package/workflow.js.map +1 -1
package/schedule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../schedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,kCAAkC,CAAC;IAEzE;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../schedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAA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AAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAhFL,4BAiFC"}
|
package/scheduleBeta.d.ts
CHANGED
|
@@ -50,6 +50,10 @@ export declare class ScheduleBeta extends pulumi.CustomResource {
|
|
|
50
50
|
* Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
|
|
51
51
|
*/
|
|
52
52
|
readonly timezone: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
55
|
+
*/
|
|
56
|
+
readonly unlockInDashboard: pulumi.Output<boolean | undefined>;
|
|
53
57
|
/**
|
|
54
58
|
* Create a ScheduleBeta resource with the given unique name, arguments, and options.
|
|
55
59
|
*
|
|
@@ -79,6 +83,10 @@ export interface ScheduleBetaState {
|
|
|
79
83
|
* Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
|
|
80
84
|
*/
|
|
81
85
|
timezone?: pulumi.Input<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
88
|
+
*/
|
|
89
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
82
90
|
}
|
|
83
91
|
/**
|
|
84
92
|
* The set of arguments for constructing a ScheduleBeta resource.
|
|
@@ -100,5 +108,9 @@ export interface ScheduleBetaArgs {
|
|
|
100
108
|
* Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
|
|
101
109
|
*/
|
|
102
110
|
timezone: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
113
|
+
*/
|
|
114
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
103
115
|
}
|
|
104
116
|
//# sourceMappingURL=scheduleBeta.d.ts.map
|
package/scheduleBeta.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleBeta.d.ts","sourceRoot":"","sources":["../scheduleBeta.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;W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gC,GAAG,SAAS,CAAC,CAAC;IACzF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
package/scheduleBeta.js
CHANGED
|
@@ -79,6 +79,7 @@ class ScheduleBeta extends pulumi.CustomResource {
|
|
|
79
79
|
resourceInputs["name"] = state?.name;
|
|
80
80
|
resourceInputs["teamIds"] = state?.teamIds;
|
|
81
81
|
resourceInputs["timezone"] = state?.timezone;
|
|
82
|
+
resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
|
|
82
83
|
}
|
|
83
84
|
else {
|
|
84
85
|
const args = argsOrState;
|
|
@@ -89,6 +90,7 @@ class ScheduleBeta extends pulumi.CustomResource {
|
|
|
89
90
|
resourceInputs["name"] = args?.name;
|
|
90
91
|
resourceInputs["teamIds"] = args?.teamIds;
|
|
91
92
|
resourceInputs["timezone"] = args?.timezone;
|
|
93
|
+
resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
|
|
92
94
|
}
|
|
93
95
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
96
|
super(ScheduleBeta.__pulumiType, name, resourceInputs, opts);
|
package/scheduleBeta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleBeta.js","sourceRoot":"","sources":["../scheduleBeta.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF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AAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAhFL,oCAiFC"}
|
package/scheduleSyncRule.d.ts
CHANGED
|
@@ -92,6 +92,10 @@ export declare class ScheduleSyncRule extends pulumi.CustomResource {
|
|
|
92
92
|
* Which schedule members sync to the user group. Possible values are: `onCall`, `allUsers`, `nextOnCall`.
|
|
93
93
|
*/
|
|
94
94
|
readonly syncType: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
97
|
+
*/
|
|
98
|
+
readonly unlockInDashboard: pulumi.Output<boolean | undefined>;
|
|
95
99
|
/**
|
|
96
100
|
* Create a ScheduleSyncRule resource with the given unique name, arguments, and options.
|
|
97
101
|
*
|
|
@@ -125,6 +129,10 @@ export interface ScheduleSyncRuleState {
|
|
|
125
129
|
* Which schedule members sync to the user group. Possible values are: `onCall`, `allUsers`, `nextOnCall`.
|
|
126
130
|
*/
|
|
127
131
|
syncType?: pulumi.Input<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
134
|
+
*/
|
|
135
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
128
136
|
}
|
|
129
137
|
/**
|
|
130
138
|
* The set of arguments for constructing a ScheduleSyncRule resource.
|
|
@@ -150,5 +158,9 @@ export interface ScheduleSyncRuleArgs {
|
|
|
150
158
|
* Which schedule members sync to the user group. Possible values are: `onCall`, `allUsers`, `nextOnCall`.
|
|
151
159
|
*/
|
|
152
160
|
syncType: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
163
|
+
*/
|
|
164
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
153
165
|
}
|
|
154
166
|
//# sourceMappingURL=scheduleSyncRule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleSyncRule.d.ts","sourceRoot":"","sources":["../scheduleSyncRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOlJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAwB,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IACpF;;OAEG;IACH,SA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,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
package/scheduleSyncRule.js
CHANGED
|
@@ -120,6 +120,7 @@ class ScheduleSyncRule extends pulumi.CustomResource {
|
|
|
120
120
|
resourceInputs["scheduleId"] = state?.scheduleId;
|
|
121
121
|
resourceInputs["scheduleSyncTargetId"] = state?.scheduleSyncTargetId;
|
|
122
122
|
resourceInputs["syncType"] = state?.syncType;
|
|
123
|
+
resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
|
|
123
124
|
}
|
|
124
125
|
else {
|
|
125
126
|
const args = argsOrState;
|
|
@@ -137,6 +138,7 @@ class ScheduleSyncRule extends pulumi.CustomResource {
|
|
|
137
138
|
resourceInputs["scheduleId"] = args?.scheduleId;
|
|
138
139
|
resourceInputs["scheduleSyncTargetId"] = args?.scheduleSyncTargetId;
|
|
139
140
|
resourceInputs["syncType"] = args?.syncType;
|
|
141
|
+
resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
|
|
140
142
|
}
|
|
141
143
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
142
144
|
super(ScheduleSyncRule.__pulumiType, name, resourceInputs, opts);
|
package/scheduleSyncRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleSyncRule.js","sourceRoot":"","sources":["../scheduleSyncRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,sBAAsB,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5FL,4CA6FC"}
|
package/scheduleSyncTarget.d.ts
CHANGED
|
@@ -58,6 +58,10 @@ export declare class ScheduleSyncTarget extends pulumi.CustomResource {
|
|
|
58
58
|
* Slack ID of the user group whose membership is kept in sync. This is the Slack-assigned group ID (starting with 'S'), not the @-handle.
|
|
59
59
|
*/
|
|
60
60
|
readonly slackUserGroupId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
63
|
+
*/
|
|
64
|
+
readonly unlockInDashboard: pulumi.Output<boolean | undefined>;
|
|
61
65
|
/**
|
|
62
66
|
* Create a ScheduleSyncTarget resource with the given unique name, arguments, and options.
|
|
63
67
|
*
|
|
@@ -87,6 +91,10 @@ export interface ScheduleSyncTargetState {
|
|
|
87
91
|
* Slack ID of the user group whose membership is kept in sync. This is the Slack-assigned group ID (starting with 'S'), not the @-handle.
|
|
88
92
|
*/
|
|
89
93
|
slackUserGroupId?: pulumi.Input<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
96
|
+
*/
|
|
97
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
90
98
|
}
|
|
91
99
|
/**
|
|
92
100
|
* The set of arguments for constructing a ScheduleSyncTarget resource.
|
|
@@ -104,5 +112,9 @@ export interface ScheduleSyncTargetArgs {
|
|
|
104
112
|
* Slack ID of the user group whose membership is kept in sync. This is the Slack-assigned group ID (starting with 'S'), not the @-handle.
|
|
105
113
|
*/
|
|
106
114
|
slackUserGroupId?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
117
|
+
*/
|
|
118
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
107
119
|
}
|
|
108
120
|
//# sourceMappingURL=scheduleSyncTarget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleSyncTarget.d.ts","sourceRoot":"","sources":["../scheduleSyncTarget.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC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AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACrC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;IACzF;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
package/scheduleSyncTarget.js
CHANGED
|
@@ -87,6 +87,7 @@ class ScheduleSyncTarget extends pulumi.CustomResource {
|
|
|
87
87
|
resourceInputs["newSlackUserGroup"] = state?.newSlackUserGroup;
|
|
88
88
|
resourceInputs["slackTeamId"] = state?.slackTeamId;
|
|
89
89
|
resourceInputs["slackUserGroupId"] = state?.slackUserGroupId;
|
|
90
|
+
resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
|
|
90
91
|
}
|
|
91
92
|
else {
|
|
92
93
|
const args = argsOrState;
|
|
@@ -96,6 +97,7 @@ class ScheduleSyncTarget extends pulumi.CustomResource {
|
|
|
96
97
|
resourceInputs["addBotToGroup"] = args?.addBotToGroup;
|
|
97
98
|
resourceInputs["newSlackUserGroup"] = args?.newSlackUserGroup;
|
|
98
99
|
resourceInputs["slackUserGroupId"] = args?.slackUserGroupId;
|
|
100
|
+
resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
|
|
99
101
|
resourceInputs["slackTeamId"] = undefined /*out*/;
|
|
100
102
|
}
|
|
101
103
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleSyncTarget.js","sourceRoot":"","sources":["../scheduleSyncTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE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D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAhFL,gDAiFC"}
|
package/secret.d.ts
CHANGED
|
@@ -179,6 +179,10 @@ export declare class Secret extends pulumi.CustomResource {
|
|
|
179
179
|
* IDs of the teams that own this secret. Empty means the secret is owned by the whole organisation.
|
|
180
180
|
*/
|
|
181
181
|
readonly owningTeamIds: pulumi.Output<string[]>;
|
|
182
|
+
/**
|
|
183
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
184
|
+
*/
|
|
185
|
+
readonly unlockInDashboard: pulumi.Output<boolean | undefined>;
|
|
182
186
|
/**
|
|
183
187
|
* When this secret was last changed, which includes being rotated as well as having its metadata edited.
|
|
184
188
|
*/
|
|
@@ -229,6 +233,10 @@ export interface SecretState {
|
|
|
229
233
|
* IDs of the teams that own this secret. Empty means the secret is owned by the whole organisation.
|
|
230
234
|
*/
|
|
231
235
|
owningTeamIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
236
|
+
/**
|
|
237
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
238
|
+
*/
|
|
239
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
232
240
|
/**
|
|
233
241
|
* When this secret was last changed, which includes being rotated as well as having its metadata edited.
|
|
234
242
|
*/
|
|
@@ -263,6 +271,10 @@ export interface SecretArgs {
|
|
|
263
271
|
* IDs of the teams that own this secret. Empty means the secret is owned by the whole organisation.
|
|
264
272
|
*/
|
|
265
273
|
owningTeamIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
274
|
+
/**
|
|
275
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
276
|
+
*/
|
|
277
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
266
278
|
/**
|
|
267
279
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
268
280
|
* The secret's plaintext value, as a [write-only attribute](https://developer.hashicorp.com/terraform/language/resources/ephemeral/write-only): it is sent to incident.io and never written to state or to a plan file. Required when creating a secret. Changing it alone has no effect, as Terraform cannot see that it changed: change `valueWoVersion` to rotate the secret.
|
package/secret.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.d.ts","sourceRoot":"","sources":["../secret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+IG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM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,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACjE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD"}
|
package/secret.js
CHANGED
|
@@ -207,6 +207,7 @@ class Secret extends pulumi.CustomResource {
|
|
|
207
207
|
resourceInputs["lastFourChars"] = state?.lastFourChars;
|
|
208
208
|
resourceInputs["name"] = state?.name;
|
|
209
209
|
resourceInputs["owningTeamIds"] = state?.owningTeamIds;
|
|
210
|
+
resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
|
|
210
211
|
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
211
212
|
resourceInputs["valueWo"] = state?.valueWo;
|
|
212
213
|
resourceInputs["valueWoVersion"] = state?.valueWoVersion;
|
|
@@ -217,6 +218,7 @@ class Secret extends pulumi.CustomResource {
|
|
|
217
218
|
resourceInputs["description"] = args?.description;
|
|
218
219
|
resourceInputs["name"] = args?.name;
|
|
219
220
|
resourceInputs["owningTeamIds"] = args?.owningTeamIds;
|
|
221
|
+
resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
|
|
220
222
|
resourceInputs["valueWo"] = args?.valueWo ? pulumi.secret(args.valueWo) : undefined;
|
|
221
223
|
resourceInputs["valueWoVersion"] = args?.valueWoVersion;
|
|
222
224
|
resourceInputs["createdAt"] = undefined /*out*/;
|
package/secret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../secret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+IG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8BAA8B,CAAC;IAErE;;;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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../secret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;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G,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9GL,wBA+GC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a status page component: something a status page reports the status of, such as a service or a region.
|
|
4
|
+
*
|
|
5
|
+
* A component belongs to your organisation rather than to a page, and can appear on any number of status pages. Each page's structure decides which pages show it, and where. This resource creates and maintains the component; placing it on a page is `incident.StatusPageStructure`'s job. Look a page up with the `incident.getStatusPage` data source.
|
|
6
|
+
*
|
|
7
|
+
* The API key needs the "Configure status pages" permission. Deleting a component archives it. incident.io refuses to archive a component while a page's structure still places it, or while an incident, maintenance window or subscription still refers to it. Remove it from those first.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as incident from "@incident-io/pulumi";
|
|
14
|
+
*
|
|
15
|
+
* // A component is something a status page reports the status of. It belongs to your
|
|
16
|
+
* // organisation rather than to a page. Each page's structure in the dashboard decides which
|
|
17
|
+
* // pages show it, so creating one here doesn't put it on a page yet.
|
|
18
|
+
* const api = new incident.StatusPageComponent("api", {
|
|
19
|
+
* name: "API",
|
|
20
|
+
* description: "The public REST API",
|
|
21
|
+
* });
|
|
22
|
+
* // The description is optional. Drop the attribute to clear one.
|
|
23
|
+
* const dashboard = new incident.StatusPageComponent("dashboard", {name: "Dashboard"});
|
|
24
|
+
* // Terraform claims what it manages, so a component can't be edited in the dashboard. Set
|
|
25
|
+
* // unlock_in_dashboard to leave it editable there, and ignore the attributes people change.
|
|
26
|
+
* const editedByHand = new incident.StatusPageComponent("edited_by_hand", {
|
|
27
|
+
* name: "Email delivery",
|
|
28
|
+
* unlockInDashboard: true,
|
|
29
|
+
* }, {
|
|
30
|
+
* ignoreChanges: ["description"],
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Import is supported using an `import` block or the `pulumi import` command:
|
|
37
|
+
*
|
|
38
|
+
* The `pulumi import` command can be used, for example:
|
|
39
|
+
*
|
|
40
|
+
* !/bin/bash
|
|
41
|
+
*
|
|
42
|
+
* Import a status page component using its ID
|
|
43
|
+
* Replace the ID with a real ID from your incident.io organization
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import incident:index/statusPageComponent:StatusPageComponent example 01ABC123DEF456GHI789JKL
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare class StatusPageComponent extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing StatusPageComponent resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StatusPageComponentState, opts?: pulumi.CustomResourceOptions): StatusPageComponent;
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of StatusPageComponent. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj: any): obj is StatusPageComponent;
|
|
65
|
+
/**
|
|
66
|
+
* Optional short description of this component
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Human-readable name for the component
|
|
71
|
+
*/
|
|
72
|
+
readonly name: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
75
|
+
*/
|
|
76
|
+
readonly unlockInDashboard: pulumi.Output<boolean | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a StatusPageComponent resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args?: StatusPageComponentArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering StatusPageComponent resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface StatusPageComponentState {
|
|
90
|
+
/**
|
|
91
|
+
* Optional short description of this component
|
|
92
|
+
*/
|
|
93
|
+
description?: pulumi.Input<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Human-readable name for the component
|
|
96
|
+
*/
|
|
97
|
+
name?: pulumi.Input<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
100
|
+
*/
|
|
101
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The set of arguments for constructing a StatusPageComponent resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface StatusPageComponentArgs {
|
|
107
|
+
/**
|
|
108
|
+
* Optional short description of this component
|
|
109
|
+
*/
|
|
110
|
+
description?: pulumi.Input<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Human-readable name for the component
|
|
113
|
+
*/
|
|
114
|
+
name?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Whether to leave this resource unlocked in the incident.io dashboard, so people can edit it there. Defaults to `false`: Terraform claims what it manages, and a claimed resource cannot be edited in the dashboard. Set it to `true` to leave the resource unclaimed — pair that with `lifecycle { ignoreChanges = [...] }` naming the attributes people edit, or the next apply reverts them. Setting it on a resource Terraform already claimed hands that resource back, and someone disconnecting one in the dashboard shows as no change.
|
|
117
|
+
*/
|
|
118
|
+
unlockInDashboard?: pulumi.Input<boolean | undefined>;
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=statusPageComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statusPageComponent.d.ts","sourceRoot":"","sources":["../statusPageComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAE9E;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAkBhG;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,123 @@
|
|
|
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.StatusPageComponent = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a status page component: something a status page reports the status of, such as a service or a region.
|
|
33
|
+
*
|
|
34
|
+
* A component belongs to your organisation rather than to a page, and can appear on any number of status pages. Each page's structure decides which pages show it, and where. This resource creates and maintains the component; placing it on a page is `incident.StatusPageStructure`'s job. Look a page up with the `incident.getStatusPage` data source.
|
|
35
|
+
*
|
|
36
|
+
* The API key needs the "Configure status pages" permission. Deleting a component archives it. incident.io refuses to archive a component while a page's structure still places it, or while an incident, maintenance window or subscription still refers to it. Remove it from those first.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as incident from "@incident-io/pulumi";
|
|
43
|
+
*
|
|
44
|
+
* // A component is something a status page reports the status of. It belongs to your
|
|
45
|
+
* // organisation rather than to a page. Each page's structure in the dashboard decides which
|
|
46
|
+
* // pages show it, so creating one here doesn't put it on a page yet.
|
|
47
|
+
* const api = new incident.StatusPageComponent("api", {
|
|
48
|
+
* name: "API",
|
|
49
|
+
* description: "The public REST API",
|
|
50
|
+
* });
|
|
51
|
+
* // The description is optional. Drop the attribute to clear one.
|
|
52
|
+
* const dashboard = new incident.StatusPageComponent("dashboard", {name: "Dashboard"});
|
|
53
|
+
* // Terraform claims what it manages, so a component can't be edited in the dashboard. Set
|
|
54
|
+
* // unlock_in_dashboard to leave it editable there, and ignore the attributes people change.
|
|
55
|
+
* const editedByHand = new incident.StatusPageComponent("edited_by_hand", {
|
|
56
|
+
* name: "Email delivery",
|
|
57
|
+
* unlockInDashboard: true,
|
|
58
|
+
* }, {
|
|
59
|
+
* ignoreChanges: ["description"],
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* ## Import
|
|
64
|
+
*
|
|
65
|
+
* Import is supported using an `import` block or the `pulumi import` command:
|
|
66
|
+
*
|
|
67
|
+
* The `pulumi import` command can be used, for example:
|
|
68
|
+
*
|
|
69
|
+
* !/bin/bash
|
|
70
|
+
*
|
|
71
|
+
* Import a status page component using its ID
|
|
72
|
+
* Replace the ID with a real ID from your incident.io organization
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import incident:index/statusPageComponent:StatusPageComponent example 01ABC123DEF456GHI789JKL
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
class StatusPageComponent extends pulumi.CustomResource {
|
|
79
|
+
/**
|
|
80
|
+
* Get an existing StatusPageComponent resource's state with the given name, ID, and optional extra
|
|
81
|
+
* properties used to qualify the lookup.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resulting resource.
|
|
84
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
85
|
+
* @param state Any extra arguments used during the lookup.
|
|
86
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
87
|
+
*/
|
|
88
|
+
static get(name, id, state, opts) {
|
|
89
|
+
return new StatusPageComponent(name, state, { ...opts, id: id });
|
|
90
|
+
}
|
|
91
|
+
/** @internal */
|
|
92
|
+
static __pulumiType = 'incident:index/statusPageComponent:StatusPageComponent';
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if the given object is an instance of StatusPageComponent. This is designed to work even
|
|
95
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
96
|
+
*/
|
|
97
|
+
static isInstance(obj) {
|
|
98
|
+
if (obj === undefined || obj === null) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
return obj['__pulumiType'] === StatusPageComponent.__pulumiType;
|
|
102
|
+
}
|
|
103
|
+
constructor(name, argsOrState, opts) {
|
|
104
|
+
let resourceInputs = {};
|
|
105
|
+
opts = opts || {};
|
|
106
|
+
if (opts.id) {
|
|
107
|
+
const state = argsOrState;
|
|
108
|
+
resourceInputs["description"] = state?.description;
|
|
109
|
+
resourceInputs["name"] = state?.name;
|
|
110
|
+
resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
const args = argsOrState;
|
|
114
|
+
resourceInputs["description"] = args?.description;
|
|
115
|
+
resourceInputs["name"] = args?.name;
|
|
116
|
+
resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
|
|
117
|
+
}
|
|
118
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
119
|
+
super(StatusPageComponent.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.StatusPageComponent = StatusPageComponent;
|
|
123
|
+
//# sourceMappingURL=statusPageComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statusPageComponent.js","sourceRoot":"","sources":["../statusPageComponent.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wDAAwD,CAAC;IAE/F;;;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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,EAAE,iBAAiB,C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