pulumi-digitalocean 4.27.0__py3-none-any.whl → 4.39.0a1736833057__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 +75 -0
- pulumi_digitalocean/_enums.py +131 -52
- pulumi_digitalocean/_inputs.py +5767 -399
- pulumi_digitalocean/_utilities.py +41 -5
- pulumi_digitalocean/app.py +199 -67
- pulumi_digitalocean/cdn.py +20 -23
- pulumi_digitalocean/certificate.py +45 -42
- pulumi_digitalocean/config/__init__.pyi +5 -0
- pulumi_digitalocean/config/vars.py +5 -0
- pulumi_digitalocean/container_registry.py +11 -6
- pulumi_digitalocean/container_registry_docker_credentials.py +53 -12
- pulumi_digitalocean/custom_image.py +13 -8
- pulumi_digitalocean/database_cluster.py +298 -120
- pulumi_digitalocean/database_connection_pool.py +15 -10
- pulumi_digitalocean/database_db.py +19 -12
- pulumi_digitalocean/database_firewall.py +78 -75
- pulumi_digitalocean/database_kafka_config.py +1040 -0
- pulumi_digitalocean/database_kafka_topic.py +66 -61
- pulumi_digitalocean/database_mongodb_config.py +452 -0
- pulumi_digitalocean/database_mysql_config.py +15 -12
- pulumi_digitalocean/database_opensearch_config.py +2069 -0
- pulumi_digitalocean/database_postgresql_config.py +2614 -0
- pulumi_digitalocean/database_redis_config.py +29 -12
- pulumi_digitalocean/database_replica.py +29 -24
- pulumi_digitalocean/database_user.py +90 -75
- pulumi_digitalocean/dns_record.py +13 -8
- pulumi_digitalocean/domain.py +7 -6
- pulumi_digitalocean/droplet.py +89 -31
- pulumi_digitalocean/droplet_autoscale.py +474 -0
- pulumi_digitalocean/droplet_snapshot.py +23 -14
- pulumi_digitalocean/firewall.py +118 -106
- pulumi_digitalocean/floating_ip.py +19 -16
- pulumi_digitalocean/floating_ip_assignment.py +19 -16
- pulumi_digitalocean/get_account.py +18 -9
- pulumi_digitalocean/get_app.py +57 -10
- pulumi_digitalocean/get_certificate.py +19 -9
- pulumi_digitalocean/get_container_registry.py +19 -9
- pulumi_digitalocean/get_database_ca.py +14 -9
- pulumi_digitalocean/get_database_cluster.py +119 -11
- pulumi_digitalocean/get_database_connection_pool.py +25 -9
- pulumi_digitalocean/get_database_replica.py +29 -9
- pulumi_digitalocean/get_database_user.py +21 -9
- pulumi_digitalocean/get_domain.py +16 -9
- pulumi_digitalocean/get_domains.py +34 -27
- pulumi_digitalocean/get_droplet.py +66 -23
- pulumi_digitalocean/get_droplet_autoscale.py +197 -0
- pulumi_digitalocean/get_droplet_snapshot.py +36 -23
- pulumi_digitalocean/get_droplets.py +80 -54
- pulumi_digitalocean/get_firewall.py +29 -13
- pulumi_digitalocean/get_floating_ip.py +16 -9
- pulumi_digitalocean/get_image.py +42 -27
- pulumi_digitalocean/get_images.py +56 -53
- pulumi_digitalocean/get_kubernetes_cluster.py +53 -6
- pulumi_digitalocean/get_kubernetes_versions.py +43 -41
- pulumi_digitalocean/get_load_balancer.py +81 -17
- pulumi_digitalocean/get_project.py +23 -9
- pulumi_digitalocean/get_projects.py +56 -53
- pulumi_digitalocean/get_record.py +23 -9
- pulumi_digitalocean/get_records.py +62 -13
- pulumi_digitalocean/get_region.py +17 -9
- pulumi_digitalocean/get_regions.py +56 -53
- pulumi_digitalocean/get_reserved_ip.py +16 -9
- pulumi_digitalocean/get_reserved_ipv6.py +118 -0
- pulumi_digitalocean/get_sizes.py +24 -13
- pulumi_digitalocean/get_spaces_bucket.py +18 -9
- pulumi_digitalocean/get_spaces_bucket_object.py +41 -14
- pulumi_digitalocean/get_spaces_bucket_objects.py +26 -5
- pulumi_digitalocean/get_spaces_buckets.py +48 -45
- pulumi_digitalocean/get_ssh_key.py +27 -19
- pulumi_digitalocean/get_ssh_keys.py +40 -37
- pulumi_digitalocean/get_tag.py +31 -19
- pulumi_digitalocean/get_tags.py +32 -25
- pulumi_digitalocean/get_volume.py +35 -23
- pulumi_digitalocean/get_volume_snapshot.py +35 -21
- pulumi_digitalocean/get_vpc.py +33 -23
- pulumi_digitalocean/get_vpc_peering.py +244 -0
- pulumi_digitalocean/kubernetes_cluster.py +86 -35
- pulumi_digitalocean/kubernetes_node_pool.py +46 -43
- pulumi_digitalocean/load_balancer.py +320 -157
- pulumi_digitalocean/monitor_alert.py +17 -12
- pulumi_digitalocean/outputs.py +3419 -344
- pulumi_digitalocean/project.py +19 -16
- pulumi_digitalocean/project_resources.py +11 -8
- pulumi_digitalocean/provider.py +5 -0
- pulumi_digitalocean/pulumi-plugin.json +2 -1
- pulumi_digitalocean/reserved_ip.py +19 -16
- pulumi_digitalocean/reserved_ip_assignment.py +19 -16
- pulumi_digitalocean/reserved_ipv6.py +232 -0
- pulumi_digitalocean/reserved_ipv6_assignment.py +171 -0
- pulumi_digitalocean/spaces_bucket.py +70 -79
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +30 -25
- pulumi_digitalocean/spaces_bucket_object.py +11 -12
- pulumi_digitalocean/spaces_bucket_policy.py +21 -16
- pulumi_digitalocean/ssh_key.py +19 -10
- pulumi_digitalocean/tag.py +13 -10
- pulumi_digitalocean/uptime_alert.py +10 -5
- pulumi_digitalocean/uptime_check.py +5 -0
- pulumi_digitalocean/volume.py +47 -50
- pulumi_digitalocean/volume_attachment.py +25 -20
- pulumi_digitalocean/volume_snapshot.py +17 -10
- pulumi_digitalocean/vpc.py +27 -22
- pulumi_digitalocean/vpc_peering.py +378 -0
- {pulumi_digitalocean-4.27.0.dist-info → pulumi_digitalocean-4.39.0a1736833057.dist-info}/METADATA +7 -6
- pulumi_digitalocean-4.39.0a1736833057.dist-info/RECORD +108 -0
- {pulumi_digitalocean-4.27.0.dist-info → pulumi_digitalocean-4.39.0a1736833057.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.27.0.dist-info/RECORD +0 -97
- {pulumi_digitalocean-4.27.0.dist-info → pulumi_digitalocean-4.39.0a1736833057.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -47,7 +52,7 @@ class MonitorAlertArgs:
|
|
|
47
52
|
`v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`,
|
|
48
53
|
`v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or
|
|
49
54
|
`v1/dbaas/alerts/disk_utilization_alerts`.
|
|
50
|
-
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90
|
|
55
|
+
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
|
|
51
56
|
DigitalOcean will show the correct unit in the web panel.
|
|
52
57
|
:param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.
|
|
53
58
|
:param pulumi.Input[bool] enabled: The status of the alert.
|
|
@@ -135,7 +140,7 @@ class MonitorAlertArgs:
|
|
|
135
140
|
@pulumi.getter
|
|
136
141
|
def value(self) -> pulumi.Input[float]:
|
|
137
142
|
"""
|
|
138
|
-
The value to start alerting at, e.g., 90
|
|
143
|
+
The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
|
|
139
144
|
DigitalOcean will show the correct unit in the web panel.
|
|
140
145
|
"""
|
|
141
146
|
return pulumi.get(self, "value")
|
|
@@ -232,7 +237,7 @@ class _MonitorAlertState:
|
|
|
232
237
|
`v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or
|
|
233
238
|
`v1/dbaas/alerts/disk_utilization_alerts`.
|
|
234
239
|
:param pulumi.Input[str] uuid: The uuid of the alert.
|
|
235
|
-
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90
|
|
240
|
+
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
|
|
236
241
|
DigitalOcean will show the correct unit in the web panel.
|
|
237
242
|
:param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.
|
|
238
243
|
"""
|
|
@@ -373,7 +378,7 @@ class _MonitorAlertState:
|
|
|
373
378
|
@pulumi.getter
|
|
374
379
|
def value(self) -> Optional[pulumi.Input[float]]:
|
|
375
380
|
"""
|
|
376
|
-
The value to start alerting at, e.g., 90
|
|
381
|
+
The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
|
|
377
382
|
DigitalOcean will show the correct unit in the web panel.
|
|
378
383
|
"""
|
|
379
384
|
return pulumi.get(self, "value")
|
|
@@ -400,7 +405,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
400
405
|
def __init__(__self__,
|
|
401
406
|
resource_name: str,
|
|
402
407
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
403
|
-
alerts: Optional[pulumi.Input[
|
|
408
|
+
alerts: Optional[pulumi.Input[Union['MonitorAlertAlertsArgs', 'MonitorAlertAlertsArgsDict']]] = None,
|
|
404
409
|
compare: Optional[pulumi.Input[str]] = None,
|
|
405
410
|
description: Optional[pulumi.Input[str]] = None,
|
|
406
411
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
@@ -428,7 +433,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
428
433
|
|
|
429
434
|
:param str resource_name: The name of the resource.
|
|
430
435
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
431
|
-
:param pulumi.Input[
|
|
436
|
+
:param pulumi.Input[Union['MonitorAlertAlertsArgs', 'MonitorAlertAlertsArgsDict']] alerts: How to send notifications about the alerts. This is a list with one element, .
|
|
432
437
|
Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
|
|
433
438
|
read more in [Slack's documentation](https://slack.com/intl/en-dk/help/articles/222386767-Manage-app-installation-settings-for-your-workspace)
|
|
434
439
|
:param pulumi.Input[str] compare: The comparison for `value`.
|
|
@@ -451,7 +456,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
451
456
|
`v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`,
|
|
452
457
|
`v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or
|
|
453
458
|
`v1/dbaas/alerts/disk_utilization_alerts`.
|
|
454
|
-
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90
|
|
459
|
+
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
|
|
455
460
|
DigitalOcean will show the correct unit in the web panel.
|
|
456
461
|
:param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.
|
|
457
462
|
"""
|
|
@@ -492,7 +497,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
492
497
|
def _internal_init(__self__,
|
|
493
498
|
resource_name: str,
|
|
494
499
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
495
|
-
alerts: Optional[pulumi.Input[
|
|
500
|
+
alerts: Optional[pulumi.Input[Union['MonitorAlertAlertsArgs', 'MonitorAlertAlertsArgsDict']]] = None,
|
|
496
501
|
compare: Optional[pulumi.Input[str]] = None,
|
|
497
502
|
description: Optional[pulumi.Input[str]] = None,
|
|
498
503
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
@@ -542,7 +547,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
542
547
|
def get(resource_name: str,
|
|
543
548
|
id: pulumi.Input[str],
|
|
544
549
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
545
|
-
alerts: Optional[pulumi.Input[
|
|
550
|
+
alerts: Optional[pulumi.Input[Union['MonitorAlertAlertsArgs', 'MonitorAlertAlertsArgsDict']]] = None,
|
|
546
551
|
compare: Optional[pulumi.Input[str]] = None,
|
|
547
552
|
description: Optional[pulumi.Input[str]] = None,
|
|
548
553
|
enabled: Optional[pulumi.Input[bool]] = None,
|
|
@@ -559,7 +564,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
559
564
|
:param str resource_name: The unique name of the resulting resource.
|
|
560
565
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
561
566
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
562
|
-
:param pulumi.Input[
|
|
567
|
+
:param pulumi.Input[Union['MonitorAlertAlertsArgs', 'MonitorAlertAlertsArgsDict']] alerts: How to send notifications about the alerts. This is a list with one element, .
|
|
563
568
|
Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
|
|
564
569
|
read more in [Slack's documentation](https://slack.com/intl/en-dk/help/articles/222386767-Manage-app-installation-settings-for-your-workspace)
|
|
565
570
|
:param pulumi.Input[str] compare: The comparison for `value`.
|
|
@@ -583,7 +588,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
583
588
|
`v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or
|
|
584
589
|
`v1/dbaas/alerts/disk_utilization_alerts`.
|
|
585
590
|
:param pulumi.Input[str] uuid: The uuid of the alert.
|
|
586
|
-
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90
|
|
591
|
+
:param pulumi.Input[float] value: The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
|
|
587
592
|
DigitalOcean will show the correct unit in the web panel.
|
|
588
593
|
:param pulumi.Input[str] window: The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.
|
|
589
594
|
"""
|
|
@@ -687,7 +692,7 @@ class MonitorAlert(pulumi.CustomResource):
|
|
|
687
692
|
@pulumi.getter
|
|
688
693
|
def value(self) -> pulumi.Output[float]:
|
|
689
694
|
"""
|
|
690
|
-
The value to start alerting at, e.g., 90
|
|
695
|
+
The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
|
|
691
696
|
DigitalOcean will show the correct unit in the web panel.
|
|
692
697
|
"""
|
|
693
698
|
return pulumi.get(self, "value")
|