pulumi-digitalocean 4.41.0a1742794810__py3-none-any.whl → 4.42.0__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-digitalocean might be problematic. Click here for more details.

Files changed (111) hide show
  1. pulumi_digitalocean/__init__.py +21 -0
  2. pulumi_digitalocean/_enums.py +10 -8
  3. pulumi_digitalocean/_inputs.py +2936 -2693
  4. pulumi_digitalocean/app.py +64 -63
  5. pulumi_digitalocean/cdn.py +85 -84
  6. pulumi_digitalocean/certificate.py +111 -110
  7. pulumi_digitalocean/config/__init__.py +1 -0
  8. pulumi_digitalocean/config/__init__.pyi +1 -0
  9. pulumi_digitalocean/config/vars.py +1 -0
  10. pulumi_digitalocean/container_registry.py +71 -70
  11. pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
  12. pulumi_digitalocean/custom_image.py +141 -140
  13. pulumi_digitalocean/database_cluster.py +274 -273
  14. pulumi_digitalocean/database_connection_pool.py +127 -126
  15. pulumi_digitalocean/database_db.py +29 -28
  16. pulumi_digitalocean/database_firewall.py +15 -14
  17. pulumi_digitalocean/database_kafka_config.py +253 -252
  18. pulumi_digitalocean/database_kafka_topic.py +64 -63
  19. pulumi_digitalocean/database_mongodb_config.py +85 -84
  20. pulumi_digitalocean/database_mysql_config.py +393 -392
  21. pulumi_digitalocean/database_opensearch_config.py +547 -546
  22. pulumi_digitalocean/database_postgresql_config.py +701 -700
  23. pulumi_digitalocean/database_redis_config.py +169 -168
  24. pulumi_digitalocean/database_replica.py +158 -157
  25. pulumi_digitalocean/database_user.py +71 -70
  26. pulumi_digitalocean/dns_record.py +148 -147
  27. pulumi_digitalocean/domain.py +43 -42
  28. pulumi_digitalocean/droplet.py +312 -311
  29. pulumi_digitalocean/droplet_autoscale.py +36 -35
  30. pulumi_digitalocean/droplet_snapshot.py +57 -56
  31. pulumi_digitalocean/firewall.py +57 -56
  32. pulumi_digitalocean/floating_ip.py +50 -49
  33. pulumi_digitalocean/floating_ip_assignment.py +29 -28
  34. pulumi_digitalocean/get_account.py +9 -8
  35. pulumi_digitalocean/get_app.py +15 -14
  36. pulumi_digitalocean/get_certificate.py +13 -12
  37. pulumi_digitalocean/get_container_registry.py +13 -12
  38. pulumi_digitalocean/get_database_ca.py +8 -7
  39. pulumi_digitalocean/get_database_cluster.py +33 -32
  40. pulumi_digitalocean/get_database_connection_pool.py +22 -21
  41. pulumi_digitalocean/get_database_replica.py +29 -28
  42. pulumi_digitalocean/get_database_user.py +17 -16
  43. pulumi_digitalocean/get_domain.py +10 -9
  44. pulumi_digitalocean/get_domains.py +2 -1
  45. pulumi_digitalocean/get_droplet.py +44 -43
  46. pulumi_digitalocean/get_droplet_autoscale.py +14 -13
  47. pulumi_digitalocean/get_droplet_snapshot.py +27 -26
  48. pulumi_digitalocean/get_droplets.py +7 -6
  49. pulumi_digitalocean/get_firewall.py +20 -19
  50. pulumi_digitalocean/get_floating_ip.py +10 -9
  51. pulumi_digitalocean/get_image.py +33 -32
  52. pulumi_digitalocean/get_images.py +2 -1
  53. pulumi_digitalocean/get_kubernetes_cluster.py +45 -29
  54. pulumi_digitalocean/get_kubernetes_versions.py +9 -8
  55. pulumi_digitalocean/get_load_balancer.py +31 -30
  56. pulumi_digitalocean/get_partner_attachment.py +170 -0
  57. pulumi_digitalocean/get_project.py +20 -19
  58. pulumi_digitalocean/get_projects.py +2 -1
  59. pulumi_digitalocean/get_record.py +20 -19
  60. pulumi_digitalocean/get_records.py +7 -6
  61. pulumi_digitalocean/get_region.py +11 -10
  62. pulumi_digitalocean/get_regions.py +2 -1
  63. pulumi_digitalocean/get_reserved_ip.py +10 -9
  64. pulumi_digitalocean/get_reserved_ipv6.py +10 -9
  65. pulumi_digitalocean/get_sizes.py +2 -1
  66. pulumi_digitalocean/get_spaces_bucket.py +15 -14
  67. pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
  68. pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
  69. pulumi_digitalocean/get_spaces_buckets.py +2 -1
  70. pulumi_digitalocean/get_spaces_key.py +158 -0
  71. pulumi_digitalocean/get_ssh_key.py +9 -8
  72. pulumi_digitalocean/get_ssh_keys.py +2 -1
  73. pulumi_digitalocean/get_tag.py +13 -12
  74. pulumi_digitalocean/get_tags.py +2 -1
  75. pulumi_digitalocean/get_volume.py +23 -22
  76. pulumi_digitalocean/get_volume_snapshot.py +28 -27
  77. pulumi_digitalocean/get_vpc.py +21 -20
  78. pulumi_digitalocean/get_vpc_peering.py +18 -17
  79. pulumi_digitalocean/kubernetes_cluster.py +272 -238
  80. pulumi_digitalocean/kubernetes_node_pool.py +134 -133
  81. pulumi_digitalocean/load_balancer.py +277 -276
  82. pulumi_digitalocean/monitor_alert.py +120 -119
  83. pulumi_digitalocean/outputs.py +3185 -2989
  84. pulumi_digitalocean/partner_attachment.py +433 -0
  85. pulumi_digitalocean/project.py +113 -112
  86. pulumi_digitalocean/project_resources.py +29 -28
  87. pulumi_digitalocean/provider.py +69 -68
  88. pulumi_digitalocean/pulumi-plugin.json +1 -1
  89. pulumi_digitalocean/reserved_ip.py +50 -49
  90. pulumi_digitalocean/reserved_ip_assignment.py +29 -28
  91. pulumi_digitalocean/reserved_ipv6.py +44 -43
  92. pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
  93. pulumi_digitalocean/spaces_bucket.py +78 -77
  94. pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
  95. pulumi_digitalocean/spaces_bucket_object.py +232 -231
  96. pulumi_digitalocean/spaces_bucket_policy.py +43 -42
  97. pulumi_digitalocean/spaces_key.py +388 -0
  98. pulumi_digitalocean/ssh_key.py +36 -35
  99. pulumi_digitalocean/tag.py +57 -56
  100. pulumi_digitalocean/uptime_alert.py +85 -84
  101. pulumi_digitalocean/uptime_check.py +71 -70
  102. pulumi_digitalocean/volume.py +148 -147
  103. pulumi_digitalocean/volume_attachment.py +29 -28
  104. pulumi_digitalocean/volume_snapshot.py +71 -70
  105. pulumi_digitalocean/vpc.py +78 -77
  106. pulumi_digitalocean/vpc_peering.py +43 -42
  107. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
  108. pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
  109. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +1 -1
  110. pulumi_digitalocean-4.41.0a1742794810.dist-info/RECORD +0 -108
  111. {pulumi_digitalocean-4.41.0a1742794810.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -58,7 +59,7 @@ class GetDatabaseUserResult:
58
59
 
59
60
  @property
60
61
  @pulumi.getter(name="accessCert")
61
- def access_cert(self) -> str:
62
+ def access_cert(self) -> builtins.str:
62
63
  """
63
64
  Access certificate for TLS client authentication. (Kafka only)
64
65
  """
@@ -66,7 +67,7 @@ class GetDatabaseUserResult:
66
67
 
67
68
  @property
68
69
  @pulumi.getter(name="accessKey")
69
- def access_key(self) -> str:
70
+ def access_key(self) -> builtins.str:
70
71
  """
71
72
  Access key for TLS client authentication. (Kafka only)
72
73
  """
@@ -74,12 +75,12 @@ class GetDatabaseUserResult:
74
75
 
75
76
  @property
76
77
  @pulumi.getter(name="clusterId")
77
- def cluster_id(self) -> str:
78
+ def cluster_id(self) -> builtins.str:
78
79
  return pulumi.get(self, "cluster_id")
79
80
 
80
81
  @property
81
82
  @pulumi.getter
82
- def id(self) -> str:
83
+ def id(self) -> builtins.str:
83
84
  """
84
85
  The provider-assigned unique ID for this managed resource.
85
86
  """
@@ -87,7 +88,7 @@ class GetDatabaseUserResult:
87
88
 
88
89
  @property
89
90
  @pulumi.getter(name="mysqlAuthPlugin")
90
- def mysql_auth_plugin(self) -> str:
91
+ def mysql_auth_plugin(self) -> builtins.str:
91
92
  """
92
93
  The authentication method of the MySQL user. The value will be `mysql_native_password` or `caching_sha2_password`.
93
94
  """
@@ -95,12 +96,12 @@ class GetDatabaseUserResult:
95
96
 
96
97
  @property
97
98
  @pulumi.getter
98
- def name(self) -> str:
99
+ def name(self) -> builtins.str:
99
100
  return pulumi.get(self, "name")
100
101
 
101
102
  @property
102
103
  @pulumi.getter
103
- def password(self) -> str:
104
+ def password(self) -> builtins.str:
104
105
  """
105
106
  The password of the database user. This will not be set for MongoDB users.
106
107
  """
@@ -108,7 +109,7 @@ class GetDatabaseUserResult:
108
109
 
109
110
  @property
110
111
  @pulumi.getter
111
- def role(self) -> str:
112
+ def role(self) -> builtins.str:
112
113
  """
113
114
  The role of the database user. The value will be either `primary` or `normal`.
114
115
  """
@@ -137,8 +138,8 @@ class AwaitableGetDatabaseUserResult(GetDatabaseUserResult):
137
138
  settings=self.settings)
138
139
 
139
140
 
140
- def get_database_user(cluster_id: Optional[str] = None,
141
- name: Optional[str] = None,
141
+ def get_database_user(cluster_id: Optional[builtins.str] = None,
142
+ name: Optional[builtins.str] = None,
142
143
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseUserResult:
143
144
  """
144
145
  Provides information on a DigitalOcean database user resource.
@@ -156,8 +157,8 @@ def get_database_user(cluster_id: Optional[str] = None,
156
157
  ```
157
158
 
158
159
 
159
- :param str cluster_id: The ID of the database cluster.
160
- :param str name: The name of the database user.
160
+ :param builtins.str cluster_id: The ID of the database cluster.
161
+ :param builtins.str name: The name of the database user.
161
162
  """
162
163
  __args__ = dict()
163
164
  __args__['clusterId'] = cluster_id
@@ -175,8 +176,8 @@ def get_database_user(cluster_id: Optional[str] = None,
175
176
  password=pulumi.get(__ret__, 'password'),
176
177
  role=pulumi.get(__ret__, 'role'),
177
178
  settings=pulumi.get(__ret__, 'settings'))
178
- def get_database_user_output(cluster_id: Optional[pulumi.Input[str]] = None,
179
- name: Optional[pulumi.Input[str]] = None,
179
+ def get_database_user_output(cluster_id: Optional[pulumi.Input[builtins.str]] = None,
180
+ name: Optional[pulumi.Input[builtins.str]] = None,
180
181
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseUserResult]:
181
182
  """
182
183
  Provides information on a DigitalOcean database user resource.
@@ -194,8 +195,8 @@ def get_database_user_output(cluster_id: Optional[pulumi.Input[str]] = None,
194
195
  ```
195
196
 
196
197
 
197
- :param str cluster_id: The ID of the database cluster.
198
- :param str name: The name of the database user.
198
+ :param builtins.str cluster_id: The ID of the database cluster.
199
+ :param builtins.str name: The name of the database user.
199
200
  """
200
201
  __args__ = dict()
201
202
  __args__['clusterId'] = cluster_id
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -45,7 +46,7 @@ class GetDomainResult:
45
46
 
46
47
  @property
47
48
  @pulumi.getter(name="domainUrn")
48
- def domain_urn(self) -> str:
49
+ def domain_urn(self) -> builtins.str:
49
50
  """
50
51
  The uniform resource name of the domain
51
52
  """
@@ -53,7 +54,7 @@ class GetDomainResult:
53
54
 
54
55
  @property
55
56
  @pulumi.getter
56
- def id(self) -> str:
57
+ def id(self) -> builtins.str:
57
58
  """
58
59
  The provider-assigned unique ID for this managed resource.
59
60
  """
@@ -61,12 +62,12 @@ class GetDomainResult:
61
62
 
62
63
  @property
63
64
  @pulumi.getter
64
- def name(self) -> str:
65
+ def name(self) -> builtins.str:
65
66
  return pulumi.get(self, "name")
66
67
 
67
68
  @property
68
69
  @pulumi.getter
69
- def ttl(self) -> int:
70
+ def ttl(self) -> builtins.int:
70
71
  """
71
72
  The TTL of the domain.
72
73
  """
@@ -74,7 +75,7 @@ class GetDomainResult:
74
75
 
75
76
  @property
76
77
  @pulumi.getter(name="zoneFile")
77
- def zone_file(self) -> str:
78
+ def zone_file(self) -> builtins.str:
78
79
  """
79
80
  The zone file of the domain.
80
81
  """
@@ -94,7 +95,7 @@ class AwaitableGetDomainResult(GetDomainResult):
94
95
  zone_file=self.zone_file)
95
96
 
96
97
 
97
- def get_domain(name: Optional[str] = None,
98
+ def get_domain(name: Optional[builtins.str] = None,
98
99
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainResult:
99
100
  """
100
101
  Get information on a domain. This data source provides the name, TTL, and zone
@@ -118,7 +119,7 @@ def get_domain(name: Optional[str] = None,
118
119
  ```
119
120
 
120
121
 
121
- :param str name: The name of the domain.
122
+ :param builtins.str name: The name of the domain.
122
123
  """
123
124
  __args__ = dict()
124
125
  __args__['name'] = name
@@ -131,7 +132,7 @@ def get_domain(name: Optional[str] = None,
131
132
  name=pulumi.get(__ret__, 'name'),
132
133
  ttl=pulumi.get(__ret__, 'ttl'),
133
134
  zone_file=pulumi.get(__ret__, 'zone_file'))
134
- def get_domain_output(name: Optional[pulumi.Input[str]] = None,
135
+ def get_domain_output(name: Optional[pulumi.Input[builtins.str]] = None,
135
136
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainResult]:
136
137
  """
137
138
  Get information on a domain. This data source provides the name, TTL, and zone
@@ -155,7 +156,7 @@ def get_domain_output(name: Optional[pulumi.Input[str]] = None,
155
156
  ```
156
157
 
157
158
 
158
- :param str name: The name of the domain.
159
+ :param builtins.str name: The name of the domain.
159
160
  """
160
161
  __args__ = dict()
161
162
  __args__['name'] = name
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -57,7 +58,7 @@ class GetDomainsResult:
57
58
 
58
59
  @property
59
60
  @pulumi.getter
60
- def id(self) -> str:
61
+ def id(self) -> builtins.str:
61
62
  """
62
63
  The provider-assigned unique ID for this managed resource.
63
64
  """
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -111,7 +112,7 @@ class GetDropletResult:
111
112
 
112
113
  @property
113
114
  @pulumi.getter
114
- def backups(self) -> bool:
115
+ def backups(self) -> builtins.bool:
115
116
  """
116
117
  Whether backups are enabled.
117
118
  """
@@ -119,12 +120,12 @@ class GetDropletResult:
119
120
 
120
121
  @property
121
122
  @pulumi.getter(name="createdAt")
122
- def created_at(self) -> str:
123
+ def created_at(self) -> builtins.str:
123
124
  return pulumi.get(self, "created_at")
124
125
 
125
126
  @property
126
127
  @pulumi.getter
127
- def disk(self) -> int:
128
+ def disk(self) -> builtins.int:
128
129
  """
129
130
  The size of the Droplets disk in GB.
130
131
  """
@@ -132,12 +133,12 @@ class GetDropletResult:
132
133
 
133
134
  @property
134
135
  @pulumi.getter
135
- def gpu(self) -> Optional[bool]:
136
+ def gpu(self) -> Optional[builtins.bool]:
136
137
  return pulumi.get(self, "gpu")
137
138
 
138
139
  @property
139
140
  @pulumi.getter
140
- def id(self) -> int:
141
+ def id(self) -> builtins.int:
141
142
  """
142
143
  The ID of the Droplet.
143
144
  """
@@ -145,7 +146,7 @@ class GetDropletResult:
145
146
 
146
147
  @property
147
148
  @pulumi.getter
148
- def image(self) -> str:
149
+ def image(self) -> builtins.str:
149
150
  """
150
151
  The Droplet image ID or slug.
151
152
  """
@@ -153,7 +154,7 @@ class GetDropletResult:
153
154
 
154
155
  @property
155
156
  @pulumi.getter(name="ipv4Address")
156
- def ipv4_address(self) -> str:
157
+ def ipv4_address(self) -> builtins.str:
157
158
  """
158
159
  The Droplets public IPv4 address
159
160
  """
@@ -161,7 +162,7 @@ class GetDropletResult:
161
162
 
162
163
  @property
163
164
  @pulumi.getter(name="ipv4AddressPrivate")
164
- def ipv4_address_private(self) -> str:
165
+ def ipv4_address_private(self) -> builtins.str:
165
166
  """
166
167
  The Droplets private IPv4 address
167
168
  """
@@ -169,7 +170,7 @@ class GetDropletResult:
169
170
 
170
171
  @property
171
172
  @pulumi.getter
172
- def ipv6(self) -> bool:
173
+ def ipv6(self) -> builtins.bool:
173
174
  """
174
175
  Whether IPv6 is enabled.
175
176
  """
@@ -177,7 +178,7 @@ class GetDropletResult:
177
178
 
178
179
  @property
179
180
  @pulumi.getter(name="ipv6Address")
180
- def ipv6_address(self) -> str:
181
+ def ipv6_address(self) -> builtins.str:
181
182
  """
182
183
  The Droplets public IPv6 address
183
184
  """
@@ -185,7 +186,7 @@ class GetDropletResult:
185
186
 
186
187
  @property
187
188
  @pulumi.getter(name="ipv6AddressPrivate")
188
- def ipv6_address_private(self) -> str:
189
+ def ipv6_address_private(self) -> builtins.str:
189
190
  """
190
191
  The Droplets private IPv6 address
191
192
  """
@@ -193,7 +194,7 @@ class GetDropletResult:
193
194
 
194
195
  @property
195
196
  @pulumi.getter
196
- def locked(self) -> bool:
197
+ def locked(self) -> builtins.bool:
197
198
  """
198
199
  Whether the Droplet is locked.
199
200
  """
@@ -201,7 +202,7 @@ class GetDropletResult:
201
202
 
202
203
  @property
203
204
  @pulumi.getter
204
- def memory(self) -> int:
205
+ def memory(self) -> builtins.int:
205
206
  """
206
207
  The amount of the Droplets memory in MB.
207
208
  """
@@ -209,7 +210,7 @@ class GetDropletResult:
209
210
 
210
211
  @property
211
212
  @pulumi.getter
212
- def monitoring(self) -> bool:
213
+ def monitoring(self) -> builtins.bool:
213
214
  """
214
215
  Whether monitoring agent is installed.
215
216
  """
@@ -217,12 +218,12 @@ class GetDropletResult:
217
218
 
218
219
  @property
219
220
  @pulumi.getter
220
- def name(self) -> str:
221
+ def name(self) -> builtins.str:
221
222
  return pulumi.get(self, "name")
222
223
 
223
224
  @property
224
225
  @pulumi.getter(name="priceHourly")
225
- def price_hourly(self) -> float:
226
+ def price_hourly(self) -> builtins.float:
226
227
  """
227
228
  Droplet hourly price.
228
229
  """
@@ -230,7 +231,7 @@ class GetDropletResult:
230
231
 
231
232
  @property
232
233
  @pulumi.getter(name="priceMonthly")
233
- def price_monthly(self) -> float:
234
+ def price_monthly(self) -> builtins.float:
234
235
  """
235
236
  Droplet monthly price.
236
237
  """
@@ -238,7 +239,7 @@ class GetDropletResult:
238
239
 
239
240
  @property
240
241
  @pulumi.getter(name="privateNetworking")
241
- def private_networking(self) -> bool:
242
+ def private_networking(self) -> builtins.bool:
242
243
  """
243
244
  Whether private networks are enabled.
244
245
  """
@@ -246,7 +247,7 @@ class GetDropletResult:
246
247
 
247
248
  @property
248
249
  @pulumi.getter
249
- def region(self) -> str:
250
+ def region(self) -> builtins.str:
250
251
  """
251
252
  The region the Droplet is running in.
252
253
  """
@@ -254,7 +255,7 @@ class GetDropletResult:
254
255
 
255
256
  @property
256
257
  @pulumi.getter
257
- def size(self) -> str:
258
+ def size(self) -> builtins.str:
258
259
  """
259
260
  The unique slug that identifies the type of Droplet.
260
261
  """
@@ -262,7 +263,7 @@ class GetDropletResult:
262
263
 
263
264
  @property
264
265
  @pulumi.getter
265
- def status(self) -> str:
266
+ def status(self) -> builtins.str:
266
267
  """
267
268
  The status of the Droplet.
268
269
  """
@@ -270,12 +271,12 @@ class GetDropletResult:
270
271
 
271
272
  @property
272
273
  @pulumi.getter
273
- def tag(self) -> Optional[str]:
274
+ def tag(self) -> Optional[builtins.str]:
274
275
  return pulumi.get(self, "tag")
275
276
 
276
277
  @property
277
278
  @pulumi.getter
278
- def tags(self) -> Sequence[str]:
279
+ def tags(self) -> Sequence[builtins.str]:
279
280
  """
280
281
  A list of the tags associated to the Droplet.
281
282
  """
@@ -283,7 +284,7 @@ class GetDropletResult:
283
284
 
284
285
  @property
285
286
  @pulumi.getter
286
- def urn(self) -> str:
287
+ def urn(self) -> builtins.str:
287
288
  """
288
289
  The uniform resource name of the Droplet
289
290
  """
@@ -291,7 +292,7 @@ class GetDropletResult:
291
292
 
292
293
  @property
293
294
  @pulumi.getter
294
- def vcpus(self) -> int:
295
+ def vcpus(self) -> builtins.int:
295
296
  """
296
297
  The number of the Droplets virtual CPUs.
297
298
  """
@@ -299,7 +300,7 @@ class GetDropletResult:
299
300
 
300
301
  @property
301
302
  @pulumi.getter(name="volumeIds")
302
- def volume_ids(self) -> Sequence[str]:
303
+ def volume_ids(self) -> Sequence[builtins.str]:
303
304
  """
304
305
  List of the IDs of each volumes attached to the Droplet.
305
306
  """
@@ -307,7 +308,7 @@ class GetDropletResult:
307
308
 
308
309
  @property
309
310
  @pulumi.getter(name="vpcUuid")
310
- def vpc_uuid(self) -> str:
311
+ def vpc_uuid(self) -> builtins.str:
311
312
  """
312
313
  The ID of the VPC where the Droplet is located.
313
314
  """
@@ -349,10 +350,10 @@ class AwaitableGetDropletResult(GetDropletResult):
349
350
  vpc_uuid=self.vpc_uuid)
350
351
 
351
352
 
352
- def get_droplet(gpu: Optional[bool] = None,
353
- id: Optional[int] = None,
354
- name: Optional[str] = None,
355
- tag: Optional[str] = None,
353
+ def get_droplet(gpu: Optional[builtins.bool] = None,
354
+ id: Optional[builtins.int] = None,
355
+ name: Optional[builtins.str] = None,
356
+ tag: Optional[builtins.str] = None,
356
357
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDropletResult:
357
358
  """
358
359
  Get information on a Droplet for use in other resources. This data source provides
@@ -394,10 +395,10 @@ def get_droplet(gpu: Optional[bool] = None,
394
395
  ```
395
396
 
396
397
 
397
- :param bool gpu: A boolean value specifying whether or not to search GPU Droplets
398
- :param int id: The ID of the Droplet
399
- :param str name: The name of the Droplet.
400
- :param str tag: A tag applied to the Droplet.
398
+ :param builtins.bool gpu: A boolean value specifying whether or not to search GPU Droplets
399
+ :param builtins.int id: The ID of the Droplet
400
+ :param builtins.str name: The name of the Droplet.
401
+ :param builtins.str tag: A tag applied to the Droplet.
401
402
 
402
403
  To include GPU Droplets when searching by name, use:
403
404
  """
@@ -437,10 +438,10 @@ def get_droplet(gpu: Optional[bool] = None,
437
438
  vcpus=pulumi.get(__ret__, 'vcpus'),
438
439
  volume_ids=pulumi.get(__ret__, 'volume_ids'),
439
440
  vpc_uuid=pulumi.get(__ret__, 'vpc_uuid'))
440
- def get_droplet_output(gpu: Optional[pulumi.Input[Optional[bool]]] = None,
441
- id: Optional[pulumi.Input[Optional[int]]] = None,
442
- name: Optional[pulumi.Input[Optional[str]]] = None,
443
- tag: Optional[pulumi.Input[Optional[str]]] = None,
441
+ def get_droplet_output(gpu: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
442
+ id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
443
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
444
+ tag: Optional[pulumi.Input[Optional[builtins.str]]] = None,
444
445
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDropletResult]:
445
446
  """
446
447
  Get information on a Droplet for use in other resources. This data source provides
@@ -482,10 +483,10 @@ def get_droplet_output(gpu: Optional[pulumi.Input[Optional[bool]]] = None,
482
483
  ```
483
484
 
484
485
 
485
- :param bool gpu: A boolean value specifying whether or not to search GPU Droplets
486
- :param int id: The ID of the Droplet
487
- :param str name: The name of the Droplet.
488
- :param str tag: A tag applied to the Droplet.
486
+ :param builtins.bool gpu: A boolean value specifying whether or not to search GPU Droplets
487
+ :param builtins.int id: The ID of the Droplet
488
+ :param builtins.str name: The name of the Droplet.
489
+ :param builtins.str tag: A tag applied to the Droplet.
489
490
 
490
491
  To include GPU Droplets when searching by name, use:
491
492
  """
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -60,7 +61,7 @@ class GetDropletAutoscaleResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter(name="createdAt")
63
- def created_at(self) -> str:
64
+ def created_at(self) -> builtins.str:
64
65
  return pulumi.get(self, "created_at")
65
66
 
66
67
  @property
@@ -75,22 +76,22 @@ class GetDropletAutoscaleResult:
75
76
 
76
77
  @property
77
78
  @pulumi.getter
78
- def id(self) -> Optional[str]:
79
+ def id(self) -> Optional[builtins.str]:
79
80
  return pulumi.get(self, "id")
80
81
 
81
82
  @property
82
83
  @pulumi.getter
83
- def name(self) -> Optional[str]:
84
+ def name(self) -> Optional[builtins.str]:
84
85
  return pulumi.get(self, "name")
85
86
 
86
87
  @property
87
88
  @pulumi.getter
88
- def status(self) -> str:
89
+ def status(self) -> builtins.str:
89
90
  return pulumi.get(self, "status")
90
91
 
91
92
  @property
92
93
  @pulumi.getter(name="updatedAt")
93
- def updated_at(self) -> str:
94
+ def updated_at(self) -> builtins.str:
94
95
  return pulumi.get(self, "updated_at")
95
96
 
96
97
 
@@ -110,8 +111,8 @@ class AwaitableGetDropletAutoscaleResult(GetDropletAutoscaleResult):
110
111
  updated_at=self.updated_at)
111
112
 
112
113
 
113
- def get_droplet_autoscale(id: Optional[str] = None,
114
- name: Optional[str] = None,
114
+ def get_droplet_autoscale(id: Optional[builtins.str] = None,
115
+ name: Optional[builtins.str] = None,
115
116
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDropletAutoscaleResult:
116
117
  """
117
118
  ## Example Usage
@@ -135,8 +136,8 @@ def get_droplet_autoscale(id: Optional[str] = None,
135
136
  ```
136
137
 
137
138
 
138
- :param str id: The ID of Droplet Autoscale pool.
139
- :param str name: The name of Droplet Autoscale pool.
139
+ :param builtins.str id: The ID of Droplet Autoscale pool.
140
+ :param builtins.str name: The name of Droplet Autoscale pool.
140
141
  """
141
142
  __args__ = dict()
142
143
  __args__['id'] = id
@@ -153,8 +154,8 @@ def get_droplet_autoscale(id: Optional[str] = None,
153
154
  name=pulumi.get(__ret__, 'name'),
154
155
  status=pulumi.get(__ret__, 'status'),
155
156
  updated_at=pulumi.get(__ret__, 'updated_at'))
156
- def get_droplet_autoscale_output(id: Optional[pulumi.Input[Optional[str]]] = None,
157
- name: Optional[pulumi.Input[Optional[str]]] = None,
157
+ def get_droplet_autoscale_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
158
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
158
159
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDropletAutoscaleResult]:
159
160
  """
160
161
  ## Example Usage
@@ -178,8 +179,8 @@ def get_droplet_autoscale_output(id: Optional[pulumi.Input[Optional[str]]] = Non
178
179
  ```
179
180
 
180
181
 
181
- :param str id: The ID of Droplet Autoscale pool.
182
- :param str name: The name of Droplet Autoscale pool.
182
+ :param builtins.str id: The ID of Droplet Autoscale pool.
183
+ :param builtins.str name: The name of Droplet Autoscale pool.
183
184
  """
184
185
  __args__ = dict()
185
186
  __args__['id'] = id