pulumiverse-scaleway 1.17.0a1730194779__py3-none-any.whl → 1.18.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.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +9 -0
- pulumiverse_scaleway/_inputs.py +133 -107
- pulumiverse_scaleway/account_project.py +17 -17
- pulumiverse_scaleway/account_ssh_key.py +8 -4
- pulumiverse_scaleway/container.py +146 -160
- pulumiverse_scaleway/container_cron.py +42 -77
- pulumiverse_scaleway/container_domain.py +30 -24
- pulumiverse_scaleway/container_namespace.py +42 -42
- pulumiverse_scaleway/container_token.py +36 -38
- pulumiverse_scaleway/container_trigger.py +45 -43
- pulumiverse_scaleway/function.py +112 -154
- pulumiverse_scaleway/function_cron.py +42 -60
- pulumiverse_scaleway/function_domain.py +56 -47
- pulumiverse_scaleway/function_namespace.py +49 -49
- pulumiverse_scaleway/function_token.py +36 -38
- pulumiverse_scaleway/function_trigger.py +45 -43
- pulumiverse_scaleway/get_account_project.py +14 -8
- pulumiverse_scaleway/get_account_ssh_key.py +14 -10
- pulumiverse_scaleway/get_availability_zones.py +17 -9
- pulumiverse_scaleway/get_container.py +50 -30
- pulumiverse_scaleway/get_container_namespace.py +26 -16
- pulumiverse_scaleway/get_function.py +20 -12
- pulumiverse_scaleway/get_function_namespace.py +14 -14
- pulumiverse_scaleway/get_object_bucket.py +22 -10
- pulumiverse_scaleway/get_object_bucket_policy.py +15 -9
- pulumiverse_scaleway/get_tem_domain.py +12 -1
- pulumiverse_scaleway/instance_server.py +32 -0
- pulumiverse_scaleway/object_bucket.py +67 -81
- pulumiverse_scaleway/object_bucket_acl.py +21 -17
- pulumiverse_scaleway/object_bucket_lock_configuration.py +21 -19
- pulumiverse_scaleway/object_bucket_policy.py +10 -8
- pulumiverse_scaleway/object_bucket_website_configuration.py +24 -22
- pulumiverse_scaleway/object_item.py +78 -62
- pulumiverse_scaleway/outputs.py +102 -73
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/sdb_database.py +26 -22
- pulumiverse_scaleway/tem_domain.py +75 -0
- pulumiverse_scaleway/vpc_private_network.py +2 -2
- pulumiverse_scaleway/vpc_route.py +577 -0
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/RECORD +43 -42
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/top_level.txt +0 -0
|
@@ -29,12 +29,12 @@ class FunctionTriggerArgs:
|
|
|
29
29
|
sqs: Optional[pulumi.Input['FunctionTriggerSqsArgs']] = None):
|
|
30
30
|
"""
|
|
31
31
|
The set of arguments for constructing a FunctionTrigger resource.
|
|
32
|
-
:param pulumi.Input[str] function_id: The
|
|
32
|
+
:param pulumi.Input[str] function_id: The unique identifier of the function to create a trigger for.
|
|
33
33
|
:param pulumi.Input[str] description: The description of the trigger.
|
|
34
|
-
:param pulumi.Input[str] name: The unique name of the trigger.
|
|
35
|
-
:param pulumi.Input['FunctionTriggerNatsArgs'] nats: The configuration for the Scaleway
|
|
36
|
-
:param pulumi.Input[str] region: `region`). The region in which the namespace
|
|
37
|
-
:param pulumi.Input['FunctionTriggerSqsArgs'] sqs: The configuration of the Scaleway
|
|
34
|
+
:param pulumi.Input[str] name: The unique name of the trigger. If not provided, a random name is generated.
|
|
35
|
+
:param pulumi.Input['FunctionTriggerNatsArgs'] nats: The configuration for the Scaleway NATS account used by the trigger
|
|
36
|
+
:param pulumi.Input[str] region: `region`). The region in which the namespace is created.
|
|
37
|
+
:param pulumi.Input['FunctionTriggerSqsArgs'] sqs: The configuration of the Scaleway SQS queue used by the trigger
|
|
38
38
|
"""
|
|
39
39
|
pulumi.set(__self__, "function_id", function_id)
|
|
40
40
|
if description is not None:
|
|
@@ -52,7 +52,7 @@ class FunctionTriggerArgs:
|
|
|
52
52
|
@pulumi.getter(name="functionId")
|
|
53
53
|
def function_id(self) -> pulumi.Input[str]:
|
|
54
54
|
"""
|
|
55
|
-
The
|
|
55
|
+
The unique identifier of the function to create a trigger for.
|
|
56
56
|
"""
|
|
57
57
|
return pulumi.get(self, "function_id")
|
|
58
58
|
|
|
@@ -76,7 +76,7 @@ class FunctionTriggerArgs:
|
|
|
76
76
|
@pulumi.getter
|
|
77
77
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
78
78
|
"""
|
|
79
|
-
The unique name of the trigger.
|
|
79
|
+
The unique name of the trigger. If not provided, a random name is generated.
|
|
80
80
|
"""
|
|
81
81
|
return pulumi.get(self, "name")
|
|
82
82
|
|
|
@@ -88,7 +88,7 @@ class FunctionTriggerArgs:
|
|
|
88
88
|
@pulumi.getter
|
|
89
89
|
def nats(self) -> Optional[pulumi.Input['FunctionTriggerNatsArgs']]:
|
|
90
90
|
"""
|
|
91
|
-
The configuration for the Scaleway
|
|
91
|
+
The configuration for the Scaleway NATS account used by the trigger
|
|
92
92
|
"""
|
|
93
93
|
return pulumi.get(self, "nats")
|
|
94
94
|
|
|
@@ -100,7 +100,7 @@ class FunctionTriggerArgs:
|
|
|
100
100
|
@pulumi.getter
|
|
101
101
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
102
102
|
"""
|
|
103
|
-
`region`). The region in which the namespace
|
|
103
|
+
`region`). The region in which the namespace is created.
|
|
104
104
|
"""
|
|
105
105
|
return pulumi.get(self, "region")
|
|
106
106
|
|
|
@@ -112,7 +112,7 @@ class FunctionTriggerArgs:
|
|
|
112
112
|
@pulumi.getter
|
|
113
113
|
def sqs(self) -> Optional[pulumi.Input['FunctionTriggerSqsArgs']]:
|
|
114
114
|
"""
|
|
115
|
-
The configuration of the Scaleway
|
|
115
|
+
The configuration of the Scaleway SQS queue used by the trigger
|
|
116
116
|
"""
|
|
117
117
|
return pulumi.get(self, "sqs")
|
|
118
118
|
|
|
@@ -133,11 +133,11 @@ class _FunctionTriggerState:
|
|
|
133
133
|
"""
|
|
134
134
|
Input properties used for looking up and filtering FunctionTrigger resources.
|
|
135
135
|
:param pulumi.Input[str] description: The description of the trigger.
|
|
136
|
-
:param pulumi.Input[str] function_id: The
|
|
137
|
-
:param pulumi.Input[str] name: The unique name of the trigger.
|
|
138
|
-
:param pulumi.Input['FunctionTriggerNatsArgs'] nats: The configuration for the Scaleway
|
|
139
|
-
:param pulumi.Input[str] region: `region`). The region in which the namespace
|
|
140
|
-
:param pulumi.Input['FunctionTriggerSqsArgs'] sqs: The configuration of the Scaleway
|
|
136
|
+
:param pulumi.Input[str] function_id: The unique identifier of the function to create a trigger for.
|
|
137
|
+
:param pulumi.Input[str] name: The unique name of the trigger. If not provided, a random name is generated.
|
|
138
|
+
:param pulumi.Input['FunctionTriggerNatsArgs'] nats: The configuration for the Scaleway NATS account used by the trigger
|
|
139
|
+
:param pulumi.Input[str] region: `region`). The region in which the namespace is created.
|
|
140
|
+
:param pulumi.Input['FunctionTriggerSqsArgs'] sqs: The configuration of the Scaleway SQS queue used by the trigger
|
|
141
141
|
"""
|
|
142
142
|
if description is not None:
|
|
143
143
|
pulumi.set(__self__, "description", description)
|
|
@@ -168,7 +168,7 @@ class _FunctionTriggerState:
|
|
|
168
168
|
@pulumi.getter(name="functionId")
|
|
169
169
|
def function_id(self) -> Optional[pulumi.Input[str]]:
|
|
170
170
|
"""
|
|
171
|
-
The
|
|
171
|
+
The unique identifier of the function to create a trigger for.
|
|
172
172
|
"""
|
|
173
173
|
return pulumi.get(self, "function_id")
|
|
174
174
|
|
|
@@ -180,7 +180,7 @@ class _FunctionTriggerState:
|
|
|
180
180
|
@pulumi.getter
|
|
181
181
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
182
182
|
"""
|
|
183
|
-
The unique name of the trigger.
|
|
183
|
+
The unique name of the trigger. If not provided, a random name is generated.
|
|
184
184
|
"""
|
|
185
185
|
return pulumi.get(self, "name")
|
|
186
186
|
|
|
@@ -192,7 +192,7 @@ class _FunctionTriggerState:
|
|
|
192
192
|
@pulumi.getter
|
|
193
193
|
def nats(self) -> Optional[pulumi.Input['FunctionTriggerNatsArgs']]:
|
|
194
194
|
"""
|
|
195
|
-
The configuration for the Scaleway
|
|
195
|
+
The configuration for the Scaleway NATS account used by the trigger
|
|
196
196
|
"""
|
|
197
197
|
return pulumi.get(self, "nats")
|
|
198
198
|
|
|
@@ -204,7 +204,7 @@ class _FunctionTriggerState:
|
|
|
204
204
|
@pulumi.getter
|
|
205
205
|
def region(self) -> Optional[pulumi.Input[str]]:
|
|
206
206
|
"""
|
|
207
|
-
`region`). The region in which the namespace
|
|
207
|
+
`region`). The region in which the namespace is created.
|
|
208
208
|
"""
|
|
209
209
|
return pulumi.get(self, "region")
|
|
210
210
|
|
|
@@ -216,7 +216,7 @@ class _FunctionTriggerState:
|
|
|
216
216
|
@pulumi.getter
|
|
217
217
|
def sqs(self) -> Optional[pulumi.Input['FunctionTriggerSqsArgs']]:
|
|
218
218
|
"""
|
|
219
|
-
The configuration of the Scaleway
|
|
219
|
+
The configuration of the Scaleway SQS queue used by the trigger
|
|
220
220
|
"""
|
|
221
221
|
return pulumi.get(self, "sqs")
|
|
222
222
|
|
|
@@ -238,8 +238,9 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
238
238
|
sqs: Optional[pulumi.Input[Union['FunctionTriggerSqsArgs', 'FunctionTriggerSqsArgsDict']]] = None,
|
|
239
239
|
__props__=None):
|
|
240
240
|
"""
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
The `FunctionTrigger` resource allows you to create and manage triggers for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
|
|
242
|
+
|
|
243
|
+
Refer to the Functions triggers [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/add-trigger-to-a-function/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-triggers-list-all-triggers) for more information.
|
|
243
244
|
|
|
244
245
|
## Example Usage
|
|
245
246
|
|
|
@@ -259,7 +260,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
259
260
|
})
|
|
260
261
|
```
|
|
261
262
|
|
|
262
|
-
###
|
|
263
|
+
### NATS
|
|
263
264
|
|
|
264
265
|
```python
|
|
265
266
|
import pulumi
|
|
@@ -277,7 +278,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
277
278
|
|
|
278
279
|
## Import
|
|
279
280
|
|
|
280
|
-
Function Triggers can be imported using
|
|
281
|
+
Function Triggers can be imported using `{region}/{id}`, as shown below:
|
|
281
282
|
|
|
282
283
|
bash
|
|
283
284
|
|
|
@@ -288,11 +289,11 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
288
289
|
:param str resource_name: The name of the resource.
|
|
289
290
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
291
|
:param pulumi.Input[str] description: The description of the trigger.
|
|
291
|
-
:param pulumi.Input[str] function_id: The
|
|
292
|
-
:param pulumi.Input[str] name: The unique name of the trigger.
|
|
293
|
-
:param pulumi.Input[Union['FunctionTriggerNatsArgs', 'FunctionTriggerNatsArgsDict']] nats: The configuration for the Scaleway
|
|
294
|
-
:param pulumi.Input[str] region: `region`). The region in which the namespace
|
|
295
|
-
:param pulumi.Input[Union['FunctionTriggerSqsArgs', 'FunctionTriggerSqsArgsDict']] sqs: The configuration of the Scaleway
|
|
292
|
+
:param pulumi.Input[str] function_id: The unique identifier of the function to create a trigger for.
|
|
293
|
+
:param pulumi.Input[str] name: The unique name of the trigger. If not provided, a random name is generated.
|
|
294
|
+
:param pulumi.Input[Union['FunctionTriggerNatsArgs', 'FunctionTriggerNatsArgsDict']] nats: The configuration for the Scaleway NATS account used by the trigger
|
|
295
|
+
:param pulumi.Input[str] region: `region`). The region in which the namespace is created.
|
|
296
|
+
:param pulumi.Input[Union['FunctionTriggerSqsArgs', 'FunctionTriggerSqsArgsDict']] sqs: The configuration of the Scaleway SQS queue used by the trigger
|
|
296
297
|
"""
|
|
297
298
|
...
|
|
298
299
|
@overload
|
|
@@ -301,8 +302,9 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
301
302
|
args: FunctionTriggerArgs,
|
|
302
303
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
303
304
|
"""
|
|
304
|
-
|
|
305
|
-
|
|
305
|
+
The `FunctionTrigger` resource allows you to create and manage triggers for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
|
|
306
|
+
|
|
307
|
+
Refer to the Functions triggers [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/add-trigger-to-a-function/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-triggers-list-all-triggers) for more information.
|
|
306
308
|
|
|
307
309
|
## Example Usage
|
|
308
310
|
|
|
@@ -322,7 +324,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
322
324
|
})
|
|
323
325
|
```
|
|
324
326
|
|
|
325
|
-
###
|
|
327
|
+
### NATS
|
|
326
328
|
|
|
327
329
|
```python
|
|
328
330
|
import pulumi
|
|
@@ -340,7 +342,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
340
342
|
|
|
341
343
|
## Import
|
|
342
344
|
|
|
343
|
-
Function Triggers can be imported using
|
|
345
|
+
Function Triggers can be imported using `{region}/{id}`, as shown below:
|
|
344
346
|
|
|
345
347
|
bash
|
|
346
348
|
|
|
@@ -410,11 +412,11 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
410
412
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
411
413
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
412
414
|
:param pulumi.Input[str] description: The description of the trigger.
|
|
413
|
-
:param pulumi.Input[str] function_id: The
|
|
414
|
-
:param pulumi.Input[str] name: The unique name of the trigger.
|
|
415
|
-
:param pulumi.Input[Union['FunctionTriggerNatsArgs', 'FunctionTriggerNatsArgsDict']] nats: The configuration for the Scaleway
|
|
416
|
-
:param pulumi.Input[str] region: `region`). The region in which the namespace
|
|
417
|
-
:param pulumi.Input[Union['FunctionTriggerSqsArgs', 'FunctionTriggerSqsArgsDict']] sqs: The configuration of the Scaleway
|
|
415
|
+
:param pulumi.Input[str] function_id: The unique identifier of the function to create a trigger for.
|
|
416
|
+
:param pulumi.Input[str] name: The unique name of the trigger. If not provided, a random name is generated.
|
|
417
|
+
:param pulumi.Input[Union['FunctionTriggerNatsArgs', 'FunctionTriggerNatsArgsDict']] nats: The configuration for the Scaleway NATS account used by the trigger
|
|
418
|
+
:param pulumi.Input[str] region: `region`). The region in which the namespace is created.
|
|
419
|
+
:param pulumi.Input[Union['FunctionTriggerSqsArgs', 'FunctionTriggerSqsArgsDict']] sqs: The configuration of the Scaleway SQS queue used by the trigger
|
|
418
420
|
"""
|
|
419
421
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
420
422
|
|
|
@@ -440,7 +442,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
440
442
|
@pulumi.getter(name="functionId")
|
|
441
443
|
def function_id(self) -> pulumi.Output[str]:
|
|
442
444
|
"""
|
|
443
|
-
The
|
|
445
|
+
The unique identifier of the function to create a trigger for.
|
|
444
446
|
"""
|
|
445
447
|
return pulumi.get(self, "function_id")
|
|
446
448
|
|
|
@@ -448,7 +450,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
448
450
|
@pulumi.getter
|
|
449
451
|
def name(self) -> pulumi.Output[str]:
|
|
450
452
|
"""
|
|
451
|
-
The unique name of the trigger.
|
|
453
|
+
The unique name of the trigger. If not provided, a random name is generated.
|
|
452
454
|
"""
|
|
453
455
|
return pulumi.get(self, "name")
|
|
454
456
|
|
|
@@ -456,7 +458,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
456
458
|
@pulumi.getter
|
|
457
459
|
def nats(self) -> pulumi.Output[Optional['outputs.FunctionTriggerNats']]:
|
|
458
460
|
"""
|
|
459
|
-
The configuration for the Scaleway
|
|
461
|
+
The configuration for the Scaleway NATS account used by the trigger
|
|
460
462
|
"""
|
|
461
463
|
return pulumi.get(self, "nats")
|
|
462
464
|
|
|
@@ -464,7 +466,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
464
466
|
@pulumi.getter
|
|
465
467
|
def region(self) -> pulumi.Output[str]:
|
|
466
468
|
"""
|
|
467
|
-
`region`). The region in which the namespace
|
|
469
|
+
`region`). The region in which the namespace is created.
|
|
468
470
|
"""
|
|
469
471
|
return pulumi.get(self, "region")
|
|
470
472
|
|
|
@@ -472,7 +474,7 @@ class FunctionTrigger(pulumi.CustomResource):
|
|
|
472
474
|
@pulumi.getter
|
|
473
475
|
def sqs(self) -> pulumi.Output[Optional['outputs.FunctionTriggerSqs']]:
|
|
474
476
|
"""
|
|
475
|
-
The configuration of the Scaleway
|
|
477
|
+
The configuration of the Scaleway SQS queue used by the trigger
|
|
476
478
|
"""
|
|
477
479
|
return pulumi.get(self, "sqs")
|
|
478
480
|
|
|
@@ -108,14 +108,17 @@ def get_account_project(name: Optional[str] = None,
|
|
|
108
108
|
project_id: Optional[str] = None,
|
|
109
109
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountProjectResult:
|
|
110
110
|
"""
|
|
111
|
-
|
|
111
|
+
The `AccountProject` data source is used to retrieve information about a Scaleway project.
|
|
112
|
+
|
|
113
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
|
112
114
|
|
|
113
115
|
|
|
114
116
|
:param str name: The name of the Project.
|
|
115
117
|
Only one of the `name` and `project_id` should be specified.
|
|
116
|
-
:param str organization_id: The
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
:param str organization_id: The unique identifier of the Organization with which the Project is associated.
|
|
119
|
+
|
|
120
|
+
If no default `organization_id` is set, one must be set explicitly in this datasource
|
|
121
|
+
:param str project_id: The unique identifier of the Project.
|
|
119
122
|
Only one of the `name` and `project_id` should be specified.
|
|
120
123
|
"""
|
|
121
124
|
__args__ = dict()
|
|
@@ -138,14 +141,17 @@ def get_account_project_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
138
141
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
139
142
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountProjectResult]:
|
|
140
143
|
"""
|
|
141
|
-
|
|
144
|
+
The `AccountProject` data source is used to retrieve information about a Scaleway project.
|
|
145
|
+
|
|
146
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
|
142
147
|
|
|
143
148
|
|
|
144
149
|
:param str name: The name of the Project.
|
|
145
150
|
Only one of the `name` and `project_id` should be specified.
|
|
146
|
-
:param str organization_id: The
|
|
147
|
-
|
|
148
|
-
|
|
151
|
+
:param str organization_id: The unique identifier of the Organization with which the Project is associated.
|
|
152
|
+
|
|
153
|
+
If no default `organization_id` is set, one must be set explicitly in this datasource
|
|
154
|
+
:param str project_id: The unique identifier of the Project.
|
|
149
155
|
Only one of the `name` and `project_id` should be specified.
|
|
150
156
|
"""
|
|
151
157
|
__args__ = dict()
|
|
@@ -90,7 +90,7 @@ class GetAccountSshKeyResult:
|
|
|
90
90
|
@pulumi.getter(name="organizationId")
|
|
91
91
|
def organization_id(self) -> str:
|
|
92
92
|
"""
|
|
93
|
-
The
|
|
93
|
+
The unique identifier of the Organization with which the SSH key is associated.
|
|
94
94
|
"""
|
|
95
95
|
return pulumi.get(self, "organization_id")
|
|
96
96
|
|
|
@@ -103,7 +103,7 @@ class GetAccountSshKeyResult:
|
|
|
103
103
|
@pulumi.getter(name="publicKey")
|
|
104
104
|
def public_key(self) -> str:
|
|
105
105
|
"""
|
|
106
|
-
The SSH public key
|
|
106
|
+
The string of the SSH public key.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "public_key")
|
|
109
109
|
|
|
@@ -141,12 +141,14 @@ def get_account_ssh_key(name: Optional[str] = None,
|
|
|
141
141
|
ssh_key_id: Optional[str] = None,
|
|
142
142
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountSshKeyResult:
|
|
143
143
|
"""
|
|
144
|
-
|
|
144
|
+
The `AccountSshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
|
|
145
145
|
|
|
146
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
|
|
146
147
|
|
|
147
|
-
|
|
148
|
-
:param str
|
|
149
|
-
:param str
|
|
148
|
+
|
|
149
|
+
:param str name: The name of the SSH key.
|
|
150
|
+
:param str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
|
|
151
|
+
:param str ssh_key_id: The unique identifier of the SSH key.
|
|
150
152
|
|
|
151
153
|
> **Note** You must specify at least one: `name` and/or `ssh_key_id`.
|
|
152
154
|
"""
|
|
@@ -173,12 +175,14 @@ def get_account_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
173
175
|
ssh_key_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
174
176
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountSshKeyResult]:
|
|
175
177
|
"""
|
|
176
|
-
|
|
178
|
+
The `AccountSshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
|
|
179
|
+
|
|
180
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/identity-and-access-management/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
|
|
177
181
|
|
|
178
182
|
|
|
179
|
-
:param str name: The SSH key
|
|
180
|
-
:param str project_id: `project_id`) The
|
|
181
|
-
:param str ssh_key_id: The SSH key
|
|
183
|
+
:param str name: The name of the SSH key.
|
|
184
|
+
:param str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
|
|
185
|
+
:param str ssh_key_id: The unique identifier of the SSH key.
|
|
182
186
|
|
|
183
187
|
> **Note** You must specify at least one: `name` and/or `ssh_key_id`.
|
|
184
188
|
"""
|
|
@@ -54,7 +54,7 @@ class GetAvailabilityZonesResult:
|
|
|
54
54
|
@pulumi.getter
|
|
55
55
|
def zones(self) -> Sequence[str]:
|
|
56
56
|
"""
|
|
57
|
-
|
|
57
|
+
The list of availability zones in each Region
|
|
58
58
|
"""
|
|
59
59
|
return pulumi.get(self, "zones")
|
|
60
60
|
|
|
@@ -73,12 +73,16 @@ class AwaitableGetAvailabilityZonesResult(GetAvailabilityZonesResult):
|
|
|
73
73
|
def get_availability_zones(region: Optional[str] = None,
|
|
74
74
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAvailabilityZonesResult:
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
The `get_availability_zones` data source is used to retrieve information about the available zones based on its Region.
|
|
77
77
|
|
|
78
78
|
For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product,
|
|
79
|
-
you can choose the location that better fits your need (country, latency,
|
|
79
|
+
you can choose the location that better fits your need (country, latency, etc.).
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
Refer to the Account [documentation](https://www.scaleway.com/en/docs/console/account/reference-content/products-availability/) for more information.
|
|
82
|
+
|
|
83
|
+
## Retrieve the Availability Zones of a Region
|
|
84
|
+
|
|
85
|
+
The following command allow you to retrieve a the AZs of a Region.
|
|
82
86
|
|
|
83
87
|
```python
|
|
84
88
|
import pulumi
|
|
@@ -89,7 +93,7 @@ def get_availability_zones(region: Optional[str] = None,
|
|
|
89
93
|
```
|
|
90
94
|
|
|
91
95
|
|
|
92
|
-
:param str region: Region is represented as a Geographical area such as France. Defaults
|
|
96
|
+
:param str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
|
|
93
97
|
"""
|
|
94
98
|
__args__ = dict()
|
|
95
99
|
__args__['region'] = region
|
|
@@ -103,12 +107,16 @@ def get_availability_zones(region: Optional[str] = None,
|
|
|
103
107
|
def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
104
108
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAvailabilityZonesResult]:
|
|
105
109
|
"""
|
|
106
|
-
|
|
110
|
+
The `get_availability_zones` data source is used to retrieve information about the available zones based on its Region.
|
|
107
111
|
|
|
108
112
|
For technical and legal reasons, some products are split by Region or by Availability Zones. When using such product,
|
|
109
|
-
you can choose the location that better fits your need (country, latency,
|
|
113
|
+
you can choose the location that better fits your need (country, latency, etc.).
|
|
114
|
+
|
|
115
|
+
Refer to the Account [documentation](https://www.scaleway.com/en/docs/console/account/reference-content/products-availability/) for more information.
|
|
116
|
+
|
|
117
|
+
## Retrieve the Availability Zones of a Region
|
|
110
118
|
|
|
111
|
-
|
|
119
|
+
The following command allow you to retrieve a the AZs of a Region.
|
|
112
120
|
|
|
113
121
|
```python
|
|
114
122
|
import pulumi
|
|
@@ -119,7 +127,7 @@ def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]]
|
|
|
119
127
|
```
|
|
120
128
|
|
|
121
129
|
|
|
122
|
-
:param str region: Region is represented as a Geographical area such as France. Defaults
|
|
130
|
+
:param str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
|
|
123
131
|
"""
|
|
124
132
|
__args__ = dict()
|
|
125
133
|
__args__['region'] = region
|
|
@@ -118,7 +118,7 @@ class GetContainerResult:
|
|
|
118
118
|
@pulumi.getter(name="cpuLimit")
|
|
119
119
|
def cpu_limit(self) -> int:
|
|
120
120
|
"""
|
|
121
|
-
The amount of vCPU computing resources to allocate to each container.
|
|
121
|
+
The amount of vCPU computing resources to allocate to each container.
|
|
122
122
|
"""
|
|
123
123
|
return pulumi.get(self, "cpu_limit")
|
|
124
124
|
|
|
@@ -187,7 +187,7 @@ class GetContainerResult:
|
|
|
187
187
|
@pulumi.getter(name="maxConcurrency")
|
|
188
188
|
def max_concurrency(self) -> int:
|
|
189
189
|
"""
|
|
190
|
-
The maximum number of simultaneous requests your container can handle at the same time.
|
|
190
|
+
The maximum number of simultaneous requests your container can handle at the same time.
|
|
191
191
|
"""
|
|
192
192
|
return pulumi.get(self, "max_concurrency")
|
|
193
193
|
|
|
@@ -195,7 +195,7 @@ class GetContainerResult:
|
|
|
195
195
|
@pulumi.getter(name="maxScale")
|
|
196
196
|
def max_scale(self) -> int:
|
|
197
197
|
"""
|
|
198
|
-
The maximum
|
|
198
|
+
The maximum number of instances the container can scale to.
|
|
199
199
|
"""
|
|
200
200
|
return pulumi.get(self, "max_scale")
|
|
201
201
|
|
|
@@ -203,7 +203,7 @@ class GetContainerResult:
|
|
|
203
203
|
@pulumi.getter(name="memoryLimit")
|
|
204
204
|
def memory_limit(self) -> int:
|
|
205
205
|
"""
|
|
206
|
-
The memory
|
|
206
|
+
The memory resources in MB to allocate to each container.
|
|
207
207
|
"""
|
|
208
208
|
return pulumi.get(self, "memory_limit")
|
|
209
209
|
|
|
@@ -211,7 +211,7 @@ class GetContainerResult:
|
|
|
211
211
|
@pulumi.getter(name="minScale")
|
|
212
212
|
def min_scale(self) -> int:
|
|
213
213
|
"""
|
|
214
|
-
The minimum of
|
|
214
|
+
The minimum number of container instances running continuously.
|
|
215
215
|
"""
|
|
216
216
|
return pulumi.get(self, "min_scale")
|
|
217
217
|
|
|
@@ -229,7 +229,7 @@ class GetContainerResult:
|
|
|
229
229
|
@pulumi.getter
|
|
230
230
|
def port(self) -> int:
|
|
231
231
|
"""
|
|
232
|
-
The port to expose the container.
|
|
232
|
+
The port to expose the container.
|
|
233
233
|
"""
|
|
234
234
|
return pulumi.get(self, "port")
|
|
235
235
|
|
|
@@ -237,7 +237,7 @@ class GetContainerResult:
|
|
|
237
237
|
@pulumi.getter
|
|
238
238
|
def privacy(self) -> str:
|
|
239
239
|
"""
|
|
240
|
-
The privacy type define the way to authenticate to your container.
|
|
240
|
+
The privacy type define the way to authenticate to your container. Refer to the [dedicated documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) for more information.
|
|
241
241
|
"""
|
|
242
242
|
return pulumi.get(self, "privacy")
|
|
243
243
|
|
|
@@ -250,7 +250,7 @@ class GetContainerResult:
|
|
|
250
250
|
@pulumi.getter
|
|
251
251
|
def protocol(self) -> str:
|
|
252
252
|
"""
|
|
253
|
-
The communication [protocol](https://
|
|
253
|
+
The communication [protocol](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-update-an-existing-container) `http1` or `h2c`. Defaults to `http1`.
|
|
254
254
|
"""
|
|
255
255
|
return pulumi.get(self, "protocol")
|
|
256
256
|
|
|
@@ -266,7 +266,7 @@ class GetContainerResult:
|
|
|
266
266
|
@pulumi.getter(name="registryImage")
|
|
267
267
|
def registry_image(self) -> str:
|
|
268
268
|
"""
|
|
269
|
-
The registry image address
|
|
269
|
+
The registry image address (e.g. `rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE`).
|
|
270
270
|
"""
|
|
271
271
|
return pulumi.get(self, "registry_image")
|
|
272
272
|
|
|
@@ -303,7 +303,7 @@ class GetContainerResult:
|
|
|
303
303
|
@pulumi.getter
|
|
304
304
|
def timeout(self) -> int:
|
|
305
305
|
"""
|
|
306
|
-
The maximum amount of time
|
|
306
|
+
The maximum amount of time your container can spend processing a request before being stopped.
|
|
307
307
|
"""
|
|
308
308
|
return pulumi.get(self, "timeout")
|
|
309
309
|
|
|
@@ -350,15 +350,18 @@ def get_container(container_id: Optional[str] = None,
|
|
|
350
350
|
region: Optional[str] = None,
|
|
351
351
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContainerResult:
|
|
352
352
|
"""
|
|
353
|
-
|
|
353
|
+
The `Container` data source is used to retrieve information about a Serverless Container.
|
|
354
354
|
|
|
355
|
-
|
|
355
|
+
Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
|
|
356
356
|
|
|
357
|
-
For more
|
|
357
|
+
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
|
|
358
358
|
|
|
359
|
-
|
|
359
|
+
## Retrieve a Serverless Container
|
|
360
360
|
|
|
361
|
-
|
|
361
|
+
The following commands allow you to:
|
|
362
|
+
|
|
363
|
+
- retrieve a container by its name
|
|
364
|
+
- retrieve a container by its ID
|
|
362
365
|
|
|
363
366
|
```python
|
|
364
367
|
import pulumi
|
|
@@ -377,12 +380,19 @@ def get_container(container_id: Optional[str] = None,
|
|
|
377
380
|
container_id=main_container.id)
|
|
378
381
|
```
|
|
379
382
|
|
|
383
|
+
## Arguments reference
|
|
384
|
+
|
|
385
|
+
This section lists the arguments that you can provide to the `Container` data source to filter and retrieve the desired namespace. Each argument has a specific purpose:
|
|
386
|
+
|
|
387
|
+
- `name` - (Required) The unique name of the container.
|
|
388
|
+
|
|
389
|
+
- `namespace_id` - (Required) The container namespace ID of the container.
|
|
390
|
+
|
|
391
|
+
- `project_id` - (Optional) The unique identifier of the project with which the container is associated.
|
|
392
|
+
|
|
393
|
+
> **Important** Updating the `name` argument will recreate the container.
|
|
394
|
+
|
|
380
395
|
|
|
381
|
-
:param str name: The unique name of the container name.
|
|
382
|
-
:param str namespace_id: The container namespace ID of the container.
|
|
383
|
-
:param str project_id: The ID of the project the container is associated with.
|
|
384
|
-
|
|
385
|
-
> **Important** Updates to `name` will recreate the container.
|
|
386
396
|
:param str region: (Defaults to provider `region`) The region in which the container was created.
|
|
387
397
|
"""
|
|
388
398
|
__args__ = dict()
|
|
@@ -429,15 +439,18 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
429
439
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
430
440
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerResult]:
|
|
431
441
|
"""
|
|
432
|
-
|
|
442
|
+
The `Container` data source is used to retrieve information about a Serverless Container.
|
|
433
443
|
|
|
434
|
-
|
|
444
|
+
Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
|
|
435
445
|
|
|
436
|
-
For more
|
|
446
|
+
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/).
|
|
437
447
|
|
|
438
|
-
|
|
448
|
+
## Retrieve a Serverless Container
|
|
439
449
|
|
|
440
|
-
|
|
450
|
+
The following commands allow you to:
|
|
451
|
+
|
|
452
|
+
- retrieve a container by its name
|
|
453
|
+
- retrieve a container by its ID
|
|
441
454
|
|
|
442
455
|
```python
|
|
443
456
|
import pulumi
|
|
@@ -456,12 +469,19 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
456
469
|
container_id=main_container.id)
|
|
457
470
|
```
|
|
458
471
|
|
|
472
|
+
## Arguments reference
|
|
473
|
+
|
|
474
|
+
This section lists the arguments that you can provide to the `Container` data source to filter and retrieve the desired namespace. Each argument has a specific purpose:
|
|
475
|
+
|
|
476
|
+
- `name` - (Required) The unique name of the container.
|
|
477
|
+
|
|
478
|
+
- `namespace_id` - (Required) The container namespace ID of the container.
|
|
479
|
+
|
|
480
|
+
- `project_id` - (Optional) The unique identifier of the project with which the container is associated.
|
|
481
|
+
|
|
482
|
+
> **Important** Updating the `name` argument will recreate the container.
|
|
483
|
+
|
|
459
484
|
|
|
460
|
-
:param str name: The unique name of the container name.
|
|
461
|
-
:param str namespace_id: The container namespace ID of the container.
|
|
462
|
-
:param str project_id: The ID of the project the container is associated with.
|
|
463
|
-
|
|
464
|
-
> **Important** Updates to `name` will recreate the container.
|
|
465
485
|
:param str region: (Defaults to provider `region`) The region in which the container was created.
|
|
466
486
|
"""
|
|
467
487
|
__args__ = dict()
|