pulumi-digitalocean 4.45.0a1747374323__py3-none-any.whl → 4.46.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 +20 -1
- pulumi_digitalocean/_enums.py +1 -1
- pulumi_digitalocean/_inputs.py +200 -19
- pulumi_digitalocean/_utilities.py +1 -1
- pulumi_digitalocean/app.py +1 -1
- pulumi_digitalocean/cdn.py +1 -1
- pulumi_digitalocean/certificate.py +1 -1
- pulumi_digitalocean/config/__init__.py +1 -1
- pulumi_digitalocean/config/__init__.pyi +1 -1
- pulumi_digitalocean/config/vars.py +1 -1
- pulumi_digitalocean/container_registry.py +1 -1
- pulumi_digitalocean/container_registry_docker_credentials.py +1 -1
- pulumi_digitalocean/custom_image.py +1 -1
- pulumi_digitalocean/database_cluster.py +1 -1
- pulumi_digitalocean/database_connection_pool.py +1 -1
- pulumi_digitalocean/database_db.py +1 -1
- pulumi_digitalocean/database_firewall.py +1 -1
- pulumi_digitalocean/database_kafka_config.py +1 -1
- pulumi_digitalocean/database_kafka_topic.py +1 -1
- pulumi_digitalocean/database_mongodb_config.py +1 -1
- pulumi_digitalocean/database_mysql_config.py +1 -1
- pulumi_digitalocean/database_opensearch_config.py +1 -1
- pulumi_digitalocean/database_postgresql_config.py +1 -1
- pulumi_digitalocean/database_redis_config.py +1 -1
- pulumi_digitalocean/database_replica.py +1 -1
- pulumi_digitalocean/database_user.py +1 -1
- pulumi_digitalocean/dns_record.py +1 -1
- pulumi_digitalocean/domain.py +1 -1
- pulumi_digitalocean/droplet.py +1 -1
- pulumi_digitalocean/droplet_autoscale.py +1 -1
- pulumi_digitalocean/droplet_snapshot.py +1 -1
- pulumi_digitalocean/firewall.py +1 -1
- pulumi_digitalocean/floating_ip.py +1 -1
- pulumi_digitalocean/floating_ip_assignment.py +1 -1
- pulumi_digitalocean/get_account.py +1 -1
- pulumi_digitalocean/get_app.py +1 -1
- pulumi_digitalocean/get_certificate.py +1 -1
- pulumi_digitalocean/get_container_registry.py +1 -1
- pulumi_digitalocean/get_database_ca.py +1 -1
- pulumi_digitalocean/get_database_cluster.py +1 -1
- pulumi_digitalocean/get_database_connection_pool.py +1 -1
- pulumi_digitalocean/get_database_replica.py +1 -1
- pulumi_digitalocean/get_database_user.py +1 -1
- pulumi_digitalocean/get_domain.py +1 -1
- pulumi_digitalocean/get_domains.py +1 -1
- pulumi_digitalocean/get_droplet.py +1 -1
- pulumi_digitalocean/get_droplet_autoscale.py +1 -1
- pulumi_digitalocean/get_droplet_snapshot.py +1 -1
- pulumi_digitalocean/get_droplets.py +1 -1
- pulumi_digitalocean/get_firewall.py +1 -1
- pulumi_digitalocean/get_floating_ip.py +1 -1
- pulumi_digitalocean/get_image.py +1 -1
- pulumi_digitalocean/get_images.py +1 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +1 -1
- pulumi_digitalocean/get_kubernetes_versions.py +1 -1
- pulumi_digitalocean/get_load_balancer.py +1 -1
- pulumi_digitalocean/get_partner_attachment.py +17 -2
- pulumi_digitalocean/get_project.py +1 -1
- pulumi_digitalocean/get_projects.py +1 -1
- pulumi_digitalocean/get_record.py +1 -1
- pulumi_digitalocean/get_records.py +1 -1
- pulumi_digitalocean/get_region.py +1 -1
- pulumi_digitalocean/get_regions.py +1 -1
- pulumi_digitalocean/get_reserved_ip.py +1 -1
- pulumi_digitalocean/get_reserved_ipv6.py +1 -1
- pulumi_digitalocean/get_sizes.py +1 -1
- pulumi_digitalocean/get_spaces_bucket.py +1 -1
- pulumi_digitalocean/get_spaces_bucket_object.py +1 -1
- pulumi_digitalocean/get_spaces_bucket_objects.py +1 -1
- pulumi_digitalocean/get_spaces_buckets.py +1 -1
- pulumi_digitalocean/get_spaces_key.py +1 -1
- pulumi_digitalocean/get_ssh_key.py +1 -1
- pulumi_digitalocean/get_ssh_keys.py +1 -1
- pulumi_digitalocean/get_tag.py +1 -1
- pulumi_digitalocean/get_tags.py +1 -1
- pulumi_digitalocean/get_volume.py +1 -1
- pulumi_digitalocean/get_volume_snapshot.py +1 -1
- pulumi_digitalocean/get_vpc.py +1 -1
- pulumi_digitalocean/get_vpc_nat_gateway.py +253 -0
- pulumi_digitalocean/get_vpc_peering.py +1 -1
- pulumi_digitalocean/kubernetes_cluster.py +27 -1
- pulumi_digitalocean/kubernetes_node_pool.py +1 -1
- pulumi_digitalocean/load_balancer.py +1 -1
- pulumi_digitalocean/monitor_alert.py +1 -1
- pulumi_digitalocean/outputs.py +250 -24
- pulumi_digitalocean/partner_attachment.py +49 -2
- pulumi_digitalocean/project.py +1 -1
- pulumi_digitalocean/project_resources.py +1 -1
- pulumi_digitalocean/provider.py +1 -1
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +1 -1
- pulumi_digitalocean/reserved_ip_assignment.py +1 -1
- pulumi_digitalocean/reserved_ipv6.py +1 -1
- pulumi_digitalocean/reserved_ipv6_assignment.py +1 -1
- pulumi_digitalocean/spaces_bucket.py +1 -1
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +1 -1
- pulumi_digitalocean/spaces_bucket_logging.py +347 -0
- pulumi_digitalocean/spaces_bucket_object.py +1 -1
- pulumi_digitalocean/spaces_bucket_policy.py +1 -1
- pulumi_digitalocean/spaces_key.py +1 -1
- pulumi_digitalocean/ssh_key.py +1 -1
- pulumi_digitalocean/tag.py +1 -1
- pulumi_digitalocean/uptime_alert.py +1 -1
- pulumi_digitalocean/uptime_check.py +1 -1
- pulumi_digitalocean/volume.py +1 -1
- pulumi_digitalocean/volume_attachment.py +1 -1
- pulumi_digitalocean/volume_snapshot.py +1 -1
- pulumi_digitalocean/vpc.py +1 -1
- pulumi_digitalocean/vpc_nat_gateway.py +672 -0
- pulumi_digitalocean/vpc_peering.py +1 -1
- {pulumi_digitalocean-4.45.0a1747374323.dist-info → pulumi_digitalocean-4.46.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.46.0.dist-info/RECORD +115 -0
- {pulumi_digitalocean-4.45.0a1747374323.dist-info → pulumi_digitalocean-4.46.0.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.45.0a1747374323.dist-info/RECORD +0 -112
- {pulumi_digitalocean-4.45.0a1747374323.dist-info → pulumi_digitalocean-4.46.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
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
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetVpcNatGatewayResult',
|
|
21
|
+
'AwaitableGetVpcNatGatewayResult',
|
|
22
|
+
'get_vpc_nat_gateway',
|
|
23
|
+
'get_vpc_nat_gateway_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetVpcNatGatewayResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getVpcNatGateway.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, created_at=None, egresses=None, icmp_timeout_seconds=None, id=None, name=None, region=None, size=None, state=None, tcp_timeout_seconds=None, type=None, udp_timeout_seconds=None, updated_at=None, vpcs=None):
|
|
32
|
+
if created_at and not isinstance(created_at, str):
|
|
33
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
34
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
35
|
+
if egresses and not isinstance(egresses, list):
|
|
36
|
+
raise TypeError("Expected argument 'egresses' to be a list")
|
|
37
|
+
pulumi.set(__self__, "egresses", egresses)
|
|
38
|
+
if icmp_timeout_seconds and not isinstance(icmp_timeout_seconds, int):
|
|
39
|
+
raise TypeError("Expected argument 'icmp_timeout_seconds' to be a int")
|
|
40
|
+
pulumi.set(__self__, "icmp_timeout_seconds", icmp_timeout_seconds)
|
|
41
|
+
if id and not isinstance(id, str):
|
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
43
|
+
pulumi.set(__self__, "id", id)
|
|
44
|
+
if name and not isinstance(name, str):
|
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
46
|
+
pulumi.set(__self__, "name", name)
|
|
47
|
+
if region and not isinstance(region, str):
|
|
48
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
49
|
+
pulumi.set(__self__, "region", region)
|
|
50
|
+
if size and not isinstance(size, int):
|
|
51
|
+
raise TypeError("Expected argument 'size' to be a int")
|
|
52
|
+
pulumi.set(__self__, "size", size)
|
|
53
|
+
if state and not isinstance(state, str):
|
|
54
|
+
raise TypeError("Expected argument 'state' to be a str")
|
|
55
|
+
pulumi.set(__self__, "state", state)
|
|
56
|
+
if tcp_timeout_seconds and not isinstance(tcp_timeout_seconds, int):
|
|
57
|
+
raise TypeError("Expected argument 'tcp_timeout_seconds' to be a int")
|
|
58
|
+
pulumi.set(__self__, "tcp_timeout_seconds", tcp_timeout_seconds)
|
|
59
|
+
if type and not isinstance(type, str):
|
|
60
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
61
|
+
pulumi.set(__self__, "type", type)
|
|
62
|
+
if udp_timeout_seconds and not isinstance(udp_timeout_seconds, int):
|
|
63
|
+
raise TypeError("Expected argument 'udp_timeout_seconds' to be a int")
|
|
64
|
+
pulumi.set(__self__, "udp_timeout_seconds", udp_timeout_seconds)
|
|
65
|
+
if updated_at and not isinstance(updated_at, str):
|
|
66
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
67
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
68
|
+
if vpcs and not isinstance(vpcs, list):
|
|
69
|
+
raise TypeError("Expected argument 'vpcs' to be a list")
|
|
70
|
+
pulumi.set(__self__, "vpcs", vpcs)
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter(name="createdAt")
|
|
74
|
+
def created_at(self) -> builtins.str:
|
|
75
|
+
return pulumi.get(self, "created_at")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter
|
|
79
|
+
def egresses(self) -> Sequence['outputs.GetVpcNatGatewayEgressResult']:
|
|
80
|
+
return pulumi.get(self, "egresses")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="icmpTimeoutSeconds")
|
|
84
|
+
def icmp_timeout_seconds(self) -> builtins.int:
|
|
85
|
+
return pulumi.get(self, "icmp_timeout_seconds")
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
@pulumi.getter
|
|
89
|
+
def id(self) -> Optional[builtins.str]:
|
|
90
|
+
return pulumi.get(self, "id")
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
@pulumi.getter
|
|
94
|
+
def name(self) -> Optional[builtins.str]:
|
|
95
|
+
return pulumi.get(self, "name")
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter
|
|
99
|
+
def region(self) -> builtins.str:
|
|
100
|
+
return pulumi.get(self, "region")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter
|
|
104
|
+
def size(self) -> builtins.int:
|
|
105
|
+
return pulumi.get(self, "size")
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter
|
|
109
|
+
def state(self) -> builtins.str:
|
|
110
|
+
return pulumi.get(self, "state")
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="tcpTimeoutSeconds")
|
|
114
|
+
def tcp_timeout_seconds(self) -> builtins.int:
|
|
115
|
+
return pulumi.get(self, "tcp_timeout_seconds")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter
|
|
119
|
+
def type(self) -> builtins.str:
|
|
120
|
+
return pulumi.get(self, "type")
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="udpTimeoutSeconds")
|
|
124
|
+
def udp_timeout_seconds(self) -> builtins.int:
|
|
125
|
+
return pulumi.get(self, "udp_timeout_seconds")
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter(name="updatedAt")
|
|
129
|
+
def updated_at(self) -> builtins.str:
|
|
130
|
+
return pulumi.get(self, "updated_at")
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def vpcs(self) -> Sequence['outputs.GetVpcNatGatewayVpcResult']:
|
|
135
|
+
return pulumi.get(self, "vpcs")
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class AwaitableGetVpcNatGatewayResult(GetVpcNatGatewayResult):
|
|
139
|
+
# pylint: disable=using-constant-test
|
|
140
|
+
def __await__(self):
|
|
141
|
+
if False:
|
|
142
|
+
yield self
|
|
143
|
+
return GetVpcNatGatewayResult(
|
|
144
|
+
created_at=self.created_at,
|
|
145
|
+
egresses=self.egresses,
|
|
146
|
+
icmp_timeout_seconds=self.icmp_timeout_seconds,
|
|
147
|
+
id=self.id,
|
|
148
|
+
name=self.name,
|
|
149
|
+
region=self.region,
|
|
150
|
+
size=self.size,
|
|
151
|
+
state=self.state,
|
|
152
|
+
tcp_timeout_seconds=self.tcp_timeout_seconds,
|
|
153
|
+
type=self.type,
|
|
154
|
+
udp_timeout_seconds=self.udp_timeout_seconds,
|
|
155
|
+
updated_at=self.updated_at,
|
|
156
|
+
vpcs=self.vpcs)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def get_vpc_nat_gateway(id: Optional[builtins.str] = None,
|
|
160
|
+
name: Optional[builtins.str] = None,
|
|
161
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVpcNatGatewayResult:
|
|
162
|
+
"""
|
|
163
|
+
## Example Usage
|
|
164
|
+
|
|
165
|
+
Get the VPC NAT Gateway by name:
|
|
166
|
+
|
|
167
|
+
```python
|
|
168
|
+
import pulumi
|
|
169
|
+
import pulumi_digitalocean as digitalocean
|
|
170
|
+
|
|
171
|
+
my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(name=my_existing_vpc_nat_gateway["name"])
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Get the VPC NAT Gateway by ID:
|
|
175
|
+
|
|
176
|
+
```python
|
|
177
|
+
import pulumi
|
|
178
|
+
import pulumi_digitalocean as digitalocean
|
|
179
|
+
|
|
180
|
+
my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(id=my_existing_vpc_nat_gateway["id"])
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param builtins.str id: The ID of VPC NAT Gateway.
|
|
185
|
+
:param builtins.str name: The name of VPC NAT Gateway.
|
|
186
|
+
"""
|
|
187
|
+
__args__ = dict()
|
|
188
|
+
__args__['id'] = id
|
|
189
|
+
__args__['name'] = name
|
|
190
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
191
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getVpcNatGateway:getVpcNatGateway', __args__, opts=opts, typ=GetVpcNatGatewayResult).value
|
|
192
|
+
|
|
193
|
+
return AwaitableGetVpcNatGatewayResult(
|
|
194
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
195
|
+
egresses=pulumi.get(__ret__, 'egresses'),
|
|
196
|
+
icmp_timeout_seconds=pulumi.get(__ret__, 'icmp_timeout_seconds'),
|
|
197
|
+
id=pulumi.get(__ret__, 'id'),
|
|
198
|
+
name=pulumi.get(__ret__, 'name'),
|
|
199
|
+
region=pulumi.get(__ret__, 'region'),
|
|
200
|
+
size=pulumi.get(__ret__, 'size'),
|
|
201
|
+
state=pulumi.get(__ret__, 'state'),
|
|
202
|
+
tcp_timeout_seconds=pulumi.get(__ret__, 'tcp_timeout_seconds'),
|
|
203
|
+
type=pulumi.get(__ret__, 'type'),
|
|
204
|
+
udp_timeout_seconds=pulumi.get(__ret__, 'udp_timeout_seconds'),
|
|
205
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
206
|
+
vpcs=pulumi.get(__ret__, 'vpcs'))
|
|
207
|
+
def get_vpc_nat_gateway_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
208
|
+
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
209
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcNatGatewayResult]:
|
|
210
|
+
"""
|
|
211
|
+
## Example Usage
|
|
212
|
+
|
|
213
|
+
Get the VPC NAT Gateway by name:
|
|
214
|
+
|
|
215
|
+
```python
|
|
216
|
+
import pulumi
|
|
217
|
+
import pulumi_digitalocean as digitalocean
|
|
218
|
+
|
|
219
|
+
my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(name=my_existing_vpc_nat_gateway["name"])
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Get the VPC NAT Gateway by ID:
|
|
223
|
+
|
|
224
|
+
```python
|
|
225
|
+
import pulumi
|
|
226
|
+
import pulumi_digitalocean as digitalocean
|
|
227
|
+
|
|
228
|
+
my_imported_vpc_nat_gateway = digitalocean.get_vpc_nat_gateway(id=my_existing_vpc_nat_gateway["id"])
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
:param builtins.str id: The ID of VPC NAT Gateway.
|
|
233
|
+
:param builtins.str name: The name of VPC NAT Gateway.
|
|
234
|
+
"""
|
|
235
|
+
__args__ = dict()
|
|
236
|
+
__args__['id'] = id
|
|
237
|
+
__args__['name'] = name
|
|
238
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
239
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getVpcNatGateway:getVpcNatGateway', __args__, opts=opts, typ=GetVpcNatGatewayResult)
|
|
240
|
+
return __ret__.apply(lambda __response__: GetVpcNatGatewayResult(
|
|
241
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
242
|
+
egresses=pulumi.get(__response__, 'egresses'),
|
|
243
|
+
icmp_timeout_seconds=pulumi.get(__response__, 'icmp_timeout_seconds'),
|
|
244
|
+
id=pulumi.get(__response__, 'id'),
|
|
245
|
+
name=pulumi.get(__response__, 'name'),
|
|
246
|
+
region=pulumi.get(__response__, 'region'),
|
|
247
|
+
size=pulumi.get(__response__, 'size'),
|
|
248
|
+
state=pulumi.get(__response__, 'state'),
|
|
249
|
+
tcp_timeout_seconds=pulumi.get(__response__, 'tcp_timeout_seconds'),
|
|
250
|
+
type=pulumi.get(__response__, 'type'),
|
|
251
|
+
udp_timeout_seconds=pulumi.get(__response__, 'udp_timeout_seconds'),
|
|
252
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
253
|
+
vpcs=pulumi.get(__response__, 'vpcs')))
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -47,7 +47,9 @@ class KubernetesClusterArgs:
|
|
|
47
47
|
:param pulumi.Input[Union[builtins.str, 'Region']] region: The slug identifier for the region where the Kubernetes cluster will be created.
|
|
48
48
|
:param pulumi.Input[builtins.str] version: The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/doctl) to find the available versions `doctl kubernetes options versions`. (**Note:** A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.)
|
|
49
49
|
:param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
50
|
+
:param pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
50
51
|
:param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
52
|
+
:param pulumi.Input['KubernetesClusterControlPlaneFirewallArgs'] control_plane_firewall: A block representing the cluster's control plane firewall
|
|
51
53
|
:param pulumi.Input[builtins.bool] destroy_all_associated_resources: **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
|
|
52
54
|
:param pulumi.Input[builtins.bool] ha: Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
|
|
53
55
|
:param pulumi.Input[builtins.int] kubeconfig_expire_seconds: The duration in seconds that the returned Kubernetes credentials will be valid. If not set or 0, the credentials will have a 7 day expiry.
|
|
@@ -145,6 +147,9 @@ class KubernetesClusterArgs:
|
|
|
145
147
|
@property
|
|
146
148
|
@pulumi.getter(name="clusterAutoscalerConfigurations")
|
|
147
149
|
def cluster_autoscaler_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]]]:
|
|
150
|
+
"""
|
|
151
|
+
Block containing options for cluster auto-scaling.
|
|
152
|
+
"""
|
|
148
153
|
return pulumi.get(self, "cluster_autoscaler_configurations")
|
|
149
154
|
|
|
150
155
|
@cluster_autoscaler_configurations.setter
|
|
@@ -166,6 +171,9 @@ class KubernetesClusterArgs:
|
|
|
166
171
|
@property
|
|
167
172
|
@pulumi.getter(name="controlPlaneFirewall")
|
|
168
173
|
def control_plane_firewall(self) -> Optional[pulumi.Input['KubernetesClusterControlPlaneFirewallArgs']]:
|
|
174
|
+
"""
|
|
175
|
+
A block representing the cluster's control plane firewall
|
|
176
|
+
"""
|
|
169
177
|
return pulumi.get(self, "control_plane_firewall")
|
|
170
178
|
|
|
171
179
|
@control_plane_firewall.setter
|
|
@@ -336,8 +344,10 @@ class _KubernetesClusterState:
|
|
|
336
344
|
"""
|
|
337
345
|
Input properties used for looking up and filtering KubernetesCluster resources.
|
|
338
346
|
:param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
347
|
+
:param pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
339
348
|
:param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
340
349
|
:param pulumi.Input[builtins.str] cluster_urn: The uniform resource name (URN) for the Kubernetes cluster.
|
|
350
|
+
:param pulumi.Input['KubernetesClusterControlPlaneFirewallArgs'] control_plane_firewall: A block representing the cluster's control plane firewall
|
|
341
351
|
:param pulumi.Input[builtins.str] created_at: The date and time when the node was created.
|
|
342
352
|
:param pulumi.Input[builtins.bool] destroy_all_associated_resources: **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
|
|
343
353
|
:param pulumi.Input[builtins.str] endpoint: The base URL of the API server on the Kubernetes master node.
|
|
@@ -425,6 +435,9 @@ class _KubernetesClusterState:
|
|
|
425
435
|
@property
|
|
426
436
|
@pulumi.getter(name="clusterAutoscalerConfigurations")
|
|
427
437
|
def cluster_autoscaler_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesClusterClusterAutoscalerConfigurationArgs']]]]:
|
|
438
|
+
"""
|
|
439
|
+
Block containing options for cluster auto-scaling.
|
|
440
|
+
"""
|
|
428
441
|
return pulumi.get(self, "cluster_autoscaler_configurations")
|
|
429
442
|
|
|
430
443
|
@cluster_autoscaler_configurations.setter
|
|
@@ -458,6 +471,9 @@ class _KubernetesClusterState:
|
|
|
458
471
|
@property
|
|
459
472
|
@pulumi.getter(name="controlPlaneFirewall")
|
|
460
473
|
def control_plane_firewall(self) -> Optional[pulumi.Input['KubernetesClusterControlPlaneFirewallArgs']]:
|
|
474
|
+
"""
|
|
475
|
+
A block representing the cluster's control plane firewall
|
|
476
|
+
"""
|
|
461
477
|
return pulumi.get(self, "control_plane_firewall")
|
|
462
478
|
|
|
463
479
|
@control_plane_firewall.setter
|
|
@@ -760,7 +776,9 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
760
776
|
:param str resource_name: The name of the resource.
|
|
761
777
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
762
778
|
:param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
779
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
763
780
|
:param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
781
|
+
:param pulumi.Input[Union['KubernetesClusterControlPlaneFirewallArgs', 'KubernetesClusterControlPlaneFirewallArgsDict']] control_plane_firewall: A block representing the cluster's control plane firewall
|
|
764
782
|
:param pulumi.Input[builtins.bool] destroy_all_associated_resources: **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
|
|
765
783
|
:param pulumi.Input[builtins.bool] ha: Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
|
|
766
784
|
:param pulumi.Input[builtins.int] kubeconfig_expire_seconds: The duration in seconds that the returned Kubernetes credentials will be valid. If not set or 0, the credentials will have a 7 day expiry.
|
|
@@ -927,8 +945,10 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
927
945
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
928
946
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
929
947
|
:param pulumi.Input[builtins.bool] auto_upgrade: A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
|
|
948
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KubernetesClusterClusterAutoscalerConfigurationArgs', 'KubernetesClusterClusterAutoscalerConfigurationArgsDict']]]] cluster_autoscaler_configurations: Block containing options for cluster auto-scaling.
|
|
930
949
|
:param pulumi.Input[builtins.str] cluster_subnet: The range of IP addresses in the overlay network of the Kubernetes cluster. For more information, see [here](https://docs.digitalocean.com/products/kubernetes/how-to/create-clusters/#create-with-vpc-native).
|
|
931
950
|
:param pulumi.Input[builtins.str] cluster_urn: The uniform resource name (URN) for the Kubernetes cluster.
|
|
951
|
+
:param pulumi.Input[Union['KubernetesClusterControlPlaneFirewallArgs', 'KubernetesClusterControlPlaneFirewallArgsDict']] control_plane_firewall: A block representing the cluster's control plane firewall
|
|
932
952
|
:param pulumi.Input[builtins.str] created_at: The date and time when the node was created.
|
|
933
953
|
:param pulumi.Input[builtins.bool] destroy_all_associated_resources: **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
|
|
934
954
|
:param pulumi.Input[builtins.str] endpoint: The base URL of the API server on the Kubernetes master node.
|
|
@@ -992,6 +1012,9 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
992
1012
|
@property
|
|
993
1013
|
@pulumi.getter(name="clusterAutoscalerConfigurations")
|
|
994
1014
|
def cluster_autoscaler_configurations(self) -> pulumi.Output[Optional[Sequence['outputs.KubernetesClusterClusterAutoscalerConfiguration']]]:
|
|
1015
|
+
"""
|
|
1016
|
+
Block containing options for cluster auto-scaling.
|
|
1017
|
+
"""
|
|
995
1018
|
return pulumi.get(self, "cluster_autoscaler_configurations")
|
|
996
1019
|
|
|
997
1020
|
@property
|
|
@@ -1013,6 +1036,9 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1013
1036
|
@property
|
|
1014
1037
|
@pulumi.getter(name="controlPlaneFirewall")
|
|
1015
1038
|
def control_plane_firewall(self) -> pulumi.Output['outputs.KubernetesClusterControlPlaneFirewall']:
|
|
1039
|
+
"""
|
|
1040
|
+
A block representing the cluster's control plane firewall
|
|
1041
|
+
"""
|
|
1016
1042
|
return pulumi.get(self, "control_plane_firewall")
|
|
1017
1043
|
|
|
1018
1044
|
@property
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
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
5
|
import builtins
|