pulumiverse-scaleway 1.35.0a1758699381__py3-none-any.whl → 1.35.0a1759251303__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.
@@ -28,6 +28,8 @@ class DatabaseAclArgs:
28
28
  """
29
29
  The set of arguments for constructing a DatabaseAcl resource.
30
30
  :param pulumi.Input[Sequence[pulumi.Input['DatabaseAclAclRuleArgs']]] acl_rules: A list of ACLs (structure is described below)
31
+
32
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
31
33
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
32
34
 
33
35
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -43,6 +45,8 @@ class DatabaseAclArgs:
43
45
  def acl_rules(self) -> pulumi.Input[Sequence[pulumi.Input['DatabaseAclAclRuleArgs']]]:
44
46
  """
45
47
  A list of ACLs (structure is described below)
48
+
49
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
46
50
  """
47
51
  return pulumi.get(self, "acl_rules")
48
52
 
@@ -86,6 +90,8 @@ class _DatabaseAclState:
86
90
  """
87
91
  Input properties used for looking up and filtering DatabaseAcl resources.
88
92
  :param pulumi.Input[Sequence[pulumi.Input['DatabaseAclAclRuleArgs']]] acl_rules: A list of ACLs (structure is described below)
93
+
94
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
89
95
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
90
96
 
91
97
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -103,6 +109,8 @@ class _DatabaseAclState:
103
109
  def acl_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseAclAclRuleArgs']]]]:
104
110
  """
105
111
  A list of ACLs (structure is described below)
112
+
113
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
106
114
  """
107
115
  return pulumi.get(self, "acl_rules")
108
116
 
@@ -180,6 +188,53 @@ class DatabaseAcl(pulumi.CustomResource):
180
188
  }])
181
189
  ```
182
190
 
191
+ ### Multiple ACL Rules
192
+
193
+ ```python
194
+ import pulumi
195
+ import pulumiverse_scaleway as scaleway
196
+
197
+ main = scaleway.databases.Acl("main",
198
+ instance_id=main_scaleway_rdb_instance["id"],
199
+ acl_rules=[
200
+ {
201
+ "ip": "1.2.3.4/32",
202
+ "description": "Office IP",
203
+ },
204
+ {
205
+ "ip": "5.6.7.8/32",
206
+ "description": "Home IP",
207
+ },
208
+ {
209
+ "ip": "10.0.0.0/24",
210
+ "description": "Internal network",
211
+ },
212
+ ])
213
+ ```
214
+
215
+ ### Dynamic ACL Rules with Variables
216
+
217
+ ```python
218
+ import pulumi
219
+ import pulumiverse_scaleway as scaleway
220
+
221
+ config = pulumi.Config()
222
+ # Map of allowed IPs with descriptions
223
+ allowed_ips = config.get_object("allowedIps")
224
+ if allowed_ips is None:
225
+ allowed_ips = {
226
+ "1.2.3.4/32": "Office IP",
227
+ "10.0.0.0/24": "Internal network",
228
+ "5.6.7.8/32": "Home IP",
229
+ }
230
+ main = scaleway.databases.Acl("main",
231
+ acl_rules=[{
232
+ "ip": entry["key"],
233
+ "description": entry["value"],
234
+ } for entry in [{"key": k, "value": v} for k, v in allowed_ips]],
235
+ instance_id=main_scaleway_rdb_instance["id"])
236
+ ```
237
+
183
238
  ## Import
184
239
 
185
240
  Database Instance can be imported using the `{region}/{id}`, e.g.
@@ -193,6 +248,8 @@ class DatabaseAcl(pulumi.CustomResource):
193
248
  :param str resource_name: The name of the resource.
194
249
  :param pulumi.ResourceOptions opts: Options for the resource.
195
250
  :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseAclAclRuleArgs', 'DatabaseAclAclRuleArgsDict']]]] acl_rules: A list of ACLs (structure is described below)
251
+
252
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
196
253
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
197
254
 
198
255
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -232,6 +289,53 @@ class DatabaseAcl(pulumi.CustomResource):
232
289
  }])
233
290
  ```
234
291
 
292
+ ### Multiple ACL Rules
293
+
294
+ ```python
295
+ import pulumi
296
+ import pulumiverse_scaleway as scaleway
297
+
298
+ main = scaleway.databases.Acl("main",
299
+ instance_id=main_scaleway_rdb_instance["id"],
300
+ acl_rules=[
301
+ {
302
+ "ip": "1.2.3.4/32",
303
+ "description": "Office IP",
304
+ },
305
+ {
306
+ "ip": "5.6.7.8/32",
307
+ "description": "Home IP",
308
+ },
309
+ {
310
+ "ip": "10.0.0.0/24",
311
+ "description": "Internal network",
312
+ },
313
+ ])
314
+ ```
315
+
316
+ ### Dynamic ACL Rules with Variables
317
+
318
+ ```python
319
+ import pulumi
320
+ import pulumiverse_scaleway as scaleway
321
+
322
+ config = pulumi.Config()
323
+ # Map of allowed IPs with descriptions
324
+ allowed_ips = config.get_object("allowedIps")
325
+ if allowed_ips is None:
326
+ allowed_ips = {
327
+ "1.2.3.4/32": "Office IP",
328
+ "10.0.0.0/24": "Internal network",
329
+ "5.6.7.8/32": "Home IP",
330
+ }
331
+ main = scaleway.databases.Acl("main",
332
+ acl_rules=[{
333
+ "ip": entry["key"],
334
+ "description": entry["value"],
335
+ } for entry in [{"key": k, "value": v} for k, v in allowed_ips]],
336
+ instance_id=main_scaleway_rdb_instance["id"])
337
+ ```
338
+
235
339
  ## Import
236
340
 
237
341
  Database Instance can be imported using the `{region}/{id}`, e.g.
@@ -298,6 +402,8 @@ class DatabaseAcl(pulumi.CustomResource):
298
402
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
299
403
  :param pulumi.ResourceOptions opts: Options for the resource.
300
404
  :param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseAclAclRuleArgs', 'DatabaseAclAclRuleArgsDict']]]] acl_rules: A list of ACLs (structure is described below)
405
+
406
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
301
407
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
302
408
 
303
409
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -317,6 +423,8 @@ class DatabaseAcl(pulumi.CustomResource):
317
423
  def acl_rules(self) -> pulumi.Output[Sequence['outputs.DatabaseAclAclRule']]:
318
424
  """
319
425
  A list of ACLs (structure is described below)
426
+
427
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
320
428
  """
321
429
  return pulumi.get(self, "acl_rules")
322
430
 
@@ -1085,6 +1085,8 @@ class DatabaseInstance(pulumi.CustomResource):
1085
1085
 
1086
1086
  > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint.
1087
1087
 
1088
+ > **Note** Managed PostgreSQL and MySQL Database Instances are compatible with the [VPC routing](https://www.scaleway.com/en/docs/network/vpc/concepts/#routing) feature, which allows you to connect one or more Database Instances in a Private Network to resources in other Private Networks of the same VPC. This feature is automatically enabled when your Database Instance is connected to a Private Network within a VPC that has routing enabled. Refer to the [How to manage routing](https://www.scaleway.com/en/docs/network/vpc/how-to/manage-routing/) documentation page for more information about VPC routing.
1089
+
1088
1090
  ## Limitations
1089
1091
 
1090
1092
  The Managed Database product is only compliant with the Private Network in the default availability zone (AZ).
@@ -1280,6 +1282,8 @@ class DatabaseInstance(pulumi.CustomResource):
1280
1282
 
1281
1283
  > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint.
1282
1284
 
1285
+ > **Note** Managed PostgreSQL and MySQL Database Instances are compatible with the [VPC routing](https://www.scaleway.com/en/docs/network/vpc/concepts/#routing) feature, which allows you to connect one or more Database Instances in a Private Network to resources in other Private Networks of the same VPC. This feature is automatically enabled when your Database Instance is connected to a Private Network within a VPC that has routing enabled. Refer to the [How to manage routing](https://www.scaleway.com/en/docs/network/vpc/how-to/manage-routing/) documentation page for more information about VPC routing.
1286
+
1283
1287
  ## Limitations
1284
1288
 
1285
1289
  The Managed Database product is only compliant with the Private Network in the default availability zone (AZ).
@@ -28,6 +28,8 @@ class AclArgs:
28
28
  """
29
29
  The set of arguments for constructing a Acl resource.
30
30
  :param pulumi.Input[Sequence[pulumi.Input['AclAclRuleArgs']]] acl_rules: A list of ACLs (structure is described below)
31
+
32
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
31
33
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
32
34
 
33
35
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -43,6 +45,8 @@ class AclArgs:
43
45
  def acl_rules(self) -> pulumi.Input[Sequence[pulumi.Input['AclAclRuleArgs']]]:
44
46
  """
45
47
  A list of ACLs (structure is described below)
48
+
49
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
46
50
  """
47
51
  return pulumi.get(self, "acl_rules")
48
52
 
@@ -86,6 +90,8 @@ class _AclState:
86
90
  """
87
91
  Input properties used for looking up and filtering Acl resources.
88
92
  :param pulumi.Input[Sequence[pulumi.Input['AclAclRuleArgs']]] acl_rules: A list of ACLs (structure is described below)
93
+
94
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
89
95
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
90
96
 
91
97
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -103,6 +109,8 @@ class _AclState:
103
109
  def acl_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AclAclRuleArgs']]]]:
104
110
  """
105
111
  A list of ACLs (structure is described below)
112
+
113
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
106
114
  """
107
115
  return pulumi.get(self, "acl_rules")
108
116
 
@@ -175,6 +183,53 @@ class Acl(pulumi.CustomResource):
175
183
  }])
176
184
  ```
177
185
 
186
+ ### Multiple ACL Rules
187
+
188
+ ```python
189
+ import pulumi
190
+ import pulumiverse_scaleway as scaleway
191
+
192
+ main = scaleway.databases.Acl("main",
193
+ instance_id=main_scaleway_rdb_instance["id"],
194
+ acl_rules=[
195
+ {
196
+ "ip": "1.2.3.4/32",
197
+ "description": "Office IP",
198
+ },
199
+ {
200
+ "ip": "5.6.7.8/32",
201
+ "description": "Home IP",
202
+ },
203
+ {
204
+ "ip": "10.0.0.0/24",
205
+ "description": "Internal network",
206
+ },
207
+ ])
208
+ ```
209
+
210
+ ### Dynamic ACL Rules with Variables
211
+
212
+ ```python
213
+ import pulumi
214
+ import pulumiverse_scaleway as scaleway
215
+
216
+ config = pulumi.Config()
217
+ # Map of allowed IPs with descriptions
218
+ allowed_ips = config.get_object("allowedIps")
219
+ if allowed_ips is None:
220
+ allowed_ips = {
221
+ "1.2.3.4/32": "Office IP",
222
+ "10.0.0.0/24": "Internal network",
223
+ "5.6.7.8/32": "Home IP",
224
+ }
225
+ main = scaleway.databases.Acl("main",
226
+ acl_rules=[{
227
+ "ip": entry["key"],
228
+ "description": entry["value"],
229
+ } for entry in [{"key": k, "value": v} for k, v in allowed_ips]],
230
+ instance_id=main_scaleway_rdb_instance["id"])
231
+ ```
232
+
178
233
  ## Import
179
234
 
180
235
  Database Instance can be imported using the `{region}/{id}`, e.g.
@@ -188,6 +243,8 @@ class Acl(pulumi.CustomResource):
188
243
  :param str resource_name: The name of the resource.
189
244
  :param pulumi.ResourceOptions opts: Options for the resource.
190
245
  :param pulumi.Input[Sequence[pulumi.Input[Union['AclAclRuleArgs', 'AclAclRuleArgsDict']]]] acl_rules: A list of ACLs (structure is described below)
246
+
247
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
191
248
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
192
249
 
193
250
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -227,6 +284,53 @@ class Acl(pulumi.CustomResource):
227
284
  }])
228
285
  ```
229
286
 
287
+ ### Multiple ACL Rules
288
+
289
+ ```python
290
+ import pulumi
291
+ import pulumiverse_scaleway as scaleway
292
+
293
+ main = scaleway.databases.Acl("main",
294
+ instance_id=main_scaleway_rdb_instance["id"],
295
+ acl_rules=[
296
+ {
297
+ "ip": "1.2.3.4/32",
298
+ "description": "Office IP",
299
+ },
300
+ {
301
+ "ip": "5.6.7.8/32",
302
+ "description": "Home IP",
303
+ },
304
+ {
305
+ "ip": "10.0.0.0/24",
306
+ "description": "Internal network",
307
+ },
308
+ ])
309
+ ```
310
+
311
+ ### Dynamic ACL Rules with Variables
312
+
313
+ ```python
314
+ import pulumi
315
+ import pulumiverse_scaleway as scaleway
316
+
317
+ config = pulumi.Config()
318
+ # Map of allowed IPs with descriptions
319
+ allowed_ips = config.get_object("allowedIps")
320
+ if allowed_ips is None:
321
+ allowed_ips = {
322
+ "1.2.3.4/32": "Office IP",
323
+ "10.0.0.0/24": "Internal network",
324
+ "5.6.7.8/32": "Home IP",
325
+ }
326
+ main = scaleway.databases.Acl("main",
327
+ acl_rules=[{
328
+ "ip": entry["key"],
329
+ "description": entry["value"],
330
+ } for entry in [{"key": k, "value": v} for k, v in allowed_ips]],
331
+ instance_id=main_scaleway_rdb_instance["id"])
332
+ ```
333
+
230
334
  ## Import
231
335
 
232
336
  Database Instance can be imported using the `{region}/{id}`, e.g.
@@ -294,6 +398,8 @@ class Acl(pulumi.CustomResource):
294
398
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
295
399
  :param pulumi.ResourceOptions opts: Options for the resource.
296
400
  :param pulumi.Input[Sequence[pulumi.Input[Union['AclAclRuleArgs', 'AclAclRuleArgsDict']]]] acl_rules: A list of ACLs (structure is described below)
401
+
402
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
297
403
  :param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
298
404
 
299
405
  > **Important:** Updates to `instance_id` will recreate the Database ACL.
@@ -313,6 +419,8 @@ class Acl(pulumi.CustomResource):
313
419
  def acl_rules(self) -> pulumi.Output[Sequence['outputs.AclAclRule']]:
314
420
  """
315
421
  A list of ACLs (structure is described below)
422
+
423
+ > **Important:** The `databases.Acl` resource replaces **all** ACL rules for the given instance. Multiple `databases.Acl` resources targeting the same `instance_id` will conflict with each other. Use multiple `acl_rules` blocks within a single resource instead.
316
424
  """
317
425
  return pulumi.get(self, "acl_rules")
318
426
 
@@ -1080,6 +1080,8 @@ class Instance(pulumi.CustomResource):
1080
1080
 
1081
1081
  > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint.
1082
1082
 
1083
+ > **Note** Managed PostgreSQL and MySQL Database Instances are compatible with the [VPC routing](https://www.scaleway.com/en/docs/network/vpc/concepts/#routing) feature, which allows you to connect one or more Database Instances in a Private Network to resources in other Private Networks of the same VPC. This feature is automatically enabled when your Database Instance is connected to a Private Network within a VPC that has routing enabled. Refer to the [How to manage routing](https://www.scaleway.com/en/docs/network/vpc/how-to/manage-routing/) documentation page for more information about VPC routing.
1084
+
1083
1085
  ## Limitations
1084
1086
 
1085
1087
  The Managed Database product is only compliant with the Private Network in the default availability zone (AZ).
@@ -1275,6 +1277,8 @@ class Instance(pulumi.CustomResource):
1275
1277
 
1276
1278
  > **Note** If nothing is defined, your Database Instance will have a default public load-balancer endpoint.
1277
1279
 
1280
+ > **Note** Managed PostgreSQL and MySQL Database Instances are compatible with the [VPC routing](https://www.scaleway.com/en/docs/network/vpc/concepts/#routing) feature, which allows you to connect one or more Database Instances in a Private Network to resources in other Private Networks of the same VPC. This feature is automatically enabled when your Database Instance is connected to a Private Network within a VPC that has routing enabled. Refer to the [How to manage routing](https://www.scaleway.com/en/docs/network/vpc/how-to/manage-routing/) documentation page for more information about VPC routing.
1281
+
1278
1282
  ## Limitations
1279
1283
 
1280
1284
  The Managed Database product is only compliant with the Private Network in the default availability zone (AZ).
@@ -45,20 +45,18 @@ class MongoDbInstanceArgs:
45
45
  The set of arguments for constructing a MongoDbInstance resource.
46
46
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
47
47
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
48
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
48
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
49
49
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
50
50
  :param pulumi.Input[builtins.str] password: Password of the user.
51
51
  :param pulumi.Input[Sequence[pulumi.Input['MongoDbInstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the instance.
52
52
  :param pulumi.Input['MongoDbInstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
53
53
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
54
-
55
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
56
54
  :param pulumi.Input['MongoDbInstancePublicNetworkArgs'] public_network: Public network endpoint configuration (no arguments).
57
55
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
58
56
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
59
57
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
60
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
61
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
58
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
59
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
62
60
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
63
61
  :param pulumi.Input[builtins.str] user_name: Name of the user created when the intance is created.
64
62
  :param pulumi.Input[builtins.str] version: MongoDB® version of the instance.
@@ -130,7 +128,7 @@ class MongoDbInstanceArgs:
130
128
  @pulumi.getter(name="isSnapshotScheduleEnabled")
131
129
  def is_snapshot_schedule_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
132
130
  """
133
- Enable or disable automatic snapshot scheduling
131
+ Whether automatic snapshot scheduling is enabled.
134
132
  """
135
133
  return pulumi.get(self, "is_snapshot_schedule_enabled")
136
134
 
@@ -191,8 +189,6 @@ class MongoDbInstanceArgs:
191
189
  def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
192
190
  """
193
191
  `project_id`) The ID of the project the MongoDB® instance is associated with.
194
-
195
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
196
192
  """
197
193
  return pulumi.get(self, "project_id")
198
194
 
@@ -252,7 +248,7 @@ class MongoDbInstanceArgs:
252
248
  @pulumi.getter(name="snapshotScheduleFrequencyHours")
253
249
  def snapshot_schedule_frequency_hours(self) -> Optional[pulumi.Input[builtins.int]]:
254
250
  """
255
- Snapshot schedule frequency in hours
251
+ Snapshot schedule frequency in hours.
256
252
  """
257
253
  return pulumi.get(self, "snapshot_schedule_frequency_hours")
258
254
 
@@ -264,7 +260,7 @@ class MongoDbInstanceArgs:
264
260
  @pulumi.getter(name="snapshotScheduleRetentionDays")
265
261
  def snapshot_schedule_retention_days(self) -> Optional[pulumi.Input[builtins.int]]:
266
262
  """
267
- Snapshot schedule retention in days
263
+ Snapshot schedule retention in days.
268
264
  """
269
265
  return pulumi.get(self, "snapshot_schedule_retention_days")
270
266
 
@@ -361,7 +357,7 @@ class _MongoDbInstanceState:
361
357
  """
362
358
  Input properties used for looking up and filtering MongoDbInstance resources.
363
359
  :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the MongoDB® instance.
364
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
360
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
365
361
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
366
362
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
367
363
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
@@ -369,14 +365,12 @@ class _MongoDbInstanceState:
369
365
  :param pulumi.Input[Sequence[pulumi.Input['MongoDbInstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the instance.
370
366
  :param pulumi.Input['MongoDbInstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
371
367
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
372
-
373
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
374
368
  :param pulumi.Input['MongoDbInstancePublicNetworkArgs'] public_network: Public network endpoint configuration (no arguments).
375
369
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
376
370
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
377
371
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
378
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
379
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
372
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
373
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
380
374
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
381
375
  :param pulumi.Input[builtins.str] tls_certificate: The PEM-encoded TLS certificate for the MongoDB® instance, if available.
382
376
  :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the MongoDB® instance.
@@ -446,7 +440,7 @@ class _MongoDbInstanceState:
446
440
  @pulumi.getter(name="isSnapshotScheduleEnabled")
447
441
  def is_snapshot_schedule_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
448
442
  """
449
- Enable or disable automatic snapshot scheduling
443
+ Whether automatic snapshot scheduling is enabled.
450
444
  """
451
445
  return pulumi.get(self, "is_snapshot_schedule_enabled")
452
446
 
@@ -531,8 +525,6 @@ class _MongoDbInstanceState:
531
525
  def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
532
526
  """
533
527
  `project_id`) The ID of the project the MongoDB® instance is associated with.
534
-
535
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
536
528
  """
537
529
  return pulumi.get(self, "project_id")
538
530
 
@@ -592,7 +584,7 @@ class _MongoDbInstanceState:
592
584
  @pulumi.getter(name="snapshotScheduleFrequencyHours")
593
585
  def snapshot_schedule_frequency_hours(self) -> Optional[pulumi.Input[builtins.int]]:
594
586
  """
595
- Snapshot schedule frequency in hours
587
+ Snapshot schedule frequency in hours.
596
588
  """
597
589
  return pulumi.get(self, "snapshot_schedule_frequency_hours")
598
590
 
@@ -604,7 +596,7 @@ class _MongoDbInstanceState:
604
596
  @pulumi.getter(name="snapshotScheduleRetentionDays")
605
597
  def snapshot_schedule_retention_days(self) -> Optional[pulumi.Input[builtins.int]]:
606
598
  """
607
- Snapshot schedule retention in days
599
+ Snapshot schedule retention in days.
608
600
  """
609
601
  return pulumi.get(self, "snapshot_schedule_retention_days")
610
602
 
@@ -795,6 +787,25 @@ class MongoDbInstance(pulumi.CustomResource):
795
787
  public_network={})
796
788
  ```
797
789
 
790
+ ### With Snapshot Scheduling
791
+
792
+ ```python
793
+ import pulumi
794
+ import pulumiverse_scaleway as scaleway
795
+
796
+ main = scaleway.mongodb.Instance("main",
797
+ name="test-mongodb-with-snapshots",
798
+ version="7.0.12",
799
+ node_type="MGDB-PLAY2-NANO",
800
+ node_number=1,
801
+ user_name="my_initial_user",
802
+ password="thiZ_is_v&ry_s3cret",
803
+ volume_size_in_gb=5,
804
+ snapshot_schedule_frequency_hours=24,
805
+ snapshot_schedule_retention_days=7,
806
+ is_snapshot_schedule_enabled=True)
807
+ ```
808
+
798
809
  ### Restore From Snapshot
799
810
 
800
811
  ```python
@@ -820,7 +831,7 @@ class MongoDbInstance(pulumi.CustomResource):
820
831
 
821
832
  :param str resource_name: The name of the resource.
822
833
  :param pulumi.ResourceOptions opts: Options for the resource.
823
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
834
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
824
835
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
825
836
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
826
837
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
@@ -828,14 +839,12 @@ class MongoDbInstance(pulumi.CustomResource):
828
839
  :param pulumi.Input[Sequence[pulumi.Input[Union['MongoDbInstancePrivateIpArgs', 'MongoDbInstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the instance.
829
840
  :param pulumi.Input[Union['MongoDbInstancePrivateNetworkArgs', 'MongoDbInstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
830
841
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
831
-
832
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
833
842
  :param pulumi.Input[Union['MongoDbInstancePublicNetworkArgs', 'MongoDbInstancePublicNetworkArgsDict']] public_network: Public network endpoint configuration (no arguments).
834
843
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
835
844
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
836
845
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
837
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
838
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
846
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
847
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
839
848
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
840
849
  :param pulumi.Input[builtins.str] user_name: Name of the user created when the intance is created.
841
850
  :param pulumi.Input[builtins.str] version: MongoDB® version of the instance.
@@ -915,6 +924,25 @@ class MongoDbInstance(pulumi.CustomResource):
915
924
  public_network={})
916
925
  ```
917
926
 
927
+ ### With Snapshot Scheduling
928
+
929
+ ```python
930
+ import pulumi
931
+ import pulumiverse_scaleway as scaleway
932
+
933
+ main = scaleway.mongodb.Instance("main",
934
+ name="test-mongodb-with-snapshots",
935
+ version="7.0.12",
936
+ node_type="MGDB-PLAY2-NANO",
937
+ node_number=1,
938
+ user_name="my_initial_user",
939
+ password="thiZ_is_v&ry_s3cret",
940
+ volume_size_in_gb=5,
941
+ snapshot_schedule_frequency_hours=24,
942
+ snapshot_schedule_retention_days=7,
943
+ is_snapshot_schedule_enabled=True)
944
+ ```
945
+
918
946
  ### Restore From Snapshot
919
947
 
920
948
  ```python
@@ -1050,7 +1078,7 @@ class MongoDbInstance(pulumi.CustomResource):
1050
1078
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1051
1079
  :param pulumi.ResourceOptions opts: Options for the resource.
1052
1080
  :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the MongoDB® instance.
1053
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
1081
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
1054
1082
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
1055
1083
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
1056
1084
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
@@ -1058,14 +1086,12 @@ class MongoDbInstance(pulumi.CustomResource):
1058
1086
  :param pulumi.Input[Sequence[pulumi.Input[Union['MongoDbInstancePrivateIpArgs', 'MongoDbInstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the instance.
1059
1087
  :param pulumi.Input[Union['MongoDbInstancePrivateNetworkArgs', 'MongoDbInstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
1060
1088
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
1061
-
1062
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
1063
1089
  :param pulumi.Input[Union['MongoDbInstancePublicNetworkArgs', 'MongoDbInstancePublicNetworkArgsDict']] public_network: Public network endpoint configuration (no arguments).
1064
1090
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
1065
1091
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
1066
1092
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
1067
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
1068
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
1093
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
1094
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
1069
1095
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
1070
1096
  :param pulumi.Input[builtins.str] tls_certificate: The PEM-encoded TLS certificate for the MongoDB® instance, if available.
1071
1097
  :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the MongoDB® instance.
@@ -1114,7 +1140,7 @@ class MongoDbInstance(pulumi.CustomResource):
1114
1140
  @pulumi.getter(name="isSnapshotScheduleEnabled")
1115
1141
  def is_snapshot_schedule_enabled(self) -> pulumi.Output[builtins.bool]:
1116
1142
  """
1117
- Enable or disable automatic snapshot scheduling
1143
+ Whether automatic snapshot scheduling is enabled.
1118
1144
  """
1119
1145
  return pulumi.get(self, "is_snapshot_schedule_enabled")
1120
1146
 
@@ -1171,8 +1197,6 @@ class MongoDbInstance(pulumi.CustomResource):
1171
1197
  def project_id(self) -> pulumi.Output[builtins.str]:
1172
1198
  """
1173
1199
  `project_id`) The ID of the project the MongoDB® instance is associated with.
1174
-
1175
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
1176
1200
  """
1177
1201
  return pulumi.get(self, "project_id")
1178
1202
 
@@ -1212,7 +1236,7 @@ class MongoDbInstance(pulumi.CustomResource):
1212
1236
  @pulumi.getter(name="snapshotScheduleFrequencyHours")
1213
1237
  def snapshot_schedule_frequency_hours(self) -> pulumi.Output[builtins.int]:
1214
1238
  """
1215
- Snapshot schedule frequency in hours
1239
+ Snapshot schedule frequency in hours.
1216
1240
  """
1217
1241
  return pulumi.get(self, "snapshot_schedule_frequency_hours")
1218
1242
 
@@ -1220,7 +1244,7 @@ class MongoDbInstance(pulumi.CustomResource):
1220
1244
  @pulumi.getter(name="snapshotScheduleRetentionDays")
1221
1245
  def snapshot_schedule_retention_days(self) -> pulumi.Output[builtins.int]:
1222
1246
  """
1223
- Snapshot schedule retention in days
1247
+ Snapshot schedule retention in days.
1224
1248
  """
1225
1249
  return pulumi.get(self, "snapshot_schedule_retention_days")
1226
1250
 
@@ -45,20 +45,18 @@ class InstanceArgs:
45
45
  The set of arguments for constructing a Instance resource.
46
46
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
47
47
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
48
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
48
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
49
49
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
50
50
  :param pulumi.Input[builtins.str] password: Password of the user.
51
51
  :param pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the instance.
52
52
  :param pulumi.Input['InstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
53
53
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
54
-
55
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
56
54
  :param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network endpoint configuration (no arguments).
57
55
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
58
56
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
59
57
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
60
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
61
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
58
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
59
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
62
60
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
63
61
  :param pulumi.Input[builtins.str] user_name: Name of the user created when the intance is created.
64
62
  :param pulumi.Input[builtins.str] version: MongoDB® version of the instance.
@@ -130,7 +128,7 @@ class InstanceArgs:
130
128
  @pulumi.getter(name="isSnapshotScheduleEnabled")
131
129
  def is_snapshot_schedule_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
132
130
  """
133
- Enable or disable automatic snapshot scheduling
131
+ Whether automatic snapshot scheduling is enabled.
134
132
  """
135
133
  return pulumi.get(self, "is_snapshot_schedule_enabled")
136
134
 
@@ -191,8 +189,6 @@ class InstanceArgs:
191
189
  def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
192
190
  """
193
191
  `project_id`) The ID of the project the MongoDB® instance is associated with.
194
-
195
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
196
192
  """
197
193
  return pulumi.get(self, "project_id")
198
194
 
@@ -252,7 +248,7 @@ class InstanceArgs:
252
248
  @pulumi.getter(name="snapshotScheduleFrequencyHours")
253
249
  def snapshot_schedule_frequency_hours(self) -> Optional[pulumi.Input[builtins.int]]:
254
250
  """
255
- Snapshot schedule frequency in hours
251
+ Snapshot schedule frequency in hours.
256
252
  """
257
253
  return pulumi.get(self, "snapshot_schedule_frequency_hours")
258
254
 
@@ -264,7 +260,7 @@ class InstanceArgs:
264
260
  @pulumi.getter(name="snapshotScheduleRetentionDays")
265
261
  def snapshot_schedule_retention_days(self) -> Optional[pulumi.Input[builtins.int]]:
266
262
  """
267
- Snapshot schedule retention in days
263
+ Snapshot schedule retention in days.
268
264
  """
269
265
  return pulumi.get(self, "snapshot_schedule_retention_days")
270
266
 
@@ -361,7 +357,7 @@ class _InstanceState:
361
357
  """
362
358
  Input properties used for looking up and filtering Instance resources.
363
359
  :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the MongoDB® instance.
364
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
360
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
365
361
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
366
362
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
367
363
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
@@ -369,14 +365,12 @@ class _InstanceState:
369
365
  :param pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpArgs']]] private_ips: The private IPv4 address associated with the instance.
370
366
  :param pulumi.Input['InstancePrivateNetworkArgs'] private_network: Private Network endpoints of the Database Instance.
371
367
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
372
-
373
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
374
368
  :param pulumi.Input['InstancePublicNetworkArgs'] public_network: Public network endpoint configuration (no arguments).
375
369
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
376
370
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
377
371
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
378
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
379
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
372
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
373
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
380
374
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
381
375
  :param pulumi.Input[builtins.str] tls_certificate: The PEM-encoded TLS certificate for the MongoDB® instance, if available.
382
376
  :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the MongoDB® instance.
@@ -446,7 +440,7 @@ class _InstanceState:
446
440
  @pulumi.getter(name="isSnapshotScheduleEnabled")
447
441
  def is_snapshot_schedule_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
448
442
  """
449
- Enable or disable automatic snapshot scheduling
443
+ Whether automatic snapshot scheduling is enabled.
450
444
  """
451
445
  return pulumi.get(self, "is_snapshot_schedule_enabled")
452
446
 
@@ -531,8 +525,6 @@ class _InstanceState:
531
525
  def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
532
526
  """
533
527
  `project_id`) The ID of the project the MongoDB® instance is associated with.
534
-
535
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
536
528
  """
537
529
  return pulumi.get(self, "project_id")
538
530
 
@@ -592,7 +584,7 @@ class _InstanceState:
592
584
  @pulumi.getter(name="snapshotScheduleFrequencyHours")
593
585
  def snapshot_schedule_frequency_hours(self) -> Optional[pulumi.Input[builtins.int]]:
594
586
  """
595
- Snapshot schedule frequency in hours
587
+ Snapshot schedule frequency in hours.
596
588
  """
597
589
  return pulumi.get(self, "snapshot_schedule_frequency_hours")
598
590
 
@@ -604,7 +596,7 @@ class _InstanceState:
604
596
  @pulumi.getter(name="snapshotScheduleRetentionDays")
605
597
  def snapshot_schedule_retention_days(self) -> Optional[pulumi.Input[builtins.int]]:
606
598
  """
607
- Snapshot schedule retention in days
599
+ Snapshot schedule retention in days.
608
600
  """
609
601
  return pulumi.get(self, "snapshot_schedule_retention_days")
610
602
 
@@ -790,6 +782,25 @@ class Instance(pulumi.CustomResource):
790
782
  public_network={})
791
783
  ```
792
784
 
785
+ ### With Snapshot Scheduling
786
+
787
+ ```python
788
+ import pulumi
789
+ import pulumiverse_scaleway as scaleway
790
+
791
+ main = scaleway.mongodb.Instance("main",
792
+ name="test-mongodb-with-snapshots",
793
+ version="7.0.12",
794
+ node_type="MGDB-PLAY2-NANO",
795
+ node_number=1,
796
+ user_name="my_initial_user",
797
+ password="thiZ_is_v&ry_s3cret",
798
+ volume_size_in_gb=5,
799
+ snapshot_schedule_frequency_hours=24,
800
+ snapshot_schedule_retention_days=7,
801
+ is_snapshot_schedule_enabled=True)
802
+ ```
803
+
793
804
  ### Restore From Snapshot
794
805
 
795
806
  ```python
@@ -815,7 +826,7 @@ class Instance(pulumi.CustomResource):
815
826
 
816
827
  :param str resource_name: The name of the resource.
817
828
  :param pulumi.ResourceOptions opts: Options for the resource.
818
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
829
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
819
830
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
820
831
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
821
832
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
@@ -823,14 +834,12 @@ class Instance(pulumi.CustomResource):
823
834
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the instance.
824
835
  :param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
825
836
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
826
-
827
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
828
837
  :param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network endpoint configuration (no arguments).
829
838
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
830
839
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
831
840
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
832
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
833
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
841
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
842
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
834
843
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
835
844
  :param pulumi.Input[builtins.str] user_name: Name of the user created when the intance is created.
836
845
  :param pulumi.Input[builtins.str] version: MongoDB® version of the instance.
@@ -910,6 +919,25 @@ class Instance(pulumi.CustomResource):
910
919
  public_network={})
911
920
  ```
912
921
 
922
+ ### With Snapshot Scheduling
923
+
924
+ ```python
925
+ import pulumi
926
+ import pulumiverse_scaleway as scaleway
927
+
928
+ main = scaleway.mongodb.Instance("main",
929
+ name="test-mongodb-with-snapshots",
930
+ version="7.0.12",
931
+ node_type="MGDB-PLAY2-NANO",
932
+ node_number=1,
933
+ user_name="my_initial_user",
934
+ password="thiZ_is_v&ry_s3cret",
935
+ volume_size_in_gb=5,
936
+ snapshot_schedule_frequency_hours=24,
937
+ snapshot_schedule_retention_days=7,
938
+ is_snapshot_schedule_enabled=True)
939
+ ```
940
+
913
941
  ### Restore From Snapshot
914
942
 
915
943
  ```python
@@ -1046,7 +1074,7 @@ class Instance(pulumi.CustomResource):
1046
1074
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1047
1075
  :param pulumi.ResourceOptions opts: Options for the resource.
1048
1076
  :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the MongoDB® instance.
1049
- :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Enable or disable automatic snapshot scheduling
1077
+ :param pulumi.Input[builtins.bool] is_snapshot_schedule_enabled: Whether automatic snapshot scheduling is enabled.
1050
1078
  :param pulumi.Input[builtins.str] name: Name of the MongoDB® instance.
1051
1079
  :param pulumi.Input[builtins.int] node_number: Number of nodes in the instance
1052
1080
  :param pulumi.Input[builtins.str] node_type: The type of MongoDB® intance to create.
@@ -1054,14 +1082,12 @@ class Instance(pulumi.CustomResource):
1054
1082
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateIpArgs', 'InstancePrivateIpArgsDict']]]] private_ips: The private IPv4 address associated with the instance.
1055
1083
  :param pulumi.Input[Union['InstancePrivateNetworkArgs', 'InstancePrivateNetworkArgsDict']] private_network: Private Network endpoints of the Database Instance.
1056
1084
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the MongoDB® instance is associated with.
1057
-
1058
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
1059
1085
  :param pulumi.Input[Union['InstancePublicNetworkArgs', 'InstancePublicNetworkArgsDict']] public_network: Public network endpoint configuration (no arguments).
1060
1086
  :param pulumi.Input[builtins.str] region: `region`) The region in which the MongoDB® instance should be created.
1061
1087
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] settings: Map of settings to define for the instance.
1062
1088
  :param pulumi.Input[builtins.str] snapshot_id: Snapshot ID to restore the MongoDB® instance from.
1063
- :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours
1064
- :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days
1089
+ :param pulumi.Input[builtins.int] snapshot_schedule_frequency_hours: Snapshot schedule frequency in hours.
1090
+ :param pulumi.Input[builtins.int] snapshot_schedule_retention_days: Snapshot schedule retention in days.
1065
1091
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: List of tags attached to the MongoDB® instance.
1066
1092
  :param pulumi.Input[builtins.str] tls_certificate: The PEM-encoded TLS certificate for the MongoDB® instance, if available.
1067
1093
  :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the MongoDB® instance.
@@ -1110,7 +1136,7 @@ class Instance(pulumi.CustomResource):
1110
1136
  @pulumi.getter(name="isSnapshotScheduleEnabled")
1111
1137
  def is_snapshot_schedule_enabled(self) -> pulumi.Output[builtins.bool]:
1112
1138
  """
1113
- Enable or disable automatic snapshot scheduling
1139
+ Whether automatic snapshot scheduling is enabled.
1114
1140
  """
1115
1141
  return pulumi.get(self, "is_snapshot_schedule_enabled")
1116
1142
 
@@ -1167,8 +1193,6 @@ class Instance(pulumi.CustomResource):
1167
1193
  def project_id(self) -> pulumi.Output[builtins.str]:
1168
1194
  """
1169
1195
  `project_id`) The ID of the project the MongoDB® instance is associated with.
1170
-
1171
- > **Important** If neither private_network nor public_network is specified, a public network endpoint is created by default.
1172
1196
  """
1173
1197
  return pulumi.get(self, "project_id")
1174
1198
 
@@ -1208,7 +1232,7 @@ class Instance(pulumi.CustomResource):
1208
1232
  @pulumi.getter(name="snapshotScheduleFrequencyHours")
1209
1233
  def snapshot_schedule_frequency_hours(self) -> pulumi.Output[builtins.int]:
1210
1234
  """
1211
- Snapshot schedule frequency in hours
1235
+ Snapshot schedule frequency in hours.
1212
1236
  """
1213
1237
  return pulumi.get(self, "snapshot_schedule_frequency_hours")
1214
1238
 
@@ -1216,7 +1240,7 @@ class Instance(pulumi.CustomResource):
1216
1240
  @pulumi.getter(name="snapshotScheduleRetentionDays")
1217
1241
  def snapshot_schedule_retention_days(self) -> pulumi.Output[builtins.int]:
1218
1242
  """
1219
- Snapshot schedule retention in days
1243
+ Snapshot schedule retention in days.
1220
1244
  """
1221
1245
  return pulumi.get(self, "snapshot_schedule_retention_days")
1222
1246
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "scaleway",
4
- "version": "1.35.0-alpha.1758699381",
4
+ "version": "1.35.0-alpha.1759251303",
5
5
  "server": "github://api.github.com/pulumiverse"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumiverse_scaleway
3
- Version: 1.35.0a1758699381
3
+ Version: 1.35.0a1759251303
4
4
  Summary: A Pulumi package for creating and managing Scaleway cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.scaleway.com
@@ -19,9 +19,9 @@ pulumiverse_scaleway/container_namespace.py,sha256=xdVKL0Q85iziVwlqTM6nf3kuH8Iyp
19
19
  pulumiverse_scaleway/container_token.py,sha256=1NFukJGIxDH0F7PfqALvrh8YQhBUIIIJxgbT0nB4aWw,19495
20
20
  pulumiverse_scaleway/container_trigger.py,sha256=sr2qmx-RhGle7VMUcUMPTggtf4Hi23F_1kSRM45Ju5E,20807
21
21
  pulumiverse_scaleway/database.py,sha256=Vudrpls37ro8iO8sGg-fHBQttmghHppE9qtu6CQ4HKg,15707
22
- pulumiverse_scaleway/database_acl.py,sha256=T2qITur4RnrsFacqXqHoYgEzwqtYVoZZFaxjgcyhXlQ,14098
22
+ pulumiverse_scaleway/database_acl.py,sha256=brS-gwXIBacAaf5oWbWEFpHxIqmsMSSMqat3veVJEOA,18961
23
23
  pulumiverse_scaleway/database_backup.py,sha256=dxsNJT0t9YSUzIxleHl9384obcy6WjP58-SYweExsq0,22947
24
- pulumiverse_scaleway/database_instance.py,sha256=htf7tb-IP_c-R3QyaaElnC_pgDGWFL7Re_oOv4NmR5M,83676
24
+ pulumiverse_scaleway/database_instance.py,sha256=ORAIPRitAwjNszdXTMrv8YkpZHw6MZQgy19Q0WHX07s,84914
25
25
  pulumiverse_scaleway/database_privilege.py,sha256=ItzIDozHfpKRpbhXgyFh3GrXm6hiQKDatsOJBol3UIg,17963
26
26
  pulumiverse_scaleway/database_read_replica.py,sha256=8eoh0bpIqPr0wU5zgadu3NwhrWYWfC800PB2kxr-JOk,23084
27
27
  pulumiverse_scaleway/database_user.py,sha256=WirCLX_CiwVczqOroQiAOWOrXyy6wPwvCRVA3h9R9Q8,21678
@@ -175,7 +175,7 @@ pulumiverse_scaleway/mnq_sns_topic_subscription.py,sha256=YQHIaT_H1DmD1aTpSAPGSp
175
175
  pulumiverse_scaleway/mnq_sqs.py,sha256=x8E2xNJz9JAbpzPtsC-PoO28X-G05er1tr_2Xp96Il4,11464
176
176
  pulumiverse_scaleway/mnq_sqs_credentials.py,sha256=C2txcb6iJadCZOGWVYYZeorUqx8C1i0fejsa4Hmtc6k,17276
177
177
  pulumiverse_scaleway/mnq_sqs_queue.py,sha256=LvIsli6JoprqEhpt7GylQI8Uo3WE9clBgzY1HnQP8Co,46951
178
- pulumiverse_scaleway/mongo_db_instance.py,sha256=X7Rkewv6RuqpmEtn5PHESD18QZbIm6Q8V1DOba2iCsg,58221
178
+ pulumiverse_scaleway/mongo_db_instance.py,sha256=TMA7C0i7u-YfD-mha3WJQ6BYw-bdxyaUXkaBRaYFpAM,58419
179
179
  pulumiverse_scaleway/mongo_db_snapshot.py,sha256=iGlS4hYeL4puqWP-T_KoFmJd6dp8pX6__L1zukKZMPY,22269
180
180
  pulumiverse_scaleway/object_bucket.py,sha256=eAkSAvypt06XOmgiFK7OGhUhnxmW7jODlEQzmYOLJIo,42875
181
181
  pulumiverse_scaleway/object_bucket_acl.py,sha256=CrpaAozlU-zTdcBEo-V79CoQ5SfxYLhp6uYXx_de4-4,27675
@@ -185,7 +185,7 @@ pulumiverse_scaleway/object_bucket_website_configuration.py,sha256=sAE_jFBEu815v
185
185
  pulumiverse_scaleway/object_item.py,sha256=-QVL94_RUjp65JDMtRcsvjC3MCcES7pdwW1vn6DVFfg,38950
186
186
  pulumiverse_scaleway/outputs.py,sha256=8eTXBrHvTfa_DDUXSrlgIkEjPB-meAjfLXBIEgO_eR8,533753
187
187
  pulumiverse_scaleway/provider.py,sha256=GlDJ_DkHogrjh7KZsJjdWruCEjmPEiVZXJq9gHHqSvs,14538
188
- pulumiverse_scaleway/pulumi-plugin.json,sha256=gZWcBDisXaLk84O_1WC02Wh9cTIK7UIb9H39_odmqDc,136
188
+ pulumiverse_scaleway/pulumi-plugin.json,sha256=aEXXH_ZwhAM9fLiS85Pc3NjfFeBpFRxRkMpe6U4TDek,136
189
189
  pulumiverse_scaleway/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
190
190
  pulumiverse_scaleway/rdb_snapshot.py,sha256=hKlyOShRsQ27HmhrOxKSFn0SMn46TxZwwLfXKOxG2R4,25599
191
191
  pulumiverse_scaleway/redis_cluster.py,sha256=HrpDbnHBZyB4GA_hbBS2AJzA5KP_B6_fbhUqgRhE2GU,59155
@@ -252,7 +252,7 @@ pulumiverse_scaleway/containers/token.py,sha256=fpjjaHwQeJPSIQFrzj66EnarvxBUHtGh
252
252
  pulumiverse_scaleway/containers/trigger.py,sha256=04EwRfIE8gTijsThyoylx3afDJMnAc8WBh4yqhUdgig,19937
253
253
  pulumiverse_scaleway/databases/__init__.py,sha256=NYTR5PTBaKx4ax0t12leEqW3kYDDX4LfX8Y7hGZ1Uxc,685
254
254
  pulumiverse_scaleway/databases/_inputs.py,sha256=fjwYbu3PxlVHXF_UsdRu8-O07Izc9GkpVTBRd3JdOgI,31034
255
- pulumiverse_scaleway/databases/acl.py,sha256=NZ_OvbmWWL6VdAC4HZaHSKCITJSoTs9D4OuUS0BFL9A,13492
255
+ pulumiverse_scaleway/databases/acl.py,sha256=DX0ior855rSn6IdAel1sl4YE20GJ2Kal4kHSKpnSQ0w,18355
256
256
  pulumiverse_scaleway/databases/database.py,sha256=AKHOgGx0ekhURSjH8X8lLCyh1zhi6WvBegtU2ZUlVo0,15446
257
257
  pulumiverse_scaleway/databases/database_backup.py,sha256=vkXAF3PU8Ws8-OSD2BksgPa7vNfjseyxonLeai7alp4,22620
258
258
  pulumiverse_scaleway/databases/get_acl.py,sha256=3urzN5JSgCI1PVrBB_CgXt1pFvULCGKWLhPy2QXGaZg,5286
@@ -260,7 +260,7 @@ pulumiverse_scaleway/databases/get_database.py,sha256=XLRmvEjoO4UM0Oa266rgfCSBlM
260
260
  pulumiverse_scaleway/databases/get_database_backup.py,sha256=TLwweoT1PE5x6ZnGi6NAPk7VWzIc5qjqY9zr_Ip4d6M,10801
261
261
  pulumiverse_scaleway/databases/get_instance.py,sha256=RV8ZlLIu3uKd5Th4gBeP4Eb1EhC2Dg3P6dfq_RervLE,20136
262
262
  pulumiverse_scaleway/databases/get_privilege.py,sha256=O0MO2g2h7gqZtTjpxDrFabxun1jBf0IB-aasKdBEYrg,7318
263
- pulumiverse_scaleway/databases/instance.py,sha256=JtV6zgGHk1u5tgsN3IjTPEL_tIFnJP8ZXKolWf4xWx0,82487
263
+ pulumiverse_scaleway/databases/instance.py,sha256=1becJcXuKBBLrePmYCuzfYkWaD0foCz6gNHX6_evi4s,83725
264
264
  pulumiverse_scaleway/databases/outputs.py,sha256=OTdV0UZSbPpjCzfzLiZGO1eOh9XBGYtt9SBEnzdoT4g,30613
265
265
  pulumiverse_scaleway/databases/privilege.py,sha256=Sh2wdALNQVBDSkn-Z5cSHk4jbZPKIrNK7QWbyAeXj9A,17443
266
266
  pulumiverse_scaleway/databases/read_replica.py,sha256=bsLtLJNQEuRBIkZszpne6MqjeT1VNwd0yUJti_y_J0w,22238
@@ -417,7 +417,7 @@ pulumiverse_scaleway/mnq/sqs_queue.py,sha256=nC3xl8bk9m3pUaVJQ1svhpd0uAU4yUbocWk
417
417
  pulumiverse_scaleway/mongodb/__init__.py,sha256=tUDSJ0lXK17xTvpTJRlrHtum1tKZE55TO4UqbBEKKJg,408
418
418
  pulumiverse_scaleway/mongodb/_inputs.py,sha256=thu2BSzwCsGqHB_v__TdgWQBtm6tBG5jvvaefbTPRHM,11103
419
419
  pulumiverse_scaleway/mongodb/get_instance.py,sha256=2QpumT-QVSaRzVsmb0Bw-G5O9IF1HNVx_tMhoN4rL1U,17814
420
- pulumiverse_scaleway/mongodb/instance.py,sha256=KUM3N1YQ4ZxDyErz4FKhcFAYnZSQCTIeG6CC3y3f2JQ,57342
420
+ pulumiverse_scaleway/mongodb/instance.py,sha256=sOhubAJ-tzcIn1OzoDbFqNbcWZIRF0_OJWyX__-nz5U,57540
421
421
  pulumiverse_scaleway/mongodb/outputs.py,sha256=Fk7tL1u8I2Y2mJ1vWSmeErRJ_hSOdMHccWpwnQSQuvQ,12066
422
422
  pulumiverse_scaleway/mongodb/snapshot.py,sha256=SctkZ_XQ-Y69jwqZRb5JE2fV1arXE7lfZxI0jw_W1DI,21789
423
423
  pulumiverse_scaleway/mongodb/user.py,sha256=0KcG835ktl_1CW_0UkogWNNG1VRzsjwQmqtEEhBAqu4,19111
@@ -493,7 +493,7 @@ pulumiverse_scaleway/tem/get_domain.py,sha256=FuZLAqmDnGCmNTJb6WUJ19Gd00egXd9Hwv
493
493
  pulumiverse_scaleway/tem/get_offer_subscription.py,sha256=Ri0fgg7S9a5G3EXHTOg5ouiBbux_aPxZonoKpC8gTgU,11272
494
494
  pulumiverse_scaleway/tem/outputs.py,sha256=WVcZiyCsfzlQpmLImCtrmuq31vPATLpewmI0RKXILIQ,5985
495
495
  pulumiverse_scaleway/tem/webhook.py,sha256=8GMenigIWJjXcR-4a1QKnABAzRhuzqirF8rFKXCTlzY,26035
496
- pulumiverse_scaleway-1.35.0a1758699381.dist-info/METADATA,sha256=WWG-MS5Q9ru7ajDgKGDQpMDixRPJhnnYvGp48xY0xVA,2052
497
- pulumiverse_scaleway-1.35.0a1758699381.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
498
- pulumiverse_scaleway-1.35.0a1758699381.dist-info/top_level.txt,sha256=nZh5pqyc9FpoAll32zwyBXyAUg_m-XQXqk_YOJ5Ih2g,21
499
- pulumiverse_scaleway-1.35.0a1758699381.dist-info/RECORD,,
496
+ pulumiverse_scaleway-1.35.0a1759251303.dist-info/METADATA,sha256=-qcyJYkDHOE8Ck-xCOcZW4DloYKljjUpVP-SBedjhMg,2052
497
+ pulumiverse_scaleway-1.35.0a1759251303.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
498
+ pulumiverse_scaleway-1.35.0a1759251303.dist-info/top_level.txt,sha256=nZh5pqyc9FpoAll32zwyBXyAUg_m-XQXqk_YOJ5Ih2g,21
499
+ pulumiverse_scaleway-1.35.0a1759251303.dist-info/RECORD,,