pulumiverse-scaleway 1.26.0a1742897201__py3-none-any.whl → 1.27.0a1743490704__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.
- pulumiverse_scaleway/__init__.py +105 -0
- pulumiverse_scaleway/_inputs.py +663 -0
- pulumiverse_scaleway/apple_silicon_server.py +105 -0
- pulumiverse_scaleway/applesilicon/server.py +105 -0
- pulumiverse_scaleway/domain/__init__.py +1 -0
- pulumiverse_scaleway/domain/_inputs.py +2697 -0
- pulumiverse_scaleway/domain/outputs.py +2145 -0
- pulumiverse_scaleway/domain/registration.py +777 -0
- pulumiverse_scaleway/edge_services_backend_stage.py +472 -0
- pulumiverse_scaleway/edge_services_cache_stage.py +490 -0
- pulumiverse_scaleway/edge_services_dns_stage.py +516 -0
- pulumiverse_scaleway/edge_services_head_stage.py +258 -0
- pulumiverse_scaleway/edge_services_pipeline.py +436 -0
- pulumiverse_scaleway/edge_services_plan.py +239 -0
- pulumiverse_scaleway/edge_services_route_stage.py +422 -0
- pulumiverse_scaleway/edge_services_tls_stage.py +546 -0
- pulumiverse_scaleway/edge_services_waf_stage.py +444 -0
- pulumiverse_scaleway/elasticmetal/ip.py +13 -7
- pulumiverse_scaleway/flexible_ip.py +13 -7
- pulumiverse_scaleway/get_lb_frontend.py +12 -1
- pulumiverse_scaleway/get_lb_route.py +12 -1
- pulumiverse_scaleway/get_secret.py +15 -4
- pulumiverse_scaleway/get_vpc_public_gateway.py +34 -1
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +8 -0
- pulumiverse_scaleway/loadbalancer_backend.py +2 -2
- pulumiverse_scaleway/loadbalancer_frontend.py +47 -0
- pulumiverse_scaleway/loadbalancer_route.py +48 -1
- pulumiverse_scaleway/loadbalancers/backend.py +2 -2
- pulumiverse_scaleway/loadbalancers/frontend.py +47 -0
- pulumiverse_scaleway/loadbalancers/get_frontend.py +12 -1
- pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
- pulumiverse_scaleway/loadbalancers/outputs.py +13 -2
- pulumiverse_scaleway/loadbalancers/route.py +48 -1
- pulumiverse_scaleway/network/__init__.py +1 -0
- pulumiverse_scaleway/network/_inputs.py +194 -0
- pulumiverse_scaleway/network/acl.py +415 -0
- pulumiverse_scaleway/network/gateway_network.py +104 -122
- pulumiverse_scaleway/network/get_public_gateway.py +34 -1
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +8 -0
- pulumiverse_scaleway/network/outputs.py +139 -0
- pulumiverse_scaleway/network/public_gateway.py +124 -21
- pulumiverse_scaleway/network/public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +8 -0
- pulumiverse_scaleway/outputs.py +662 -2
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/secret.py +22 -2
- pulumiverse_scaleway/secret_version.py +6 -6
- pulumiverse_scaleway/secrets/_inputs.py +154 -0
- pulumiverse_scaleway/secrets/get_secret.py +15 -4
- pulumiverse_scaleway/secrets/outputs.py +200 -0
- pulumiverse_scaleway/secrets/secret.py +22 -2
- pulumiverse_scaleway/tem/__init__.py +2 -0
- pulumiverse_scaleway/tem/blocked_list.py +442 -0
- pulumiverse_scaleway/tem/domain.py +7 -0
- pulumiverse_scaleway/tem/get_offer_subscription.py +254 -0
- pulumiverse_scaleway/tem_domain.py +7 -0
- pulumiverse_scaleway/vpc_gateway_network.py +104 -122
- pulumiverse_scaleway/vpc_public_gateway.py +124 -21
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +8 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +8 -0
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0a1743490704.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0a1743490704.dist-info}/RECORD +66 -53
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0a1743490704.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0a1743490704.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,254 @@
|
|
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
|
+
'GetOfferSubscriptionResult',
|
19
|
+
'AwaitableGetOfferSubscriptionResult',
|
20
|
+
'get_offer_subscription',
|
21
|
+
'get_offer_subscription_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetOfferSubscriptionResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getOfferSubscription.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, cancellation_available_at=None, id=None, included_monthly_emails=None, max_custom_blocklists_per_domain=None, max_dedicated_ips=None, max_domains=None, max_webhooks_per_domain=None, offer_name=None, project_id=None, region=None, sla=None, subscribed_at=None):
|
30
|
+
if cancellation_available_at and not isinstance(cancellation_available_at, str):
|
31
|
+
raise TypeError("Expected argument 'cancellation_available_at' to be a str")
|
32
|
+
pulumi.set(__self__, "cancellation_available_at", cancellation_available_at)
|
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 included_monthly_emails and not isinstance(included_monthly_emails, int):
|
37
|
+
raise TypeError("Expected argument 'included_monthly_emails' to be a int")
|
38
|
+
pulumi.set(__self__, "included_monthly_emails", included_monthly_emails)
|
39
|
+
if max_custom_blocklists_per_domain and not isinstance(max_custom_blocklists_per_domain, int):
|
40
|
+
raise TypeError("Expected argument 'max_custom_blocklists_per_domain' to be a int")
|
41
|
+
pulumi.set(__self__, "max_custom_blocklists_per_domain", max_custom_blocklists_per_domain)
|
42
|
+
if max_dedicated_ips and not isinstance(max_dedicated_ips, int):
|
43
|
+
raise TypeError("Expected argument 'max_dedicated_ips' to be a int")
|
44
|
+
pulumi.set(__self__, "max_dedicated_ips", max_dedicated_ips)
|
45
|
+
if max_domains and not isinstance(max_domains, int):
|
46
|
+
raise TypeError("Expected argument 'max_domains' to be a int")
|
47
|
+
pulumi.set(__self__, "max_domains", max_domains)
|
48
|
+
if max_webhooks_per_domain and not isinstance(max_webhooks_per_domain, int):
|
49
|
+
raise TypeError("Expected argument 'max_webhooks_per_domain' to be a int")
|
50
|
+
pulumi.set(__self__, "max_webhooks_per_domain", max_webhooks_per_domain)
|
51
|
+
if offer_name and not isinstance(offer_name, str):
|
52
|
+
raise TypeError("Expected argument 'offer_name' to be a str")
|
53
|
+
pulumi.set(__self__, "offer_name", offer_name)
|
54
|
+
if project_id and not isinstance(project_id, str):
|
55
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
56
|
+
pulumi.set(__self__, "project_id", project_id)
|
57
|
+
if region and not isinstance(region, str):
|
58
|
+
raise TypeError("Expected argument 'region' to be a str")
|
59
|
+
pulumi.set(__self__, "region", region)
|
60
|
+
if sla and not isinstance(sla, float):
|
61
|
+
raise TypeError("Expected argument 'sla' to be a float")
|
62
|
+
pulumi.set(__self__, "sla", sla)
|
63
|
+
if subscribed_at and not isinstance(subscribed_at, str):
|
64
|
+
raise TypeError("Expected argument 'subscribed_at' to be a str")
|
65
|
+
pulumi.set(__self__, "subscribed_at", subscribed_at)
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="cancellationAvailableAt")
|
69
|
+
def cancellation_available_at(self) -> str:
|
70
|
+
"""
|
71
|
+
The date and time when cancellation becomes available for the subscription.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "cancellation_available_at")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def id(self) -> str:
|
78
|
+
"""
|
79
|
+
The provider-assigned unique ID for this managed resource.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "id")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="includedMonthlyEmails")
|
85
|
+
def included_monthly_emails(self) -> int:
|
86
|
+
"""
|
87
|
+
The number of emails included in the offer subscription per month.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "included_monthly_emails")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="maxCustomBlocklistsPerDomain")
|
93
|
+
def max_custom_blocklists_per_domain(self) -> int:
|
94
|
+
"""
|
95
|
+
The maximum number of custom blocklists that can be associated with the offer subscription per domain.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "max_custom_blocklists_per_domain")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="maxDedicatedIps")
|
101
|
+
def max_dedicated_ips(self) -> int:
|
102
|
+
"""
|
103
|
+
The maximum number of dedicated IPs that can be associated with the offer subscription.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "max_dedicated_ips")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="maxDomains")
|
109
|
+
def max_domains(self) -> int:
|
110
|
+
"""
|
111
|
+
The maximum number of domains that can be associated with the offer subscription.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "max_domains")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="maxWebhooksPerDomain")
|
117
|
+
def max_webhooks_per_domain(self) -> int:
|
118
|
+
"""
|
119
|
+
The maximum number of webhooks that can be associated with the offer subscription per domain.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "max_webhooks_per_domain")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="offerName")
|
125
|
+
def offer_name(self) -> str:
|
126
|
+
"""
|
127
|
+
The name of the offer associated with the subscription (e.g., `scale`).
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "offer_name")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="projectId")
|
133
|
+
def project_id(self) -> str:
|
134
|
+
return pulumi.get(self, "project_id")
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter
|
138
|
+
def region(self) -> str:
|
139
|
+
return pulumi.get(self, "region")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter
|
143
|
+
def sla(self) -> float:
|
144
|
+
"""
|
145
|
+
The Service Level Agreement (SLA) percentage of the offer subscription.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "sla")
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="subscribedAt")
|
151
|
+
def subscribed_at(self) -> str:
|
152
|
+
"""
|
153
|
+
The date and time of the subscription.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "subscribed_at")
|
156
|
+
|
157
|
+
|
158
|
+
class AwaitableGetOfferSubscriptionResult(GetOfferSubscriptionResult):
|
159
|
+
# pylint: disable=using-constant-test
|
160
|
+
def __await__(self):
|
161
|
+
if False:
|
162
|
+
yield self
|
163
|
+
return GetOfferSubscriptionResult(
|
164
|
+
cancellation_available_at=self.cancellation_available_at,
|
165
|
+
id=self.id,
|
166
|
+
included_monthly_emails=self.included_monthly_emails,
|
167
|
+
max_custom_blocklists_per_domain=self.max_custom_blocklists_per_domain,
|
168
|
+
max_dedicated_ips=self.max_dedicated_ips,
|
169
|
+
max_domains=self.max_domains,
|
170
|
+
max_webhooks_per_domain=self.max_webhooks_per_domain,
|
171
|
+
offer_name=self.offer_name,
|
172
|
+
project_id=self.project_id,
|
173
|
+
region=self.region,
|
174
|
+
sla=self.sla,
|
175
|
+
subscribed_at=self.subscribed_at)
|
176
|
+
|
177
|
+
|
178
|
+
def get_offer_subscription(project_id: Optional[str] = None,
|
179
|
+
region: Optional[str] = None,
|
180
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOfferSubscriptionResult:
|
181
|
+
"""
|
182
|
+
Gets information about a transactional email offer subscription.
|
183
|
+
|
184
|
+
## Example Usage
|
185
|
+
|
186
|
+
```python
|
187
|
+
import pulumi
|
188
|
+
import pulumi_scaleway as scaleway
|
189
|
+
|
190
|
+
# Retrieve offer subscription information
|
191
|
+
test = scaleway.tem.get_offer_subscription()
|
192
|
+
```
|
193
|
+
|
194
|
+
|
195
|
+
:param str project_id: `project_id`) The ID of the project the offer subscription is associated with.
|
196
|
+
:param str region: `region`) The region where the offer subscription exists.
|
197
|
+
"""
|
198
|
+
__args__ = dict()
|
199
|
+
__args__['projectId'] = project_id
|
200
|
+
__args__['region'] = region
|
201
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
202
|
+
__ret__ = pulumi.runtime.invoke('scaleway:tem/getOfferSubscription:getOfferSubscription', __args__, opts=opts, typ=GetOfferSubscriptionResult).value
|
203
|
+
|
204
|
+
return AwaitableGetOfferSubscriptionResult(
|
205
|
+
cancellation_available_at=pulumi.get(__ret__, 'cancellation_available_at'),
|
206
|
+
id=pulumi.get(__ret__, 'id'),
|
207
|
+
included_monthly_emails=pulumi.get(__ret__, 'included_monthly_emails'),
|
208
|
+
max_custom_blocklists_per_domain=pulumi.get(__ret__, 'max_custom_blocklists_per_domain'),
|
209
|
+
max_dedicated_ips=pulumi.get(__ret__, 'max_dedicated_ips'),
|
210
|
+
max_domains=pulumi.get(__ret__, 'max_domains'),
|
211
|
+
max_webhooks_per_domain=pulumi.get(__ret__, 'max_webhooks_per_domain'),
|
212
|
+
offer_name=pulumi.get(__ret__, 'offer_name'),
|
213
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
214
|
+
region=pulumi.get(__ret__, 'region'),
|
215
|
+
sla=pulumi.get(__ret__, 'sla'),
|
216
|
+
subscribed_at=pulumi.get(__ret__, 'subscribed_at'))
|
217
|
+
def get_offer_subscription_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
218
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
219
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOfferSubscriptionResult]:
|
220
|
+
"""
|
221
|
+
Gets information about a transactional email offer subscription.
|
222
|
+
|
223
|
+
## Example Usage
|
224
|
+
|
225
|
+
```python
|
226
|
+
import pulumi
|
227
|
+
import pulumi_scaleway as scaleway
|
228
|
+
|
229
|
+
# Retrieve offer subscription information
|
230
|
+
test = scaleway.tem.get_offer_subscription()
|
231
|
+
```
|
232
|
+
|
233
|
+
|
234
|
+
:param str project_id: `project_id`) The ID of the project the offer subscription is associated with.
|
235
|
+
:param str region: `region`) The region where the offer subscription exists.
|
236
|
+
"""
|
237
|
+
__args__ = dict()
|
238
|
+
__args__['projectId'] = project_id
|
239
|
+
__args__['region'] = region
|
240
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
241
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:tem/getOfferSubscription:getOfferSubscription', __args__, opts=opts, typ=GetOfferSubscriptionResult)
|
242
|
+
return __ret__.apply(lambda __response__: GetOfferSubscriptionResult(
|
243
|
+
cancellation_available_at=pulumi.get(__response__, 'cancellation_available_at'),
|
244
|
+
id=pulumi.get(__response__, 'id'),
|
245
|
+
included_monthly_emails=pulumi.get(__response__, 'included_monthly_emails'),
|
246
|
+
max_custom_blocklists_per_domain=pulumi.get(__response__, 'max_custom_blocklists_per_domain'),
|
247
|
+
max_dedicated_ips=pulumi.get(__response__, 'max_dedicated_ips'),
|
248
|
+
max_domains=pulumi.get(__response__, 'max_domains'),
|
249
|
+
max_webhooks_per_domain=pulumi.get(__response__, 'max_webhooks_per_domain'),
|
250
|
+
offer_name=pulumi.get(__response__, 'offer_name'),
|
251
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
252
|
+
region=pulumi.get(__response__, 'region'),
|
253
|
+
sla=pulumi.get(__response__, 'sla'),
|
254
|
+
subscribed_at=pulumi.get(__response__, 'subscribed_at')))
|
@@ -35,6 +35,7 @@ class TemDomainArgs:
|
|
35
35
|
> **Important:** Updates to `name` will recreate the domain.
|
36
36
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
|
37
37
|
:param pulumi.Input[str] region: `region`). The region in which the domain should be created.
|
38
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
38
39
|
"""
|
39
40
|
pulumi.set(__self__, "accept_tos", accept_tos)
|
40
41
|
if autoconfig is not None:
|
@@ -101,6 +102,7 @@ class TemDomainArgs:
|
|
101
102
|
def region(self) -> Optional[pulumi.Input[str]]:
|
102
103
|
"""
|
103
104
|
`region`). The region in which the domain should be created.
|
105
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
104
106
|
"""
|
105
107
|
return pulumi.get(self, "region")
|
106
108
|
|
@@ -153,6 +155,7 @@ class _TemDomainState:
|
|
153
155
|
:param pulumi.Input[str] next_check_at: The date and time of the next scheduled check (RFC 3339 format).
|
154
156
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
|
155
157
|
:param pulumi.Input[str] region: `region`). The region in which the domain should be created.
|
158
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
156
159
|
:param pulumi.Input[Sequence[pulumi.Input['TemDomainReputationArgs']]] reputations: The domain's reputation.
|
157
160
|
:param pulumi.Input[str] revoked_at: The date and time of the revocation of the domain (RFC 3339 format).
|
158
161
|
:param pulumi.Input[str] smtp_host: The SMTP host to use to send emails.
|
@@ -369,6 +372,7 @@ class _TemDomainState:
|
|
369
372
|
def region(self) -> Optional[pulumi.Input[str]]:
|
370
373
|
"""
|
371
374
|
`region`). The region in which the domain should be created.
|
375
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
372
376
|
"""
|
373
377
|
return pulumi.get(self, "region")
|
374
378
|
|
@@ -606,6 +610,7 @@ class TemDomain(pulumi.CustomResource):
|
|
606
610
|
> **Important:** Updates to `name` will recreate the domain.
|
607
611
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
|
608
612
|
:param pulumi.Input[str] region: `region`). The region in which the domain should be created.
|
613
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
609
614
|
"""
|
610
615
|
...
|
611
616
|
@overload
|
@@ -797,6 +802,7 @@ class TemDomain(pulumi.CustomResource):
|
|
797
802
|
:param pulumi.Input[str] next_check_at: The date and time of the next scheduled check (RFC 3339 format).
|
798
803
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
|
799
804
|
:param pulumi.Input[str] region: `region`). The region in which the domain should be created.
|
805
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
800
806
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TemDomainReputationArgs', 'TemDomainReputationArgsDict']]]] reputations: The domain's reputation.
|
801
807
|
:param pulumi.Input[str] revoked_at: The date and time of the revocation of the domain (RFC 3339 format).
|
802
808
|
:param pulumi.Input[str] smtp_host: The SMTP host to use to send emails.
|
@@ -943,6 +949,7 @@ class TemDomain(pulumi.CustomResource):
|
|
943
949
|
def region(self) -> pulumi.Output[str]:
|
944
950
|
"""
|
945
951
|
`region`). The region in which the domain should be created.
|
952
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
946
953
|
"""
|
947
954
|
return pulumi.get(self, "region")
|
948
955
|
|