@pulumiverse/grafana 0.2.1-alpha.1709570924
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 +202 -0
- package/README.md +54 -0
- package/annotation.d.ts +151 -0
- package/annotation.js +79 -0
- package/annotation.js.map +1 -0
- package/apiKey.d.ts +77 -0
- package/apiKey.js +80 -0
- package/apiKey.js.map +1 -0
- package/cloudAccessPolicy.d.ts +156 -0
- package/cloudAccessPolicy.js +115 -0
- package/cloudAccessPolicy.js.map +1 -0
- package/cloudAccessPolicyToken.d.ts +151 -0
- package/cloudAccessPolicyToken.js +108 -0
- package/cloudAccessPolicyToken.js.map +1 -0
- package/cloudApiKey.d.ts +102 -0
- package/cloudApiKey.js +85 -0
- package/cloudApiKey.js.map +1 -0
- package/cloudPluginInstallation.d.ts +96 -0
- package/cloudPluginInstallation.js +86 -0
- package/cloudPluginInstallation.js.map +1 -0
- package/cloudStack.d.ts +291 -0
- package/cloudStack.js +142 -0
- package/cloudStack.js.map +1 -0
- package/cloudStackApiKey.d.ts +52 -0
- package/cloudStackApiKey.js +67 -0
- package/cloudStackApiKey.js.map +1 -0
- package/cloudStackServiceAccount.d.ts +97 -0
- package/cloudStackServiceAccount.js +80 -0
- package/cloudStackServiceAccount.js.map +1 -0
- package/cloudStackServiceAccountToken.d.ts +78 -0
- package/cloudStackServiceAccountToken.js +93 -0
- package/cloudStackServiceAccountToken.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +89 -0
- package/config/vars.js +131 -0
- package/config/vars.js.map +1 -0
- package/contactPoint.d.ts +310 -0
- package/contactPoint.js +119 -0
- package/contactPoint.js.map +1 -0
- package/dashboard.d.ts +154 -0
- package/dashboard.js +94 -0
- package/dashboard.js.map +1 -0
- package/dashboardPermission.d.ts +131 -0
- package/dashboardPermission.js +97 -0
- package/dashboardPermission.js.map +1 -0
- package/dataSource.d.ts +294 -0
- package/dataSource.js +164 -0
- package/dataSource.js.map +1 -0
- package/dataSourcePermission.d.ts +124 -0
- package/dataSourcePermission.js +109 -0
- package/dataSourcePermission.js.map +1 -0
- package/folder.d.ts +127 -0
- package/folder.js +95 -0
- package/folder.js.map +1 -0
- package/folderPermission.d.ts +106 -0
- package/folderPermission.js +91 -0
- package/folderPermission.js.map +1 -0
- package/getCloudIps.d.ts +56 -0
- package/getCloudIps.js +41 -0
- package/getCloudIps.js.map +1 -0
- package/getCloudOrganization.d.ts +37 -0
- package/getCloudOrganization.js +21 -0
- package/getCloudOrganization.js.map +1 -0
- package/getCloudStack.d.ts +130 -0
- package/getCloudStack.js +25 -0
- package/getCloudStack.js.map +1 -0
- package/getDashboard.d.ts +134 -0
- package/getDashboard.js +81 -0
- package/getDashboard.js.map +1 -0
- package/getDashboards.d.ts +74 -0
- package/getDashboards.js +36 -0
- package/getDashboards.js.map +1 -0
- package/getDataSource.d.ts +156 -0
- package/getDataSource.js +95 -0
- package/getDataSource.js.map +1 -0
- package/getFolder.d.ts +82 -0
- package/getFolder.js +59 -0
- package/getFolder.js.map +1 -0
- package/getFolders.d.ts +61 -0
- package/getFolders.js +61 -0
- package/getFolders.js.map +1 -0
- package/getLibraryPanel.d.ts +108 -0
- package/getLibraryPanel.js +28 -0
- package/getLibraryPanel.js.map +1 -0
- package/getOnCallSlackChannel.d.ts +66 -0
- package/getOnCallSlackChannel.js +47 -0
- package/getOnCallSlackChannel.js.map +1 -0
- package/getOncallAction.d.ts +46 -0
- package/getOncallAction.js +31 -0
- package/getOncallAction.js.map +1 -0
- package/getOncallEscalationChain.d.ts +62 -0
- package/getOncallEscalationChain.js +47 -0
- package/getOncallEscalationChain.js.map +1 -0
- package/getOncallOutgoingWebhook.d.ts +62 -0
- package/getOncallOutgoingWebhook.js +47 -0
- package/getOncallOutgoingWebhook.js.map +1 -0
- package/getOncallSchedule.d.ts +68 -0
- package/getOncallSchedule.js +49 -0
- package/getOncallSchedule.js.map +1 -0
- package/getOncallTeam.d.ts +60 -0
- package/getOncallTeam.js +43 -0
- package/getOncallTeam.js.map +1 -0
- package/getOncallUser.d.ts +70 -0
- package/getOncallUser.js +47 -0
- package/getOncallUser.js.map +1 -0
- package/getOncallUserGroup.d.ts +54 -0
- package/getOncallUserGroup.js +47 -0
- package/getOncallUserGroup.js.map +1 -0
- package/getOrganization.d.ts +94 -0
- package/getOrganization.js +67 -0
- package/getOrganization.js.map +1 -0
- package/getOrganizationPreferences.d.ts +62 -0
- package/getOrganizationPreferences.js +43 -0
- package/getOrganizationPreferences.js.map +1 -0
- package/getRole.d.ts +147 -0
- package/getRole.js +95 -0
- package/getRole.js.map +1 -0
- package/getSlos.d.ts +31 -0
- package/getSlos.js +31 -0
- package/getSlos.js.map +1 -0
- package/getSyntheticMonitoringProbe.d.ts +88 -0
- package/getSyntheticMonitoringProbe.js +47 -0
- package/getSyntheticMonitoringProbe.js.map +1 -0
- package/getSyntheticMonitoringProbes.d.ts +64 -0
- package/getSyntheticMonitoringProbes.js +44 -0
- package/getSyntheticMonitoringProbes.js.map +1 -0
- package/getTeam.d.ts +83 -0
- package/getTeam.js +67 -0
- package/getTeam.js.map +1 -0
- package/getUser.d.ts +128 -0
- package/getUser.js +84 -0
- package/getUser.js.map +1 -0
- package/getUsers.d.ts +61 -0
- package/getUsers.js +61 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +228 -0
- package/index.js +353 -0
- package/index.js.map +1 -0
- package/libraryPanel.d.ts +193 -0
- package/libraryPanel.js +103 -0
- package/libraryPanel.js.map +1 -0
- package/machineLearningHoliday.d.ts +103 -0
- package/machineLearningHoliday.js +62 -0
- package/machineLearningHoliday.js.map +1 -0
- package/machineLearningJob.d.ts +201 -0
- package/machineLearningJob.js +83 -0
- package/machineLearningJob.js.map +1 -0
- package/machineLearningOutlierDetector.d.ts +159 -0
- package/machineLearningOutlierDetector.js +84 -0
- package/machineLearningOutlierDetector.js.map +1 -0
- package/messageTemplate.d.ts +86 -0
- package/messageTemplate.js +80 -0
- package/messageTemplate.js.map +1 -0
- package/muteTiming.d.ts +106 -0
- package/muteTiming.js +95 -0
- package/muteTiming.js.map +1 -0
- package/notificationPolicy.d.ts +186 -0
- package/notificationPolicy.js +141 -0
- package/notificationPolicy.js.map +1 -0
- package/oncallEscalation.d.ts +227 -0
- package/oncallEscalation.js +124 -0
- package/oncallEscalation.js.map +1 -0
- package/oncallEscalationChain.d.ts +80 -0
- package/oncallEscalationChain.js +71 -0
- package/oncallEscalationChain.js.map +1 -0
- package/oncallIntegration.d.ts +116 -0
- package/oncallIntegration.js +75 -0
- package/oncallIntegration.js.map +1 -0
- package/oncallOnCallShift.d.ts +237 -0
- package/oncallOnCallShift.js +97 -0
- package/oncallOnCallShift.js.map +1 -0
- package/oncallOutgoingWebhook.d.ts +152 -0
- package/oncallOutgoingWebhook.js +88 -0
- package/oncallOutgoingWebhook.js.map +1 -0
- package/oncallRoute.d.ts +175 -0
- package/oncallRoute.js +116 -0
- package/oncallRoute.js.map +1 -0
- package/oncallSchedule.d.ts +187 -0
- package/oncallSchedule.js +109 -0
- package/oncallSchedule.js.map +1 -0
- package/organization.d.ts +193 -0
- package/organization.js +96 -0
- package/organization.js.map +1 -0
- package/organizationPreference.d.ts +125 -0
- package/organizationPreference.js +76 -0
- package/organizationPreference.js.map +1 -0
- package/package.json +30 -0
- package/package.json.bak +29 -0
- package/package.json.dev +29 -0
- package/playlist.d.ts +72 -0
- package/playlist.js +65 -0
- package/playlist.js.map +1 -0
- package/provider.d.ts +166 -0
- package/provider.js +64 -0
- package/provider.js.map +1 -0
- package/report.d.ts +241 -0
- package/report.js +110 -0
- package/report.js.map +1 -0
- package/role.d.ts +210 -0
- package/role.js +109 -0
- package/role.js.map +1 -0
- package/roleAssignment.d.ts +131 -0
- package/roleAssignment.js +95 -0
- package/roleAssignment.js.map +1 -0
- package/ruleGroup.d.ts +203 -0
- package/ruleGroup.js +174 -0
- package/ruleGroup.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/serviceAccount.d.ts +102 -0
- package/serviceAccount.js +73 -0
- package/serviceAccount.js.map +1 -0
- package/serviceAccountPermission.d.ts +110 -0
- package/serviceAccountPermission.js +95 -0
- package/serviceAccountPermission.js.map +1 -0
- package/serviceAccountToken.d.ts +72 -0
- package/serviceAccountToken.js +85 -0
- package/serviceAccountToken.js.map +1 -0
- package/slo.d.ts +131 -0
- package/slo.js +77 -0
- package/slo.js.map +1 -0
- package/syntheticMonitoringCheck.d.ts +555 -0
- package/syntheticMonitoringCheck.js +464 -0
- package/syntheticMonitoringCheck.js.map +1 -0
- package/syntheticMonitoringInstallation.d.ts +112 -0
- package/syntheticMonitoringInstallation.js +95 -0
- package/syntheticMonitoringInstallation.js.map +1 -0
- package/syntheticMonitoringProbe.d.ts +164 -0
- package/syntheticMonitoringProbe.js +108 -0
- package/syntheticMonitoringProbe.js.map +1 -0
- package/team.d.ts +165 -0
- package/team.js +89 -0
- package/team.js.map +1 -0
- package/teamExternalGroup.d.ts +84 -0
- package/teamExternalGroup.js +81 -0
- package/teamExternalGroup.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1914 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +2011 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +132 -0
- package/user.js +95 -0
- package/user.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +69 -0
- package/utilities.js.map +1 -0
package/config/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
// Export members:
|
|
20
|
+
__exportStar(require("./vars"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.d.ts
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API token, basic auth in the `username:password` format or `anonymous` (string literal). May alternatively be set via
|
|
3
|
+
* the `GRAFANA_AUTH` environment variable.
|
|
4
|
+
*/
|
|
5
|
+
export declare const auth: string | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively
|
|
8
|
+
* be set via the `GRAFANA_CA_CERT` environment variable.
|
|
9
|
+
*/
|
|
10
|
+
export declare const caCert: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Access Policy Token (or API key) for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_API_KEY` environment
|
|
13
|
+
* variable.
|
|
14
|
+
*/
|
|
15
|
+
export declare const cloudApiKey: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Grafana Cloud's API URL. May alternatively be set via the `GRAFANA_CLOUD_API_URL` environment variable.
|
|
18
|
+
*/
|
|
19
|
+
export declare const cloudApiUrl: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively
|
|
22
|
+
* be set via the `GRAFANA_HTTP_HEADERS` environment variable in JSON format.
|
|
23
|
+
*/
|
|
24
|
+
export declare const httpHeaders: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
} | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.
|
|
29
|
+
*/
|
|
30
|
+
export declare const insecureSkipVerify: boolean | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.
|
|
33
|
+
*/
|
|
34
|
+
export declare const oncallAccessToken: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* An Grafana OnCall backend address. May alternatively be set via the `GRAFANA_ONCALL_URL` environment variable.
|
|
37
|
+
*/
|
|
38
|
+
export declare const oncallUrl: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Deprecated: Use the `org_id` attributes on resources instead.
|
|
41
|
+
*/
|
|
42
|
+
export declare const orgId: number | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the
|
|
45
|
+
* `GRAFANA_RETRIES` environment variable.
|
|
46
|
+
*/
|
|
47
|
+
export declare const retries: number | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The status codes to retry on for Grafana API and Grafana Cloud API calls. Use `x` as a digit wildcard. Defaults to 429
|
|
50
|
+
* and 5xx. May alternatively be set via the `GRAFANA_RETRY_STATUS_CODES` environment variable.
|
|
51
|
+
*/
|
|
52
|
+
export declare const retryStatusCodes: string[] | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be
|
|
55
|
+
* set via the `GRAFANA_RETRY_WAIT` environment variable.
|
|
56
|
+
*/
|
|
57
|
+
export declare const retryWait: number | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable.
|
|
60
|
+
*/
|
|
61
|
+
export declare const smAccessToken: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Synthetic monitoring backend address. May alternatively be set via the `GRAFANA_SM_URL` environment variable. The
|
|
64
|
+
* correct value for each service region is cited in the [Synthetic Monitoring
|
|
65
|
+
* documentation](https://grafana.com/docs/grafana-cloud/monitor-public-endpoints/private-probes/#probe-api-server-url).
|
|
66
|
+
* Note the `sm_url` value is optional, but it must correspond with the value specified as the `region_slug` in the
|
|
67
|
+
* `grafana_cloud_stack` resource. Also note that when a Terraform configuration contains multiple provider instances
|
|
68
|
+
* managing SM resources associated with the same Grafana stack, specifying an explicit `sm_url` set to the same value for
|
|
69
|
+
* each provider ensures all providers interact with the same SM API.
|
|
70
|
+
*/
|
|
71
|
+
export declare const smUrl: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate.
|
|
74
|
+
*/
|
|
75
|
+
export declare const storeDashboardSha256: boolean | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be
|
|
78
|
+
* set via the `GRAFANA_TLS_CERT` environment variable.
|
|
79
|
+
*/
|
|
80
|
+
export declare const tlsCert: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via
|
|
83
|
+
* the `GRAFANA_TLS_KEY` environment variable.
|
|
84
|
+
*/
|
|
85
|
+
export declare const tlsKey: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* The root URL of a Grafana server. May alternatively be set via the `GRAFANA_URL` environment variable.
|
|
88
|
+
*/
|
|
89
|
+
export declare const url: string | undefined;
|
package/config/vars.js
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
const __config = new pulumi.Config("grafana");
|
|
8
|
+
Object.defineProperty(exports, "auth", {
|
|
9
|
+
get() {
|
|
10
|
+
var _a;
|
|
11
|
+
return (_a = __config.get("auth")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_AUTH");
|
|
12
|
+
},
|
|
13
|
+
enumerable: true,
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "caCert", {
|
|
16
|
+
get() {
|
|
17
|
+
var _a;
|
|
18
|
+
return (_a = __config.get("caCert")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_CA_CERT");
|
|
19
|
+
},
|
|
20
|
+
enumerable: true,
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "cloudApiKey", {
|
|
23
|
+
get() {
|
|
24
|
+
var _a;
|
|
25
|
+
return (_a = __config.get("cloudApiKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_CLOUD_API_KEY");
|
|
26
|
+
},
|
|
27
|
+
enumerable: true,
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "cloudApiUrl", {
|
|
30
|
+
get() {
|
|
31
|
+
var _a;
|
|
32
|
+
return (_a = __config.get("cloudApiUrl")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_CLOUD_API_URL");
|
|
33
|
+
},
|
|
34
|
+
enumerable: true,
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "httpHeaders", {
|
|
37
|
+
get() {
|
|
38
|
+
return __config.getObject("httpHeaders");
|
|
39
|
+
},
|
|
40
|
+
enumerable: true,
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "insecureSkipVerify", {
|
|
43
|
+
get() {
|
|
44
|
+
var _a;
|
|
45
|
+
return (_a = __config.getObject("insecureSkipVerify")) !== null && _a !== void 0 ? _a : utilities.getEnvBoolean("GRAFANA_INSECURE_SKIP_VERIFY");
|
|
46
|
+
},
|
|
47
|
+
enumerable: true,
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "oncallAccessToken", {
|
|
50
|
+
get() {
|
|
51
|
+
var _a;
|
|
52
|
+
return (_a = __config.get("oncallAccessToken")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_ONCALL_ACCESS_TOKEN");
|
|
53
|
+
},
|
|
54
|
+
enumerable: true,
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "oncallUrl", {
|
|
57
|
+
get() {
|
|
58
|
+
var _a;
|
|
59
|
+
return (_a = __config.get("oncallUrl")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_ONCALL_URL");
|
|
60
|
+
},
|
|
61
|
+
enumerable: true,
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "orgId", {
|
|
64
|
+
get() {
|
|
65
|
+
var _a;
|
|
66
|
+
return (_a = __config.getObject("orgId")) !== null && _a !== void 0 ? _a : utilities.getEnvNumber("GRAFANA_ORG_ID");
|
|
67
|
+
},
|
|
68
|
+
enumerable: true,
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "retries", {
|
|
71
|
+
get() {
|
|
72
|
+
var _a;
|
|
73
|
+
return (_a = __config.getObject("retries")) !== null && _a !== void 0 ? _a : utilities.getEnvNumber("GRAFANA_RETRIES");
|
|
74
|
+
},
|
|
75
|
+
enumerable: true,
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "retryStatusCodes", {
|
|
78
|
+
get() {
|
|
79
|
+
return __config.getObject("retryStatusCodes");
|
|
80
|
+
},
|
|
81
|
+
enumerable: true,
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "retryWait", {
|
|
84
|
+
get() {
|
|
85
|
+
return __config.getObject("retryWait");
|
|
86
|
+
},
|
|
87
|
+
enumerable: true,
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "smAccessToken", {
|
|
90
|
+
get() {
|
|
91
|
+
var _a;
|
|
92
|
+
return (_a = __config.get("smAccessToken")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_SM_ACCESS_TOKEN");
|
|
93
|
+
},
|
|
94
|
+
enumerable: true,
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "smUrl", {
|
|
97
|
+
get() {
|
|
98
|
+
var _a;
|
|
99
|
+
return (_a = __config.get("smUrl")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_SM_URL");
|
|
100
|
+
},
|
|
101
|
+
enumerable: true,
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "storeDashboardSha256", {
|
|
104
|
+
get() {
|
|
105
|
+
var _a;
|
|
106
|
+
return (_a = __config.getObject("storeDashboardSha256")) !== null && _a !== void 0 ? _a : utilities.getEnvBoolean("GRAFANA_STORE_DASHBOARD_SHA256");
|
|
107
|
+
},
|
|
108
|
+
enumerable: true,
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "tlsCert", {
|
|
111
|
+
get() {
|
|
112
|
+
var _a;
|
|
113
|
+
return (_a = __config.get("tlsCert")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_TLS_CERT");
|
|
114
|
+
},
|
|
115
|
+
enumerable: true,
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "tlsKey", {
|
|
118
|
+
get() {
|
|
119
|
+
var _a;
|
|
120
|
+
return (_a = __config.get("tlsKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_TLS_KEY");
|
|
121
|
+
},
|
|
122
|
+
enumerable: true,
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "url", {
|
|
125
|
+
get() {
|
|
126
|
+
var _a;
|
|
127
|
+
return (_a = __config.get("url")) !== null && _a !== void 0 ? _a : utilities.getEnv("GRAFANA_URL");
|
|
128
|
+
},
|
|
129
|
+
enumerable: true,
|
|
130
|
+
});
|
|
131
|
+
//# sourceMappingURL=vars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages Grafana Alerting contact points.
|
|
6
|
+
*
|
|
7
|
+
* * [Official documentation](https://grafana.com/docs/grafana/next/alerting/fundamentals/contact-points/)
|
|
8
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#contact-points)
|
|
9
|
+
*
|
|
10
|
+
* This resource requires Grafana 9.1.0 or later.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
17
|
+
*
|
|
18
|
+
* const myContactPoint = new grafana.ContactPoint("myContactPoint", {emails: [{
|
|
19
|
+
* addresses: [
|
|
20
|
+
* "one@company.org",
|
|
21
|
+
* "two@company.org",
|
|
22
|
+
* ],
|
|
23
|
+
* disableResolveMessage: false,
|
|
24
|
+
* message: "{{ len .Alerts.Firing }} firing.",
|
|
25
|
+
* singleEmail: true,
|
|
26
|
+
* subject: "{{ template \"default.title\" .}}",
|
|
27
|
+
* }]});
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import grafana:index/contactPoint:ContactPoint contact_point_name {{contact_point_name}}
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class ContactPoint extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing ContactPoint resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContactPointState, opts?: pulumi.CustomResourceOptions): ContactPoint;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of ContactPoint. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is ContactPoint;
|
|
52
|
+
/**
|
|
53
|
+
* A contact point that sends notifications to other Alertmanager instances.
|
|
54
|
+
*/
|
|
55
|
+
readonly alertmanagers: pulumi.Output<outputs.ContactPointAlertmanager[] | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* A contact point that sends notifications to DingDing.
|
|
58
|
+
*/
|
|
59
|
+
readonly dingdings: pulumi.Output<outputs.ContactPointDingding[] | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* A contact point that sends notifications as Discord messages
|
|
62
|
+
*/
|
|
63
|
+
readonly discords: pulumi.Output<outputs.ContactPointDiscord[] | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* A contact point that sends notifications to an email address.
|
|
66
|
+
*/
|
|
67
|
+
readonly emails: pulumi.Output<outputs.ContactPointEmail[] | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* A contact point that sends notifications to Google Chat.
|
|
70
|
+
*/
|
|
71
|
+
readonly googlechats: pulumi.Output<outputs.ContactPointGooglechat[] | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* A contact point that publishes notifications to Apache Kafka topics.
|
|
74
|
+
*/
|
|
75
|
+
readonly kafkas: pulumi.Output<outputs.ContactPointKafka[] | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* A contact point that sends notifications to LINE.me.
|
|
78
|
+
*/
|
|
79
|
+
readonly lines: pulumi.Output<outputs.ContactPointLine[] | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the contact point.
|
|
82
|
+
*/
|
|
83
|
+
readonly name: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* A contact point that sends notifications to OpsGenie.
|
|
86
|
+
*/
|
|
87
|
+
readonly opsgenies: pulumi.Output<outputs.ContactPointOpsgeny[] | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* A contact point that sends notifications to PagerDuty.
|
|
90
|
+
*/
|
|
91
|
+
readonly pagerduties: pulumi.Output<outputs.ContactPointPagerduty[] | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* A contact point that sends notifications to Pushover.
|
|
94
|
+
*/
|
|
95
|
+
readonly pushovers: pulumi.Output<outputs.ContactPointPushover[] | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* A contact point that sends notifications to SensuGo.
|
|
98
|
+
*/
|
|
99
|
+
readonly sensugos: pulumi.Output<outputs.ContactPointSensugo[] | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* A contact point that sends notifications to Slack.
|
|
102
|
+
*/
|
|
103
|
+
readonly slacks: pulumi.Output<outputs.ContactPointSlack[] | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* A contact point that sends notifications to Microsoft Teams.
|
|
106
|
+
*/
|
|
107
|
+
readonly teams: pulumi.Output<outputs.ContactPointTeam[] | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* A contact point that sends notifications to Telegram.
|
|
110
|
+
*/
|
|
111
|
+
readonly telegrams: pulumi.Output<outputs.ContactPointTelegram[] | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* A contact point that sends notifications to Threema.
|
|
114
|
+
*/
|
|
115
|
+
readonly threemas: pulumi.Output<outputs.ContactPointThreema[] | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* A contact point that sends notifications to VictorOps (now known as Splunk OnCall).
|
|
118
|
+
*/
|
|
119
|
+
readonly victorops: pulumi.Output<outputs.ContactPointVictorop[] | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* A contact point that sends notifications to Cisco Webex.
|
|
122
|
+
*/
|
|
123
|
+
readonly webexes: pulumi.Output<outputs.ContactPointWebex[] | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
|
|
126
|
+
*/
|
|
127
|
+
readonly webhooks: pulumi.Output<outputs.ContactPointWebhook[] | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* A contact point that sends notifications to WeCom.
|
|
130
|
+
*/
|
|
131
|
+
readonly wecoms: pulumi.Output<outputs.ContactPointWecom[] | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Create a ContactPoint resource with the given unique name, arguments, and options.
|
|
134
|
+
*
|
|
135
|
+
* @param name The _unique_ name of the resource.
|
|
136
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
137
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
138
|
+
*/
|
|
139
|
+
constructor(name: string, args?: ContactPointArgs, opts?: pulumi.CustomResourceOptions);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Input properties used for looking up and filtering ContactPoint resources.
|
|
143
|
+
*/
|
|
144
|
+
export interface ContactPointState {
|
|
145
|
+
/**
|
|
146
|
+
* A contact point that sends notifications to other Alertmanager instances.
|
|
147
|
+
*/
|
|
148
|
+
alertmanagers?: pulumi.Input<pulumi.Input<inputs.ContactPointAlertmanager>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* A contact point that sends notifications to DingDing.
|
|
151
|
+
*/
|
|
152
|
+
dingdings?: pulumi.Input<pulumi.Input<inputs.ContactPointDingding>[]>;
|
|
153
|
+
/**
|
|
154
|
+
* A contact point that sends notifications as Discord messages
|
|
155
|
+
*/
|
|
156
|
+
discords?: pulumi.Input<pulumi.Input<inputs.ContactPointDiscord>[]>;
|
|
157
|
+
/**
|
|
158
|
+
* A contact point that sends notifications to an email address.
|
|
159
|
+
*/
|
|
160
|
+
emails?: pulumi.Input<pulumi.Input<inputs.ContactPointEmail>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* A contact point that sends notifications to Google Chat.
|
|
163
|
+
*/
|
|
164
|
+
googlechats?: pulumi.Input<pulumi.Input<inputs.ContactPointGooglechat>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* A contact point that publishes notifications to Apache Kafka topics.
|
|
167
|
+
*/
|
|
168
|
+
kafkas?: pulumi.Input<pulumi.Input<inputs.ContactPointKafka>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* A contact point that sends notifications to LINE.me.
|
|
171
|
+
*/
|
|
172
|
+
lines?: pulumi.Input<pulumi.Input<inputs.ContactPointLine>[]>;
|
|
173
|
+
/**
|
|
174
|
+
* The name of the contact point.
|
|
175
|
+
*/
|
|
176
|
+
name?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* A contact point that sends notifications to OpsGenie.
|
|
179
|
+
*/
|
|
180
|
+
opsgenies?: pulumi.Input<pulumi.Input<inputs.ContactPointOpsgeny>[]>;
|
|
181
|
+
/**
|
|
182
|
+
* A contact point that sends notifications to PagerDuty.
|
|
183
|
+
*/
|
|
184
|
+
pagerduties?: pulumi.Input<pulumi.Input<inputs.ContactPointPagerduty>[]>;
|
|
185
|
+
/**
|
|
186
|
+
* A contact point that sends notifications to Pushover.
|
|
187
|
+
*/
|
|
188
|
+
pushovers?: pulumi.Input<pulumi.Input<inputs.ContactPointPushover>[]>;
|
|
189
|
+
/**
|
|
190
|
+
* A contact point that sends notifications to SensuGo.
|
|
191
|
+
*/
|
|
192
|
+
sensugos?: pulumi.Input<pulumi.Input<inputs.ContactPointSensugo>[]>;
|
|
193
|
+
/**
|
|
194
|
+
* A contact point that sends notifications to Slack.
|
|
195
|
+
*/
|
|
196
|
+
slacks?: pulumi.Input<pulumi.Input<inputs.ContactPointSlack>[]>;
|
|
197
|
+
/**
|
|
198
|
+
* A contact point that sends notifications to Microsoft Teams.
|
|
199
|
+
*/
|
|
200
|
+
teams?: pulumi.Input<pulumi.Input<inputs.ContactPointTeam>[]>;
|
|
201
|
+
/**
|
|
202
|
+
* A contact point that sends notifications to Telegram.
|
|
203
|
+
*/
|
|
204
|
+
telegrams?: pulumi.Input<pulumi.Input<inputs.ContactPointTelegram>[]>;
|
|
205
|
+
/**
|
|
206
|
+
* A contact point that sends notifications to Threema.
|
|
207
|
+
*/
|
|
208
|
+
threemas?: pulumi.Input<pulumi.Input<inputs.ContactPointThreema>[]>;
|
|
209
|
+
/**
|
|
210
|
+
* A contact point that sends notifications to VictorOps (now known as Splunk OnCall).
|
|
211
|
+
*/
|
|
212
|
+
victorops?: pulumi.Input<pulumi.Input<inputs.ContactPointVictorop>[]>;
|
|
213
|
+
/**
|
|
214
|
+
* A contact point that sends notifications to Cisco Webex.
|
|
215
|
+
*/
|
|
216
|
+
webexes?: pulumi.Input<pulumi.Input<inputs.ContactPointWebex>[]>;
|
|
217
|
+
/**
|
|
218
|
+
* A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
|
|
219
|
+
*/
|
|
220
|
+
webhooks?: pulumi.Input<pulumi.Input<inputs.ContactPointWebhook>[]>;
|
|
221
|
+
/**
|
|
222
|
+
* A contact point that sends notifications to WeCom.
|
|
223
|
+
*/
|
|
224
|
+
wecoms?: pulumi.Input<pulumi.Input<inputs.ContactPointWecom>[]>;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* The set of arguments for constructing a ContactPoint resource.
|
|
228
|
+
*/
|
|
229
|
+
export interface ContactPointArgs {
|
|
230
|
+
/**
|
|
231
|
+
* A contact point that sends notifications to other Alertmanager instances.
|
|
232
|
+
*/
|
|
233
|
+
alertmanagers?: pulumi.Input<pulumi.Input<inputs.ContactPointAlertmanager>[]>;
|
|
234
|
+
/**
|
|
235
|
+
* A contact point that sends notifications to DingDing.
|
|
236
|
+
*/
|
|
237
|
+
dingdings?: pulumi.Input<pulumi.Input<inputs.ContactPointDingding>[]>;
|
|
238
|
+
/**
|
|
239
|
+
* A contact point that sends notifications as Discord messages
|
|
240
|
+
*/
|
|
241
|
+
discords?: pulumi.Input<pulumi.Input<inputs.ContactPointDiscord>[]>;
|
|
242
|
+
/**
|
|
243
|
+
* A contact point that sends notifications to an email address.
|
|
244
|
+
*/
|
|
245
|
+
emails?: pulumi.Input<pulumi.Input<inputs.ContactPointEmail>[]>;
|
|
246
|
+
/**
|
|
247
|
+
* A contact point that sends notifications to Google Chat.
|
|
248
|
+
*/
|
|
249
|
+
googlechats?: pulumi.Input<pulumi.Input<inputs.ContactPointGooglechat>[]>;
|
|
250
|
+
/**
|
|
251
|
+
* A contact point that publishes notifications to Apache Kafka topics.
|
|
252
|
+
*/
|
|
253
|
+
kafkas?: pulumi.Input<pulumi.Input<inputs.ContactPointKafka>[]>;
|
|
254
|
+
/**
|
|
255
|
+
* A contact point that sends notifications to LINE.me.
|
|
256
|
+
*/
|
|
257
|
+
lines?: pulumi.Input<pulumi.Input<inputs.ContactPointLine>[]>;
|
|
258
|
+
/**
|
|
259
|
+
* The name of the contact point.
|
|
260
|
+
*/
|
|
261
|
+
name?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* A contact point that sends notifications to OpsGenie.
|
|
264
|
+
*/
|
|
265
|
+
opsgenies?: pulumi.Input<pulumi.Input<inputs.ContactPointOpsgeny>[]>;
|
|
266
|
+
/**
|
|
267
|
+
* A contact point that sends notifications to PagerDuty.
|
|
268
|
+
*/
|
|
269
|
+
pagerduties?: pulumi.Input<pulumi.Input<inputs.ContactPointPagerduty>[]>;
|
|
270
|
+
/**
|
|
271
|
+
* A contact point that sends notifications to Pushover.
|
|
272
|
+
*/
|
|
273
|
+
pushovers?: pulumi.Input<pulumi.Input<inputs.ContactPointPushover>[]>;
|
|
274
|
+
/**
|
|
275
|
+
* A contact point that sends notifications to SensuGo.
|
|
276
|
+
*/
|
|
277
|
+
sensugos?: pulumi.Input<pulumi.Input<inputs.ContactPointSensugo>[]>;
|
|
278
|
+
/**
|
|
279
|
+
* A contact point that sends notifications to Slack.
|
|
280
|
+
*/
|
|
281
|
+
slacks?: pulumi.Input<pulumi.Input<inputs.ContactPointSlack>[]>;
|
|
282
|
+
/**
|
|
283
|
+
* A contact point that sends notifications to Microsoft Teams.
|
|
284
|
+
*/
|
|
285
|
+
teams?: pulumi.Input<pulumi.Input<inputs.ContactPointTeam>[]>;
|
|
286
|
+
/**
|
|
287
|
+
* A contact point that sends notifications to Telegram.
|
|
288
|
+
*/
|
|
289
|
+
telegrams?: pulumi.Input<pulumi.Input<inputs.ContactPointTelegram>[]>;
|
|
290
|
+
/**
|
|
291
|
+
* A contact point that sends notifications to Threema.
|
|
292
|
+
*/
|
|
293
|
+
threemas?: pulumi.Input<pulumi.Input<inputs.ContactPointThreema>[]>;
|
|
294
|
+
/**
|
|
295
|
+
* A contact point that sends notifications to VictorOps (now known as Splunk OnCall).
|
|
296
|
+
*/
|
|
297
|
+
victorops?: pulumi.Input<pulumi.Input<inputs.ContactPointVictorop>[]>;
|
|
298
|
+
/**
|
|
299
|
+
* A contact point that sends notifications to Cisco Webex.
|
|
300
|
+
*/
|
|
301
|
+
webexes?: pulumi.Input<pulumi.Input<inputs.ContactPointWebex>[]>;
|
|
302
|
+
/**
|
|
303
|
+
* A contact point that sends notifications to an arbitrary webhook, using the Prometheus webhook format defined here: https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
|
|
304
|
+
*/
|
|
305
|
+
webhooks?: pulumi.Input<pulumi.Input<inputs.ContactPointWebhook>[]>;
|
|
306
|
+
/**
|
|
307
|
+
* A contact point that sends notifications to WeCom.
|
|
308
|
+
*/
|
|
309
|
+
wecoms?: pulumi.Input<pulumi.Input<inputs.ContactPointWecom>[]>;
|
|
310
|
+
}
|