pulumiverse-scaleway 1.20.0__py3-none-any.whl → 1.20.0a1730626307__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 pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +0 -28
- pulumiverse_scaleway/_inputs.py +0 -335
- pulumiverse_scaleway/baremetal_server.py +12 -94
- pulumiverse_scaleway/instance_server.py +7 -21
- pulumiverse_scaleway/iot_network.py +0 -47
- pulumiverse_scaleway/iot_route.py +2 -2
- pulumiverse_scaleway/ipam_ip.py +0 -91
- pulumiverse_scaleway/object_bucket.py +9 -9
- pulumiverse_scaleway/outputs.py +4 -325
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- {pulumiverse_scaleway-1.20.0.dist-info → pulumiverse_scaleway-1.20.0a1730626307.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.20.0.dist-info → pulumiverse_scaleway-1.20.0a1730626307.dist-info}/RECORD +14 -18
- pulumiverse_scaleway/get_mongo_db_instance.py +0 -324
- pulumiverse_scaleway/inference_deployment.py +0 -822
- pulumiverse_scaleway/mongo_db_instance.py +0 -907
- pulumiverse_scaleway/mongo_db_snapshot.py +0 -521
- {pulumiverse_scaleway-1.20.0.dist-info → pulumiverse_scaleway-1.20.0a1730626307.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.20.0.dist-info → pulumiverse_scaleway-1.20.0a1730626307.dist-info}/top_level.txt +0 -0
|
@@ -59,7 +59,7 @@ class InstanceServerArgs:
|
|
|
59
59
|
|
|
60
60
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
|
61
61
|
:param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
|
62
|
-
:param pulumi.Input[str] bootscript_id: ID of the
|
|
62
|
+
:param pulumi.Input[str] bootscript_id: The ID of the bootscript to use (set boot_type to `bootscript`).
|
|
63
63
|
:param pulumi.Input[str] cloud_init: The cloud init script associated with this server
|
|
64
64
|
:param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
65
65
|
:param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
|
|
@@ -138,9 +138,6 @@ class InstanceServerArgs:
|
|
|
138
138
|
pulumi.set(__self__, "replace_on_type_change", replace_on_type_change)
|
|
139
139
|
if root_volume is not None:
|
|
140
140
|
pulumi.set(__self__, "root_volume", root_volume)
|
|
141
|
-
if routed_ip_enabled is not None:
|
|
142
|
-
warnings.warn("""Routed IP is the default configuration, it should always be true""", DeprecationWarning)
|
|
143
|
-
pulumi.log.warn("""routed_ip_enabled is deprecated: Routed IP is the default configuration, it should always be true""")
|
|
144
141
|
if routed_ip_enabled is not None:
|
|
145
142
|
pulumi.set(__self__, "routed_ip_enabled", routed_ip_enabled)
|
|
146
143
|
if security_group_id is not None:
|
|
@@ -205,7 +202,7 @@ class InstanceServerArgs:
|
|
|
205
202
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
|
206
203
|
def bootscript_id(self) -> Optional[pulumi.Input[str]]:
|
|
207
204
|
"""
|
|
208
|
-
ID of the
|
|
205
|
+
The ID of the bootscript to use (set boot_type to `bootscript`).
|
|
209
206
|
"""
|
|
210
207
|
return pulumi.get(self, "bootscript_id")
|
|
211
208
|
|
|
@@ -384,7 +381,6 @@ class InstanceServerArgs:
|
|
|
384
381
|
|
|
385
382
|
@property
|
|
386
383
|
@pulumi.getter(name="routedIpEnabled")
|
|
387
|
-
@_utilities.deprecated("""Routed IP is the default configuration, it should always be true""")
|
|
388
384
|
def routed_ip_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
389
385
|
"""
|
|
390
386
|
If true, the server will support routed ips only. Changing it to true will migrate the server and its IP to routed type.
|
|
@@ -505,7 +501,7 @@ class _InstanceServerState:
|
|
|
505
501
|
|
|
506
502
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
|
507
503
|
:param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
|
508
|
-
:param pulumi.Input[str] bootscript_id: ID of the
|
|
504
|
+
:param pulumi.Input[str] bootscript_id: The ID of the bootscript to use (set boot_type to `bootscript`).
|
|
509
505
|
:param pulumi.Input[str] cloud_init: The cloud init script associated with this server
|
|
510
506
|
:param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
511
507
|
:param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
|
|
@@ -595,9 +591,6 @@ class _InstanceServerState:
|
|
|
595
591
|
pulumi.log.warn("""ipv6_gateway is deprecated: Please use a InstanceIp with a `routed_ipv6` type""")
|
|
596
592
|
if ipv6_gateway is not None:
|
|
597
593
|
pulumi.set(__self__, "ipv6_gateway", ipv6_gateway)
|
|
598
|
-
if ipv6_prefix_length is not None:
|
|
599
|
-
warnings.warn("""Please use a InstanceIp with a `routed_ipv6` type""", DeprecationWarning)
|
|
600
|
-
pulumi.log.warn("""ipv6_prefix_length is deprecated: Please use a InstanceIp with a `routed_ipv6` type""")
|
|
601
594
|
if ipv6_prefix_length is not None:
|
|
602
595
|
pulumi.set(__self__, "ipv6_prefix_length", ipv6_prefix_length)
|
|
603
596
|
if name is not None:
|
|
@@ -625,9 +618,6 @@ class _InstanceServerState:
|
|
|
625
618
|
pulumi.set(__self__, "replace_on_type_change", replace_on_type_change)
|
|
626
619
|
if root_volume is not None:
|
|
627
620
|
pulumi.set(__self__, "root_volume", root_volume)
|
|
628
|
-
if routed_ip_enabled is not None:
|
|
629
|
-
warnings.warn("""Routed IP is the default configuration, it should always be true""", DeprecationWarning)
|
|
630
|
-
pulumi.log.warn("""routed_ip_enabled is deprecated: Routed IP is the default configuration, it should always be true""")
|
|
631
621
|
if routed_ip_enabled is not None:
|
|
632
622
|
pulumi.set(__self__, "routed_ip_enabled", routed_ip_enabled)
|
|
633
623
|
if security_group_id is not None:
|
|
@@ -677,7 +667,7 @@ class _InstanceServerState:
|
|
|
677
667
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
|
678
668
|
def bootscript_id(self) -> Optional[pulumi.Input[str]]:
|
|
679
669
|
"""
|
|
680
|
-
ID of the
|
|
670
|
+
The ID of the bootscript to use (set boot_type to `bootscript`).
|
|
681
671
|
"""
|
|
682
672
|
return pulumi.get(self, "bootscript_id")
|
|
683
673
|
|
|
@@ -796,7 +786,6 @@ class _InstanceServerState:
|
|
|
796
786
|
|
|
797
787
|
@property
|
|
798
788
|
@pulumi.getter(name="ipv6PrefixLength")
|
|
799
|
-
@_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
|
|
800
789
|
def ipv6_prefix_length(self) -> Optional[pulumi.Input[int]]:
|
|
801
790
|
"""
|
|
802
791
|
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
@@ -947,7 +936,6 @@ class _InstanceServerState:
|
|
|
947
936
|
|
|
948
937
|
@property
|
|
949
938
|
@pulumi.getter(name="routedIpEnabled")
|
|
950
|
-
@_utilities.deprecated("""Routed IP is the default configuration, it should always be true""")
|
|
951
939
|
def routed_ip_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
952
940
|
"""
|
|
953
941
|
If true, the server will support routed ips only. Changing it to true will migrate the server and its IP to routed type.
|
|
@@ -1264,7 +1252,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1264
1252
|
|
|
1265
1253
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
|
1266
1254
|
:param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
|
1267
|
-
:param pulumi.Input[str] bootscript_id: ID of the
|
|
1255
|
+
:param pulumi.Input[str] bootscript_id: The ID of the bootscript to use (set boot_type to `bootscript`).
|
|
1268
1256
|
:param pulumi.Input[str] cloud_init: The cloud init script associated with this server
|
|
1269
1257
|
:param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
1270
1258
|
:param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
|
|
@@ -1632,7 +1620,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1632
1620
|
|
|
1633
1621
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
|
1634
1622
|
:param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
|
1635
|
-
:param pulumi.Input[str] bootscript_id: ID of the
|
|
1623
|
+
:param pulumi.Input[str] bootscript_id: The ID of the bootscript to use (set boot_type to `bootscript`).
|
|
1636
1624
|
:param pulumi.Input[str] cloud_init: The cloud init script associated with this server
|
|
1637
1625
|
:param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
1638
1626
|
:param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
|
|
@@ -1750,7 +1738,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1750
1738
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
|
1751
1739
|
def bootscript_id(self) -> pulumi.Output[str]:
|
|
1752
1740
|
"""
|
|
1753
|
-
ID of the
|
|
1741
|
+
The ID of the bootscript to use (set boot_type to `bootscript`).
|
|
1754
1742
|
"""
|
|
1755
1743
|
return pulumi.get(self, "bootscript_id")
|
|
1756
1744
|
|
|
@@ -1833,7 +1821,6 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1833
1821
|
|
|
1834
1822
|
@property
|
|
1835
1823
|
@pulumi.getter(name="ipv6PrefixLength")
|
|
1836
|
-
@_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
|
|
1837
1824
|
def ipv6_prefix_length(self) -> pulumi.Output[int]:
|
|
1838
1825
|
"""
|
|
1839
1826
|
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
@@ -1936,7 +1923,6 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1936
1923
|
|
|
1937
1924
|
@property
|
|
1938
1925
|
@pulumi.getter(name="routedIpEnabled")
|
|
1939
|
-
@_utilities.deprecated("""Routed IP is the default configuration, it should always be true""")
|
|
1940
1926
|
def routed_ip_enabled(self) -> pulumi.Output[bool]:
|
|
1941
1927
|
"""
|
|
1942
1928
|
If true, the server will support routed ips only. Changing it to true will migrate the server and its IP to routed type.
|
|
@@ -22,22 +22,18 @@ class IotNetworkArgs:
|
|
|
22
22
|
hub_id: pulumi.Input[str],
|
|
23
23
|
type: pulumi.Input[str],
|
|
24
24
|
name: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
26
25
|
topic_prefix: Optional[pulumi.Input[str]] = None):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a IotNetwork resource.
|
|
29
28
|
:param pulumi.Input[str] hub_id: The hub ID to which the Network will be attached to.
|
|
30
29
|
:param pulumi.Input[str] type: The network type to create (e.g. `sigfox`).
|
|
31
30
|
:param pulumi.Input[str] name: The name of the IoT Network you want to create (e.g. `my-net`).
|
|
32
|
-
:param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the Network is attached to.
|
|
33
31
|
:param pulumi.Input[str] topic_prefix: The prefix that will be prepended to all topics for this Network.
|
|
34
32
|
"""
|
|
35
33
|
pulumi.set(__self__, "hub_id", hub_id)
|
|
36
34
|
pulumi.set(__self__, "type", type)
|
|
37
35
|
if name is not None:
|
|
38
36
|
pulumi.set(__self__, "name", name)
|
|
39
|
-
if region is not None:
|
|
40
|
-
pulumi.set(__self__, "region", region)
|
|
41
37
|
if topic_prefix is not None:
|
|
42
38
|
pulumi.set(__self__, "topic_prefix", topic_prefix)
|
|
43
39
|
|
|
@@ -77,18 +73,6 @@ class IotNetworkArgs:
|
|
|
77
73
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
78
74
|
pulumi.set(self, "name", value)
|
|
79
75
|
|
|
80
|
-
@property
|
|
81
|
-
@pulumi.getter
|
|
82
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
|
83
|
-
"""
|
|
84
|
-
(Defaults to provider `region`) The region in which the Network is attached to.
|
|
85
|
-
"""
|
|
86
|
-
return pulumi.get(self, "region")
|
|
87
|
-
|
|
88
|
-
@region.setter
|
|
89
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
|
90
|
-
pulumi.set(self, "region", value)
|
|
91
|
-
|
|
92
76
|
@property
|
|
93
77
|
@pulumi.getter(name="topicPrefix")
|
|
94
78
|
def topic_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -109,7 +93,6 @@ class _IotNetworkState:
|
|
|
109
93
|
endpoint: Optional[pulumi.Input[str]] = None,
|
|
110
94
|
hub_id: Optional[pulumi.Input[str]] = None,
|
|
111
95
|
name: Optional[pulumi.Input[str]] = None,
|
|
112
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
113
96
|
secret: Optional[pulumi.Input[str]] = None,
|
|
114
97
|
topic_prefix: Optional[pulumi.Input[str]] = None,
|
|
115
98
|
type: Optional[pulumi.Input[str]] = None):
|
|
@@ -119,7 +102,6 @@ class _IotNetworkState:
|
|
|
119
102
|
:param pulumi.Input[str] endpoint: The endpoint to use when interacting with the network.
|
|
120
103
|
:param pulumi.Input[str] hub_id: The hub ID to which the Network will be attached to.
|
|
121
104
|
:param pulumi.Input[str] name: The name of the IoT Network you want to create (e.g. `my-net`).
|
|
122
|
-
:param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the Network is attached to.
|
|
123
105
|
:param pulumi.Input[str] secret: The endpoint key to keep secret.
|
|
124
106
|
:param pulumi.Input[str] topic_prefix: The prefix that will be prepended to all topics for this Network.
|
|
125
107
|
:param pulumi.Input[str] type: The network type to create (e.g. `sigfox`).
|
|
@@ -132,8 +114,6 @@ class _IotNetworkState:
|
|
|
132
114
|
pulumi.set(__self__, "hub_id", hub_id)
|
|
133
115
|
if name is not None:
|
|
134
116
|
pulumi.set(__self__, "name", name)
|
|
135
|
-
if region is not None:
|
|
136
|
-
pulumi.set(__self__, "region", region)
|
|
137
117
|
if secret is not None:
|
|
138
118
|
pulumi.set(__self__, "secret", secret)
|
|
139
119
|
if topic_prefix is not None:
|
|
@@ -189,18 +169,6 @@ class _IotNetworkState:
|
|
|
189
169
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
190
170
|
pulumi.set(self, "name", value)
|
|
191
171
|
|
|
192
|
-
@property
|
|
193
|
-
@pulumi.getter
|
|
194
|
-
def region(self) -> Optional[pulumi.Input[str]]:
|
|
195
|
-
"""
|
|
196
|
-
(Defaults to provider `region`) The region in which the Network is attached to.
|
|
197
|
-
"""
|
|
198
|
-
return pulumi.get(self, "region")
|
|
199
|
-
|
|
200
|
-
@region.setter
|
|
201
|
-
def region(self, value: Optional[pulumi.Input[str]]):
|
|
202
|
-
pulumi.set(self, "region", value)
|
|
203
|
-
|
|
204
172
|
@property
|
|
205
173
|
@pulumi.getter
|
|
206
174
|
def secret(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -245,7 +213,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
245
213
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
246
214
|
hub_id: Optional[pulumi.Input[str]] = None,
|
|
247
215
|
name: Optional[pulumi.Input[str]] = None,
|
|
248
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
249
216
|
topic_prefix: Optional[pulumi.Input[str]] = None,
|
|
250
217
|
type: Optional[pulumi.Input[str]] = None,
|
|
251
218
|
__props__=None):
|
|
@@ -279,7 +246,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
279
246
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
280
247
|
:param pulumi.Input[str] hub_id: The hub ID to which the Network will be attached to.
|
|
281
248
|
:param pulumi.Input[str] name: The name of the IoT Network you want to create (e.g. `my-net`).
|
|
282
|
-
:param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the Network is attached to.
|
|
283
249
|
:param pulumi.Input[str] topic_prefix: The prefix that will be prepended to all topics for this Network.
|
|
284
250
|
:param pulumi.Input[str] type: The network type to create (e.g. `sigfox`).
|
|
285
251
|
"""
|
|
@@ -332,7 +298,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
332
298
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
333
299
|
hub_id: Optional[pulumi.Input[str]] = None,
|
|
334
300
|
name: Optional[pulumi.Input[str]] = None,
|
|
335
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
336
301
|
topic_prefix: Optional[pulumi.Input[str]] = None,
|
|
337
302
|
type: Optional[pulumi.Input[str]] = None,
|
|
338
303
|
__props__=None):
|
|
@@ -348,7 +313,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
348
313
|
raise TypeError("Missing required property 'hub_id'")
|
|
349
314
|
__props__.__dict__["hub_id"] = hub_id
|
|
350
315
|
__props__.__dict__["name"] = name
|
|
351
|
-
__props__.__dict__["region"] = region
|
|
352
316
|
__props__.__dict__["topic_prefix"] = topic_prefix
|
|
353
317
|
if type is None and not opts.urn:
|
|
354
318
|
raise TypeError("Missing required property 'type'")
|
|
@@ -372,7 +336,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
372
336
|
endpoint: Optional[pulumi.Input[str]] = None,
|
|
373
337
|
hub_id: Optional[pulumi.Input[str]] = None,
|
|
374
338
|
name: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
region: Optional[pulumi.Input[str]] = None,
|
|
376
339
|
secret: Optional[pulumi.Input[str]] = None,
|
|
377
340
|
topic_prefix: Optional[pulumi.Input[str]] = None,
|
|
378
341
|
type: Optional[pulumi.Input[str]] = None) -> 'IotNetwork':
|
|
@@ -387,7 +350,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
387
350
|
:param pulumi.Input[str] endpoint: The endpoint to use when interacting with the network.
|
|
388
351
|
:param pulumi.Input[str] hub_id: The hub ID to which the Network will be attached to.
|
|
389
352
|
:param pulumi.Input[str] name: The name of the IoT Network you want to create (e.g. `my-net`).
|
|
390
|
-
:param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the Network is attached to.
|
|
391
353
|
:param pulumi.Input[str] secret: The endpoint key to keep secret.
|
|
392
354
|
:param pulumi.Input[str] topic_prefix: The prefix that will be prepended to all topics for this Network.
|
|
393
355
|
:param pulumi.Input[str] type: The network type to create (e.g. `sigfox`).
|
|
@@ -400,7 +362,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
400
362
|
__props__.__dict__["endpoint"] = endpoint
|
|
401
363
|
__props__.__dict__["hub_id"] = hub_id
|
|
402
364
|
__props__.__dict__["name"] = name
|
|
403
|
-
__props__.__dict__["region"] = region
|
|
404
365
|
__props__.__dict__["secret"] = secret
|
|
405
366
|
__props__.__dict__["topic_prefix"] = topic_prefix
|
|
406
367
|
__props__.__dict__["type"] = type
|
|
@@ -438,14 +399,6 @@ class IotNetwork(pulumi.CustomResource):
|
|
|
438
399
|
"""
|
|
439
400
|
return pulumi.get(self, "name")
|
|
440
401
|
|
|
441
|
-
@property
|
|
442
|
-
@pulumi.getter
|
|
443
|
-
def region(self) -> pulumi.Output[str]:
|
|
444
|
-
"""
|
|
445
|
-
(Defaults to provider `region`) The region in which the Network is attached to.
|
|
446
|
-
"""
|
|
447
|
-
return pulumi.get(self, "region")
|
|
448
|
-
|
|
449
402
|
@property
|
|
450
403
|
@pulumi.getter
|
|
451
404
|
def secret(self) -> pulumi.Output[str]:
|
|
@@ -371,7 +371,7 @@ class IotRoute(pulumi.CustomResource):
|
|
|
371
371
|
"verb": "get",
|
|
372
372
|
"uri": "http://scaleway.com",
|
|
373
373
|
"headers": {
|
|
374
|
-
"
|
|
374
|
+
"x_awesome_header": "my-awesome-value",
|
|
375
375
|
},
|
|
376
376
|
})
|
|
377
377
|
```
|
|
@@ -488,7 +488,7 @@ class IotRoute(pulumi.CustomResource):
|
|
|
488
488
|
"verb": "get",
|
|
489
489
|
"uri": "http://scaleway.com",
|
|
490
490
|
"headers": {
|
|
491
|
-
"
|
|
491
|
+
"x_awesome_header": "my-awesome-value",
|
|
492
492
|
},
|
|
493
493
|
})
|
|
494
494
|
```
|
pulumiverse_scaleway/ipam_ip.py
CHANGED
|
@@ -23,7 +23,6 @@ class IpamIpArgs:
|
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
sources: pulumi.Input[Sequence[pulumi.Input['IpamIpSourceArgs']]],
|
|
25
25
|
address: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
custom_resources: Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]]] = None,
|
|
27
26
|
is_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
28
27
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
29
28
|
region: Optional[pulumi.Input[str]] = None,
|
|
@@ -32,7 +31,6 @@ class IpamIpArgs:
|
|
|
32
31
|
The set of arguments for constructing a IpamIp resource.
|
|
33
32
|
:param pulumi.Input[Sequence[pulumi.Input['IpamIpSourceArgs']]] sources: The source in which to book the IP.
|
|
34
33
|
:param pulumi.Input[str] address: Request a specific IP in the requested source pool
|
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]] custom_resources: The custom resource in which to book the IP
|
|
36
34
|
:param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4.
|
|
37
35
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with.
|
|
38
36
|
:param pulumi.Input[str] region: `region`) The region of the IP.
|
|
@@ -41,8 +39,6 @@ class IpamIpArgs:
|
|
|
41
39
|
pulumi.set(__self__, "sources", sources)
|
|
42
40
|
if address is not None:
|
|
43
41
|
pulumi.set(__self__, "address", address)
|
|
44
|
-
if custom_resources is not None:
|
|
45
|
-
pulumi.set(__self__, "custom_resources", custom_resources)
|
|
46
42
|
if is_ipv6 is not None:
|
|
47
43
|
pulumi.set(__self__, "is_ipv6", is_ipv6)
|
|
48
44
|
if project_id is not None:
|
|
@@ -76,18 +72,6 @@ class IpamIpArgs:
|
|
|
76
72
|
def address(self, value: Optional[pulumi.Input[str]]):
|
|
77
73
|
pulumi.set(self, "address", value)
|
|
78
74
|
|
|
79
|
-
@property
|
|
80
|
-
@pulumi.getter(name="customResources")
|
|
81
|
-
def custom_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]]]:
|
|
82
|
-
"""
|
|
83
|
-
The custom resource in which to book the IP
|
|
84
|
-
"""
|
|
85
|
-
return pulumi.get(self, "custom_resources")
|
|
86
|
-
|
|
87
|
-
@custom_resources.setter
|
|
88
|
-
def custom_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]]]):
|
|
89
|
-
pulumi.set(self, "custom_resources", value)
|
|
90
|
-
|
|
91
75
|
@property
|
|
92
76
|
@pulumi.getter(name="isIpv6")
|
|
93
77
|
def is_ipv6(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -142,7 +126,6 @@ class _IpamIpState:
|
|
|
142
126
|
def __init__(__self__, *,
|
|
143
127
|
address: Optional[pulumi.Input[str]] = None,
|
|
144
128
|
created_at: Optional[pulumi.Input[str]] = None,
|
|
145
|
-
custom_resources: Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]]] = None,
|
|
146
129
|
is_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
147
130
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
148
131
|
region: Optional[pulumi.Input[str]] = None,
|
|
@@ -156,7 +139,6 @@ class _IpamIpState:
|
|
|
156
139
|
Input properties used for looking up and filtering IpamIp resources.
|
|
157
140
|
:param pulumi.Input[str] address: Request a specific IP in the requested source pool
|
|
158
141
|
:param pulumi.Input[str] created_at: Date and time of IP's creation (RFC 3339 format).
|
|
159
|
-
:param pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]] custom_resources: The custom resource in which to book the IP
|
|
160
142
|
:param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4.
|
|
161
143
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with.
|
|
162
144
|
:param pulumi.Input[str] region: `region`) The region of the IP.
|
|
@@ -171,8 +153,6 @@ class _IpamIpState:
|
|
|
171
153
|
pulumi.set(__self__, "address", address)
|
|
172
154
|
if created_at is not None:
|
|
173
155
|
pulumi.set(__self__, "created_at", created_at)
|
|
174
|
-
if custom_resources is not None:
|
|
175
|
-
pulumi.set(__self__, "custom_resources", custom_resources)
|
|
176
156
|
if is_ipv6 is not None:
|
|
177
157
|
pulumi.set(__self__, "is_ipv6", is_ipv6)
|
|
178
158
|
if project_id is not None:
|
|
@@ -216,18 +196,6 @@ class _IpamIpState:
|
|
|
216
196
|
def created_at(self, value: Optional[pulumi.Input[str]]):
|
|
217
197
|
pulumi.set(self, "created_at", value)
|
|
218
198
|
|
|
219
|
-
@property
|
|
220
|
-
@pulumi.getter(name="customResources")
|
|
221
|
-
def custom_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]]]:
|
|
222
|
-
"""
|
|
223
|
-
The custom resource in which to book the IP
|
|
224
|
-
"""
|
|
225
|
-
return pulumi.get(self, "custom_resources")
|
|
226
|
-
|
|
227
|
-
@custom_resources.setter
|
|
228
|
-
def custom_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IpamIpCustomResourceArgs']]]]):
|
|
229
|
-
pulumi.set(self, "custom_resources", value)
|
|
230
|
-
|
|
231
199
|
@property
|
|
232
200
|
@pulumi.getter(name="isIpv6")
|
|
233
201
|
def is_ipv6(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -343,7 +311,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
343
311
|
resource_name: str,
|
|
344
312
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
345
313
|
address: Optional[pulumi.Input[str]] = None,
|
|
346
|
-
custom_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IpamIpCustomResourceArgs', 'IpamIpCustomResourceArgsDict']]]]] = None,
|
|
347
314
|
is_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
348
315
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
349
316
|
region: Optional[pulumi.Input[str]] = None,
|
|
@@ -412,28 +379,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
412
379
|
}])
|
|
413
380
|
```
|
|
414
381
|
|
|
415
|
-
### Book an IP for a custom resource
|
|
416
|
-
|
|
417
|
-
```python
|
|
418
|
-
import pulumi
|
|
419
|
-
import pulumiverse_scaleway as scaleway
|
|
420
|
-
|
|
421
|
-
vpc01 = scaleway.Vpc("vpc01", name="my vpc")
|
|
422
|
-
pn01 = scaleway.VpcPrivateNetwork("pn01",
|
|
423
|
-
vpc_id=vpc01.id,
|
|
424
|
-
ipv4_subnet={
|
|
425
|
-
"subnet": "172.16.32.0/22",
|
|
426
|
-
})
|
|
427
|
-
ip01 = scaleway.IpamIp("ip01",
|
|
428
|
-
address="172.16.32.7",
|
|
429
|
-
sources=[{
|
|
430
|
-
"private_network_id": pn01.id,
|
|
431
|
-
}],
|
|
432
|
-
custom_resources=[{
|
|
433
|
-
"mac_address": "bc:24:11:74:d0:6a",
|
|
434
|
-
}])
|
|
435
|
-
```
|
|
436
|
-
|
|
437
382
|
## Import
|
|
438
383
|
|
|
439
384
|
IPAM IPs can be imported using `{region}/{id}`, e.g.
|
|
@@ -447,7 +392,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
447
392
|
:param str resource_name: The name of the resource.
|
|
448
393
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
449
394
|
:param pulumi.Input[str] address: Request a specific IP in the requested source pool
|
|
450
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['IpamIpCustomResourceArgs', 'IpamIpCustomResourceArgsDict']]]] custom_resources: The custom resource in which to book the IP
|
|
451
395
|
:param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4.
|
|
452
396
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with.
|
|
453
397
|
:param pulumi.Input[str] region: `region`) The region of the IP.
|
|
@@ -522,28 +466,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
522
466
|
}])
|
|
523
467
|
```
|
|
524
468
|
|
|
525
|
-
### Book an IP for a custom resource
|
|
526
|
-
|
|
527
|
-
```python
|
|
528
|
-
import pulumi
|
|
529
|
-
import pulumiverse_scaleway as scaleway
|
|
530
|
-
|
|
531
|
-
vpc01 = scaleway.Vpc("vpc01", name="my vpc")
|
|
532
|
-
pn01 = scaleway.VpcPrivateNetwork("pn01",
|
|
533
|
-
vpc_id=vpc01.id,
|
|
534
|
-
ipv4_subnet={
|
|
535
|
-
"subnet": "172.16.32.0/22",
|
|
536
|
-
})
|
|
537
|
-
ip01 = scaleway.IpamIp("ip01",
|
|
538
|
-
address="172.16.32.7",
|
|
539
|
-
sources=[{
|
|
540
|
-
"private_network_id": pn01.id,
|
|
541
|
-
}],
|
|
542
|
-
custom_resources=[{
|
|
543
|
-
"mac_address": "bc:24:11:74:d0:6a",
|
|
544
|
-
}])
|
|
545
|
-
```
|
|
546
|
-
|
|
547
469
|
## Import
|
|
548
470
|
|
|
549
471
|
IPAM IPs can be imported using `{region}/{id}`, e.g.
|
|
@@ -570,7 +492,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
570
492
|
resource_name: str,
|
|
571
493
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
572
494
|
address: Optional[pulumi.Input[str]] = None,
|
|
573
|
-
custom_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IpamIpCustomResourceArgs', 'IpamIpCustomResourceArgsDict']]]]] = None,
|
|
574
495
|
is_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
575
496
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
576
497
|
region: Optional[pulumi.Input[str]] = None,
|
|
@@ -586,7 +507,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
586
507
|
__props__ = IpamIpArgs.__new__(IpamIpArgs)
|
|
587
508
|
|
|
588
509
|
__props__.__dict__["address"] = address
|
|
589
|
-
__props__.__dict__["custom_resources"] = custom_resources
|
|
590
510
|
__props__.__dict__["is_ipv6"] = is_ipv6
|
|
591
511
|
__props__.__dict__["project_id"] = project_id
|
|
592
512
|
__props__.__dict__["region"] = region
|
|
@@ -611,7 +531,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
611
531
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
612
532
|
address: Optional[pulumi.Input[str]] = None,
|
|
613
533
|
created_at: Optional[pulumi.Input[str]] = None,
|
|
614
|
-
custom_resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IpamIpCustomResourceArgs', 'IpamIpCustomResourceArgsDict']]]]] = None,
|
|
615
534
|
is_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
616
535
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
617
536
|
region: Optional[pulumi.Input[str]] = None,
|
|
@@ -630,7 +549,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
630
549
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
631
550
|
:param pulumi.Input[str] address: Request a specific IP in the requested source pool
|
|
632
551
|
:param pulumi.Input[str] created_at: Date and time of IP's creation (RFC 3339 format).
|
|
633
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['IpamIpCustomResourceArgs', 'IpamIpCustomResourceArgsDict']]]] custom_resources: The custom resource in which to book the IP
|
|
634
552
|
:param pulumi.Input[bool] is_ipv6: Defines whether to request an IPv6 address instead of IPv4.
|
|
635
553
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project the IP is associated with.
|
|
636
554
|
:param pulumi.Input[str] region: `region`) The region of the IP.
|
|
@@ -647,7 +565,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
647
565
|
|
|
648
566
|
__props__.__dict__["address"] = address
|
|
649
567
|
__props__.__dict__["created_at"] = created_at
|
|
650
|
-
__props__.__dict__["custom_resources"] = custom_resources
|
|
651
568
|
__props__.__dict__["is_ipv6"] = is_ipv6
|
|
652
569
|
__props__.__dict__["project_id"] = project_id
|
|
653
570
|
__props__.__dict__["region"] = region
|
|
@@ -675,14 +592,6 @@ class IpamIp(pulumi.CustomResource):
|
|
|
675
592
|
"""
|
|
676
593
|
return pulumi.get(self, "created_at")
|
|
677
594
|
|
|
678
|
-
@property
|
|
679
|
-
@pulumi.getter(name="customResources")
|
|
680
|
-
def custom_resources(self) -> pulumi.Output[Optional[Sequence['outputs.IpamIpCustomResource']]]:
|
|
681
|
-
"""
|
|
682
|
-
The custom resource in which to book the IP
|
|
683
|
-
"""
|
|
684
|
-
return pulumi.get(self, "custom_resources")
|
|
685
|
-
|
|
686
595
|
@property
|
|
687
596
|
@pulumi.getter(name="isIpv6")
|
|
688
597
|
def is_ipv6(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -36,7 +36,7 @@ class ObjectBucketArgs:
|
|
|
36
36
|
:param pulumi.Input[str] acl: (Deprecated) The canned ACL you want to apply to the bucket.
|
|
37
37
|
|
|
38
38
|
> **Note:** The `acl` attribute is deprecated. See ObjectBucketAcl resource documentation. Refer to the [official canned ACL documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl_overview.html#canned-acl) for more information on the different roles.
|
|
39
|
-
:param pulumi.Input[bool] force_destroy:
|
|
39
|
+
:param pulumi.Input[bool] force_destroy: Enable deletion of objects in the bucket before destroying, locked objects or under legal hold are also deleted and **not** recoverable
|
|
40
40
|
:param pulumi.Input[Sequence[pulumi.Input['ObjectBucketLifecycleRuleArgs']]] lifecycle_rules: Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects
|
|
41
41
|
:param pulumi.Input[str] name: The name of the bucket.
|
|
42
42
|
:param pulumi.Input[bool] object_lock_enabled: Enable object lock
|
|
@@ -100,7 +100,7 @@ class ObjectBucketArgs:
|
|
|
100
100
|
@pulumi.getter(name="forceDestroy")
|
|
101
101
|
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
|
102
102
|
"""
|
|
103
|
-
|
|
103
|
+
Enable deletion of objects in the bucket before destroying, locked objects or under legal hold are also deleted and **not** recoverable
|
|
104
104
|
"""
|
|
105
105
|
return pulumi.get(self, "force_destroy")
|
|
106
106
|
|
|
@@ -218,7 +218,7 @@ class _ObjectBucketState:
|
|
|
218
218
|
> **Note:** The `acl` attribute is deprecated. See ObjectBucketAcl resource documentation. Refer to the [official canned ACL documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl_overview.html#canned-acl) for more information on the different roles.
|
|
219
219
|
:param pulumi.Input[str] api_endpoint: API URL of the bucket
|
|
220
220
|
:param pulumi.Input[str] endpoint: The endpoint URL of the bucket.
|
|
221
|
-
:param pulumi.Input[bool] force_destroy:
|
|
221
|
+
:param pulumi.Input[bool] force_destroy: Enable deletion of objects in the bucket before destroying, locked objects or under legal hold are also deleted and **not** recoverable
|
|
222
222
|
:param pulumi.Input[Sequence[pulumi.Input['ObjectBucketLifecycleRuleArgs']]] lifecycle_rules: Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects
|
|
223
223
|
:param pulumi.Input[str] name: The name of the bucket.
|
|
224
224
|
:param pulumi.Input[bool] object_lock_enabled: Enable object lock
|
|
@@ -310,7 +310,7 @@ class _ObjectBucketState:
|
|
|
310
310
|
@pulumi.getter(name="forceDestroy")
|
|
311
311
|
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
|
312
312
|
"""
|
|
313
|
-
|
|
313
|
+
Enable deletion of objects in the bucket before destroying, locked objects or under legal hold are also deleted and **not** recoverable
|
|
314
314
|
"""
|
|
315
315
|
return pulumi.get(self, "force_destroy")
|
|
316
316
|
|
|
@@ -486,7 +486,7 @@ class ObjectBucket(pulumi.CustomResource):
|
|
|
486
486
|
"prefix": "path3/",
|
|
487
487
|
"enabled": False,
|
|
488
488
|
"tags": {
|
|
489
|
-
"
|
|
489
|
+
"tag_key": "tagValue",
|
|
490
490
|
"terraform": "hashicorp",
|
|
491
491
|
},
|
|
492
492
|
"expiration": {
|
|
@@ -536,7 +536,7 @@ class ObjectBucket(pulumi.CustomResource):
|
|
|
536
536
|
:param pulumi.Input[str] acl: (Deprecated) The canned ACL you want to apply to the bucket.
|
|
537
537
|
|
|
538
538
|
> **Note:** The `acl` attribute is deprecated. See ObjectBucketAcl resource documentation. Refer to the [official canned ACL documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl_overview.html#canned-acl) for more information on the different roles.
|
|
539
|
-
:param pulumi.Input[bool] force_destroy:
|
|
539
|
+
:param pulumi.Input[bool] force_destroy: Enable deletion of objects in the bucket before destroying, locked objects or under legal hold are also deleted and **not** recoverable
|
|
540
540
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ObjectBucketLifecycleRuleArgs', 'ObjectBucketLifecycleRuleArgsDict']]]] lifecycle_rules: Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects
|
|
541
541
|
:param pulumi.Input[str] name: The name of the bucket.
|
|
542
542
|
:param pulumi.Input[bool] object_lock_enabled: Enable object lock
|
|
@@ -618,7 +618,7 @@ class ObjectBucket(pulumi.CustomResource):
|
|
|
618
618
|
"prefix": "path3/",
|
|
619
619
|
"enabled": False,
|
|
620
620
|
"tags": {
|
|
621
|
-
"
|
|
621
|
+
"tag_key": "tagValue",
|
|
622
622
|
"terraform": "hashicorp",
|
|
623
623
|
},
|
|
624
624
|
"expiration": {
|
|
@@ -743,7 +743,7 @@ class ObjectBucket(pulumi.CustomResource):
|
|
|
743
743
|
> **Note:** The `acl` attribute is deprecated. See ObjectBucketAcl resource documentation. Refer to the [official canned ACL documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl_overview.html#canned-acl) for more information on the different roles.
|
|
744
744
|
:param pulumi.Input[str] api_endpoint: API URL of the bucket
|
|
745
745
|
:param pulumi.Input[str] endpoint: The endpoint URL of the bucket.
|
|
746
|
-
:param pulumi.Input[bool] force_destroy:
|
|
746
|
+
:param pulumi.Input[bool] force_destroy: Enable deletion of objects in the bucket before destroying, locked objects or under legal hold are also deleted and **not** recoverable
|
|
747
747
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ObjectBucketLifecycleRuleArgs', 'ObjectBucketLifecycleRuleArgsDict']]]] lifecycle_rules: Lifecycle configuration is a set of rules that define actions that Scaleway Object Storage applies to a group of objects
|
|
748
748
|
:param pulumi.Input[str] name: The name of the bucket.
|
|
749
749
|
:param pulumi.Input[bool] object_lock_enabled: Enable object lock
|
|
@@ -809,7 +809,7 @@ class ObjectBucket(pulumi.CustomResource):
|
|
|
809
809
|
@pulumi.getter(name="forceDestroy")
|
|
810
810
|
def force_destroy(self) -> pulumi.Output[Optional[bool]]:
|
|
811
811
|
"""
|
|
812
|
-
|
|
812
|
+
Enable deletion of objects in the bucket before destroying, locked objects or under legal hold are also deleted and **not** recoverable
|
|
813
813
|
"""
|
|
814
814
|
return pulumi.get(self, "force_destroy")
|
|
815
815
|
|