pulumi-digitalocean 4.36.0a1733315338__py3-none-any.whl → 4.37.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.
- pulumi_digitalocean/__init__.py +29 -0
- pulumi_digitalocean/_inputs.py +413 -0
- pulumi_digitalocean/droplet_autoscale.py +474 -0
- pulumi_digitalocean/get_account.py +2 -2
- pulumi_digitalocean/get_app.py +2 -2
- pulumi_digitalocean/get_certificate.py +2 -2
- pulumi_digitalocean/get_container_registry.py +2 -2
- pulumi_digitalocean/get_database_ca.py +2 -2
- pulumi_digitalocean/get_database_cluster.py +2 -2
- pulumi_digitalocean/get_database_connection_pool.py +2 -2
- pulumi_digitalocean/get_database_replica.py +2 -2
- pulumi_digitalocean/get_database_user.py +2 -2
- pulumi_digitalocean/get_domain.py +2 -2
- pulumi_digitalocean/get_domains.py +2 -2
- pulumi_digitalocean/get_droplet.py +2 -2
- pulumi_digitalocean/get_droplet_autoscale.py +197 -0
- pulumi_digitalocean/get_droplet_snapshot.py +2 -2
- pulumi_digitalocean/get_droplets.py +2 -2
- pulumi_digitalocean/get_firewall.py +2 -2
- pulumi_digitalocean/get_floating_ip.py +2 -2
- pulumi_digitalocean/get_image.py +2 -2
- pulumi_digitalocean/get_images.py +2 -2
- pulumi_digitalocean/get_kubernetes_cluster.py +2 -2
- pulumi_digitalocean/get_kubernetes_versions.py +2 -2
- pulumi_digitalocean/get_load_balancer.py +2 -2
- pulumi_digitalocean/get_project.py +2 -2
- pulumi_digitalocean/get_projects.py +2 -2
- pulumi_digitalocean/get_record.py +2 -2
- pulumi_digitalocean/get_records.py +2 -2
- pulumi_digitalocean/get_region.py +2 -2
- pulumi_digitalocean/get_regions.py +2 -2
- pulumi_digitalocean/get_reserved_ip.py +2 -2
- pulumi_digitalocean/get_reserved_ipv6.py +118 -0
- pulumi_digitalocean/get_sizes.py +2 -2
- pulumi_digitalocean/get_spaces_bucket.py +2 -2
- pulumi_digitalocean/get_spaces_bucket_object.py +2 -2
- pulumi_digitalocean/get_spaces_bucket_objects.py +2 -2
- pulumi_digitalocean/get_spaces_buckets.py +2 -2
- pulumi_digitalocean/get_ssh_key.py +2 -2
- pulumi_digitalocean/get_ssh_keys.py +2 -2
- pulumi_digitalocean/get_tag.py +2 -2
- pulumi_digitalocean/get_tags.py +2 -2
- pulumi_digitalocean/get_volume.py +2 -2
- pulumi_digitalocean/get_volume_snapshot.py +2 -2
- pulumi_digitalocean/get_vpc.py +2 -2
- pulumi_digitalocean/get_vpc_peering.py +2 -2
- pulumi_digitalocean/load_balancer.py +14 -21
- pulumi_digitalocean/outputs.py +520 -0
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ipv6.py +232 -0
- pulumi_digitalocean/reserved_ipv6_assignment.py +171 -0
- {pulumi_digitalocean-4.36.0a1733315338.dist-info → pulumi_digitalocean-4.37.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.37.0.dist-info/RECORD +108 -0
- pulumi_digitalocean-4.36.0a1733315338.dist-info/RECORD +0 -103
- {pulumi_digitalocean-4.36.0a1733315338.dist-info → pulumi_digitalocean-4.37.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.36.0a1733315338.dist-info → pulumi_digitalocean-4.37.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,118 @@
|
|
|
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 copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetReservedIpv6Result',
|
|
19
|
+
'AwaitableGetReservedIpv6Result',
|
|
20
|
+
'get_reserved_ipv6',
|
|
21
|
+
'get_reserved_ipv6_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetReservedIpv6Result:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getReservedIpv6.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, droplet_id=None, id=None, ip=None, region_slug=None, urn=None):
|
|
30
|
+
if droplet_id and not isinstance(droplet_id, int):
|
|
31
|
+
raise TypeError("Expected argument 'droplet_id' to be a int")
|
|
32
|
+
pulumi.set(__self__, "droplet_id", droplet_id)
|
|
33
|
+
if id and not isinstance(id, str):
|
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
35
|
+
pulumi.set(__self__, "id", id)
|
|
36
|
+
if ip and not isinstance(ip, str):
|
|
37
|
+
raise TypeError("Expected argument 'ip' to be a str")
|
|
38
|
+
pulumi.set(__self__, "ip", ip)
|
|
39
|
+
if region_slug and not isinstance(region_slug, str):
|
|
40
|
+
raise TypeError("Expected argument 'region_slug' to be a str")
|
|
41
|
+
pulumi.set(__self__, "region_slug", region_slug)
|
|
42
|
+
if urn and not isinstance(urn, str):
|
|
43
|
+
raise TypeError("Expected argument 'urn' to be a str")
|
|
44
|
+
pulumi.set(__self__, "urn", urn)
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
@pulumi.getter(name="dropletId")
|
|
48
|
+
def droplet_id(self) -> int:
|
|
49
|
+
return pulumi.get(self, "droplet_id")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def id(self) -> str:
|
|
54
|
+
"""
|
|
55
|
+
The provider-assigned unique ID for this managed resource.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "id")
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def ip(self) -> str:
|
|
62
|
+
return pulumi.get(self, "ip")
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter(name="regionSlug")
|
|
66
|
+
def region_slug(self) -> str:
|
|
67
|
+
return pulumi.get(self, "region_slug")
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def urn(self) -> str:
|
|
72
|
+
return pulumi.get(self, "urn")
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class AwaitableGetReservedIpv6Result(GetReservedIpv6Result):
|
|
76
|
+
# pylint: disable=using-constant-test
|
|
77
|
+
def __await__(self):
|
|
78
|
+
if False:
|
|
79
|
+
yield self
|
|
80
|
+
return GetReservedIpv6Result(
|
|
81
|
+
droplet_id=self.droplet_id,
|
|
82
|
+
id=self.id,
|
|
83
|
+
ip=self.ip,
|
|
84
|
+
region_slug=self.region_slug,
|
|
85
|
+
urn=self.urn)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def get_reserved_ipv6(ip: Optional[str] = None,
|
|
89
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReservedIpv6Result:
|
|
90
|
+
"""
|
|
91
|
+
Use this data source to access information about an existing resource.
|
|
92
|
+
"""
|
|
93
|
+
__args__ = dict()
|
|
94
|
+
__args__['ip'] = ip
|
|
95
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
96
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getReservedIpv6:getReservedIpv6', __args__, opts=opts, typ=GetReservedIpv6Result).value
|
|
97
|
+
|
|
98
|
+
return AwaitableGetReservedIpv6Result(
|
|
99
|
+
droplet_id=pulumi.get(__ret__, 'droplet_id'),
|
|
100
|
+
id=pulumi.get(__ret__, 'id'),
|
|
101
|
+
ip=pulumi.get(__ret__, 'ip'),
|
|
102
|
+
region_slug=pulumi.get(__ret__, 'region_slug'),
|
|
103
|
+
urn=pulumi.get(__ret__, 'urn'))
|
|
104
|
+
def get_reserved_ipv6_output(ip: Optional[pulumi.Input[str]] = None,
|
|
105
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetReservedIpv6Result]:
|
|
106
|
+
"""
|
|
107
|
+
Use this data source to access information about an existing resource.
|
|
108
|
+
"""
|
|
109
|
+
__args__ = dict()
|
|
110
|
+
__args__['ip'] = ip
|
|
111
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
112
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getReservedIpv6:getReservedIpv6', __args__, opts=opts, typ=GetReservedIpv6Result)
|
|
113
|
+
return __ret__.apply(lambda __response__: GetReservedIpv6Result(
|
|
114
|
+
droplet_id=pulumi.get(__response__, 'droplet_id'),
|
|
115
|
+
id=pulumi.get(__response__, 'id'),
|
|
116
|
+
ip=pulumi.get(__response__, 'ip'),
|
|
117
|
+
region_slug=pulumi.get(__response__, 'region_slug'),
|
|
118
|
+
urn=pulumi.get(__response__, 'urn')))
|
pulumi_digitalocean/get_sizes.py
CHANGED
|
@@ -105,7 +105,7 @@ def get_sizes(filters: Optional[Sequence[Union['GetSizesFilterArgs', 'GetSizesFi
|
|
|
105
105
|
sorts=pulumi.get(__ret__, 'sorts'))
|
|
106
106
|
def get_sizes_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSizesFilterArgs', 'GetSizesFilterArgsDict']]]]] = None,
|
|
107
107
|
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetSizesSortArgs', 'GetSizesSortArgsDict']]]]] = None,
|
|
108
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSizesResult]:
|
|
108
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSizesResult]:
|
|
109
109
|
"""
|
|
110
110
|
Retrieves information about the Droplet sizes that DigitalOcean supports, with
|
|
111
111
|
the ability to filter and sort the results. If no filters are specified, all sizes
|
|
@@ -120,7 +120,7 @@ def get_sizes_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['Get
|
|
|
120
120
|
__args__ = dict()
|
|
121
121
|
__args__['filters'] = filters
|
|
122
122
|
__args__['sorts'] = sorts
|
|
123
|
-
opts = pulumi.
|
|
123
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
124
124
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSizes:getSizes', __args__, opts=opts, typ=GetSizesResult)
|
|
125
125
|
return __ret__.apply(lambda __response__: GetSizesResult(
|
|
126
126
|
filters=pulumi.get(__response__, 'filters'),
|
|
@@ -148,7 +148,7 @@ def get_spaces_bucket(name: Optional[str] = None,
|
|
|
148
148
|
urn=pulumi.get(__ret__, 'urn'))
|
|
149
149
|
def get_spaces_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
|
150
150
|
region: Optional[pulumi.Input[str]] = None,
|
|
151
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpacesBucketResult]:
|
|
151
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketResult]:
|
|
152
152
|
"""
|
|
153
153
|
Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question
|
|
154
154
|
is not managed by the provider or you need to utilize any of the bucket's data.
|
|
@@ -173,7 +173,7 @@ def get_spaces_bucket_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
173
173
|
__args__ = dict()
|
|
174
174
|
__args__['name'] = name
|
|
175
175
|
__args__['region'] = region
|
|
176
|
-
opts = pulumi.
|
|
176
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
177
177
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSpacesBucket:getSpacesBucket', __args__, opts=opts, typ=GetSpacesBucketResult)
|
|
178
178
|
return __ret__.apply(lambda __response__: GetSpacesBucketResult(
|
|
179
179
|
bucket_domain_name=pulumi.get(__response__, 'bucket_domain_name'),
|
|
@@ -327,7 +327,7 @@ def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
|
327
327
|
range: Optional[pulumi.Input[Optional[str]]] = None,
|
|
328
328
|
region: Optional[pulumi.Input[str]] = None,
|
|
329
329
|
version_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
330
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpacesBucketObjectResult]:
|
|
330
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketObjectResult]:
|
|
331
331
|
"""
|
|
332
332
|
The Spaces object data source allows access to the metadata and
|
|
333
333
|
_optionally_ (see below) content of an object stored inside a Spaces bucket.
|
|
@@ -368,7 +368,7 @@ def get_spaces_bucket_object_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
|
368
368
|
__args__['range'] = range
|
|
369
369
|
__args__['region'] = region
|
|
370
370
|
__args__['versionId'] = version_id
|
|
371
|
-
opts = pulumi.
|
|
371
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
372
372
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSpacesBucketObject:getSpacesBucketObject', __args__, opts=opts, typ=GetSpacesBucketObjectResult)
|
|
373
373
|
return __ret__.apply(lambda __response__: GetSpacesBucketObjectResult(
|
|
374
374
|
body=pulumi.get(__response__, 'body'),
|
|
@@ -186,7 +186,7 @@ def get_spaces_bucket_objects_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
|
186
186
|
max_keys: Optional[pulumi.Input[Optional[int]]] = None,
|
|
187
187
|
prefix: Optional[pulumi.Input[Optional[str]]] = None,
|
|
188
188
|
region: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpacesBucketObjectsResult]:
|
|
189
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketObjectsResult]:
|
|
190
190
|
"""
|
|
191
191
|
> **NOTE on `max_keys`:** Retrieving very large numbers of keys can adversely affect the provider's performance.
|
|
192
192
|
|
|
@@ -207,7 +207,7 @@ def get_spaces_bucket_objects_output(bucket: Optional[pulumi.Input[str]] = None,
|
|
|
207
207
|
__args__['maxKeys'] = max_keys
|
|
208
208
|
__args__['prefix'] = prefix
|
|
209
209
|
__args__['region'] = region
|
|
210
|
-
opts = pulumi.
|
|
210
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
211
211
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSpacesBucketObjects:getSpacesBucketObjects', __args__, opts=opts, typ=GetSpacesBucketObjectsResult)
|
|
212
212
|
return __ret__.apply(lambda __response__: GetSpacesBucketObjectsResult(
|
|
213
213
|
bucket=pulumi.get(__response__, 'bucket'),
|
|
@@ -141,7 +141,7 @@ def get_spaces_buckets(filters: Optional[Sequence[Union['GetSpacesBucketsFilterA
|
|
|
141
141
|
sorts=pulumi.get(__ret__, 'sorts'))
|
|
142
142
|
def get_spaces_buckets_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSpacesBucketsFilterArgs', 'GetSpacesBucketsFilterArgsDict']]]]] = None,
|
|
143
143
|
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetSpacesBucketsSortArgs', 'GetSpacesBucketsSortArgsDict']]]]] = None,
|
|
144
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpacesBucketsResult]:
|
|
144
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSpacesBucketsResult]:
|
|
145
145
|
"""
|
|
146
146
|
Get information on Spaces buckets for use in other resources, with the ability to filter and sort the results.
|
|
147
147
|
If no filters are specified, all Spaces buckets will be returned.
|
|
@@ -189,7 +189,7 @@ def get_spaces_buckets_output(filters: Optional[pulumi.Input[Optional[Sequence[U
|
|
|
189
189
|
__args__ = dict()
|
|
190
190
|
__args__['filters'] = filters
|
|
191
191
|
__args__['sorts'] = sorts
|
|
192
|
-
opts = pulumi.
|
|
192
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
193
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSpacesBuckets:getSpacesBuckets', __args__, opts=opts, typ=GetSpacesBucketsResult)
|
|
194
194
|
return __ret__.apply(lambda __response__: GetSpacesBucketsResult(
|
|
195
195
|
buckets=pulumi.get(__response__, 'buckets'),
|
|
@@ -123,7 +123,7 @@ def get_ssh_key(name: Optional[str] = None,
|
|
|
123
123
|
name=pulumi.get(__ret__, 'name'),
|
|
124
124
|
public_key=pulumi.get(__ret__, 'public_key'))
|
|
125
125
|
def get_ssh_key_output(name: Optional[pulumi.Input[str]] = None,
|
|
126
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSshKeyResult]:
|
|
126
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSshKeyResult]:
|
|
127
127
|
"""
|
|
128
128
|
Get information on a ssh key. This data source provides the name, public key,
|
|
129
129
|
and fingerprint as configured on your DigitalOcean account. This is useful if
|
|
@@ -154,7 +154,7 @@ def get_ssh_key_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
154
154
|
"""
|
|
155
155
|
__args__ = dict()
|
|
156
156
|
__args__['name'] = name
|
|
157
|
-
opts = pulumi.
|
|
157
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
158
158
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSshKey:getSshKey', __args__, opts=opts, typ=GetSshKeyResult)
|
|
159
159
|
return __ret__.apply(lambda __response__: GetSshKeyResult(
|
|
160
160
|
fingerprint=pulumi.get(__response__, 'fingerprint'),
|
|
@@ -141,7 +141,7 @@ def get_ssh_keys(filters: Optional[Sequence[Union['GetSshKeysFilterArgs', 'GetSs
|
|
|
141
141
|
ssh_keys=pulumi.get(__ret__, 'ssh_keys'))
|
|
142
142
|
def get_ssh_keys_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSshKeysFilterArgs', 'GetSshKeysFilterArgsDict']]]]] = None,
|
|
143
143
|
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetSshKeysSortArgs', 'GetSshKeysSortArgsDict']]]]] = None,
|
|
144
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSshKeysResult]:
|
|
144
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSshKeysResult]:
|
|
145
145
|
"""
|
|
146
146
|
Get information on SSH Keys for use in other resources.
|
|
147
147
|
|
|
@@ -189,7 +189,7 @@ def get_ssh_keys_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['
|
|
|
189
189
|
__args__ = dict()
|
|
190
190
|
__args__['filters'] = filters
|
|
191
191
|
__args__['sorts'] = sorts
|
|
192
|
-
opts = pulumi.
|
|
192
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
193
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getSshKeys:getSshKeys', __args__, opts=opts, typ=GetSshKeysResult)
|
|
194
194
|
return __ret__.apply(lambda __response__: GetSshKeysResult(
|
|
195
195
|
filters=pulumi.get(__response__, 'filters'),
|
pulumi_digitalocean/get_tag.py
CHANGED
|
@@ -174,7 +174,7 @@ def get_tag(name: Optional[str] = None,
|
|
|
174
174
|
volume_snapshots_count=pulumi.get(__ret__, 'volume_snapshots_count'),
|
|
175
175
|
volumes_count=pulumi.get(__ret__, 'volumes_count'))
|
|
176
176
|
def get_tag_output(name: Optional[pulumi.Input[str]] = None,
|
|
177
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagResult]:
|
|
177
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagResult]:
|
|
178
178
|
"""
|
|
179
179
|
Get information on a tag. This data source provides the name as configured on
|
|
180
180
|
your DigitalOcean account. This is useful if the tag name in question is not
|
|
@@ -204,7 +204,7 @@ def get_tag_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
204
204
|
"""
|
|
205
205
|
__args__ = dict()
|
|
206
206
|
__args__['name'] = name
|
|
207
|
-
opts = pulumi.
|
|
207
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
208
208
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getTag:getTag', __args__, opts=opts, typ=GetTagResult)
|
|
209
209
|
return __ret__.apply(lambda __response__: GetTagResult(
|
|
210
210
|
databases_count=pulumi.get(__response__, 'databases_count'),
|
pulumi_digitalocean/get_tags.py
CHANGED
|
@@ -118,7 +118,7 @@ def get_tags(filters: Optional[Sequence[Union['GetTagsFilterArgs', 'GetTagsFilte
|
|
|
118
118
|
tags=pulumi.get(__ret__, 'tags'))
|
|
119
119
|
def get_tags_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetTagsFilterArgs', 'GetTagsFilterArgsDict']]]]] = None,
|
|
120
120
|
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetTagsSortArgs', 'GetTagsSortArgsDict']]]]] = None,
|
|
121
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagsResult]:
|
|
121
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagsResult]:
|
|
122
122
|
"""
|
|
123
123
|
Returns a list of tags in your DigitalOcean account, with the ability to
|
|
124
124
|
filter and sort the results. If no filters are specified, all tags will be
|
|
@@ -146,7 +146,7 @@ def get_tags_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetT
|
|
|
146
146
|
__args__ = dict()
|
|
147
147
|
__args__['filters'] = filters
|
|
148
148
|
__args__['sorts'] = sorts
|
|
149
|
-
opts = pulumi.
|
|
149
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
150
150
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getTags:getTags', __args__, opts=opts, typ=GetTagsResult)
|
|
151
151
|
return __ret__.apply(lambda __response__: GetTagsResult(
|
|
152
152
|
filters=pulumi.get(__response__, 'filters'),
|
|
@@ -219,7 +219,7 @@ def get_volume(description: Optional[str] = None,
|
|
|
219
219
|
def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None,
|
|
220
220
|
name: Optional[pulumi.Input[str]] = None,
|
|
221
221
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
222
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeResult]:
|
|
222
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]:
|
|
223
223
|
"""
|
|
224
224
|
Get information on a volume for use in other resources. This data source provides
|
|
225
225
|
all of the volumes properties as configured on your DigitalOcean account. This is
|
|
@@ -267,7 +267,7 @@ def get_volume_output(description: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
267
267
|
__args__['description'] = description
|
|
268
268
|
__args__['name'] = name
|
|
269
269
|
__args__['region'] = region
|
|
270
|
-
opts = pulumi.
|
|
270
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
271
271
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult)
|
|
272
272
|
return __ret__.apply(lambda __response__: GetVolumeResult(
|
|
273
273
|
description=pulumi.get(__response__, 'description'),
|
|
@@ -230,7 +230,7 @@ def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool]
|
|
|
230
230
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
231
231
|
name_regex: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
232
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
233
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeSnapshotResult]:
|
|
233
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeSnapshotResult]:
|
|
234
234
|
"""
|
|
235
235
|
Volume snapshots are saved instances of a block storage volume. Use this data
|
|
236
236
|
source to retrieve the ID of a DigitalOcean volume snapshot for use in other
|
|
@@ -280,7 +280,7 @@ def get_volume_snapshot_output(most_recent: Optional[pulumi.Input[Optional[bool]
|
|
|
280
280
|
__args__['name'] = name
|
|
281
281
|
__args__['nameRegex'] = name_regex
|
|
282
282
|
__args__['region'] = region
|
|
283
|
-
opts = pulumi.
|
|
283
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
284
284
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getVolumeSnapshot:getVolumeSnapshot', __args__, opts=opts, typ=GetVolumeSnapshotResult)
|
|
285
285
|
return __ret__.apply(lambda __response__: GetVolumeSnapshotResult(
|
|
286
286
|
created_at=pulumi.get(__response__, 'created_at'),
|
pulumi_digitalocean/get_vpc.py
CHANGED
|
@@ -197,7 +197,7 @@ def get_vpc(id: Optional[str] = None,
|
|
|
197
197
|
def get_vpc_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
198
198
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
199
199
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
200
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcResult]:
|
|
200
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcResult]:
|
|
201
201
|
"""
|
|
202
202
|
Retrieve information about a VPC for use in other resources.
|
|
203
203
|
|
|
@@ -243,7 +243,7 @@ def get_vpc_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
243
243
|
__args__['id'] = id
|
|
244
244
|
__args__['name'] = name
|
|
245
245
|
__args__['region'] = region
|
|
246
|
-
opts = pulumi.
|
|
246
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
247
247
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getVpc:getVpc', __args__, opts=opts, typ=GetVpcResult)
|
|
248
248
|
return __ret__.apply(lambda __response__: GetVpcResult(
|
|
249
249
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -173,7 +173,7 @@ def get_vpc_peering(id: Optional[str] = None,
|
|
|
173
173
|
def get_vpc_peering_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
174
174
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
175
175
|
vpc_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
176
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPeeringResult]:
|
|
176
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVpcPeeringResult]:
|
|
177
177
|
"""
|
|
178
178
|
## Example Usage
|
|
179
179
|
|
|
@@ -234,7 +234,7 @@ def get_vpc_peering_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
234
234
|
__args__['id'] = id
|
|
235
235
|
__args__['name'] = name
|
|
236
236
|
__args__['vpcIds'] = vpc_ids
|
|
237
|
-
opts = pulumi.
|
|
237
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
238
238
|
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getVpcPeering:getVpcPeering', __args__, opts=opts, typ=GetVpcPeeringResult)
|
|
239
239
|
return __ret__.apply(lambda __response__: GetVpcPeeringResult(
|
|
240
240
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -66,18 +66,17 @@ class LoadBalancerArgs:
|
|
|
66
66
|
:param pulumi.Input[int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
|
|
67
67
|
:param pulumi.Input[str] name: The Load Balancer name
|
|
68
68
|
:param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
|
|
69
|
-
**NOTE**: non-`EXTERNAL` type may be part of closed beta feature and not available for public use.
|
|
70
69
|
:param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
|
|
71
70
|
:param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
|
|
72
71
|
HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
|
|
73
72
|
Default value is `false`.
|
|
74
73
|
:param pulumi.Input[Union[str, 'Region']] region: The region to start in
|
|
75
74
|
:param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
|
|
76
|
-
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1,
|
|
75
|
+
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
|
|
77
76
|
:param pulumi.Input['LoadBalancerStickySessionsArgs'] sticky_sessions: A `sticky_sessions` block to be assigned to the
|
|
78
77
|
Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
|
|
79
78
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
|
|
80
|
-
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL` or `GLOBAL`. Defaults to `REGIONAL`.
|
|
79
|
+
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
|
|
81
80
|
**NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
|
|
82
81
|
:param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
|
|
83
82
|
"""
|
|
@@ -298,7 +297,6 @@ class LoadBalancerArgs:
|
|
|
298
297
|
def network(self) -> Optional[pulumi.Input[str]]:
|
|
299
298
|
"""
|
|
300
299
|
The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
|
|
301
|
-
**NOTE**: non-`EXTERNAL` type may be part of closed beta feature and not available for public use.
|
|
302
300
|
"""
|
|
303
301
|
return pulumi.get(self, "network")
|
|
304
302
|
|
|
@@ -360,7 +358,7 @@ class LoadBalancerArgs:
|
|
|
360
358
|
@pulumi.getter(name="sizeUnit")
|
|
361
359
|
def size_unit(self) -> Optional[pulumi.Input[int]]:
|
|
362
360
|
"""
|
|
363
|
-
The size of the Load Balancer. It must be in the range (1,
|
|
361
|
+
The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
|
|
364
362
|
"""
|
|
365
363
|
return pulumi.get(self, "size_unit")
|
|
366
364
|
|
|
@@ -397,7 +395,7 @@ class LoadBalancerArgs:
|
|
|
397
395
|
@pulumi.getter
|
|
398
396
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
399
397
|
"""
|
|
400
|
-
The type of the Load Balancer. It must be either of `REGIONAL` or `GLOBAL`. Defaults to `REGIONAL`.
|
|
398
|
+
The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
|
|
401
399
|
**NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
|
|
402
400
|
"""
|
|
403
401
|
return pulumi.get(self, "type")
|
|
@@ -472,18 +470,17 @@ class _LoadBalancerState:
|
|
|
472
470
|
:param pulumi.Input[str] load_balancer_urn: The uniform resource name for the Load Balancer
|
|
473
471
|
:param pulumi.Input[str] name: The Load Balancer name
|
|
474
472
|
:param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
|
|
475
|
-
**NOTE**: non-`EXTERNAL` type may be part of closed beta feature and not available for public use.
|
|
476
473
|
:param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
|
|
477
474
|
:param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
|
|
478
475
|
HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
|
|
479
476
|
Default value is `false`.
|
|
480
477
|
:param pulumi.Input[Union[str, 'Region']] region: The region to start in
|
|
481
478
|
:param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
|
|
482
|
-
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1,
|
|
479
|
+
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
|
|
483
480
|
:param pulumi.Input['LoadBalancerStickySessionsArgs'] sticky_sessions: A `sticky_sessions` block to be assigned to the
|
|
484
481
|
Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
|
|
485
482
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
|
|
486
|
-
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL` or `GLOBAL`. Defaults to `REGIONAL`.
|
|
483
|
+
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
|
|
487
484
|
**NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
|
|
488
485
|
:param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
|
|
489
486
|
"""
|
|
@@ -745,7 +742,6 @@ class _LoadBalancerState:
|
|
|
745
742
|
def network(self) -> Optional[pulumi.Input[str]]:
|
|
746
743
|
"""
|
|
747
744
|
The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
|
|
748
|
-
**NOTE**: non-`EXTERNAL` type may be part of closed beta feature and not available for public use.
|
|
749
745
|
"""
|
|
750
746
|
return pulumi.get(self, "network")
|
|
751
747
|
|
|
@@ -807,7 +803,7 @@ class _LoadBalancerState:
|
|
|
807
803
|
@pulumi.getter(name="sizeUnit")
|
|
808
804
|
def size_unit(self) -> Optional[pulumi.Input[int]]:
|
|
809
805
|
"""
|
|
810
|
-
The size of the Load Balancer. It must be in the range (1,
|
|
806
|
+
The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
|
|
811
807
|
"""
|
|
812
808
|
return pulumi.get(self, "size_unit")
|
|
813
809
|
|
|
@@ -853,7 +849,7 @@ class _LoadBalancerState:
|
|
|
853
849
|
@pulumi.getter
|
|
854
850
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
855
851
|
"""
|
|
856
|
-
The type of the Load Balancer. It must be either of `REGIONAL` or `GLOBAL`. Defaults to `REGIONAL`.
|
|
852
|
+
The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
|
|
857
853
|
**NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
|
|
858
854
|
"""
|
|
859
855
|
return pulumi.get(self, "type")
|
|
@@ -970,18 +966,17 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
970
966
|
:param pulumi.Input[int] http_idle_timeout_seconds: Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
|
|
971
967
|
:param pulumi.Input[str] name: The Load Balancer name
|
|
972
968
|
:param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
|
|
973
|
-
**NOTE**: non-`EXTERNAL` type may be part of closed beta feature and not available for public use.
|
|
974
969
|
:param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
|
|
975
970
|
:param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
|
|
976
971
|
HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
|
|
977
972
|
Default value is `false`.
|
|
978
973
|
:param pulumi.Input[Union[str, 'Region']] region: The region to start in
|
|
979
974
|
:param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
|
|
980
|
-
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1,
|
|
975
|
+
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
|
|
981
976
|
:param pulumi.Input[Union['LoadBalancerStickySessionsArgs', 'LoadBalancerStickySessionsArgsDict']] sticky_sessions: A `sticky_sessions` block to be assigned to the
|
|
982
977
|
Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
|
|
983
978
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
|
|
984
|
-
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL` or `GLOBAL`. Defaults to `REGIONAL`.
|
|
979
|
+
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
|
|
985
980
|
**NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
|
|
986
981
|
:param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
|
|
987
982
|
"""
|
|
@@ -1175,18 +1170,17 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1175
1170
|
:param pulumi.Input[str] load_balancer_urn: The uniform resource name for the Load Balancer
|
|
1176
1171
|
:param pulumi.Input[str] name: The Load Balancer name
|
|
1177
1172
|
:param pulumi.Input[str] network: The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
|
|
1178
|
-
**NOTE**: non-`EXTERNAL` type may be part of closed beta feature and not available for public use.
|
|
1179
1173
|
:param pulumi.Input[str] project_id: The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
|
|
1180
1174
|
:param pulumi.Input[bool] redirect_http_to_https: A boolean value indicating whether
|
|
1181
1175
|
HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
|
|
1182
1176
|
Default value is `false`.
|
|
1183
1177
|
:param pulumi.Input[Union[str, 'Region']] region: The region to start in
|
|
1184
1178
|
:param pulumi.Input[str] size: The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `size_unit` may be provided.
|
|
1185
|
-
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1,
|
|
1179
|
+
:param pulumi.Input[int] size_unit: The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
|
|
1186
1180
|
:param pulumi.Input[Union['LoadBalancerStickySessionsArgs', 'LoadBalancerStickySessionsArgsDict']] sticky_sessions: A `sticky_sessions` block to be assigned to the
|
|
1187
1181
|
Load Balancer. The `sticky_sessions` block is documented below. Only 1 sticky_sessions block is allowed.
|
|
1188
1182
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] target_load_balancer_ids: A list of Load Balancer IDs to be attached behind a Global Load Balancer.
|
|
1189
|
-
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL` or `GLOBAL`. Defaults to `REGIONAL`.
|
|
1183
|
+
:param pulumi.Input[str] type: The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
|
|
1190
1184
|
**NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
|
|
1191
1185
|
:param pulumi.Input[str] vpc_uuid: The ID of the VPC where the load balancer will be located.
|
|
1192
1186
|
"""
|
|
@@ -1359,7 +1353,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1359
1353
|
def network(self) -> pulumi.Output[Optional[str]]:
|
|
1360
1354
|
"""
|
|
1361
1355
|
The type of network the Load Balancer is accessible from. It must be either of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
|
|
1362
|
-
**NOTE**: non-`EXTERNAL` type may be part of closed beta feature and not available for public use.
|
|
1363
1356
|
"""
|
|
1364
1357
|
return pulumi.get(self, "network")
|
|
1365
1358
|
|
|
@@ -1401,7 +1394,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1401
1394
|
@pulumi.getter(name="sizeUnit")
|
|
1402
1395
|
def size_unit(self) -> pulumi.Output[int]:
|
|
1403
1396
|
"""
|
|
1404
|
-
The size of the Load Balancer. It must be in the range (1,
|
|
1397
|
+
The size of the Load Balancer. It must be in the range (1, 200). Defaults to `1`. Only one of `size` or `size_unit` may be provided.
|
|
1405
1398
|
"""
|
|
1406
1399
|
return pulumi.get(self, "size_unit")
|
|
1407
1400
|
|
|
@@ -1431,7 +1424,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1431
1424
|
@pulumi.getter
|
|
1432
1425
|
def type(self) -> pulumi.Output[Optional[str]]:
|
|
1433
1426
|
"""
|
|
1434
|
-
The type of the Load Balancer. It must be either of `REGIONAL` or `GLOBAL`. Defaults to `REGIONAL`.
|
|
1427
|
+
The type of the Load Balancer. It must be either of `REGIONAL`, `REGIONAL_NETWORK`, or `GLOBAL`. Defaults to `REGIONAL`.
|
|
1435
1428
|
**NOTE**: non-`REGIONAL/GLOBAL` type may be part of closed beta feature and not available for public use.
|
|
1436
1429
|
"""
|
|
1437
1430
|
return pulumi.get(self, "type")
|