@pulumi/digitalocean 4.14.0 → 4.15.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/app.d.ts CHANGED
@@ -169,6 +169,10 @@ export declare class App extends pulumi.CustomResource {
169
169
  * The date and time of when the app was last updated.
170
170
  */
171
171
  readonly updatedAt: pulumi.Output<string>;
172
+ /**
173
+ * The uniform resource identifier for the app.
174
+ */
175
+ readonly urn: pulumi.Output<string>;
172
176
  /**
173
177
  * Create a App resource with the given unique name, arguments, and options.
174
178
  *
@@ -206,6 +210,10 @@ export interface AppState {
206
210
  * The date and time of when the app was last updated.
207
211
  */
208
212
  updatedAt?: pulumi.Input<string>;
213
+ /**
214
+ * The uniform resource identifier for the app.
215
+ */
216
+ urn?: pulumi.Input<string>;
209
217
  }
210
218
  /**
211
219
  * The set of arguments for constructing a App resource.
package/app.js CHANGED
@@ -146,6 +146,7 @@ class App extends pulumi.CustomResource {
146
146
  resourceInputs["liveUrl"] = state ? state.liveUrl : undefined;
147
147
  resourceInputs["spec"] = state ? state.spec : undefined;
148
148
  resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
149
+ resourceInputs["urn"] = state ? state.urn : undefined;
149
150
  }
150
151
  else {
151
152
  const args = argsOrState;
@@ -155,6 +156,7 @@ class App extends pulumi.CustomResource {
155
156
  resourceInputs["defaultIngress"] = undefined /*out*/;
156
157
  resourceInputs["liveUrl"] = undefined /*out*/;
157
158
  resourceInputs["updatedAt"] = undefined /*out*/;
159
+ resourceInputs["urn"] = undefined /*out*/;
158
160
  }
159
161
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
160
162
  super(App.__pulumiType, name, resourceInputs, opts);
package/app.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;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,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IAxFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;;AA1BL,kBA0FC;AA5EG,gBAAgB;AACO,gBAAY,GAAG,4BAA4B,CAAC"}
package/certificate.d.ts CHANGED
@@ -14,7 +14,7 @@ import { enums } from "./types";
14
14
  * ```typescript
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as digitalocean from "@pulumi/digitalocean";
17
- * import * from "fs";
17
+ * import * as fs from "fs";
18
18
  *
19
19
  * const cert = new digitalocean.Certificate("cert", {
20
20
  * type: "custom",
package/certificate.js CHANGED
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
19
19
  * ```typescript
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as digitalocean from "@pulumi/digitalocean";
22
- * import * from "fs";
22
+ * import * as fs from "fs";
23
23
  *
24
24
  * const cert = new digitalocean.Certificate("cert", {
25
25
  * type: "custom",
@@ -41,7 +41,7 @@ import { input as inputs, output as outputs } from "./types";
41
41
  *
42
42
  * const web = new digitalocean.Droplet("web", {
43
43
  * size: "s-1vcpu-1gb",
44
- * image: "centos-7-x64",
44
+ * image: "ubuntu-22-04-x64",
45
45
  * region: "nyc3",
46
46
  * });
47
47
  * const postgres_example = new digitalocean.DatabaseCluster("postgres-example", {
@@ -46,7 +46,7 @@ const utilities = require("./utilities");
46
46
  *
47
47
  * const web = new digitalocean.Droplet("web", {
48
48
  * size: "s-1vcpu-1gb",
49
- * image: "centos-7-x64",
49
+ * image: "ubuntu-22-04-x64",
50
50
  * region: "nyc3",
51
51
  * });
52
52
  * const postgres_example = new digitalocean.DatabaseCluster("postgres-example", {
package/droplet.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare class Droplet extends pulumi.CustomResource {
72
72
  */
73
73
  readonly gracefulShutdown: pulumi.Output<boolean | undefined>;
74
74
  /**
75
- * The Droplet image ID or slug.
75
+ * The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
76
76
  */
77
77
  readonly image: pulumi.Output<string>;
78
78
  /**
@@ -212,7 +212,7 @@ export interface DropletState {
212
212
  */
213
213
  gracefulShutdown?: pulumi.Input<boolean>;
214
214
  /**
215
- * The Droplet image ID or slug.
215
+ * The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
216
216
  */
217
217
  image?: pulumi.Input<string>;
218
218
  /**
@@ -334,7 +334,7 @@ export interface DropletArgs {
334
334
  */
335
335
  gracefulShutdown?: pulumi.Input<boolean>;
336
336
  /**
337
- * The Droplet image ID or slug.
337
+ * The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
338
338
  */
339
339
  image: pulumi.Input<string>;
340
340
  /**
@@ -10,10 +10,15 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * const web = new digitalocean.Droplet("web", {
12
12
  * size: "s-1vcpu-1gb",
13
- * image: "centos-7-x64",
13
+ * image: "ubuntu-22-04-x64",
14
14
  * region: "nyc3",
15
15
  * });
16
16
  * const web_snapshot = new digitalocean.DropletSnapshot("web-snapshot", {dropletId: web.id});
17
+ * const from_snapshot = new digitalocean.Droplet("from-snapshot", {
18
+ * image: web_snapshot.id,
19
+ * region: "nyc3",
20
+ * size: "s-2vcpu-4gb",
21
+ * });
17
22
  * ```
18
23
  *
19
24
  * ## Import
@@ -16,10 +16,15 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * const web = new digitalocean.Droplet("web", {
18
18
  * size: "s-1vcpu-1gb",
19
- * image: "centos-7-x64",
19
+ * image: "ubuntu-22-04-x64",
20
20
  * region: "nyc3",
21
21
  * });
22
22
  * const web_snapshot = new digitalocean.DropletSnapshot("web-snapshot", {dropletId: web.id});
23
+ * const from_snapshot = new digitalocean.Droplet("from-snapshot", {
24
+ * image: web_snapshot.id,
25
+ * region: "nyc3",
26
+ * size: "s-2vcpu-4gb",
27
+ * });
23
28
  * ```
24
29
  *
25
30
  * ## Import
@@ -1 +1 @@
1
- {"version":3,"file":"dropletSnapshot.js","sourceRoot":"","sources":["../dropletSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IA6DtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK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,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IArFD;;;;;;;;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,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAuFC;AAzEG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
package/getApp.d.ts CHANGED
@@ -60,6 +60,10 @@ export interface GetAppResult {
60
60
  * The date and time of when the app was last updated.
61
61
  */
62
62
  readonly updatedAt: string;
63
+ /**
64
+ * The uniform resource identifier for the app.
65
+ */
66
+ readonly urn: string;
63
67
  }
64
68
  export declare function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAppResult>;
65
69
  /**
package/getApp.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getApp.js","sourceRoot":"","sources":["../getApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAg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IAAI,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC"}
@@ -18,6 +18,24 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  * region: "nyc3",
19
19
  * }));
20
20
  * ```
21
+ *
22
+ * Create image from snapshot:
23
+ *
24
+ * ```typescript
25
+ * import * as pulumi from "@pulumi/pulumi";
26
+ * import * as digitalocean from "@pulumi/digitalocean";
27
+ *
28
+ * const web-snapshot = digitalocean.getDropletSnapshot({
29
+ * nameRegex: "^web",
30
+ * region: "nyc3",
31
+ * mostRecent: true,
32
+ * });
33
+ * const from_snapshot = new digitalocean.Droplet("from-snapshot", {
34
+ * image: web_snapshot.then(web_snapshot => web_snapshot.id),
35
+ * region: "nyc3",
36
+ * size: "s-2vcpu-4gb",
37
+ * });
38
+ * ```
21
39
  */
22
40
  export declare function getDropletSnapshot(args?: GetDropletSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetDropletSnapshotResult>;
23
41
  /**
@@ -24,6 +24,24 @@ const utilities = require("./utilities");
24
24
  * region: "nyc3",
25
25
  * }));
26
26
  * ```
27
+ *
28
+ * Create image from snapshot:
29
+ *
30
+ * ```typescript
31
+ * import * as pulumi from "@pulumi/pulumi";
32
+ * import * as digitalocean from "@pulumi/digitalocean";
33
+ *
34
+ * const web-snapshot = digitalocean.getDropletSnapshot({
35
+ * nameRegex: "^web",
36
+ * region: "nyc3",
37
+ * mostRecent: true,
38
+ * });
39
+ * const from_snapshot = new digitalocean.Droplet("from-snapshot", {
40
+ * image: web_snapshot.then(web_snapshot => web_snapshot.id),
41
+ * region: "nyc3",
42
+ * size: "s-2vcpu-4gb",
43
+ * });
44
+ * ```
27
45
  */
28
46
  function getDropletSnapshot(args, opts) {
29
47
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getDropletSnapshot.js","sourceRoot":"","sources":["../getDropletSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;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AAO,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;AAbD,gDAaC;AA0DD,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/digitalocean",
3
- "version": "v4.14.0",
3
+ "version": "v4.15.1",
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.14.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource digitalocean v4.15.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0",
@@ -24,6 +24,7 @@
24
24
  "typescript": "^4.3.5"
25
25
  },
26
26
  "pulumi": {
27
- "resource": true
27
+ "resource": true,
28
+ "name": "digitalocean"
28
29
  }
29
30
  }
package/package.json.bak CHANGED
@@ -24,6 +24,7 @@
24
24
  "typescript": "^4.3.5"
25
25
  },
26
26
  "pulumi": {
27
- "resource": true
27
+ "resource": true,
28
+ "name": "digitalocean"
28
29
  }
29
30
  }
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/digitalocean",
3
- "version": "v4.14.0",
3
+ "version": "v4.15.1",
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.14.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource digitalocean v4.15.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0",
@@ -24,6 +24,7 @@
24
24
  "typescript": "^4.3.5"
25
25
  },
26
26
  "pulumi": {
27
- "resource": true
27
+ "resource": true,
28
+ "name": "digitalocean"
28
29
  }
29
30
  }
package/project.d.ts CHANGED
@@ -42,7 +42,7 @@ import * as pulumi from "@pulumi/pulumi";
42
42
  *
43
43
  * const foobar = new digitalocean.Droplet("foobar", {
44
44
  * size: "s-1vcpu-1gb",
45
- * image: "centos-7-x64",
45
+ * image: "ubuntu-22-04-x64",
46
46
  * region: "nyc3",
47
47
  * });
48
48
  * const playground = new digitalocean.Project("playground", {
@@ -89,7 +89,10 @@ export declare class Project extends pulumi.CustomResource {
89
89
  * the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
90
90
  */
91
91
  readonly environment: pulumi.Output<string | undefined>;
92
- readonly isDefault: pulumi.Output<boolean>;
92
+ /**
93
+ * a boolean indicating whether or not the project is the default project. (Default: "false")
94
+ */
95
+ readonly isDefault: pulumi.Output<boolean | undefined>;
93
96
  /**
94
97
  * The name of the Project
95
98
  */
@@ -139,6 +142,9 @@ export interface ProjectState {
139
142
  * the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
140
143
  */
141
144
  environment?: pulumi.Input<string>;
145
+ /**
146
+ * a boolean indicating whether or not the project is the default project. (Default: "false")
147
+ */
142
148
  isDefault?: pulumi.Input<boolean>;
143
149
  /**
144
150
  * The name of the Project
@@ -177,6 +183,10 @@ export interface ProjectArgs {
177
183
  * the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
178
184
  */
179
185
  environment?: pulumi.Input<string>;
186
+ /**
187
+ * a boolean indicating whether or not the project is the default project. (Default: "false")
188
+ */
189
+ isDefault?: pulumi.Input<boolean>;
180
190
  /**
181
191
  * The name of the Project
182
192
  */
package/project.js CHANGED
@@ -48,7 +48,7 @@ const utilities = require("./utilities");
48
48
  *
49
49
  * const foobar = new digitalocean.Droplet("foobar", {
50
50
  * size: "s-1vcpu-1gb",
51
- * image: "centos-7-x64",
51
+ * image: "ubuntu-22-04-x64",
52
52
  * region: "nyc3",
53
53
  * });
54
54
  * const playground = new digitalocean.Project("playground", {
@@ -88,11 +88,11 @@ class Project extends pulumi.CustomResource {
88
88
  const args = argsOrState;
89
89
  resourceInputs["description"] = args ? args.description : undefined;
90
90
  resourceInputs["environment"] = args ? args.environment : undefined;
91
+ resourceInputs["isDefault"] = args ? args.isDefault : undefined;
91
92
  resourceInputs["name"] = args ? args.name : undefined;
92
93
  resourceInputs["purpose"] = args ? args.purpose : undefined;
93
94
  resourceInputs["resources"] = args ? args.resources : undefined;
94
95
  resourceInputs["createdAt"] = undefined /*out*/;
95
- resourceInputs["isDefault"] = undefined /*out*/;
96
96
  resourceInputs["ownerId"] = undefined /*out*/;
97
97
  resourceInputs["ownerUuid"] = undefined /*out*/;
98
98
  resourceInputs["updatedAt"] = undefined /*out*/;
package/project.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA0E9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,C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IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IA1GD;;;;;;;;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;;AA1BL,0BA4GC;AA9FG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
@@ -27,7 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
27
27
  * });
28
28
  * const foobar = new digitalocean.Droplet("foobar", {
29
29
  * size: "s-1vcpu-1gb",
30
- * image: "centos-7-x64",
30
+ * image: "ubuntu-22-04-x64",
31
31
  * region: "nyc3",
32
32
  * });
33
33
  * const barfoo = new digitalocean.ProjectResources("barfoo", {
@@ -33,7 +33,7 @@ const utilities = require("./utilities");
33
33
  * });
34
34
  * const foobar = new digitalocean.Droplet("foobar", {
35
35
  * size: "s-1vcpu-1gb",
36
- * image: "centos-7-x64",
36
+ * image: "ubuntu-22-04-x64",
37
37
  * region: "nyc3",
38
38
  * });
39
39
  * const barfoo = new digitalocean.ProjectResources("barfoo", {
package/sshKey.d.ts CHANGED
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * ```typescript
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as digitalocean from "@pulumi/digitalocean";
13
- * import * from "fs";
13
+ * import * as fs from "fs";
14
14
  *
15
15
  * // Create a new SSH key
16
16
  * const _default = new digitalocean.SshKey("default", {publicKey: fs.readFileSync("/Users/myuser/.ssh/id_rsa.pub")});
package/sshKey.js CHANGED
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
16
16
  * ```typescript
17
17
  * import * as pulumi from "@pulumi/pulumi";
18
18
  * import * as digitalocean from "@pulumi/digitalocean";
19
- * import * from "fs";
19
+ * import * as fs from "fs";
20
20
  *
21
21
  * // Create a new SSH key
22
22
  * const _default = new digitalocean.SshKey("default", {publicKey: fs.readFileSync("/Users/myuser/.ssh/id_rsa.pub")});
package/types/input.d.ts CHANGED
@@ -1294,51 +1294,51 @@ export interface FirewallPendingChange {
1294
1294
  */
1295
1295
  status?: pulumi.Input<string>;
1296
1296
  }
1297
- export interface GetDomainsFilterArgs {
1297
+ export interface GetDomainsFilter {
1298
1298
  /**
1299
1299
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1300
1300
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1301
1301
  * that all of the `values` are present in the list or set.
1302
1302
  */
1303
- all?: pulumi.Input<boolean>;
1303
+ all?: boolean;
1304
1304
  /**
1305
1305
  * Filter the domains by this key. This may be one of `name`, `urn`, and `ttl`.
1306
1306
  */
1307
- key: pulumi.Input<string>;
1307
+ key: string;
1308
1308
  /**
1309
1309
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1310
1310
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1311
1311
  * substrings to find within the string field.
1312
1312
  */
1313
- matchBy?: pulumi.Input<string>;
1313
+ matchBy?: string;
1314
1314
  /**
1315
1315
  * A list of values to match against the `key` field. Only retrieves domains
1316
1316
  * where the `key` field takes on one or more of the values provided here.
1317
1317
  */
1318
- values: pulumi.Input<pulumi.Input<string>[]>;
1318
+ values: string[];
1319
1319
  }
1320
- export interface GetDomainsFilter {
1320
+ export interface GetDomainsFilterArgs {
1321
1321
  /**
1322
1322
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1323
1323
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1324
1324
  * that all of the `values` are present in the list or set.
1325
1325
  */
1326
- all?: boolean;
1326
+ all?: pulumi.Input<boolean>;
1327
1327
  /**
1328
1328
  * Filter the domains by this key. This may be one of `name`, `urn`, and `ttl`.
1329
1329
  */
1330
- key: string;
1330
+ key: pulumi.Input<string>;
1331
1331
  /**
1332
1332
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1333
1333
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1334
1334
  * substrings to find within the string field.
1335
1335
  */
1336
- matchBy?: string;
1336
+ matchBy?: pulumi.Input<string>;
1337
1337
  /**
1338
1338
  * A list of values to match against the `key` field. Only retrieves domains
1339
1339
  * where the `key` field takes on one or more of the values provided here.
1340
1340
  */
1341
- values: string[];
1341
+ values: pulumi.Input<pulumi.Input<string>[]>;
1342
1342
  }
1343
1343
  export interface GetDomainsSort {
1344
1344
  /**
@@ -1412,31 +1412,31 @@ export interface GetDropletsFilterArgs {
1412
1412
  */
1413
1413
  values: pulumi.Input<pulumi.Input<string>[]>;
1414
1414
  }
1415
- export interface GetDropletsSortArgs {
1415
+ export interface GetDropletsSort {
1416
1416
  /**
1417
1417
  * The sort direction. This may be either `asc` or `desc`.
1418
1418
  */
1419
- direction?: pulumi.Input<string>;
1419
+ direction?: string;
1420
1420
  /**
1421
1421
  * Sort the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`,
1422
1422
  * `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`,
1423
1423
  * `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`,
1424
1424
  * `status`, `urn`, `vcpus`, or `vpcUuid`.
1425
1425
  */
1426
- key: pulumi.Input<string>;
1426
+ key: string;
1427
1427
  }
1428
- export interface GetDropletsSort {
1428
+ export interface GetDropletsSortArgs {
1429
1429
  /**
1430
1430
  * The sort direction. This may be either `asc` or `desc`.
1431
1431
  */
1432
- direction?: string;
1432
+ direction?: pulumi.Input<string>;
1433
1433
  /**
1434
1434
  * Sort the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`,
1435
1435
  * `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`,
1436
1436
  * `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`,
1437
1437
  * `status`, `urn`, `vcpus`, or `vpcUuid`.
1438
1438
  */
1439
- key: string;
1439
+ key: pulumi.Input<string>;
1440
1440
  }
1441
1441
  export interface GetFirewallInboundRule {
1442
1442
  /**
@@ -1636,27 +1636,27 @@ export interface GetImagesFilterArgs {
1636
1636
  */
1637
1637
  values: pulumi.Input<pulumi.Input<string>[]>;
1638
1638
  }
1639
- export interface GetImagesSortArgs {
1639
+ export interface GetImagesSort {
1640
1640
  /**
1641
1641
  * The sort direction. This may be either `asc` or `desc`.
1642
1642
  */
1643
- direction?: pulumi.Input<string>;
1643
+ direction?: string;
1644
1644
  /**
1645
1645
  * Sort the images by this key. This may be one of `distribution`, `errorMessage`, `id`,
1646
1646
  * `image`, `minDiskSize`, `name`, `private`, `sizeGigabytes`, `slug`, `status`, or `type`.
1647
1647
  */
1648
- key: pulumi.Input<string>;
1648
+ key: string;
1649
1649
  }
1650
- export interface GetImagesSort {
1650
+ export interface GetImagesSortArgs {
1651
1651
  /**
1652
1652
  * The sort direction. This may be either `asc` or `desc`.
1653
1653
  */
1654
- direction?: string;
1654
+ direction?: pulumi.Input<string>;
1655
1655
  /**
1656
1656
  * Sort the images by this key. This may be one of `distribution`, `errorMessage`, `id`,
1657
1657
  * `image`, `minDiskSize`, `name`, `private`, `sizeGigabytes`, `slug`, `status`, or `type`.
1658
1658
  */
1659
- key: string;
1659
+ key: pulumi.Input<string>;
1660
1660
  }
1661
1661
  export interface GetProjectsFilter {
1662
1662
  /**
@@ -1798,53 +1798,53 @@ export interface GetRecordsSortArgs {
1798
1798
  */
1799
1799
  key: pulumi.Input<string>;
1800
1800
  }
1801
- export interface GetRegionsFilterArgs {
1801
+ export interface GetRegionsFilter {
1802
1802
  /**
1803
1803
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1804
1804
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1805
1805
  * that all of the `values` are present in the list or set.
1806
1806
  */
1807
- all?: pulumi.Input<boolean>;
1807
+ all?: boolean;
1808
1808
  /**
1809
1809
  * Filter the regions by this key. This may be one of `slug`,
1810
1810
  * `name`, `available`, `features`, or `sizes`.
1811
1811
  */
1812
- key: pulumi.Input<string>;
1812
+ key: string;
1813
1813
  /**
1814
1814
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1815
1815
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1816
1816
  * substrings to find within the string field.
1817
1817
  */
1818
- matchBy?: pulumi.Input<string>;
1818
+ matchBy?: string;
1819
1819
  /**
1820
1820
  * A list of values to match against the `key` field. Only retrieves regions
1821
1821
  * where the `key` field takes on one or more of the values provided here.
1822
1822
  */
1823
- values: pulumi.Input<pulumi.Input<string>[]>;
1823
+ values: string[];
1824
1824
  }
1825
- export interface GetRegionsFilter {
1825
+ export interface GetRegionsFilterArgs {
1826
1826
  /**
1827
1827
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1828
1828
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1829
1829
  * that all of the `values` are present in the list or set.
1830
1830
  */
1831
- all?: boolean;
1831
+ all?: pulumi.Input<boolean>;
1832
1832
  /**
1833
1833
  * Filter the regions by this key. This may be one of `slug`,
1834
1834
  * `name`, `available`, `features`, or `sizes`.
1835
1835
  */
1836
- key: string;
1836
+ key: pulumi.Input<string>;
1837
1837
  /**
1838
1838
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1839
1839
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1840
1840
  * substrings to find within the string field.
1841
1841
  */
1842
- matchBy?: string;
1842
+ matchBy?: pulumi.Input<string>;
1843
1843
  /**
1844
1844
  * A list of values to match against the `key` field. Only retrieves regions
1845
1845
  * where the `key` field takes on one or more of the values provided here.
1846
1846
  */
1847
- values: string[];
1847
+ values: pulumi.Input<pulumi.Input<string>[]>;
1848
1848
  }
1849
1849
  export interface GetRegionsSort {
1850
1850
  /**
@@ -1868,143 +1868,143 @@ export interface GetRegionsSortArgs {
1868
1868
  */
1869
1869
  key: pulumi.Input<string>;
1870
1870
  }
1871
- export interface GetSizesFilterArgs {
1871
+ export interface GetSizesFilter {
1872
1872
  /**
1873
1873
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1874
1874
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1875
1875
  * that all of the `values` are present in the list or set.
1876
1876
  */
1877
- all?: pulumi.Input<boolean>;
1877
+ all?: boolean;
1878
1878
  /**
1879
1879
  * Filter the sizes by this key. This may be one of `slug`,
1880
1880
  * `regions`, `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`,
1881
1881
  * `priceHourly`, or `available`.
1882
1882
  */
1883
- key: pulumi.Input<string>;
1883
+ key: string;
1884
1884
  /**
1885
1885
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1886
1886
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1887
1887
  * substrings to find within the string field.
1888
1888
  */
1889
- matchBy?: pulumi.Input<string>;
1889
+ matchBy?: string;
1890
1890
  /**
1891
1891
  * Only retrieves sizes which keys has value that matches
1892
1892
  * one of the values provided here.
1893
1893
  */
1894
- values: pulumi.Input<pulumi.Input<string>[]>;
1894
+ values: string[];
1895
1895
  }
1896
- export interface GetSizesFilter {
1896
+ export interface GetSizesFilterArgs {
1897
1897
  /**
1898
1898
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1899
1899
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1900
1900
  * that all of the `values` are present in the list or set.
1901
1901
  */
1902
- all?: boolean;
1902
+ all?: pulumi.Input<boolean>;
1903
1903
  /**
1904
1904
  * Filter the sizes by this key. This may be one of `slug`,
1905
1905
  * `regions`, `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`,
1906
1906
  * `priceHourly`, or `available`.
1907
1907
  */
1908
- key: string;
1908
+ key: pulumi.Input<string>;
1909
1909
  /**
1910
1910
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1911
1911
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1912
1912
  * substrings to find within the string field.
1913
1913
  */
1914
- matchBy?: string;
1914
+ matchBy?: pulumi.Input<string>;
1915
1915
  /**
1916
1916
  * Only retrieves sizes which keys has value that matches
1917
1917
  * one of the values provided here.
1918
1918
  */
1919
- values: string[];
1919
+ values: pulumi.Input<pulumi.Input<string>[]>;
1920
1920
  }
1921
- export interface GetSizesSort {
1921
+ export interface GetSizesSortArgs {
1922
1922
  /**
1923
1923
  * The sort direction. This may be either `asc` or `desc`.
1924
1924
  */
1925
- direction?: string;
1925
+ direction?: pulumi.Input<string>;
1926
1926
  /**
1927
1927
  * Sort the sizes by this key. This may be one of `slug`,
1928
1928
  * `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`, or `priceHourly`.
1929
1929
  */
1930
- key: string;
1930
+ key: pulumi.Input<string>;
1931
1931
  }
1932
- export interface GetSizesSortArgs {
1932
+ export interface GetSizesSort {
1933
1933
  /**
1934
1934
  * The sort direction. This may be either `asc` or `desc`.
1935
1935
  */
1936
- direction?: pulumi.Input<string>;
1936
+ direction?: string;
1937
1937
  /**
1938
1938
  * Sort the sizes by this key. This may be one of `slug`,
1939
1939
  * `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`, or `priceHourly`.
1940
1940
  */
1941
- key: pulumi.Input<string>;
1941
+ key: string;
1942
1942
  }
1943
- export interface GetSpacesBucketsFilterArgs {
1943
+ export interface GetSpacesBucketsFilter {
1944
1944
  /**
1945
1945
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1946
1946
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1947
1947
  * that all of the `values` are present in the list or set.
1948
1948
  */
1949
- all?: pulumi.Input<boolean>;
1949
+ all?: boolean;
1950
1950
  /**
1951
1951
  * Filter the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
1952
1952
  */
1953
- key: pulumi.Input<string>;
1953
+ key: string;
1954
1954
  /**
1955
1955
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1956
1956
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1957
1957
  * substrings to find within the string field.
1958
1958
  */
1959
- matchBy?: pulumi.Input<string>;
1959
+ matchBy?: string;
1960
1960
  /**
1961
1961
  * A list of values to match against the `key` field. Only retrieves Spaces buckets
1962
1962
  * where the `key` field takes on one or more of the values provided here.
1963
1963
  */
1964
- values: pulumi.Input<pulumi.Input<string>[]>;
1964
+ values: string[];
1965
1965
  }
1966
- export interface GetSpacesBucketsFilter {
1966
+ export interface GetSpacesBucketsFilterArgs {
1967
1967
  /**
1968
1968
  * Set to `true` to require that a field match all of the `values` instead of just one or more of
1969
1969
  * them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
1970
1970
  * that all of the `values` are present in the list or set.
1971
1971
  */
1972
- all?: boolean;
1972
+ all?: pulumi.Input<boolean>;
1973
1973
  /**
1974
1974
  * Filter the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
1975
1975
  */
1976
- key: string;
1976
+ key: pulumi.Input<string>;
1977
1977
  /**
1978
1978
  * One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
1979
1979
  * match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
1980
1980
  * substrings to find within the string field.
1981
1981
  */
1982
- matchBy?: string;
1982
+ matchBy?: pulumi.Input<string>;
1983
1983
  /**
1984
1984
  * A list of values to match against the `key` field. Only retrieves Spaces buckets
1985
1985
  * where the `key` field takes on one or more of the values provided here.
1986
1986
  */
1987
- values: string[];
1987
+ values: pulumi.Input<pulumi.Input<string>[]>;
1988
1988
  }
1989
- export interface GetSpacesBucketsSort {
1989
+ export interface GetSpacesBucketsSortArgs {
1990
1990
  /**
1991
1991
  * The sort direction. This may be either `asc` or `desc`.
1992
1992
  */
1993
- direction?: string;
1993
+ direction?: pulumi.Input<string>;
1994
1994
  /**
1995
1995
  * Sort the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
1996
1996
  */
1997
- key: string;
1997
+ key: pulumi.Input<string>;
1998
1998
  }
1999
- export interface GetSpacesBucketsSortArgs {
1999
+ export interface GetSpacesBucketsSort {
2000
2000
  /**
2001
2001
  * The sort direction. This may be either `asc` or `desc`.
2002
2002
  */
2003
- direction?: pulumi.Input<string>;
2003
+ direction?: string;
2004
2004
  /**
2005
2005
  * Sort the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
2006
2006
  */
2007
- key: pulumi.Input<string>;
2007
+ key: string;
2008
2008
  }
2009
2009
  export interface GetSshKeysFilter {
2010
2010
  all?: boolean;
@@ -2030,25 +2030,25 @@ export interface GetSshKeysFilterArgs {
2030
2030
  */
2031
2031
  values: pulumi.Input<pulumi.Input<string>[]>;
2032
2032
  }
2033
- export interface GetSshKeysSortArgs {
2033
+ export interface GetSshKeysSort {
2034
2034
  /**
2035
2035
  * The sort direction. This may be either `asc` or `desc`.
2036
2036
  */
2037
- direction?: pulumi.Input<string>;
2037
+ direction?: string;
2038
2038
  /**
2039
2039
  * Sort the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.
2040
2040
  */
2041
- key: pulumi.Input<string>;
2041
+ key: string;
2042
2042
  }
2043
- export interface GetSshKeysSort {
2043
+ export interface GetSshKeysSortArgs {
2044
2044
  /**
2045
2045
  * The sort direction. This may be either `asc` or `desc`.
2046
2046
  */
2047
- direction?: string;
2047
+ direction?: pulumi.Input<string>;
2048
2048
  /**
2049
2049
  * Sort the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.
2050
2050
  */
2051
- key: string;
2051
+ key: pulumi.Input<string>;
2052
2052
  }
2053
2053
  export interface GetTagsFilterArgs {
2054
2054
  /**
@@ -2096,25 +2096,25 @@ export interface GetTagsFilter {
2096
2096
  */
2097
2097
  values: string[];
2098
2098
  }
2099
- export interface GetTagsSortArgs {
2099
+ export interface GetTagsSort {
2100
2100
  /**
2101
2101
  * The sort direction. This may be either `asc` or `desc`.
2102
2102
  */
2103
- direction?: pulumi.Input<string>;
2103
+ direction?: string;
2104
2104
  /**
2105
2105
  * Sort the tags by this key. This may be one of `name`, `totalResourceCount`, `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
2106
2106
  */
2107
- key: pulumi.Input<string>;
2107
+ key: string;
2108
2108
  }
2109
- export interface GetTagsSort {
2109
+ export interface GetTagsSortArgs {
2110
2110
  /**
2111
2111
  * The sort direction. This may be either `asc` or `desc`.
2112
2112
  */
2113
- direction?: string;
2113
+ direction?: pulumi.Input<string>;
2114
2114
  /**
2115
2115
  * Sort the tags by this key. This may be one of `name`, `totalResourceCount`, `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
2116
2116
  */
2117
- key: string;
2117
+ key: pulumi.Input<string>;
2118
2118
  }
2119
2119
  export interface KubernetesClusterKubeConfig {
2120
2120
  /**