pulumiverse-scaleway 1.32.0a1753171981__py3-none-any.whl → 1.32.0a1754042138__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.
Files changed (40) hide show
  1. pulumiverse_scaleway/__init__.py +9 -0
  2. pulumiverse_scaleway/_inputs.py +142 -36
  3. pulumiverse_scaleway/apple_silicon_server.py +46 -8
  4. pulumiverse_scaleway/applesilicon/_inputs.py +18 -18
  5. pulumiverse_scaleway/applesilicon/outputs.py +12 -12
  6. pulumiverse_scaleway/applesilicon/server.py +46 -8
  7. pulumiverse_scaleway/block/_inputs.py +58 -6
  8. pulumiverse_scaleway/block/get_snapshot.py +12 -1
  9. pulumiverse_scaleway/block/outputs.py +60 -0
  10. pulumiverse_scaleway/block/snapshot.py +54 -7
  11. pulumiverse_scaleway/block/volume.py +14 -14
  12. pulumiverse_scaleway/block_snapshot.py +54 -7
  13. pulumiverse_scaleway/block_volume.py +14 -14
  14. pulumiverse_scaleway/domain/get_record.py +1 -12
  15. pulumiverse_scaleway/domain/record.py +0 -47
  16. pulumiverse_scaleway/domain_record.py +0 -47
  17. pulumiverse_scaleway/get_block_snapshot.py +12 -1
  18. pulumiverse_scaleway/get_domain_record.py +1 -12
  19. pulumiverse_scaleway/get_iam_user.py +2 -2
  20. pulumiverse_scaleway/get_lb_frontend.py +37 -4
  21. pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
  22. pulumiverse_scaleway/iam/get_user.py +2 -2
  23. pulumiverse_scaleway/key_manager_key.py +831 -0
  24. pulumiverse_scaleway/kubernetes/cluster.py +6 -6
  25. pulumiverse_scaleway/kubernetes_cluster.py +6 -6
  26. pulumiverse_scaleway/loadbalancer_frontend.py +105 -2
  27. pulumiverse_scaleway/loadbalancers/_inputs.py +12 -12
  28. pulumiverse_scaleway/loadbalancers/frontend.py +105 -2
  29. pulumiverse_scaleway/loadbalancers/get_frontend.py +37 -4
  30. pulumiverse_scaleway/loadbalancers/outputs.py +32 -10
  31. pulumiverse_scaleway/mongo_db_instance.py +28 -0
  32. pulumiverse_scaleway/mongodb/get_instance.py +12 -1
  33. pulumiverse_scaleway/mongodb/instance.py +28 -0
  34. pulumiverse_scaleway/network/acl.py +35 -37
  35. pulumiverse_scaleway/outputs.py +159 -26
  36. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  37. {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.32.0a1754042138.dist-info}/METADATA +1 -1
  38. {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.32.0a1754042138.dist-info}/RECORD +40 -39
  39. {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.32.0a1754042138.dist-info}/WHEEL +0 -0
  40. {pulumiverse_scaleway-1.32.0a1753171981.dist-info → pulumiverse_scaleway-1.32.0a1754042138.dist-info}/top_level.txt +0 -0
@@ -34,8 +34,8 @@ class VolumeArgs:
34
34
  :param pulumi.Input[builtins.str] instance_volume_id: The instance volume to create the block volume from
35
35
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
36
36
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
37
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
38
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
37
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
38
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
39
39
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
40
40
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
41
41
  """
@@ -107,7 +107,7 @@ class VolumeArgs:
107
107
  @pulumi.getter(name="sizeInGb")
108
108
  def size_in_gb(self) -> Optional[pulumi.Input[builtins.int]]:
109
109
  """
110
- The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
110
+ The size of the volume in gigabytes.
111
111
  """
112
112
  return pulumi.get(self, "size_in_gb")
113
113
 
@@ -119,7 +119,7 @@ class VolumeArgs:
119
119
  @pulumi.getter(name="snapshotId")
120
120
  def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
121
121
  """
122
- If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
122
+ If set, the new volume will be created from this snapshot.
123
123
  """
124
124
  return pulumi.get(self, "snapshot_id")
125
125
 
@@ -169,8 +169,8 @@ class _VolumeState:
169
169
  :param pulumi.Input[builtins.int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
170
170
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
171
171
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
172
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
173
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
172
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
173
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
174
174
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
175
175
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
176
176
  """
@@ -243,7 +243,7 @@ class _VolumeState:
243
243
  @pulumi.getter(name="sizeInGb")
244
244
  def size_in_gb(self) -> Optional[pulumi.Input[builtins.int]]:
245
245
  """
246
- The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
246
+ The size of the volume in gigabytes.
247
247
  """
248
248
  return pulumi.get(self, "size_in_gb")
249
249
 
@@ -255,7 +255,7 @@ class _VolumeState:
255
255
  @pulumi.getter(name="snapshotId")
256
256
  def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
257
257
  """
258
- If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
258
+ If set, the new volume will be created from this snapshot.
259
259
  """
260
260
  return pulumi.get(self, "snapshot_id")
261
261
 
@@ -359,8 +359,8 @@ class Volume(pulumi.CustomResource):
359
359
  :param pulumi.Input[builtins.int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
360
360
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
361
361
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
362
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
363
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
362
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
363
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
364
364
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
365
365
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
366
366
  """
@@ -493,8 +493,8 @@ class Volume(pulumi.CustomResource):
493
493
  :param pulumi.Input[builtins.int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
494
494
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
495
495
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
496
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
497
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
496
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
497
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
498
498
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
499
499
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
500
500
  """
@@ -548,7 +548,7 @@ class Volume(pulumi.CustomResource):
548
548
  @pulumi.getter(name="sizeInGb")
549
549
  def size_in_gb(self) -> pulumi.Output[builtins.int]:
550
550
  """
551
- The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
551
+ The size of the volume in gigabytes.
552
552
  """
553
553
  return pulumi.get(self, "size_in_gb")
554
554
 
@@ -556,7 +556,7 @@ class Volume(pulumi.CustomResource):
556
556
  @pulumi.getter(name="snapshotId")
557
557
  def snapshot_id(self) -> pulumi.Output[Optional[builtins.str]]:
558
558
  """
559
- If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
559
+ If set, the new volume will be created from this snapshot.
560
560
  """
561
561
  return pulumi.get(self, "snapshot_id")
562
562
 
@@ -22,6 +22,7 @@ __all__ = ['BlockSnapshotArgs', 'BlockSnapshot']
22
22
  @pulumi.input_type
23
23
  class BlockSnapshotArgs:
24
24
  def __init__(__self__, *,
25
+ export: Optional[pulumi.Input['BlockSnapshotExportArgs']] = None,
25
26
  import_: Optional[pulumi.Input['BlockSnapshotImportArgs']] = None,
26
27
  name: Optional[pulumi.Input[builtins.str]] = None,
27
28
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -30,13 +31,16 @@ class BlockSnapshotArgs:
30
31
  zone: Optional[pulumi.Input[builtins.str]] = None):
31
32
  """
32
33
  The set of arguments for constructing a BlockSnapshot resource.
33
- :param pulumi.Input['BlockSnapshotImportArgs'] import_: Import snapshot from a qcow
34
+ :param pulumi.Input['BlockSnapshotExportArgs'] export: Use this block to export the volume as a QCOW file to Object Storage.
35
+ :param pulumi.Input['BlockSnapshotImportArgs'] import_: Use this block to import a QCOW image from Object Storage to create a volume.
34
36
  :param pulumi.Input[builtins.str] name: The name of the snapshot. If not provided, a name will be randomly generated.
35
37
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Scaleway Project the snapshot is associated with.
36
38
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
37
39
  :param pulumi.Input[builtins.str] volume_id: The ID of the volume to take a snapshot from.
38
40
  :param pulumi.Input[builtins.str] zone: ). The zone in which the snapshot should be created.
39
41
  """
42
+ if export is not None:
43
+ pulumi.set(__self__, "export", export)
40
44
  if import_ is not None:
41
45
  pulumi.set(__self__, "import_", import_)
42
46
  if name is not None:
@@ -50,11 +54,23 @@ class BlockSnapshotArgs:
50
54
  if zone is not None:
51
55
  pulumi.set(__self__, "zone", zone)
52
56
 
57
+ @property
58
+ @pulumi.getter
59
+ def export(self) -> Optional[pulumi.Input['BlockSnapshotExportArgs']]:
60
+ """
61
+ Use this block to export the volume as a QCOW file to Object Storage.
62
+ """
63
+ return pulumi.get(self, "export")
64
+
65
+ @export.setter
66
+ def export(self, value: Optional[pulumi.Input['BlockSnapshotExportArgs']]):
67
+ pulumi.set(self, "export", value)
68
+
53
69
  @property
54
70
  @pulumi.getter(name="import")
55
71
  def import_(self) -> Optional[pulumi.Input['BlockSnapshotImportArgs']]:
56
72
  """
57
- Import snapshot from a qcow
73
+ Use this block to import a QCOW image from Object Storage to create a volume.
58
74
  """
59
75
  return pulumi.get(self, "import_")
60
76
 
@@ -126,6 +142,7 @@ class BlockSnapshotArgs:
126
142
  @pulumi.input_type
127
143
  class _BlockSnapshotState:
128
144
  def __init__(__self__, *,
145
+ export: Optional[pulumi.Input['BlockSnapshotExportArgs']] = None,
129
146
  import_: Optional[pulumi.Input['BlockSnapshotImportArgs']] = None,
130
147
  name: Optional[pulumi.Input[builtins.str]] = None,
131
148
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -134,13 +151,16 @@ class _BlockSnapshotState:
134
151
  zone: Optional[pulumi.Input[builtins.str]] = None):
135
152
  """
136
153
  Input properties used for looking up and filtering BlockSnapshot resources.
137
- :param pulumi.Input['BlockSnapshotImportArgs'] import_: Import snapshot from a qcow
154
+ :param pulumi.Input['BlockSnapshotExportArgs'] export: Use this block to export the volume as a QCOW file to Object Storage.
155
+ :param pulumi.Input['BlockSnapshotImportArgs'] import_: Use this block to import a QCOW image from Object Storage to create a volume.
138
156
  :param pulumi.Input[builtins.str] name: The name of the snapshot. If not provided, a name will be randomly generated.
139
157
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Scaleway Project the snapshot is associated with.
140
158
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
141
159
  :param pulumi.Input[builtins.str] volume_id: The ID of the volume to take a snapshot from.
142
160
  :param pulumi.Input[builtins.str] zone: ). The zone in which the snapshot should be created.
143
161
  """
162
+ if export is not None:
163
+ pulumi.set(__self__, "export", export)
144
164
  if import_ is not None:
145
165
  pulumi.set(__self__, "import_", import_)
146
166
  if name is not None:
@@ -154,11 +174,23 @@ class _BlockSnapshotState:
154
174
  if zone is not None:
155
175
  pulumi.set(__self__, "zone", zone)
156
176
 
177
+ @property
178
+ @pulumi.getter
179
+ def export(self) -> Optional[pulumi.Input['BlockSnapshotExportArgs']]:
180
+ """
181
+ Use this block to export the volume as a QCOW file to Object Storage.
182
+ """
183
+ return pulumi.get(self, "export")
184
+
185
+ @export.setter
186
+ def export(self, value: Optional[pulumi.Input['BlockSnapshotExportArgs']]):
187
+ pulumi.set(self, "export", value)
188
+
157
189
  @property
158
190
  @pulumi.getter(name="import")
159
191
  def import_(self) -> Optional[pulumi.Input['BlockSnapshotImportArgs']]:
160
192
  """
161
- Import snapshot from a qcow
193
+ Use this block to import a QCOW image from Object Storage to create a volume.
162
194
  """
163
195
  return pulumi.get(self, "import_")
164
196
 
@@ -238,6 +270,7 @@ class BlockSnapshot(pulumi.CustomResource):
238
270
  def __init__(__self__,
239
271
  resource_name: str,
240
272
  opts: Optional[pulumi.ResourceOptions] = None,
273
+ export: Optional[pulumi.Input[Union['BlockSnapshotExportArgs', 'BlockSnapshotExportArgsDict']]] = None,
241
274
  import_: Optional[pulumi.Input[Union['BlockSnapshotImportArgs', 'BlockSnapshotImportArgsDict']]] = None,
242
275
  name: Optional[pulumi.Input[builtins.str]] = None,
243
276
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -281,7 +314,8 @@ class BlockSnapshot(pulumi.CustomResource):
281
314
 
282
315
  :param str resource_name: The name of the resource.
283
316
  :param pulumi.ResourceOptions opts: Options for the resource.
284
- :param pulumi.Input[Union['BlockSnapshotImportArgs', 'BlockSnapshotImportArgsDict']] import_: Import snapshot from a qcow
317
+ :param pulumi.Input[Union['BlockSnapshotExportArgs', 'BlockSnapshotExportArgsDict']] export: Use this block to export the volume as a QCOW file to Object Storage.
318
+ :param pulumi.Input[Union['BlockSnapshotImportArgs', 'BlockSnapshotImportArgsDict']] import_: Use this block to import a QCOW image from Object Storage to create a volume.
285
319
  :param pulumi.Input[builtins.str] name: The name of the snapshot. If not provided, a name will be randomly generated.
286
320
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Scaleway Project the snapshot is associated with.
287
321
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
@@ -343,6 +377,7 @@ class BlockSnapshot(pulumi.CustomResource):
343
377
  def _internal_init(__self__,
344
378
  resource_name: str,
345
379
  opts: Optional[pulumi.ResourceOptions] = None,
380
+ export: Optional[pulumi.Input[Union['BlockSnapshotExportArgs', 'BlockSnapshotExportArgsDict']]] = None,
346
381
  import_: Optional[pulumi.Input[Union['BlockSnapshotImportArgs', 'BlockSnapshotImportArgsDict']]] = None,
347
382
  name: Optional[pulumi.Input[builtins.str]] = None,
348
383
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -359,6 +394,7 @@ class BlockSnapshot(pulumi.CustomResource):
359
394
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
360
395
  __props__ = BlockSnapshotArgs.__new__(BlockSnapshotArgs)
361
396
 
397
+ __props__.__dict__["export"] = export
362
398
  __props__.__dict__["import_"] = import_
363
399
  __props__.__dict__["name"] = name
364
400
  __props__.__dict__["project_id"] = project_id
@@ -375,6 +411,7 @@ class BlockSnapshot(pulumi.CustomResource):
375
411
  def get(resource_name: str,
376
412
  id: pulumi.Input[str],
377
413
  opts: Optional[pulumi.ResourceOptions] = None,
414
+ export: Optional[pulumi.Input[Union['BlockSnapshotExportArgs', 'BlockSnapshotExportArgsDict']]] = None,
378
415
  import_: Optional[pulumi.Input[Union['BlockSnapshotImportArgs', 'BlockSnapshotImportArgsDict']]] = None,
379
416
  name: Optional[pulumi.Input[builtins.str]] = None,
380
417
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -388,7 +425,8 @@ class BlockSnapshot(pulumi.CustomResource):
388
425
  :param str resource_name: The unique name of the resulting resource.
389
426
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
390
427
  :param pulumi.ResourceOptions opts: Options for the resource.
391
- :param pulumi.Input[Union['BlockSnapshotImportArgs', 'BlockSnapshotImportArgsDict']] import_: Import snapshot from a qcow
428
+ :param pulumi.Input[Union['BlockSnapshotExportArgs', 'BlockSnapshotExportArgsDict']] export: Use this block to export the volume as a QCOW file to Object Storage.
429
+ :param pulumi.Input[Union['BlockSnapshotImportArgs', 'BlockSnapshotImportArgsDict']] import_: Use this block to import a QCOW image from Object Storage to create a volume.
392
430
  :param pulumi.Input[builtins.str] name: The name of the snapshot. If not provided, a name will be randomly generated.
393
431
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Scaleway Project the snapshot is associated with.
394
432
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
@@ -399,6 +437,7 @@ class BlockSnapshot(pulumi.CustomResource):
399
437
 
400
438
  __props__ = _BlockSnapshotState.__new__(_BlockSnapshotState)
401
439
 
440
+ __props__.__dict__["export"] = export
402
441
  __props__.__dict__["import_"] = import_
403
442
  __props__.__dict__["name"] = name
404
443
  __props__.__dict__["project_id"] = project_id
@@ -407,11 +446,19 @@ class BlockSnapshot(pulumi.CustomResource):
407
446
  __props__.__dict__["zone"] = zone
408
447
  return BlockSnapshot(resource_name, opts=opts, __props__=__props__)
409
448
 
449
+ @property
450
+ @pulumi.getter
451
+ def export(self) -> pulumi.Output[Optional['outputs.BlockSnapshotExport']]:
452
+ """
453
+ Use this block to export the volume as a QCOW file to Object Storage.
454
+ """
455
+ return pulumi.get(self, "export")
456
+
410
457
  @property
411
458
  @pulumi.getter(name="import")
412
459
  def import_(self) -> pulumi.Output[Optional['outputs.BlockSnapshotImport']]:
413
460
  """
414
- Import snapshot from a qcow
461
+ Use this block to import a QCOW image from Object Storage to create a volume.
415
462
  """
416
463
  return pulumi.get(self, "import_")
417
464
 
@@ -34,8 +34,8 @@ class BlockVolumeArgs:
34
34
  :param pulumi.Input[builtins.str] instance_volume_id: The instance volume to create the block volume from
35
35
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
36
36
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
37
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
38
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
37
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
38
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
39
39
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
40
40
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
41
41
  """
@@ -107,7 +107,7 @@ class BlockVolumeArgs:
107
107
  @pulumi.getter(name="sizeInGb")
108
108
  def size_in_gb(self) -> Optional[pulumi.Input[builtins.int]]:
109
109
  """
110
- The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
110
+ The size of the volume in gigabytes.
111
111
  """
112
112
  return pulumi.get(self, "size_in_gb")
113
113
 
@@ -119,7 +119,7 @@ class BlockVolumeArgs:
119
119
  @pulumi.getter(name="snapshotId")
120
120
  def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
121
121
  """
122
- If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
122
+ If set, the new volume will be created from this snapshot.
123
123
  """
124
124
  return pulumi.get(self, "snapshot_id")
125
125
 
@@ -169,8 +169,8 @@ class _BlockVolumeState:
169
169
  :param pulumi.Input[builtins.int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
170
170
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
171
171
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
172
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
173
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
172
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
173
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
174
174
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
175
175
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
176
176
  """
@@ -243,7 +243,7 @@ class _BlockVolumeState:
243
243
  @pulumi.getter(name="sizeInGb")
244
244
  def size_in_gb(self) -> Optional[pulumi.Input[builtins.int]]:
245
245
  """
246
- The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
246
+ The size of the volume in gigabytes.
247
247
  """
248
248
  return pulumi.get(self, "size_in_gb")
249
249
 
@@ -255,7 +255,7 @@ class _BlockVolumeState:
255
255
  @pulumi.getter(name="snapshotId")
256
256
  def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
257
257
  """
258
- If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
258
+ If set, the new volume will be created from this snapshot.
259
259
  """
260
260
  return pulumi.get(self, "snapshot_id")
261
261
 
@@ -364,8 +364,8 @@ class BlockVolume(pulumi.CustomResource):
364
364
  :param pulumi.Input[builtins.int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
365
365
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
366
366
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
367
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
368
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
367
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
368
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
369
369
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
370
370
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
371
371
  """
@@ -497,8 +497,8 @@ class BlockVolume(pulumi.CustomResource):
497
497
  :param pulumi.Input[builtins.int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
498
498
  :param pulumi.Input[builtins.str] name: The name of the volume. If not provided, a name will be randomly generated.
499
499
  :param pulumi.Input[builtins.str] project_id: ). The ID of the Project the volume is associated with.
500
- :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
501
- :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
500
+ :param pulumi.Input[builtins.int] size_in_gb: The size of the volume in gigabytes.
501
+ :param pulumi.Input[builtins.str] snapshot_id: If set, the new volume will be created from this snapshot.
502
502
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the volume.
503
503
  :param pulumi.Input[builtins.str] zone: ). The zone in which the volume should be created.
504
504
  """
@@ -552,7 +552,7 @@ class BlockVolume(pulumi.CustomResource):
552
552
  @pulumi.getter(name="sizeInGb")
553
553
  def size_in_gb(self) -> pulumi.Output[builtins.int]:
554
554
  """
555
- The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
555
+ The size of the volume in gigabytes.
556
556
  """
557
557
  return pulumi.get(self, "size_in_gb")
558
558
 
@@ -560,7 +560,7 @@ class BlockVolume(pulumi.CustomResource):
560
560
  @pulumi.getter(name="snapshotId")
561
561
  def snapshot_id(self) -> pulumi.Output[Optional[builtins.str]]:
562
562
  """
563
- If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
563
+ If set, the new volume will be created from this snapshot.
564
564
  """
565
565
  return pulumi.get(self, "snapshot_id")
566
566
 
@@ -28,7 +28,7 @@ class GetRecordResult:
28
28
  """
29
29
  A collection of values returned by getRecord.
30
30
  """
31
- def __init__(__self__, data=None, dns_zone=None, fqdn=None, geo_ips=None, http_services=None, id=None, keep_empty_zone=None, name=None, priority=None, project_id=None, record_id=None, root_zone=None, ttl=None, type=None, views=None, weighteds=None):
31
+ def __init__(__self__, data=None, dns_zone=None, fqdn=None, geo_ips=None, http_services=None, id=None, name=None, priority=None, project_id=None, record_id=None, root_zone=None, ttl=None, type=None, views=None, weighteds=None):
32
32
  if data and not isinstance(data, str):
33
33
  raise TypeError("Expected argument 'data' to be a str")
34
34
  pulumi.set(__self__, "data", data)
@@ -47,9 +47,6 @@ class GetRecordResult:
47
47
  if id and not isinstance(id, str):
48
48
  raise TypeError("Expected argument 'id' to be a str")
49
49
  pulumi.set(__self__, "id", id)
50
- if keep_empty_zone and not isinstance(keep_empty_zone, bool):
51
- raise TypeError("Expected argument 'keep_empty_zone' to be a bool")
52
- pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
53
50
  if name and not isinstance(name, str):
54
51
  raise TypeError("Expected argument 'name' to be a str")
55
52
  pulumi.set(__self__, "name", name)
@@ -117,11 +114,6 @@ class GetRecordResult:
117
114
  """
118
115
  return pulumi.get(self, "id")
119
116
 
120
- @property
121
- @pulumi.getter(name="keepEmptyZone")
122
- def keep_empty_zone(self) -> builtins.bool:
123
- return pulumi.get(self, "keep_empty_zone")
124
-
125
117
  @property
126
118
  @pulumi.getter
127
119
  def name(self) -> Optional[builtins.str]:
@@ -192,7 +184,6 @@ class AwaitableGetRecordResult(GetRecordResult):
192
184
  geo_ips=self.geo_ips,
193
185
  http_services=self.http_services,
194
186
  id=self.id,
195
- keep_empty_zone=self.keep_empty_zone,
196
187
  name=self.name,
197
188
  priority=self.priority,
198
189
  project_id=self.project_id,
@@ -262,7 +253,6 @@ def get_record(data: Optional[builtins.str] = None,
262
253
  geo_ips=pulumi.get(__ret__, 'geo_ips'),
263
254
  http_services=pulumi.get(__ret__, 'http_services'),
264
255
  id=pulumi.get(__ret__, 'id'),
265
- keep_empty_zone=pulumi.get(__ret__, 'keep_empty_zone'),
266
256
  name=pulumi.get(__ret__, 'name'),
267
257
  priority=pulumi.get(__ret__, 'priority'),
268
258
  project_id=pulumi.get(__ret__, 'project_id'),
@@ -329,7 +319,6 @@ def get_record_output(data: Optional[pulumi.Input[Optional[builtins.str]]] = Non
329
319
  geo_ips=pulumi.get(__response__, 'geo_ips'),
330
320
  http_services=pulumi.get(__response__, 'http_services'),
331
321
  id=pulumi.get(__response__, 'id'),
332
- keep_empty_zone=pulumi.get(__response__, 'keep_empty_zone'),
333
322
  name=pulumi.get(__response__, 'name'),
334
323
  priority=pulumi.get(__response__, 'priority'),
335
324
  project_id=pulumi.get(__response__, 'project_id'),
@@ -27,7 +27,6 @@ class RecordArgs:
27
27
  type: pulumi.Input[builtins.str],
28
28
  geo_ip: Optional[pulumi.Input['RecordGeoIpArgs']] = None,
29
29
  http_service: Optional[pulumi.Input['RecordHttpServiceArgs']] = None,
30
- keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
31
30
  name: Optional[pulumi.Input[builtins.str]] = None,
32
31
  priority: Optional[pulumi.Input[builtins.int]] = None,
33
32
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -41,7 +40,6 @@ class RecordArgs:
41
40
  :param pulumi.Input[builtins.str] type: The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
42
41
  :param pulumi.Input['RecordGeoIpArgs'] geo_ip: Return record based on client localisation
43
42
  :param pulumi.Input['RecordHttpServiceArgs'] http_service: Return record based on client localisation
44
- :param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
45
43
  :param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
46
44
  :param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
47
45
  :param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
@@ -56,8 +54,6 @@ class RecordArgs:
56
54
  pulumi.set(__self__, "geo_ip", geo_ip)
57
55
  if http_service is not None:
58
56
  pulumi.set(__self__, "http_service", http_service)
59
- if keep_empty_zone is not None:
60
- pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
61
57
  if name is not None:
62
58
  pulumi.set(__self__, "name", name)
63
59
  if priority is not None:
@@ -131,18 +127,6 @@ class RecordArgs:
131
127
  def http_service(self, value: Optional[pulumi.Input['RecordHttpServiceArgs']]):
132
128
  pulumi.set(self, "http_service", value)
133
129
 
134
- @property
135
- @pulumi.getter(name="keepEmptyZone")
136
- def keep_empty_zone(self) -> Optional[pulumi.Input[builtins.bool]]:
137
- """
138
- When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
139
- """
140
- return pulumi.get(self, "keep_empty_zone")
141
-
142
- @keep_empty_zone.setter
143
- def keep_empty_zone(self, value: Optional[pulumi.Input[builtins.bool]]):
144
- pulumi.set(self, "keep_empty_zone", value)
145
-
146
130
  @property
147
131
  @pulumi.getter
148
132
  def name(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -224,7 +208,6 @@ class _RecordState:
224
208
  fqdn: Optional[pulumi.Input[builtins.str]] = None,
225
209
  geo_ip: Optional[pulumi.Input['RecordGeoIpArgs']] = None,
226
210
  http_service: Optional[pulumi.Input['RecordHttpServiceArgs']] = None,
227
- keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
228
211
  name: Optional[pulumi.Input[builtins.str]] = None,
229
212
  priority: Optional[pulumi.Input[builtins.int]] = None,
230
213
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -240,7 +223,6 @@ class _RecordState:
240
223
  :param pulumi.Input[builtins.str] fqdn: The FQDN of the record.
241
224
  :param pulumi.Input['RecordGeoIpArgs'] geo_ip: Return record based on client localisation
242
225
  :param pulumi.Input['RecordHttpServiceArgs'] http_service: Return record based on client localisation
243
- :param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
244
226
  :param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
245
227
  :param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
246
228
  :param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
@@ -260,8 +242,6 @@ class _RecordState:
260
242
  pulumi.set(__self__, "geo_ip", geo_ip)
261
243
  if http_service is not None:
262
244
  pulumi.set(__self__, "http_service", http_service)
263
- if keep_empty_zone is not None:
264
- pulumi.set(__self__, "keep_empty_zone", keep_empty_zone)
265
245
  if name is not None:
266
246
  pulumi.set(__self__, "name", name)
267
247
  if priority is not None:
@@ -339,18 +319,6 @@ class _RecordState:
339
319
  def http_service(self, value: Optional[pulumi.Input['RecordHttpServiceArgs']]):
340
320
  pulumi.set(self, "http_service", value)
341
321
 
342
- @property
343
- @pulumi.getter(name="keepEmptyZone")
344
- def keep_empty_zone(self) -> Optional[pulumi.Input[builtins.bool]]:
345
- """
346
- When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
347
- """
348
- return pulumi.get(self, "keep_empty_zone")
349
-
350
- @keep_empty_zone.setter
351
- def keep_empty_zone(self, value: Optional[pulumi.Input[builtins.bool]]):
352
- pulumi.set(self, "keep_empty_zone", value)
353
-
354
322
  @property
355
323
  @pulumi.getter
356
324
  def name(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -458,7 +426,6 @@ class Record(pulumi.CustomResource):
458
426
  dns_zone: Optional[pulumi.Input[builtins.str]] = None,
459
427
  geo_ip: Optional[pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']]] = None,
460
428
  http_service: Optional[pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']]] = None,
461
- keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
462
429
  name: Optional[pulumi.Input[builtins.str]] = None,
463
430
  priority: Optional[pulumi.Input[builtins.int]] = None,
464
431
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -670,7 +637,6 @@ class Record(pulumi.CustomResource):
670
637
  :param pulumi.Input[builtins.str] dns_zone: The DNS zone of the domain. If the domain has no DNS zone, one will be automatically created.
671
638
  :param pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
672
639
  :param pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']] http_service: Return record based on client localisation
673
- :param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
674
640
  :param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
675
641
  :param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
676
642
  :param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
@@ -901,7 +867,6 @@ class Record(pulumi.CustomResource):
901
867
  dns_zone: Optional[pulumi.Input[builtins.str]] = None,
902
868
  geo_ip: Optional[pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']]] = None,
903
869
  http_service: Optional[pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']]] = None,
904
- keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
905
870
  name: Optional[pulumi.Input[builtins.str]] = None,
906
871
  priority: Optional[pulumi.Input[builtins.int]] = None,
907
872
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -926,7 +891,6 @@ class Record(pulumi.CustomResource):
926
891
  __props__.__dict__["dns_zone"] = dns_zone
927
892
  __props__.__dict__["geo_ip"] = geo_ip
928
893
  __props__.__dict__["http_service"] = http_service
929
- __props__.__dict__["keep_empty_zone"] = keep_empty_zone
930
894
  __props__.__dict__["name"] = name
931
895
  __props__.__dict__["priority"] = priority
932
896
  __props__.__dict__["project_id"] = project_id
@@ -955,7 +919,6 @@ class Record(pulumi.CustomResource):
955
919
  fqdn: Optional[pulumi.Input[builtins.str]] = None,
956
920
  geo_ip: Optional[pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']]] = None,
957
921
  http_service: Optional[pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']]] = None,
958
- keep_empty_zone: Optional[pulumi.Input[builtins.bool]] = None,
959
922
  name: Optional[pulumi.Input[builtins.str]] = None,
960
923
  priority: Optional[pulumi.Input[builtins.int]] = None,
961
924
  project_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -976,7 +939,6 @@ class Record(pulumi.CustomResource):
976
939
  :param pulumi.Input[builtins.str] fqdn: The FQDN of the record.
977
940
  :param pulumi.Input[Union['RecordGeoIpArgs', 'RecordGeoIpArgsDict']] geo_ip: Return record based on client localisation
978
941
  :param pulumi.Input[Union['RecordHttpServiceArgs', 'RecordHttpServiceArgsDict']] http_service: Return record based on client localisation
979
- :param pulumi.Input[builtins.bool] keep_empty_zone: When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
980
942
  :param pulumi.Input[builtins.str] name: The name of the record (can be an empty string for a root record).
981
943
  :param pulumi.Input[builtins.int] priority: The priority of the record (mostly used with an `MX` record).
982
944
  :param pulumi.Input[builtins.str] project_id: The project_id you want to attach the resource to
@@ -995,7 +957,6 @@ class Record(pulumi.CustomResource):
995
957
  __props__.__dict__["fqdn"] = fqdn
996
958
  __props__.__dict__["geo_ip"] = geo_ip
997
959
  __props__.__dict__["http_service"] = http_service
998
- __props__.__dict__["keep_empty_zone"] = keep_empty_zone
999
960
  __props__.__dict__["name"] = name
1000
961
  __props__.__dict__["priority"] = priority
1001
962
  __props__.__dict__["project_id"] = project_id
@@ -1046,14 +1007,6 @@ class Record(pulumi.CustomResource):
1046
1007
  """
1047
1008
  return pulumi.get(self, "http_service")
1048
1009
 
1049
- @property
1050
- @pulumi.getter(name="keepEmptyZone")
1051
- def keep_empty_zone(self) -> pulumi.Output[Optional[builtins.bool]]:
1052
- """
1053
- When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Note that each zone not deleted will [be billed](https://www.scaleway.com/en/dns/).
1054
- """
1055
- return pulumi.get(self, "keep_empty_zone")
1056
-
1057
1010
  @property
1058
1011
  @pulumi.getter
1059
1012
  def name(self) -> pulumi.Output[builtins.str]: