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.

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.0.dist-info}/METADATA +1 -1
  41. {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/RECORD +43 -42
  42. {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/WHEEL +1 -1
  43. {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/top_level.txt +0 -0
@@ -29,12 +29,12 @@ class FunctionNamespaceArgs:
29
29
  The set of arguments for constructing a FunctionNamespace resource.
30
30
  :param pulumi.Input[str] description: The description of the namespace.
31
31
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the namespace.
32
- :param pulumi.Input[str] name: The unique name of the function namespace.
32
+ :param pulumi.Input[str] name: The unique name of the Functions namespace.
33
33
 
34
- > **Important** Updates to `name` will recreate the namespace.
35
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
36
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
37
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
34
+ > **Important** Updates to the `name` argument will recreate the namespace.
35
+ :param pulumi.Input[str] project_id: `project_id`) The unique identifier of the project that contains the namespace.
36
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
38
38
  """
39
39
  if description is not None:
40
40
  pulumi.set(__self__, "description", description)
@@ -77,9 +77,9 @@ class FunctionNamespaceArgs:
77
77
  @pulumi.getter
78
78
  def name(self) -> Optional[pulumi.Input[str]]:
79
79
  """
80
- The unique name of the function namespace.
80
+ The unique name of the Functions namespace.
81
81
 
82
- > **Important** Updates to `name` will recreate the namespace.
82
+ > **Important** Updates to the `name` argument will recreate the namespace.
83
83
  """
84
84
  return pulumi.get(self, "name")
85
85
 
@@ -91,7 +91,7 @@ class FunctionNamespaceArgs:
91
91
  @pulumi.getter(name="projectId")
92
92
  def project_id(self) -> Optional[pulumi.Input[str]]:
93
93
  """
94
- `project_id`) The ID of the project the namespace is associated with.
94
+ `project_id`) The unique identifier of the project that contains the namespace.
95
95
  """
96
96
  return pulumi.get(self, "project_id")
97
97
 
@@ -103,7 +103,7 @@ class FunctionNamespaceArgs:
103
103
  @pulumi.getter
104
104
  def region(self) -> Optional[pulumi.Input[str]]:
105
105
  """
106
- `region`). The region in which the namespace should be created.
106
+ `region`). The region in which the namespace is created.
107
107
  """
108
108
  return pulumi.get(self, "region")
109
109
 
@@ -115,7 +115,7 @@ class FunctionNamespaceArgs:
115
115
  @pulumi.getter(name="secretEnvironmentVariables")
116
116
  def secret_environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
117
117
  """
118
- The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
118
+ The secret environment variables of the namespace.
119
119
  """
120
120
  return pulumi.get(self, "secret_environment_variables")
121
121
 
@@ -140,15 +140,15 @@ class _FunctionNamespaceState:
140
140
  Input properties used for looking up and filtering FunctionNamespace resources.
141
141
  :param pulumi.Input[str] description: The description of the namespace.
142
142
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the namespace.
143
- :param pulumi.Input[str] name: The unique name of the function namespace.
143
+ :param pulumi.Input[str] name: The unique name of the Functions namespace.
144
144
 
145
- > **Important** Updates to `name` will recreate the namespace.
146
- :param pulumi.Input[str] organization_id: The organization ID the namespace is associated with.
147
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
148
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
145
+ > **Important** Updates to the `name` argument will recreate the namespace.
146
+ :param pulumi.Input[str] organization_id: The Organization ID with which the namespace is associated.
147
+ :param pulumi.Input[str] project_id: `project_id`) The unique identifier of the project that contains the namespace.
148
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
149
149
  :param pulumi.Input[str] registry_endpoint: The registry endpoint of the namespace.
150
150
  :param pulumi.Input[str] registry_namespace_id: The registry namespace ID of the namespace.
151
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
151
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
152
152
  """
153
153
  if description is not None:
154
154
  pulumi.set(__self__, "description", description)
@@ -197,9 +197,9 @@ class _FunctionNamespaceState:
197
197
  @pulumi.getter
198
198
  def name(self) -> Optional[pulumi.Input[str]]:
199
199
  """
200
- The unique name of the function namespace.
200
+ The unique name of the Functions namespace.
201
201
 
202
- > **Important** Updates to `name` will recreate the namespace.
202
+ > **Important** Updates to the `name` argument will recreate the namespace.
203
203
  """
204
204
  return pulumi.get(self, "name")
205
205
 
@@ -211,7 +211,7 @@ class _FunctionNamespaceState:
211
211
  @pulumi.getter(name="organizationId")
212
212
  def organization_id(self) -> Optional[pulumi.Input[str]]:
213
213
  """
214
- The organization ID the namespace is associated with.
214
+ The Organization ID with which the namespace is associated.
215
215
  """
216
216
  return pulumi.get(self, "organization_id")
217
217
 
@@ -223,7 +223,7 @@ class _FunctionNamespaceState:
223
223
  @pulumi.getter(name="projectId")
224
224
  def project_id(self) -> Optional[pulumi.Input[str]]:
225
225
  """
226
- `project_id`) The ID of the project the namespace is associated with.
226
+ `project_id`) The unique identifier of the project that contains the namespace.
227
227
  """
228
228
  return pulumi.get(self, "project_id")
229
229
 
@@ -235,7 +235,7 @@ class _FunctionNamespaceState:
235
235
  @pulumi.getter
236
236
  def region(self) -> Optional[pulumi.Input[str]]:
237
237
  """
238
- `region`). The region in which the namespace should be created.
238
+ `region`). The region in which the namespace is created.
239
239
  """
240
240
  return pulumi.get(self, "region")
241
241
 
@@ -271,7 +271,7 @@ class _FunctionNamespaceState:
271
271
  @pulumi.getter(name="secretEnvironmentVariables")
272
272
  def secret_environment_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
273
273
  """
274
- The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
274
+ The secret environment variables of the namespace.
275
275
  """
276
276
  return pulumi.get(self, "secret_environment_variables")
277
277
 
@@ -293,12 +293,12 @@ class FunctionNamespace(pulumi.CustomResource):
293
293
  secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
294
294
  __props__=None):
295
295
  """
296
- Creates and manages Scaleway Function Namespace.
297
- For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/).
296
+ The `FunctionNamespace` resource allows you to
297
+ for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
298
298
 
299
- ## Example Usage
299
+ Refer to the Functions namespace [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-a-functions-namespace/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-namespaces-list-all-your-namespaces) for more information.
300
300
 
301
- ### Basic
301
+ ## Example Usage
302
302
 
303
303
  ```python
304
304
  import pulumi
@@ -311,7 +311,7 @@ class FunctionNamespace(pulumi.CustomResource):
311
311
 
312
312
  ## Import
313
313
 
314
- Namespaces can be imported using the `{region}/{id}`, e.g.
314
+ Functions namespaces can be imported using `{region}/{id}`, as shown below:
315
315
 
316
316
  bash
317
317
 
@@ -323,12 +323,12 @@ class FunctionNamespace(pulumi.CustomResource):
323
323
  :param pulumi.ResourceOptions opts: Options for the resource.
324
324
  :param pulumi.Input[str] description: The description of the namespace.
325
325
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the namespace.
326
- :param pulumi.Input[str] name: The unique name of the function namespace.
326
+ :param pulumi.Input[str] name: The unique name of the Functions namespace.
327
327
 
328
- > **Important** Updates to `name` will recreate the namespace.
329
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
330
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
331
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
328
+ > **Important** Updates to the `name` argument will recreate the namespace.
329
+ :param pulumi.Input[str] project_id: `project_id`) The unique identifier of the project that contains the namespace.
330
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
331
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
332
332
  """
333
333
  ...
334
334
  @overload
@@ -337,12 +337,12 @@ class FunctionNamespace(pulumi.CustomResource):
337
337
  args: Optional[FunctionNamespaceArgs] = None,
338
338
  opts: Optional[pulumi.ResourceOptions] = None):
339
339
  """
340
- Creates and manages Scaleway Function Namespace.
341
- For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/).
340
+ The `FunctionNamespace` resource allows you to
341
+ for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
342
342
 
343
- ## Example Usage
343
+ Refer to the Functions namespace [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-a-functions-namespace/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-namespaces-list-all-your-namespaces) for more information.
344
344
 
345
- ### Basic
345
+ ## Example Usage
346
346
 
347
347
  ```python
348
348
  import pulumi
@@ -355,7 +355,7 @@ class FunctionNamespace(pulumi.CustomResource):
355
355
 
356
356
  ## Import
357
357
 
358
- Namespaces can be imported using the `{region}/{id}`, e.g.
358
+ Functions namespaces can be imported using `{region}/{id}`, as shown below:
359
359
 
360
360
  bash
361
361
 
@@ -432,15 +432,15 @@ class FunctionNamespace(pulumi.CustomResource):
432
432
  :param pulumi.ResourceOptions opts: Options for the resource.
433
433
  :param pulumi.Input[str] description: The description of the namespace.
434
434
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] environment_variables: The environment variables of the namespace.
435
- :param pulumi.Input[str] name: The unique name of the function namespace.
435
+ :param pulumi.Input[str] name: The unique name of the Functions namespace.
436
436
 
437
- > **Important** Updates to `name` will recreate the namespace.
438
- :param pulumi.Input[str] organization_id: The organization ID the namespace is associated with.
439
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the namespace is associated with.
440
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
437
+ > **Important** Updates to the `name` argument will recreate the namespace.
438
+ :param pulumi.Input[str] organization_id: The Organization ID with which the namespace is associated.
439
+ :param pulumi.Input[str] project_id: `project_id`) The unique identifier of the project that contains the namespace.
440
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
441
441
  :param pulumi.Input[str] registry_endpoint: The registry endpoint of the namespace.
442
442
  :param pulumi.Input[str] registry_namespace_id: The registry namespace ID of the namespace.
443
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
443
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
444
444
  """
445
445
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
446
446
 
@@ -477,9 +477,9 @@ class FunctionNamespace(pulumi.CustomResource):
477
477
  @pulumi.getter
478
478
  def name(self) -> pulumi.Output[str]:
479
479
  """
480
- The unique name of the function namespace.
480
+ The unique name of the Functions namespace.
481
481
 
482
- > **Important** Updates to `name` will recreate the namespace.
482
+ > **Important** Updates to the `name` argument will recreate the namespace.
483
483
  """
484
484
  return pulumi.get(self, "name")
485
485
 
@@ -487,7 +487,7 @@ class FunctionNamespace(pulumi.CustomResource):
487
487
  @pulumi.getter(name="organizationId")
488
488
  def organization_id(self) -> pulumi.Output[str]:
489
489
  """
490
- The organization ID the namespace is associated with.
490
+ The Organization ID with which the namespace is associated.
491
491
  """
492
492
  return pulumi.get(self, "organization_id")
493
493
 
@@ -495,7 +495,7 @@ class FunctionNamespace(pulumi.CustomResource):
495
495
  @pulumi.getter(name="projectId")
496
496
  def project_id(self) -> pulumi.Output[str]:
497
497
  """
498
- `project_id`) The ID of the project the namespace is associated with.
498
+ `project_id`) The unique identifier of the project that contains the namespace.
499
499
  """
500
500
  return pulumi.get(self, "project_id")
501
501
 
@@ -503,7 +503,7 @@ class FunctionNamespace(pulumi.CustomResource):
503
503
  @pulumi.getter
504
504
  def region(self) -> pulumi.Output[str]:
505
505
  """
506
- `region`). The region in which the namespace should be created.
506
+ `region`). The region in which the namespace is created.
507
507
  """
508
508
  return pulumi.get(self, "region")
509
509
 
@@ -527,7 +527,7 @@ class FunctionNamespace(pulumi.CustomResource):
527
527
  @pulumi.getter(name="secretEnvironmentVariables")
528
528
  def secret_environment_variables(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
529
529
  """
530
- The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the namespace.
530
+ The secret environment variables of the namespace.
531
531
  """
532
532
  return pulumi.get(self, "secret_environment_variables")
533
533
 
@@ -28,13 +28,13 @@ class FunctionTokenArgs:
28
28
  The set of arguments for constructing a FunctionToken resource.
29
29
  :param pulumi.Input[str] description: The description of the token.
30
30
  :param pulumi.Input[str] expires_at: The expiration date of the token.
31
- :param pulumi.Input[str] function_id: The ID of the function.
31
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
32
32
 
33
33
  > Only one of `namespace_id` or `function_id` must be set.
34
- :param pulumi.Input[str] namespace_id: The ID of the function namespace.
35
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
34
+ :param pulumi.Input[str] namespace_id: The unique identifier of the Functions namespace.
35
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
36
36
 
37
- > **Important** Updates to any fields will recreate the token.
37
+ > **Important** Updating any of the arguments above will recreate the token.
38
38
  """
39
39
  if description is not None:
40
40
  pulumi.set(__self__, "description", description)
@@ -75,7 +75,7 @@ class FunctionTokenArgs:
75
75
  @pulumi.getter(name="functionId")
76
76
  def function_id(self) -> Optional[pulumi.Input[str]]:
77
77
  """
78
- The ID of the function.
78
+ The unique identifier of the function.
79
79
 
80
80
  > Only one of `namespace_id` or `function_id` must be set.
81
81
  """
@@ -89,7 +89,7 @@ class FunctionTokenArgs:
89
89
  @pulumi.getter(name="namespaceId")
90
90
  def namespace_id(self) -> Optional[pulumi.Input[str]]:
91
91
  """
92
- The ID of the function namespace.
92
+ The unique identifier of the Functions namespace.
93
93
  """
94
94
  return pulumi.get(self, "namespace_id")
95
95
 
@@ -101,9 +101,9 @@ class FunctionTokenArgs:
101
101
  @pulumi.getter
102
102
  def region(self) -> Optional[pulumi.Input[str]]:
103
103
  """
104
- `region`). The region in which the namespace should be created.
104
+ `region`). The region in which the namespace is created.
105
105
 
106
- > **Important** Updates to any fields will recreate the token.
106
+ > **Important** Updating any of the arguments above will recreate the token.
107
107
  """
108
108
  return pulumi.get(self, "region")
109
109
 
@@ -125,13 +125,13 @@ class _FunctionTokenState:
125
125
  Input properties used for looking up and filtering FunctionToken resources.
126
126
  :param pulumi.Input[str] description: The description of the token.
127
127
  :param pulumi.Input[str] expires_at: The expiration date of the token.
128
- :param pulumi.Input[str] function_id: The ID of the function.
128
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
129
129
 
130
130
  > Only one of `namespace_id` or `function_id` must be set.
131
- :param pulumi.Input[str] namespace_id: The ID of the function namespace.
132
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
131
+ :param pulumi.Input[str] namespace_id: The unique identifier of the Functions namespace.
132
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
133
133
 
134
- > **Important** Updates to any fields will recreate the token.
134
+ > **Important** Updating any of the arguments above will recreate the token.
135
135
  :param pulumi.Input[str] token: The token.
136
136
  """
137
137
  if description is not None:
@@ -175,7 +175,7 @@ class _FunctionTokenState:
175
175
  @pulumi.getter(name="functionId")
176
176
  def function_id(self) -> Optional[pulumi.Input[str]]:
177
177
  """
178
- The ID of the function.
178
+ The unique identifier of the function.
179
179
 
180
180
  > Only one of `namespace_id` or `function_id` must be set.
181
181
  """
@@ -189,7 +189,7 @@ class _FunctionTokenState:
189
189
  @pulumi.getter(name="namespaceId")
190
190
  def namespace_id(self) -> Optional[pulumi.Input[str]]:
191
191
  """
192
- The ID of the function namespace.
192
+ The unique identifier of the Functions namespace.
193
193
  """
194
194
  return pulumi.get(self, "namespace_id")
195
195
 
@@ -201,9 +201,9 @@ class _FunctionTokenState:
201
201
  @pulumi.getter
202
202
  def region(self) -> Optional[pulumi.Input[str]]:
203
203
  """
204
- `region`). The region in which the namespace should be created.
204
+ `region`). The region in which the namespace is created.
205
205
 
206
- > **Important** Updates to any fields will recreate the token.
206
+ > **Important** Updating any of the arguments above will recreate the token.
207
207
  """
208
208
  return pulumi.get(self, "region")
209
209
 
@@ -236,12 +236,11 @@ class FunctionToken(pulumi.CustomResource):
236
236
  region: Optional[pulumi.Input[str]] = None,
237
237
  __props__=None):
238
238
  """
239
- Creates and manages Scaleway Function Token.
240
- For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#tokens-26b085).
239
+ The `FunctionToken` resource allows you to create and manage authentication tokens for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
241
240
 
242
- ## Example Usage
241
+ Refer to the Functions tokens [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-auth-token-from-console/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-tokens-list-all-tokens) for more information.
243
242
 
244
- ### Basic
243
+ ## Example Usage
245
244
 
246
245
  ```python
247
246
  import pulumi
@@ -263,7 +262,7 @@ class FunctionToken(pulumi.CustomResource):
263
262
 
264
263
  ## Import
265
264
 
266
- Tokens can be imported using the `{region}/{id}`, e.g.
265
+ Tokens can be imported using `{region}/{id}`, as shown below:
267
266
 
268
267
  bash
269
268
 
@@ -275,13 +274,13 @@ class FunctionToken(pulumi.CustomResource):
275
274
  :param pulumi.ResourceOptions opts: Options for the resource.
276
275
  :param pulumi.Input[str] description: The description of the token.
277
276
  :param pulumi.Input[str] expires_at: The expiration date of the token.
278
- :param pulumi.Input[str] function_id: The ID of the function.
277
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
279
278
 
280
279
  > Only one of `namespace_id` or `function_id` must be set.
281
- :param pulumi.Input[str] namespace_id: The ID of the function namespace.
282
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
280
+ :param pulumi.Input[str] namespace_id: The unique identifier of the Functions namespace.
281
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
283
282
 
284
- > **Important** Updates to any fields will recreate the token.
283
+ > **Important** Updating any of the arguments above will recreate the token.
285
284
  """
286
285
  ...
287
286
  @overload
@@ -290,12 +289,11 @@ class FunctionToken(pulumi.CustomResource):
290
289
  args: Optional[FunctionTokenArgs] = None,
291
290
  opts: Optional[pulumi.ResourceOptions] = None):
292
291
  """
293
- Creates and manages Scaleway Function Token.
294
- For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#tokens-26b085).
292
+ The `FunctionToken` resource allows you to create and manage authentication tokens for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
295
293
 
296
- ## Example Usage
294
+ Refer to the Functions tokens [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-auth-token-from-console/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-tokens-list-all-tokens) for more information.
297
295
 
298
- ### Basic
296
+ ## Example Usage
299
297
 
300
298
  ```python
301
299
  import pulumi
@@ -317,7 +315,7 @@ class FunctionToken(pulumi.CustomResource):
317
315
 
318
316
  ## Import
319
317
 
320
- Tokens can be imported using the `{region}/{id}`, e.g.
318
+ Tokens can be imported using `{region}/{id}`, as shown below:
321
319
 
322
320
  bash
323
321
 
@@ -387,13 +385,13 @@ class FunctionToken(pulumi.CustomResource):
387
385
  :param pulumi.ResourceOptions opts: Options for the resource.
388
386
  :param pulumi.Input[str] description: The description of the token.
389
387
  :param pulumi.Input[str] expires_at: The expiration date of the token.
390
- :param pulumi.Input[str] function_id: The ID of the function.
388
+ :param pulumi.Input[str] function_id: The unique identifier of the function.
391
389
 
392
390
  > Only one of `namespace_id` or `function_id` must be set.
393
- :param pulumi.Input[str] namespace_id: The ID of the function namespace.
394
- :param pulumi.Input[str] region: `region`). The region in which the namespace should be created.
391
+ :param pulumi.Input[str] namespace_id: The unique identifier of the Functions namespace.
392
+ :param pulumi.Input[str] region: `region`). The region in which the namespace is created.
395
393
 
396
- > **Important** Updates to any fields will recreate the token.
394
+ > **Important** Updating any of the arguments above will recreate the token.
397
395
  :param pulumi.Input[str] token: The token.
398
396
  """
399
397
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -428,7 +426,7 @@ class FunctionToken(pulumi.CustomResource):
428
426
  @pulumi.getter(name="functionId")
429
427
  def function_id(self) -> pulumi.Output[Optional[str]]:
430
428
  """
431
- The ID of the function.
429
+ The unique identifier of the function.
432
430
 
433
431
  > Only one of `namespace_id` or `function_id` must be set.
434
432
  """
@@ -438,7 +436,7 @@ class FunctionToken(pulumi.CustomResource):
438
436
  @pulumi.getter(name="namespaceId")
439
437
  def namespace_id(self) -> pulumi.Output[Optional[str]]:
440
438
  """
441
- The ID of the function namespace.
439
+ The unique identifier of the Functions namespace.
442
440
  """
443
441
  return pulumi.get(self, "namespace_id")
444
442
 
@@ -446,9 +444,9 @@ class FunctionToken(pulumi.CustomResource):
446
444
  @pulumi.getter
447
445
  def region(self) -> pulumi.Output[str]:
448
446
  """
449
- `region`). The region in which the namespace should be created.
447
+ `region`). The region in which the namespace is created.
450
448
 
451
- > **Important** Updates to any fields will recreate the token.
449
+ > **Important** Updating any of the arguments above will recreate the token.
452
450
  """
453
451
  return pulumi.get(self, "region")
454
452