@pulumi/digitalocean 4.11.0 → 4.11.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/monitorAlert.d.ts +12 -9
- package/monitorAlert.js +6 -3
- package/monitorAlert.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/input.d.ts +1 -1
- package/types/output.d.ts +2 -2
package/monitorAlert.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* Provides a [DigitalOcean Monitoring](https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring)
|
|
5
|
-
* Monitor alerts can be configured to alert about, e.g., disk or memory
|
|
6
|
-
*
|
|
4
|
+
* Provides a [DigitalOcean Monitoring](https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring)
|
|
5
|
+
* resource. Monitor alerts can be configured to alert about, e.g., disk or memory
|
|
6
|
+
* usage exceeding a certain threshold or traffic at a certain limit. Notifications
|
|
7
|
+
* can be sent to either an email address or a Slack channel.
|
|
8
|
+
*
|
|
9
|
+
* > **Note** Currently, the [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_alert_policy) only supports creating alerts for Droplets.
|
|
7
10
|
*
|
|
8
11
|
* ## Import
|
|
9
12
|
*
|
|
@@ -49,11 +52,11 @@ export declare class MonitorAlert extends pulumi.CustomResource {
|
|
|
49
52
|
*/
|
|
50
53
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
51
54
|
/**
|
|
52
|
-
*
|
|
55
|
+
* A list of IDs for the resources to which the alert policy applies.
|
|
53
56
|
*/
|
|
54
57
|
readonly entities: pulumi.Output<string[] | undefined>;
|
|
55
58
|
/**
|
|
56
|
-
*
|
|
59
|
+
* A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
|
|
57
60
|
*/
|
|
58
61
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
59
62
|
/**
|
|
@@ -111,11 +114,11 @@ export interface MonitorAlertState {
|
|
|
111
114
|
*/
|
|
112
115
|
enabled?: pulumi.Input<boolean>;
|
|
113
116
|
/**
|
|
114
|
-
*
|
|
117
|
+
* A list of IDs for the resources to which the alert policy applies.
|
|
115
118
|
*/
|
|
116
119
|
entities?: pulumi.Input<pulumi.Input<string>[]>;
|
|
117
120
|
/**
|
|
118
|
-
*
|
|
121
|
+
* A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
|
|
119
122
|
*/
|
|
120
123
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
121
124
|
/**
|
|
@@ -165,11 +168,11 @@ export interface MonitorAlertArgs {
|
|
|
165
168
|
*/
|
|
166
169
|
enabled?: pulumi.Input<boolean>;
|
|
167
170
|
/**
|
|
168
|
-
*
|
|
171
|
+
* A list of IDs for the resources to which the alert policy applies.
|
|
169
172
|
*/
|
|
170
173
|
entities?: pulumi.Input<pulumi.Input<string>[]>;
|
|
171
174
|
/**
|
|
172
|
-
*
|
|
175
|
+
* A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
|
|
173
176
|
*/
|
|
174
177
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
175
178
|
/**
|
package/monitorAlert.js
CHANGED
|
@@ -6,9 +6,12 @@ exports.MonitorAlert = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a [DigitalOcean Monitoring](https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring)
|
|
10
|
-
* Monitor alerts can be configured to alert about, e.g., disk or memory
|
|
11
|
-
*
|
|
9
|
+
* Provides a [DigitalOcean Monitoring](https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring)
|
|
10
|
+
* resource. Monitor alerts can be configured to alert about, e.g., disk or memory
|
|
11
|
+
* usage exceeding a certain threshold or traffic at a certain limit. Notifications
|
|
12
|
+
* can be sent to either an email address or a Slack channel.
|
|
13
|
+
*
|
|
14
|
+
* > **Note** Currently, the [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_alert_policy) only supports creating alerts for Droplets.
|
|
12
15
|
*
|
|
13
16
|
* ## Import
|
|
14
17
|
*
|
package/monitorAlert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitorAlert.js","sourceRoot":"","sources":["../monitorAlert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"monitorAlert.js","sourceRoot":"","sources":["../monitorAlert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAsFnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAA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AAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAvID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAyIC;AA3HG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/digitalocean",
|
|
3
|
-
"version": "v4.11.
|
|
3
|
+
"version": "v4.11.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Digital Ocean cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource digitalocean v4.11.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource digitalocean v4.11.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface AppSpecDatabase {
|
|
|
41
41
|
*/
|
|
42
42
|
dbUser?: pulumi.Input<string>;
|
|
43
43
|
/**
|
|
44
|
-
* The database engine to use (`MYSQL`, `PG`, or `
|
|
44
|
+
* The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
|
|
45
45
|
*/
|
|
46
46
|
engine?: pulumi.Input<string>;
|
|
47
47
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface AppSpecDatabase {
|
|
|
40
40
|
*/
|
|
41
41
|
dbUser?: string;
|
|
42
42
|
/**
|
|
43
|
-
* The database engine to use (`MYSQL`, `PG`, or `
|
|
43
|
+
* The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
|
|
44
44
|
*/
|
|
45
45
|
engine?: string;
|
|
46
46
|
/**
|
|
@@ -895,7 +895,7 @@ export interface GetAppSpecDatabase {
|
|
|
895
895
|
*/
|
|
896
896
|
dbUser?: string;
|
|
897
897
|
/**
|
|
898
|
-
* The database engine to use (`MYSQL`, `PG`, or `
|
|
898
|
+
* The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
|
|
899
899
|
*/
|
|
900
900
|
engine?: string;
|
|
901
901
|
/**
|