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
@@ -112,7 +113,7 @@ class GetDatabaseClusterResult:
112
113
 
113
114
  @property
114
115
  @pulumi.getter
115
- def database(self) -> str:
116
+ def database(self) -> builtins.str:
116
117
  """
117
118
  Name of the cluster's default database.
118
119
  """
@@ -120,7 +121,7 @@ class GetDatabaseClusterResult:
120
121
 
121
122
  @property
122
123
  @pulumi.getter
123
- def engine(self) -> str:
124
+ def engine(self) -> builtins.str:
124
125
  """
125
126
  Database engine used by the cluster (ex. `pg` for PostgreSQL).
126
127
  """
@@ -128,7 +129,7 @@ class GetDatabaseClusterResult:
128
129
 
129
130
  @property
130
131
  @pulumi.getter
131
- def host(self) -> str:
132
+ def host(self) -> builtins.str:
132
133
  """
133
134
  Database cluster's hostname.
134
135
  """
@@ -136,7 +137,7 @@ class GetDatabaseClusterResult:
136
137
 
137
138
  @property
138
139
  @pulumi.getter
139
- def id(self) -> str:
140
+ def id(self) -> builtins.str:
140
141
  """
141
142
  The provider-assigned unique ID for this managed resource.
142
143
  """
@@ -152,12 +153,12 @@ class GetDatabaseClusterResult:
152
153
 
153
154
  @property
154
155
  @pulumi.getter
155
- def name(self) -> str:
156
+ def name(self) -> builtins.str:
156
157
  return pulumi.get(self, "name")
157
158
 
158
159
  @property
159
160
  @pulumi.getter(name="nodeCount")
160
- def node_count(self) -> int:
161
+ def node_count(self) -> builtins.int:
161
162
  """
162
163
  Number of nodes that will be included in the cluster.
163
164
  """
@@ -165,7 +166,7 @@ class GetDatabaseClusterResult:
165
166
 
166
167
  @property
167
168
  @pulumi.getter
168
- def password(self) -> str:
169
+ def password(self) -> builtins.str:
169
170
  """
170
171
  Password for the cluster's default user.
171
172
  """
@@ -173,7 +174,7 @@ class GetDatabaseClusterResult:
173
174
 
174
175
  @property
175
176
  @pulumi.getter
176
- def port(self) -> int:
177
+ def port(self) -> builtins.int:
177
178
  """
178
179
  Network port that the database cluster is listening on.
179
180
  """
@@ -181,7 +182,7 @@ class GetDatabaseClusterResult:
181
182
 
182
183
  @property
183
184
  @pulumi.getter(name="privateHost")
184
- def private_host(self) -> str:
185
+ def private_host(self) -> builtins.str:
185
186
  """
186
187
  Same as `host`, but only accessible from resources within the account and in the same region.
187
188
  """
@@ -189,7 +190,7 @@ class GetDatabaseClusterResult:
189
190
 
190
191
  @property
191
192
  @pulumi.getter(name="privateNetworkUuid")
192
- def private_network_uuid(self) -> str:
193
+ def private_network_uuid(self) -> builtins.str:
193
194
  """
194
195
  The ID of the VPC where the database cluster is located.
195
196
  """
@@ -197,7 +198,7 @@ class GetDatabaseClusterResult:
197
198
 
198
199
  @property
199
200
  @pulumi.getter(name="privateUri")
200
- def private_uri(self) -> str:
201
+ def private_uri(self) -> builtins.str:
201
202
  """
202
203
  Same as `uri`, but only accessible from resources within the account and in the same region.
203
204
  """
@@ -205,7 +206,7 @@ class GetDatabaseClusterResult:
205
206
 
206
207
  @property
207
208
  @pulumi.getter(name="projectId")
208
- def project_id(self) -> str:
209
+ def project_id(self) -> builtins.str:
209
210
  """
210
211
  The ID of the project that the database cluster is assigned to.
211
212
  """
@@ -213,7 +214,7 @@ class GetDatabaseClusterResult:
213
214
 
214
215
  @property
215
216
  @pulumi.getter
216
- def region(self) -> str:
217
+ def region(self) -> builtins.str:
217
218
  """
218
219
  DigitalOcean region where the cluster will reside.
219
220
  """
@@ -221,7 +222,7 @@ class GetDatabaseClusterResult:
221
222
 
222
223
  @property
223
224
  @pulumi.getter
224
- def size(self) -> str:
225
+ def size(self) -> builtins.str:
225
226
  """
226
227
  Database droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`).
227
228
  """
@@ -229,17 +230,17 @@ class GetDatabaseClusterResult:
229
230
 
230
231
  @property
231
232
  @pulumi.getter(name="storageSizeMib")
232
- def storage_size_mib(self) -> str:
233
+ def storage_size_mib(self) -> builtins.str:
233
234
  return pulumi.get(self, "storage_size_mib")
234
235
 
235
236
  @property
236
237
  @pulumi.getter
237
- def tags(self) -> Optional[Sequence[str]]:
238
+ def tags(self) -> Optional[Sequence[builtins.str]]:
238
239
  return pulumi.get(self, "tags")
239
240
 
240
241
  @property
241
242
  @pulumi.getter(name="uiDatabase")
242
- def ui_database(self) -> str:
243
+ def ui_database(self) -> builtins.str:
243
244
  """
244
245
  Name of the OpenSearch dashboard db.
245
246
  """
@@ -247,7 +248,7 @@ class GetDatabaseClusterResult:
247
248
 
248
249
  @property
249
250
  @pulumi.getter(name="uiHost")
250
- def ui_host(self) -> str:
251
+ def ui_host(self) -> builtins.str:
251
252
  """
252
253
  Hostname for the OpenSearch dashboard.
253
254
  """
@@ -255,7 +256,7 @@ class GetDatabaseClusterResult:
255
256
 
256
257
  @property
257
258
  @pulumi.getter(name="uiPassword")
258
- def ui_password(self) -> str:
259
+ def ui_password(self) -> builtins.str:
259
260
  """
260
261
  Password for the OpenSearch dashboard's default user.
261
262
  """
@@ -263,7 +264,7 @@ class GetDatabaseClusterResult:
263
264
 
264
265
  @property
265
266
  @pulumi.getter(name="uiPort")
266
- def ui_port(self) -> int:
267
+ def ui_port(self) -> builtins.int:
267
268
  """
268
269
  Network port that the OpenSearch dashboard is listening on.
269
270
  """
@@ -271,7 +272,7 @@ class GetDatabaseClusterResult:
271
272
 
272
273
  @property
273
274
  @pulumi.getter(name="uiUri")
274
- def ui_uri(self) -> str:
275
+ def ui_uri(self) -> builtins.str:
275
276
  """
276
277
  The full URI for connecting to the OpenSearch dashboard.
277
278
  """
@@ -279,7 +280,7 @@ class GetDatabaseClusterResult:
279
280
 
280
281
  @property
281
282
  @pulumi.getter(name="uiUser")
282
- def ui_user(self) -> str:
283
+ def ui_user(self) -> builtins.str:
283
284
  """
284
285
  Username for OpenSearch dashboard's default user.
285
286
  """
@@ -287,7 +288,7 @@ class GetDatabaseClusterResult:
287
288
 
288
289
  @property
289
290
  @pulumi.getter
290
- def uri(self) -> str:
291
+ def uri(self) -> builtins.str:
291
292
  """
292
293
  The full URI for connecting to the database cluster.
293
294
  """
@@ -295,7 +296,7 @@ class GetDatabaseClusterResult:
295
296
 
296
297
  @property
297
298
  @pulumi.getter
298
- def urn(self) -> str:
299
+ def urn(self) -> builtins.str:
299
300
  """
300
301
  The uniform resource name of the database cluster.
301
302
  """
@@ -303,7 +304,7 @@ class GetDatabaseClusterResult:
303
304
 
304
305
  @property
305
306
  @pulumi.getter
306
- def user(self) -> str:
307
+ def user(self) -> builtins.str:
307
308
  """
308
309
  Username for the cluster's default user.
309
310
  """
@@ -311,7 +312,7 @@ class GetDatabaseClusterResult:
311
312
 
312
313
  @property
313
314
  @pulumi.getter
314
- def version(self) -> str:
315
+ def version(self) -> builtins.str:
315
316
  """
316
317
  Engine version used by the cluster (ex. `11` for PostgreSQL 11).
317
318
  """
@@ -353,8 +354,8 @@ class AwaitableGetDatabaseClusterResult(GetDatabaseClusterResult):
353
354
  version=self.version)
354
355
 
355
356
 
356
- def get_database_cluster(name: Optional[str] = None,
357
- tags: Optional[Sequence[str]] = None,
357
+ def get_database_cluster(name: Optional[builtins.str] = None,
358
+ tags: Optional[Sequence[builtins.str]] = None,
358
359
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseClusterResult:
359
360
  """
360
361
  Provides information on a DigitalOcean database cluster resource.
@@ -370,7 +371,7 @@ def get_database_cluster(name: Optional[str] = None,
370
371
  ```
371
372
 
372
373
 
373
- :param str name: The name of the database cluster.
374
+ :param builtins.str name: The name of the database cluster.
374
375
  """
375
376
  __args__ = dict()
376
377
  __args__['name'] = name
@@ -406,8 +407,8 @@ def get_database_cluster(name: Optional[str] = None,
406
407
  urn=pulumi.get(__ret__, 'urn'),
407
408
  user=pulumi.get(__ret__, 'user'),
408
409
  version=pulumi.get(__ret__, 'version'))
409
- def get_database_cluster_output(name: Optional[pulumi.Input[str]] = None,
410
- tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
410
+ def get_database_cluster_output(name: Optional[pulumi.Input[builtins.str]] = None,
411
+ tags: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
411
412
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseClusterResult]:
412
413
  """
413
414
  Provides information on a DigitalOcean database cluster resource.
@@ -423,7 +424,7 @@ def get_database_cluster_output(name: Optional[pulumi.Input[str]] = None,
423
424
  ```
424
425
 
425
426
 
426
- :param str name: The name of the database cluster.
427
+ :param builtins.str name: The name of the database cluster.
427
428
  """
428
429
  __args__ = dict()
429
430
  __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
@@ -69,12 +70,12 @@ class GetDatabaseConnectionPoolResult:
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="clusterId")
72
- def cluster_id(self) -> str:
73
+ def cluster_id(self) -> builtins.str:
73
74
  return pulumi.get(self, "cluster_id")
74
75
 
75
76
  @property
76
77
  @pulumi.getter(name="dbName")
77
- def db_name(self) -> str:
78
+ def db_name(self) -> builtins.str:
78
79
  """
79
80
  Name of the connection pool's default database.
80
81
  """
@@ -82,7 +83,7 @@ class GetDatabaseConnectionPoolResult:
82
83
 
83
84
  @property
84
85
  @pulumi.getter
85
- def host(self) -> str:
86
+ def host(self) -> builtins.str:
86
87
  """
87
88
  Connection pool hostname.
88
89
  """
@@ -90,7 +91,7 @@ class GetDatabaseConnectionPoolResult:
90
91
 
91
92
  @property
92
93
  @pulumi.getter
93
- def id(self) -> str:
94
+ def id(self) -> builtins.str:
94
95
  """
95
96
  The provider-assigned unique ID for this managed resource.
96
97
  """
@@ -98,7 +99,7 @@ class GetDatabaseConnectionPoolResult:
98
99
 
99
100
  @property
100
101
  @pulumi.getter
101
- def mode(self) -> str:
102
+ def mode(self) -> builtins.str:
102
103
  """
103
104
  The transaction mode for the connection pool.
104
105
  """
@@ -106,12 +107,12 @@ class GetDatabaseConnectionPoolResult:
106
107
 
107
108
  @property
108
109
  @pulumi.getter
109
- def name(self) -> str:
110
+ def name(self) -> builtins.str:
110
111
  return pulumi.get(self, "name")
111
112
 
112
113
  @property
113
114
  @pulumi.getter
114
- def password(self) -> str:
115
+ def password(self) -> builtins.str:
115
116
  """
116
117
  Password for the connection pool's default user.
117
118
  """
@@ -119,7 +120,7 @@ class GetDatabaseConnectionPoolResult:
119
120
 
120
121
  @property
121
122
  @pulumi.getter
122
- def port(self) -> int:
123
+ def port(self) -> builtins.int:
123
124
  """
124
125
  Network port that the connection pool is listening on.
125
126
  """
@@ -127,7 +128,7 @@ class GetDatabaseConnectionPoolResult:
127
128
 
128
129
  @property
129
130
  @pulumi.getter(name="privateHost")
130
- def private_host(self) -> str:
131
+ def private_host(self) -> builtins.str:
131
132
  """
132
133
  Same as `host`, but only accessible from resources within the account and in the same region.
133
134
  """
@@ -135,7 +136,7 @@ class GetDatabaseConnectionPoolResult:
135
136
 
136
137
  @property
137
138
  @pulumi.getter(name="privateUri")
138
- def private_uri(self) -> str:
139
+ def private_uri(self) -> builtins.str:
139
140
  """
140
141
  Same as `uri`, but only accessible from resources within the account and in the same region.
141
142
  """
@@ -143,7 +144,7 @@ class GetDatabaseConnectionPoolResult:
143
144
 
144
145
  @property
145
146
  @pulumi.getter
146
- def size(self) -> int:
147
+ def size(self) -> builtins.int:
147
148
  """
148
149
  Size of the connection pool.
149
150
  """
@@ -151,7 +152,7 @@ class GetDatabaseConnectionPoolResult:
151
152
 
152
153
  @property
153
154
  @pulumi.getter
154
- def uri(self) -> str:
155
+ def uri(self) -> builtins.str:
155
156
  """
156
157
  The full URI for connecting to the database connection pool.
157
158
  """
@@ -159,7 +160,7 @@ class GetDatabaseConnectionPoolResult:
159
160
 
160
161
  @property
161
162
  @pulumi.getter
162
- def user(self) -> str:
163
+ def user(self) -> builtins.str:
163
164
  """
164
165
  Username for the connection pool's default user.
165
166
  """
@@ -187,8 +188,8 @@ class AwaitableGetDatabaseConnectionPoolResult(GetDatabaseConnectionPoolResult):
187
188
  user=self.user)
188
189
 
189
190
 
190
- def get_database_connection_pool(cluster_id: Optional[str] = None,
191
- name: Optional[str] = None,
191
+ def get_database_connection_pool(cluster_id: Optional[builtins.str] = None,
192
+ name: Optional[builtins.str] = None,
192
193
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseConnectionPoolResult:
193
194
  """
194
195
  Provides information on a DigitalOcean PostgreSQL database connection pool.
@@ -206,8 +207,8 @@ def get_database_connection_pool(cluster_id: Optional[str] = None,
206
207
  ```
207
208
 
208
209
 
209
- :param str cluster_id: The ID of the original source database cluster.
210
- :param str name: The name for the database connection pool.
210
+ :param builtins.str cluster_id: The ID of the original source database cluster.
211
+ :param builtins.str name: The name for the database connection pool.
211
212
  """
212
213
  __args__ = dict()
213
214
  __args__['clusterId'] = cluster_id
@@ -229,8 +230,8 @@ def get_database_connection_pool(cluster_id: Optional[str] = None,
229
230
  size=pulumi.get(__ret__, 'size'),
230
231
  uri=pulumi.get(__ret__, 'uri'),
231
232
  user=pulumi.get(__ret__, 'user'))
232
- def get_database_connection_pool_output(cluster_id: Optional[pulumi.Input[str]] = None,
233
- name: Optional[pulumi.Input[str]] = None,
233
+ def get_database_connection_pool_output(cluster_id: Optional[pulumi.Input[builtins.str]] = None,
234
+ name: Optional[pulumi.Input[builtins.str]] = None,
234
235
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseConnectionPoolResult]:
235
236
  """
236
237
  Provides information on a DigitalOcean PostgreSQL database connection pool.
@@ -248,8 +249,8 @@ def get_database_connection_pool_output(cluster_id: Optional[pulumi.Input[str]]
248
249
  ```
249
250
 
250
251
 
251
- :param str cluster_id: The ID of the original source database cluster.
252
- :param str name: The name for the database connection pool.
252
+ :param builtins.str cluster_id: The ID of the original source database cluster.
253
+ :param builtins.str name: The name for the database connection pool.
253
254
  """
254
255
  __args__ = dict()
255
256
  __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
@@ -78,12 +79,12 @@ class GetDatabaseReplicaResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter(name="clusterId")
81
- def cluster_id(self) -> str:
82
+ def cluster_id(self) -> builtins.str:
82
83
  return pulumi.get(self, "cluster_id")
83
84
 
84
85
  @property
85
86
  @pulumi.getter
86
- def database(self) -> str:
87
+ def database(self) -> builtins.str:
87
88
  """
88
89
  Name of the replica's default database.
89
90
  """
@@ -91,7 +92,7 @@ class GetDatabaseReplicaResult:
91
92
 
92
93
  @property
93
94
  @pulumi.getter
94
- def host(self) -> str:
95
+ def host(self) -> builtins.str:
95
96
  """
96
97
  Database replica's hostname.
97
98
  """
@@ -99,7 +100,7 @@ class GetDatabaseReplicaResult:
99
100
 
100
101
  @property
101
102
  @pulumi.getter
102
- def id(self) -> str:
103
+ def id(self) -> builtins.str:
103
104
  """
104
105
  The provider-assigned unique ID for this managed resource.
105
106
  """
@@ -107,12 +108,12 @@ class GetDatabaseReplicaResult:
107
108
 
108
109
  @property
109
110
  @pulumi.getter
110
- def name(self) -> str:
111
+ def name(self) -> builtins.str:
111
112
  return pulumi.get(self, "name")
112
113
 
113
114
  @property
114
115
  @pulumi.getter
115
- def password(self) -> str:
116
+ def password(self) -> builtins.str:
116
117
  """
117
118
  Password for the replica's default user.
118
119
  """
@@ -120,7 +121,7 @@ class GetDatabaseReplicaResult:
120
121
 
121
122
  @property
122
123
  @pulumi.getter
123
- def port(self) -> int:
124
+ def port(self) -> builtins.int:
124
125
  """
125
126
  Network port that the database replica is listening on.
126
127
  """
@@ -128,7 +129,7 @@ class GetDatabaseReplicaResult:
128
129
 
129
130
  @property
130
131
  @pulumi.getter(name="privateHost")
131
- def private_host(self) -> str:
132
+ def private_host(self) -> builtins.str:
132
133
  """
133
134
  Same as `host`, but only accessible from resources within the account and in the same region.
134
135
  """
@@ -136,12 +137,12 @@ class GetDatabaseReplicaResult:
136
137
 
137
138
  @property
138
139
  @pulumi.getter(name="privateNetworkUuid")
139
- def private_network_uuid(self) -> str:
140
+ def private_network_uuid(self) -> builtins.str:
140
141
  return pulumi.get(self, "private_network_uuid")
141
142
 
142
143
  @property
143
144
  @pulumi.getter(name="privateUri")
144
- def private_uri(self) -> str:
145
+ def private_uri(self) -> builtins.str:
145
146
  """
146
147
  Same as `uri`, but only accessible from resources within the account and in the same region.
147
148
  """
@@ -149,17 +150,17 @@ class GetDatabaseReplicaResult:
149
150
 
150
151
  @property
151
152
  @pulumi.getter
152
- def region(self) -> str:
153
+ def region(self) -> builtins.str:
153
154
  return pulumi.get(self, "region")
154
155
 
155
156
  @property
156
157
  @pulumi.getter(name="storageSizeMib")
157
- def storage_size_mib(self) -> str:
158
+ def storage_size_mib(self) -> builtins.str:
158
159
  return pulumi.get(self, "storage_size_mib")
159
160
 
160
161
  @property
161
162
  @pulumi.getter
162
- def tags(self) -> Optional[Sequence[str]]:
163
+ def tags(self) -> Optional[Sequence[builtins.str]]:
163
164
  """
164
165
  A list of tag names to be applied to the database replica.
165
166
  """
@@ -167,7 +168,7 @@ class GetDatabaseReplicaResult:
167
168
 
168
169
  @property
169
170
  @pulumi.getter
170
- def uri(self) -> str:
171
+ def uri(self) -> builtins.str:
171
172
  """
172
173
  The full URI for connecting to the database replica.
173
174
  """
@@ -175,7 +176,7 @@ class GetDatabaseReplicaResult:
175
176
 
176
177
  @property
177
178
  @pulumi.getter
178
- def user(self) -> str:
179
+ def user(self) -> builtins.str:
179
180
  """
180
181
  Username for the replica's default user.
181
182
  """
@@ -183,7 +184,7 @@ class GetDatabaseReplicaResult:
183
184
 
184
185
  @property
185
186
  @pulumi.getter
186
- def uuid(self) -> str:
187
+ def uuid(self) -> builtins.str:
187
188
  """
188
189
  The UUID of the database replica.
189
190
  """
@@ -214,9 +215,9 @@ class AwaitableGetDatabaseReplicaResult(GetDatabaseReplicaResult):
214
215
  uuid=self.uuid)
215
216
 
216
217
 
217
- def get_database_replica(cluster_id: Optional[str] = None,
218
- name: Optional[str] = None,
219
- tags: Optional[Sequence[str]] = None,
218
+ def get_database_replica(cluster_id: Optional[builtins.str] = None,
219
+ name: Optional[builtins.str] = None,
220
+ tags: Optional[Sequence[builtins.str]] = None,
220
221
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseReplicaResult:
221
222
  """
222
223
  Provides information on a DigitalOcean database replica.
@@ -234,9 +235,9 @@ def get_database_replica(cluster_id: Optional[str] = None,
234
235
  ```
235
236
 
236
237
 
237
- :param str cluster_id: The ID of the original source database cluster.
238
- :param str name: The name for the database replica.
239
- :param Sequence[str] tags: A list of tag names to be applied to the database replica.
238
+ :param builtins.str cluster_id: The ID of the original source database cluster.
239
+ :param builtins.str name: The name for the database replica.
240
+ :param Sequence[builtins.str] tags: A list of tag names to be applied to the database replica.
240
241
  """
241
242
  __args__ = dict()
242
243
  __args__['clusterId'] = cluster_id
@@ -262,9 +263,9 @@ def get_database_replica(cluster_id: Optional[str] = None,
262
263
  uri=pulumi.get(__ret__, 'uri'),
263
264
  user=pulumi.get(__ret__, 'user'),
264
265
  uuid=pulumi.get(__ret__, 'uuid'))
265
- def get_database_replica_output(cluster_id: Optional[pulumi.Input[str]] = None,
266
- name: Optional[pulumi.Input[str]] = None,
267
- tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
266
+ def get_database_replica_output(cluster_id: Optional[pulumi.Input[builtins.str]] = None,
267
+ name: Optional[pulumi.Input[builtins.str]] = None,
268
+ tags: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
268
269
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseReplicaResult]:
269
270
  """
270
271
  Provides information on a DigitalOcean database replica.
@@ -282,9 +283,9 @@ def get_database_replica_output(cluster_id: Optional[pulumi.Input[str]] = None,
282
283
  ```
283
284
 
284
285
 
285
- :param str cluster_id: The ID of the original source database cluster.
286
- :param str name: The name for the database replica.
287
- :param Sequence[str] tags: A list of tag names to be applied to the database replica.
286
+ :param builtins.str cluster_id: The ID of the original source database cluster.
287
+ :param builtins.str name: The name for the database replica.
288
+ :param Sequence[builtins.str] tags: A list of tag names to be applied to the database replica.
288
289
  """
289
290
  __args__ = dict()
290
291
  __args__['clusterId'] = cluster_id