pulumi-digitalocean 4.41.0a1742960094__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.
- pulumi_digitalocean/__init__.py +11 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2829 -2713
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +29 -28
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_partner_attachment.py +170 -0
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +9 -8
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +225 -224
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3099 -3007
- pulumi_digitalocean/partner_attachment.py +433 -0
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +36 -35
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
- pulumi_digitalocean-4.41.0a1742960094.dist-info/RECORD +0 -110
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.41.0a1742960094.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
|
|
@@ -104,7 +105,7 @@ class GetKubernetesClusterResult:
|
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter(name="autoUpgrade")
|
|
107
|
-
def auto_upgrade(self) -> bool:
|
|
108
|
+
def auto_upgrade(self) -> builtins.bool:
|
|
108
109
|
"""
|
|
109
110
|
A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
110
111
|
"""
|
|
@@ -117,7 +118,7 @@ class GetKubernetesClusterResult:
|
|
|
117
118
|
|
|
118
119
|
@property
|
|
119
120
|
@pulumi.getter(name="clusterSubnet")
|
|
120
|
-
def cluster_subnet(self) -> str:
|
|
121
|
+
def cluster_subnet(self) -> builtins.str:
|
|
121
122
|
"""
|
|
122
123
|
The range of IP addresses in the overlay network of the Kubernetes cluster.
|
|
123
124
|
"""
|
|
@@ -130,7 +131,7 @@ class GetKubernetesClusterResult:
|
|
|
130
131
|
|
|
131
132
|
@property
|
|
132
133
|
@pulumi.getter(name="createdAt")
|
|
133
|
-
def created_at(self) -> str:
|
|
134
|
+
def created_at(self) -> builtins.str:
|
|
134
135
|
"""
|
|
135
136
|
The date and time when the node was created.
|
|
136
137
|
"""
|
|
@@ -138,7 +139,7 @@ class GetKubernetesClusterResult:
|
|
|
138
139
|
|
|
139
140
|
@property
|
|
140
141
|
@pulumi.getter
|
|
141
|
-
def endpoint(self) -> str:
|
|
142
|
+
def endpoint(self) -> builtins.str:
|
|
142
143
|
"""
|
|
143
144
|
The base URL of the API server on the Kubernetes master node.
|
|
144
145
|
"""
|
|
@@ -146,12 +147,12 @@ class GetKubernetesClusterResult:
|
|
|
146
147
|
|
|
147
148
|
@property
|
|
148
149
|
@pulumi.getter
|
|
149
|
-
def ha(self) -> bool:
|
|
150
|
+
def ha(self) -> builtins.bool:
|
|
150
151
|
return pulumi.get(self, "ha")
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter
|
|
154
|
-
def id(self) -> str:
|
|
155
|
+
def id(self) -> builtins.str:
|
|
155
156
|
"""
|
|
156
157
|
The provider-assigned unique ID for this managed resource.
|
|
157
158
|
"""
|
|
@@ -159,7 +160,7 @@ class GetKubernetesClusterResult:
|
|
|
159
160
|
|
|
160
161
|
@property
|
|
161
162
|
@pulumi.getter(name="ipv4Address")
|
|
162
|
-
def ipv4_address(self) -> str:
|
|
163
|
+
def ipv4_address(self) -> builtins.str:
|
|
163
164
|
"""
|
|
164
165
|
The public IPv4 address of the Kubernetes master node.
|
|
165
166
|
"""
|
|
@@ -175,7 +176,7 @@ class GetKubernetesClusterResult:
|
|
|
175
176
|
|
|
176
177
|
@property
|
|
177
178
|
@pulumi.getter(name="kubeconfigExpireSeconds")
|
|
178
|
-
def kubeconfig_expire_seconds(self) -> Optional[int]:
|
|
179
|
+
def kubeconfig_expire_seconds(self) -> Optional[builtins.int]:
|
|
179
180
|
return pulumi.get(self, "kubeconfig_expire_seconds")
|
|
180
181
|
|
|
181
182
|
@property
|
|
@@ -188,7 +189,7 @@ class GetKubernetesClusterResult:
|
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter
|
|
191
|
-
def name(self) -> str:
|
|
192
|
+
def name(self) -> builtins.str:
|
|
192
193
|
"""
|
|
193
194
|
The auto-generated name for the node.
|
|
194
195
|
"""
|
|
@@ -204,7 +205,7 @@ class GetKubernetesClusterResult:
|
|
|
204
205
|
|
|
205
206
|
@property
|
|
206
207
|
@pulumi.getter
|
|
207
|
-
def region(self) -> str:
|
|
208
|
+
def region(self) -> builtins.str:
|
|
208
209
|
"""
|
|
209
210
|
The slug identifier for the region where the Kubernetes cluster is located.
|
|
210
211
|
"""
|
|
@@ -217,7 +218,7 @@ class GetKubernetesClusterResult:
|
|
|
217
218
|
|
|
218
219
|
@property
|
|
219
220
|
@pulumi.getter(name="serviceSubnet")
|
|
220
|
-
def service_subnet(self) -> str:
|
|
221
|
+
def service_subnet(self) -> builtins.str:
|
|
221
222
|
"""
|
|
222
223
|
The range of assignable IP addresses for services running in the Kubernetes cluster.
|
|
223
224
|
"""
|
|
@@ -225,7 +226,7 @@ class GetKubernetesClusterResult:
|
|
|
225
226
|
|
|
226
227
|
@property
|
|
227
228
|
@pulumi.getter
|
|
228
|
-
def status(self) -> str:
|
|
229
|
+
def status(self) -> builtins.str:
|
|
229
230
|
"""
|
|
230
231
|
A string indicating the current status of the individual node.
|
|
231
232
|
"""
|
|
@@ -233,12 +234,12 @@ class GetKubernetesClusterResult:
|
|
|
233
234
|
|
|
234
235
|
@property
|
|
235
236
|
@pulumi.getter(name="surgeUpgrade")
|
|
236
|
-
def surge_upgrade(self) -> bool:
|
|
237
|
+
def surge_upgrade(self) -> builtins.bool:
|
|
237
238
|
return pulumi.get(self, "surge_upgrade")
|
|
238
239
|
|
|
239
240
|
@property
|
|
240
241
|
@pulumi.getter
|
|
241
|
-
def tags(self) -> Optional[Sequence[str]]:
|
|
242
|
+
def tags(self) -> Optional[Sequence[builtins.str]]:
|
|
242
243
|
"""
|
|
243
244
|
A list of tag names applied to the node pool.
|
|
244
245
|
"""
|
|
@@ -246,7 +247,7 @@ class GetKubernetesClusterResult:
|
|
|
246
247
|
|
|
247
248
|
@property
|
|
248
249
|
@pulumi.getter(name="updatedAt")
|
|
249
|
-
def updated_at(self) -> str:
|
|
250
|
+
def updated_at(self) -> builtins.str:
|
|
250
251
|
"""
|
|
251
252
|
The date and time when the node was last updated.
|
|
252
253
|
"""
|
|
@@ -254,7 +255,7 @@ class GetKubernetesClusterResult:
|
|
|
254
255
|
|
|
255
256
|
@property
|
|
256
257
|
@pulumi.getter
|
|
257
|
-
def urn(self) -> str:
|
|
258
|
+
def urn(self) -> builtins.str:
|
|
258
259
|
"""
|
|
259
260
|
The uniform resource name (URN) for the Kubernetes cluster.
|
|
260
261
|
"""
|
|
@@ -262,7 +263,7 @@ class GetKubernetesClusterResult:
|
|
|
262
263
|
|
|
263
264
|
@property
|
|
264
265
|
@pulumi.getter
|
|
265
|
-
def version(self) -> str:
|
|
266
|
+
def version(self) -> builtins.str:
|
|
266
267
|
"""
|
|
267
268
|
The slug identifier for the version of Kubernetes used for the cluster.
|
|
268
269
|
"""
|
|
@@ -270,7 +271,7 @@ class GetKubernetesClusterResult:
|
|
|
270
271
|
|
|
271
272
|
@property
|
|
272
273
|
@pulumi.getter(name="vpcUuid")
|
|
273
|
-
def vpc_uuid(self) -> str:
|
|
274
|
+
def vpc_uuid(self) -> builtins.str:
|
|
274
275
|
"""
|
|
275
276
|
The ID of the VPC where the Kubernetes cluster is located.
|
|
276
277
|
"""
|
|
@@ -310,10 +311,10 @@ class AwaitableGetKubernetesClusterResult(GetKubernetesClusterResult):
|
|
|
310
311
|
|
|
311
312
|
|
|
312
313
|
def get_kubernetes_cluster(cluster_autoscaler_configurations: Optional[Sequence[Union['GetKubernetesClusterClusterAutoscalerConfigurationArgs', 'GetKubernetesClusterClusterAutoscalerConfigurationArgsDict']]] = None,
|
|
313
|
-
kubeconfig_expire_seconds: Optional[int] = None,
|
|
314
|
-
name: Optional[str] = None,
|
|
314
|
+
kubeconfig_expire_seconds: Optional[builtins.int] = None,
|
|
315
|
+
name: Optional[builtins.str] = None,
|
|
315
316
|
routing_agent: Optional[Union['GetKubernetesClusterRoutingAgentArgs', 'GetKubernetesClusterRoutingAgentArgsDict']] = None,
|
|
316
|
-
tags: Optional[Sequence[str]] = None,
|
|
317
|
+
tags: Optional[Sequence[builtins.str]] = None,
|
|
317
318
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKubernetesClusterResult:
|
|
318
319
|
"""
|
|
319
320
|
Retrieves information about a DigitalOcean Kubernetes cluster for use in other resources. This data source provides all of the cluster's properties as configured on your DigitalOcean account. This is useful if the cluster in question is not managed by the provider.
|
|
@@ -328,8 +329,8 @@ def get_kubernetes_cluster(cluster_autoscaler_configurations: Optional[Sequence[
|
|
|
328
329
|
```
|
|
329
330
|
|
|
330
331
|
|
|
331
|
-
:param str name: The name of Kubernetes cluster.
|
|
332
|
-
:param Sequence[str] tags: A list of tag names applied to the node pool.
|
|
332
|
+
:param builtins.str name: The name of Kubernetes cluster.
|
|
333
|
+
:param Sequence[builtins.str] tags: A list of tag names applied to the node pool.
|
|
333
334
|
"""
|
|
334
335
|
__args__ = dict()
|
|
335
336
|
__args__['clusterAutoscalerConfigurations'] = cluster_autoscaler_configurations
|
|
@@ -366,10 +367,10 @@ def get_kubernetes_cluster(cluster_autoscaler_configurations: Optional[Sequence[
|
|
|
366
367
|
version=pulumi.get(__ret__, 'version'),
|
|
367
368
|
vpc_uuid=pulumi.get(__ret__, 'vpc_uuid'))
|
|
368
369
|
def get_kubernetes_cluster_output(cluster_autoscaler_configurations: Optional[pulumi.Input[Optional[Sequence[Union['GetKubernetesClusterClusterAutoscalerConfigurationArgs', 'GetKubernetesClusterClusterAutoscalerConfigurationArgsDict']]]]] = None,
|
|
369
|
-
kubeconfig_expire_seconds: Optional[pulumi.Input[Optional[int]]] = None,
|
|
370
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
370
|
+
kubeconfig_expire_seconds: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
|
371
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
371
372
|
routing_agent: Optional[pulumi.Input[Optional[Union['GetKubernetesClusterRoutingAgentArgs', 'GetKubernetesClusterRoutingAgentArgsDict']]]] = None,
|
|
372
|
-
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
373
|
+
tags: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
373
374
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKubernetesClusterResult]:
|
|
374
375
|
"""
|
|
375
376
|
Retrieves information about a DigitalOcean Kubernetes cluster for use in other resources. This data source provides all of the cluster's properties as configured on your DigitalOcean account. This is useful if the cluster in question is not managed by the provider.
|
|
@@ -384,8 +385,8 @@ def get_kubernetes_cluster_output(cluster_autoscaler_configurations: Optional[pu
|
|
|
384
385
|
```
|
|
385
386
|
|
|
386
387
|
|
|
387
|
-
:param str name: The name of Kubernetes cluster.
|
|
388
|
-
:param Sequence[str] tags: A list of tag names applied to the node pool.
|
|
388
|
+
:param builtins.str name: The name of Kubernetes cluster.
|
|
389
|
+
:param Sequence[builtins.str] tags: A list of tag names applied to the node pool.
|
|
389
390
|
"""
|
|
390
391
|
__args__ = dict()
|
|
391
392
|
__args__['clusterAutoscalerConfigurations'] = cluster_autoscaler_configurations
|
|
@@ -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
|
|
@@ -42,7 +43,7 @@ class GetKubernetesVersionsResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def id(self) -> str:
|
|
46
|
+
def id(self) -> builtins.str:
|
|
46
47
|
"""
|
|
47
48
|
The provider-assigned unique ID for this managed resource.
|
|
48
49
|
"""
|
|
@@ -50,7 +51,7 @@ class GetKubernetesVersionsResult:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter(name="latestVersion")
|
|
53
|
-
def latest_version(self) -> str:
|
|
54
|
+
def latest_version(self) -> builtins.str:
|
|
54
55
|
"""
|
|
55
56
|
The most recent version available.
|
|
56
57
|
"""
|
|
@@ -58,7 +59,7 @@ class GetKubernetesVersionsResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter(name="validVersions")
|
|
61
|
-
def valid_versions(self) -> Sequence[str]:
|
|
62
|
+
def valid_versions(self) -> Sequence[builtins.str]:
|
|
62
63
|
"""
|
|
63
64
|
A list of available versions.
|
|
64
65
|
"""
|
|
@@ -66,7 +67,7 @@ class GetKubernetesVersionsResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter(name="versionPrefix")
|
|
69
|
-
def version_prefix(self) -> Optional[str]:
|
|
70
|
+
def version_prefix(self) -> Optional[builtins.str]:
|
|
70
71
|
return pulumi.get(self, "version_prefix")
|
|
71
72
|
|
|
72
73
|
|
|
@@ -82,7 +83,7 @@ class AwaitableGetKubernetesVersionsResult(GetKubernetesVersionsResult):
|
|
|
82
83
|
version_prefix=self.version_prefix)
|
|
83
84
|
|
|
84
85
|
|
|
85
|
-
def get_kubernetes_versions(version_prefix: Optional[str] = None,
|
|
86
|
+
def get_kubernetes_versions(version_prefix: Optional[builtins.str] = None,
|
|
86
87
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKubernetesVersionsResult:
|
|
87
88
|
"""
|
|
88
89
|
Provides access to the available DigitalOcean Kubernetes Service versions.
|
|
@@ -136,7 +137,7 @@ def get_kubernetes_versions(version_prefix: Optional[str] = None,
|
|
|
136
137
|
```
|
|
137
138
|
|
|
138
139
|
|
|
139
|
-
:param str version_prefix: If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
|
|
140
|
+
:param builtins.str version_prefix: If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
|
|
140
141
|
"""
|
|
141
142
|
__args__ = dict()
|
|
142
143
|
__args__['versionPrefix'] = version_prefix
|
|
@@ -148,7 +149,7 @@ def get_kubernetes_versions(version_prefix: Optional[str] = None,
|
|
|
148
149
|
latest_version=pulumi.get(__ret__, 'latest_version'),
|
|
149
150
|
valid_versions=pulumi.get(__ret__, 'valid_versions'),
|
|
150
151
|
version_prefix=pulumi.get(__ret__, 'version_prefix'))
|
|
151
|
-
def get_kubernetes_versions_output(version_prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
|
152
|
+
def get_kubernetes_versions_output(version_prefix: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
152
153
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKubernetesVersionsResult]:
|
|
153
154
|
"""
|
|
154
155
|
Provides access to the available DigitalOcean Kubernetes Service versions.
|
|
@@ -202,7 +203,7 @@ def get_kubernetes_versions_output(version_prefix: Optional[pulumi.Input[Optiona
|
|
|
202
203
|
```
|
|
203
204
|
|
|
204
205
|
|
|
205
|
-
:param str version_prefix: If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
|
|
206
|
+
:param builtins.str version_prefix: If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
|
|
206
207
|
"""
|
|
207
208
|
__args__ = dict()
|
|
208
209
|
__args__['versionPrefix'] = version_prefix
|
|
@@ -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
|
|
@@ -116,12 +117,12 @@ class GetLoadBalancerResult:
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter
|
|
118
119
|
@_utilities.deprecated("""This field has been deprecated. You can no longer specify an algorithm for load balancers.""")
|
|
119
|
-
def algorithm(self) -> str:
|
|
120
|
+
def algorithm(self) -> builtins.str:
|
|
120
121
|
return pulumi.get(self, "algorithm")
|
|
121
122
|
|
|
122
123
|
@property
|
|
123
124
|
@pulumi.getter(name="disableLetsEncryptDnsRecords")
|
|
124
|
-
def disable_lets_encrypt_dns_records(self) -> bool:
|
|
125
|
+
def disable_lets_encrypt_dns_records(self) -> builtins.bool:
|
|
125
126
|
return pulumi.get(self, "disable_lets_encrypt_dns_records")
|
|
126
127
|
|
|
127
128
|
@property
|
|
@@ -131,22 +132,22 @@ class GetLoadBalancerResult:
|
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter(name="dropletIds")
|
|
134
|
-
def droplet_ids(self) -> Sequence[int]:
|
|
135
|
+
def droplet_ids(self) -> Sequence[builtins.int]:
|
|
135
136
|
return pulumi.get(self, "droplet_ids")
|
|
136
137
|
|
|
137
138
|
@property
|
|
138
139
|
@pulumi.getter(name="dropletTag")
|
|
139
|
-
def droplet_tag(self) -> str:
|
|
140
|
+
def droplet_tag(self) -> builtins.str:
|
|
140
141
|
return pulumi.get(self, "droplet_tag")
|
|
141
142
|
|
|
142
143
|
@property
|
|
143
144
|
@pulumi.getter(name="enableBackendKeepalive")
|
|
144
|
-
def enable_backend_keepalive(self) -> bool:
|
|
145
|
+
def enable_backend_keepalive(self) -> builtins.bool:
|
|
145
146
|
return pulumi.get(self, "enable_backend_keepalive")
|
|
146
147
|
|
|
147
148
|
@property
|
|
148
149
|
@pulumi.getter(name="enableProxyProtocol")
|
|
149
|
-
def enable_proxy_protocol(self) -> bool:
|
|
150
|
+
def enable_proxy_protocol(self) -> builtins.bool:
|
|
150
151
|
return pulumi.get(self, "enable_proxy_protocol")
|
|
151
152
|
|
|
152
153
|
@property
|
|
@@ -171,67 +172,67 @@ class GetLoadBalancerResult:
|
|
|
171
172
|
|
|
172
173
|
@property
|
|
173
174
|
@pulumi.getter(name="httpIdleTimeoutSeconds")
|
|
174
|
-
def http_idle_timeout_seconds(self) -> int:
|
|
175
|
+
def http_idle_timeout_seconds(self) -> builtins.int:
|
|
175
176
|
return pulumi.get(self, "http_idle_timeout_seconds")
|
|
176
177
|
|
|
177
178
|
@property
|
|
178
179
|
@pulumi.getter
|
|
179
|
-
def id(self) -> Optional[str]:
|
|
180
|
+
def id(self) -> Optional[builtins.str]:
|
|
180
181
|
return pulumi.get(self, "id")
|
|
181
182
|
|
|
182
183
|
@property
|
|
183
184
|
@pulumi.getter
|
|
184
|
-
def ip(self) -> str:
|
|
185
|
+
def ip(self) -> builtins.str:
|
|
185
186
|
return pulumi.get(self, "ip")
|
|
186
187
|
|
|
187
188
|
@property
|
|
188
189
|
@pulumi.getter
|
|
189
|
-
def ipv6(self) -> str:
|
|
190
|
+
def ipv6(self) -> builtins.str:
|
|
190
191
|
return pulumi.get(self, "ipv6")
|
|
191
192
|
|
|
192
193
|
@property
|
|
193
194
|
@pulumi.getter(name="loadBalancerUrn")
|
|
194
|
-
def load_balancer_urn(self) -> str:
|
|
195
|
+
def load_balancer_urn(self) -> builtins.str:
|
|
195
196
|
return pulumi.get(self, "load_balancer_urn")
|
|
196
197
|
|
|
197
198
|
@property
|
|
198
199
|
@pulumi.getter
|
|
199
|
-
def name(self) -> Optional[str]:
|
|
200
|
+
def name(self) -> Optional[builtins.str]:
|
|
200
201
|
return pulumi.get(self, "name")
|
|
201
202
|
|
|
202
203
|
@property
|
|
203
204
|
@pulumi.getter
|
|
204
|
-
def network(self) -> str:
|
|
205
|
+
def network(self) -> builtins.str:
|
|
205
206
|
return pulumi.get(self, "network")
|
|
206
207
|
|
|
207
208
|
@property
|
|
208
209
|
@pulumi.getter(name="projectId")
|
|
209
|
-
def project_id(self) -> str:
|
|
210
|
+
def project_id(self) -> builtins.str:
|
|
210
211
|
return pulumi.get(self, "project_id")
|
|
211
212
|
|
|
212
213
|
@property
|
|
213
214
|
@pulumi.getter(name="redirectHttpToHttps")
|
|
214
|
-
def redirect_http_to_https(self) -> bool:
|
|
215
|
+
def redirect_http_to_https(self) -> builtins.bool:
|
|
215
216
|
return pulumi.get(self, "redirect_http_to_https")
|
|
216
217
|
|
|
217
218
|
@property
|
|
218
219
|
@pulumi.getter
|
|
219
|
-
def region(self) -> str:
|
|
220
|
+
def region(self) -> builtins.str:
|
|
220
221
|
return pulumi.get(self, "region")
|
|
221
222
|
|
|
222
223
|
@property
|
|
223
224
|
@pulumi.getter
|
|
224
|
-
def size(self) -> str:
|
|
225
|
+
def size(self) -> builtins.str:
|
|
225
226
|
return pulumi.get(self, "size")
|
|
226
227
|
|
|
227
228
|
@property
|
|
228
229
|
@pulumi.getter(name="sizeUnit")
|
|
229
|
-
def size_unit(self) -> int:
|
|
230
|
+
def size_unit(self) -> builtins.int:
|
|
230
231
|
return pulumi.get(self, "size_unit")
|
|
231
232
|
|
|
232
233
|
@property
|
|
233
234
|
@pulumi.getter
|
|
234
|
-
def status(self) -> str:
|
|
235
|
+
def status(self) -> builtins.str:
|
|
235
236
|
return pulumi.get(self, "status")
|
|
236
237
|
|
|
237
238
|
@property
|
|
@@ -241,17 +242,17 @@ class GetLoadBalancerResult:
|
|
|
241
242
|
|
|
242
243
|
@property
|
|
243
244
|
@pulumi.getter(name="targetLoadBalancerIds")
|
|
244
|
-
def target_load_balancer_ids(self) -> Sequence[str]:
|
|
245
|
+
def target_load_balancer_ids(self) -> Sequence[builtins.str]:
|
|
245
246
|
return pulumi.get(self, "target_load_balancer_ids")
|
|
246
247
|
|
|
247
248
|
@property
|
|
248
249
|
@pulumi.getter
|
|
249
|
-
def type(self) -> str:
|
|
250
|
+
def type(self) -> builtins.str:
|
|
250
251
|
return pulumi.get(self, "type")
|
|
251
252
|
|
|
252
253
|
@property
|
|
253
254
|
@pulumi.getter(name="vpcUuid")
|
|
254
|
-
def vpc_uuid(self) -> str:
|
|
255
|
+
def vpc_uuid(self) -> builtins.str:
|
|
255
256
|
return pulumi.get(self, "vpc_uuid")
|
|
256
257
|
|
|
257
258
|
|
|
@@ -291,8 +292,8 @@ class AwaitableGetLoadBalancerResult(GetLoadBalancerResult):
|
|
|
291
292
|
vpc_uuid=self.vpc_uuid)
|
|
292
293
|
|
|
293
294
|
|
|
294
|
-
def get_load_balancer(id: Optional[str] = None,
|
|
295
|
-
name: Optional[str] = None,
|
|
295
|
+
def get_load_balancer(id: Optional[builtins.str] = None,
|
|
296
|
+
name: Optional[builtins.str] = None,
|
|
296
297
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadBalancerResult:
|
|
297
298
|
"""
|
|
298
299
|
Get information on a load balancer for use in other resources. This data source
|
|
@@ -324,8 +325,8 @@ def get_load_balancer(id: Optional[str] = None,
|
|
|
324
325
|
```
|
|
325
326
|
|
|
326
327
|
|
|
327
|
-
:param str id: The ID of load balancer.
|
|
328
|
-
:param str name: The name of load balancer.
|
|
328
|
+
:param builtins.str id: The ID of load balancer.
|
|
329
|
+
:param builtins.str name: The name of load balancer.
|
|
329
330
|
"""
|
|
330
331
|
__args__ = dict()
|
|
331
332
|
__args__['id'] = id
|
|
@@ -362,8 +363,8 @@ def get_load_balancer(id: Optional[str] = None,
|
|
|
362
363
|
target_load_balancer_ids=pulumi.get(__ret__, 'target_load_balancer_ids'),
|
|
363
364
|
type=pulumi.get(__ret__, 'type'),
|
|
364
365
|
vpc_uuid=pulumi.get(__ret__, 'vpc_uuid'))
|
|
365
|
-
def get_load_balancer_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
366
|
-
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
366
|
+
def get_load_balancer_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
367
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
367
368
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLoadBalancerResult]:
|
|
368
369
|
"""
|
|
369
370
|
Get information on a load balancer for use in other resources. This data source
|
|
@@ -395,8 +396,8 @@ def get_load_balancer_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
395
396
|
```
|
|
396
397
|
|
|
397
398
|
|
|
398
|
-
:param str id: The ID of load balancer.
|
|
399
|
-
:param str name: The name of load balancer.
|
|
399
|
+
:param builtins.str id: The ID of load balancer.
|
|
400
|
+
:param builtins.str name: The name of load balancer.
|
|
400
401
|
"""
|
|
401
402
|
__args__ = dict()
|
|
402
403
|
__args__['id'] = id
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
'GetPartnerAttachmentResult',
|
|
22
|
+
'AwaitableGetPartnerAttachmentResult',
|
|
23
|
+
'get_partner_attachment',
|
|
24
|
+
'get_partner_attachment_output',
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
@pulumi.output_type
|
|
28
|
+
class GetPartnerAttachmentResult:
|
|
29
|
+
"""
|
|
30
|
+
A collection of values returned by getPartnerAttachment.
|
|
31
|
+
"""
|
|
32
|
+
def __init__(__self__, bgp=None, connection_bandwidth_in_mbps=None, created_at=None, id=None, naas_provider=None, name=None, region=None, state=None, vpc_ids=None):
|
|
33
|
+
if bgp and not isinstance(bgp, dict):
|
|
34
|
+
raise TypeError("Expected argument 'bgp' to be a dict")
|
|
35
|
+
pulumi.set(__self__, "bgp", bgp)
|
|
36
|
+
if connection_bandwidth_in_mbps and not isinstance(connection_bandwidth_in_mbps, int):
|
|
37
|
+
raise TypeError("Expected argument 'connection_bandwidth_in_mbps' to be a int")
|
|
38
|
+
pulumi.set(__self__, "connection_bandwidth_in_mbps", connection_bandwidth_in_mbps)
|
|
39
|
+
if created_at and not isinstance(created_at, str):
|
|
40
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
41
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
42
|
+
if id and not isinstance(id, str):
|
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "id", id)
|
|
45
|
+
if naas_provider and not isinstance(naas_provider, str):
|
|
46
|
+
raise TypeError("Expected argument 'naas_provider' to be a str")
|
|
47
|
+
pulumi.set(__self__, "naas_provider", naas_provider)
|
|
48
|
+
if name and not isinstance(name, str):
|
|
49
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
50
|
+
pulumi.set(__self__, "name", name)
|
|
51
|
+
if region and not isinstance(region, str):
|
|
52
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
53
|
+
pulumi.set(__self__, "region", region)
|
|
54
|
+
if state and not isinstance(state, str):
|
|
55
|
+
raise TypeError("Expected argument 'state' to be a str")
|
|
56
|
+
pulumi.set(__self__, "state", state)
|
|
57
|
+
if vpc_ids and not isinstance(vpc_ids, list):
|
|
58
|
+
raise TypeError("Expected argument 'vpc_ids' to be a list")
|
|
59
|
+
pulumi.set(__self__, "vpc_ids", vpc_ids)
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def bgp(self) -> Optional['outputs.GetPartnerAttachmentBgpResult']:
|
|
64
|
+
return pulumi.get(self, "bgp")
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter(name="connectionBandwidthInMbps")
|
|
68
|
+
def connection_bandwidth_in_mbps(self) -> builtins.int:
|
|
69
|
+
return pulumi.get(self, "connection_bandwidth_in_mbps")
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="createdAt")
|
|
73
|
+
def created_at(self) -> builtins.str:
|
|
74
|
+
return pulumi.get(self, "created_at")
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter
|
|
78
|
+
def id(self) -> builtins.str:
|
|
79
|
+
return pulumi.get(self, "id")
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter(name="naasProvider")
|
|
83
|
+
def naas_provider(self) -> builtins.str:
|
|
84
|
+
return pulumi.get(self, "naas_provider")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def name(self) -> builtins.str:
|
|
89
|
+
return pulumi.get(self, "name")
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def region(self) -> builtins.str:
|
|
94
|
+
return pulumi.get(self, "region")
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter
|
|
98
|
+
def state(self) -> builtins.str:
|
|
99
|
+
return pulumi.get(self, "state")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter(name="vpcIds")
|
|
103
|
+
def vpc_ids(self) -> Sequence[builtins.str]:
|
|
104
|
+
return pulumi.get(self, "vpc_ids")
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class AwaitableGetPartnerAttachmentResult(GetPartnerAttachmentResult):
|
|
108
|
+
# pylint: disable=using-constant-test
|
|
109
|
+
def __await__(self):
|
|
110
|
+
if False:
|
|
111
|
+
yield self
|
|
112
|
+
return GetPartnerAttachmentResult(
|
|
113
|
+
bgp=self.bgp,
|
|
114
|
+
connection_bandwidth_in_mbps=self.connection_bandwidth_in_mbps,
|
|
115
|
+
created_at=self.created_at,
|
|
116
|
+
id=self.id,
|
|
117
|
+
naas_provider=self.naas_provider,
|
|
118
|
+
name=self.name,
|
|
119
|
+
region=self.region,
|
|
120
|
+
state=self.state,
|
|
121
|
+
vpc_ids=self.vpc_ids)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def get_partner_attachment(bgp: Optional[Union['GetPartnerAttachmentBgpArgs', 'GetPartnerAttachmentBgpArgsDict']] = None,
|
|
125
|
+
id: Optional[builtins.str] = None,
|
|
126
|
+
name: Optional[builtins.str] = None,
|
|
127
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPartnerAttachmentResult:
|
|
128
|
+
"""
|
|
129
|
+
Use this data source to access information about an existing resource.
|
|
130
|
+
"""
|
|
131
|
+
__args__ = dict()
|
|
132
|
+
__args__['bgp'] = bgp
|
|
133
|
+
__args__['id'] = id
|
|
134
|
+
__args__['name'] = name
|
|
135
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getPartnerAttachment:getPartnerAttachment', __args__, opts=opts, typ=GetPartnerAttachmentResult).value
|
|
137
|
+
|
|
138
|
+
return AwaitableGetPartnerAttachmentResult(
|
|
139
|
+
bgp=pulumi.get(__ret__, 'bgp'),
|
|
140
|
+
connection_bandwidth_in_mbps=pulumi.get(__ret__, 'connection_bandwidth_in_mbps'),
|
|
141
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
142
|
+
id=pulumi.get(__ret__, 'id'),
|
|
143
|
+
naas_provider=pulumi.get(__ret__, 'naas_provider'),
|
|
144
|
+
name=pulumi.get(__ret__, 'name'),
|
|
145
|
+
region=pulumi.get(__ret__, 'region'),
|
|
146
|
+
state=pulumi.get(__ret__, 'state'),
|
|
147
|
+
vpc_ids=pulumi.get(__ret__, 'vpc_ids'))
|
|
148
|
+
def get_partner_attachment_output(bgp: Optional[pulumi.Input[Optional[Union['GetPartnerAttachmentBgpArgs', 'GetPartnerAttachmentBgpArgsDict']]]] = None,
|
|
149
|
+
id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
150
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
151
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPartnerAttachmentResult]:
|
|
152
|
+
"""
|
|
153
|
+
Use this data source to access information about an existing resource.
|
|
154
|
+
"""
|
|
155
|
+
__args__ = dict()
|
|
156
|
+
__args__['bgp'] = bgp
|
|
157
|
+
__args__['id'] = id
|
|
158
|
+
__args__['name'] = name
|
|
159
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
160
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getPartnerAttachment:getPartnerAttachment', __args__, opts=opts, typ=GetPartnerAttachmentResult)
|
|
161
|
+
return __ret__.apply(lambda __response__: GetPartnerAttachmentResult(
|
|
162
|
+
bgp=pulumi.get(__response__, 'bgp'),
|
|
163
|
+
connection_bandwidth_in_mbps=pulumi.get(__response__, 'connection_bandwidth_in_mbps'),
|
|
164
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
165
|
+
id=pulumi.get(__response__, 'id'),
|
|
166
|
+
naas_provider=pulumi.get(__response__, 'naas_provider'),
|
|
167
|
+
name=pulumi.get(__response__, 'name'),
|
|
168
|
+
region=pulumi.get(__response__, 'region'),
|
|
169
|
+
state=pulumi.get(__response__, 'state'),
|
|
170
|
+
vpc_ids=pulumi.get(__response__, 'vpc_ids')))
|