pulumi-digitalocean 4.49.0__py3-none-any.whl → 4.50.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.
- pulumi_digitalocean/__init__.py +81 -1
- pulumi_digitalocean/_enums.py +9 -9
- pulumi_digitalocean/_inputs.py +11204 -8486
- pulumi_digitalocean/app.py +137 -88
- pulumi_digitalocean/cdn.py +104 -105
- pulumi_digitalocean/certificate.py +137 -138
- pulumi_digitalocean/config/__init__.py +1 -1
- pulumi_digitalocean/config/__init__.pyi +1 -2
- pulumi_digitalocean/config/vars.py +10 -11
- pulumi_digitalocean/container_registry.py +88 -89
- pulumi_digitalocean/container_registry_docker_credentials.py +70 -71
- pulumi_digitalocean/custom_image.py +175 -176
- pulumi_digitalocean/database_cluster.py +374 -347
- pulumi_digitalocean/database_connection_pool.py +157 -158
- pulumi_digitalocean/database_db.py +35 -36
- pulumi_digitalocean/database_firewall.py +21 -22
- pulumi_digitalocean/database_kafka_config.py +307 -308
- pulumi_digitalocean/database_kafka_topic.py +81 -82
- pulumi_digitalocean/database_mongodb_config.py +103 -104
- pulumi_digitalocean/database_mysql_config.py +477 -478
- pulumi_digitalocean/database_online_migration.py +460 -0
- pulumi_digitalocean/database_opensearch_config.py +664 -665
- pulumi_digitalocean/database_postgresql_config.py +857 -858
- pulumi_digitalocean/database_redis_config.py +209 -206
- pulumi_digitalocean/database_replica.py +197 -198
- pulumi_digitalocean/database_user.py +91 -92
- pulumi_digitalocean/database_valkey_config.py +804 -0
- pulumi_digitalocean/dns_record.py +180 -181
- pulumi_digitalocean/domain.py +53 -54
- pulumi_digitalocean/droplet.py +388 -389
- pulumi_digitalocean/droplet_autoscale.py +53 -54
- pulumi_digitalocean/droplet_snapshot.py +71 -72
- pulumi_digitalocean/firewall.py +78 -79
- pulumi_digitalocean/floating_ip.py +61 -62
- pulumi_digitalocean/floating_ip_assignment.py +35 -36
- pulumi_digitalocean/genai_agent.py +452 -453
- pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
- pulumi_digitalocean/genai_agent_route.py +354 -0
- pulumi_digitalocean/genai_function.py +464 -0
- pulumi_digitalocean/genai_knowledge_base.py +627 -0
- pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
- pulumi_digitalocean/genai_openai_api_key.py +386 -0
- pulumi_digitalocean/get_account.py +17 -18
- pulumi_digitalocean/get_app.py +27 -28
- pulumi_digitalocean/get_certificate.py +21 -22
- pulumi_digitalocean/get_container_registry.py +21 -22
- pulumi_digitalocean/get_database_ca.py +11 -12
- pulumi_digitalocean/get_database_cluster.py +75 -62
- pulumi_digitalocean/get_database_connection_pool.py +35 -36
- pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
- pulumi_digitalocean/get_database_replica.py +45 -46
- pulumi_digitalocean/get_database_user.py +26 -27
- pulumi_digitalocean/get_domain.py +15 -16
- pulumi_digitalocean/get_domains.py +6 -7
- pulumi_digitalocean/get_droplet.py +71 -72
- pulumi_digitalocean/get_droplet_autoscale.py +22 -23
- pulumi_digitalocean/get_droplet_snapshot.py +37 -38
- pulumi_digitalocean/get_droplets.py +12 -13
- pulumi_digitalocean/get_firewall.py +30 -31
- pulumi_digitalocean/get_floating_ip.py +15 -16
- pulumi_digitalocean/get_genai_agent.py +89 -90
- pulumi_digitalocean/get_genai_agent_versions.py +128 -0
- pulumi_digitalocean/get_genai_agents.py +10 -11
- pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
- pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
- pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
- pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
- pulumi_digitalocean/get_image.py +49 -50
- pulumi_digitalocean/get_images.py +6 -7
- pulumi_digitalocean/get_kubernetes_cluster.py +53 -54
- pulumi_digitalocean/get_kubernetes_versions.py +13 -14
- pulumi_digitalocean/get_load_balancer.py +59 -60
- pulumi_digitalocean/get_partner_attachment.py +30 -31
- pulumi_digitalocean/get_partner_attachment_service_key.py +13 -14
- pulumi_digitalocean/get_project.py +31 -32
- pulumi_digitalocean/get_projects.py +6 -7
- pulumi_digitalocean/get_record.py +31 -32
- pulumi_digitalocean/get_records.py +12 -13
- pulumi_digitalocean/get_region.py +17 -18
- pulumi_digitalocean/get_regions.py +6 -7
- pulumi_digitalocean/get_reserved_ip.py +15 -16
- pulumi_digitalocean/get_reserved_ipv6.py +15 -16
- pulumi_digitalocean/get_sizes.py +6 -7
- pulumi_digitalocean/get_spaces_bucket.py +21 -22
- pulumi_digitalocean/get_spaces_bucket_object.py +57 -58
- pulumi_digitalocean/get_spaces_bucket_objects.py +45 -46
- pulumi_digitalocean/get_spaces_buckets.py +6 -7
- pulumi_digitalocean/get_spaces_key.py +14 -15
- pulumi_digitalocean/get_ssh_key.py +13 -14
- pulumi_digitalocean/get_ssh_keys.py +6 -7
- pulumi_digitalocean/get_tag.py +21 -22
- pulumi_digitalocean/get_tags.py +6 -7
- pulumi_digitalocean/get_volume.py +33 -34
- pulumi_digitalocean/get_volume_snapshot.py +39 -40
- pulumi_digitalocean/get_vpc.py +29 -30
- pulumi_digitalocean/get_vpc_nat_gateway.py +33 -34
- pulumi_digitalocean/get_vpc_peering.py +23 -24
- pulumi_digitalocean/kubernetes_cluster.py +293 -294
- pulumi_digitalocean/kubernetes_node_pool.py +168 -169
- pulumi_digitalocean/load_balancer.py +374 -375
- pulumi_digitalocean/monitor_alert.py +149 -150
- pulumi_digitalocean/outputs.py +20079 -12647
- pulumi_digitalocean/partner_attachment.py +150 -151
- pulumi_digitalocean/project.py +139 -140
- pulumi_digitalocean/project_resources.py +35 -36
- pulumi_digitalocean/provider.py +84 -85
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +61 -62
- pulumi_digitalocean/reserved_ip_assignment.py +35 -36
- pulumi_digitalocean/reserved_ipv6.py +53 -54
- pulumi_digitalocean/reserved_ipv6_assignment.py +35 -36
- pulumi_digitalocean/spaces_bucket.py +105 -106
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +38 -39
- pulumi_digitalocean/spaces_bucket_logging.py +69 -70
- pulumi_digitalocean/spaces_bucket_object.py +282 -283
- pulumi_digitalocean/spaces_bucket_policy.py +52 -53
- pulumi_digitalocean/spaces_key.py +48 -49
- pulumi_digitalocean/ssh_key.py +44 -45
- pulumi_digitalocean/tag.py +72 -73
- pulumi_digitalocean/uptime_alert.py +106 -107
- pulumi_digitalocean/uptime_check.py +86 -87
- pulumi_digitalocean/volume.py +181 -182
- pulumi_digitalocean/volume_attachment.py +35 -36
- pulumi_digitalocean/volume_snapshot.py +88 -89
- pulumi_digitalocean/vpc.py +96 -97
- pulumi_digitalocean/vpc_nat_gateway.py +152 -153
- pulumi_digitalocean/vpc_peering.py +53 -54
- {pulumi_digitalocean-4.49.0.dist-info → pulumi_digitalocean-4.50.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.50.0.dist-info/RECORD +135 -0
- pulumi_digitalocean-4.49.0.dist-info/RECORD +0 -119
- {pulumi_digitalocean-4.49.0.dist-info → pulumi_digitalocean-4.50.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.49.0.dist-info → pulumi_digitalocean-4.50.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -110,205 +109,205 @@ class GetDropletResult:
|
|
|
110
109
|
raise TypeError("Expected argument 'vpc_uuid' to be a str")
|
|
111
110
|
pulumi.set(__self__, "vpc_uuid", vpc_uuid)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter
|
|
115
|
-
def backups(self) ->
|
|
114
|
+
def backups(self) -> _builtins.bool:
|
|
116
115
|
"""
|
|
117
116
|
Whether backups are enabled.
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "backups")
|
|
120
119
|
|
|
121
|
-
@property
|
|
120
|
+
@_builtins.property
|
|
122
121
|
@pulumi.getter(name="createdAt")
|
|
123
|
-
def created_at(self) ->
|
|
122
|
+
def created_at(self) -> _builtins.str:
|
|
124
123
|
return pulumi.get(self, "created_at")
|
|
125
124
|
|
|
126
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
127
126
|
@pulumi.getter
|
|
128
|
-
def disk(self) ->
|
|
127
|
+
def disk(self) -> _builtins.int:
|
|
129
128
|
"""
|
|
130
129
|
The size of the Droplets disk in GB.
|
|
131
130
|
"""
|
|
132
131
|
return pulumi.get(self, "disk")
|
|
133
132
|
|
|
134
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
135
134
|
@pulumi.getter
|
|
136
|
-
def gpu(self) -> Optional[
|
|
135
|
+
def gpu(self) -> Optional[_builtins.bool]:
|
|
137
136
|
return pulumi.get(self, "gpu")
|
|
138
137
|
|
|
139
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
140
139
|
@pulumi.getter
|
|
141
|
-
def id(self) ->
|
|
140
|
+
def id(self) -> _builtins.int:
|
|
142
141
|
"""
|
|
143
142
|
The ID of the Droplet.
|
|
144
143
|
"""
|
|
145
144
|
return pulumi.get(self, "id")
|
|
146
145
|
|
|
147
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
148
147
|
@pulumi.getter
|
|
149
|
-
def image(self) ->
|
|
148
|
+
def image(self) -> _builtins.str:
|
|
150
149
|
"""
|
|
151
150
|
The Droplet image ID or slug.
|
|
152
151
|
"""
|
|
153
152
|
return pulumi.get(self, "image")
|
|
154
153
|
|
|
155
|
-
@property
|
|
154
|
+
@_builtins.property
|
|
156
155
|
@pulumi.getter(name="ipv4Address")
|
|
157
|
-
def ipv4_address(self) ->
|
|
156
|
+
def ipv4_address(self) -> _builtins.str:
|
|
158
157
|
"""
|
|
159
158
|
The Droplets public IPv4 address
|
|
160
159
|
"""
|
|
161
160
|
return pulumi.get(self, "ipv4_address")
|
|
162
161
|
|
|
163
|
-
@property
|
|
162
|
+
@_builtins.property
|
|
164
163
|
@pulumi.getter(name="ipv4AddressPrivate")
|
|
165
|
-
def ipv4_address_private(self) ->
|
|
164
|
+
def ipv4_address_private(self) -> _builtins.str:
|
|
166
165
|
"""
|
|
167
166
|
The Droplets private IPv4 address
|
|
168
167
|
"""
|
|
169
168
|
return pulumi.get(self, "ipv4_address_private")
|
|
170
169
|
|
|
171
|
-
@property
|
|
170
|
+
@_builtins.property
|
|
172
171
|
@pulumi.getter
|
|
173
|
-
def ipv6(self) ->
|
|
172
|
+
def ipv6(self) -> _builtins.bool:
|
|
174
173
|
"""
|
|
175
174
|
Whether IPv6 is enabled.
|
|
176
175
|
"""
|
|
177
176
|
return pulumi.get(self, "ipv6")
|
|
178
177
|
|
|
179
|
-
@property
|
|
178
|
+
@_builtins.property
|
|
180
179
|
@pulumi.getter(name="ipv6Address")
|
|
181
|
-
def ipv6_address(self) ->
|
|
180
|
+
def ipv6_address(self) -> _builtins.str:
|
|
182
181
|
"""
|
|
183
182
|
The Droplets public IPv6 address
|
|
184
183
|
"""
|
|
185
184
|
return pulumi.get(self, "ipv6_address")
|
|
186
185
|
|
|
187
|
-
@property
|
|
186
|
+
@_builtins.property
|
|
188
187
|
@pulumi.getter(name="ipv6AddressPrivate")
|
|
189
|
-
def ipv6_address_private(self) ->
|
|
188
|
+
def ipv6_address_private(self) -> _builtins.str:
|
|
190
189
|
"""
|
|
191
190
|
The Droplets private IPv6 address
|
|
192
191
|
"""
|
|
193
192
|
return pulumi.get(self, "ipv6_address_private")
|
|
194
193
|
|
|
195
|
-
@property
|
|
194
|
+
@_builtins.property
|
|
196
195
|
@pulumi.getter
|
|
197
|
-
def locked(self) ->
|
|
196
|
+
def locked(self) -> _builtins.bool:
|
|
198
197
|
"""
|
|
199
198
|
Whether the Droplet is locked.
|
|
200
199
|
"""
|
|
201
200
|
return pulumi.get(self, "locked")
|
|
202
201
|
|
|
203
|
-
@property
|
|
202
|
+
@_builtins.property
|
|
204
203
|
@pulumi.getter
|
|
205
|
-
def memory(self) ->
|
|
204
|
+
def memory(self) -> _builtins.int:
|
|
206
205
|
"""
|
|
207
206
|
The amount of the Droplets memory in MB.
|
|
208
207
|
"""
|
|
209
208
|
return pulumi.get(self, "memory")
|
|
210
209
|
|
|
211
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
212
211
|
@pulumi.getter
|
|
213
|
-
def monitoring(self) ->
|
|
212
|
+
def monitoring(self) -> _builtins.bool:
|
|
214
213
|
"""
|
|
215
214
|
Whether monitoring agent is installed.
|
|
216
215
|
"""
|
|
217
216
|
return pulumi.get(self, "monitoring")
|
|
218
217
|
|
|
219
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
220
219
|
@pulumi.getter
|
|
221
|
-
def name(self) ->
|
|
220
|
+
def name(self) -> _builtins.str:
|
|
222
221
|
return pulumi.get(self, "name")
|
|
223
222
|
|
|
224
|
-
@property
|
|
223
|
+
@_builtins.property
|
|
225
224
|
@pulumi.getter(name="priceHourly")
|
|
226
|
-
def price_hourly(self) ->
|
|
225
|
+
def price_hourly(self) -> _builtins.float:
|
|
227
226
|
"""
|
|
228
227
|
Droplet hourly price.
|
|
229
228
|
"""
|
|
230
229
|
return pulumi.get(self, "price_hourly")
|
|
231
230
|
|
|
232
|
-
@property
|
|
231
|
+
@_builtins.property
|
|
233
232
|
@pulumi.getter(name="priceMonthly")
|
|
234
|
-
def price_monthly(self) ->
|
|
233
|
+
def price_monthly(self) -> _builtins.float:
|
|
235
234
|
"""
|
|
236
235
|
Droplet monthly price.
|
|
237
236
|
"""
|
|
238
237
|
return pulumi.get(self, "price_monthly")
|
|
239
238
|
|
|
240
|
-
@property
|
|
239
|
+
@_builtins.property
|
|
241
240
|
@pulumi.getter(name="privateNetworking")
|
|
242
|
-
def private_networking(self) ->
|
|
241
|
+
def private_networking(self) -> _builtins.bool:
|
|
243
242
|
"""
|
|
244
243
|
Whether private networks are enabled.
|
|
245
244
|
"""
|
|
246
245
|
return pulumi.get(self, "private_networking")
|
|
247
246
|
|
|
248
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
249
248
|
@pulumi.getter
|
|
250
|
-
def region(self) ->
|
|
249
|
+
def region(self) -> _builtins.str:
|
|
251
250
|
"""
|
|
252
251
|
The region the Droplet is running in.
|
|
253
252
|
"""
|
|
254
253
|
return pulumi.get(self, "region")
|
|
255
254
|
|
|
256
|
-
@property
|
|
255
|
+
@_builtins.property
|
|
257
256
|
@pulumi.getter
|
|
258
|
-
def size(self) ->
|
|
257
|
+
def size(self) -> _builtins.str:
|
|
259
258
|
"""
|
|
260
259
|
The unique slug that identifies the type of Droplet.
|
|
261
260
|
"""
|
|
262
261
|
return pulumi.get(self, "size")
|
|
263
262
|
|
|
264
|
-
@property
|
|
263
|
+
@_builtins.property
|
|
265
264
|
@pulumi.getter
|
|
266
|
-
def status(self) ->
|
|
265
|
+
def status(self) -> _builtins.str:
|
|
267
266
|
"""
|
|
268
267
|
The status of the Droplet.
|
|
269
268
|
"""
|
|
270
269
|
return pulumi.get(self, "status")
|
|
271
270
|
|
|
272
|
-
@property
|
|
271
|
+
@_builtins.property
|
|
273
272
|
@pulumi.getter
|
|
274
|
-
def tag(self) -> Optional[
|
|
273
|
+
def tag(self) -> Optional[_builtins.str]:
|
|
275
274
|
return pulumi.get(self, "tag")
|
|
276
275
|
|
|
277
|
-
@property
|
|
276
|
+
@_builtins.property
|
|
278
277
|
@pulumi.getter
|
|
279
|
-
def tags(self) -> Sequence[
|
|
278
|
+
def tags(self) -> Sequence[_builtins.str]:
|
|
280
279
|
"""
|
|
281
280
|
A list of the tags associated to the Droplet.
|
|
282
281
|
"""
|
|
283
282
|
return pulumi.get(self, "tags")
|
|
284
283
|
|
|
285
|
-
@property
|
|
284
|
+
@_builtins.property
|
|
286
285
|
@pulumi.getter
|
|
287
|
-
def urn(self) ->
|
|
286
|
+
def urn(self) -> _builtins.str:
|
|
288
287
|
"""
|
|
289
288
|
The uniform resource name of the Droplet
|
|
290
289
|
"""
|
|
291
290
|
return pulumi.get(self, "urn")
|
|
292
291
|
|
|
293
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
294
293
|
@pulumi.getter
|
|
295
|
-
def vcpus(self) ->
|
|
294
|
+
def vcpus(self) -> _builtins.int:
|
|
296
295
|
"""
|
|
297
296
|
The number of the Droplets virtual CPUs.
|
|
298
297
|
"""
|
|
299
298
|
return pulumi.get(self, "vcpus")
|
|
300
299
|
|
|
301
|
-
@property
|
|
300
|
+
@_builtins.property
|
|
302
301
|
@pulumi.getter(name="volumeIds")
|
|
303
|
-
def volume_ids(self) -> Sequence[
|
|
302
|
+
def volume_ids(self) -> Sequence[_builtins.str]:
|
|
304
303
|
"""
|
|
305
304
|
List of the IDs of each volumes attached to the Droplet.
|
|
306
305
|
"""
|
|
307
306
|
return pulumi.get(self, "volume_ids")
|
|
308
307
|
|
|
309
|
-
@property
|
|
308
|
+
@_builtins.property
|
|
310
309
|
@pulumi.getter(name="vpcUuid")
|
|
311
|
-
def vpc_uuid(self) ->
|
|
310
|
+
def vpc_uuid(self) -> _builtins.str:
|
|
312
311
|
"""
|
|
313
312
|
The ID of the VPC where the Droplet is located.
|
|
314
313
|
"""
|
|
@@ -350,10 +349,10 @@ class AwaitableGetDropletResult(GetDropletResult):
|
|
|
350
349
|
vpc_uuid=self.vpc_uuid)
|
|
351
350
|
|
|
352
351
|
|
|
353
|
-
def get_droplet(gpu: Optional[
|
|
354
|
-
id: Optional[
|
|
355
|
-
name: Optional[
|
|
356
|
-
tag: Optional[
|
|
352
|
+
def get_droplet(gpu: Optional[_builtins.bool] = None,
|
|
353
|
+
id: Optional[_builtins.int] = None,
|
|
354
|
+
name: Optional[_builtins.str] = None,
|
|
355
|
+
tag: Optional[_builtins.str] = None,
|
|
357
356
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDropletResult:
|
|
358
357
|
"""
|
|
359
358
|
Get information on a Droplet for use in other resources. This data source provides
|
|
@@ -395,10 +394,10 @@ def get_droplet(gpu: Optional[builtins.bool] = None,
|
|
|
395
394
|
```
|
|
396
395
|
|
|
397
396
|
|
|
398
|
-
:param
|
|
399
|
-
:param
|
|
400
|
-
:param
|
|
401
|
-
:param
|
|
397
|
+
:param _builtins.bool gpu: A boolean value specifying whether or not to search GPU Droplets
|
|
398
|
+
:param _builtins.int id: The ID of the Droplet
|
|
399
|
+
:param _builtins.str name: The name of the Droplet.
|
|
400
|
+
:param _builtins.str tag: A tag applied to the Droplet.
|
|
402
401
|
|
|
403
402
|
To include GPU Droplets when searching by name, use:
|
|
404
403
|
"""
|
|
@@ -438,10 +437,10 @@ def get_droplet(gpu: Optional[builtins.bool] = None,
|
|
|
438
437
|
vcpus=pulumi.get(__ret__, 'vcpus'),
|
|
439
438
|
volume_ids=pulumi.get(__ret__, 'volume_ids'),
|
|
440
439
|
vpc_uuid=pulumi.get(__ret__, 'vpc_uuid'))
|
|
441
|
-
def get_droplet_output(gpu: Optional[pulumi.Input[Optional[
|
|
442
|
-
id: Optional[pulumi.Input[Optional[
|
|
443
|
-
name: Optional[pulumi.Input[Optional[
|
|
444
|
-
tag: Optional[pulumi.Input[Optional[
|
|
440
|
+
def get_droplet_output(gpu: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
441
|
+
id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
442
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
443
|
+
tag: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
445
444
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDropletResult]:
|
|
446
445
|
"""
|
|
447
446
|
Get information on a Droplet for use in other resources. This data source provides
|
|
@@ -483,10 +482,10 @@ def get_droplet_output(gpu: Optional[pulumi.Input[Optional[builtins.bool]]] = No
|
|
|
483
482
|
```
|
|
484
483
|
|
|
485
484
|
|
|
486
|
-
:param
|
|
487
|
-
:param
|
|
488
|
-
:param
|
|
489
|
-
:param
|
|
485
|
+
:param _builtins.bool gpu: A boolean value specifying whether or not to search GPU Droplets
|
|
486
|
+
:param _builtins.int id: The ID of the Droplet
|
|
487
|
+
:param _builtins.str name: The name of the Droplet.
|
|
488
|
+
:param _builtins.str tag: A tag applied to the Droplet.
|
|
490
489
|
|
|
491
490
|
To include GPU Droplets when searching by name, use:
|
|
492
491
|
"""
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -54,44 +53,44 @@ class GetDropletAutoscaleResult:
|
|
|
54
53
|
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
55
54
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
58
|
def configs(self) -> Sequence['outputs.GetDropletAutoscaleConfigResult']:
|
|
60
59
|
return pulumi.get(self, "configs")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="createdAt")
|
|
64
|
-
def created_at(self) ->
|
|
63
|
+
def created_at(self) -> _builtins.str:
|
|
65
64
|
return pulumi.get(self, "created_at")
|
|
66
65
|
|
|
67
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
68
67
|
@pulumi.getter(name="currentUtilizations")
|
|
69
68
|
def current_utilizations(self) -> Sequence['outputs.GetDropletAutoscaleCurrentUtilizationResult']:
|
|
70
69
|
return pulumi.get(self, "current_utilizations")
|
|
71
70
|
|
|
72
|
-
@property
|
|
71
|
+
@_builtins.property
|
|
73
72
|
@pulumi.getter(name="dropletTemplates")
|
|
74
73
|
def droplet_templates(self) -> Sequence['outputs.GetDropletAutoscaleDropletTemplateResult']:
|
|
75
74
|
return pulumi.get(self, "droplet_templates")
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter
|
|
79
|
-
def id(self) -> Optional[
|
|
78
|
+
def id(self) -> Optional[_builtins.str]:
|
|
80
79
|
return pulumi.get(self, "id")
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter
|
|
84
|
-
def name(self) -> Optional[
|
|
83
|
+
def name(self) -> Optional[_builtins.str]:
|
|
85
84
|
return pulumi.get(self, "name")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter
|
|
89
|
-
def status(self) ->
|
|
88
|
+
def status(self) -> _builtins.str:
|
|
90
89
|
return pulumi.get(self, "status")
|
|
91
90
|
|
|
92
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
93
92
|
@pulumi.getter(name="updatedAt")
|
|
94
|
-
def updated_at(self) ->
|
|
93
|
+
def updated_at(self) -> _builtins.str:
|
|
95
94
|
return pulumi.get(self, "updated_at")
|
|
96
95
|
|
|
97
96
|
|
|
@@ -111,8 +110,8 @@ class AwaitableGetDropletAutoscaleResult(GetDropletAutoscaleResult):
|
|
|
111
110
|
updated_at=self.updated_at)
|
|
112
111
|
|
|
113
112
|
|
|
114
|
-
def get_droplet_autoscale(id: Optional[
|
|
115
|
-
name: Optional[
|
|
113
|
+
def get_droplet_autoscale(id: Optional[_builtins.str] = None,
|
|
114
|
+
name: Optional[_builtins.str] = None,
|
|
116
115
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDropletAutoscaleResult:
|
|
117
116
|
"""
|
|
118
117
|
## Example Usage
|
|
@@ -136,8 +135,8 @@ def get_droplet_autoscale(id: Optional[builtins.str] = None,
|
|
|
136
135
|
```
|
|
137
136
|
|
|
138
137
|
|
|
139
|
-
:param
|
|
140
|
-
:param
|
|
138
|
+
:param _builtins.str id: The ID of Droplet Autoscale pool.
|
|
139
|
+
:param _builtins.str name: The name of Droplet Autoscale pool.
|
|
141
140
|
"""
|
|
142
141
|
__args__ = dict()
|
|
143
142
|
__args__['id'] = id
|
|
@@ -154,8 +153,8 @@ def get_droplet_autoscale(id: Optional[builtins.str] = None,
|
|
|
154
153
|
name=pulumi.get(__ret__, 'name'),
|
|
155
154
|
status=pulumi.get(__ret__, 'status'),
|
|
156
155
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
157
|
-
def get_droplet_autoscale_output(id: Optional[pulumi.Input[Optional[
|
|
158
|
-
name: Optional[pulumi.Input[Optional[
|
|
156
|
+
def get_droplet_autoscale_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
157
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
159
158
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDropletAutoscaleResult]:
|
|
160
159
|
"""
|
|
161
160
|
## Example Usage
|
|
@@ -179,8 +178,8 @@ def get_droplet_autoscale_output(id: Optional[pulumi.Input[Optional[builtins.str
|
|
|
179
178
|
```
|
|
180
179
|
|
|
181
180
|
|
|
182
|
-
:param
|
|
183
|
-
:param
|
|
181
|
+
:param _builtins.str id: The ID of Droplet Autoscale pool.
|
|
182
|
+
:param _builtins.str name: The name of Droplet Autoscale pool.
|
|
184
183
|
"""
|
|
185
184
|
__args__ = dict()
|
|
186
185
|
__args__['id'] = id
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -59,69 +58,69 @@ class GetDropletSnapshotResult:
|
|
|
59
58
|
raise TypeError("Expected argument 'size' to be a float")
|
|
60
59
|
pulumi.set(__self__, "size", size)
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="createdAt")
|
|
64
|
-
def created_at(self) ->
|
|
63
|
+
def created_at(self) -> _builtins.str:
|
|
65
64
|
"""
|
|
66
65
|
The date and time the Droplet snapshot was created.
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "created_at")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter(name="dropletId")
|
|
72
|
-
def droplet_id(self) ->
|
|
71
|
+
def droplet_id(self) -> _builtins.str:
|
|
73
72
|
"""
|
|
74
73
|
The ID of the Droplet from which the Droplet snapshot originated.
|
|
75
74
|
"""
|
|
76
75
|
return pulumi.get(self, "droplet_id")
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter
|
|
80
|
-
def id(self) ->
|
|
79
|
+
def id(self) -> _builtins.str:
|
|
81
80
|
"""
|
|
82
81
|
The provider-assigned unique ID for this managed resource.
|
|
83
82
|
"""
|
|
84
83
|
return pulumi.get(self, "id")
|
|
85
84
|
|
|
86
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
87
86
|
@pulumi.getter(name="minDiskSize")
|
|
88
|
-
def min_disk_size(self) ->
|
|
87
|
+
def min_disk_size(self) -> _builtins.int:
|
|
89
88
|
"""
|
|
90
89
|
The minimum size in gigabytes required for a Droplet to be created based on this Droplet snapshot.
|
|
91
90
|
"""
|
|
92
91
|
return pulumi.get(self, "min_disk_size")
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter(name="mostRecent")
|
|
96
|
-
def most_recent(self) -> Optional[
|
|
95
|
+
def most_recent(self) -> Optional[_builtins.bool]:
|
|
97
96
|
return pulumi.get(self, "most_recent")
|
|
98
97
|
|
|
99
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
100
99
|
@pulumi.getter
|
|
101
|
-
def name(self) -> Optional[
|
|
100
|
+
def name(self) -> Optional[_builtins.str]:
|
|
102
101
|
return pulumi.get(self, "name")
|
|
103
102
|
|
|
104
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
105
104
|
@pulumi.getter(name="nameRegex")
|
|
106
|
-
def name_regex(self) -> Optional[
|
|
105
|
+
def name_regex(self) -> Optional[_builtins.str]:
|
|
107
106
|
return pulumi.get(self, "name_regex")
|
|
108
107
|
|
|
109
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
110
109
|
@pulumi.getter
|
|
111
|
-
def region(self) -> Optional[
|
|
110
|
+
def region(self) -> Optional[_builtins.str]:
|
|
112
111
|
return pulumi.get(self, "region")
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
@pulumi.getter
|
|
116
|
-
def regions(self) -> Sequence[
|
|
115
|
+
def regions(self) -> Sequence[_builtins.str]:
|
|
117
116
|
"""
|
|
118
117
|
A list of DigitalOcean region "slugs" indicating where the Droplet snapshot is available.
|
|
119
118
|
"""
|
|
120
119
|
return pulumi.get(self, "regions")
|
|
121
120
|
|
|
122
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
123
122
|
@pulumi.getter
|
|
124
|
-
def size(self) ->
|
|
123
|
+
def size(self) -> _builtins.float:
|
|
125
124
|
"""
|
|
126
125
|
The billable size of the Droplet snapshot in gigabytes.
|
|
127
126
|
"""
|
|
@@ -146,10 +145,10 @@ class AwaitableGetDropletSnapshotResult(GetDropletSnapshotResult):
|
|
|
146
145
|
size=self.size)
|
|
147
146
|
|
|
148
147
|
|
|
149
|
-
def get_droplet_snapshot(most_recent: Optional[
|
|
150
|
-
name: Optional[
|
|
151
|
-
name_regex: Optional[
|
|
152
|
-
region: Optional[
|
|
148
|
+
def get_droplet_snapshot(most_recent: Optional[_builtins.bool] = None,
|
|
149
|
+
name: Optional[_builtins.str] = None,
|
|
150
|
+
name_regex: Optional[_builtins.str] = None,
|
|
151
|
+
region: Optional[_builtins.str] = None,
|
|
153
152
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDropletSnapshotResult:
|
|
154
153
|
"""
|
|
155
154
|
Droplet snapshots are saved instances of a Droplet. Use this data
|
|
@@ -186,14 +185,14 @@ def get_droplet_snapshot(most_recent: Optional[builtins.bool] = None,
|
|
|
186
185
|
```
|
|
187
186
|
|
|
188
187
|
|
|
189
|
-
:param
|
|
188
|
+
:param _builtins.bool most_recent: If more than one result is returned, use the most recent Droplet snapshot.
|
|
190
189
|
|
|
191
190
|
> **NOTE:** If more or less than a single match is returned by the search,
|
|
192
191
|
the update will fail. Ensure that your search is specific enough to return
|
|
193
192
|
a single Droplet snapshot ID only, or use `most_recent` to choose the most recent one.
|
|
194
|
-
:param
|
|
195
|
-
:param
|
|
196
|
-
:param
|
|
193
|
+
:param _builtins.str name: The name of the Droplet snapshot.
|
|
194
|
+
:param _builtins.str name_regex: A regex string to apply to the Droplet snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
|
|
195
|
+
:param _builtins.str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
|
|
197
196
|
"""
|
|
198
197
|
__args__ = dict()
|
|
199
198
|
__args__['mostRecent'] = most_recent
|
|
@@ -214,10 +213,10 @@ def get_droplet_snapshot(most_recent: Optional[builtins.bool] = None,
|
|
|
214
213
|
region=pulumi.get(__ret__, 'region'),
|
|
215
214
|
regions=pulumi.get(__ret__, 'regions'),
|
|
216
215
|
size=pulumi.get(__ret__, 'size'))
|
|
217
|
-
def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[
|
|
218
|
-
name: Optional[pulumi.Input[Optional[
|
|
219
|
-
name_regex: Optional[pulumi.Input[Optional[
|
|
220
|
-
region: Optional[pulumi.Input[Optional[
|
|
216
|
+
def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
217
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
218
|
+
name_regex: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
219
|
+
region: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
221
220
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDropletSnapshotResult]:
|
|
222
221
|
"""
|
|
223
222
|
Droplet snapshots are saved instances of a Droplet. Use this data
|
|
@@ -254,14 +253,14 @@ def get_droplet_snapshot_output(most_recent: Optional[pulumi.Input[Optional[buil
|
|
|
254
253
|
```
|
|
255
254
|
|
|
256
255
|
|
|
257
|
-
:param
|
|
256
|
+
:param _builtins.bool most_recent: If more than one result is returned, use the most recent Droplet snapshot.
|
|
258
257
|
|
|
259
258
|
> **NOTE:** If more or less than a single match is returned by the search,
|
|
260
259
|
the update will fail. Ensure that your search is specific enough to return
|
|
261
260
|
a single Droplet snapshot ID only, or use `most_recent` to choose the most recent one.
|
|
262
|
-
:param
|
|
263
|
-
:param
|
|
264
|
-
:param
|
|
261
|
+
:param _builtins.str name: The name of the Droplet snapshot.
|
|
262
|
+
:param _builtins.str name_regex: A regex string to apply to the Droplet snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
|
|
263
|
+
:param _builtins.str region: A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
|
|
265
264
|
"""
|
|
266
265
|
__args__ = dict()
|
|
267
266
|
__args__['mostRecent'] = most_recent
|