pulumiverse-scaleway 1.17.0a1730194779__py3-none-any.whl → 1.18.0a1730280133__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.

Files changed (43) hide show
  1. pulumiverse_scaleway/__init__.py +9 -0
  2. pulumiverse_scaleway/_inputs.py +133 -107
  3. pulumiverse_scaleway/account_project.py +17 -17
  4. pulumiverse_scaleway/account_ssh_key.py +8 -4
  5. pulumiverse_scaleway/container.py +146 -160
  6. pulumiverse_scaleway/container_cron.py +42 -77
  7. pulumiverse_scaleway/container_domain.py +30 -24
  8. pulumiverse_scaleway/container_namespace.py +42 -42
  9. pulumiverse_scaleway/container_token.py +36 -38
  10. pulumiverse_scaleway/container_trigger.py +45 -43
  11. pulumiverse_scaleway/function.py +112 -154
  12. pulumiverse_scaleway/function_cron.py +42 -60
  13. pulumiverse_scaleway/function_domain.py +56 -47
  14. pulumiverse_scaleway/function_namespace.py +49 -49
  15. pulumiverse_scaleway/function_token.py +36 -38
  16. pulumiverse_scaleway/function_trigger.py +45 -43
  17. pulumiverse_scaleway/get_account_project.py +14 -8
  18. pulumiverse_scaleway/get_account_ssh_key.py +14 -10
  19. pulumiverse_scaleway/get_availability_zones.py +17 -9
  20. pulumiverse_scaleway/get_container.py +50 -30
  21. pulumiverse_scaleway/get_container_namespace.py +26 -16
  22. pulumiverse_scaleway/get_function.py +20 -12
  23. pulumiverse_scaleway/get_function_namespace.py +14 -14
  24. pulumiverse_scaleway/get_object_bucket.py +22 -10
  25. pulumiverse_scaleway/get_object_bucket_policy.py +15 -9
  26. pulumiverse_scaleway/get_tem_domain.py +12 -1
  27. pulumiverse_scaleway/instance_server.py +32 -0
  28. pulumiverse_scaleway/object_bucket.py +67 -81
  29. pulumiverse_scaleway/object_bucket_acl.py +21 -17
  30. pulumiverse_scaleway/object_bucket_lock_configuration.py +21 -19
  31. pulumiverse_scaleway/object_bucket_policy.py +10 -8
  32. pulumiverse_scaleway/object_bucket_website_configuration.py +24 -22
  33. pulumiverse_scaleway/object_item.py +78 -62
  34. pulumiverse_scaleway/outputs.py +102 -73
  35. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  36. pulumiverse_scaleway/sdb_database.py +26 -22
  37. pulumiverse_scaleway/tem_domain.py +75 -0
  38. pulumiverse_scaleway/vpc_private_network.py +2 -2
  39. pulumiverse_scaleway/vpc_route.py +577 -0
  40. {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0a1730280133.dist-info}/METADATA +1 -1
  41. {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0a1730280133.dist-info}/RECORD +43 -42
  42. {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0a1730280133.dist-info}/WHEEL +1 -1
  43. {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0a1730280133.dist-info}/top_level.txt +0 -0
@@ -27,13 +27,11 @@ class FunctionCronArgs:
27
27
  """
28
28
  The set of arguments for constructing a FunctionCron resource.
29
29
  :param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your function’s event object
30
- during
31
- :param pulumi.Input[str] function_id: The function ID to link with your cron.
32
- :param pulumi.Input[str] schedule: Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
33
- executed.
34
- :param pulumi.Input[str] name: The name of the cron. If not provided, the name is generated.
30
+ :param pulumi.Input[str] function_id: The unique identifier of the function to link to your CRON trigger.
31
+ :param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/functions/reference-content/cron-schedules/) for more information).
32
+ :param pulumi.Input[str] name: The name of the function CRON trigger. If not provided, a random name is generated.
35
33
  :param pulumi.Input[str] region: `region`) The region
36
- in where the job was created.
34
+ in which the function was created.
37
35
  """
38
36
  pulumi.set(__self__, "args", args)
39
37
  pulumi.set(__self__, "function_id", function_id)
@@ -48,7 +46,6 @@ class FunctionCronArgs:
48
46
  def args(self) -> pulumi.Input[str]:
49
47
  """
50
48
  The key-value mapping to define arguments that will be passed to your function’s event object
51
- during
52
49
  """
53
50
  return pulumi.get(self, "args")
54
51
 
@@ -60,7 +57,7 @@ class FunctionCronArgs:
60
57
  @pulumi.getter(name="functionId")
61
58
  def function_id(self) -> pulumi.Input[str]:
62
59
  """
63
- The function ID to link with your cron.
60
+ The unique identifier of the function to link to your CRON trigger.
64
61
  """
65
62
  return pulumi.get(self, "function_id")
66
63
 
@@ -72,8 +69,7 @@ class FunctionCronArgs:
72
69
  @pulumi.getter
73
70
  def schedule(self) -> pulumi.Input[str]:
74
71
  """
75
- Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
76
- executed.
72
+ CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/functions/reference-content/cron-schedules/) for more information).
77
73
  """
78
74
  return pulumi.get(self, "schedule")
79
75
 
@@ -85,7 +81,7 @@ class FunctionCronArgs:
85
81
  @pulumi.getter
86
82
  def name(self) -> Optional[pulumi.Input[str]]:
87
83
  """
88
- The name of the cron. If not provided, the name is generated.
84
+ The name of the function CRON trigger. If not provided, a random name is generated.
89
85
  """
90
86
  return pulumi.get(self, "name")
91
87
 
@@ -98,7 +94,7 @@ class FunctionCronArgs:
98
94
  def region(self) -> Optional[pulumi.Input[str]]:
99
95
  """
100
96
  `region`) The region
101
- in where the job was created.
97
+ in which the function was created.
102
98
  """
103
99
  return pulumi.get(self, "region")
104
100
 
@@ -119,14 +115,12 @@ class _FunctionCronState:
119
115
  """
120
116
  Input properties used for looking up and filtering FunctionCron resources.
121
117
  :param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your function’s event object
122
- during
123
- :param pulumi.Input[str] function_id: The function ID to link with your cron.
124
- :param pulumi.Input[str] name: The name of the cron. If not provided, the name is generated.
118
+ :param pulumi.Input[str] function_id: The unique identifier of the function to link to your CRON trigger.
119
+ :param pulumi.Input[str] name: The name of the function CRON trigger. If not provided, a random name is generated.
125
120
  :param pulumi.Input[str] region: `region`) The region
126
- in where the job was created.
127
- :param pulumi.Input[str] schedule: Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
128
- executed.
129
- :param pulumi.Input[str] status: The cron status.
121
+ in which the function was created.
122
+ :param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/functions/reference-content/cron-schedules/) for more information).
123
+ :param pulumi.Input[str] status: The CRON status.
130
124
  """
131
125
  if args is not None:
132
126
  pulumi.set(__self__, "args", args)
@@ -146,7 +140,6 @@ class _FunctionCronState:
146
140
  def args(self) -> Optional[pulumi.Input[str]]:
147
141
  """
148
142
  The key-value mapping to define arguments that will be passed to your function’s event object
149
- during
150
143
  """
151
144
  return pulumi.get(self, "args")
152
145
 
@@ -158,7 +151,7 @@ class _FunctionCronState:
158
151
  @pulumi.getter(name="functionId")
159
152
  def function_id(self) -> Optional[pulumi.Input[str]]:
160
153
  """
161
- The function ID to link with your cron.
154
+ The unique identifier of the function to link to your CRON trigger.
162
155
  """
163
156
  return pulumi.get(self, "function_id")
164
157
 
@@ -170,7 +163,7 @@ class _FunctionCronState:
170
163
  @pulumi.getter
171
164
  def name(self) -> Optional[pulumi.Input[str]]:
172
165
  """
173
- The name of the cron. If not provided, the name is generated.
166
+ The name of the function CRON trigger. If not provided, a random name is generated.
174
167
  """
175
168
  return pulumi.get(self, "name")
176
169
 
@@ -183,7 +176,7 @@ class _FunctionCronState:
183
176
  def region(self) -> Optional[pulumi.Input[str]]:
184
177
  """
185
178
  `region`) The region
186
- in where the job was created.
179
+ in which the function was created.
187
180
  """
188
181
  return pulumi.get(self, "region")
189
182
 
@@ -195,8 +188,7 @@ class _FunctionCronState:
195
188
  @pulumi.getter
196
189
  def schedule(self) -> Optional[pulumi.Input[str]]:
197
190
  """
198
- Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
199
- executed.
191
+ CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/functions/reference-content/cron-schedules/) for more information).
200
192
  """
201
193
  return pulumi.get(self, "schedule")
202
194
 
@@ -208,7 +200,7 @@ class _FunctionCronState:
208
200
  @pulumi.getter
209
201
  def status(self) -> Optional[pulumi.Input[str]]:
210
202
  """
211
- The cron status.
203
+ The CRON status.
212
204
  """
213
205
  return pulumi.get(self, "status")
214
206
 
@@ -229,16 +221,14 @@ class FunctionCron(pulumi.CustomResource):
229
221
  schedule: Optional[pulumi.Input[str]] = None,
230
222
  __props__=None):
231
223
  """
232
- Creates and manages Scaleway Function Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
224
+ The `FunctionCron` resource allows you to create and manage CRON triggers for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
233
225
 
234
- For more details about the limitation
235
- check [functions-limitations](https://www.scaleway.com/en/docs/compute/functions/reference-content/functions-limitations/).
236
-
237
- You can check also
238
- our [functions cron api documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#crons-942bf4).
226
+ Refer to the Functions CRON 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.
239
227
 
240
228
  ## Example Usage
241
229
 
230
+ The following command allows you to add a CRON trigger to a Serverless Function.
231
+
242
232
  ```python
243
233
  import pulumi
244
234
  import json
@@ -268,7 +258,7 @@ class FunctionCron(pulumi.CustomResource):
268
258
 
269
259
  ## Import
270
260
 
271
- Container Cron can be imported using the `{region}/{id}`, e.g.
261
+ Function Cron can be imported using `{region}/{id}`, as shown below:
272
262
 
273
263
  bash
274
264
 
@@ -279,13 +269,11 @@ class FunctionCron(pulumi.CustomResource):
279
269
  :param str resource_name: The name of the resource.
280
270
  :param pulumi.ResourceOptions opts: Options for the resource.
281
271
  :param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your function’s event object
282
- during
283
- :param pulumi.Input[str] function_id: The function ID to link with your cron.
284
- :param pulumi.Input[str] name: The name of the cron. If not provided, the name is generated.
272
+ :param pulumi.Input[str] function_id: The unique identifier of the function to link to your CRON trigger.
273
+ :param pulumi.Input[str] name: The name of the function CRON trigger. If not provided, a random name is generated.
285
274
  :param pulumi.Input[str] region: `region`) The region
286
- in where the job was created.
287
- :param pulumi.Input[str] schedule: Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
288
- executed.
275
+ in which the function was created.
276
+ :param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/functions/reference-content/cron-schedules/) for more information).
289
277
  """
290
278
  ...
291
279
  @overload
@@ -294,16 +282,14 @@ class FunctionCron(pulumi.CustomResource):
294
282
  args: FunctionCronArgs,
295
283
  opts: Optional[pulumi.ResourceOptions] = None):
296
284
  """
297
- Creates and manages Scaleway Function Triggers. For the moment, the feature is limited to CRON Schedule (time-based).
285
+ The `FunctionCron` resource allows you to create and manage CRON triggers for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
298
286
 
299
- For more details about the limitation
300
- check [functions-limitations](https://www.scaleway.com/en/docs/compute/functions/reference-content/functions-limitations/).
301
-
302
- You can check also
303
- our [functions cron api documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#crons-942bf4).
287
+ Refer to the Functions CRON 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.
304
288
 
305
289
  ## Example Usage
306
290
 
291
+ The following command allows you to add a CRON trigger to a Serverless Function.
292
+
307
293
  ```python
308
294
  import pulumi
309
295
  import json
@@ -333,7 +319,7 @@ class FunctionCron(pulumi.CustomResource):
333
319
 
334
320
  ## Import
335
321
 
336
- Container Cron can be imported using the `{region}/{id}`, e.g.
322
+ Function Cron can be imported using `{region}/{id}`, as shown below:
337
323
 
338
324
  bash
339
325
 
@@ -406,14 +392,12 @@ class FunctionCron(pulumi.CustomResource):
406
392
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
407
393
  :param pulumi.ResourceOptions opts: Options for the resource.
408
394
  :param pulumi.Input[str] args: The key-value mapping to define arguments that will be passed to your function’s event object
409
- during
410
- :param pulumi.Input[str] function_id: The function ID to link with your cron.
411
- :param pulumi.Input[str] name: The name of the cron. If not provided, the name is generated.
395
+ :param pulumi.Input[str] function_id: The unique identifier of the function to link to your CRON trigger.
396
+ :param pulumi.Input[str] name: The name of the function CRON trigger. If not provided, a random name is generated.
412
397
  :param pulumi.Input[str] region: `region`) The region
413
- in where the job was created.
414
- :param pulumi.Input[str] schedule: Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
415
- executed.
416
- :param pulumi.Input[str] status: The cron status.
398
+ in which the function was created.
399
+ :param pulumi.Input[str] schedule: CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/functions/reference-content/cron-schedules/) for more information).
400
+ :param pulumi.Input[str] status: The CRON status.
417
401
  """
418
402
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
419
403
 
@@ -432,7 +416,6 @@ class FunctionCron(pulumi.CustomResource):
432
416
  def args(self) -> pulumi.Output[str]:
433
417
  """
434
418
  The key-value mapping to define arguments that will be passed to your function’s event object
435
- during
436
419
  """
437
420
  return pulumi.get(self, "args")
438
421
 
@@ -440,7 +423,7 @@ class FunctionCron(pulumi.CustomResource):
440
423
  @pulumi.getter(name="functionId")
441
424
  def function_id(self) -> pulumi.Output[str]:
442
425
  """
443
- The function ID to link with your cron.
426
+ The unique identifier of the function to link to your CRON trigger.
444
427
  """
445
428
  return pulumi.get(self, "function_id")
446
429
 
@@ -448,7 +431,7 @@ class FunctionCron(pulumi.CustomResource):
448
431
  @pulumi.getter
449
432
  def name(self) -> pulumi.Output[str]:
450
433
  """
451
- The name of the cron. If not provided, the name is generated.
434
+ The name of the function CRON trigger. If not provided, a random name is generated.
452
435
  """
453
436
  return pulumi.get(self, "name")
454
437
 
@@ -457,7 +440,7 @@ class FunctionCron(pulumi.CustomResource):
457
440
  def region(self) -> pulumi.Output[str]:
458
441
  """
459
442
  `region`) The region
460
- in where the job was created.
443
+ in which the function was created.
461
444
  """
462
445
  return pulumi.get(self, "region")
463
446
 
@@ -465,8 +448,7 @@ class FunctionCron(pulumi.CustomResource):
465
448
  @pulumi.getter
466
449
  def schedule(self) -> pulumi.Output[str]:
467
450
  """
468
- Cron format string, e.g. @hourly, as schedule time of its jobs to be created and
469
- executed.
451
+ CRON format string (refer to the [CRON schedule reference](https://www.scaleway.com/en/docs/serverless/functions/reference-content/cron-schedules/) for more information).
470
452
  """
471
453
  return pulumi.get(self, "schedule")
472
454
 
@@ -474,7 +456,7 @@ class FunctionCron(pulumi.CustomResource):
474
456
  @pulumi.getter
475
457
  def status(self) -> pulumi.Output[str]:
476
458
  """
477
- The cron status.
459
+ The CRON status.
478
460
  """
479
461
  return pulumi.get(self, "status")
480
462
 
@@ -24,12 +24,13 @@ class FunctionDomainArgs:
24
24
  region: Optional[pulumi.Input[str]] = None):
25
25
  """
26
26
  The set of arguments for constructing a FunctionDomain resource.
27
- :param pulumi.Input[str] function_id: The ID of the function you want to create a domain with.
28
- :param pulumi.Input[str] hostname: The hostname that should resolve to your function id native domain.
29
- You should use a CNAME domain record that point to your native function `domain_name` for it.
27
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
28
+ :param pulumi.Input[str] hostname: The hostname with a CNAME record.
30
29
 
31
- > **Important** Updates to `function_id` or `hostname` will recreate the domain.
32
- :param pulumi.Input[str] region: (Defaults to provider `region`) The region in where the domain was created.
30
+ We recommend you use a CNAME domain record that point to your native function `domain_name` for it.
31
+
32
+ > **Important** Updating the `function_id` or `hostname` arguments will recreate the domain.
33
+ :param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the domain was created.
33
34
  """
34
35
  pulumi.set(__self__, "function_id", function_id)
35
36
  pulumi.set(__self__, "hostname", hostname)
@@ -40,7 +41,7 @@ class FunctionDomainArgs:
40
41
  @pulumi.getter(name="functionId")
41
42
  def function_id(self) -> pulumi.Input[str]:
42
43
  """
43
- The ID of the function you want to create a domain with.
44
+ The unique identifier of the function.
44
45
  """
45
46
  return pulumi.get(self, "function_id")
46
47
 
@@ -52,10 +53,11 @@ class FunctionDomainArgs:
52
53
  @pulumi.getter
53
54
  def hostname(self) -> pulumi.Input[str]:
54
55
  """
55
- The hostname that should resolve to your function id native domain.
56
- You should use a CNAME domain record that point to your native function `domain_name` for it.
56
+ The hostname with a CNAME record.
57
+
58
+ We recommend you use a CNAME domain record that point to your native function `domain_name` for it.
57
59
 
58
- > **Important** Updates to `function_id` or `hostname` will recreate the domain.
60
+ > **Important** Updating the `function_id` or `hostname` arguments will recreate the domain.
59
61
  """
60
62
  return pulumi.get(self, "hostname")
61
63
 
@@ -67,7 +69,7 @@ class FunctionDomainArgs:
67
69
  @pulumi.getter
68
70
  def region(self) -> Optional[pulumi.Input[str]]:
69
71
  """
70
- (Defaults to provider `region`) The region in where the domain was created.
72
+ (Defaults to provider `region`) The region in which the domain was created.
71
73
  """
72
74
  return pulumi.get(self, "region")
73
75
 
@@ -85,13 +87,14 @@ class _FunctionDomainState:
85
87
  url: Optional[pulumi.Input[str]] = None):
86
88
  """
87
89
  Input properties used for looking up and filtering FunctionDomain resources.
88
- :param pulumi.Input[str] function_id: The ID of the function you want to create a domain with.
89
- :param pulumi.Input[str] hostname: The hostname that should resolve to your function id native domain.
90
- You should use a CNAME domain record that point to your native function `domain_name` for it.
90
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
91
+ :param pulumi.Input[str] hostname: The hostname with a CNAME record.
92
+
93
+ We recommend you use a CNAME domain record that point to your native function `domain_name` for it.
91
94
 
92
- > **Important** Updates to `function_id` or `hostname` will recreate the domain.
93
- :param pulumi.Input[str] region: (Defaults to provider `region`) The region in where the domain was created.
94
- :param pulumi.Input[str] url: The URL that triggers the function
95
+ > **Important** Updating the `function_id` or `hostname` arguments will recreate the domain.
96
+ :param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the domain was created.
97
+ :param pulumi.Input[str] url: The URL used to query the function.
95
98
  """
96
99
  if function_id is not None:
97
100
  pulumi.set(__self__, "function_id", function_id)
@@ -106,7 +109,7 @@ class _FunctionDomainState:
106
109
  @pulumi.getter(name="functionId")
107
110
  def function_id(self) -> Optional[pulumi.Input[str]]:
108
111
  """
109
- The ID of the function you want to create a domain with.
112
+ The unique identifier of the function.
110
113
  """
111
114
  return pulumi.get(self, "function_id")
112
115
 
@@ -118,10 +121,11 @@ class _FunctionDomainState:
118
121
  @pulumi.getter
119
122
  def hostname(self) -> Optional[pulumi.Input[str]]:
120
123
  """
121
- The hostname that should resolve to your function id native domain.
122
- You should use a CNAME domain record that point to your native function `domain_name` for it.
124
+ The hostname with a CNAME record.
123
125
 
124
- > **Important** Updates to `function_id` or `hostname` will recreate the domain.
126
+ We recommend you use a CNAME domain record that point to your native function `domain_name` for it.
127
+
128
+ > **Important** Updating the `function_id` or `hostname` arguments will recreate the domain.
125
129
  """
126
130
  return pulumi.get(self, "hostname")
127
131
 
@@ -133,7 +137,7 @@ class _FunctionDomainState:
133
137
  @pulumi.getter
134
138
  def region(self) -> Optional[pulumi.Input[str]]:
135
139
  """
136
- (Defaults to provider `region`) The region in where the domain was created.
140
+ (Defaults to provider `region`) The region in which the domain was created.
137
141
  """
138
142
  return pulumi.get(self, "region")
139
143
 
@@ -145,7 +149,7 @@ class _FunctionDomainState:
145
149
  @pulumi.getter
146
150
  def url(self) -> Optional[pulumi.Input[str]]:
147
151
  """
148
- The URL that triggers the function
152
+ The URL used to query the function.
149
153
  """
150
154
  return pulumi.get(self, "url")
151
155
 
@@ -164,12 +168,13 @@ class FunctionDomain(pulumi.CustomResource):
164
168
  region: Optional[pulumi.Input[str]] = None,
165
169
  __props__=None):
166
170
  """
167
- Creates and manages Scaleway Function Domain bindings.
168
- For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
171
+ The `FunctionDomain` resource allows you to create and manage domain name bindings for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
172
+
173
+ Refer to the Functions domain [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/add-a-custom-domain-name-to-a-function/) and the [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-domains-list-all-domain-name-bindings) for more information.
169
174
 
170
175
  ## Example Usage
171
176
 
172
- ### Basic
177
+ This command allows to bind a custom domain name to a function.
173
178
 
174
179
  ```python
175
180
  import pulumi
@@ -191,7 +196,7 @@ class FunctionDomain(pulumi.CustomResource):
191
196
 
192
197
  ## Import
193
198
 
194
- Domain can be imported using the `{region}/{id}`, e.g.
199
+ Function domain binding can be imported using `{region}/{id}`, as shown below:
195
200
 
196
201
  bash
197
202
 
@@ -201,12 +206,13 @@ class FunctionDomain(pulumi.CustomResource):
201
206
 
202
207
  :param str resource_name: The name of the resource.
203
208
  :param pulumi.ResourceOptions opts: Options for the resource.
204
- :param pulumi.Input[str] function_id: The ID of the function you want to create a domain with.
205
- :param pulumi.Input[str] hostname: The hostname that should resolve to your function id native domain.
206
- You should use a CNAME domain record that point to your native function `domain_name` for it.
209
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
210
+ :param pulumi.Input[str] hostname: The hostname with a CNAME record.
207
211
 
208
- > **Important** Updates to `function_id` or `hostname` will recreate the domain.
209
- :param pulumi.Input[str] region: (Defaults to provider `region`) The region in where the domain was created.
212
+ We recommend you use a CNAME domain record that point to your native function `domain_name` for it.
213
+
214
+ > **Important** Updating the `function_id` or `hostname` arguments will recreate the domain.
215
+ :param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the domain was created.
210
216
  """
211
217
  ...
212
218
  @overload
@@ -215,12 +221,13 @@ class FunctionDomain(pulumi.CustomResource):
215
221
  args: FunctionDomainArgs,
216
222
  opts: Optional[pulumi.ResourceOptions] = None):
217
223
  """
218
- Creates and manages Scaleway Function Domain bindings.
219
- For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions).
224
+ The `FunctionDomain` resource allows you to create and manage domain name bindings for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
225
+
226
+ Refer to the Functions domain [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/add-a-custom-domain-name-to-a-function/) and the [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-domains-list-all-domain-name-bindings) for more information.
220
227
 
221
228
  ## Example Usage
222
229
 
223
- ### Basic
230
+ This command allows to bind a custom domain name to a function.
224
231
 
225
232
  ```python
226
233
  import pulumi
@@ -242,7 +249,7 @@ class FunctionDomain(pulumi.CustomResource):
242
249
 
243
250
  ## Import
244
251
 
245
- Domain can be imported using the `{region}/{id}`, e.g.
252
+ Function domain binding can be imported using `{region}/{id}`, as shown below:
246
253
 
247
254
  bash
248
255
 
@@ -306,13 +313,14 @@ class FunctionDomain(pulumi.CustomResource):
306
313
  :param str resource_name: The unique name of the resulting resource.
307
314
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
308
315
  :param pulumi.ResourceOptions opts: Options for the resource.
309
- :param pulumi.Input[str] function_id: The ID of the function you want to create a domain with.
310
- :param pulumi.Input[str] hostname: The hostname that should resolve to your function id native domain.
311
- You should use a CNAME domain record that point to your native function `domain_name` for it.
316
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
317
+ :param pulumi.Input[str] hostname: The hostname with a CNAME record.
312
318
 
313
- > **Important** Updates to `function_id` or `hostname` will recreate the domain.
314
- :param pulumi.Input[str] region: (Defaults to provider `region`) The region in where the domain was created.
315
- :param pulumi.Input[str] url: The URL that triggers the function
319
+ We recommend you use a CNAME domain record that point to your native function `domain_name` for it.
320
+
321
+ > **Important** Updating the `function_id` or `hostname` arguments will recreate the domain.
322
+ :param pulumi.Input[str] region: (Defaults to provider `region`) The region in which the domain was created.
323
+ :param pulumi.Input[str] url: The URL used to query the function.
316
324
  """
317
325
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
318
326
 
@@ -328,7 +336,7 @@ class FunctionDomain(pulumi.CustomResource):
328
336
  @pulumi.getter(name="functionId")
329
337
  def function_id(self) -> pulumi.Output[str]:
330
338
  """
331
- The ID of the function you want to create a domain with.
339
+ The unique identifier of the function.
332
340
  """
333
341
  return pulumi.get(self, "function_id")
334
342
 
@@ -336,10 +344,11 @@ class FunctionDomain(pulumi.CustomResource):
336
344
  @pulumi.getter
337
345
  def hostname(self) -> pulumi.Output[str]:
338
346
  """
339
- The hostname that should resolve to your function id native domain.
340
- You should use a CNAME domain record that point to your native function `domain_name` for it.
347
+ The hostname with a CNAME record.
348
+
349
+ We recommend you use a CNAME domain record that point to your native function `domain_name` for it.
341
350
 
342
- > **Important** Updates to `function_id` or `hostname` will recreate the domain.
351
+ > **Important** Updating the `function_id` or `hostname` arguments will recreate the domain.
343
352
  """
344
353
  return pulumi.get(self, "hostname")
345
354
 
@@ -347,7 +356,7 @@ class FunctionDomain(pulumi.CustomResource):
347
356
  @pulumi.getter
348
357
  def region(self) -> pulumi.Output[str]:
349
358
  """
350
- (Defaults to provider `region`) The region in where the domain was created.
359
+ (Defaults to provider `region`) The region in which the domain was created.
351
360
  """
352
361
  return pulumi.get(self, "region")
353
362
 
@@ -355,7 +364,7 @@ class FunctionDomain(pulumi.CustomResource):
355
364
  @pulumi.getter
356
365
  def url(self) -> pulumi.Output[str]:
357
366
  """
358
- The URL that triggers the function
367
+ The URL used to query the function.
359
368
  """
360
369
  return pulumi.get(self, "url")
361
370