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