@pulumi/digitalocean 4.27.0 → 4.28.0-alpha.1711028016
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/cdn.d.ts +3 -3
- package/cdn.js +3 -3
- package/certificate.d.ts +4 -4
- package/certificate.js +4 -4
- package/customImage.d.ts +2 -2
- package/customImage.js +2 -2
- package/databaseCluster.d.ts +13 -13
- package/databaseCluster.js +13 -13
- package/databaseConnectionPool.d.ts +2 -2
- package/databaseConnectionPool.js +2 -2
- package/databaseDb.d.ts +2 -2
- package/databaseDb.js +2 -2
- package/databaseFirewall.d.ts +10 -10
- package/databaseFirewall.js +10 -10
- package/databaseKafkaTopic.d.ts +1 -1
- package/databaseKafkaTopic.js +1 -1
- package/databaseMysqlConfig.d.ts +2 -2
- package/databaseMysqlConfig.js +2 -2
- package/databaseRedisConfig.d.ts +2 -2
- package/databaseRedisConfig.js +2 -2
- package/databaseReplica.d.ts +4 -4
- package/databaseReplica.js +4 -4
- package/databaseUser.d.ts +7 -7
- package/databaseUser.js +7 -7
- package/dnsRecord.d.ts +2 -2
- package/dnsRecord.js +2 -2
- package/droplet.d.ts +5 -5
- package/droplet.js +2 -2
- package/dropletSnapshot.d.ts +4 -4
- package/dropletSnapshot.js +4 -4
- package/firewall.d.ts +2 -2
- package/firewall.js +2 -2
- package/floatingIp.d.ts +2 -2
- package/floatingIp.js +2 -2
- package/floatingIpAssignment.d.ts +2 -2
- package/floatingIpAssignment.js +2 -2
- package/getDropletSnapshot.d.ts +4 -4
- package/getDropletSnapshot.js +4 -4
- package/getImage.d.ts +4 -4
- package/getImage.js +4 -4
- package/getKubernetesVersions.d.ts +4 -4
- package/getKubernetesVersions.js +4 -4
- package/getSpacesBucketObject.d.ts +4 -4
- package/getSpacesBucketObject.js +4 -4
- package/getSshKey.d.ts +4 -4
- package/getSshKey.js +4 -4
- package/getTag.d.ts +4 -4
- package/getTag.js +4 -4
- package/getVolume.d.ts +4 -4
- package/getVolume.js +4 -4
- package/getVolumeSnapshot.d.ts +2 -2
- package/getVolumeSnapshot.js +2 -2
- package/getVpc.d.ts +4 -4
- package/getVpc.js +4 -4
- package/kubernetesNodePool.d.ts +3 -3
- package/kubernetesNodePool.js +3 -3
- package/loadBalancer.d.ts +6 -6
- package/loadBalancer.js +6 -6
- package/package.json +1 -1
- package/project.d.ts +2 -2
- package/project.js +2 -2
- package/projectResources.d.ts +2 -2
- package/projectResources.js +2 -2
- package/reservedIp.d.ts +2 -2
- package/reservedIp.js +2 -2
- package/reservedIpAssignment.d.ts +2 -2
- package/reservedIpAssignment.js +2 -2
- package/spacesBucket.d.ts +5 -5
- package/spacesBucket.js +2 -2
- package/spacesBucketCorsConfiguration.d.ts +1 -1
- package/spacesBucketCorsConfiguration.js +1 -1
- package/spacesBucketObject.d.ts +1 -1
- package/spacesBucketObject.js +1 -1
- package/spacesBucketPolicy.d.ts +1 -1
- package/spacesBucketPolicy.js +1 -1
- package/sshKey.d.ts +2 -2
- package/sshKey.js +2 -2
- package/tag.d.ts +2 -2
- package/tag.js +2 -2
- package/volume.d.ts +8 -8
- package/volume.js +5 -5
- package/volumeAttachment.d.ts +4 -4
- package/volumeAttachment.js +4 -4
- package/volumeSnapshot.d.ts +1 -1
- package/volumeSnapshot.js +1 -1
- package/vpc.d.ts +2 -2
- package/vpc.js +2 -2
package/dnsRecord.js
CHANGED
|
@@ -19,13 +19,13 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* // Add an A record to the domain for www.example.com.
|
|
20
20
|
* const www = new digitalocean.DnsRecord("www", {
|
|
21
21
|
* domain: _default.id,
|
|
22
|
-
* type:
|
|
22
|
+
* type: digitalocean.RecordType.A,
|
|
23
23
|
* value: "192.168.0.11",
|
|
24
24
|
* });
|
|
25
25
|
* // Add a MX record for the example.com domain itself.
|
|
26
26
|
* const mx = new digitalocean.DnsRecord("mx", {
|
|
27
27
|
* domain: _default.id,
|
|
28
|
-
* type:
|
|
28
|
+
* type: digitalocean.RecordType.MX,
|
|
29
29
|
* priority: 10,
|
|
30
30
|
* value: "mail.example.com.",
|
|
31
31
|
* });
|
package/droplet.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ import * as enums from "./types/enums";
|
|
|
14
14
|
* // Create a new Web Droplet in the nyc2 region
|
|
15
15
|
* const web = new digitalocean.Droplet("web", {
|
|
16
16
|
* image: "ubuntu-20-04-x64",
|
|
17
|
-
* region:
|
|
18
|
-
* size:
|
|
17
|
+
* region: digitalocean.Region.NYC2,
|
|
18
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
* <!--End PulumiCodeChooser -->
|
|
@@ -124,7 +124,7 @@ export declare class Droplet extends pulumi.CustomResource {
|
|
|
124
124
|
* **Deprecated** Boolean controlling if private networking
|
|
125
125
|
* is enabled. This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
|
|
126
126
|
*
|
|
127
|
-
* @deprecated This parameter has been deprecated. Use `
|
|
127
|
+
* @deprecated This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
|
|
128
128
|
*/
|
|
129
129
|
readonly privateNetworking: pulumi.Output<boolean>;
|
|
130
130
|
/**
|
|
@@ -268,7 +268,7 @@ export interface DropletState {
|
|
|
268
268
|
* **Deprecated** Boolean controlling if private networking
|
|
269
269
|
* is enabled. This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
|
|
270
270
|
*
|
|
271
|
-
* @deprecated This parameter has been deprecated. Use `
|
|
271
|
+
* @deprecated This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
|
|
272
272
|
*/
|
|
273
273
|
privateNetworking?: pulumi.Input<boolean>;
|
|
274
274
|
/**
|
|
@@ -374,7 +374,7 @@ export interface DropletArgs {
|
|
|
374
374
|
* **Deprecated** Boolean controlling if private networking
|
|
375
375
|
* is enabled. This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
|
|
376
376
|
*
|
|
377
|
-
* @deprecated This parameter has been deprecated. Use `
|
|
377
|
+
* @deprecated This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
|
|
378
378
|
*/
|
|
379
379
|
privateNetworking?: pulumi.Input<boolean>;
|
|
380
380
|
/**
|
package/droplet.js
CHANGED
|
@@ -19,8 +19,8 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* // Create a new Web Droplet in the nyc2 region
|
|
20
20
|
* const web = new digitalocean.Droplet("web", {
|
|
21
21
|
* image: "ubuntu-20-04-x64",
|
|
22
|
-
* region:
|
|
23
|
-
* size:
|
|
22
|
+
* region: digitalocean.Region.NYC2,
|
|
23
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
* <!--End PulumiCodeChooser -->
|
package/dropletSnapshot.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
11
11
|
*
|
|
12
12
|
* const web = new digitalocean.Droplet("web", {
|
|
13
|
-
* size:
|
|
13
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
14
14
|
* image: "ubuntu-22-04-x64",
|
|
15
|
-
* region:
|
|
15
|
+
* region: digitalocean.Region.NYC3,
|
|
16
16
|
* });
|
|
17
17
|
* const web_snapshot = new digitalocean.DropletSnapshot("web-snapshot", {dropletId: web.id});
|
|
18
18
|
* const from_snapshot = new digitalocean.Droplet("from-snapshot", {
|
|
19
19
|
* image: web_snapshot.id,
|
|
20
|
-
* region:
|
|
21
|
-
* size:
|
|
20
|
+
* region: digitalocean.Region.NYC3,
|
|
21
|
+
* size: digitalocean.DropletSlug.DropletS2VCPU4GB,
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
* <!--End PulumiCodeChooser -->
|
package/dropletSnapshot.js
CHANGED
|
@@ -16,15 +16,15 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
17
17
|
*
|
|
18
18
|
* const web = new digitalocean.Droplet("web", {
|
|
19
|
-
* size:
|
|
19
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
20
20
|
* image: "ubuntu-22-04-x64",
|
|
21
|
-
* region:
|
|
21
|
+
* region: digitalocean.Region.NYC3,
|
|
22
22
|
* });
|
|
23
23
|
* const web_snapshot = new digitalocean.DropletSnapshot("web-snapshot", {dropletId: web.id});
|
|
24
24
|
* const from_snapshot = new digitalocean.Droplet("from-snapshot", {
|
|
25
25
|
* image: web_snapshot.id,
|
|
26
|
-
* region:
|
|
27
|
-
* size:
|
|
26
|
+
* region: digitalocean.Region.NYC3,
|
|
27
|
+
* size: digitalocean.DropletSlug.DropletS2VCPU4GB,
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
* <!--End PulumiCodeChooser -->
|
package/firewall.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
14
14
|
*
|
|
15
15
|
* const webDroplet = new digitalocean.Droplet("webDroplet", {
|
|
16
|
-
* size:
|
|
16
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
17
17
|
* image: "ubuntu-18-04-x64",
|
|
18
|
-
* region:
|
|
18
|
+
* region: digitalocean.Region.NYC3,
|
|
19
19
|
* });
|
|
20
20
|
* const webFirewall = new digitalocean.Firewall("webFirewall", {
|
|
21
21
|
* dropletIds: [webDroplet.id],
|
package/firewall.js
CHANGED
|
@@ -17,9 +17,9 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
18
18
|
*
|
|
19
19
|
* const webDroplet = new digitalocean.Droplet("webDroplet", {
|
|
20
|
-
* size:
|
|
20
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
21
21
|
* image: "ubuntu-18-04-x64",
|
|
22
|
-
* region:
|
|
22
|
+
* region: digitalocean.Region.NYC3,
|
|
23
23
|
* });
|
|
24
24
|
* const webFirewall = new digitalocean.Firewall("webFirewall", {
|
|
25
25
|
* dropletIds: [webDroplet.id],
|
package/floatingIp.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
15
15
|
*
|
|
16
16
|
* const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
|
|
17
|
-
* size:
|
|
17
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
18
18
|
* image: "ubuntu-18-04-x64",
|
|
19
|
-
* region:
|
|
19
|
+
* region: digitalocean.Region.SGP1,
|
|
20
20
|
* ipv6: true,
|
|
21
21
|
* privateNetworking: true,
|
|
22
22
|
* });
|
package/floatingIp.js
CHANGED
|
@@ -20,9 +20,9 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
21
21
|
*
|
|
22
22
|
* const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
|
|
23
|
-
* size:
|
|
23
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
24
24
|
* image: "ubuntu-18-04-x64",
|
|
25
|
-
* region:
|
|
25
|
+
* region: digitalocean.Region.SGP1,
|
|
26
26
|
* ipv6: true,
|
|
27
27
|
* privateNetworking: true,
|
|
28
28
|
* });
|
|
@@ -15,9 +15,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
*
|
|
16
16
|
* const foobarFloatingIp = new digitalocean.FloatingIp("foobarFloatingIp", {region: "sgp1"});
|
|
17
17
|
* const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
|
|
18
|
-
* size:
|
|
18
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
19
19
|
* image: "ubuntu-18-04-x64",
|
|
20
|
-
* region:
|
|
20
|
+
* region: digitalocean.Region.SGP1,
|
|
21
21
|
* ipv6: true,
|
|
22
22
|
* privateNetworking: true,
|
|
23
23
|
* });
|
package/floatingIpAssignment.js
CHANGED
|
@@ -21,9 +21,9 @@ const utilities = require("./utilities");
|
|
|
21
21
|
*
|
|
22
22
|
* const foobarFloatingIp = new digitalocean.FloatingIp("foobarFloatingIp", {region: "sgp1"});
|
|
23
23
|
* const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
|
|
24
|
-
* size:
|
|
24
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
25
25
|
* image: "ubuntu-18-04-x64",
|
|
26
|
-
* region:
|
|
26
|
+
* region: digitalocean.Region.SGP1,
|
|
27
27
|
* ipv6: true,
|
|
28
28
|
* privateNetworking: true,
|
|
29
29
|
* });
|
package/getDropletSnapshot.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
35
|
* });
|
|
36
36
|
* const from_snapshot = new digitalocean.Droplet("from-snapshot", {
|
|
37
37
|
* image: web_snapshot.then(web_snapshot => web_snapshot.id),
|
|
38
|
-
* region:
|
|
39
|
-
* size:
|
|
38
|
+
* region: digitalocean.Region.NYC3,
|
|
39
|
+
* size: digitalocean.DropletSlug.DropletS2VCPU4GB,
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
* <!--End PulumiCodeChooser -->
|
|
@@ -136,8 +136,8 @@ export interface GetDropletSnapshotResult {
|
|
|
136
136
|
* });
|
|
137
137
|
* const from_snapshot = new digitalocean.Droplet("from-snapshot", {
|
|
138
138
|
* image: web_snapshot.then(web_snapshot => web_snapshot.id),
|
|
139
|
-
* region:
|
|
140
|
-
* size:
|
|
139
|
+
* region: digitalocean.Region.NYC3,
|
|
140
|
+
* size: digitalocean.DropletSlug.DropletS2VCPU4GB,
|
|
141
141
|
* });
|
|
142
142
|
* ```
|
|
143
143
|
* <!--End PulumiCodeChooser -->
|
package/getDropletSnapshot.js
CHANGED
|
@@ -41,8 +41,8 @@ const utilities = require("./utilities");
|
|
|
41
41
|
* });
|
|
42
42
|
* const from_snapshot = new digitalocean.Droplet("from-snapshot", {
|
|
43
43
|
* image: web_snapshot.then(web_snapshot => web_snapshot.id),
|
|
44
|
-
* region:
|
|
45
|
-
* size:
|
|
44
|
+
* region: digitalocean.Region.NYC3,
|
|
45
|
+
* size: digitalocean.DropletSlug.DropletS2VCPU4GB,
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
48
|
* <!--End PulumiCodeChooser -->
|
|
@@ -94,8 +94,8 @@ exports.getDropletSnapshot = getDropletSnapshot;
|
|
|
94
94
|
* });
|
|
95
95
|
* const from_snapshot = new digitalocean.Droplet("from-snapshot", {
|
|
96
96
|
* image: web_snapshot.then(web_snapshot => web_snapshot.id),
|
|
97
|
-
* region:
|
|
98
|
-
* size:
|
|
97
|
+
* region: digitalocean.Region.NYC3,
|
|
98
|
+
* size: digitalocean.DropletSlug.DropletS2VCPU4GB,
|
|
99
99
|
* });
|
|
100
100
|
* ```
|
|
101
101
|
* <!--End PulumiCodeChooser -->
|
package/getImage.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
34
|
* });
|
|
35
35
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
36
36
|
* image: exampleImage.then(exampleImage => exampleImage.id),
|
|
37
|
-
* region:
|
|
38
|
-
* size:
|
|
37
|
+
* region: digitalocean.Region.NYC2,
|
|
38
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
41
|
* <!--End PulumiCodeChooser -->
|
|
@@ -177,8 +177,8 @@ export interface GetImageResult {
|
|
|
177
177
|
* });
|
|
178
178
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
179
179
|
* image: exampleImage.then(exampleImage => exampleImage.id),
|
|
180
|
-
* region:
|
|
181
|
-
* size:
|
|
180
|
+
* region: digitalocean.Region.NYC2,
|
|
181
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
182
182
|
* });
|
|
183
183
|
* ```
|
|
184
184
|
* <!--End PulumiCodeChooser -->
|
package/getImage.js
CHANGED
|
@@ -40,8 +40,8 @@ const utilities = require("./utilities");
|
|
|
40
40
|
* });
|
|
41
41
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
42
42
|
* image: exampleImage.then(exampleImage => exampleImage.id),
|
|
43
|
-
* region:
|
|
44
|
-
* size:
|
|
43
|
+
* region: digitalocean.Region.NYC2,
|
|
44
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
47
47
|
* <!--End PulumiCodeChooser -->
|
|
@@ -105,8 +105,8 @@ exports.getImage = getImage;
|
|
|
105
105
|
* });
|
|
106
106
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
107
107
|
* image: exampleImage.then(exampleImage => exampleImage.id),
|
|
108
|
-
* region:
|
|
109
|
-
* size:
|
|
108
|
+
* region: digitalocean.Region.NYC2,
|
|
109
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
110
110
|
* });
|
|
111
111
|
* ```
|
|
112
112
|
* <!--End PulumiCodeChooser -->
|
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
*
|
|
30
30
|
* const example = digitalocean.getKubernetesVersions({});
|
|
31
31
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
32
|
-
* region:
|
|
32
|
+
* region: digitalocean.Region.LON1,
|
|
33
33
|
* version: example.then(example => example.latestVersion),
|
|
34
34
|
* nodePool: {
|
|
35
35
|
* name: "default",
|
|
@@ -51,7 +51,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
51
51
|
* versionPrefix: "1.22.",
|
|
52
52
|
* });
|
|
53
53
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
54
|
-
* region:
|
|
54
|
+
* region: digitalocean.Region.LON1,
|
|
55
55
|
* version: example.then(example => example.latestVersion),
|
|
56
56
|
* nodePool: {
|
|
57
57
|
* name: "default",
|
|
@@ -120,7 +120,7 @@ export interface GetKubernetesVersionsResult {
|
|
|
120
120
|
*
|
|
121
121
|
* const example = digitalocean.getKubernetesVersions({});
|
|
122
122
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
123
|
-
* region:
|
|
123
|
+
* region: digitalocean.Region.LON1,
|
|
124
124
|
* version: example.then(example => example.latestVersion),
|
|
125
125
|
* nodePool: {
|
|
126
126
|
* name: "default",
|
|
@@ -142,7 +142,7 @@ export interface GetKubernetesVersionsResult {
|
|
|
142
142
|
* versionPrefix: "1.22.",
|
|
143
143
|
* });
|
|
144
144
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
145
|
-
* region:
|
|
145
|
+
* region: digitalocean.Region.LON1,
|
|
146
146
|
* version: example.then(example => example.latestVersion),
|
|
147
147
|
* nodePool: {
|
|
148
148
|
* name: "default",
|
package/getKubernetesVersions.js
CHANGED
|
@@ -35,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
35
35
|
*
|
|
36
36
|
* const example = digitalocean.getKubernetesVersions({});
|
|
37
37
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
38
|
-
* region:
|
|
38
|
+
* region: digitalocean.Region.LON1,
|
|
39
39
|
* version: example.then(example => example.latestVersion),
|
|
40
40
|
* nodePool: {
|
|
41
41
|
* name: "default",
|
|
@@ -57,7 +57,7 @@ const utilities = require("./utilities");
|
|
|
57
57
|
* versionPrefix: "1.22.",
|
|
58
58
|
* });
|
|
59
59
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
60
|
-
* region:
|
|
60
|
+
* region: digitalocean.Region.LON1,
|
|
61
61
|
* version: example.then(example => example.latestVersion),
|
|
62
62
|
* nodePool: {
|
|
63
63
|
* name: "default",
|
|
@@ -106,7 +106,7 @@ exports.getKubernetesVersions = getKubernetesVersions;
|
|
|
106
106
|
*
|
|
107
107
|
* const example = digitalocean.getKubernetesVersions({});
|
|
108
108
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
109
|
-
* region:
|
|
109
|
+
* region: digitalocean.Region.LON1,
|
|
110
110
|
* version: example.then(example => example.latestVersion),
|
|
111
111
|
* nodePool: {
|
|
112
112
|
* name: "default",
|
|
@@ -128,7 +128,7 @@ exports.getKubernetesVersions = getKubernetesVersions;
|
|
|
128
128
|
* versionPrefix: "1.22.",
|
|
129
129
|
* });
|
|
130
130
|
* const example_cluster = new digitalocean.KubernetesCluster("example-cluster", {
|
|
131
|
-
* region:
|
|
131
|
+
* region: digitalocean.Region.LON1,
|
|
132
132
|
* version: example.then(example => example.latestVersion),
|
|
133
133
|
* nodePool: {
|
|
134
134
|
* name: "default",
|
|
@@ -24,8 +24,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* });
|
|
25
25
|
* const web = new digitalocean.Droplet("web", {
|
|
26
26
|
* image: "ubuntu-18-04-x64",
|
|
27
|
-
* region:
|
|
28
|
-
* size:
|
|
27
|
+
* region: digitalocean.Region.NYC2,
|
|
28
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
29
29
|
* userData: bootstrapScript.then(bootstrapScript => bootstrapScript.body),
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
@@ -150,8 +150,8 @@ export interface GetSpacesBucketObjectResult {
|
|
|
150
150
|
* });
|
|
151
151
|
* const web = new digitalocean.Droplet("web", {
|
|
152
152
|
* image: "ubuntu-18-04-x64",
|
|
153
|
-
* region:
|
|
154
|
-
* size:
|
|
153
|
+
* region: digitalocean.Region.NYC2,
|
|
154
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
155
155
|
* userData: bootstrapScript.then(bootstrapScript => bootstrapScript.body),
|
|
156
156
|
* });
|
|
157
157
|
* ```
|
package/getSpacesBucketObject.js
CHANGED
|
@@ -30,8 +30,8 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* });
|
|
31
31
|
* const web = new digitalocean.Droplet("web", {
|
|
32
32
|
* image: "ubuntu-18-04-x64",
|
|
33
|
-
* region:
|
|
34
|
-
* size:
|
|
33
|
+
* region: digitalocean.Region.NYC2,
|
|
34
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
35
35
|
* userData: bootstrapScript.then(bootstrapScript => bootstrapScript.body),
|
|
36
36
|
* });
|
|
37
37
|
* ```
|
|
@@ -73,8 +73,8 @@ exports.getSpacesBucketObject = getSpacesBucketObject;
|
|
|
73
73
|
* });
|
|
74
74
|
* const web = new digitalocean.Droplet("web", {
|
|
75
75
|
* image: "ubuntu-18-04-x64",
|
|
76
|
-
* region:
|
|
77
|
-
* size:
|
|
76
|
+
* region: digitalocean.Region.NYC2,
|
|
77
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
78
78
|
* userData: bootstrapScript.then(bootstrapScript => bootstrapScript.body),
|
|
79
79
|
* });
|
|
80
80
|
* ```
|
package/getSshKey.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
* });
|
|
22
22
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
23
23
|
* image: "ubuntu-18-04-x64",
|
|
24
|
-
* region:
|
|
25
|
-
* size:
|
|
24
|
+
* region: digitalocean.Region.NYC2,
|
|
25
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
26
26
|
* sshKeys: [exampleSshKey.then(exampleSshKey => exampleSshKey.id)],
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
@@ -78,8 +78,8 @@ export interface GetSshKeyResult {
|
|
|
78
78
|
* });
|
|
79
79
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
80
80
|
* image: "ubuntu-18-04-x64",
|
|
81
|
-
* region:
|
|
82
|
-
* size:
|
|
81
|
+
* region: digitalocean.Region.NYC2,
|
|
82
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
83
83
|
* sshKeys: [exampleSshKey.then(exampleSshKey => exampleSshKey.id)],
|
|
84
84
|
* });
|
|
85
85
|
* ```
|
package/getSshKey.js
CHANGED
|
@@ -27,8 +27,8 @@ const utilities = require("./utilities");
|
|
|
27
27
|
* });
|
|
28
28
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
29
29
|
* image: "ubuntu-18-04-x64",
|
|
30
|
-
* region:
|
|
31
|
-
* size:
|
|
30
|
+
* region: digitalocean.Region.NYC2,
|
|
31
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
32
32
|
* sshKeys: [exampleSshKey.then(exampleSshKey => exampleSshKey.id)],
|
|
33
33
|
* });
|
|
34
34
|
* ```
|
|
@@ -63,8 +63,8 @@ exports.getSshKey = getSshKey;
|
|
|
63
63
|
* });
|
|
64
64
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
65
65
|
* image: "ubuntu-18-04-x64",
|
|
66
|
-
* region:
|
|
67
|
-
* size:
|
|
66
|
+
* region: digitalocean.Region.NYC2,
|
|
67
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
68
68
|
* sshKeys: [exampleSshKey.then(exampleSshKey => exampleSshKey.id)],
|
|
69
69
|
* });
|
|
70
70
|
* ```
|
package/getTag.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* });
|
|
21
21
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
22
22
|
* image: "ubuntu-18-04-x64",
|
|
23
|
-
* region:
|
|
24
|
-
* size:
|
|
23
|
+
* region: digitalocean.Region.NYC2,
|
|
24
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
25
25
|
* tags: [exampleTag.then(exampleTag => exampleTag.name)],
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
@@ -92,8 +92,8 @@ export interface GetTagResult {
|
|
|
92
92
|
* });
|
|
93
93
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
94
94
|
* image: "ubuntu-18-04-x64",
|
|
95
|
-
* region:
|
|
96
|
-
* size:
|
|
95
|
+
* region: digitalocean.Region.NYC2,
|
|
96
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
97
97
|
* tags: [exampleTag.then(exampleTag => exampleTag.name)],
|
|
98
98
|
* });
|
|
99
99
|
* ```
|
package/getTag.js
CHANGED
|
@@ -26,8 +26,8 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* });
|
|
27
27
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
28
28
|
* image: "ubuntu-18-04-x64",
|
|
29
|
-
* region:
|
|
30
|
-
* size:
|
|
29
|
+
* region: digitalocean.Region.NYC2,
|
|
30
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
31
31
|
* tags: [exampleTag.then(exampleTag => exampleTag.name)],
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
@@ -61,8 +61,8 @@ exports.getTag = getTag;
|
|
|
61
61
|
* });
|
|
62
62
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
63
63
|
* image: "ubuntu-18-04-x64",
|
|
64
|
-
* region:
|
|
65
|
-
* size:
|
|
64
|
+
* region: digitalocean.Region.NYC2,
|
|
65
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
66
66
|
* tags: [exampleTag.then(exampleTag => exampleTag.name)],
|
|
67
67
|
* });
|
|
68
68
|
* ```
|
package/getVolume.d.ts
CHANGED
|
@@ -35,9 +35,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
35
|
* region: "nyc3",
|
|
36
36
|
* });
|
|
37
37
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
38
|
-
* size:
|
|
38
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
39
39
|
* image: "ubuntu-18-04-x64",
|
|
40
|
-
* region:
|
|
40
|
+
* region: digitalocean.Region.NYC3,
|
|
41
41
|
* });
|
|
42
42
|
* const foobar = new digitalocean.VolumeAttachment("foobar", {
|
|
43
43
|
* dropletId: exampleDroplet.id,
|
|
@@ -139,9 +139,9 @@ export interface GetVolumeResult {
|
|
|
139
139
|
* region: "nyc3",
|
|
140
140
|
* });
|
|
141
141
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
142
|
-
* size:
|
|
142
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
143
143
|
* image: "ubuntu-18-04-x64",
|
|
144
|
-
* region:
|
|
144
|
+
* region: digitalocean.Region.NYC3,
|
|
145
145
|
* });
|
|
146
146
|
* const foobar = new digitalocean.VolumeAttachment("foobar", {
|
|
147
147
|
* dropletId: exampleDroplet.id,
|
package/getVolume.js
CHANGED
|
@@ -41,9 +41,9 @@ const utilities = require("./utilities");
|
|
|
41
41
|
* region: "nyc3",
|
|
42
42
|
* });
|
|
43
43
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
44
|
-
* size:
|
|
44
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
45
45
|
* image: "ubuntu-18-04-x64",
|
|
46
|
-
* region:
|
|
46
|
+
* region: digitalocean.Region.NYC3,
|
|
47
47
|
* });
|
|
48
48
|
* const foobar = new digitalocean.VolumeAttachment("foobar", {
|
|
49
49
|
* dropletId: exampleDroplet.id,
|
|
@@ -97,9 +97,9 @@ exports.getVolume = getVolume;
|
|
|
97
97
|
* region: "nyc3",
|
|
98
98
|
* });
|
|
99
99
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
100
|
-
* size:
|
|
100
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
101
101
|
* image: "ubuntu-18-04-x64",
|
|
102
|
-
* region:
|
|
102
|
+
* region: digitalocean.Region.NYC3,
|
|
103
103
|
* });
|
|
104
104
|
* const foobar = new digitalocean.VolumeAttachment("foobar", {
|
|
105
105
|
* dropletId: exampleDroplet.id,
|
package/getVolumeSnapshot.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
34
|
* mostRecent: true,
|
|
35
35
|
* });
|
|
36
36
|
* const foobar = new digitalocean.Volume("foobar", {
|
|
37
|
-
* region:
|
|
37
|
+
* region: digitalocean.Region.NYC3,
|
|
38
38
|
* size: 100,
|
|
39
39
|
* snapshotId: snapshot.then(snapshot => snapshot.id),
|
|
40
40
|
* });
|
|
@@ -139,7 +139,7 @@ export interface GetVolumeSnapshotResult {
|
|
|
139
139
|
* mostRecent: true,
|
|
140
140
|
* });
|
|
141
141
|
* const foobar = new digitalocean.Volume("foobar", {
|
|
142
|
-
* region:
|
|
142
|
+
* region: digitalocean.Region.NYC3,
|
|
143
143
|
* size: 100,
|
|
144
144
|
* snapshotId: snapshot.then(snapshot => snapshot.id),
|
|
145
145
|
* });
|
package/getVolumeSnapshot.js
CHANGED
|
@@ -40,7 +40,7 @@ const utilities = require("./utilities");
|
|
|
40
40
|
* mostRecent: true,
|
|
41
41
|
* });
|
|
42
42
|
* const foobar = new digitalocean.Volume("foobar", {
|
|
43
|
-
* region:
|
|
43
|
+
* region: digitalocean.Region.NYC3,
|
|
44
44
|
* size: 100,
|
|
45
45
|
* snapshotId: snapshot.then(snapshot => snapshot.id),
|
|
46
46
|
* });
|
|
@@ -93,7 +93,7 @@ exports.getVolumeSnapshot = getVolumeSnapshot;
|
|
|
93
93
|
* mostRecent: true,
|
|
94
94
|
* });
|
|
95
95
|
* const foobar = new digitalocean.Volume("foobar", {
|
|
96
|
-
* region:
|
|
96
|
+
* region: digitalocean.Region.NYC3,
|
|
97
97
|
* size: 100,
|
|
98
98
|
* snapshotId: snapshot.then(snapshot => snapshot.id),
|
|
99
99
|
* });
|
package/getVpc.d.ts
CHANGED
|
@@ -35,9 +35,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
35
|
* name: "example-network",
|
|
36
36
|
* });
|
|
37
37
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
38
|
-
* size:
|
|
38
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
39
39
|
* image: "ubuntu-18-04-x64",
|
|
40
|
-
* region:
|
|
40
|
+
* region: digitalocean.Region.NYC3,
|
|
41
41
|
* vpcUuid: exampleVpc.then(exampleVpc => exampleVpc.id),
|
|
42
42
|
* });
|
|
43
43
|
* ```
|
|
@@ -134,9 +134,9 @@ export interface GetVpcResult {
|
|
|
134
134
|
* name: "example-network",
|
|
135
135
|
* });
|
|
136
136
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
137
|
-
* size:
|
|
137
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
138
138
|
* image: "ubuntu-18-04-x64",
|
|
139
|
-
* region:
|
|
139
|
+
* region: digitalocean.Region.NYC3,
|
|
140
140
|
* vpcUuid: exampleVpc.then(exampleVpc => exampleVpc.id),
|
|
141
141
|
* });
|
|
142
142
|
* ```
|
package/getVpc.js
CHANGED
|
@@ -41,9 +41,9 @@ const utilities = require("./utilities");
|
|
|
41
41
|
* name: "example-network",
|
|
42
42
|
* });
|
|
43
43
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
44
|
-
* size:
|
|
44
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
45
45
|
* image: "ubuntu-18-04-x64",
|
|
46
|
-
* region:
|
|
46
|
+
* region: digitalocean.Region.NYC3,
|
|
47
47
|
* vpcUuid: exampleVpc.then(exampleVpc => exampleVpc.id),
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
@@ -95,9 +95,9 @@ exports.getVpc = getVpc;
|
|
|
95
95
|
* name: "example-network",
|
|
96
96
|
* });
|
|
97
97
|
* const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
|
|
98
|
-
* size:
|
|
98
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU1GB,
|
|
99
99
|
* image: "ubuntu-18-04-x64",
|
|
100
|
-
* region:
|
|
100
|
+
* region: digitalocean.Region.NYC3,
|
|
101
101
|
* vpcUuid: exampleVpc.then(exampleVpc => exampleVpc.id),
|
|
102
102
|
* });
|
|
103
103
|
* ```
|
package/kubernetesNodePool.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as enums from "./types/enums";
|
|
|
15
15
|
* import * as digitalocean from "@pulumi/digitalocean";
|
|
16
16
|
*
|
|
17
17
|
* const foo = new digitalocean.KubernetesCluster("foo", {
|
|
18
|
-
* region:
|
|
18
|
+
* region: digitalocean.Region.NYC1,
|
|
19
19
|
* version: "1.22.8-do.1",
|
|
20
20
|
* nodePool: {
|
|
21
21
|
* name: "front-end-pool",
|
|
@@ -25,7 +25,7 @@ import * as enums from "./types/enums";
|
|
|
25
25
|
* });
|
|
26
26
|
* const bar = new digitalocean.KubernetesNodePool("bar", {
|
|
27
27
|
* clusterId: foo.id,
|
|
28
|
-
* size:
|
|
28
|
+
* size: digitalocean.DropletSlug.DropletC2,
|
|
29
29
|
* nodeCount: 2,
|
|
30
30
|
* tags: ["backend"],
|
|
31
31
|
* labels: {
|
|
@@ -53,7 +53,7 @@ import * as enums from "./types/enums";
|
|
|
53
53
|
*
|
|
54
54
|
* const autoscale_pool_01 = new digitalocean.KubernetesNodePool("autoscale-pool-01", {
|
|
55
55
|
* clusterId: digitalocean_kubernetes_cluster.foo.id,
|
|
56
|
-
* size:
|
|
56
|
+
* size: digitalocean.DropletSlug.DropletS1VCPU2GB,
|
|
57
57
|
* autoScale: true,
|
|
58
58
|
* minNodes: 1,
|
|
59
59
|
* maxNodes: 5,
|