pulumiverse-scaleway 1.16.0a1730122081__py3-none-any.whl → 1.17.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 (34) hide show
  1. pulumiverse_scaleway/__init__.py +10 -0
  2. pulumiverse_scaleway/_inputs.py +165 -60
  3. pulumiverse_scaleway/block_snapshot.py +37 -27
  4. pulumiverse_scaleway/block_volume.py +49 -43
  5. pulumiverse_scaleway/cockpit.py +39 -24
  6. pulumiverse_scaleway/cockpit_alert_manager.py +42 -38
  7. pulumiverse_scaleway/cockpit_grafana_user.py +39 -31
  8. pulumiverse_scaleway/cockpit_source.py +86 -50
  9. pulumiverse_scaleway/cockpit_token.py +45 -27
  10. pulumiverse_scaleway/database_instance.py +13 -8
  11. pulumiverse_scaleway/domain_record.py +88 -46
  12. pulumiverse_scaleway/domain_zone.py +47 -75
  13. pulumiverse_scaleway/get_block_snapshot.py +16 -12
  14. pulumiverse_scaleway/get_block_volume.py +10 -8
  15. pulumiverse_scaleway/get_cockpit.py +44 -19
  16. pulumiverse_scaleway/get_cockpit_plan.py +18 -6
  17. pulumiverse_scaleway/get_domain_record.py +40 -34
  18. pulumiverse_scaleway/get_domain_zone.py +12 -36
  19. pulumiverse_scaleway/get_mnq_sns.py +150 -0
  20. pulumiverse_scaleway/get_secret.py +77 -29
  21. pulumiverse_scaleway/get_secret_version.py +75 -38
  22. pulumiverse_scaleway/iam_policy.py +46 -0
  23. pulumiverse_scaleway/instance_server.py +56 -4
  24. pulumiverse_scaleway/loadbalancer_frontend.py +4 -4
  25. pulumiverse_scaleway/outputs.py +169 -55
  26. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  27. pulumiverse_scaleway/secret.py +162 -59
  28. pulumiverse_scaleway/secret_version.py +59 -54
  29. pulumiverse_scaleway/tem_domain.py +9 -4
  30. pulumiverse_scaleway/tem_webhook.py +640 -0
  31. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/METADATA +1 -1
  32. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/RECORD +34 -32
  33. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/WHEEL +0 -0
  34. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/top_level.txt +0 -0
@@ -25,11 +25,10 @@ class SecretVersionArgs:
25
25
  region: Optional[pulumi.Input[str]] = None):
26
26
  """
27
27
  The set of arguments for constructing a SecretVersion resource.
28
- :param pulumi.Input[str] data: The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
29
- :param pulumi.Input[str] secret_id: The Secret ID associated wit the secret version.
28
+ :param pulumi.Input[str] data: The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the [data section](https://www.terraform.io/#data-information).
29
+ :param pulumi.Input[str] secret_id: The ID of the secret associated with the version.
30
30
  :param pulumi.Input[str] description: Description of the secret version (e.g. `my-new-description`).
31
- :param pulumi.Input[str] region: `region`) The region
32
- in which the resource exists.
31
+ :param pulumi.Input[str] region: ). The region where the resource exists.
33
32
  """
34
33
  pulumi.set(__self__, "data", data)
35
34
  pulumi.set(__self__, "secret_id", secret_id)
@@ -42,7 +41,7 @@ class SecretVersionArgs:
42
41
  @pulumi.getter
43
42
  def data(self) -> pulumi.Input[str]:
44
43
  """
45
- The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
44
+ The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the [data section](https://www.terraform.io/#data-information).
46
45
  """
47
46
  return pulumi.get(self, "data")
48
47
 
@@ -54,7 +53,7 @@ class SecretVersionArgs:
54
53
  @pulumi.getter(name="secretId")
55
54
  def secret_id(self) -> pulumi.Input[str]:
56
55
  """
57
- The Secret ID associated wit the secret version.
56
+ The ID of the secret associated with the version.
58
57
  """
59
58
  return pulumi.get(self, "secret_id")
60
59
 
@@ -78,8 +77,7 @@ class SecretVersionArgs:
78
77
  @pulumi.getter
79
78
  def region(self) -> Optional[pulumi.Input[str]]:
80
79
  """
81
- `region`) The region
82
- in which the resource exists.
80
+ ). The region where the resource exists.
83
81
  """
84
82
  return pulumi.get(self, "region")
85
83
 
@@ -101,15 +99,14 @@ class _SecretVersionState:
101
99
  updated_at: Optional[pulumi.Input[str]] = None):
102
100
  """
103
101
  Input properties used for looking up and filtering SecretVersion resources.
104
- :param pulumi.Input[str] created_at: Date and time of secret version's creation (RFC 3339 format).
105
- :param pulumi.Input[str] data: The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
102
+ :param pulumi.Input[str] created_at: The date and time of the secret version's creation (in RFC 3339 format).
103
+ :param pulumi.Input[str] data: The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the [data section](https://www.terraform.io/#data-information).
106
104
  :param pulumi.Input[str] description: Description of the secret version (e.g. `my-new-description`).
107
- :param pulumi.Input[str] region: `region`) The region
108
- in which the resource exists.
109
- :param pulumi.Input[str] revision: The revision for this Secret Version.
110
- :param pulumi.Input[str] secret_id: The Secret ID associated wit the secret version.
111
- :param pulumi.Input[str] status: The status of the Secret Version.
112
- :param pulumi.Input[str] updated_at: Date and time of secret version's last update (RFC 3339 format).
105
+ :param pulumi.Input[str] region: ). The region where the resource exists.
106
+ :param pulumi.Input[str] revision: The revision number of the secret version.
107
+ :param pulumi.Input[str] secret_id: The ID of the secret associated with the version.
108
+ :param pulumi.Input[str] status: The status of the secret version.
109
+ :param pulumi.Input[str] updated_at: The date and time of the secret version's last update (in RFC 3339 format).
113
110
  """
114
111
  if created_at is not None:
115
112
  pulumi.set(__self__, "created_at", created_at)
@@ -132,7 +129,7 @@ class _SecretVersionState:
132
129
  @pulumi.getter(name="createdAt")
133
130
  def created_at(self) -> Optional[pulumi.Input[str]]:
134
131
  """
135
- Date and time of secret version's creation (RFC 3339 format).
132
+ The date and time of the secret version's creation (in RFC 3339 format).
136
133
  """
137
134
  return pulumi.get(self, "created_at")
138
135
 
@@ -144,7 +141,7 @@ class _SecretVersionState:
144
141
  @pulumi.getter
145
142
  def data(self) -> Optional[pulumi.Input[str]]:
146
143
  """
147
- The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
144
+ The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the [data section](https://www.terraform.io/#data-information).
148
145
  """
149
146
  return pulumi.get(self, "data")
150
147
 
@@ -168,8 +165,7 @@ class _SecretVersionState:
168
165
  @pulumi.getter
169
166
  def region(self) -> Optional[pulumi.Input[str]]:
170
167
  """
171
- `region`) The region
172
- in which the resource exists.
168
+ ). The region where the resource exists.
173
169
  """
174
170
  return pulumi.get(self, "region")
175
171
 
@@ -181,7 +177,7 @@ class _SecretVersionState:
181
177
  @pulumi.getter
182
178
  def revision(self) -> Optional[pulumi.Input[str]]:
183
179
  """
184
- The revision for this Secret Version.
180
+ The revision number of the secret version.
185
181
  """
186
182
  return pulumi.get(self, "revision")
187
183
 
@@ -193,7 +189,7 @@ class _SecretVersionState:
193
189
  @pulumi.getter(name="secretId")
194
190
  def secret_id(self) -> Optional[pulumi.Input[str]]:
195
191
  """
196
- The Secret ID associated wit the secret version.
192
+ The ID of the secret associated with the version.
197
193
  """
198
194
  return pulumi.get(self, "secret_id")
199
195
 
@@ -205,7 +201,7 @@ class _SecretVersionState:
205
201
  @pulumi.getter
206
202
  def status(self) -> Optional[pulumi.Input[str]]:
207
203
  """
208
- The status of the Secret Version.
204
+ The status of the secret version.
209
205
  """
210
206
  return pulumi.get(self, "status")
211
207
 
@@ -217,7 +213,7 @@ class _SecretVersionState:
217
213
  @pulumi.getter(name="updatedAt")
218
214
  def updated_at(self) -> Optional[pulumi.Input[str]]:
219
215
  """
220
- Date and time of secret version's last update (RFC 3339 format).
216
+ The date and time of the secret version's last update (in RFC 3339 format).
221
217
  """
222
218
  return pulumi.get(self, "updated_at")
223
219
 
@@ -237,12 +233,18 @@ class SecretVersion(pulumi.CustomResource):
237
233
  secret_id: Optional[pulumi.Input[str]] = None,
238
234
  __props__=None):
239
235
  """
240
- Creates and manages Scaleway Secret Versions.
241
- For more information, see [the documentation](https://www.scaleway.com/en/developers/api/secret-manager/#secret-versions-079501).
236
+ The `SecretVersion` resource allows you to create and manage secret versions in Scaleway Secret Manager.
237
+
238
+ Refer to the Secret Manager [product documentation](https://www.scaleway.com/en/docs/identity-and-access-management/secret-manager/) and [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/) for more information.
242
239
 
243
240
  ## Example Usage
244
241
 
245
- ### Basic
242
+ ### Create a secret and a version
243
+
244
+ The following commands allow you to:
245
+
246
+ - create a secret named `foo`
247
+ - create a version of this secret containing the `my_new_secret` data
246
248
 
247
249
  ```python
248
250
  import pulumi
@@ -263,9 +265,9 @@ class SecretVersion(pulumi.CustomResource):
263
265
 
264
266
  ## Import
265
267
 
266
- The Secret Version can be imported using the `{region}/{id}/{revision}`, e.g.
268
+ This section explains how to import a secret version using the `{region}/{id}/{revision}` format.
267
269
 
268
- ~> **Important:** Be aware if you import with revision `latest` you will overwrite the version you used before.
270
+ ~> **Important:** Keep in mind that if you import with the `latest` revision, you will overwrite the previous version you might have been using.
269
271
 
270
272
  bash
271
273
 
@@ -275,11 +277,10 @@ class SecretVersion(pulumi.CustomResource):
275
277
 
276
278
  :param str resource_name: The name of the resource.
277
279
  :param pulumi.ResourceOptions opts: Options for the resource.
278
- :param pulumi.Input[str] data: The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
280
+ :param pulumi.Input[str] data: The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the [data section](https://www.terraform.io/#data-information).
279
281
  :param pulumi.Input[str] description: Description of the secret version (e.g. `my-new-description`).
280
- :param pulumi.Input[str] region: `region`) The region
281
- in which the resource exists.
282
- :param pulumi.Input[str] secret_id: The Secret ID associated wit the secret version.
282
+ :param pulumi.Input[str] region: ). The region where the resource exists.
283
+ :param pulumi.Input[str] secret_id: The ID of the secret associated with the version.
283
284
  """
284
285
  ...
285
286
  @overload
@@ -288,12 +289,18 @@ class SecretVersion(pulumi.CustomResource):
288
289
  args: SecretVersionArgs,
289
290
  opts: Optional[pulumi.ResourceOptions] = None):
290
291
  """
291
- Creates and manages Scaleway Secret Versions.
292
- For more information, see [the documentation](https://www.scaleway.com/en/developers/api/secret-manager/#secret-versions-079501).
292
+ The `SecretVersion` resource allows you to create and manage secret versions in Scaleway Secret Manager.
293
+
294
+ Refer to the Secret Manager [product documentation](https://www.scaleway.com/en/docs/identity-and-access-management/secret-manager/) and [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/) for more information.
293
295
 
294
296
  ## Example Usage
295
297
 
296
- ### Basic
298
+ ### Create a secret and a version
299
+
300
+ The following commands allow you to:
301
+
302
+ - create a secret named `foo`
303
+ - create a version of this secret containing the `my_new_secret` data
297
304
 
298
305
  ```python
299
306
  import pulumi
@@ -314,9 +321,9 @@ class SecretVersion(pulumi.CustomResource):
314
321
 
315
322
  ## Import
316
323
 
317
- The Secret Version can be imported using the `{region}/{id}/{revision}`, e.g.
324
+ This section explains how to import a secret version using the `{region}/{id}/{revision}` format.
318
325
 
319
- ~> **Important:** Be aware if you import with revision `latest` you will overwrite the version you used before.
326
+ ~> **Important:** Keep in mind that if you import with the `latest` revision, you will overwrite the previous version you might have been using.
320
327
 
321
328
  bash
322
329
 
@@ -391,15 +398,14 @@ class SecretVersion(pulumi.CustomResource):
391
398
  :param str resource_name: The unique name of the resulting resource.
392
399
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
393
400
  :param pulumi.ResourceOptions opts: Options for the resource.
394
- :param pulumi.Input[str] created_at: Date and time of secret version's creation (RFC 3339 format).
395
- :param pulumi.Input[str] data: The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
401
+ :param pulumi.Input[str] created_at: The date and time of the secret version's creation (in RFC 3339 format).
402
+ :param pulumi.Input[str] data: The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the [data section](https://www.terraform.io/#data-information).
396
403
  :param pulumi.Input[str] description: Description of the secret version (e.g. `my-new-description`).
397
- :param pulumi.Input[str] region: `region`) The region
398
- in which the resource exists.
399
- :param pulumi.Input[str] revision: The revision for this Secret Version.
400
- :param pulumi.Input[str] secret_id: The Secret ID associated wit the secret version.
401
- :param pulumi.Input[str] status: The status of the Secret Version.
402
- :param pulumi.Input[str] updated_at: Date and time of secret version's last update (RFC 3339 format).
404
+ :param pulumi.Input[str] region: ). The region where the resource exists.
405
+ :param pulumi.Input[str] revision: The revision number of the secret version.
406
+ :param pulumi.Input[str] secret_id: The ID of the secret associated with the version.
407
+ :param pulumi.Input[str] status: The status of the secret version.
408
+ :param pulumi.Input[str] updated_at: The date and time of the secret version's last update (in RFC 3339 format).
403
409
  """
404
410
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
405
411
 
@@ -419,7 +425,7 @@ class SecretVersion(pulumi.CustomResource):
419
425
  @pulumi.getter(name="createdAt")
420
426
  def created_at(self) -> pulumi.Output[str]:
421
427
  """
422
- Date and time of secret version's creation (RFC 3339 format).
428
+ The date and time of the secret version's creation (in RFC 3339 format).
423
429
  """
424
430
  return pulumi.get(self, "created_at")
425
431
 
@@ -427,7 +433,7 @@ class SecretVersion(pulumi.CustomResource):
427
433
  @pulumi.getter
428
434
  def data(self) -> pulumi.Output[str]:
429
435
  """
430
- The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
436
+ The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the [data section](https://www.terraform.io/#data-information).
431
437
  """
432
438
  return pulumi.get(self, "data")
433
439
 
@@ -443,8 +449,7 @@ class SecretVersion(pulumi.CustomResource):
443
449
  @pulumi.getter
444
450
  def region(self) -> pulumi.Output[str]:
445
451
  """
446
- `region`) The region
447
- in which the resource exists.
452
+ ). The region where the resource exists.
448
453
  """
449
454
  return pulumi.get(self, "region")
450
455
 
@@ -452,7 +457,7 @@ class SecretVersion(pulumi.CustomResource):
452
457
  @pulumi.getter
453
458
  def revision(self) -> pulumi.Output[str]:
454
459
  """
455
- The revision for this Secret Version.
460
+ The revision number of the secret version.
456
461
  """
457
462
  return pulumi.get(self, "revision")
458
463
 
@@ -460,7 +465,7 @@ class SecretVersion(pulumi.CustomResource):
460
465
  @pulumi.getter(name="secretId")
461
466
  def secret_id(self) -> pulumi.Output[str]:
462
467
  """
463
- The Secret ID associated wit the secret version.
468
+ The ID of the secret associated with the version.
464
469
  """
465
470
  return pulumi.get(self, "secret_id")
466
471
 
@@ -468,7 +473,7 @@ class SecretVersion(pulumi.CustomResource):
468
473
  @pulumi.getter
469
474
  def status(self) -> pulumi.Output[str]:
470
475
  """
471
- The status of the Secret Version.
476
+ The status of the secret version.
472
477
  """
473
478
  return pulumi.get(self, "status")
474
479
 
@@ -476,7 +481,7 @@ class SecretVersion(pulumi.CustomResource):
476
481
  @pulumi.getter(name="updatedAt")
477
482
  def updated_at(self) -> pulumi.Output[str]:
478
483
  """
479
- Date and time of secret version's last update (RFC 3339 format).
484
+ The date and time of the secret version's last update (in RFC 3339 format).
480
485
  """
481
486
  return pulumi.get(self, "updated_at")
482
487
 
@@ -127,7 +127,7 @@ class _TemDomainState:
127
127
  :param pulumi.Input[str] dkim_config: The DKIM public key, as should be recorded in the DNS zone.
128
128
  :param pulumi.Input[str] dmarc_config: DMARC record for the domain, as should be recorded in the DNS zone.
129
129
  :param pulumi.Input[str] dmarc_name: DMARC name for the domain, as should be recorded in the DNS zone.
130
- :param pulumi.Input[str] last_error: The error message if the last check failed.
130
+ :param pulumi.Input[str] last_error: (Deprecated) The error message if the last check failed.
131
131
  :param pulumi.Input[str] last_valid_at: The date and time the domain was last found to be valid (RFC 3339 format).
132
132
  :param pulumi.Input[str] mx_blackhole: The Scaleway's blackhole MX server to use if you do not have one.
133
133
  :param pulumi.Input[str] name: The domain name, must not be used in another Transactional Email Domain.
@@ -157,6 +157,9 @@ class _TemDomainState:
157
157
  pulumi.set(__self__, "dmarc_config", dmarc_config)
158
158
  if dmarc_name is not None:
159
159
  pulumi.set(__self__, "dmarc_name", dmarc_name)
160
+ if last_error is not None:
161
+ warnings.warn("""last_error is deprecated""", DeprecationWarning)
162
+ pulumi.log.warn("""last_error is deprecated: last_error is deprecated""")
160
163
  if last_error is not None:
161
164
  pulumi.set(__self__, "last_error", last_error)
162
165
  if last_valid_at is not None:
@@ -257,9 +260,10 @@ class _TemDomainState:
257
260
 
258
261
  @property
259
262
  @pulumi.getter(name="lastError")
263
+ @_utilities.deprecated("""last_error is deprecated""")
260
264
  def last_error(self) -> Optional[pulumi.Input[str]]:
261
265
  """
262
- The error message if the last check failed.
266
+ (Deprecated) The error message if the last check failed.
263
267
  """
264
268
  return pulumi.get(self, "last_error")
265
269
 
@@ -713,7 +717,7 @@ class TemDomain(pulumi.CustomResource):
713
717
  :param pulumi.Input[str] dkim_config: The DKIM public key, as should be recorded in the DNS zone.
714
718
  :param pulumi.Input[str] dmarc_config: DMARC record for the domain, as should be recorded in the DNS zone.
715
719
  :param pulumi.Input[str] dmarc_name: DMARC name for the domain, as should be recorded in the DNS zone.
716
- :param pulumi.Input[str] last_error: The error message if the last check failed.
720
+ :param pulumi.Input[str] last_error: (Deprecated) The error message if the last check failed.
717
721
  :param pulumi.Input[str] last_valid_at: The date and time the domain was last found to be valid (RFC 3339 format).
718
722
  :param pulumi.Input[str] mx_blackhole: The Scaleway's blackhole MX server to use if you do not have one.
719
723
  :param pulumi.Input[str] name: The domain name, must not be used in another Transactional Email Domain.
@@ -805,9 +809,10 @@ class TemDomain(pulumi.CustomResource):
805
809
 
806
810
  @property
807
811
  @pulumi.getter(name="lastError")
812
+ @_utilities.deprecated("""last_error is deprecated""")
808
813
  def last_error(self) -> pulumi.Output[str]:
809
814
  """
810
- The error message if the last check failed.
815
+ (Deprecated) The error message if the last check failed.
811
816
  """
812
817
  return pulumi.get(self, "last_error")
813
818