@incident-io/pulumi 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/README.md +69 -0
- package/alertAttribute.d.ts +230 -0
- package/alertAttribute.d.ts.map +1 -0
- package/alertAttribute.js +219 -0
- package/alertAttribute.js.map +1 -0
- package/alertRoute.d.ts +511 -0
- package/alertRoute.d.ts.map +1 -0
- package/alertRoute.js +432 -0
- package/alertRoute.js.map +1 -0
- package/alertSource.d.ts +347 -0
- package/alertSource.d.ts.map +1 -0
- package/alertSource.js +241 -0
- package/alertSource.js.map +1 -0
- package/alertSourceAttribute.d.ts +180 -0
- package/alertSourceAttribute.d.ts.map +1 -0
- package/alertSourceAttribute.js +107 -0
- package/alertSourceAttribute.js.map +1 -0
- package/alertSourceAttributeBeta.d.ts +188 -0
- package/alertSourceAttributeBeta.d.ts.map +1 -0
- package/alertSourceAttributeBeta.js +115 -0
- package/alertSourceAttributeBeta.js.map +1 -0
- package/alertSourceBeta.d.ts +244 -0
- package/alertSourceBeta.d.ts.map +1 -0
- package/alertSourceBeta.js +138 -0
- package/alertSourceBeta.js.map +1 -0
- package/apiKey.d.ts +276 -0
- package/apiKey.d.ts.map +1 -0
- package/apiKey.js +211 -0
- package/apiKey.js.map +1 -0
- package/catalogEntries.d.ts +241 -0
- package/catalogEntries.d.ts.map +1 -0
- package/catalogEntries.js +242 -0
- package/catalogEntries.js.map +1 -0
- package/catalogEntry.d.ts +183 -0
- package/catalogEntry.d.ts.map +1 -0
- package/catalogEntry.js +159 -0
- package/catalogEntry.js.map +1 -0
- package/catalogType.d.ts +169 -0
- package/catalogType.d.ts.map +1 -0
- package/catalogType.js +132 -0
- package/catalogType.js.map +1 -0
- package/catalogTypeAttribute.d.ts +190 -0
- package/catalogTypeAttribute.d.ts.map +1 -0
- package/catalogTypeAttribute.js +153 -0
- package/catalogTypeAttribute.js.map +1 -0
- package/config/index.d.ts +2 -0
- package/config/index.d.ts.map +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +13 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +49 -0
- package/config/vars.js.map +1 -0
- package/customField.d.ts +260 -0
- package/customField.d.ts.map +1 -0
- package/customField.js +226 -0
- package/customField.js.map +1 -0
- package/customFieldOption.d.ts +107 -0
- package/customFieldOption.d.ts.map +1 -0
- package/customFieldOption.js +116 -0
- package/customFieldOption.js.map +1 -0
- package/escalationPath.d.ts +257 -0
- package/escalationPath.d.ts.map +1 -0
- package/escalationPath.js +228 -0
- package/escalationPath.js.map +1 -0
- package/escalationPathBeta.d.ts +134 -0
- package/escalationPathBeta.d.ts.map +1 -0
- package/escalationPathBeta.js +105 -0
- package/escalationPathBeta.js.map +1 -0
- package/getAlertAttribute.d.ts +81 -0
- package/getAlertAttribute.d.ts.map +1 -0
- package/getAlertAttribute.js +75 -0
- package/getAlertAttribute.js.map +1 -0
- package/getAlertSource.d.ts +169 -0
- package/getAlertSource.d.ts.map +1 -0
- package/getAlertSource.js +103 -0
- package/getAlertSource.js.map +1 -0
- package/getAlertSourceAttribute.d.ts +131 -0
- package/getAlertSourceAttribute.d.ts.map +1 -0
- package/getAlertSourceAttribute.js +85 -0
- package/getAlertSourceAttribute.js.map +1 -0
- package/getAlertSourceAttributeBeta.d.ts +131 -0
- package/getAlertSourceAttributeBeta.d.ts.map +1 -0
- package/getAlertSourceAttributeBeta.js +85 -0
- package/getAlertSourceAttributeBeta.js.map +1 -0
- package/getApiKey.d.ts +167 -0
- package/getApiKey.d.ts.map +1 -0
- package/getApiKey.js +145 -0
- package/getApiKey.js.map +1 -0
- package/getCatalogEntry.d.ts +77 -0
- package/getCatalogEntry.d.ts.map +1 -0
- package/getCatalogEntry.js +59 -0
- package/getCatalogEntry.js.map +1 -0
- package/getCatalogType.d.ts +163 -0
- package/getCatalogType.d.ts.map +1 -0
- package/getCatalogType.js +135 -0
- package/getCatalogType.js.map +1 -0
- package/getCatalogTypeAttribute.d.ts +73 -0
- package/getCatalogTypeAttribute.d.ts.map +1 -0
- package/getCatalogTypeAttribute.js +53 -0
- package/getCatalogTypeAttribute.js.map +1 -0
- package/getCustomField.d.ts +67 -0
- package/getCustomField.d.ts.map +1 -0
- package/getCustomField.js +51 -0
- package/getCustomField.js.map +1 -0
- package/getCustomFieldOption.d.ts +65 -0
- package/getCustomFieldOption.d.ts.map +1 -0
- package/getCustomFieldOption.js +55 -0
- package/getCustomFieldOption.js.map +1 -0
- package/getEscalationPath.d.ts +100 -0
- package/getEscalationPath.d.ts.map +1 -0
- package/getEscalationPath.js +83 -0
- package/getEscalationPath.js.map +1 -0
- package/getEscalationPathBeta.d.ts +100 -0
- package/getEscalationPathBeta.d.ts.map +1 -0
- package/getEscalationPathBeta.js +83 -0
- package/getEscalationPathBeta.js.map +1 -0
- package/getIncidentRole.d.ts +111 -0
- package/getIncidentRole.d.ts.map +1 -0
- package/getIncidentRole.js +105 -0
- package/getIncidentRole.js.map +1 -0
- package/getIncidentTemplate.d.ts +98 -0
- package/getIncidentTemplate.d.ts.map +1 -0
- package/getIncidentTemplate.js +95 -0
- package/getIncidentTemplate.js.map +1 -0
- package/getIncidentTimestamp.d.ts +107 -0
- package/getIncidentTimestamp.d.ts.map +1 -0
- package/getIncidentTimestamp.js +109 -0
- package/getIncidentTimestamp.js.map +1 -0
- package/getIncidentType.d.ts +121 -0
- package/getIncidentType.d.ts.map +1 -0
- package/getIncidentType.js +107 -0
- package/getIncidentType.js.map +1 -0
- package/getIpAllowlist.d.ts +62 -0
- package/getIpAllowlist.d.ts.map +1 -0
- package/getIpAllowlist.js +77 -0
- package/getIpAllowlist.js.map +1 -0
- package/getPolicy.d.ts +97 -0
- package/getPolicy.d.ts.map +1 -0
- package/getPolicy.js +91 -0
- package/getPolicy.js.map +1 -0
- package/getRichText.d.ts +111 -0
- package/getRichText.d.ts.map +1 -0
- package/getRichText.js +107 -0
- package/getRichText.js.map +1 -0
- package/getSchedule.d.ts +89 -0
- package/getSchedule.d.ts.map +1 -0
- package/getSchedule.js +87 -0
- package/getSchedule.js.map +1 -0
- package/getScheduleBeta.d.ts +85 -0
- package/getScheduleBeta.d.ts.map +1 -0
- package/getScheduleBeta.js +83 -0
- package/getScheduleBeta.js.map +1 -0
- package/getScheduleReplica.d.ts +116 -0
- package/getScheduleReplica.d.ts.map +1 -0
- package/getScheduleReplica.js +79 -0
- package/getScheduleReplica.js.map +1 -0
- package/getScheduleRotation.d.ts +166 -0
- package/getScheduleRotation.d.ts.map +1 -0
- package/getScheduleRotation.js +127 -0
- package/getScheduleRotation.js.map +1 -0
- package/getScheduleRotationBeta.d.ts +122 -0
- package/getScheduleRotationBeta.d.ts.map +1 -0
- package/getScheduleRotationBeta.js +83 -0
- package/getScheduleRotationBeta.js.map +1 -0
- package/getScheduleSyncRule.d.ts +91 -0
- package/getScheduleSyncRule.d.ts.map +1 -0
- package/getScheduleSyncRule.js +79 -0
- package/getScheduleSyncRule.js.map +1 -0
- package/getScheduleSyncTarget.d.ts +100 -0
- package/getScheduleSyncTarget.d.ts.map +1 -0
- package/getScheduleSyncTarget.js +93 -0
- package/getScheduleSyncTarget.js.map +1 -0
- package/getSecret.d.ts +115 -0
- package/getSecret.d.ts.map +1 -0
- package/getSecret.js +97 -0
- package/getSecret.js.map +1 -0
- package/getSeverity.d.ts +117 -0
- package/getSeverity.d.ts.map +1 -0
- package/getSeverity.js +115 -0
- package/getSeverity.js.map +1 -0
- package/getStatus.d.ts +125 -0
- package/getStatus.d.ts.map +1 -0
- package/getStatus.js +119 -0
- package/getStatus.js.map +1 -0
- package/getUser.d.ts +52 -0
- package/getUser.d.ts.map +1 -0
- package/getUser.js +61 -0
- package/getUser.js.map +1 -0
- package/getWorkflow.d.ts +103 -0
- package/getWorkflow.d.ts.map +1 -0
- package/getWorkflow.js +77 -0
- package/getWorkflow.js.map +1 -0
- package/incidentRole.d.ts +109 -0
- package/incidentRole.d.ts.map +1 -0
- package/incidentRole.js +111 -0
- package/incidentRole.js.map +1 -0
- package/incidentTemplate.d.ts +200 -0
- package/incidentTemplate.d.ts.map +1 -0
- package/incidentTemplate.js +207 -0
- package/incidentTemplate.js.map +1 -0
- package/index.d.ts +188 -0
- package/index.d.ts.map +1 -0
- package/index.js +303 -0
- package/index.js.map +1 -0
- package/maintenanceWindow.d.ts +255 -0
- package/maintenanceWindow.d.ts.map +1 -0
- package/maintenanceWindow.js +148 -0
- package/maintenanceWindow.js.map +1 -0
- package/package.json +33 -0
- package/policy.d.ts +476 -0
- package/policy.d.ts.map +1 -0
- package/policy.js +387 -0
- package/policy.js.map +1 -0
- package/provider.d.ts +62 -0
- package/provider.d.ts.map +1 -0
- package/provider.js +80 -0
- package/provider.js.map +1 -0
- package/schedule.d.ts +120 -0
- package/schedule.d.ts.map +1 -0
- package/schedule.js +114 -0
- package/schedule.js.map +1 -0
- package/scheduleBeta.d.ts +104 -0
- package/scheduleBeta.d.ts.map +1 -0
- package/scheduleBeta.js +98 -0
- package/scheduleBeta.js.map +1 -0
- package/scheduleReplica.d.ts +178 -0
- package/scheduleReplica.d.ts.map +1 -0
- package/scheduleReplica.js +134 -0
- package/scheduleReplica.js.map +1 -0
- package/scheduleRotation.d.ts +287 -0
- package/scheduleRotation.d.ts.map +1 -0
- package/scheduleRotation.js +224 -0
- package/scheduleRotation.js.map +1 -0
- package/scheduleRotationBeta.d.ts +184 -0
- package/scheduleRotationBeta.d.ts.map +1 -0
- package/scheduleRotationBeta.js +121 -0
- package/scheduleRotationBeta.js.map +1 -0
- package/scheduleSyncRule.d.ts +154 -0
- package/scheduleSyncRule.d.ts.map +1 -0
- package/scheduleSyncRule.js +146 -0
- package/scheduleSyncRule.js.map +1 -0
- package/scheduleSyncTarget.d.ts +108 -0
- package/scheduleSyncTarget.d.ts.map +1 -0
- package/scheduleSyncTarget.js +106 -0
- package/scheduleSyncTarget.js.map +1 -0
- package/secret.d.ts +276 -0
- package/secret.d.ts.map +1 -0
- package/secret.js +234 -0
- package/secret.js.map +1 -0
- package/severity.d.ts +96 -0
- package/severity.d.ts.map +1 -0
- package/severity.js +102 -0
- package/severity.js.map +1 -0
- package/status.d.ts +121 -0
- package/status.d.ts.map +1 -0
- package/status.js +120 -0
- package/status.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +34 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +23630 -0
- package/types/input.d.ts.map +1 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +19726 -0
- package/types/output.d.ts.map +1 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +5 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +114 -0
- package/utilities.js.map +1 -0
- package/workflow.d.ts +736 -0
- package/workflow.d.ts.map +1 -0
- package/workflow.js +608 -0
- package/workflow.js.map +1 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* `incident.AlertSourceBeta` was renamed to `incident.AlertSource` in v7.0.
|
|
6
|
+
*
|
|
7
|
+
* This name still works and still manages the same thing, so upgrading to v7 needs no change
|
|
8
|
+
* to a configuration that uses it. It is deprecated: every plan naming it warns, and it will
|
|
9
|
+
* be removed in v8.0.
|
|
10
|
+
*
|
|
11
|
+
* To move onto the new name:
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* Both names are the same resource, backed by the same schema and the same API, so the move
|
|
18
|
+
* carries your state across and the plan after it is empty. See `incident.AlertSource` for the
|
|
19
|
+
* documentation.
|
|
20
|
+
*/
|
|
21
|
+
export declare class AlertSourceBeta extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing AlertSourceBeta resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertSourceBetaState, opts?: pulumi.CustomResourceOptions): AlertSourceBeta;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of AlertSourceBeta. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is AlertSourceBeta;
|
|
37
|
+
/**
|
|
38
|
+
* The URL to send alert events to
|
|
39
|
+
*/
|
|
40
|
+
readonly alertEventsUrl: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Whether alerts from this source keep counting down to auto-resolve while attached to an incident. Defaults to true. Has no effect without auto*resolve*timeout_minutes.
|
|
43
|
+
*/
|
|
44
|
+
readonly autoResolveIncidentAlerts: pulumi.Output<boolean>;
|
|
45
|
+
/**
|
|
46
|
+
* How long to wait before automatically resolving alerts from this source
|
|
47
|
+
*/
|
|
48
|
+
readonly autoResolveTimeoutMinutes: pulumi.Output<number | undefined>;
|
|
49
|
+
readonly description: pulumi.Output<outputs.AlertSourceBetaDescription | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* Whether monitoring is paused for this source. Only returned for source types that support being disabled.
|
|
52
|
+
*/
|
|
53
|
+
readonly disabled: pulumi.Output<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* Email address this alert source receives alerts to
|
|
56
|
+
*/
|
|
57
|
+
readonly emailAddress: pulumi.Output<string>;
|
|
58
|
+
readonly emailOptions: pulumi.Output<outputs.AlertSourceBetaEmailOptions | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Conditions an incoming event must match to be ingested from this source, evaluated against the event's payload and this source's expressions.
|
|
61
|
+
*/
|
|
62
|
+
readonly filterConditionGroups: pulumi.Output<outputs.AlertSourceBetaFilterConditionGroup[] | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* When set, the team every alert from this source is attributed to. The team attribute is managed from this field: it is not returned by the attribute endpoints and cannot be bound directly. While set, an `incident.AlertSourceAttribute` resource binding the organisation's team attribute is rejected at apply time: the binding is managed from this field.
|
|
65
|
+
*/
|
|
66
|
+
readonly fixedTeamId: pulumi.Output<string | undefined>;
|
|
67
|
+
readonly heartbeatOptions: pulumi.Output<outputs.AlertSourceBetaHeartbeatOptions | undefined>;
|
|
68
|
+
readonly httpCustomOptions: pulumi.Output<outputs.AlertSourceBetaHttpCustomOptions | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Whether alerts from this source are private
|
|
71
|
+
*/
|
|
72
|
+
readonly isPrivate: pulumi.Output<boolean>;
|
|
73
|
+
readonly jiraOptions: pulumi.Output<outputs.AlertSourceBetaJiraOptions | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of this alert source, for the user's reference
|
|
76
|
+
*/
|
|
77
|
+
readonly name: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* An expression this resource owns, addressed by name.
|
|
80
|
+
*/
|
|
81
|
+
readonly namedExpressions: pulumi.Output<outputs.AlertSourceBetaNamedExpression[] | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* IDs of the teams that own this alert source
|
|
84
|
+
*/
|
|
85
|
+
readonly owningTeamIds: pulumi.Output<string[] | undefined>;
|
|
86
|
+
readonly priority: pulumi.Output<outputs.AlertSourceBetaPriority | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Controls how this source's ingest rate limit is split into buckets.
|
|
89
|
+
*/
|
|
90
|
+
readonly rateLimitSharding: pulumi.Output<outputs.AlertSourceBetaRateLimitSharding | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The token to use when sending alerts to this source. Only returned to callers with permission to update the source.
|
|
93
|
+
*/
|
|
94
|
+
readonly secretToken: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
97
|
+
*/
|
|
98
|
+
readonly sourceType: pulumi.Output<string>;
|
|
99
|
+
readonly title: pulumi.Output<outputs.AlertSourceBetaTitle | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* The source's current version, which increments on every write. Pass it back as expectedVersion to reject a write built from a stale read.
|
|
102
|
+
*/
|
|
103
|
+
readonly version: pulumi.Output<number>;
|
|
104
|
+
readonly visibleToTeams: pulumi.Output<outputs.AlertSourceBetaVisibleToTeams | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a AlertSourceBeta resource with the given unique name, arguments, and options.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resource.
|
|
109
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
110
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
111
|
+
*/
|
|
112
|
+
constructor(name: string, args: AlertSourceBetaArgs, opts?: pulumi.CustomResourceOptions);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Input properties used for looking up and filtering AlertSourceBeta resources.
|
|
116
|
+
*/
|
|
117
|
+
export interface AlertSourceBetaState {
|
|
118
|
+
/**
|
|
119
|
+
* The URL to send alert events to
|
|
120
|
+
*/
|
|
121
|
+
alertEventsUrl?: pulumi.Input<string | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* Whether alerts from this source keep counting down to auto-resolve while attached to an incident. Defaults to true. Has no effect without auto*resolve*timeout_minutes.
|
|
124
|
+
*/
|
|
125
|
+
autoResolveIncidentAlerts?: pulumi.Input<boolean | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* How long to wait before automatically resolving alerts from this source
|
|
128
|
+
*/
|
|
129
|
+
autoResolveTimeoutMinutes?: pulumi.Input<number | undefined>;
|
|
130
|
+
description?: pulumi.Input<inputs.AlertSourceBetaDescription | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Whether monitoring is paused for this source. Only returned for source types that support being disabled.
|
|
133
|
+
*/
|
|
134
|
+
disabled?: pulumi.Input<boolean | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Email address this alert source receives alerts to
|
|
137
|
+
*/
|
|
138
|
+
emailAddress?: pulumi.Input<string | undefined>;
|
|
139
|
+
emailOptions?: pulumi.Input<inputs.AlertSourceBetaEmailOptions | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* Conditions an incoming event must match to be ingested from this source, evaluated against the event's payload and this source's expressions.
|
|
142
|
+
*/
|
|
143
|
+
filterConditionGroups?: pulumi.Input<pulumi.Input<inputs.AlertSourceBetaFilterConditionGroup>[] | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* When set, the team every alert from this source is attributed to. The team attribute is managed from this field: it is not returned by the attribute endpoints and cannot be bound directly. While set, an `incident.AlertSourceAttribute` resource binding the organisation's team attribute is rejected at apply time: the binding is managed from this field.
|
|
146
|
+
*/
|
|
147
|
+
fixedTeamId?: pulumi.Input<string | undefined>;
|
|
148
|
+
heartbeatOptions?: pulumi.Input<inputs.AlertSourceBetaHeartbeatOptions | undefined>;
|
|
149
|
+
httpCustomOptions?: pulumi.Input<inputs.AlertSourceBetaHttpCustomOptions | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* Whether alerts from this source are private
|
|
152
|
+
*/
|
|
153
|
+
isPrivate?: pulumi.Input<boolean | undefined>;
|
|
154
|
+
jiraOptions?: pulumi.Input<inputs.AlertSourceBetaJiraOptions | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* The name of this alert source, for the user's reference
|
|
157
|
+
*/
|
|
158
|
+
name?: pulumi.Input<string | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* An expression this resource owns, addressed by name.
|
|
161
|
+
*/
|
|
162
|
+
namedExpressions?: pulumi.Input<pulumi.Input<inputs.AlertSourceBetaNamedExpression>[] | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* IDs of the teams that own this alert source
|
|
165
|
+
*/
|
|
166
|
+
owningTeamIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
167
|
+
priority?: pulumi.Input<inputs.AlertSourceBetaPriority | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Controls how this source's ingest rate limit is split into buckets.
|
|
170
|
+
*/
|
|
171
|
+
rateLimitSharding?: pulumi.Input<inputs.AlertSourceBetaRateLimitSharding | undefined>;
|
|
172
|
+
/**
|
|
173
|
+
* The token to use when sending alerts to this source. Only returned to callers with permission to update the source.
|
|
174
|
+
*/
|
|
175
|
+
secretToken?: pulumi.Input<string | undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
178
|
+
*/
|
|
179
|
+
sourceType?: pulumi.Input<string | undefined>;
|
|
180
|
+
title?: pulumi.Input<inputs.AlertSourceBetaTitle | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* The source's current version, which increments on every write. Pass it back as expectedVersion to reject a write built from a stale read.
|
|
183
|
+
*/
|
|
184
|
+
version?: pulumi.Input<number | undefined>;
|
|
185
|
+
visibleToTeams?: pulumi.Input<inputs.AlertSourceBetaVisibleToTeams | undefined>;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The set of arguments for constructing a AlertSourceBeta resource.
|
|
189
|
+
*/
|
|
190
|
+
export interface AlertSourceBetaArgs {
|
|
191
|
+
/**
|
|
192
|
+
* Whether alerts from this source keep counting down to auto-resolve while attached to an incident. Defaults to true. Has no effect without auto*resolve*timeout_minutes.
|
|
193
|
+
*/
|
|
194
|
+
autoResolveIncidentAlerts?: pulumi.Input<boolean | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* How long to wait before automatically resolving alerts from this source
|
|
197
|
+
*/
|
|
198
|
+
autoResolveTimeoutMinutes?: pulumi.Input<number | undefined>;
|
|
199
|
+
description?: pulumi.Input<inputs.AlertSourceBetaDescription | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* Whether monitoring is paused for this source. Only returned for source types that support being disabled.
|
|
202
|
+
*/
|
|
203
|
+
disabled?: pulumi.Input<boolean | undefined>;
|
|
204
|
+
emailOptions?: pulumi.Input<inputs.AlertSourceBetaEmailOptions | undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* Conditions an incoming event must match to be ingested from this source, evaluated against the event's payload and this source's expressions.
|
|
207
|
+
*/
|
|
208
|
+
filterConditionGroups?: pulumi.Input<pulumi.Input<inputs.AlertSourceBetaFilterConditionGroup>[] | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* When set, the team every alert from this source is attributed to. The team attribute is managed from this field: it is not returned by the attribute endpoints and cannot be bound directly. While set, an `incident.AlertSourceAttribute` resource binding the organisation's team attribute is rejected at apply time: the binding is managed from this field.
|
|
211
|
+
*/
|
|
212
|
+
fixedTeamId?: pulumi.Input<string | undefined>;
|
|
213
|
+
heartbeatOptions?: pulumi.Input<inputs.AlertSourceBetaHeartbeatOptions | undefined>;
|
|
214
|
+
httpCustomOptions?: pulumi.Input<inputs.AlertSourceBetaHttpCustomOptions | undefined>;
|
|
215
|
+
/**
|
|
216
|
+
* Whether alerts from this source are private
|
|
217
|
+
*/
|
|
218
|
+
isPrivate?: pulumi.Input<boolean | undefined>;
|
|
219
|
+
jiraOptions?: pulumi.Input<inputs.AlertSourceBetaJiraOptions | undefined>;
|
|
220
|
+
/**
|
|
221
|
+
* The name of this alert source, for the user's reference
|
|
222
|
+
*/
|
|
223
|
+
name?: pulumi.Input<string | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* An expression this resource owns, addressed by name.
|
|
226
|
+
*/
|
|
227
|
+
namedExpressions?: pulumi.Input<pulumi.Input<inputs.AlertSourceBetaNamedExpression>[] | undefined>;
|
|
228
|
+
/**
|
|
229
|
+
* IDs of the teams that own this alert source
|
|
230
|
+
*/
|
|
231
|
+
owningTeamIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
232
|
+
priority?: pulumi.Input<inputs.AlertSourceBetaPriority | undefined>;
|
|
233
|
+
/**
|
|
234
|
+
* Controls how this source's ingest rate limit is split into buckets.
|
|
235
|
+
*/
|
|
236
|
+
rateLimitSharding?: pulumi.Input<inputs.AlertSourceBetaRateLimitSharding | undefined>;
|
|
237
|
+
/**
|
|
238
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
239
|
+
*/
|
|
240
|
+
sourceType: pulumi.Input<string>;
|
|
241
|
+
title?: pulumi.Input<inputs.AlertSourceBetaTitle | undefined>;
|
|
242
|
+
visibleToTeams?: pulumi.Input<inputs.AlertSourceBetaVisibleToTeams | undefined>;
|
|
243
|
+
}
|
|
244
|
+
//# sourceMappingURL=alertSourceBeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alertSourceBeta.d.ts","sourceRoot":"","sources":["../alertSourceBeta.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,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAOhJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;OAEG;IACH,SAAgC,cAA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AM,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC9D,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;CACnF"}
|
|
@@ -0,0 +1,138 @@
|
|
|
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.AlertSourceBeta = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* `incident.AlertSourceBeta` was renamed to `incident.AlertSource` in v7.0.
|
|
33
|
+
*
|
|
34
|
+
* This name still works and still manages the same thing, so upgrading to v7 needs no change
|
|
35
|
+
* to a configuration that uses it. It is deprecated: every plan naming it warns, and it will
|
|
36
|
+
* be removed in v8.0.
|
|
37
|
+
*
|
|
38
|
+
* To move onto the new name:
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* Both names are the same resource, backed by the same schema and the same API, so the move
|
|
45
|
+
* carries your state across and the plan after it is empty. See `incident.AlertSource` for the
|
|
46
|
+
* documentation.
|
|
47
|
+
*/
|
|
48
|
+
class AlertSourceBeta extends pulumi.CustomResource {
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing AlertSourceBeta resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new AlertSourceBeta(name, state, { ...opts, id: id });
|
|
60
|
+
}
|
|
61
|
+
/** @internal */
|
|
62
|
+
static __pulumiType = 'incident:index/alertSourceBeta:AlertSourceBeta';
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of AlertSourceBeta. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === AlertSourceBeta.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
constructor(name, argsOrState, opts) {
|
|
74
|
+
let resourceInputs = {};
|
|
75
|
+
opts = opts || {};
|
|
76
|
+
if (opts.id) {
|
|
77
|
+
const state = argsOrState;
|
|
78
|
+
resourceInputs["alertEventsUrl"] = state?.alertEventsUrl;
|
|
79
|
+
resourceInputs["autoResolveIncidentAlerts"] = state?.autoResolveIncidentAlerts;
|
|
80
|
+
resourceInputs["autoResolveTimeoutMinutes"] = state?.autoResolveTimeoutMinutes;
|
|
81
|
+
resourceInputs["description"] = state?.description;
|
|
82
|
+
resourceInputs["disabled"] = state?.disabled;
|
|
83
|
+
resourceInputs["emailAddress"] = state?.emailAddress;
|
|
84
|
+
resourceInputs["emailOptions"] = state?.emailOptions;
|
|
85
|
+
resourceInputs["filterConditionGroups"] = state?.filterConditionGroups;
|
|
86
|
+
resourceInputs["fixedTeamId"] = state?.fixedTeamId;
|
|
87
|
+
resourceInputs["heartbeatOptions"] = state?.heartbeatOptions;
|
|
88
|
+
resourceInputs["httpCustomOptions"] = state?.httpCustomOptions;
|
|
89
|
+
resourceInputs["isPrivate"] = state?.isPrivate;
|
|
90
|
+
resourceInputs["jiraOptions"] = state?.jiraOptions;
|
|
91
|
+
resourceInputs["name"] = state?.name;
|
|
92
|
+
resourceInputs["namedExpressions"] = state?.namedExpressions;
|
|
93
|
+
resourceInputs["owningTeamIds"] = state?.owningTeamIds;
|
|
94
|
+
resourceInputs["priority"] = state?.priority;
|
|
95
|
+
resourceInputs["rateLimitSharding"] = state?.rateLimitSharding;
|
|
96
|
+
resourceInputs["secretToken"] = state?.secretToken;
|
|
97
|
+
resourceInputs["sourceType"] = state?.sourceType;
|
|
98
|
+
resourceInputs["title"] = state?.title;
|
|
99
|
+
resourceInputs["version"] = state?.version;
|
|
100
|
+
resourceInputs["visibleToTeams"] = state?.visibleToTeams;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
const args = argsOrState;
|
|
104
|
+
if (args?.sourceType === undefined && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'sourceType'");
|
|
106
|
+
}
|
|
107
|
+
resourceInputs["autoResolveIncidentAlerts"] = args?.autoResolveIncidentAlerts;
|
|
108
|
+
resourceInputs["autoResolveTimeoutMinutes"] = args?.autoResolveTimeoutMinutes;
|
|
109
|
+
resourceInputs["description"] = args?.description;
|
|
110
|
+
resourceInputs["disabled"] = args?.disabled;
|
|
111
|
+
resourceInputs["emailOptions"] = args?.emailOptions;
|
|
112
|
+
resourceInputs["filterConditionGroups"] = args?.filterConditionGroups;
|
|
113
|
+
resourceInputs["fixedTeamId"] = args?.fixedTeamId;
|
|
114
|
+
resourceInputs["heartbeatOptions"] = args?.heartbeatOptions;
|
|
115
|
+
resourceInputs["httpCustomOptions"] = args?.httpCustomOptions;
|
|
116
|
+
resourceInputs["isPrivate"] = args?.isPrivate;
|
|
117
|
+
resourceInputs["jiraOptions"] = args?.jiraOptions;
|
|
118
|
+
resourceInputs["name"] = args?.name;
|
|
119
|
+
resourceInputs["namedExpressions"] = args?.namedExpressions;
|
|
120
|
+
resourceInputs["owningTeamIds"] = args?.owningTeamIds;
|
|
121
|
+
resourceInputs["priority"] = args?.priority;
|
|
122
|
+
resourceInputs["rateLimitSharding"] = args?.rateLimitSharding;
|
|
123
|
+
resourceInputs["sourceType"] = args?.sourceType;
|
|
124
|
+
resourceInputs["title"] = args?.title;
|
|
125
|
+
resourceInputs["visibleToTeams"] = args?.visibleToTeams;
|
|
126
|
+
resourceInputs["alertEventsUrl"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["emailAddress"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["secretToken"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
130
|
+
}
|
|
131
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
132
|
+
const secretOpts = { additionalSecretOutputs: ["secretToken"] };
|
|
133
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
134
|
+
super(AlertSourceBeta.__pulumiType, name, resourceInputs, opts);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.AlertSourceBeta = AlertSourceBeta;
|
|
138
|
+
//# sourceMappingURL=alertSourceBeta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alertSourceBeta.js","sourceRoot":"","sources":["../alertSourceBeta.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gDAAgD,CAAC;IAEvF;;;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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA+ED,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAA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