@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.
Files changed (87) hide show
  1. package/cdn.d.ts +3 -3
  2. package/cdn.js +3 -3
  3. package/certificate.d.ts +4 -4
  4. package/certificate.js +4 -4
  5. package/customImage.d.ts +2 -2
  6. package/customImage.js +2 -2
  7. package/databaseCluster.d.ts +13 -13
  8. package/databaseCluster.js +13 -13
  9. package/databaseConnectionPool.d.ts +2 -2
  10. package/databaseConnectionPool.js +2 -2
  11. package/databaseDb.d.ts +2 -2
  12. package/databaseDb.js +2 -2
  13. package/databaseFirewall.d.ts +10 -10
  14. package/databaseFirewall.js +10 -10
  15. package/databaseKafkaTopic.d.ts +1 -1
  16. package/databaseKafkaTopic.js +1 -1
  17. package/databaseMysqlConfig.d.ts +2 -2
  18. package/databaseMysqlConfig.js +2 -2
  19. package/databaseRedisConfig.d.ts +2 -2
  20. package/databaseRedisConfig.js +2 -2
  21. package/databaseReplica.d.ts +4 -4
  22. package/databaseReplica.js +4 -4
  23. package/databaseUser.d.ts +7 -7
  24. package/databaseUser.js +7 -7
  25. package/dnsRecord.d.ts +2 -2
  26. package/dnsRecord.js +2 -2
  27. package/droplet.d.ts +5 -5
  28. package/droplet.js +2 -2
  29. package/dropletSnapshot.d.ts +4 -4
  30. package/dropletSnapshot.js +4 -4
  31. package/firewall.d.ts +2 -2
  32. package/firewall.js +2 -2
  33. package/floatingIp.d.ts +2 -2
  34. package/floatingIp.js +2 -2
  35. package/floatingIpAssignment.d.ts +2 -2
  36. package/floatingIpAssignment.js +2 -2
  37. package/getDropletSnapshot.d.ts +4 -4
  38. package/getDropletSnapshot.js +4 -4
  39. package/getImage.d.ts +4 -4
  40. package/getImage.js +4 -4
  41. package/getKubernetesVersions.d.ts +4 -4
  42. package/getKubernetesVersions.js +4 -4
  43. package/getSpacesBucketObject.d.ts +4 -4
  44. package/getSpacesBucketObject.js +4 -4
  45. package/getSshKey.d.ts +4 -4
  46. package/getSshKey.js +4 -4
  47. package/getTag.d.ts +4 -4
  48. package/getTag.js +4 -4
  49. package/getVolume.d.ts +4 -4
  50. package/getVolume.js +4 -4
  51. package/getVolumeSnapshot.d.ts +2 -2
  52. package/getVolumeSnapshot.js +2 -2
  53. package/getVpc.d.ts +4 -4
  54. package/getVpc.js +4 -4
  55. package/kubernetesNodePool.d.ts +3 -3
  56. package/kubernetesNodePool.js +3 -3
  57. package/loadBalancer.d.ts +6 -6
  58. package/loadBalancer.js +6 -6
  59. package/package.json +1 -1
  60. package/project.d.ts +2 -2
  61. package/project.js +2 -2
  62. package/projectResources.d.ts +2 -2
  63. package/projectResources.js +2 -2
  64. package/reservedIp.d.ts +2 -2
  65. package/reservedIp.js +2 -2
  66. package/reservedIpAssignment.d.ts +2 -2
  67. package/reservedIpAssignment.js +2 -2
  68. package/spacesBucket.d.ts +5 -5
  69. package/spacesBucket.js +2 -2
  70. package/spacesBucketCorsConfiguration.d.ts +1 -1
  71. package/spacesBucketCorsConfiguration.js +1 -1
  72. package/spacesBucketObject.d.ts +1 -1
  73. package/spacesBucketObject.js +1 -1
  74. package/spacesBucketPolicy.d.ts +1 -1
  75. package/spacesBucketPolicy.js +1 -1
  76. package/sshKey.d.ts +2 -2
  77. package/sshKey.js +2 -2
  78. package/tag.d.ts +2 -2
  79. package/tag.js +2 -2
  80. package/volume.d.ts +8 -8
  81. package/volume.js +5 -5
  82. package/volumeAttachment.d.ts +4 -4
  83. package/volumeAttachment.js +4 -4
  84. package/volumeSnapshot.d.ts +1 -1
  85. package/volumeSnapshot.js +1 -1
  86. package/vpc.d.ts +2 -2
  87. package/vpc.js +2 -2
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  * import * as digitalocean from "@pulumi/digitalocean";
19
19
  *
20
20
  * const foo = new digitalocean.KubernetesCluster("foo", {
21
- * region: "nyc1",
21
+ * region: digitalocean.Region.NYC1,
22
22
  * version: "1.22.8-do.1",
23
23
  * nodePool: {
24
24
  * name: "front-end-pool",
@@ -28,7 +28,7 @@ const utilities = require("./utilities");
28
28
  * });
29
29
  * const bar = new digitalocean.KubernetesNodePool("bar", {
30
30
  * clusterId: foo.id,
31
- * size: "c-2",
31
+ * size: digitalocean.DropletSlug.DropletC2,
32
32
  * nodeCount: 2,
33
33
  * tags: ["backend"],
34
34
  * labels: {
@@ -56,7 +56,7 @@ const utilities = require("./utilities");
56
56
  *
57
57
  * const autoscale_pool_01 = new digitalocean.KubernetesNodePool("autoscale-pool-01", {
58
58
  * clusterId: digitalocean_kubernetes_cluster.foo.id,
59
- * size: "s-1vcpu-2gb",
59
+ * size: digitalocean.DropletSlug.DropletS1VCPU2GB,
60
60
  * autoScale: true,
61
61
  * minNodes: 1,
62
62
  * maxNodes: 5,
package/loadBalancer.d.ts CHANGED
@@ -14,12 +14,12 @@ import * as enums from "./types/enums";
14
14
  * import * as digitalocean from "@pulumi/digitalocean";
15
15
  *
16
16
  * const web = new digitalocean.Droplet("web", {
17
- * size: "s-1vcpu-1gb",
17
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
18
18
  * image: "ubuntu-18-04-x64",
19
- * region: "nyc3",
19
+ * region: digitalocean.Region.NYC3,
20
20
  * });
21
21
  * const _public = new digitalocean.LoadBalancer("public", {
22
- * region: "nyc3",
22
+ * region: digitalocean.Region.NYC3,
23
23
  * forwardingRules: [{
24
24
  * entryPort: 80,
25
25
  * entryProtocol: "http",
@@ -51,12 +51,12 @@ import * as enums from "./types/enums";
51
51
  * leafCertificate: "file('cert.pem')",
52
52
  * });
53
53
  * const web = new digitalocean.Droplet("web", {
54
- * size: "s-1vcpu-1gb",
54
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
55
55
  * image: "ubuntu-18-04-x64",
56
- * region: "nyc3",
56
+ * region: digitalocean.Region.NYC3,
57
57
  * });
58
58
  * const _public = new digitalocean.LoadBalancer("public", {
59
- * region: "nyc3",
59
+ * region: digitalocean.Region.NYC3,
60
60
  * forwardingRules: [{
61
61
  * entryPort: 443,
62
62
  * entryProtocol: "https",
package/loadBalancer.js CHANGED
@@ -17,12 +17,12 @@ const utilities = require("./utilities");
17
17
  * import * as digitalocean from "@pulumi/digitalocean";
18
18
  *
19
19
  * const web = new digitalocean.Droplet("web", {
20
- * size: "s-1vcpu-1gb",
20
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
21
21
  * image: "ubuntu-18-04-x64",
22
- * region: "nyc3",
22
+ * region: digitalocean.Region.NYC3,
23
23
  * });
24
24
  * const _public = new digitalocean.LoadBalancer("public", {
25
- * region: "nyc3",
25
+ * region: digitalocean.Region.NYC3,
26
26
  * forwardingRules: [{
27
27
  * entryPort: 80,
28
28
  * entryProtocol: "http",
@@ -54,12 +54,12 @@ const utilities = require("./utilities");
54
54
  * leafCertificate: "file('cert.pem')",
55
55
  * });
56
56
  * const web = new digitalocean.Droplet("web", {
57
- * size: "s-1vcpu-1gb",
57
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
58
58
  * image: "ubuntu-18-04-x64",
59
- * region: "nyc3",
59
+ * region: digitalocean.Region.NYC3,
60
60
  * });
61
61
  * const _public = new digitalocean.LoadBalancer("public", {
62
- * region: "nyc3",
62
+ * region: digitalocean.Region.NYC3,
63
63
  * forwardingRules: [{
64
64
  * entryPort: 443,
65
65
  * entryProtocol: "https",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/digitalocean",
3
- "version": "v4.27.0",
3
+ "version": "v4.28.0-alpha.1711028016+52dd367b",
4
4
  "description": "A Pulumi package for creating and managing DigitalOcean cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/project.d.ts CHANGED
@@ -45,9 +45,9 @@ import * as pulumi from "@pulumi/pulumi";
45
45
  * import * as digitalocean from "@pulumi/digitalocean";
46
46
  *
47
47
  * const foobar = new digitalocean.Droplet("foobar", {
48
- * size: "s-1vcpu-1gb",
48
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
49
49
  * image: "ubuntu-22-04-x64",
50
- * region: "nyc3",
50
+ * region: digitalocean.Region.NYC3,
51
51
  * });
52
52
  * const playground = new digitalocean.Project("playground", {
53
53
  * description: "A project to represent development resources.",
package/project.js CHANGED
@@ -51,9 +51,9 @@ const utilities = require("./utilities");
51
51
  * import * as digitalocean from "@pulumi/digitalocean";
52
52
  *
53
53
  * const foobar = new digitalocean.Droplet("foobar", {
54
- * size: "s-1vcpu-1gb",
54
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
55
55
  * image: "ubuntu-22-04-x64",
56
- * region: "nyc3",
56
+ * region: digitalocean.Region.NYC3,
57
57
  * });
58
58
  * const playground = new digitalocean.Project("playground", {
59
59
  * description: "A project to represent development resources.",
@@ -28,9 +28,9 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  * name: "playground",
29
29
  * });
30
30
  * const foobar = new digitalocean.Droplet("foobar", {
31
- * size: "s-1vcpu-1gb",
31
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
32
32
  * image: "ubuntu-22-04-x64",
33
- * region: "nyc3",
33
+ * region: digitalocean.Region.NYC3,
34
34
  * });
35
35
  * const barfoo = new digitalocean.ProjectResources("barfoo", {
36
36
  * project: playground.then(playground => playground.id),
@@ -34,9 +34,9 @@ const utilities = require("./utilities");
34
34
  * name: "playground",
35
35
  * });
36
36
  * const foobar = new digitalocean.Droplet("foobar", {
37
- * size: "s-1vcpu-1gb",
37
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
38
38
  * image: "ubuntu-22-04-x64",
39
- * region: "nyc3",
39
+ * region: digitalocean.Region.NYC3,
40
40
  * });
41
41
  * const barfoo = new digitalocean.ProjectResources("barfoo", {
42
42
  * project: playground.then(playground => playground.id),
package/reservedIp.d.ts CHANGED
@@ -12,9 +12,9 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as digitalocean from "@pulumi/digitalocean";
13
13
  *
14
14
  * const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
15
- * size: "s-1vcpu-1gb",
15
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
16
16
  * image: "ubuntu-22-04-x64",
17
- * region: "nyc3",
17
+ * region: digitalocean.Region.NYC3,
18
18
  * ipv6: true,
19
19
  * privateNetworking: true,
20
20
  * });
package/reservedIp.js CHANGED
@@ -18,9 +18,9 @@ const utilities = require("./utilities");
18
18
  * import * as digitalocean from "@pulumi/digitalocean";
19
19
  *
20
20
  * const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
21
- * size: "s-1vcpu-1gb",
21
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
22
22
  * image: "ubuntu-22-04-x64",
23
- * region: "nyc3",
23
+ * region: digitalocean.Region.NYC3,
24
24
  * ipv6: true,
25
25
  * privateNetworking: true,
26
26
  * });
@@ -13,9 +13,9 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  *
14
14
  * const exampleReservedIp = new digitalocean.ReservedIp("exampleReservedIp", {region: "nyc3"});
15
15
  * const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
16
- * size: "s-1vcpu-1gb",
16
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
17
17
  * image: "ubuntu-22-04-x64",
18
- * region: "nyc3",
18
+ * region: digitalocean.Region.NYC3,
19
19
  * ipv6: true,
20
20
  * privateNetworking: true,
21
21
  * });
@@ -19,9 +19,9 @@ const utilities = require("./utilities");
19
19
  *
20
20
  * const exampleReservedIp = new digitalocean.ReservedIp("exampleReservedIp", {region: "nyc3"});
21
21
  * const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
22
- * size: "s-1vcpu-1gb",
22
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
23
23
  * image: "ubuntu-22-04-x64",
24
- * region: "nyc3",
24
+ * region: digitalocean.Region.NYC3,
25
25
  * ipv6: true,
26
26
  * privateNetworking: true,
27
27
  * });
package/spacesBucket.d.ts CHANGED
@@ -38,7 +38,7 @@ import * as enums from "./types/enums";
38
38
  * import * as pulumi from "@pulumi/pulumi";
39
39
  * import * as digitalocean from "@pulumi/digitalocean";
40
40
  *
41
- * const foobar = new digitalocean.SpacesBucket("foobar", {region: "nyc3"});
41
+ * const foobar = new digitalocean.SpacesBucket("foobar", {region: digitalocean.Region.NYC3});
42
42
  * ```
43
43
  * <!--End PulumiCodeChooser -->
44
44
  *
@@ -68,7 +68,7 @@ import * as enums from "./types/enums";
68
68
  * maxAgeSeconds: 3000,
69
69
  * },
70
70
  * ],
71
- * region: "nyc3",
71
+ * region: digitalocean.Region.NYC3,
72
72
  * });
73
73
  * ```
74
74
  * <!--End PulumiCodeChooser -->
@@ -112,7 +112,7 @@ export declare class SpacesBucket extends pulumi.CustomResource {
112
112
  /**
113
113
  * A rule of Cross-Origin Resource Sharing (documented below).
114
114
  *
115
- * @deprecated Terraform will only perform drift detection if a configuration value is provided. Use the resource `digitalocean_spaces_bucket_cors_configuration` instead.
115
+ * @deprecated Terraform will only perform drift detection if a configuration value is provided. Use the resource `digitalocean.SpacesBucketCorsConfiguration` instead.
116
116
  */
117
117
  readonly corsRules: pulumi.Output<outputs.SpacesBucketCorsRule[] | undefined>;
118
118
  /**
@@ -167,7 +167,7 @@ export interface SpacesBucketState {
167
167
  /**
168
168
  * A rule of Cross-Origin Resource Sharing (documented below).
169
169
  *
170
- * @deprecated Terraform will only perform drift detection if a configuration value is provided. Use the resource `digitalocean_spaces_bucket_cors_configuration` instead.
170
+ * @deprecated Terraform will only perform drift detection if a configuration value is provided. Use the resource `digitalocean.SpacesBucketCorsConfiguration` instead.
171
171
  */
172
172
  corsRules?: pulumi.Input<pulumi.Input<inputs.SpacesBucketCorsRule>[]>;
173
173
  /**
@@ -206,7 +206,7 @@ export interface SpacesBucketArgs {
206
206
  /**
207
207
  * A rule of Cross-Origin Resource Sharing (documented below).
208
208
  *
209
- * @deprecated Terraform will only perform drift detection if a configuration value is provided. Use the resource `digitalocean_spaces_bucket_cors_configuration` instead.
209
+ * @deprecated Terraform will only perform drift detection if a configuration value is provided. Use the resource `digitalocean.SpacesBucketCorsConfiguration` instead.
210
210
  */
211
211
  corsRules?: pulumi.Input<pulumi.Input<inputs.SpacesBucketCorsRule>[]>;
212
212
  /**
package/spacesBucket.js CHANGED
@@ -41,7 +41,7 @@ const utilities = require("./utilities");
41
41
  * import * as pulumi from "@pulumi/pulumi";
42
42
  * import * as digitalocean from "@pulumi/digitalocean";
43
43
  *
44
- * const foobar = new digitalocean.SpacesBucket("foobar", {region: "nyc3"});
44
+ * const foobar = new digitalocean.SpacesBucket("foobar", {region: digitalocean.Region.NYC3});
45
45
  * ```
46
46
  * <!--End PulumiCodeChooser -->
47
47
  *
@@ -71,7 +71,7 @@ const utilities = require("./utilities");
71
71
  * maxAgeSeconds: 3000,
72
72
  * },
73
73
  * ],
74
- * region: "nyc3",
74
+ * region: digitalocean.Region.NYC3,
75
75
  * });
76
76
  * ```
77
77
  * <!--End PulumiCodeChooser -->
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as digitalocean from "@pulumi/digitalocean";
13
13
  *
14
- * const foobar = new digitalocean.SpacesBucket("foobar", {region: "nyc3"});
14
+ * const foobar = new digitalocean.SpacesBucket("foobar", {region: digitalocean.Region.NYC3});
15
15
  * const test = new digitalocean.SpacesBucketCorsConfiguration("test", {
16
16
  * bucket: foobar.id,
17
17
  * region: "nyc3",
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as digitalocean from "@pulumi/digitalocean";
17
17
  *
18
- * const foobar = new digitalocean.SpacesBucket("foobar", {region: "nyc3"});
18
+ * const foobar = new digitalocean.SpacesBucket("foobar", {region: digitalocean.Region.NYC3});
19
19
  * const test = new digitalocean.SpacesBucketCorsConfiguration("test", {
20
20
  * bucket: foobar.id,
21
21
  * region: "nyc3",
@@ -37,7 +37,7 @@ import * as pulumi from "@pulumi/pulumi";
37
37
  * import * as pulumi from "@pulumi/pulumi";
38
38
  * import * as digitalocean from "@pulumi/digitalocean";
39
39
  *
40
- * const foobar = new digitalocean.SpacesBucket("foobar", {region: "nyc3"});
40
+ * const foobar = new digitalocean.SpacesBucket("foobar", {region: digitalocean.Region.NYC3});
41
41
  * const index = new digitalocean.SpacesBucketObject("index", {
42
42
  * region: foobar.region,
43
43
  * bucket: foobar.name,
@@ -43,7 +43,7 @@ const utilities = require("./utilities");
43
43
  * import * as pulumi from "@pulumi/pulumi";
44
44
  * import * as digitalocean from "@pulumi/digitalocean";
45
45
  *
46
- * const foobar = new digitalocean.SpacesBucket("foobar", {region: "nyc3"});
46
+ * const foobar = new digitalocean.SpacesBucket("foobar", {region: digitalocean.Region.NYC3});
47
47
  * const index = new digitalocean.SpacesBucketObject("index", {
48
48
  * region: foobar.region,
49
49
  * bucket: foobar.name,
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as digitalocean from "@pulumi/digitalocean";
11
11
  *
12
- * const foobarSpacesBucket = new digitalocean.SpacesBucket("foobarSpacesBucket", {region: "nyc3"});
12
+ * const foobarSpacesBucket = new digitalocean.SpacesBucket("foobarSpacesBucket", {region: digitalocean.Region.NYC3});
13
13
  * const foobarSpacesBucketPolicy = new digitalocean.SpacesBucketPolicy("foobarSpacesBucketPolicy", {
14
14
  * region: foobarSpacesBucket.region,
15
15
  * bucket: foobarSpacesBucket.name,
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as digitalocean from "@pulumi/digitalocean";
17
17
  *
18
- * const foobarSpacesBucket = new digitalocean.SpacesBucket("foobarSpacesBucket", {region: "nyc3"});
18
+ * const foobarSpacesBucket = new digitalocean.SpacesBucket("foobarSpacesBucket", {region: digitalocean.Region.NYC3});
19
19
  * const foobarSpacesBucketPolicy = new digitalocean.SpacesBucketPolicy("foobarSpacesBucketPolicy", {
20
20
  * region: foobarSpacesBucket.region,
21
21
  * bucket: foobarSpacesBucket.name,
package/sshKey.d.ts CHANGED
@@ -18,8 +18,8 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  * // Create a new Droplet using the SSH key
19
19
  * const web = new digitalocean.Droplet("web", {
20
20
  * image: "ubuntu-18-04-x64",
21
- * region: "nyc3",
22
- * size: "s-1vcpu-1gb",
21
+ * region: digitalocean.Region.NYC3,
22
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
23
23
  * sshKeys: [_default.fingerprint],
24
24
  * });
25
25
  * ```
package/sshKey.js CHANGED
@@ -24,8 +24,8 @@ const utilities = require("./utilities");
24
24
  * // Create a new Droplet using the SSH key
25
25
  * const web = new digitalocean.Droplet("web", {
26
26
  * image: "ubuntu-18-04-x64",
27
- * region: "nyc3",
28
- * size: "s-1vcpu-1gb",
27
+ * region: digitalocean.Region.NYC3,
28
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
29
29
  * sshKeys: [_default.fingerprint],
30
30
  * });
31
31
  * ```
package/tag.d.ts CHANGED
@@ -17,8 +17,8 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  * // Create a new Droplet in nyc3 with the foobar tag
18
18
  * const web = new digitalocean.Droplet("web", {
19
19
  * image: "ubuntu-18-04-x64",
20
- * region: "nyc3",
21
- * size: "s-1vcpu-1gb",
20
+ * region: digitalocean.Region.NYC3,
21
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
22
22
  * tags: [foobar.id],
23
23
  * });
24
24
  * ```
package/tag.js CHANGED
@@ -23,8 +23,8 @@ const utilities = require("./utilities");
23
23
  * // Create a new Droplet in nyc3 with the foobar tag
24
24
  * const web = new digitalocean.Droplet("web", {
25
25
  * image: "ubuntu-18-04-x64",
26
- * region: "nyc3",
27
- * size: "s-1vcpu-1gb",
26
+ * region: digitalocean.Region.NYC3,
27
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
28
28
  * tags: [foobar.id],
29
29
  * });
30
30
  * ```
package/volume.d.ts CHANGED
@@ -11,15 +11,15 @@ import * as enums from "./types/enums";
11
11
  * import * as digitalocean from "@pulumi/digitalocean";
12
12
  *
13
13
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
14
- * region: "nyc1",
14
+ * region: digitalocean.Region.NYC1,
15
15
  * size: 100,
16
- * initialFilesystemType: "ext4",
16
+ * initialFilesystemType: digitalocean.FileSystemType.EXT4,
17
17
  * description: "an example volume",
18
18
  * });
19
19
  * const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
20
- * size: "s-1vcpu-1gb",
20
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
21
21
  * image: "ubuntu-18-04-x64",
22
- * region: "nyc1",
22
+ * region: digitalocean.Region.NYC1,
23
23
  * });
24
24
  * const foobarVolumeAttachment = new digitalocean.VolumeAttachment("foobarVolumeAttachment", {
25
25
  * dropletId: foobarDroplet.id,
@@ -39,7 +39,7 @@ import * as enums from "./types/enums";
39
39
  * name: "baz",
40
40
  * });
41
41
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
42
- * region: "lon1",
42
+ * region: digitalocean.Region.LON1,
43
43
  * size: foobarVolumeSnapshot.then(foobarVolumeSnapshot => foobarVolumeSnapshot.minDiskSize),
44
44
  * snapshotId: foobarVolumeSnapshot.then(foobarVolumeSnapshot => foobarVolumeSnapshot.id),
45
45
  * });
@@ -85,7 +85,7 @@ export declare class Volume extends pulumi.CustomResource {
85
85
  /**
86
86
  * Filesystem type (`xfs` or `ext4`) for the block storage volume.
87
87
  *
88
- * @deprecated This fields functionality has been replaced by `initial_filesystem_type`. The property will still remain as a computed attribute representing the current volumes filesystem type.
88
+ * @deprecated This fields functionality has been replaced by `initialFilesystemType`. The property will still remain as a computed attribute representing the current volumes filesystem type.
89
89
  */
90
90
  readonly filesystemType: pulumi.Output<string>;
91
91
  /**
@@ -148,7 +148,7 @@ export interface VolumeState {
148
148
  /**
149
149
  * Filesystem type (`xfs` or `ext4`) for the block storage volume.
150
150
  *
151
- * @deprecated This fields functionality has been replaced by `initial_filesystem_type`. The property will still remain as a computed attribute representing the current volumes filesystem type.
151
+ * @deprecated This fields functionality has been replaced by `initialFilesystemType`. The property will still remain as a computed attribute representing the current volumes filesystem type.
152
152
  */
153
153
  filesystemType?: pulumi.Input<string>;
154
154
  /**
@@ -195,7 +195,7 @@ export interface VolumeArgs {
195
195
  /**
196
196
  * Filesystem type (`xfs` or `ext4`) for the block storage volume.
197
197
  *
198
- * @deprecated This fields functionality has been replaced by `initial_filesystem_type`. The property will still remain as a computed attribute representing the current volumes filesystem type.
198
+ * @deprecated This fields functionality has been replaced by `initialFilesystemType`. The property will still remain as a computed attribute representing the current volumes filesystem type.
199
199
  */
200
200
  filesystemType?: pulumi.Input<string>;
201
201
  /**
package/volume.js CHANGED
@@ -16,15 +16,15 @@ const utilities = require("./utilities");
16
16
  * import * as digitalocean from "@pulumi/digitalocean";
17
17
  *
18
18
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
19
- * region: "nyc1",
19
+ * region: digitalocean.Region.NYC1,
20
20
  * size: 100,
21
- * initialFilesystemType: "ext4",
21
+ * initialFilesystemType: digitalocean.FileSystemType.EXT4,
22
22
  * description: "an example volume",
23
23
  * });
24
24
  * const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
25
- * size: "s-1vcpu-1gb",
25
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
26
26
  * image: "ubuntu-18-04-x64",
27
- * region: "nyc1",
27
+ * region: digitalocean.Region.NYC1,
28
28
  * });
29
29
  * const foobarVolumeAttachment = new digitalocean.VolumeAttachment("foobarVolumeAttachment", {
30
30
  * dropletId: foobarDroplet.id,
@@ -44,7 +44,7 @@ const utilities = require("./utilities");
44
44
  * name: "baz",
45
45
  * });
46
46
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
47
- * region: "lon1",
47
+ * region: digitalocean.Region.LON1,
48
48
  * size: foobarVolumeSnapshot.then(foobarVolumeSnapshot => foobarVolumeSnapshot.minDiskSize),
49
49
  * snapshotId: foobarVolumeSnapshot.then(foobarVolumeSnapshot => foobarVolumeSnapshot.id),
50
50
  * });
@@ -12,15 +12,15 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as digitalocean from "@pulumi/digitalocean";
13
13
  *
14
14
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
15
- * region: "nyc1",
15
+ * region: digitalocean.Region.NYC1,
16
16
  * size: 100,
17
- * initialFilesystemType: "ext4",
17
+ * initialFilesystemType: digitalocean.FileSystemType.EXT4,
18
18
  * description: "an example volume",
19
19
  * });
20
20
  * const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
21
- * size: "s-1vcpu-1gb",
21
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
22
22
  * image: "ubuntu-18-04-x64",
23
- * region: "nyc1",
23
+ * region: digitalocean.Region.NYC1,
24
24
  * });
25
25
  * const foobarVolumeAttachment = new digitalocean.VolumeAttachment("foobarVolumeAttachment", {
26
26
  * dropletId: foobarDroplet.id,
@@ -18,15 +18,15 @@ const utilities = require("./utilities");
18
18
  * import * as digitalocean from "@pulumi/digitalocean";
19
19
  *
20
20
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
21
- * region: "nyc1",
21
+ * region: digitalocean.Region.NYC1,
22
22
  * size: 100,
23
- * initialFilesystemType: "ext4",
23
+ * initialFilesystemType: digitalocean.FileSystemType.EXT4,
24
24
  * description: "an example volume",
25
25
  * });
26
26
  * const foobarDroplet = new digitalocean.Droplet("foobarDroplet", {
27
- * size: "s-1vcpu-1gb",
27
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
28
28
  * image: "ubuntu-18-04-x64",
29
- * region: "nyc1",
29
+ * region: digitalocean.Region.NYC1,
30
30
  * });
31
31
  * const foobarVolumeAttachment = new digitalocean.VolumeAttachment("foobarVolumeAttachment", {
32
32
  * dropletId: foobarDroplet.id,
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as digitalocean from "@pulumi/digitalocean";
11
11
  *
12
12
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
13
- * region: "nyc1",
13
+ * region: digitalocean.Region.NYC1,
14
14
  * size: 100,
15
15
  * description: "an example volume",
16
16
  * });
package/volumeSnapshot.js CHANGED
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
16
16
  * import * as digitalocean from "@pulumi/digitalocean";
17
17
  *
18
18
  * const foobarVolume = new digitalocean.Volume("foobarVolume", {
19
- * region: "nyc1",
19
+ * region: digitalocean.Region.NYC1,
20
20
  * size: 100,
21
21
  * description: "an example volume",
22
22
  * });
package/vpc.d.ts CHANGED
@@ -32,9 +32,9 @@ import * as pulumi from "@pulumi/pulumi";
32
32
  *
33
33
  * const exampleVpc = new digitalocean.Vpc("exampleVpc", {region: "nyc3"});
34
34
  * const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
35
- * size: "s-1vcpu-1gb",
35
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
36
36
  * image: "ubuntu-18-04-x64",
37
- * region: "nyc3",
37
+ * region: digitalocean.Region.NYC3,
38
38
  * vpcUuid: exampleVpc.id,
39
39
  * });
40
40
  * ```
package/vpc.js CHANGED
@@ -38,9 +38,9 @@ const utilities = require("./utilities");
38
38
  *
39
39
  * const exampleVpc = new digitalocean.Vpc("exampleVpc", {region: "nyc3"});
40
40
  * const exampleDroplet = new digitalocean.Droplet("exampleDroplet", {
41
- * size: "s-1vcpu-1gb",
41
+ * size: digitalocean.DropletSlug.DropletS1VCPU1GB,
42
42
  * image: "ubuntu-18-04-x64",
43
- * region: "nyc3",
43
+ * region: digitalocean.Region.NYC3,
44
44
  * vpcUuid: exampleVpc.id,
45
45
  * });
46
46
  * ```