pulumiverse-scaleway 1.27.1__py3-none-any.whl → 1.28.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 +16 -0
- pulumiverse_scaleway/_inputs.py +498 -6
- pulumiverse_scaleway/baremetal_server.py +48 -258
- pulumiverse_scaleway/database_instance.py +42 -21
- pulumiverse_scaleway/databases/_inputs.py +54 -0
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +42 -21
- pulumiverse_scaleway/databases/outputs.py +62 -0
- pulumiverse_scaleway/databases/snapshot.py +2 -2
- pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
- pulumiverse_scaleway/elasticmetal/server.py +48 -258
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_cockpit_plan.py +2 -38
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_private_nic.py +13 -1
- pulumiverse_scaleway/get_instance_server.py +12 -1
- pulumiverse_scaleway/get_lb_route.py +12 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_redis_cluster.py +12 -1
- pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
- pulumiverse_scaleway/inference/__init__.py +2 -0
- pulumiverse_scaleway/inference/_inputs.py +128 -0
- pulumiverse_scaleway/inference/deployment.py +70 -55
- pulumiverse_scaleway/inference/get_model.py +299 -0
- pulumiverse_scaleway/inference/model.py +683 -0
- pulumiverse_scaleway/inference/outputs.py +184 -0
- pulumiverse_scaleway/inference_deployment.py +70 -55
- pulumiverse_scaleway/instance/_inputs.py +108 -0
- pulumiverse_scaleway/instance/get_private_nic.py +13 -1
- pulumiverse_scaleway/instance/get_server.py +12 -1
- pulumiverse_scaleway/instance/outputs.py +124 -0
- pulumiverse_scaleway/instance/private_nic.py +30 -0
- pulumiverse_scaleway/instance/server.py +28 -0
- pulumiverse_scaleway/instance_private_nic.py +30 -0
- pulumiverse_scaleway/instance_server.py +28 -0
- pulumiverse_scaleway/kubernetes/__init__.py +1 -0
- pulumiverse_scaleway/kubernetes/_inputs.py +203 -0
- pulumiverse_scaleway/kubernetes/acl.py +446 -0
- pulumiverse_scaleway/kubernetes/outputs.py +195 -1
- pulumiverse_scaleway/loadbalancer.py +28 -0
- pulumiverse_scaleway/loadbalancer_route.py +138 -14
- pulumiverse_scaleway/loadbalancers/_inputs.py +54 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +28 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +62 -0
- pulumiverse_scaleway/loadbalancers/route.py +138 -14
- pulumiverse_scaleway/mnq/sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq/sqs_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sqs_credentials.py +7 -7
- pulumiverse_scaleway/network/_inputs.py +54 -0
- pulumiverse_scaleway/network/gateway_network.py +28 -0
- pulumiverse_scaleway/network/get_gateway_network.py +12 -1
- pulumiverse_scaleway/network/outputs.py +62 -0
- pulumiverse_scaleway/network/route.py +90 -2
- pulumiverse_scaleway/observability/get_plan.py +2 -38
- pulumiverse_scaleway/outputs.py +574 -5
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +2 -2
- pulumiverse_scaleway/redis/_inputs.py +60 -6
- pulumiverse_scaleway/redis/cluster.py +28 -0
- pulumiverse_scaleway/redis/get_cluster.py +12 -1
- pulumiverse_scaleway/redis/outputs.py +66 -4
- pulumiverse_scaleway/redis_cluster.py +28 -0
- pulumiverse_scaleway/vpc_gateway_network.py +28 -0
- pulumiverse_scaleway/vpc_route.py +90 -2
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/RECORD +73 -70
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/top_level.txt +0 -0
@@ -28,6 +28,7 @@ __all__ = [
|
|
28
28
|
'FrontendAclAction',
|
29
29
|
'FrontendAclActionRedirect',
|
30
30
|
'FrontendAclMatch',
|
31
|
+
'LoadBalancerPrivateIp',
|
31
32
|
'LoadBalancerPrivateNetwork',
|
32
33
|
'GetAclsAclResult',
|
33
34
|
'GetAclsAclActionResult',
|
@@ -46,6 +47,7 @@ __all__ = [
|
|
46
47
|
'GetFrontendAclMatchResult',
|
47
48
|
'GetFrontendsFrontendResult',
|
48
49
|
'GetIpsIpResult',
|
50
|
+
'GetLoadBalancerPrivateIpResult',
|
49
51
|
'GetLoadBalancerPrivateNetworkResult',
|
50
52
|
'GetLoadBalancersLbResult',
|
51
53
|
'GetLoadBalancersLbInstanceResult',
|
@@ -731,6 +733,37 @@ class FrontendAclMatch(dict):
|
|
731
733
|
return pulumi.get(self, "ip_subnets")
|
732
734
|
|
733
735
|
|
736
|
+
@pulumi.output_type
|
737
|
+
class LoadBalancerPrivateIp(dict):
|
738
|
+
def __init__(__self__, *,
|
739
|
+
address: Optional[str] = None,
|
740
|
+
id: Optional[str] = None):
|
741
|
+
"""
|
742
|
+
:param str address: The private IP address.
|
743
|
+
:param str id: The ID of the IP address resource.
|
744
|
+
"""
|
745
|
+
if address is not None:
|
746
|
+
pulumi.set(__self__, "address", address)
|
747
|
+
if id is not None:
|
748
|
+
pulumi.set(__self__, "id", id)
|
749
|
+
|
750
|
+
@property
|
751
|
+
@pulumi.getter
|
752
|
+
def address(self) -> Optional[str]:
|
753
|
+
"""
|
754
|
+
The private IP address.
|
755
|
+
"""
|
756
|
+
return pulumi.get(self, "address")
|
757
|
+
|
758
|
+
@property
|
759
|
+
@pulumi.getter
|
760
|
+
def id(self) -> Optional[str]:
|
761
|
+
"""
|
762
|
+
The ID of the IP address resource.
|
763
|
+
"""
|
764
|
+
return pulumi.get(self, "id")
|
765
|
+
|
766
|
+
|
734
767
|
@pulumi.output_type
|
735
768
|
class LoadBalancerPrivateNetwork(dict):
|
736
769
|
@staticmethod
|
@@ -1975,6 +2008,35 @@ class GetIpsIpResult(dict):
|
|
1975
2008
|
return pulumi.get(self, "zone")
|
1976
2009
|
|
1977
2010
|
|
2011
|
+
@pulumi.output_type
|
2012
|
+
class GetLoadBalancerPrivateIpResult(dict):
|
2013
|
+
def __init__(__self__, *,
|
2014
|
+
address: str,
|
2015
|
+
id: str):
|
2016
|
+
"""
|
2017
|
+
:param str address: The private IP address
|
2018
|
+
:param str id: The ID of the Load Balancer.
|
2019
|
+
"""
|
2020
|
+
pulumi.set(__self__, "address", address)
|
2021
|
+
pulumi.set(__self__, "id", id)
|
2022
|
+
|
2023
|
+
@property
|
2024
|
+
@pulumi.getter
|
2025
|
+
def address(self) -> str:
|
2026
|
+
"""
|
2027
|
+
The private IP address
|
2028
|
+
"""
|
2029
|
+
return pulumi.get(self, "address")
|
2030
|
+
|
2031
|
+
@property
|
2032
|
+
@pulumi.getter
|
2033
|
+
def id(self) -> str:
|
2034
|
+
"""
|
2035
|
+
The ID of the Load Balancer.
|
2036
|
+
"""
|
2037
|
+
return pulumi.get(self, "id")
|
2038
|
+
|
2039
|
+
|
1978
2040
|
@pulumi.output_type
|
1979
2041
|
class GetLoadBalancerPrivateNetworkResult(dict):
|
1980
2042
|
def __init__(__self__, *,
|
@@ -22,6 +22,7 @@ class RouteArgs:
|
|
22
22
|
backend_id: pulumi.Input[str],
|
23
23
|
frontend_id: pulumi.Input[str],
|
24
24
|
match_host_header: Optional[pulumi.Input[str]] = None,
|
25
|
+
match_path_begin: Optional[pulumi.Input[str]] = None,
|
25
26
|
match_sni: Optional[pulumi.Input[str]] = None,
|
26
27
|
match_subdomains: Optional[pulumi.Input[bool]] = None):
|
27
28
|
"""
|
@@ -29,11 +30,13 @@ class RouteArgs:
|
|
29
30
|
:param pulumi.Input[str] backend_id: The ID of the backend the route is associated with.
|
30
31
|
:param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with.
|
31
32
|
:param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection.
|
32
|
-
Only one of `match_sni` and `
|
33
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
33
34
|
|
34
35
|
> **Important:** This field should be set for routes on HTTP Load Balancers.
|
36
|
+
:param pulumi.Input[str] match_path_begin: The value to match in the URL beginning path from an incoming request.
|
37
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
35
38
|
:param pulumi.Input[str] match_sni: The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer.
|
36
|
-
Only one of `match_sni` and `
|
39
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
37
40
|
|
38
41
|
> **Important:** This field should be set for routes on TCP Load Balancers.
|
39
42
|
:param pulumi.Input[bool] match_subdomains: If true, all subdomains will match.
|
@@ -42,6 +45,8 @@ class RouteArgs:
|
|
42
45
|
pulumi.set(__self__, "frontend_id", frontend_id)
|
43
46
|
if match_host_header is not None:
|
44
47
|
pulumi.set(__self__, "match_host_header", match_host_header)
|
48
|
+
if match_path_begin is not None:
|
49
|
+
pulumi.set(__self__, "match_path_begin", match_path_begin)
|
45
50
|
if match_sni is not None:
|
46
51
|
pulumi.set(__self__, "match_sni", match_sni)
|
47
52
|
if match_subdomains is not None:
|
@@ -76,7 +81,7 @@ class RouteArgs:
|
|
76
81
|
def match_host_header(self) -> Optional[pulumi.Input[str]]:
|
77
82
|
"""
|
78
83
|
The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection.
|
79
|
-
Only one of `match_sni` and `
|
84
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
80
85
|
|
81
86
|
> **Important:** This field should be set for routes on HTTP Load Balancers.
|
82
87
|
"""
|
@@ -86,12 +91,25 @@ class RouteArgs:
|
|
86
91
|
def match_host_header(self, value: Optional[pulumi.Input[str]]):
|
87
92
|
pulumi.set(self, "match_host_header", value)
|
88
93
|
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="matchPathBegin")
|
96
|
+
def match_path_begin(self) -> Optional[pulumi.Input[str]]:
|
97
|
+
"""
|
98
|
+
The value to match in the URL beginning path from an incoming request.
|
99
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "match_path_begin")
|
102
|
+
|
103
|
+
@match_path_begin.setter
|
104
|
+
def match_path_begin(self, value: Optional[pulumi.Input[str]]):
|
105
|
+
pulumi.set(self, "match_path_begin", value)
|
106
|
+
|
89
107
|
@property
|
90
108
|
@pulumi.getter(name="matchSni")
|
91
109
|
def match_sni(self) -> Optional[pulumi.Input[str]]:
|
92
110
|
"""
|
93
111
|
The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer.
|
94
|
-
Only one of `match_sni` and `
|
112
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
95
113
|
|
96
114
|
> **Important:** This field should be set for routes on TCP Load Balancers.
|
97
115
|
"""
|
@@ -121,6 +139,7 @@ class _RouteState:
|
|
121
139
|
created_at: Optional[pulumi.Input[str]] = None,
|
122
140
|
frontend_id: Optional[pulumi.Input[str]] = None,
|
123
141
|
match_host_header: Optional[pulumi.Input[str]] = None,
|
142
|
+
match_path_begin: Optional[pulumi.Input[str]] = None,
|
124
143
|
match_sni: Optional[pulumi.Input[str]] = None,
|
125
144
|
match_subdomains: Optional[pulumi.Input[bool]] = None,
|
126
145
|
updated_at: Optional[pulumi.Input[str]] = None):
|
@@ -130,11 +149,13 @@ class _RouteState:
|
|
130
149
|
:param pulumi.Input[str] created_at: The date on which the route was created.
|
131
150
|
:param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with.
|
132
151
|
:param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection.
|
133
|
-
Only one of `match_sni` and `
|
152
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
134
153
|
|
135
154
|
> **Important:** This field should be set for routes on HTTP Load Balancers.
|
155
|
+
:param pulumi.Input[str] match_path_begin: The value to match in the URL beginning path from an incoming request.
|
156
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
136
157
|
:param pulumi.Input[str] match_sni: The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer.
|
137
|
-
Only one of `match_sni` and `
|
158
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
138
159
|
|
139
160
|
> **Important:** This field should be set for routes on TCP Load Balancers.
|
140
161
|
:param pulumi.Input[bool] match_subdomains: If true, all subdomains will match.
|
@@ -148,6 +169,8 @@ class _RouteState:
|
|
148
169
|
pulumi.set(__self__, "frontend_id", frontend_id)
|
149
170
|
if match_host_header is not None:
|
150
171
|
pulumi.set(__self__, "match_host_header", match_host_header)
|
172
|
+
if match_path_begin is not None:
|
173
|
+
pulumi.set(__self__, "match_path_begin", match_path_begin)
|
151
174
|
if match_sni is not None:
|
152
175
|
pulumi.set(__self__, "match_sni", match_sni)
|
153
176
|
if match_subdomains is not None:
|
@@ -196,7 +219,7 @@ class _RouteState:
|
|
196
219
|
def match_host_header(self) -> Optional[pulumi.Input[str]]:
|
197
220
|
"""
|
198
221
|
The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection.
|
199
|
-
Only one of `match_sni` and `
|
222
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
200
223
|
|
201
224
|
> **Important:** This field should be set for routes on HTTP Load Balancers.
|
202
225
|
"""
|
@@ -206,12 +229,25 @@ class _RouteState:
|
|
206
229
|
def match_host_header(self, value: Optional[pulumi.Input[str]]):
|
207
230
|
pulumi.set(self, "match_host_header", value)
|
208
231
|
|
232
|
+
@property
|
233
|
+
@pulumi.getter(name="matchPathBegin")
|
234
|
+
def match_path_begin(self) -> Optional[pulumi.Input[str]]:
|
235
|
+
"""
|
236
|
+
The value to match in the URL beginning path from an incoming request.
|
237
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "match_path_begin")
|
240
|
+
|
241
|
+
@match_path_begin.setter
|
242
|
+
def match_path_begin(self, value: Optional[pulumi.Input[str]]):
|
243
|
+
pulumi.set(self, "match_path_begin", value)
|
244
|
+
|
209
245
|
@property
|
210
246
|
@pulumi.getter(name="matchSni")
|
211
247
|
def match_sni(self) -> Optional[pulumi.Input[str]]:
|
212
248
|
"""
|
213
249
|
The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer.
|
214
|
-
Only one of `match_sni` and `
|
250
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
215
251
|
|
216
252
|
> **Important:** This field should be set for routes on TCP Load Balancers.
|
217
253
|
"""
|
@@ -254,6 +290,7 @@ class Route(pulumi.CustomResource):
|
|
254
290
|
backend_id: Optional[pulumi.Input[str]] = None,
|
255
291
|
frontend_id: Optional[pulumi.Input[str]] = None,
|
256
292
|
match_host_header: Optional[pulumi.Input[str]] = None,
|
293
|
+
match_path_begin: Optional[pulumi.Input[str]] = None,
|
257
294
|
match_sni: Optional[pulumi.Input[str]] = None,
|
258
295
|
match_subdomains: Optional[pulumi.Input[bool]] = None,
|
259
296
|
__props__=None):
|
@@ -316,6 +353,41 @@ class Route(pulumi.CustomResource):
|
|
316
353
|
match_host_header="host.scaleway.com")
|
317
354
|
```
|
318
355
|
|
356
|
+
### With path-begin matching for HTTP backends
|
357
|
+
|
358
|
+
```python
|
359
|
+
import pulumi
|
360
|
+
import pulumiverse_scaleway as scaleway
|
361
|
+
|
362
|
+
ip = scaleway.loadbalancers.Ip("ip")
|
363
|
+
lb = scaleway.loadbalancers.LoadBalancer("lb",
|
364
|
+
ip_id=ip.id,
|
365
|
+
name="my-lb",
|
366
|
+
type="lb-s")
|
367
|
+
app = scaleway.loadbalancers.Backend("app",
|
368
|
+
lb_id=lb.id,
|
369
|
+
forward_protocol="http",
|
370
|
+
forward_port=80,
|
371
|
+
proxy_protocol="none")
|
372
|
+
admin = scaleway.loadbalancers.Backend("admin",
|
373
|
+
lb_id=lb.id,
|
374
|
+
forward_protocol="http",
|
375
|
+
forward_port=8080,
|
376
|
+
proxy_protocol="none")
|
377
|
+
frontend = scaleway.loadbalancers.Frontend("frontend",
|
378
|
+
lb_id=lb.id,
|
379
|
+
backend_id=app.id,
|
380
|
+
inbound_port=80)
|
381
|
+
admin_route = scaleway.loadbalancers.Route("admin_route",
|
382
|
+
frontend_id=frontend.id,
|
383
|
+
backend_id=admin.id,
|
384
|
+
match_path_begin="/admin")
|
385
|
+
default_route = scaleway.loadbalancers.Route("default_route",
|
386
|
+
frontend_id=frontend.id,
|
387
|
+
backend_id=app.id,
|
388
|
+
match_path_begin="/")
|
389
|
+
```
|
390
|
+
|
319
391
|
## Import
|
320
392
|
|
321
393
|
Load Balancer frontends can be imported using `{zone}/{id}`, e.g.
|
@@ -331,11 +403,13 @@ class Route(pulumi.CustomResource):
|
|
331
403
|
:param pulumi.Input[str] backend_id: The ID of the backend the route is associated with.
|
332
404
|
:param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with.
|
333
405
|
:param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection.
|
334
|
-
Only one of `match_sni` and `
|
406
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
335
407
|
|
336
408
|
> **Important:** This field should be set for routes on HTTP Load Balancers.
|
409
|
+
:param pulumi.Input[str] match_path_begin: The value to match in the URL beginning path from an incoming request.
|
410
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
337
411
|
:param pulumi.Input[str] match_sni: The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer.
|
338
|
-
Only one of `match_sni` and `
|
412
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
339
413
|
|
340
414
|
> **Important:** This field should be set for routes on TCP Load Balancers.
|
341
415
|
:param pulumi.Input[bool] match_subdomains: If true, all subdomains will match.
|
@@ -405,6 +479,41 @@ class Route(pulumi.CustomResource):
|
|
405
479
|
match_host_header="host.scaleway.com")
|
406
480
|
```
|
407
481
|
|
482
|
+
### With path-begin matching for HTTP backends
|
483
|
+
|
484
|
+
```python
|
485
|
+
import pulumi
|
486
|
+
import pulumiverse_scaleway as scaleway
|
487
|
+
|
488
|
+
ip = scaleway.loadbalancers.Ip("ip")
|
489
|
+
lb = scaleway.loadbalancers.LoadBalancer("lb",
|
490
|
+
ip_id=ip.id,
|
491
|
+
name="my-lb",
|
492
|
+
type="lb-s")
|
493
|
+
app = scaleway.loadbalancers.Backend("app",
|
494
|
+
lb_id=lb.id,
|
495
|
+
forward_protocol="http",
|
496
|
+
forward_port=80,
|
497
|
+
proxy_protocol="none")
|
498
|
+
admin = scaleway.loadbalancers.Backend("admin",
|
499
|
+
lb_id=lb.id,
|
500
|
+
forward_protocol="http",
|
501
|
+
forward_port=8080,
|
502
|
+
proxy_protocol="none")
|
503
|
+
frontend = scaleway.loadbalancers.Frontend("frontend",
|
504
|
+
lb_id=lb.id,
|
505
|
+
backend_id=app.id,
|
506
|
+
inbound_port=80)
|
507
|
+
admin_route = scaleway.loadbalancers.Route("admin_route",
|
508
|
+
frontend_id=frontend.id,
|
509
|
+
backend_id=admin.id,
|
510
|
+
match_path_begin="/admin")
|
511
|
+
default_route = scaleway.loadbalancers.Route("default_route",
|
512
|
+
frontend_id=frontend.id,
|
513
|
+
backend_id=app.id,
|
514
|
+
match_path_begin="/")
|
515
|
+
```
|
516
|
+
|
408
517
|
## Import
|
409
518
|
|
410
519
|
Load Balancer frontends can be imported using `{zone}/{id}`, e.g.
|
@@ -433,6 +542,7 @@ class Route(pulumi.CustomResource):
|
|
433
542
|
backend_id: Optional[pulumi.Input[str]] = None,
|
434
543
|
frontend_id: Optional[pulumi.Input[str]] = None,
|
435
544
|
match_host_header: Optional[pulumi.Input[str]] = None,
|
545
|
+
match_path_begin: Optional[pulumi.Input[str]] = None,
|
436
546
|
match_sni: Optional[pulumi.Input[str]] = None,
|
437
547
|
match_subdomains: Optional[pulumi.Input[bool]] = None,
|
438
548
|
__props__=None):
|
@@ -451,6 +561,7 @@ class Route(pulumi.CustomResource):
|
|
451
561
|
raise TypeError("Missing required property 'frontend_id'")
|
452
562
|
__props__.__dict__["frontend_id"] = frontend_id
|
453
563
|
__props__.__dict__["match_host_header"] = match_host_header
|
564
|
+
__props__.__dict__["match_path_begin"] = match_path_begin
|
454
565
|
__props__.__dict__["match_sni"] = match_sni
|
455
566
|
__props__.__dict__["match_subdomains"] = match_subdomains
|
456
567
|
__props__.__dict__["created_at"] = None
|
@@ -471,6 +582,7 @@ class Route(pulumi.CustomResource):
|
|
471
582
|
created_at: Optional[pulumi.Input[str]] = None,
|
472
583
|
frontend_id: Optional[pulumi.Input[str]] = None,
|
473
584
|
match_host_header: Optional[pulumi.Input[str]] = None,
|
585
|
+
match_path_begin: Optional[pulumi.Input[str]] = None,
|
474
586
|
match_sni: Optional[pulumi.Input[str]] = None,
|
475
587
|
match_subdomains: Optional[pulumi.Input[bool]] = None,
|
476
588
|
updated_at: Optional[pulumi.Input[str]] = None) -> 'Route':
|
@@ -485,11 +597,13 @@ class Route(pulumi.CustomResource):
|
|
485
597
|
:param pulumi.Input[str] created_at: The date on which the route was created.
|
486
598
|
:param pulumi.Input[str] frontend_id: The ID of the frontend the route is associated with.
|
487
599
|
:param pulumi.Input[str] match_host_header: The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection.
|
488
|
-
Only one of `match_sni` and `
|
600
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
489
601
|
|
490
602
|
> **Important:** This field should be set for routes on HTTP Load Balancers.
|
603
|
+
:param pulumi.Input[str] match_path_begin: The value to match in the URL beginning path from an incoming request.
|
604
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
491
605
|
:param pulumi.Input[str] match_sni: The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer.
|
492
|
-
Only one of `match_sni` and `
|
606
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
493
607
|
|
494
608
|
> **Important:** This field should be set for routes on TCP Load Balancers.
|
495
609
|
:param pulumi.Input[bool] match_subdomains: If true, all subdomains will match.
|
@@ -503,6 +617,7 @@ class Route(pulumi.CustomResource):
|
|
503
617
|
__props__.__dict__["created_at"] = created_at
|
504
618
|
__props__.__dict__["frontend_id"] = frontend_id
|
505
619
|
__props__.__dict__["match_host_header"] = match_host_header
|
620
|
+
__props__.__dict__["match_path_begin"] = match_path_begin
|
506
621
|
__props__.__dict__["match_sni"] = match_sni
|
507
622
|
__props__.__dict__["match_subdomains"] = match_subdomains
|
508
623
|
__props__.__dict__["updated_at"] = updated_at
|
@@ -537,18 +652,27 @@ class Route(pulumi.CustomResource):
|
|
537
652
|
def match_host_header(self) -> pulumi.Output[Optional[str]]:
|
538
653
|
"""
|
539
654
|
The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection.
|
540
|
-
Only one of `match_sni` and `
|
655
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
541
656
|
|
542
657
|
> **Important:** This field should be set for routes on HTTP Load Balancers.
|
543
658
|
"""
|
544
659
|
return pulumi.get(self, "match_host_header")
|
545
660
|
|
661
|
+
@property
|
662
|
+
@pulumi.getter(name="matchPathBegin")
|
663
|
+
def match_path_begin(self) -> pulumi.Output[Optional[str]]:
|
664
|
+
"""
|
665
|
+
The value to match in the URL beginning path from an incoming request.
|
666
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
667
|
+
"""
|
668
|
+
return pulumi.get(self, "match_path_begin")
|
669
|
+
|
546
670
|
@property
|
547
671
|
@pulumi.getter(name="matchSni")
|
548
672
|
def match_sni(self) -> pulumi.Output[Optional[str]]:
|
549
673
|
"""
|
550
674
|
The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer.
|
551
|
-
Only one of `match_sni` and `
|
675
|
+
Only one of `match_sni`, `match_host_header` and `match_path_begin` should be specified.
|
552
676
|
|
553
677
|
> **Important:** This field should be set for routes on TCP Load Balancers.
|
554
678
|
"""
|
@@ -28,7 +28,7 @@ class SnsCredentialsArgs:
|
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a SnsCredentials resource.
|
30
30
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
31
|
-
:param pulumi.Input['SnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
31
|
+
:param pulumi.Input['SnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
32
32
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
33
33
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
34
34
|
"""
|
@@ -57,7 +57,7 @@ class SnsCredentialsArgs:
|
|
57
57
|
@pulumi.getter
|
58
58
|
def permissions(self) -> Optional[pulumi.Input['SnsCredentialsPermissionsArgs']]:
|
59
59
|
"""
|
60
|
-
. List of permissions associated with these credentials.
|
60
|
+
. List of permissions associated with these credentials.
|
61
61
|
"""
|
62
62
|
return pulumi.get(self, "permissions")
|
63
63
|
|
@@ -103,7 +103,7 @@ class _SnsCredentialsState:
|
|
103
103
|
Input properties used for looking up and filtering SnsCredentials resources.
|
104
104
|
:param pulumi.Input[str] access_key: The ID of the key.
|
105
105
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
106
|
-
:param pulumi.Input['SnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
106
|
+
:param pulumi.Input['SnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
107
107
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
108
108
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
109
109
|
:param pulumi.Input[str] secret_key: The secret value of the key.
|
@@ -149,7 +149,7 @@ class _SnsCredentialsState:
|
|
149
149
|
@pulumi.getter
|
150
150
|
def permissions(self) -> Optional[pulumi.Input['SnsCredentialsPermissionsArgs']]:
|
151
151
|
"""
|
152
|
-
. List of permissions associated with these credentials.
|
152
|
+
. List of permissions associated with these credentials.
|
153
153
|
"""
|
154
154
|
return pulumi.get(self, "permissions")
|
155
155
|
|
@@ -241,7 +241,7 @@ class SnsCredentials(pulumi.CustomResource):
|
|
241
241
|
:param str resource_name: The name of the resource.
|
242
242
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
243
243
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
244
|
-
:param pulumi.Input[Union['SnsCredentialsPermissionsArgs', 'SnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
244
|
+
:param pulumi.Input[Union['SnsCredentialsPermissionsArgs', 'SnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
245
245
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
246
246
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
247
247
|
"""
|
@@ -348,7 +348,7 @@ class SnsCredentials(pulumi.CustomResource):
|
|
348
348
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
349
349
|
:param pulumi.Input[str] access_key: The ID of the key.
|
350
350
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
351
|
-
:param pulumi.Input[Union['SnsCredentialsPermissionsArgs', 'SnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
351
|
+
:param pulumi.Input[Union['SnsCredentialsPermissionsArgs', 'SnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
352
352
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
353
353
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
354
354
|
:param pulumi.Input[str] secret_key: The secret value of the key.
|
@@ -385,7 +385,7 @@ class SnsCredentials(pulumi.CustomResource):
|
|
385
385
|
@pulumi.getter
|
386
386
|
def permissions(self) -> pulumi.Output['outputs.SnsCredentialsPermissions']:
|
387
387
|
"""
|
388
|
-
. List of permissions associated with these credentials.
|
388
|
+
. List of permissions associated with these credentials.
|
389
389
|
"""
|
390
390
|
return pulumi.get(self, "permissions")
|
391
391
|
|
@@ -28,7 +28,7 @@ class SqsCredentialsArgs:
|
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a SqsCredentials resource.
|
30
30
|
:param pulumi.Input[str] name: The unique name of the SQS credentials.
|
31
|
-
:param pulumi.Input['SqsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
31
|
+
:param pulumi.Input['SqsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
32
32
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled.
|
33
33
|
:param pulumi.Input[str] region: `region`). The region in which SQS is enabled.
|
34
34
|
"""
|
@@ -57,7 +57,7 @@ class SqsCredentialsArgs:
|
|
57
57
|
@pulumi.getter
|
58
58
|
def permissions(self) -> Optional[pulumi.Input['SqsCredentialsPermissionsArgs']]:
|
59
59
|
"""
|
60
|
-
. List of permissions associated with these credentials.
|
60
|
+
. List of permissions associated with these credentials.
|
61
61
|
"""
|
62
62
|
return pulumi.get(self, "permissions")
|
63
63
|
|
@@ -103,7 +103,7 @@ class _SqsCredentialsState:
|
|
103
103
|
Input properties used for looking up and filtering SqsCredentials resources.
|
104
104
|
:param pulumi.Input[str] access_key: The ID of the key.
|
105
105
|
:param pulumi.Input[str] name: The unique name of the SQS credentials.
|
106
|
-
:param pulumi.Input['SqsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
106
|
+
:param pulumi.Input['SqsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
107
107
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled.
|
108
108
|
:param pulumi.Input[str] region: `region`). The region in which SQS is enabled.
|
109
109
|
:param pulumi.Input[str] secret_key: The secret value of the key.
|
@@ -149,7 +149,7 @@ class _SqsCredentialsState:
|
|
149
149
|
@pulumi.getter
|
150
150
|
def permissions(self) -> Optional[pulumi.Input['SqsCredentialsPermissionsArgs']]:
|
151
151
|
"""
|
152
|
-
. List of permissions associated with these credentials.
|
152
|
+
. List of permissions associated with these credentials.
|
153
153
|
"""
|
154
154
|
return pulumi.get(self, "permissions")
|
155
155
|
|
@@ -241,7 +241,7 @@ class SqsCredentials(pulumi.CustomResource):
|
|
241
241
|
:param str resource_name: The name of the resource.
|
242
242
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
243
243
|
:param pulumi.Input[str] name: The unique name of the SQS credentials.
|
244
|
-
:param pulumi.Input[Union['SqsCredentialsPermissionsArgs', 'SqsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
244
|
+
:param pulumi.Input[Union['SqsCredentialsPermissionsArgs', 'SqsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
245
245
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled.
|
246
246
|
:param pulumi.Input[str] region: `region`). The region in which SQS is enabled.
|
247
247
|
"""
|
@@ -348,7 +348,7 @@ class SqsCredentials(pulumi.CustomResource):
|
|
348
348
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
349
349
|
:param pulumi.Input[str] access_key: The ID of the key.
|
350
350
|
:param pulumi.Input[str] name: The unique name of the SQS credentials.
|
351
|
-
:param pulumi.Input[Union['SqsCredentialsPermissionsArgs', 'SqsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
351
|
+
:param pulumi.Input[Union['SqsCredentialsPermissionsArgs', 'SqsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
352
352
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SQS is enabled.
|
353
353
|
:param pulumi.Input[str] region: `region`). The region in which SQS is enabled.
|
354
354
|
:param pulumi.Input[str] secret_key: The secret value of the key.
|
@@ -385,7 +385,7 @@ class SqsCredentials(pulumi.CustomResource):
|
|
385
385
|
@pulumi.getter
|
386
386
|
def permissions(self) -> pulumi.Output['outputs.SqsCredentialsPermissions']:
|
387
387
|
"""
|
388
|
-
. List of permissions associated with these credentials.
|
388
|
+
. List of permissions associated with these credentials.
|
389
389
|
"""
|
390
390
|
return pulumi.get(self, "permissions")
|
391
391
|
|
@@ -28,7 +28,7 @@ class MnqSnsCredentialsArgs:
|
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a MnqSnsCredentials resource.
|
30
30
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
31
|
-
:param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
31
|
+
:param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
32
32
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
33
33
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
34
34
|
"""
|
@@ -57,7 +57,7 @@ class MnqSnsCredentialsArgs:
|
|
57
57
|
@pulumi.getter
|
58
58
|
def permissions(self) -> Optional[pulumi.Input['MnqSnsCredentialsPermissionsArgs']]:
|
59
59
|
"""
|
60
|
-
. List of permissions associated with these credentials.
|
60
|
+
. List of permissions associated with these credentials.
|
61
61
|
"""
|
62
62
|
return pulumi.get(self, "permissions")
|
63
63
|
|
@@ -103,7 +103,7 @@ class _MnqSnsCredentialsState:
|
|
103
103
|
Input properties used for looking up and filtering MnqSnsCredentials resources.
|
104
104
|
:param pulumi.Input[str] access_key: The ID of the key.
|
105
105
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
106
|
-
:param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
106
|
+
:param pulumi.Input['MnqSnsCredentialsPermissionsArgs'] permissions: . List of permissions associated with these credentials.
|
107
107
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
108
108
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
109
109
|
:param pulumi.Input[str] secret_key: The secret value of the key.
|
@@ -149,7 +149,7 @@ class _MnqSnsCredentialsState:
|
|
149
149
|
@pulumi.getter
|
150
150
|
def permissions(self) -> Optional[pulumi.Input['MnqSnsCredentialsPermissionsArgs']]:
|
151
151
|
"""
|
152
|
-
. List of permissions associated with these credentials.
|
152
|
+
. List of permissions associated with these credentials.
|
153
153
|
"""
|
154
154
|
return pulumi.get(self, "permissions")
|
155
155
|
|
@@ -246,7 +246,7 @@ class MnqSnsCredentials(pulumi.CustomResource):
|
|
246
246
|
:param str resource_name: The name of the resource.
|
247
247
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
248
248
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
249
|
-
:param pulumi.Input[Union['MnqSnsCredentialsPermissionsArgs', 'MnqSnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
249
|
+
:param pulumi.Input[Union['MnqSnsCredentialsPermissionsArgs', 'MnqSnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
250
250
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
251
251
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
252
252
|
"""
|
@@ -352,7 +352,7 @@ class MnqSnsCredentials(pulumi.CustomResource):
|
|
352
352
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
353
353
|
:param pulumi.Input[str] access_key: The ID of the key.
|
354
354
|
:param pulumi.Input[str] name: The unique name of the SNS credentials.
|
355
|
-
:param pulumi.Input[Union['MnqSnsCredentialsPermissionsArgs', 'MnqSnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
355
|
+
:param pulumi.Input[Union['MnqSnsCredentialsPermissionsArgs', 'MnqSnsCredentialsPermissionsArgsDict']] permissions: . List of permissions associated with these credentials.
|
356
356
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the Project in which SNS is enabled.
|
357
357
|
:param pulumi.Input[str] region: `region`). The region in which SNS is enabled.
|
358
358
|
:param pulumi.Input[str] secret_key: The secret value of the key.
|
@@ -389,7 +389,7 @@ class MnqSnsCredentials(pulumi.CustomResource):
|
|
389
389
|
@pulumi.getter
|
390
390
|
def permissions(self) -> pulumi.Output['outputs.MnqSnsCredentialsPermissions']:
|
391
391
|
"""
|
392
|
-
. List of permissions associated with these credentials.
|
392
|
+
. List of permissions associated with these credentials.
|
393
393
|
"""
|
394
394
|
return pulumi.get(self, "permissions")
|
395
395
|
|