pulumiverse-scaleway 1.26.0a1742897201__py3-none-any.whl → 1.26.0a1743166124__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.26.0a1743166124.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.26.0a1743166124.dist-info}/RECORD +66 -53
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.26.0a1743166124.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.26.0a1743166124.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,516 @@
|
|
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__ = ['EdgeServicesDnsStageArgs', 'EdgeServicesDnsStage']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class EdgeServicesDnsStageArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
pipeline_id: pulumi.Input[str],
|
23
|
+
backend_stage_id: Optional[pulumi.Input[str]] = None,
|
24
|
+
cache_stage_id: Optional[pulumi.Input[str]] = None,
|
25
|
+
fqdns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
26
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
27
|
+
tls_stage_id: Optional[pulumi.Input[str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a EdgeServicesDnsStage resource.
|
30
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
31
|
+
:param pulumi.Input[str] backend_stage_id: The backend stage ID the DNS stage will be linked to.
|
32
|
+
:param pulumi.Input[str] cache_stage_id: The cache stage ID the DNS stage will be linked to.
|
33
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] fqdns: Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
34
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the DNS stage is associated with.
|
35
|
+
:param pulumi.Input[str] tls_stage_id: The TLS stage ID the DNS stage will be linked to.
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "pipeline_id", pipeline_id)
|
38
|
+
if backend_stage_id is not None:
|
39
|
+
pulumi.set(__self__, "backend_stage_id", backend_stage_id)
|
40
|
+
if cache_stage_id is not None:
|
41
|
+
pulumi.set(__self__, "cache_stage_id", cache_stage_id)
|
42
|
+
if fqdns is not None:
|
43
|
+
pulumi.set(__self__, "fqdns", fqdns)
|
44
|
+
if project_id is not None:
|
45
|
+
pulumi.set(__self__, "project_id", project_id)
|
46
|
+
if tls_stage_id is not None:
|
47
|
+
pulumi.set(__self__, "tls_stage_id", tls_stage_id)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="pipelineId")
|
51
|
+
def pipeline_id(self) -> pulumi.Input[str]:
|
52
|
+
"""
|
53
|
+
The ID of the pipeline.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "pipeline_id")
|
56
|
+
|
57
|
+
@pipeline_id.setter
|
58
|
+
def pipeline_id(self, value: pulumi.Input[str]):
|
59
|
+
pulumi.set(self, "pipeline_id", value)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="backendStageId")
|
63
|
+
def backend_stage_id(self) -> Optional[pulumi.Input[str]]:
|
64
|
+
"""
|
65
|
+
The backend stage ID the DNS stage will be linked to.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "backend_stage_id")
|
68
|
+
|
69
|
+
@backend_stage_id.setter
|
70
|
+
def backend_stage_id(self, value: Optional[pulumi.Input[str]]):
|
71
|
+
pulumi.set(self, "backend_stage_id", value)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="cacheStageId")
|
75
|
+
def cache_stage_id(self) -> Optional[pulumi.Input[str]]:
|
76
|
+
"""
|
77
|
+
The cache stage ID the DNS stage will be linked to.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "cache_stage_id")
|
80
|
+
|
81
|
+
@cache_stage_id.setter
|
82
|
+
def cache_stage_id(self, value: Optional[pulumi.Input[str]]):
|
83
|
+
pulumi.set(self, "cache_stage_id", value)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def fqdns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
88
|
+
"""
|
89
|
+
Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "fqdns")
|
92
|
+
|
93
|
+
@fqdns.setter
|
94
|
+
def fqdns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
95
|
+
pulumi.set(self, "fqdns", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="projectId")
|
99
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
100
|
+
"""
|
101
|
+
`project_id`) The ID of the project the DNS stage is associated with.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "project_id")
|
104
|
+
|
105
|
+
@project_id.setter
|
106
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
107
|
+
pulumi.set(self, "project_id", value)
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter(name="tlsStageId")
|
111
|
+
def tls_stage_id(self) -> Optional[pulumi.Input[str]]:
|
112
|
+
"""
|
113
|
+
The TLS stage ID the DNS stage will be linked to.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "tls_stage_id")
|
116
|
+
|
117
|
+
@tls_stage_id.setter
|
118
|
+
def tls_stage_id(self, value: Optional[pulumi.Input[str]]):
|
119
|
+
pulumi.set(self, "tls_stage_id", value)
|
120
|
+
|
121
|
+
|
122
|
+
@pulumi.input_type
|
123
|
+
class _EdgeServicesDnsStageState:
|
124
|
+
def __init__(__self__, *,
|
125
|
+
backend_stage_id: Optional[pulumi.Input[str]] = None,
|
126
|
+
cache_stage_id: Optional[pulumi.Input[str]] = None,
|
127
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
128
|
+
fqdns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
129
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
130
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
131
|
+
tls_stage_id: Optional[pulumi.Input[str]] = None,
|
132
|
+
type: Optional[pulumi.Input[str]] = None,
|
133
|
+
updated_at: Optional[pulumi.Input[str]] = None):
|
134
|
+
"""
|
135
|
+
Input properties used for looking up and filtering EdgeServicesDnsStage resources.
|
136
|
+
:param pulumi.Input[str] backend_stage_id: The backend stage ID the DNS stage will be linked to.
|
137
|
+
:param pulumi.Input[str] cache_stage_id: The cache stage ID the DNS stage will be linked to.
|
138
|
+
:param pulumi.Input[str] created_at: The date and time of the creation of the DNS stage.
|
139
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] fqdns: Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
140
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
141
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the DNS stage is associated with.
|
142
|
+
:param pulumi.Input[str] tls_stage_id: The TLS stage ID the DNS stage will be linked to.
|
143
|
+
:param pulumi.Input[str] type: The type of the stage.
|
144
|
+
:param pulumi.Input[str] updated_at: The date and time of the last update of the DNS stage.
|
145
|
+
"""
|
146
|
+
if backend_stage_id is not None:
|
147
|
+
pulumi.set(__self__, "backend_stage_id", backend_stage_id)
|
148
|
+
if cache_stage_id is not None:
|
149
|
+
pulumi.set(__self__, "cache_stage_id", cache_stage_id)
|
150
|
+
if created_at is not None:
|
151
|
+
pulumi.set(__self__, "created_at", created_at)
|
152
|
+
if fqdns is not None:
|
153
|
+
pulumi.set(__self__, "fqdns", fqdns)
|
154
|
+
if pipeline_id is not None:
|
155
|
+
pulumi.set(__self__, "pipeline_id", pipeline_id)
|
156
|
+
if project_id is not None:
|
157
|
+
pulumi.set(__self__, "project_id", project_id)
|
158
|
+
if tls_stage_id is not None:
|
159
|
+
pulumi.set(__self__, "tls_stage_id", tls_stage_id)
|
160
|
+
if type is not None:
|
161
|
+
pulumi.set(__self__, "type", type)
|
162
|
+
if updated_at is not None:
|
163
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter(name="backendStageId")
|
167
|
+
def backend_stage_id(self) -> Optional[pulumi.Input[str]]:
|
168
|
+
"""
|
169
|
+
The backend stage ID the DNS stage will be linked to.
|
170
|
+
"""
|
171
|
+
return pulumi.get(self, "backend_stage_id")
|
172
|
+
|
173
|
+
@backend_stage_id.setter
|
174
|
+
def backend_stage_id(self, value: Optional[pulumi.Input[str]]):
|
175
|
+
pulumi.set(self, "backend_stage_id", value)
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter(name="cacheStageId")
|
179
|
+
def cache_stage_id(self) -> Optional[pulumi.Input[str]]:
|
180
|
+
"""
|
181
|
+
The cache stage ID the DNS stage will be linked to.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "cache_stage_id")
|
184
|
+
|
185
|
+
@cache_stage_id.setter
|
186
|
+
def cache_stage_id(self, value: Optional[pulumi.Input[str]]):
|
187
|
+
pulumi.set(self, "cache_stage_id", value)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="createdAt")
|
191
|
+
def created_at(self) -> Optional[pulumi.Input[str]]:
|
192
|
+
"""
|
193
|
+
The date and time of the creation of the DNS stage.
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "created_at")
|
196
|
+
|
197
|
+
@created_at.setter
|
198
|
+
def created_at(self, value: Optional[pulumi.Input[str]]):
|
199
|
+
pulumi.set(self, "created_at", value)
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter
|
203
|
+
def fqdns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
204
|
+
"""
|
205
|
+
Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "fqdns")
|
208
|
+
|
209
|
+
@fqdns.setter
|
210
|
+
def fqdns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
211
|
+
pulumi.set(self, "fqdns", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="pipelineId")
|
215
|
+
def pipeline_id(self) -> Optional[pulumi.Input[str]]:
|
216
|
+
"""
|
217
|
+
The ID of the pipeline.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "pipeline_id")
|
220
|
+
|
221
|
+
@pipeline_id.setter
|
222
|
+
def pipeline_id(self, value: Optional[pulumi.Input[str]]):
|
223
|
+
pulumi.set(self, "pipeline_id", value)
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="projectId")
|
227
|
+
def project_id(self) -> Optional[pulumi.Input[str]]:
|
228
|
+
"""
|
229
|
+
`project_id`) The ID of the project the DNS stage is associated with.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "project_id")
|
232
|
+
|
233
|
+
@project_id.setter
|
234
|
+
def project_id(self, value: Optional[pulumi.Input[str]]):
|
235
|
+
pulumi.set(self, "project_id", value)
|
236
|
+
|
237
|
+
@property
|
238
|
+
@pulumi.getter(name="tlsStageId")
|
239
|
+
def tls_stage_id(self) -> Optional[pulumi.Input[str]]:
|
240
|
+
"""
|
241
|
+
The TLS stage ID the DNS stage will be linked to.
|
242
|
+
"""
|
243
|
+
return pulumi.get(self, "tls_stage_id")
|
244
|
+
|
245
|
+
@tls_stage_id.setter
|
246
|
+
def tls_stage_id(self, value: Optional[pulumi.Input[str]]):
|
247
|
+
pulumi.set(self, "tls_stage_id", value)
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter
|
251
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
252
|
+
"""
|
253
|
+
The type of the stage.
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "type")
|
256
|
+
|
257
|
+
@type.setter
|
258
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
259
|
+
pulumi.set(self, "type", value)
|
260
|
+
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="updatedAt")
|
263
|
+
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
264
|
+
"""
|
265
|
+
The date and time of the last update of the DNS stage.
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "updated_at")
|
268
|
+
|
269
|
+
@updated_at.setter
|
270
|
+
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
271
|
+
pulumi.set(self, "updated_at", value)
|
272
|
+
|
273
|
+
|
274
|
+
class EdgeServicesDnsStage(pulumi.CustomResource):
|
275
|
+
@overload
|
276
|
+
def __init__(__self__,
|
277
|
+
resource_name: str,
|
278
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
279
|
+
backend_stage_id: Optional[pulumi.Input[str]] = None,
|
280
|
+
cache_stage_id: Optional[pulumi.Input[str]] = None,
|
281
|
+
fqdns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
282
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
283
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
284
|
+
tls_stage_id: Optional[pulumi.Input[str]] = None,
|
285
|
+
__props__=None):
|
286
|
+
"""
|
287
|
+
Creates and manages Scaleway Edge Services DNS Stages.
|
288
|
+
|
289
|
+
## Example Usage
|
290
|
+
|
291
|
+
### Basic
|
292
|
+
|
293
|
+
```python
|
294
|
+
import pulumi
|
295
|
+
import pulumiverse_scaleway as scaleway
|
296
|
+
|
297
|
+
main = scaleway.EdgeServicesDnsStage("main",
|
298
|
+
pipeline_id=main_scaleway_edge_services_pipeline["id"],
|
299
|
+
fqdns=["subdomain.example.com"])
|
300
|
+
```
|
301
|
+
|
302
|
+
## Import
|
303
|
+
|
304
|
+
DNS stages can be imported using the `{id}`, e.g.
|
305
|
+
|
306
|
+
bash
|
307
|
+
|
308
|
+
```sh
|
309
|
+
$ pulumi import scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage basic 11111111-1111-1111-1111-111111111111
|
310
|
+
```
|
311
|
+
|
312
|
+
:param str resource_name: The name of the resource.
|
313
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
314
|
+
:param pulumi.Input[str] backend_stage_id: The backend stage ID the DNS stage will be linked to.
|
315
|
+
:param pulumi.Input[str] cache_stage_id: The cache stage ID the DNS stage will be linked to.
|
316
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] fqdns: Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
317
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
318
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the DNS stage is associated with.
|
319
|
+
:param pulumi.Input[str] tls_stage_id: The TLS stage ID the DNS stage will be linked to.
|
320
|
+
"""
|
321
|
+
...
|
322
|
+
@overload
|
323
|
+
def __init__(__self__,
|
324
|
+
resource_name: str,
|
325
|
+
args: EdgeServicesDnsStageArgs,
|
326
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
327
|
+
"""
|
328
|
+
Creates and manages Scaleway Edge Services DNS Stages.
|
329
|
+
|
330
|
+
## Example Usage
|
331
|
+
|
332
|
+
### Basic
|
333
|
+
|
334
|
+
```python
|
335
|
+
import pulumi
|
336
|
+
import pulumiverse_scaleway as scaleway
|
337
|
+
|
338
|
+
main = scaleway.EdgeServicesDnsStage("main",
|
339
|
+
pipeline_id=main_scaleway_edge_services_pipeline["id"],
|
340
|
+
fqdns=["subdomain.example.com"])
|
341
|
+
```
|
342
|
+
|
343
|
+
## Import
|
344
|
+
|
345
|
+
DNS stages can be imported using the `{id}`, e.g.
|
346
|
+
|
347
|
+
bash
|
348
|
+
|
349
|
+
```sh
|
350
|
+
$ pulumi import scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage basic 11111111-1111-1111-1111-111111111111
|
351
|
+
```
|
352
|
+
|
353
|
+
:param str resource_name: The name of the resource.
|
354
|
+
:param EdgeServicesDnsStageArgs args: The arguments to use to populate this resource's properties.
|
355
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
356
|
+
"""
|
357
|
+
...
|
358
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
359
|
+
resource_args, opts = _utilities.get_resource_args_opts(EdgeServicesDnsStageArgs, pulumi.ResourceOptions, *args, **kwargs)
|
360
|
+
if resource_args is not None:
|
361
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
362
|
+
else:
|
363
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
364
|
+
|
365
|
+
def _internal_init(__self__,
|
366
|
+
resource_name: str,
|
367
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
368
|
+
backend_stage_id: Optional[pulumi.Input[str]] = None,
|
369
|
+
cache_stage_id: Optional[pulumi.Input[str]] = None,
|
370
|
+
fqdns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
371
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
372
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
373
|
+
tls_stage_id: Optional[pulumi.Input[str]] = None,
|
374
|
+
__props__=None):
|
375
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
376
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
377
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
378
|
+
if opts.id is None:
|
379
|
+
if __props__ is not None:
|
380
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
381
|
+
__props__ = EdgeServicesDnsStageArgs.__new__(EdgeServicesDnsStageArgs)
|
382
|
+
|
383
|
+
__props__.__dict__["backend_stage_id"] = backend_stage_id
|
384
|
+
__props__.__dict__["cache_stage_id"] = cache_stage_id
|
385
|
+
__props__.__dict__["fqdns"] = fqdns
|
386
|
+
if pipeline_id is None and not opts.urn:
|
387
|
+
raise TypeError("Missing required property 'pipeline_id'")
|
388
|
+
__props__.__dict__["pipeline_id"] = pipeline_id
|
389
|
+
__props__.__dict__["project_id"] = project_id
|
390
|
+
__props__.__dict__["tls_stage_id"] = tls_stage_id
|
391
|
+
__props__.__dict__["created_at"] = None
|
392
|
+
__props__.__dict__["type"] = None
|
393
|
+
__props__.__dict__["updated_at"] = None
|
394
|
+
super(EdgeServicesDnsStage, __self__).__init__(
|
395
|
+
'scaleway:index/edgeServicesDnsStage:EdgeServicesDnsStage',
|
396
|
+
resource_name,
|
397
|
+
__props__,
|
398
|
+
opts)
|
399
|
+
|
400
|
+
@staticmethod
|
401
|
+
def get(resource_name: str,
|
402
|
+
id: pulumi.Input[str],
|
403
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
404
|
+
backend_stage_id: Optional[pulumi.Input[str]] = None,
|
405
|
+
cache_stage_id: Optional[pulumi.Input[str]] = None,
|
406
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
407
|
+
fqdns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
408
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
409
|
+
project_id: Optional[pulumi.Input[str]] = None,
|
410
|
+
tls_stage_id: Optional[pulumi.Input[str]] = None,
|
411
|
+
type: Optional[pulumi.Input[str]] = None,
|
412
|
+
updated_at: Optional[pulumi.Input[str]] = None) -> 'EdgeServicesDnsStage':
|
413
|
+
"""
|
414
|
+
Get an existing EdgeServicesDnsStage resource's state with the given name, id, and optional extra
|
415
|
+
properties used to qualify the lookup.
|
416
|
+
|
417
|
+
:param str resource_name: The unique name of the resulting resource.
|
418
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
419
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
420
|
+
:param pulumi.Input[str] backend_stage_id: The backend stage ID the DNS stage will be linked to.
|
421
|
+
:param pulumi.Input[str] cache_stage_id: The cache stage ID the DNS stage will be linked to.
|
422
|
+
:param pulumi.Input[str] created_at: The date and time of the creation of the DNS stage.
|
423
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] fqdns: Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
424
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
425
|
+
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the DNS stage is associated with.
|
426
|
+
:param pulumi.Input[str] tls_stage_id: The TLS stage ID the DNS stage will be linked to.
|
427
|
+
:param pulumi.Input[str] type: The type of the stage.
|
428
|
+
:param pulumi.Input[str] updated_at: The date and time of the last update of the DNS stage.
|
429
|
+
"""
|
430
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
431
|
+
|
432
|
+
__props__ = _EdgeServicesDnsStageState.__new__(_EdgeServicesDnsStageState)
|
433
|
+
|
434
|
+
__props__.__dict__["backend_stage_id"] = backend_stage_id
|
435
|
+
__props__.__dict__["cache_stage_id"] = cache_stage_id
|
436
|
+
__props__.__dict__["created_at"] = created_at
|
437
|
+
__props__.__dict__["fqdns"] = fqdns
|
438
|
+
__props__.__dict__["pipeline_id"] = pipeline_id
|
439
|
+
__props__.__dict__["project_id"] = project_id
|
440
|
+
__props__.__dict__["tls_stage_id"] = tls_stage_id
|
441
|
+
__props__.__dict__["type"] = type
|
442
|
+
__props__.__dict__["updated_at"] = updated_at
|
443
|
+
return EdgeServicesDnsStage(resource_name, opts=opts, __props__=__props__)
|
444
|
+
|
445
|
+
@property
|
446
|
+
@pulumi.getter(name="backendStageId")
|
447
|
+
def backend_stage_id(self) -> pulumi.Output[str]:
|
448
|
+
"""
|
449
|
+
The backend stage ID the DNS stage will be linked to.
|
450
|
+
"""
|
451
|
+
return pulumi.get(self, "backend_stage_id")
|
452
|
+
|
453
|
+
@property
|
454
|
+
@pulumi.getter(name="cacheStageId")
|
455
|
+
def cache_stage_id(self) -> pulumi.Output[str]:
|
456
|
+
"""
|
457
|
+
The cache stage ID the DNS stage will be linked to.
|
458
|
+
"""
|
459
|
+
return pulumi.get(self, "cache_stage_id")
|
460
|
+
|
461
|
+
@property
|
462
|
+
@pulumi.getter(name="createdAt")
|
463
|
+
def created_at(self) -> pulumi.Output[str]:
|
464
|
+
"""
|
465
|
+
The date and time of the creation of the DNS stage.
|
466
|
+
"""
|
467
|
+
return pulumi.get(self, "created_at")
|
468
|
+
|
469
|
+
@property
|
470
|
+
@pulumi.getter
|
471
|
+
def fqdns(self) -> pulumi.Output[Sequence[str]]:
|
472
|
+
"""
|
473
|
+
Fully Qualified Domain Name (in the format subdomain.example.com) to attach to the stage.
|
474
|
+
"""
|
475
|
+
return pulumi.get(self, "fqdns")
|
476
|
+
|
477
|
+
@property
|
478
|
+
@pulumi.getter(name="pipelineId")
|
479
|
+
def pipeline_id(self) -> pulumi.Output[str]:
|
480
|
+
"""
|
481
|
+
The ID of the pipeline.
|
482
|
+
"""
|
483
|
+
return pulumi.get(self, "pipeline_id")
|
484
|
+
|
485
|
+
@property
|
486
|
+
@pulumi.getter(name="projectId")
|
487
|
+
def project_id(self) -> pulumi.Output[str]:
|
488
|
+
"""
|
489
|
+
`project_id`) The ID of the project the DNS stage is associated with.
|
490
|
+
"""
|
491
|
+
return pulumi.get(self, "project_id")
|
492
|
+
|
493
|
+
@property
|
494
|
+
@pulumi.getter(name="tlsStageId")
|
495
|
+
def tls_stage_id(self) -> pulumi.Output[str]:
|
496
|
+
"""
|
497
|
+
The TLS stage ID the DNS stage will be linked to.
|
498
|
+
"""
|
499
|
+
return pulumi.get(self, "tls_stage_id")
|
500
|
+
|
501
|
+
@property
|
502
|
+
@pulumi.getter
|
503
|
+
def type(self) -> pulumi.Output[str]:
|
504
|
+
"""
|
505
|
+
The type of the stage.
|
506
|
+
"""
|
507
|
+
return pulumi.get(self, "type")
|
508
|
+
|
509
|
+
@property
|
510
|
+
@pulumi.getter(name="updatedAt")
|
511
|
+
def updated_at(self) -> pulumi.Output[str]:
|
512
|
+
"""
|
513
|
+
The date and time of the last update of the DNS stage.
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "updated_at")
|
516
|
+
|