pulumiverse-scaleway 1.26.0a1742897201__py3-none-any.whl → 1.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +105 -0
- pulumiverse_scaleway/_inputs.py +776 -0
- pulumiverse_scaleway/apple_silicon_server.py +105 -0
- pulumiverse_scaleway/applesilicon/server.py +105 -0
- pulumiverse_scaleway/baremetal_server.py +82 -0
- pulumiverse_scaleway/cockpit.py +7 -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 +584 -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 +478 -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 +640 -0
- pulumiverse_scaleway/edge_services_waf_stage.py +444 -0
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -0
- pulumiverse_scaleway/elasticmetal/get_easy_partitioning.py +177 -0
- pulumiverse_scaleway/elasticmetal/ip.py +13 -7
- pulumiverse_scaleway/elasticmetal/server.py +82 -0
- pulumiverse_scaleway/flexible_ip.py +13 -7
- pulumiverse_scaleway/get_cockpit_plan.py +1 -0
- pulumiverse_scaleway/get_instance_server.py +12 -1
- 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/hosting/hosting.py +2 -2
- pulumiverse_scaleway/instance/get_server.py +12 -1
- pulumiverse_scaleway/instance/outputs.py +0 -11
- pulumiverse_scaleway/instance/server.py +54 -7
- pulumiverse_scaleway/instance_server.py +54 -7
- pulumiverse_scaleway/job/_inputs.py +113 -0
- pulumiverse_scaleway/job/definition.py +107 -0
- pulumiverse_scaleway/job/outputs.py +88 -0
- pulumiverse_scaleway/job_definition.py +107 -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/observability/cockpit.py +7 -0
- pulumiverse_scaleway/observability/get_plan.py +1 -0
- pulumiverse_scaleway/outputs.py +750 -13
- 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/webhosting.py +2 -2
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/RECORD +85 -71
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,258 @@
|
|
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__ = ['EdgeServicesHeadStageArgs', 'EdgeServicesHeadStage']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class EdgeServicesHeadStageArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
pipeline_id: pulumi.Input[str],
|
23
|
+
head_stage_id: Optional[pulumi.Input[str]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a EdgeServicesHeadStage resource.
|
26
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
27
|
+
:param pulumi.Input[str] head_stage_id: The ID of head stage of the pipeline.
|
28
|
+
"""
|
29
|
+
pulumi.set(__self__, "pipeline_id", pipeline_id)
|
30
|
+
if head_stage_id is not None:
|
31
|
+
pulumi.set(__self__, "head_stage_id", head_stage_id)
|
32
|
+
|
33
|
+
@property
|
34
|
+
@pulumi.getter(name="pipelineId")
|
35
|
+
def pipeline_id(self) -> pulumi.Input[str]:
|
36
|
+
"""
|
37
|
+
The ID of the pipeline.
|
38
|
+
"""
|
39
|
+
return pulumi.get(self, "pipeline_id")
|
40
|
+
|
41
|
+
@pipeline_id.setter
|
42
|
+
def pipeline_id(self, value: pulumi.Input[str]):
|
43
|
+
pulumi.set(self, "pipeline_id", value)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="headStageId")
|
47
|
+
def head_stage_id(self) -> Optional[pulumi.Input[str]]:
|
48
|
+
"""
|
49
|
+
The ID of head stage of the pipeline.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "head_stage_id")
|
52
|
+
|
53
|
+
@head_stage_id.setter
|
54
|
+
def head_stage_id(self, value: Optional[pulumi.Input[str]]):
|
55
|
+
pulumi.set(self, "head_stage_id", value)
|
56
|
+
|
57
|
+
|
58
|
+
@pulumi.input_type
|
59
|
+
class _EdgeServicesHeadStageState:
|
60
|
+
def __init__(__self__, *,
|
61
|
+
head_stage_id: Optional[pulumi.Input[str]] = None,
|
62
|
+
pipeline_id: Optional[pulumi.Input[str]] = None):
|
63
|
+
"""
|
64
|
+
Input properties used for looking up and filtering EdgeServicesHeadStage resources.
|
65
|
+
:param pulumi.Input[str] head_stage_id: The ID of head stage of the pipeline.
|
66
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
67
|
+
"""
|
68
|
+
if head_stage_id is not None:
|
69
|
+
pulumi.set(__self__, "head_stage_id", head_stage_id)
|
70
|
+
if pipeline_id is not None:
|
71
|
+
pulumi.set(__self__, "pipeline_id", pipeline_id)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="headStageId")
|
75
|
+
def head_stage_id(self) -> Optional[pulumi.Input[str]]:
|
76
|
+
"""
|
77
|
+
The ID of head stage of the pipeline.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "head_stage_id")
|
80
|
+
|
81
|
+
@head_stage_id.setter
|
82
|
+
def head_stage_id(self, value: Optional[pulumi.Input[str]]):
|
83
|
+
pulumi.set(self, "head_stage_id", value)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="pipelineId")
|
87
|
+
def pipeline_id(self) -> Optional[pulumi.Input[str]]:
|
88
|
+
"""
|
89
|
+
The ID of the pipeline.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "pipeline_id")
|
92
|
+
|
93
|
+
@pipeline_id.setter
|
94
|
+
def pipeline_id(self, value: Optional[pulumi.Input[str]]):
|
95
|
+
pulumi.set(self, "pipeline_id", value)
|
96
|
+
|
97
|
+
|
98
|
+
class EdgeServicesHeadStage(pulumi.CustomResource):
|
99
|
+
@overload
|
100
|
+
def __init__(__self__,
|
101
|
+
resource_name: str,
|
102
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
103
|
+
head_stage_id: Optional[pulumi.Input[str]] = None,
|
104
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
105
|
+
__props__=None):
|
106
|
+
"""
|
107
|
+
Sets the Scaleway Edge Services head stage of your pipeline.
|
108
|
+
|
109
|
+
## Example Usage
|
110
|
+
|
111
|
+
### Basic
|
112
|
+
|
113
|
+
```python
|
114
|
+
import pulumi
|
115
|
+
import pulumiverse_scaleway as scaleway
|
116
|
+
|
117
|
+
main = scaleway.EdgeServicesPipeline("main",
|
118
|
+
name="my-edge_services-pipeline",
|
119
|
+
description="pipeline description")
|
120
|
+
main_edge_services_dns_stage = scaleway.EdgeServicesDnsStage("main",
|
121
|
+
pipeline_id=main.id,
|
122
|
+
tls_stage_id=main_scaleway_edge_services_tls_stage["id"],
|
123
|
+
fqdns=["subdomain.example.com"])
|
124
|
+
main_edge_services_head_stage = scaleway.EdgeServicesHeadStage("main",
|
125
|
+
pipeline_id=main.id,
|
126
|
+
head_stage_id=main_edge_services_dns_stage.id)
|
127
|
+
```
|
128
|
+
|
129
|
+
## Import
|
130
|
+
|
131
|
+
Head stages can be imported using the `{id}`, e.g.
|
132
|
+
|
133
|
+
bash
|
134
|
+
|
135
|
+
```sh
|
136
|
+
$ pulumi import scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage main 11111111-1111-1111-1111-111111111111
|
137
|
+
```
|
138
|
+
|
139
|
+
:param str resource_name: The name of the resource.
|
140
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
141
|
+
:param pulumi.Input[str] head_stage_id: The ID of head stage of the pipeline.
|
142
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
143
|
+
"""
|
144
|
+
...
|
145
|
+
@overload
|
146
|
+
def __init__(__self__,
|
147
|
+
resource_name: str,
|
148
|
+
args: EdgeServicesHeadStageArgs,
|
149
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
150
|
+
"""
|
151
|
+
Sets the Scaleway Edge Services head stage of your pipeline.
|
152
|
+
|
153
|
+
## Example Usage
|
154
|
+
|
155
|
+
### Basic
|
156
|
+
|
157
|
+
```python
|
158
|
+
import pulumi
|
159
|
+
import pulumiverse_scaleway as scaleway
|
160
|
+
|
161
|
+
main = scaleway.EdgeServicesPipeline("main",
|
162
|
+
name="my-edge_services-pipeline",
|
163
|
+
description="pipeline description")
|
164
|
+
main_edge_services_dns_stage = scaleway.EdgeServicesDnsStage("main",
|
165
|
+
pipeline_id=main.id,
|
166
|
+
tls_stage_id=main_scaleway_edge_services_tls_stage["id"],
|
167
|
+
fqdns=["subdomain.example.com"])
|
168
|
+
main_edge_services_head_stage = scaleway.EdgeServicesHeadStage("main",
|
169
|
+
pipeline_id=main.id,
|
170
|
+
head_stage_id=main_edge_services_dns_stage.id)
|
171
|
+
```
|
172
|
+
|
173
|
+
## Import
|
174
|
+
|
175
|
+
Head stages can be imported using the `{id}`, e.g.
|
176
|
+
|
177
|
+
bash
|
178
|
+
|
179
|
+
```sh
|
180
|
+
$ pulumi import scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage main 11111111-1111-1111-1111-111111111111
|
181
|
+
```
|
182
|
+
|
183
|
+
:param str resource_name: The name of the resource.
|
184
|
+
:param EdgeServicesHeadStageArgs args: The arguments to use to populate this resource's properties.
|
185
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
186
|
+
"""
|
187
|
+
...
|
188
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
189
|
+
resource_args, opts = _utilities.get_resource_args_opts(EdgeServicesHeadStageArgs, pulumi.ResourceOptions, *args, **kwargs)
|
190
|
+
if resource_args is not None:
|
191
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
192
|
+
else:
|
193
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
194
|
+
|
195
|
+
def _internal_init(__self__,
|
196
|
+
resource_name: str,
|
197
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
198
|
+
head_stage_id: Optional[pulumi.Input[str]] = None,
|
199
|
+
pipeline_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
__props__=None):
|
201
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
202
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
203
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
204
|
+
if opts.id is None:
|
205
|
+
if __props__ is not None:
|
206
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
207
|
+
__props__ = EdgeServicesHeadStageArgs.__new__(EdgeServicesHeadStageArgs)
|
208
|
+
|
209
|
+
__props__.__dict__["head_stage_id"] = head_stage_id
|
210
|
+
if pipeline_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'pipeline_id'")
|
212
|
+
__props__.__dict__["pipeline_id"] = pipeline_id
|
213
|
+
super(EdgeServicesHeadStage, __self__).__init__(
|
214
|
+
'scaleway:index/edgeServicesHeadStage:EdgeServicesHeadStage',
|
215
|
+
resource_name,
|
216
|
+
__props__,
|
217
|
+
opts)
|
218
|
+
|
219
|
+
@staticmethod
|
220
|
+
def get(resource_name: str,
|
221
|
+
id: pulumi.Input[str],
|
222
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
223
|
+
head_stage_id: Optional[pulumi.Input[str]] = None,
|
224
|
+
pipeline_id: Optional[pulumi.Input[str]] = None) -> 'EdgeServicesHeadStage':
|
225
|
+
"""
|
226
|
+
Get an existing EdgeServicesHeadStage resource's state with the given name, id, and optional extra
|
227
|
+
properties used to qualify the lookup.
|
228
|
+
|
229
|
+
:param str resource_name: The unique name of the resulting resource.
|
230
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
231
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
232
|
+
:param pulumi.Input[str] head_stage_id: The ID of head stage of the pipeline.
|
233
|
+
:param pulumi.Input[str] pipeline_id: The ID of the pipeline.
|
234
|
+
"""
|
235
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
236
|
+
|
237
|
+
__props__ = _EdgeServicesHeadStageState.__new__(_EdgeServicesHeadStageState)
|
238
|
+
|
239
|
+
__props__.__dict__["head_stage_id"] = head_stage_id
|
240
|
+
__props__.__dict__["pipeline_id"] = pipeline_id
|
241
|
+
return EdgeServicesHeadStage(resource_name, opts=opts, __props__=__props__)
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter(name="headStageId")
|
245
|
+
def head_stage_id(self) -> pulumi.Output[str]:
|
246
|
+
"""
|
247
|
+
The ID of head stage of the pipeline.
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "head_stage_id")
|
250
|
+
|
251
|
+
@property
|
252
|
+
@pulumi.getter(name="pipelineId")
|
253
|
+
def pipeline_id(self) -> pulumi.Output[str]:
|
254
|
+
"""
|
255
|
+
The ID of the pipeline.
|
256
|
+
"""
|
257
|
+
return pulumi.get(self, "pipeline_id")
|
258
|
+
|