@pulumi/digitalocean 4.19.0 → 4.19.2
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/config/vars.d.ts +16 -0
- package/config/vars.js +24 -0
- package/config/vars.js.map +1 -1
- package/databaseCluster.d.ts +40 -0
- package/databaseCluster.js +30 -0
- package/databaseCluster.js.map +1 -1
- package/databaseReplica.d.ts +3 -3
- package/droplet.d.ts +10 -0
- package/droplet.js +1 -1
- package/droplet.js.map +1 -1
- package/getDatabaseReplica.d.ts +4 -0
- package/getDatabaseReplica.js.map +1 -1
- package/getDropletSnapshot.d.ts +8 -0
- package/getDropletSnapshot.js.map +1 -1
- package/getImage.d.ts +4 -0
- package/getImage.js.map +1 -1
- package/getVolumeSnapshot.d.ts +8 -0
- package/getVolumeSnapshot.js.map +1 -1
- package/kubernetesCluster.d.ts +19 -1
- package/kubernetesCluster.js +9 -1
- package/kubernetesCluster.js.map +1 -1
- package/kubernetesNodePool.d.ts +7 -1
- package/kubernetesNodePool.js +1 -1
- package/kubernetesNodePool.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +16 -0
- package/provider.js +4 -0
- package/provider.js.map +1 -1
- package/spacesBucketObject.d.ts +12 -0
- package/spacesBucketObject.js.map +1 -1
- package/types/input.d.ts +35 -0
- package/types/output.d.ts +35 -0
- package/uptimeAlert.d.ts +14 -14
- package/uptimeAlert.js +2 -2
- package/uptimeCheck.d.ts +1 -1
- package/uptimeCheck.js +1 -1
package/config/vars.d.ts
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
* The URL to use for the DigitalOcean API.
|
|
3
3
|
*/
|
|
4
4
|
export declare const apiEndpoint: string;
|
|
5
|
+
/**
|
|
6
|
+
* The maximum number of retries on a failed API request.
|
|
7
|
+
*/
|
|
8
|
+
export declare const httpRetryMax: number | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* The maximum wait time (in seconds) between failed API requests.
|
|
11
|
+
*/
|
|
12
|
+
export declare const httpRetryWaitMax: number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The minimum wait time (in seconds) between failed API requests.
|
|
15
|
+
*/
|
|
16
|
+
export declare const httpRetryWaitMin: number | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The rate of requests per second to limit the HTTP client.
|
|
19
|
+
*/
|
|
20
|
+
export declare const requestsPerSecond: number | undefined;
|
|
5
21
|
/**
|
|
6
22
|
* The access key ID for Spaces API operations.
|
|
7
23
|
*/
|
package/config/vars.js
CHANGED
|
@@ -12,6 +12,30 @@ Object.defineProperty(exports, "apiEndpoint", {
|
|
|
12
12
|
},
|
|
13
13
|
enumerable: true,
|
|
14
14
|
});
|
|
15
|
+
Object.defineProperty(exports, "httpRetryMax", {
|
|
16
|
+
get() {
|
|
17
|
+
return __config.getObject("httpRetryMax");
|
|
18
|
+
},
|
|
19
|
+
enumerable: true,
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "httpRetryWaitMax", {
|
|
22
|
+
get() {
|
|
23
|
+
return __config.getObject("httpRetryWaitMax");
|
|
24
|
+
},
|
|
25
|
+
enumerable: true,
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "httpRetryWaitMin", {
|
|
28
|
+
get() {
|
|
29
|
+
return __config.getObject("httpRetryWaitMin");
|
|
30
|
+
},
|
|
31
|
+
enumerable: true,
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "requestsPerSecond", {
|
|
34
|
+
get() {
|
|
35
|
+
return __config.getObject("requestsPerSecond");
|
|
36
|
+
},
|
|
37
|
+
enumerable: true,
|
|
38
|
+
});
|
|
15
39
|
Object.defineProperty(exports, "spacesAccessId", {
|
|
16
40
|
get() {
|
|
17
41
|
return __config.get("spacesAccessId");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,w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AC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE;IAC7C,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IACrF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE;IAC9C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC3C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/databaseCluster.d.ts
CHANGED
|
@@ -58,6 +58,34 @@ import * as enums from "./types/enums";
|
|
|
58
58
|
* version: "4",
|
|
59
59
|
* });
|
|
60
60
|
* ```
|
|
61
|
+
* ## Create a new database cluster based on a backup of an existing cluster.
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
66
|
+
*
|
|
67
|
+
* const doby = new digitalocean.DatabaseCluster("doby", {
|
|
68
|
+
* engine: "pg",
|
|
69
|
+
* version: "11",
|
|
70
|
+
* size: "db-s-1vcpu-2gb",
|
|
71
|
+
* region: "nyc1",
|
|
72
|
+
* nodeCount: 1,
|
|
73
|
+
* tags: ["production"],
|
|
74
|
+
* });
|
|
75
|
+
* const dobyBackup = new digitalocean.DatabaseCluster("dobyBackup", {
|
|
76
|
+
* engine: "pg",
|
|
77
|
+
* version: "11",
|
|
78
|
+
* size: "db-s-1vcpu-2gb",
|
|
79
|
+
* region: "nyc1",
|
|
80
|
+
* nodeCount: 1,
|
|
81
|
+
* tags: ["production"],
|
|
82
|
+
* backupRestore: {
|
|
83
|
+
* databaseName: "dobydb",
|
|
84
|
+
* },
|
|
85
|
+
* }, {
|
|
86
|
+
* dependsOn: [doby],
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
61
89
|
*
|
|
62
90
|
* ## Import
|
|
63
91
|
*
|
|
@@ -83,6 +111,10 @@ export declare class DatabaseCluster extends pulumi.CustomResource {
|
|
|
83
111
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
84
112
|
*/
|
|
85
113
|
static isInstance(obj: any): obj is DatabaseCluster;
|
|
114
|
+
/**
|
|
115
|
+
* Create a new database cluster based on a backup of an existing cluster.
|
|
116
|
+
*/
|
|
117
|
+
readonly backupRestore: pulumi.Output<outputs.DatabaseClusterBackupRestore | undefined>;
|
|
86
118
|
/**
|
|
87
119
|
* The uniform resource name of the database cluster.
|
|
88
120
|
*/
|
|
@@ -181,6 +213,10 @@ export declare class DatabaseCluster extends pulumi.CustomResource {
|
|
|
181
213
|
* Input properties used for looking up and filtering DatabaseCluster resources.
|
|
182
214
|
*/
|
|
183
215
|
export interface DatabaseClusterState {
|
|
216
|
+
/**
|
|
217
|
+
* Create a new database cluster based on a backup of an existing cluster.
|
|
218
|
+
*/
|
|
219
|
+
backupRestore?: pulumi.Input<inputs.DatabaseClusterBackupRestore>;
|
|
184
220
|
/**
|
|
185
221
|
* The uniform resource name of the database cluster.
|
|
186
222
|
*/
|
|
@@ -271,6 +307,10 @@ export interface DatabaseClusterState {
|
|
|
271
307
|
* The set of arguments for constructing a DatabaseCluster resource.
|
|
272
308
|
*/
|
|
273
309
|
export interface DatabaseClusterArgs {
|
|
310
|
+
/**
|
|
311
|
+
* Create a new database cluster based on a backup of an existing cluster.
|
|
312
|
+
*/
|
|
313
|
+
backupRestore?: pulumi.Input<inputs.DatabaseClusterBackupRestore>;
|
|
274
314
|
/**
|
|
275
315
|
* Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, `redis` for Redis, or `mongodb` for MongoDB).
|
|
276
316
|
*/
|
package/databaseCluster.js
CHANGED
|
@@ -61,6 +61,34 @@ const utilities = require("./utilities");
|
|
|
61
61
|
* version: "4",
|
|
62
62
|
* });
|
|
63
63
|
* ```
|
|
64
|
+
* ## Create a new database cluster based on a backup of an existing cluster.
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
69
|
+
*
|
|
70
|
+
* const doby = new digitalocean.DatabaseCluster("doby", {
|
|
71
|
+
* engine: "pg",
|
|
72
|
+
* version: "11",
|
|
73
|
+
* size: "db-s-1vcpu-2gb",
|
|
74
|
+
* region: "nyc1",
|
|
75
|
+
* nodeCount: 1,
|
|
76
|
+
* tags: ["production"],
|
|
77
|
+
* });
|
|
78
|
+
* const dobyBackup = new digitalocean.DatabaseCluster("dobyBackup", {
|
|
79
|
+
* engine: "pg",
|
|
80
|
+
* version: "11",
|
|
81
|
+
* size: "db-s-1vcpu-2gb",
|
|
82
|
+
* region: "nyc1",
|
|
83
|
+
* nodeCount: 1,
|
|
84
|
+
* tags: ["production"],
|
|
85
|
+
* backupRestore: {
|
|
86
|
+
* databaseName: "dobydb",
|
|
87
|
+
* },
|
|
88
|
+
* }, {
|
|
89
|
+
* dependsOn: [doby],
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
64
92
|
*
|
|
65
93
|
* ## Import
|
|
66
94
|
*
|
|
@@ -98,6 +126,7 @@ class DatabaseCluster extends pulumi.CustomResource {
|
|
|
98
126
|
opts = opts || {};
|
|
99
127
|
if (opts.id) {
|
|
100
128
|
const state = argsOrState;
|
|
129
|
+
resourceInputs["backupRestore"] = state ? state.backupRestore : undefined;
|
|
101
130
|
resourceInputs["clusterUrn"] = state ? state.clusterUrn : undefined;
|
|
102
131
|
resourceInputs["database"] = state ? state.database : undefined;
|
|
103
132
|
resourceInputs["engine"] = state ? state.engine : undefined;
|
|
@@ -134,6 +163,7 @@ class DatabaseCluster extends pulumi.CustomResource {
|
|
|
134
163
|
if ((!args || args.size === undefined) && !opts.urn) {
|
|
135
164
|
throw new Error("Missing required property 'size'");
|
|
136
165
|
}
|
|
166
|
+
resourceInputs["backupRestore"] = args ? args.backupRestore : undefined;
|
|
137
167
|
resourceInputs["engine"] = args ? args.engine : undefined;
|
|
138
168
|
resourceInputs["evictionPolicy"] = args ? args.evictionPolicy : undefined;
|
|
139
169
|
resourceInputs["maintenanceWindows"] = args ? args.maintenanceWindows : undefined;
|
package/databaseCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseCluster.js","sourceRoot":"","sources":["../databaseCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"databaseCluster.js","sourceRoot":"","sources":["../databaseCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,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AAO,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;QAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAlML,0CAmMC;AArLG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
|
package/databaseReplica.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export declare class DatabaseReplica extends pulumi.CustomResource {
|
|
|
97
97
|
*/
|
|
98
98
|
readonly region: pulumi.Output<string | undefined>;
|
|
99
99
|
/**
|
|
100
|
-
* Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`).
|
|
100
|
+
* Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
|
|
101
101
|
*/
|
|
102
102
|
readonly size: pulumi.Output<string | undefined>;
|
|
103
103
|
/**
|
|
@@ -170,7 +170,7 @@ export interface DatabaseReplicaState {
|
|
|
170
170
|
*/
|
|
171
171
|
region?: pulumi.Input<string | enums.Region>;
|
|
172
172
|
/**
|
|
173
|
-
* Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`).
|
|
173
|
+
* Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
|
|
174
174
|
*/
|
|
175
175
|
size?: pulumi.Input<string | enums.DatabaseSlug>;
|
|
176
176
|
/**
|
|
@@ -211,7 +211,7 @@ export interface DatabaseReplicaArgs {
|
|
|
211
211
|
*/
|
|
212
212
|
region?: pulumi.Input<string | enums.Region>;
|
|
213
213
|
/**
|
|
214
|
-
* Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`).
|
|
214
|
+
* Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
|
|
215
215
|
*/
|
|
216
216
|
size?: pulumi.Input<string | enums.DatabaseSlug>;
|
|
217
217
|
/**
|
package/droplet.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ export declare class Droplet extends pulumi.CustomResource {
|
|
|
68
68
|
/**
|
|
69
69
|
* A boolean indicating whether the droplet
|
|
70
70
|
* should be gracefully shut down before it is deleted.
|
|
71
|
+
*
|
|
72
|
+
* > **NOTE:** If you use `volumeIds` on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, `volumeIds` must not be mixed with external `digitalocean.VolumeAttachment` resources for a given instance.
|
|
71
73
|
*/
|
|
72
74
|
readonly gracefulShutdown: pulumi.Output<boolean | undefined>;
|
|
73
75
|
/**
|
|
@@ -207,6 +209,8 @@ export interface DropletState {
|
|
|
207
209
|
/**
|
|
208
210
|
* A boolean indicating whether the droplet
|
|
209
211
|
* should be gracefully shut down before it is deleted.
|
|
212
|
+
*
|
|
213
|
+
* > **NOTE:** If you use `volumeIds` on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, `volumeIds` must not be mixed with external `digitalocean.VolumeAttachment` resources for a given instance.
|
|
210
214
|
*/
|
|
211
215
|
gracefulShutdown?: pulumi.Input<boolean>;
|
|
212
216
|
/**
|
|
@@ -329,6 +333,8 @@ export interface DropletArgs {
|
|
|
329
333
|
/**
|
|
330
334
|
* A boolean indicating whether the droplet
|
|
331
335
|
* should be gracefully shut down before it is deleted.
|
|
336
|
+
*
|
|
337
|
+
* > **NOTE:** If you use `volumeIds` on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, `volumeIds` must not be mixed with external `digitalocean.VolumeAttachment` resources for a given instance.
|
|
332
338
|
*/
|
|
333
339
|
gracefulShutdown?: pulumi.Input<boolean>;
|
|
334
340
|
/**
|
|
@@ -339,6 +345,10 @@ export interface DropletArgs {
|
|
|
339
345
|
* Boolean controlling if IPv6 is enabled. Defaults to false.
|
|
340
346
|
*/
|
|
341
347
|
ipv6?: pulumi.Input<boolean>;
|
|
348
|
+
/**
|
|
349
|
+
* The IPv6 address
|
|
350
|
+
*/
|
|
351
|
+
ipv6Address?: pulumi.Input<string>;
|
|
342
352
|
/**
|
|
343
353
|
* Boolean controlling whether monitoring agent is installed.
|
|
344
354
|
* Defaults to false. If set to `true`, you can configure monitor alert policies
|
package/droplet.js
CHANGED
|
@@ -101,6 +101,7 @@ class Droplet extends pulumi.CustomResource {
|
|
|
101
101
|
resourceInputs["gracefulShutdown"] = args ? args.gracefulShutdown : undefined;
|
|
102
102
|
resourceInputs["image"] = args ? args.image : undefined;
|
|
103
103
|
resourceInputs["ipv6"] = args ? args.ipv6 : undefined;
|
|
104
|
+
resourceInputs["ipv6Address"] = args ? args.ipv6Address : undefined;
|
|
104
105
|
resourceInputs["monitoring"] = args ? args.monitoring : undefined;
|
|
105
106
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
106
107
|
resourceInputs["privateNetworking"] = args ? args.privateNetworking : undefined;
|
|
@@ -117,7 +118,6 @@ class Droplet extends pulumi.CustomResource {
|
|
|
117
118
|
resourceInputs["dropletUrn"] = undefined /*out*/;
|
|
118
119
|
resourceInputs["ipv4Address"] = undefined /*out*/;
|
|
119
120
|
resourceInputs["ipv4AddressPrivate"] = undefined /*out*/;
|
|
120
|
-
resourceInputs["ipv6Address"] = undefined /*out*/;
|
|
121
121
|
resourceInputs["locked"] = undefined /*out*/;
|
|
122
122
|
resourceInputs["memory"] = undefined /*out*/;
|
|
123
123
|
resourceInputs["priceHourly"] = undefined /*out*/;
|
package/droplet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"droplet.js","sourceRoot":"","sources":["../droplet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"droplet.js","sourceRoot":"","sources":["../droplet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAy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AC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7OL,0BA8OC;AAhOG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
|
package/getDatabaseReplica.d.ts
CHANGED
|
@@ -84,6 +84,10 @@ export interface GetDatabaseReplicaResult {
|
|
|
84
84
|
* Username for the replica's default user.
|
|
85
85
|
*/
|
|
86
86
|
readonly user: string;
|
|
87
|
+
/**
|
|
88
|
+
* The UUID of the database replica.
|
|
89
|
+
*/
|
|
90
|
+
readonly uuid: string;
|
|
87
91
|
}
|
|
88
92
|
/**
|
|
89
93
|
* Provides information on a DigitalOcean database replica.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseReplica.js","sourceRoot":"","sources":["../getDatabaseReplica.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACz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EC"}
|
package/getDropletSnapshot.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ export declare function getDropletSnapshot(args?: GetDropletSnapshotArgs, opts?:
|
|
|
44
44
|
export interface GetDropletSnapshotArgs {
|
|
45
45
|
/**
|
|
46
46
|
* If more than one result is returned, use the most recent Droplet snapshot.
|
|
47
|
+
*
|
|
48
|
+
* > **NOTE:** If more or less than a single match is returned by the search,
|
|
49
|
+
* the update will fail. Ensure that your search is specific enough to return
|
|
50
|
+
* a single Droplet snapshot ID only, or use `mostRecent` to choose the most recent one.
|
|
47
51
|
*/
|
|
48
52
|
mostRecent?: boolean;
|
|
49
53
|
/**
|
|
@@ -137,6 +141,10 @@ export declare function getDropletSnapshotOutput(args?: GetDropletSnapshotOutput
|
|
|
137
141
|
export interface GetDropletSnapshotOutputArgs {
|
|
138
142
|
/**
|
|
139
143
|
* If more than one result is returned, use the most recent Droplet snapshot.
|
|
144
|
+
*
|
|
145
|
+
* > **NOTE:** If more or less than a single match is returned by the search,
|
|
146
|
+
* the update will fail. Ensure that your search is specific enough to return
|
|
147
|
+
* a single Droplet snapshot ID only, or use `mostRecent` to choose the most recent one.
|
|
140
148
|
*/
|
|
141
149
|
mostRecent?: pulumi.Input<boolean>;
|
|
142
150
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDropletSnapshot.js","sourceRoot":"","sources":["../getDropletSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC;
|
|
1
|
+
{"version":3,"file":"getDropletSnapshot.js","sourceRoot":"","sources":["../getDropletSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/getImage.d.ts
CHANGED
|
@@ -62,6 +62,8 @@ export interface GetImageArgs {
|
|
|
62
62
|
name?: string;
|
|
63
63
|
/**
|
|
64
64
|
* The slug of the official image.
|
|
65
|
+
*
|
|
66
|
+
* If `name` is specified, you may also specify:
|
|
65
67
|
*/
|
|
66
68
|
slug?: string;
|
|
67
69
|
/**
|
|
@@ -197,6 +199,8 @@ export interface GetImageOutputArgs {
|
|
|
197
199
|
name?: pulumi.Input<string>;
|
|
198
200
|
/**
|
|
199
201
|
* The slug of the official image.
|
|
202
|
+
*
|
|
203
|
+
* If `name` is specified, you may also specify:
|
|
200
204
|
*/
|
|
201
205
|
slug?: pulumi.Input<string>;
|
|
202
206
|
/**
|
package/getImage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;
|
|
1
|
+
{"version":3,"file":"getImage.js","sourceRoot":"","sources":["../getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AA2FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getVolumeSnapshot.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ export declare function getVolumeSnapshot(args?: GetVolumeSnapshotArgs, opts?: p
|
|
|
44
44
|
export interface GetVolumeSnapshotArgs {
|
|
45
45
|
/**
|
|
46
46
|
* If more than one result is returned, use the most recent volume snapshot.
|
|
47
|
+
*
|
|
48
|
+
* > **NOTE:** If more or less than a single match is returned by the search,
|
|
49
|
+
* the provider will fail. Ensure that your search is specific enough to return
|
|
50
|
+
* a single volume snapshot ID only, or use `mostRecent` to choose the most recent one.
|
|
47
51
|
*/
|
|
48
52
|
mostRecent?: boolean;
|
|
49
53
|
/**
|
|
@@ -141,6 +145,10 @@ export declare function getVolumeSnapshotOutput(args?: GetVolumeSnapshotOutputAr
|
|
|
141
145
|
export interface GetVolumeSnapshotOutputArgs {
|
|
142
146
|
/**
|
|
143
147
|
* If more than one result is returned, use the most recent volume snapshot.
|
|
148
|
+
*
|
|
149
|
+
* > **NOTE:** If more or less than a single match is returned by the search,
|
|
150
|
+
* the provider will fail. Ensure that your search is specific enough to return
|
|
151
|
+
* a single volume snapshot ID only, or use `mostRecent` to choose the most recent one.
|
|
144
152
|
*/
|
|
145
153
|
mostRecent?: pulumi.Input<boolean>;
|
|
146
154
|
/**
|
package/getVolumeSnapshot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVolumeSnapshot.js","sourceRoot":"","sources":["../getVolumeSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;
|
|
1
|
+
{"version":3,"file":"getVolumeSnapshot.js","sourceRoot":"","sources":["../getVolumeSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;AAiED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/kubernetesCluster.d.ts
CHANGED
|
@@ -5,11 +5,17 @@ import * as enums from "./types/enums";
|
|
|
5
5
|
/**
|
|
6
6
|
* ## Import
|
|
7
7
|
*
|
|
8
|
-
* Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with the `terraform:default-node-pool` tag. The provider will automatically add this tag if the cluster has a single node pool. Clusters with more than one node pool, however, will require that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be the default node pool. Then the Kubernetes cluster and
|
|
8
|
+
* Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with the `terraform:default-node-pool` tag. The provider will automatically add this tag if the cluster only has a single node pool. Clusters with more than one node pool, however, will require that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be the default node pool. Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g.
|
|
9
9
|
*
|
|
10
10
|
* ```sh
|
|
11
11
|
* $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af
|
|
12
12
|
* ```
|
|
13
|
+
*
|
|
14
|
+
* Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` resources, e.g.
|
|
15
|
+
*
|
|
16
|
+
* ```sh
|
|
17
|
+
* $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8
|
|
18
|
+
* ```
|
|
13
19
|
*/
|
|
14
20
|
export declare class KubernetesCluster extends pulumi.CustomResource {
|
|
15
21
|
/**
|
|
@@ -72,6 +78,10 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
|
|
|
72
78
|
* The slug identifier for the region where the Kubernetes cluster will be created.
|
|
73
79
|
*/
|
|
74
80
|
readonly region: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
|
|
83
|
+
*/
|
|
84
|
+
readonly registryIntegration: pulumi.Output<boolean | undefined>;
|
|
75
85
|
/**
|
|
76
86
|
* The range of assignable IP addresses for services running in the Kubernetes cluster.
|
|
77
87
|
*/
|
|
@@ -158,6 +168,10 @@ export interface KubernetesClusterState {
|
|
|
158
168
|
* The slug identifier for the region where the Kubernetes cluster will be created.
|
|
159
169
|
*/
|
|
160
170
|
region?: pulumi.Input<string | enums.Region>;
|
|
171
|
+
/**
|
|
172
|
+
* Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
|
|
173
|
+
*/
|
|
174
|
+
registryIntegration?: pulumi.Input<boolean>;
|
|
161
175
|
/**
|
|
162
176
|
* The range of assignable IP addresses for services running in the Kubernetes cluster.
|
|
163
177
|
*/
|
|
@@ -215,6 +229,10 @@ export interface KubernetesClusterArgs {
|
|
|
215
229
|
* The slug identifier for the region where the Kubernetes cluster will be created.
|
|
216
230
|
*/
|
|
217
231
|
region: pulumi.Input<string | enums.Region>;
|
|
232
|
+
/**
|
|
233
|
+
* Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
|
|
234
|
+
*/
|
|
235
|
+
registryIntegration?: pulumi.Input<boolean>;
|
|
218
236
|
/**
|
|
219
237
|
* Enable/disable surge upgrades for a cluster. Default: false
|
|
220
238
|
*/
|
package/kubernetesCluster.js
CHANGED
|
@@ -8,11 +8,17 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with the `terraform:default-node-pool` tag. The provider will automatically add this tag if the cluster has a single node pool. Clusters with more than one node pool, however, will require that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be the default node pool. Then the Kubernetes cluster and
|
|
11
|
+
* Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with the `terraform:default-node-pool` tag. The provider will automatically add this tag if the cluster only has a single node pool. Clusters with more than one node pool, however, will require that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be the default node pool. Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g.
|
|
12
12
|
*
|
|
13
13
|
* ```sh
|
|
14
14
|
* $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af
|
|
15
15
|
* ```
|
|
16
|
+
*
|
|
17
|
+
* Additional node pools must be imported separately as `digitalocean_kubernetes_cluster` resources, e.g.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8
|
|
21
|
+
* ```
|
|
16
22
|
*/
|
|
17
23
|
class KubernetesCluster extends pulumi.CustomResource {
|
|
18
24
|
/**
|
|
@@ -54,6 +60,7 @@ class KubernetesCluster extends pulumi.CustomResource {
|
|
|
54
60
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
55
61
|
resourceInputs["nodePool"] = state ? state.nodePool : undefined;
|
|
56
62
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
63
|
+
resourceInputs["registryIntegration"] = state ? state.registryIntegration : undefined;
|
|
57
64
|
resourceInputs["serviceSubnet"] = state ? state.serviceSubnet : undefined;
|
|
58
65
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
59
66
|
resourceInputs["surgeUpgrade"] = state ? state.surgeUpgrade : undefined;
|
|
@@ -79,6 +86,7 @@ class KubernetesCluster extends pulumi.CustomResource {
|
|
|
79
86
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
87
|
resourceInputs["nodePool"] = args ? args.nodePool : undefined;
|
|
81
88
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
89
|
+
resourceInputs["registryIntegration"] = args ? args.registryIntegration : undefined;
|
|
82
90
|
resourceInputs["surgeUpgrade"] = args ? args.surgeUpgrade : undefined;
|
|
83
91
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
84
92
|
resourceInputs["version"] = args ? args.version : undefined;
|
package/kubernetesCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kubernetesCluster.js","sourceRoot":"","sources":["../kubernetesCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"kubernetesCluster.js","sourceRoot":"","sources":["../kubernetesCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,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,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA/KL,8CAgLC;AAlKG,gBAAgB;AACO,8BAAY,GAAG,wDAAwD,CAAC"}
|
package/kubernetesNodePool.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ import * as enums from "./types/enums";
|
|
|
57
57
|
*
|
|
58
58
|
* ## Import
|
|
59
59
|
*
|
|
60
|
-
* If you are importing an existing Kubernetes cluster, just import the cluster.
|
|
60
|
+
* If you are importing an existing Kubernetes cluster with a single node pool, just import the cluster. Additional node pools can be imported by using their `id`, e.g.
|
|
61
61
|
*
|
|
62
62
|
* ```sh
|
|
63
63
|
* $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8
|
|
@@ -129,6 +129,8 @@ export declare class KubernetesNodePool extends pulumi.CustomResource {
|
|
|
129
129
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
130
130
|
/**
|
|
131
131
|
* A list of taints applied to all nodes in the pool.
|
|
132
|
+
*
|
|
133
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
132
134
|
*/
|
|
133
135
|
readonly taints: pulumi.Output<outputs.KubernetesNodePoolTaint[] | undefined>;
|
|
134
136
|
/**
|
|
@@ -192,6 +194,8 @@ export interface KubernetesNodePoolState {
|
|
|
192
194
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
193
195
|
/**
|
|
194
196
|
* A list of taints applied to all nodes in the pool.
|
|
197
|
+
*
|
|
198
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
195
199
|
*/
|
|
196
200
|
taints?: pulumi.Input<pulumi.Input<inputs.KubernetesNodePoolTaint>[]>;
|
|
197
201
|
}
|
|
@@ -239,6 +243,8 @@ export interface KubernetesNodePoolArgs {
|
|
|
239
243
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
240
244
|
/**
|
|
241
245
|
* A list of taints applied to all nodes in the pool.
|
|
246
|
+
*
|
|
247
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
242
248
|
*/
|
|
243
249
|
taints?: pulumi.Input<pulumi.Input<inputs.KubernetesNodePoolTaint>[]>;
|
|
244
250
|
}
|
package/kubernetesNodePool.js
CHANGED
|
@@ -60,7 +60,7 @@ const utilities = require("./utilities");
|
|
|
60
60
|
*
|
|
61
61
|
* ## Import
|
|
62
62
|
*
|
|
63
|
-
* If you are importing an existing Kubernetes cluster, just import the cluster.
|
|
63
|
+
* If you are importing an existing Kubernetes cluster with a single node pool, just import the cluster. Additional node pools can be imported by using their `id`, e.g.
|
|
64
64
|
*
|
|
65
65
|
* ```sh
|
|
66
66
|
* $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kubernetesNodePool.js","sourceRoot":"","sources":["../kubernetesNodePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;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,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,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;;AA/HL,gDAgIC;AAlHG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/digitalocean",
|
|
3
|
-
"version": "v4.19.
|
|
3
|
+
"version": "v4.19.2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing DigitalOcean 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.19.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource digitalocean v4.19.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/digitalocean",
|
|
3
|
-
"version": "v4.19.
|
|
3
|
+
"version": "v4.19.2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing DigitalOcean 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.19.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource digitalocean v4.19.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/provider.d.ts
CHANGED
|
@@ -48,6 +48,22 @@ export interface ProviderArgs {
|
|
|
48
48
|
* The URL to use for the DigitalOcean API.
|
|
49
49
|
*/
|
|
50
50
|
apiEndpoint?: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The maximum number of retries on a failed API request.
|
|
53
|
+
*/
|
|
54
|
+
httpRetryMax?: pulumi.Input<number>;
|
|
55
|
+
/**
|
|
56
|
+
* The maximum wait time (in seconds) between failed API requests.
|
|
57
|
+
*/
|
|
58
|
+
httpRetryWaitMax?: pulumi.Input<number>;
|
|
59
|
+
/**
|
|
60
|
+
* The minimum wait time (in seconds) between failed API requests.
|
|
61
|
+
*/
|
|
62
|
+
httpRetryWaitMin?: pulumi.Input<number>;
|
|
63
|
+
/**
|
|
64
|
+
* The rate of requests per second to limit the HTTP client.
|
|
65
|
+
*/
|
|
66
|
+
requestsPerSecond?: pulumi.Input<number>;
|
|
51
67
|
/**
|
|
52
68
|
* The access key ID for Spaces API operations.
|
|
53
69
|
*/
|
package/provider.js
CHANGED
|
@@ -35,6 +35,10 @@ class Provider extends pulumi.ProviderResource {
|
|
|
35
35
|
opts = opts || {};
|
|
36
36
|
{
|
|
37
37
|
resourceInputs["apiEndpoint"] = (_a = (args ? args.apiEndpoint : undefined)) !== null && _a !== void 0 ? _a : (utilities.getEnv("DIGITALOCEAN_API_URL") || "https://api.digitalocean.com");
|
|
38
|
+
resourceInputs["httpRetryMax"] = pulumi.output(args ? args.httpRetryMax : undefined).apply(JSON.stringify);
|
|
39
|
+
resourceInputs["httpRetryWaitMax"] = pulumi.output(args ? args.httpRetryWaitMax : undefined).apply(JSON.stringify);
|
|
40
|
+
resourceInputs["httpRetryWaitMin"] = pulumi.output(args ? args.httpRetryWaitMin : undefined).apply(JSON.stringify);
|
|
41
|
+
resourceInputs["requestsPerSecond"] = pulumi.output(args ? args.requestsPerSecond : undefined).apply(JSON.stringify);
|
|
38
42
|
resourceInputs["spacesAccessId"] = args ? args.spacesAccessId : undefined;
|
|
39
43
|
resourceInputs["spacesEndpoint"] = (_b = (args ? args.spacesEndpoint : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnv("SPACES_ENDPOINT_URL");
|
|
40
44
|
resourceInputs["spacesSecretKey"] = args ? args.spacesSecretKey : undefined;
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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;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C,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACrH,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,gBAAgB,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;YACvH,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;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;;AA3DL,4BA4DC;AA3DG,gBAAgB;AACO,qBAAY,GAAG,cAAc,CAAC"}
|
package/spacesBucketObject.d.ts
CHANGED
|
@@ -106,6 +106,10 @@ export declare class SpacesBucketObject extends pulumi.CustomResource {
|
|
|
106
106
|
/**
|
|
107
107
|
* Allow the object to be deleted by removing any legal hold on any object version.
|
|
108
108
|
* Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
109
|
+
*
|
|
110
|
+
* If no content is provided through `source`, `content` or `contentBase64`, then the object will be empty.
|
|
111
|
+
*
|
|
112
|
+
* > **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
|
|
109
113
|
*/
|
|
110
114
|
readonly forceDestroy: pulumi.Output<boolean | undefined>;
|
|
111
115
|
/**
|
|
@@ -190,6 +194,10 @@ export interface SpacesBucketObjectState {
|
|
|
190
194
|
/**
|
|
191
195
|
* Allow the object to be deleted by removing any legal hold on any object version.
|
|
192
196
|
* Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
197
|
+
*
|
|
198
|
+
* If no content is provided through `source`, `content` or `contentBase64`, then the object will be empty.
|
|
199
|
+
*
|
|
200
|
+
* > **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
|
|
193
201
|
*/
|
|
194
202
|
forceDestroy?: pulumi.Input<boolean>;
|
|
195
203
|
/**
|
|
@@ -266,6 +274,10 @@ export interface SpacesBucketObjectArgs {
|
|
|
266
274
|
/**
|
|
267
275
|
* Allow the object to be deleted by removing any legal hold on any object version.
|
|
268
276
|
* Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
|
|
277
|
+
*
|
|
278
|
+
* If no content is provided through `source`, `content` or `contentBase64`, then the object will be empty.
|
|
279
|
+
*
|
|
280
|
+
* > **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
|
|
269
281
|
*/
|
|
270
282
|
forceDestroy?: pulumi.Input<boolean>;
|
|
271
283
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacesBucketObject.js","sourceRoot":"","sources":["../spacesBucketObject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+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AAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,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;;AAnKL,gDAoKC;AAtJG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ export interface AppSpecDatabase {
|
|
|
53
53
|
dbName?: pulumi.Input<string>;
|
|
54
54
|
/**
|
|
55
55
|
* The name of the MySQL or PostgreSQL user to configure.
|
|
56
|
+
*
|
|
57
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
56
58
|
*/
|
|
57
59
|
dbUser?: pulumi.Input<string>;
|
|
58
60
|
/**
|
|
@@ -299,6 +301,8 @@ export interface AppSpecFunctionLogDestinationDatadog {
|
|
|
299
301
|
export interface AppSpecFunctionLogDestinationLogtail {
|
|
300
302
|
/**
|
|
301
303
|
* Logtail token.
|
|
304
|
+
*
|
|
305
|
+
* A `database` can contain:
|
|
302
306
|
*/
|
|
303
307
|
token: pulumi.Input<string>;
|
|
304
308
|
}
|
|
@@ -521,6 +525,8 @@ export interface AppSpecJobLogDestinationDatadog {
|
|
|
521
525
|
export interface AppSpecJobLogDestinationLogtail {
|
|
522
526
|
/**
|
|
523
527
|
* Logtail token.
|
|
528
|
+
*
|
|
529
|
+
* A `database` can contain:
|
|
524
530
|
*/
|
|
525
531
|
token: pulumi.Input<string>;
|
|
526
532
|
}
|
|
@@ -815,6 +821,8 @@ export interface AppSpecServiceLogDestinationDatadog {
|
|
|
815
821
|
export interface AppSpecServiceLogDestinationLogtail {
|
|
816
822
|
/**
|
|
817
823
|
* Logtail token.
|
|
824
|
+
*
|
|
825
|
+
* A `database` can contain:
|
|
818
826
|
*/
|
|
819
827
|
token: pulumi.Input<string>;
|
|
820
828
|
}
|
|
@@ -1201,6 +1209,8 @@ export interface AppSpecWorkerLogDestinationDatadog {
|
|
|
1201
1209
|
export interface AppSpecWorkerLogDestinationLogtail {
|
|
1202
1210
|
/**
|
|
1203
1211
|
* Logtail token.
|
|
1212
|
+
*
|
|
1213
|
+
* A `database` can contain:
|
|
1204
1214
|
*/
|
|
1205
1215
|
token: pulumi.Input<string>;
|
|
1206
1216
|
}
|
|
@@ -1210,6 +1220,18 @@ export interface AppSpecWorkerLogDestinationPapertrail {
|
|
|
1210
1220
|
*/
|
|
1211
1221
|
endpoint: pulumi.Input<string>;
|
|
1212
1222
|
}
|
|
1223
|
+
export interface DatabaseClusterBackupRestore {
|
|
1224
|
+
/**
|
|
1225
|
+
* The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
|
|
1226
|
+
*
|
|
1227
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
1228
|
+
*/
|
|
1229
|
+
backupCreatedAt?: pulumi.Input<string>;
|
|
1230
|
+
/**
|
|
1231
|
+
* The name of an existing database cluster from which the backup will be restored.
|
|
1232
|
+
*/
|
|
1233
|
+
databaseName: pulumi.Input<string>;
|
|
1234
|
+
}
|
|
1213
1235
|
export interface DatabaseClusterMaintenanceWindow {
|
|
1214
1236
|
/**
|
|
1215
1237
|
* The day of the week on which to apply maintenance updates.
|
|
@@ -2192,6 +2214,8 @@ export interface KubernetesClusterMaintenancePolicy {
|
|
|
2192
2214
|
duration?: pulumi.Input<string>;
|
|
2193
2215
|
/**
|
|
2194
2216
|
* The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
|
|
2217
|
+
*
|
|
2218
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
2195
2219
|
*/
|
|
2196
2220
|
startTime?: pulumi.Input<string>;
|
|
2197
2221
|
}
|
|
@@ -2460,6 +2484,8 @@ export interface SpacesBucketLifecycleRule {
|
|
|
2460
2484
|
id?: pulumi.Input<string>;
|
|
2461
2485
|
/**
|
|
2462
2486
|
* Specifies when non-current object versions expire (documented below).
|
|
2487
|
+
*
|
|
2488
|
+
* At least one of `expiration` or `noncurrentVersionExpiration` must be specified.
|
|
2463
2489
|
*/
|
|
2464
2490
|
noncurrentVersionExpiration?: pulumi.Input<inputs.SpacesBucketLifecycleRuleNoncurrentVersionExpiration>;
|
|
2465
2491
|
/**
|
|
@@ -2497,10 +2523,19 @@ export interface SpacesBucketVersioning {
|
|
|
2497
2523
|
enabled?: pulumi.Input<boolean>;
|
|
2498
2524
|
}
|
|
2499
2525
|
export interface UptimeAlertNotification {
|
|
2526
|
+
/**
|
|
2527
|
+
* List of email addresses to sent notifications to.
|
|
2528
|
+
*/
|
|
2500
2529
|
emails?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2501
2530
|
slacks?: pulumi.Input<pulumi.Input<inputs.UptimeAlertNotificationSlack>[]>;
|
|
2502
2531
|
}
|
|
2503
2532
|
export interface UptimeAlertNotificationSlack {
|
|
2533
|
+
/**
|
|
2534
|
+
* The Slack channel to send alerts to.
|
|
2535
|
+
*/
|
|
2504
2536
|
channel: pulumi.Input<string>;
|
|
2537
|
+
/**
|
|
2538
|
+
* The webhook URL for Slack.
|
|
2539
|
+
*/
|
|
2505
2540
|
url: pulumi.Input<string>;
|
|
2506
2541
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export interface AppSpecDatabase {
|
|
|
52
52
|
dbName?: string;
|
|
53
53
|
/**
|
|
54
54
|
* The name of the MySQL or PostgreSQL user to configure.
|
|
55
|
+
*
|
|
56
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
55
57
|
*/
|
|
56
58
|
dbUser?: string;
|
|
57
59
|
/**
|
|
@@ -298,6 +300,8 @@ export interface AppSpecFunctionLogDestinationDatadog {
|
|
|
298
300
|
export interface AppSpecFunctionLogDestinationLogtail {
|
|
299
301
|
/**
|
|
300
302
|
* Logtail token.
|
|
303
|
+
*
|
|
304
|
+
* A `database` can contain:
|
|
301
305
|
*/
|
|
302
306
|
token: string;
|
|
303
307
|
}
|
|
@@ -520,6 +524,8 @@ export interface AppSpecJobLogDestinationDatadog {
|
|
|
520
524
|
export interface AppSpecJobLogDestinationLogtail {
|
|
521
525
|
/**
|
|
522
526
|
* Logtail token.
|
|
527
|
+
*
|
|
528
|
+
* A `database` can contain:
|
|
523
529
|
*/
|
|
524
530
|
token: string;
|
|
525
531
|
}
|
|
@@ -814,6 +820,8 @@ export interface AppSpecServiceLogDestinationDatadog {
|
|
|
814
820
|
export interface AppSpecServiceLogDestinationLogtail {
|
|
815
821
|
/**
|
|
816
822
|
* Logtail token.
|
|
823
|
+
*
|
|
824
|
+
* A `database` can contain:
|
|
817
825
|
*/
|
|
818
826
|
token: string;
|
|
819
827
|
}
|
|
@@ -1200,6 +1208,8 @@ export interface AppSpecWorkerLogDestinationDatadog {
|
|
|
1200
1208
|
export interface AppSpecWorkerLogDestinationLogtail {
|
|
1201
1209
|
/**
|
|
1202
1210
|
* Logtail token.
|
|
1211
|
+
*
|
|
1212
|
+
* A `database` can contain:
|
|
1203
1213
|
*/
|
|
1204
1214
|
token: string;
|
|
1205
1215
|
}
|
|
@@ -1209,6 +1219,18 @@ export interface AppSpecWorkerLogDestinationPapertrail {
|
|
|
1209
1219
|
*/
|
|
1210
1220
|
endpoint: string;
|
|
1211
1221
|
}
|
|
1222
|
+
export interface DatabaseClusterBackupRestore {
|
|
1223
|
+
/**
|
|
1224
|
+
* The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
|
|
1225
|
+
*
|
|
1226
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
1227
|
+
*/
|
|
1228
|
+
backupCreatedAt?: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* The name of an existing database cluster from which the backup will be restored.
|
|
1231
|
+
*/
|
|
1232
|
+
databaseName: string;
|
|
1233
|
+
}
|
|
1212
1234
|
export interface DatabaseClusterMaintenanceWindow {
|
|
1213
1235
|
/**
|
|
1214
1236
|
* The day of the week on which to apply maintenance updates.
|
|
@@ -3538,6 +3560,8 @@ export interface KubernetesClusterMaintenancePolicy {
|
|
|
3538
3560
|
duration: string;
|
|
3539
3561
|
/**
|
|
3540
3562
|
* The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
|
|
3563
|
+
*
|
|
3564
|
+
* This resource supports customized create timeouts. The default timeout is 30 minutes.
|
|
3541
3565
|
*/
|
|
3542
3566
|
startTime: string;
|
|
3543
3567
|
}
|
|
@@ -3806,6 +3830,8 @@ export interface SpacesBucketLifecycleRule {
|
|
|
3806
3830
|
id: string;
|
|
3807
3831
|
/**
|
|
3808
3832
|
* Specifies when non-current object versions expire (documented below).
|
|
3833
|
+
*
|
|
3834
|
+
* At least one of `expiration` or `noncurrentVersionExpiration` must be specified.
|
|
3809
3835
|
*/
|
|
3810
3836
|
noncurrentVersionExpiration?: outputs.SpacesBucketLifecycleRuleNoncurrentVersionExpiration;
|
|
3811
3837
|
/**
|
|
@@ -3843,10 +3869,19 @@ export interface SpacesBucketVersioning {
|
|
|
3843
3869
|
enabled?: boolean;
|
|
3844
3870
|
}
|
|
3845
3871
|
export interface UptimeAlertNotification {
|
|
3872
|
+
/**
|
|
3873
|
+
* List of email addresses to sent notifications to.
|
|
3874
|
+
*/
|
|
3846
3875
|
emails?: string[];
|
|
3847
3876
|
slacks?: outputs.UptimeAlertNotificationSlack[];
|
|
3848
3877
|
}
|
|
3849
3878
|
export interface UptimeAlertNotificationSlack {
|
|
3879
|
+
/**
|
|
3880
|
+
* The Slack channel to send alerts to.
|
|
3881
|
+
*/
|
|
3850
3882
|
channel: string;
|
|
3883
|
+
/**
|
|
3884
|
+
* The webhook URL for Slack.
|
|
3885
|
+
*/
|
|
3851
3886
|
url: string;
|
|
3852
3887
|
}
|
package/uptimeAlert.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/
|
|
6
|
-
* resource. Uptime Alerts provide the ability to add alerts to your [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/
|
|
5
|
+
* Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/api-reference/#operation/uptime_alert_create)
|
|
6
|
+
* resource. Uptime Alerts provide the ability to add alerts to your [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime) when your endpoints are slow, unavailable, or SSL certificates are expiring.
|
|
7
7
|
*
|
|
8
8
|
* ## Import
|
|
9
9
|
*
|
|
@@ -34,7 +34,7 @@ export declare class UptimeAlert extends pulumi.CustomResource {
|
|
|
34
34
|
*/
|
|
35
35
|
readonly checkId: pulumi.Output<string>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* The comparison operator used against the alert's threshold. Must be one of `greaterThan` or `lessThan`.
|
|
38
38
|
*/
|
|
39
39
|
readonly comparison: pulumi.Output<string | undefined>;
|
|
40
40
|
/**
|
|
@@ -46,15 +46,15 @@ export declare class UptimeAlert extends pulumi.CustomResource {
|
|
|
46
46
|
*/
|
|
47
47
|
readonly notifications: pulumi.Output<outputs.UptimeAlertNotification[]>;
|
|
48
48
|
/**
|
|
49
|
-
* Period of time the threshold must be exceeded to trigger the alert
|
|
49
|
+
* Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
|
|
50
50
|
*/
|
|
51
51
|
readonly period: pulumi.Output<string | undefined>;
|
|
52
52
|
/**
|
|
53
|
-
* The
|
|
53
|
+
* The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
|
|
54
54
|
*/
|
|
55
55
|
readonly threshold: pulumi.Output<number | undefined>;
|
|
56
56
|
/**
|
|
57
|
-
* The type of health check to perform
|
|
57
|
+
* The type of health check to perform. Must be one of `latency`, `down`, `downGlobal` or `sslExpiry`.
|
|
58
58
|
*/
|
|
59
59
|
readonly type: pulumi.Output<string>;
|
|
60
60
|
/**
|
|
@@ -75,7 +75,7 @@ export interface UptimeAlertState {
|
|
|
75
75
|
*/
|
|
76
76
|
checkId?: pulumi.Input<string>;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* The comparison operator used against the alert's threshold. Must be one of `greaterThan` or `lessThan`.
|
|
79
79
|
*/
|
|
80
80
|
comparison?: pulumi.Input<string>;
|
|
81
81
|
/**
|
|
@@ -87,15 +87,15 @@ export interface UptimeAlertState {
|
|
|
87
87
|
*/
|
|
88
88
|
notifications?: pulumi.Input<pulumi.Input<inputs.UptimeAlertNotification>[]>;
|
|
89
89
|
/**
|
|
90
|
-
* Period of time the threshold must be exceeded to trigger the alert
|
|
90
|
+
* Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
|
|
91
91
|
*/
|
|
92
92
|
period?: pulumi.Input<string>;
|
|
93
93
|
/**
|
|
94
|
-
* The
|
|
94
|
+
* The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
|
|
95
95
|
*/
|
|
96
96
|
threshold?: pulumi.Input<number>;
|
|
97
97
|
/**
|
|
98
|
-
* The type of health check to perform
|
|
98
|
+
* The type of health check to perform. Must be one of `latency`, `down`, `downGlobal` or `sslExpiry`.
|
|
99
99
|
*/
|
|
100
100
|
type?: pulumi.Input<string>;
|
|
101
101
|
}
|
|
@@ -108,7 +108,7 @@ export interface UptimeAlertArgs {
|
|
|
108
108
|
*/
|
|
109
109
|
checkId: pulumi.Input<string>;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* The comparison operator used against the alert's threshold. Must be one of `greaterThan` or `lessThan`.
|
|
112
112
|
*/
|
|
113
113
|
comparison?: pulumi.Input<string>;
|
|
114
114
|
/**
|
|
@@ -120,15 +120,15 @@ export interface UptimeAlertArgs {
|
|
|
120
120
|
*/
|
|
121
121
|
notifications: pulumi.Input<pulumi.Input<inputs.UptimeAlertNotification>[]>;
|
|
122
122
|
/**
|
|
123
|
-
* Period of time the threshold must be exceeded to trigger the alert
|
|
123
|
+
* Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
|
|
124
124
|
*/
|
|
125
125
|
period?: pulumi.Input<string>;
|
|
126
126
|
/**
|
|
127
|
-
* The
|
|
127
|
+
* The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
|
|
128
128
|
*/
|
|
129
129
|
threshold?: pulumi.Input<number>;
|
|
130
130
|
/**
|
|
131
|
-
* The type of health check to perform
|
|
131
|
+
* The type of health check to perform. Must be one of `latency`, `down`, `downGlobal` or `sslExpiry`.
|
|
132
132
|
*/
|
|
133
133
|
type: pulumi.Input<string>;
|
|
134
134
|
}
|
package/uptimeAlert.js
CHANGED
|
@@ -6,8 +6,8 @@ exports.UptimeAlert = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/
|
|
10
|
-
* resource. Uptime Alerts provide the ability to add alerts to your [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/
|
|
9
|
+
* Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/api-reference/#operation/uptime_alert_create)
|
|
10
|
+
* resource. Uptime Alerts provide the ability to add alerts to your [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime) when your endpoints are slow, unavailable, or SSL certificates are expiring.
|
|
11
11
|
*
|
|
12
12
|
* ## Import
|
|
13
13
|
*
|
package/uptimeCheck.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/
|
|
3
|
+
* Provides a [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime)
|
|
4
4
|
* resource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they're slow, unavailable, or SSL certificates are expiring.
|
|
5
5
|
*
|
|
6
6
|
* ## Import
|
package/uptimeCheck.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.UptimeCheck = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/
|
|
9
|
+
* Provides a [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime)
|
|
10
10
|
* resource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they're slow, unavailable, or SSL certificates are expiring.
|
|
11
11
|
*
|
|
12
12
|
* ## Import
|