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,442 @@
|
|
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__ = ['BlockedListArgs', 'BlockedList']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class BlockedListArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
domain_id: pulumi.Input[str],
|
23
|
+
email: pulumi.Input[str],
|
24
|
+
type: pulumi.Input[str],
|
25
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
26
|
+
reason: Optional[pulumi.Input[str]] = None,
|
27
|
+
region: Optional[pulumi.Input[str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a BlockedList resource.
|
30
|
+
:param pulumi.Input[str] domain_id: The ID of the domain affected by the blocklist. Must be in the format `{region}/{domain_id}`.
|
31
|
+
:param pulumi.Input[str] email: The email address to block.
|
32
|
+
:param pulumi.Input[str] type: Type of the blocklist. Possible values are:
|
33
|
+
:param pulumi.Input[str] project_id: The ID of the project this blocklist belongs to. Defaults to the provider's project ID.
|
34
|
+
:param pulumi.Input[str] reason: Reason for blocking the email address.
|
35
|
+
:param pulumi.Input[str] region: The region in which the blocklist is created. Defaults to the provider's region.
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
38
|
+
pulumi.set(__self__, "email", email)
|
39
|
+
pulumi.set(__self__, "type", type)
|
40
|
+
if project_id is not None:
|
41
|
+
pulumi.set(__self__, "project_id", project_id)
|
42
|
+
if reason is not None:
|
43
|
+
pulumi.set(__self__, "reason", reason)
|
44
|
+
if region is not None:
|
45
|
+
pulumi.set(__self__, "region", region)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="domainId")
|
49
|
+
def domain_id(self) -> pulumi.Input[str]:
|
50
|
+
"""
|
51
|
+
The ID of the domain affected by the blocklist. Must be in the format `{region}/{domain_id}`.
|
52
|
+
"""
|
53
|
+
return pulumi.get(self, "domain_id")
|
54
|
+
|
55
|
+
@domain_id.setter
|
56
|
+
def domain_id(self, value: pulumi.Input[str]):
|
57
|
+
pulumi.set(self, "domain_id", value)
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def email(self) -> pulumi.Input[str]:
|
62
|
+
"""
|
63
|
+
The email address to block.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "email")
|
66
|
+
|
67
|
+
@email.setter
|
68
|
+
def email(self, value: pulumi.Input[str]):
|
69
|
+
pulumi.set(self, "email", value)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def type(self) -> pulumi.Input[str]:
|
74
|
+
"""
|
75
|
+
Type of the blocklist. Possible values are:
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "type")
|
78
|
+
|
79
|
+
@type.setter
|
80
|
+
def type(self, value: pulumi.Input[str]):
|
81
|
+
pulumi.set(self, "type", value)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="projectId")
|
85
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
86
|
+
"""
|
87
|
+
The ID of the project this blocklist belongs to. Defaults to the provider's project ID.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "project_id")
|
90
|
+
|
91
|
+
@project_id.setter
|
92
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
93
|
+
pulumi.set(self, "project_id", value)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def reason(self) -> Optional[pulumi.Input[str]]:
|
98
|
+
"""
|
99
|
+
Reason for blocking the email address.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "reason")
|
102
|
+
|
103
|
+
@reason.setter
|
104
|
+
def reason(self, value: Optional[pulumi.Input[str]]):
|
105
|
+
pulumi.set(self, "reason", value)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
110
|
+
"""
|
111
|
+
The region in which the blocklist is created. Defaults to the provider's region.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "region")
|
114
|
+
|
115
|
+
@region.setter
|
116
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
117
|
+
pulumi.set(self, "region", value)
|
118
|
+
|
119
|
+
|
120
|
+
@pulumi.input_type
|
121
|
+
class _BlockedListState:
|
122
|
+
def __init__(__self__, *,
|
123
|
+
domain_id: Optional[pulumi.Input[str]] = None,
|
124
|
+
email: Optional[pulumi.Input[str]] = None,
|
125
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
126
|
+
reason: Optional[pulumi.Input[str]] = None,
|
127
|
+
region: Optional[pulumi.Input[str]] = None,
|
128
|
+
type: Optional[pulumi.Input[str]] = None):
|
129
|
+
"""
|
130
|
+
Input properties used for looking up and filtering BlockedList resources.
|
131
|
+
:param pulumi.Input[str] domain_id: The ID of the domain affected by the blocklist. Must be in the format `{region}/{domain_id}`.
|
132
|
+
:param pulumi.Input[str] email: The email address to block.
|
133
|
+
:param pulumi.Input[str] project_id: The ID of the project this blocklist belongs to. Defaults to the provider's project ID.
|
134
|
+
:param pulumi.Input[str] reason: Reason for blocking the email address.
|
135
|
+
:param pulumi.Input[str] region: The region in which the blocklist is created. Defaults to the provider's region.
|
136
|
+
:param pulumi.Input[str] type: Type of the blocklist. Possible values are:
|
137
|
+
"""
|
138
|
+
if domain_id is not None:
|
139
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
140
|
+
if email is not None:
|
141
|
+
pulumi.set(__self__, "email", email)
|
142
|
+
if project_id is not None:
|
143
|
+
pulumi.set(__self__, "project_id", project_id)
|
144
|
+
if reason is not None:
|
145
|
+
pulumi.set(__self__, "reason", reason)
|
146
|
+
if region is not None:
|
147
|
+
pulumi.set(__self__, "region", region)
|
148
|
+
if type is not None:
|
149
|
+
pulumi.set(__self__, "type", type)
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter(name="domainId")
|
153
|
+
def domain_id(self) -> Optional[pulumi.Input[str]]:
|
154
|
+
"""
|
155
|
+
The ID of the domain affected by the blocklist. Must be in the format `{region}/{domain_id}`.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "domain_id")
|
158
|
+
|
159
|
+
@domain_id.setter
|
160
|
+
def domain_id(self, value: Optional[pulumi.Input[str]]):
|
161
|
+
pulumi.set(self, "domain_id", value)
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter
|
165
|
+
def email(self) -> Optional[pulumi.Input[str]]:
|
166
|
+
"""
|
167
|
+
The email address to block.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "email")
|
170
|
+
|
171
|
+
@email.setter
|
172
|
+
def email(self, value: Optional[pulumi.Input[str]]):
|
173
|
+
pulumi.set(self, "email", value)
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="projectId")
|
177
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
178
|
+
"""
|
179
|
+
The ID of the project this blocklist belongs to. Defaults to the provider's project ID.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "project_id")
|
182
|
+
|
183
|
+
@project_id.setter
|
184
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
185
|
+
pulumi.set(self, "project_id", value)
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def reason(self) -> Optional[pulumi.Input[str]]:
|
190
|
+
"""
|
191
|
+
Reason for blocking the email address.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "reason")
|
194
|
+
|
195
|
+
@reason.setter
|
196
|
+
def reason(self, value: Optional[pulumi.Input[str]]):
|
197
|
+
pulumi.set(self, "reason", value)
|
198
|
+
|
199
|
+
@property
|
200
|
+
@pulumi.getter
|
201
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
202
|
+
"""
|
203
|
+
The region in which the blocklist is created. Defaults to the provider's region.
|
204
|
+
"""
|
205
|
+
return pulumi.get(self, "region")
|
206
|
+
|
207
|
+
@region.setter
|
208
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
209
|
+
pulumi.set(self, "region", value)
|
210
|
+
|
211
|
+
@property
|
212
|
+
@pulumi.getter
|
213
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
214
|
+
"""
|
215
|
+
Type of the blocklist. Possible values are:
|
216
|
+
"""
|
217
|
+
return pulumi.get(self, "type")
|
218
|
+
|
219
|
+
@type.setter
|
220
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
221
|
+
pulumi.set(self, "type", value)
|
222
|
+
|
223
|
+
|
224
|
+
class BlockedList(pulumi.CustomResource):
|
225
|
+
@overload
|
226
|
+
def __init__(__self__,
|
227
|
+
resource_name: str,
|
228
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
229
|
+
domain_id: Optional[pulumi.Input[str]] = None,
|
230
|
+
email: Optional[pulumi.Input[str]] = None,
|
231
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
232
|
+
reason: Optional[pulumi.Input[str]] = None,
|
233
|
+
region: Optional[pulumi.Input[str]] = None,
|
234
|
+
type: Optional[pulumi.Input[str]] = None,
|
235
|
+
__props__=None):
|
236
|
+
"""
|
237
|
+
Creates and manages blocklisted email addresses for a Scaleway Transactional Email Domain.
|
238
|
+
For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/transactional-email/#post-transactional-email-v1alpha1-regions-region-blocklists).
|
239
|
+
|
240
|
+
## Example Usage
|
241
|
+
|
242
|
+
### Basic
|
243
|
+
|
244
|
+
```python
|
245
|
+
import pulumi
|
246
|
+
import pulumiverse_scaleway as scaleway
|
247
|
+
|
248
|
+
test = scaleway.tem.BlockedList("test",
|
249
|
+
domain_id="fr-par/12345678-1234-1234-1234-123456789abc",
|
250
|
+
email="spam@example.com",
|
251
|
+
type="mailbox_full",
|
252
|
+
reason="Spam detected",
|
253
|
+
region="fr-par")
|
254
|
+
```
|
255
|
+
|
256
|
+
## Import
|
257
|
+
|
258
|
+
Blocklists can be imported using the `{region}/{id}`, e.g.
|
259
|
+
|
260
|
+
bash
|
261
|
+
|
262
|
+
```sh
|
263
|
+
$ pulumi import scaleway:tem/blockedList:BlockedList test fr-par/11111111-1111-1111-1111-111111111111
|
264
|
+
```
|
265
|
+
|
266
|
+
:param str resource_name: The name of the resource.
|
267
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
268
|
+
:param pulumi.Input[str] domain_id: The ID of the domain affected by the blocklist. Must be in the format `{region}/{domain_id}`.
|
269
|
+
:param pulumi.Input[str] email: The email address to block.
|
270
|
+
:param pulumi.Input[str] project_id: The ID of the project this blocklist belongs to. Defaults to the provider's project ID.
|
271
|
+
:param pulumi.Input[str] reason: Reason for blocking the email address.
|
272
|
+
:param pulumi.Input[str] region: The region in which the blocklist is created. Defaults to the provider's region.
|
273
|
+
:param pulumi.Input[str] type: Type of the blocklist. Possible values are:
|
274
|
+
"""
|
275
|
+
...
|
276
|
+
@overload
|
277
|
+
def __init__(__self__,
|
278
|
+
resource_name: str,
|
279
|
+
args: BlockedListArgs,
|
280
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
281
|
+
"""
|
282
|
+
Creates and manages blocklisted email addresses for a Scaleway Transactional Email Domain.
|
283
|
+
For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/transactional-email/#post-transactional-email-v1alpha1-regions-region-blocklists).
|
284
|
+
|
285
|
+
## Example Usage
|
286
|
+
|
287
|
+
### Basic
|
288
|
+
|
289
|
+
```python
|
290
|
+
import pulumi
|
291
|
+
import pulumiverse_scaleway as scaleway
|
292
|
+
|
293
|
+
test = scaleway.tem.BlockedList("test",
|
294
|
+
domain_id="fr-par/12345678-1234-1234-1234-123456789abc",
|
295
|
+
email="spam@example.com",
|
296
|
+
type="mailbox_full",
|
297
|
+
reason="Spam detected",
|
298
|
+
region="fr-par")
|
299
|
+
```
|
300
|
+
|
301
|
+
## Import
|
302
|
+
|
303
|
+
Blocklists can be imported using the `{region}/{id}`, e.g.
|
304
|
+
|
305
|
+
bash
|
306
|
+
|
307
|
+
```sh
|
308
|
+
$ pulumi import scaleway:tem/blockedList:BlockedList test fr-par/11111111-1111-1111-1111-111111111111
|
309
|
+
```
|
310
|
+
|
311
|
+
:param str resource_name: The name of the resource.
|
312
|
+
:param BlockedListArgs args: The arguments to use to populate this resource's properties.
|
313
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
314
|
+
"""
|
315
|
+
...
|
316
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
317
|
+
resource_args, opts = _utilities.get_resource_args_opts(BlockedListArgs, pulumi.ResourceOptions, *args, **kwargs)
|
318
|
+
if resource_args is not None:
|
319
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
320
|
+
else:
|
321
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
322
|
+
|
323
|
+
def _internal_init(__self__,
|
324
|
+
resource_name: str,
|
325
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
326
|
+
domain_id: Optional[pulumi.Input[str]] = None,
|
327
|
+
email: Optional[pulumi.Input[str]] = None,
|
328
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
329
|
+
reason: Optional[pulumi.Input[str]] = None,
|
330
|
+
region: Optional[pulumi.Input[str]] = None,
|
331
|
+
type: Optional[pulumi.Input[str]] = None,
|
332
|
+
__props__=None):
|
333
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
334
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
335
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
336
|
+
if opts.id is None:
|
337
|
+
if __props__ is not None:
|
338
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
339
|
+
__props__ = BlockedListArgs.__new__(BlockedListArgs)
|
340
|
+
|
341
|
+
if domain_id is None and not opts.urn:
|
342
|
+
raise TypeError("Missing required property 'domain_id'")
|
343
|
+
__props__.__dict__["domain_id"] = domain_id
|
344
|
+
if email is None and not opts.urn:
|
345
|
+
raise TypeError("Missing required property 'email'")
|
346
|
+
__props__.__dict__["email"] = email
|
347
|
+
__props__.__dict__["project_id"] = project_id
|
348
|
+
__props__.__dict__["reason"] = reason
|
349
|
+
__props__.__dict__["region"] = region
|
350
|
+
if type is None and not opts.urn:
|
351
|
+
raise TypeError("Missing required property 'type'")
|
352
|
+
__props__.__dict__["type"] = type
|
353
|
+
super(BlockedList, __self__).__init__(
|
354
|
+
'scaleway:tem/blockedList:BlockedList',
|
355
|
+
resource_name,
|
356
|
+
__props__,
|
357
|
+
opts)
|
358
|
+
|
359
|
+
@staticmethod
|
360
|
+
def get(resource_name: str,
|
361
|
+
id: pulumi.Input[str],
|
362
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
363
|
+
domain_id: Optional[pulumi.Input[str]] = None,
|
364
|
+
email: Optional[pulumi.Input[str]] = None,
|
365
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
366
|
+
reason: Optional[pulumi.Input[str]] = None,
|
367
|
+
region: Optional[pulumi.Input[str]] = None,
|
368
|
+
type: Optional[pulumi.Input[str]] = None) -> 'BlockedList':
|
369
|
+
"""
|
370
|
+
Get an existing BlockedList resource's state with the given name, id, and optional extra
|
371
|
+
properties used to qualify the lookup.
|
372
|
+
|
373
|
+
:param str resource_name: The unique name of the resulting resource.
|
374
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
375
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
376
|
+
:param pulumi.Input[str] domain_id: The ID of the domain affected by the blocklist. Must be in the format `{region}/{domain_id}`.
|
377
|
+
:param pulumi.Input[str] email: The email address to block.
|
378
|
+
:param pulumi.Input[str] project_id: The ID of the project this blocklist belongs to. Defaults to the provider's project ID.
|
379
|
+
:param pulumi.Input[str] reason: Reason for blocking the email address.
|
380
|
+
:param pulumi.Input[str] region: The region in which the blocklist is created. Defaults to the provider's region.
|
381
|
+
:param pulumi.Input[str] type: Type of the blocklist. Possible values are:
|
382
|
+
"""
|
383
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
384
|
+
|
385
|
+
__props__ = _BlockedListState.__new__(_BlockedListState)
|
386
|
+
|
387
|
+
__props__.__dict__["domain_id"] = domain_id
|
388
|
+
__props__.__dict__["email"] = email
|
389
|
+
__props__.__dict__["project_id"] = project_id
|
390
|
+
__props__.__dict__["reason"] = reason
|
391
|
+
__props__.__dict__["region"] = region
|
392
|
+
__props__.__dict__["type"] = type
|
393
|
+
return BlockedList(resource_name, opts=opts, __props__=__props__)
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter(name="domainId")
|
397
|
+
def domain_id(self) -> pulumi.Output[str]:
|
398
|
+
"""
|
399
|
+
The ID of the domain affected by the blocklist. Must be in the format `{region}/{domain_id}`.
|
400
|
+
"""
|
401
|
+
return pulumi.get(self, "domain_id")
|
402
|
+
|
403
|
+
@property
|
404
|
+
@pulumi.getter
|
405
|
+
def email(self) -> pulumi.Output[str]:
|
406
|
+
"""
|
407
|
+
The email address to block.
|
408
|
+
"""
|
409
|
+
return pulumi.get(self, "email")
|
410
|
+
|
411
|
+
@property
|
412
|
+
@pulumi.getter(name="projectId")
|
413
|
+
def project_id(self) -> pulumi.Output[str]:
|
414
|
+
"""
|
415
|
+
The ID of the project this blocklist belongs to. Defaults to the provider's project ID.
|
416
|
+
"""
|
417
|
+
return pulumi.get(self, "project_id")
|
418
|
+
|
419
|
+
@property
|
420
|
+
@pulumi.getter
|
421
|
+
def reason(self) -> pulumi.Output[Optional[str]]:
|
422
|
+
"""
|
423
|
+
Reason for blocking the email address.
|
424
|
+
"""
|
425
|
+
return pulumi.get(self, "reason")
|
426
|
+
|
427
|
+
@property
|
428
|
+
@pulumi.getter
|
429
|
+
def region(self) -> pulumi.Output[str]:
|
430
|
+
"""
|
431
|
+
The region in which the blocklist is created. Defaults to the provider's region.
|
432
|
+
"""
|
433
|
+
return pulumi.get(self, "region")
|
434
|
+
|
435
|
+
@property
|
436
|
+
@pulumi.getter
|
437
|
+
def type(self) -> pulumi.Output[str]:
|
438
|
+
"""
|
439
|
+
Type of the blocklist. Possible values are:
|
440
|
+
"""
|
441
|
+
return pulumi.get(self, "type")
|
442
|
+
|
@@ -35,6 +35,7 @@ class DomainArgs:
|
|
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 DomainArgs:
|
|
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 _DomainState:
|
|
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['DomainReputationArgs']]] 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 _DomainState:
|
|
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
|
|
@@ -601,6 +605,7 @@ class Domain(pulumi.CustomResource):
|
|
601
605
|
> **Important:** Updates to `name` will recreate the domain.
|
602
606
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
|
603
607
|
:param pulumi.Input[str] region: `region`). The region in which the domain should be created.
|
608
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
604
609
|
"""
|
605
610
|
...
|
606
611
|
@overload
|
@@ -793,6 +798,7 @@ class Domain(pulumi.CustomResource):
|
|
793
798
|
:param pulumi.Input[str] next_check_at: The date and time of the next scheduled check (RFC 3339 format).
|
794
799
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the domain is associated with.
|
795
800
|
:param pulumi.Input[str] region: `region`). The region in which the domain should be created.
|
801
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
796
802
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DomainReputationArgs', 'DomainReputationArgsDict']]]] reputations: The domain's reputation.
|
797
803
|
:param pulumi.Input[str] revoked_at: The date and time of the revocation of the domain (RFC 3339 format).
|
798
804
|
:param pulumi.Input[str] smtp_host: The SMTP host to use to send emails.
|
@@ -939,6 +945,7 @@ class Domain(pulumi.CustomResource):
|
|
939
945
|
def region(self) -> pulumi.Output[str]:
|
940
946
|
"""
|
941
947
|
`region`). The region in which the domain should be created.
|
948
|
+
> **Important:** Currently, only fr-par is supported. Specifying any other region will cause an error.
|
942
949
|
"""
|
943
950
|
return pulumi.get(self, "region")
|
944
951
|
|