pulumiverse-scaleway 1.23.0a1739624899__py3-none-any.whl → 1.23.0a1739864644__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.
- pulumiverse_scaleway/__init__.py +9 -0
- pulumiverse_scaleway/_inputs.py +323 -9
- pulumiverse_scaleway/_utilities.py +8 -4
- pulumiverse_scaleway/account_ssh_key.py +2 -2
- pulumiverse_scaleway/apple_silicon_server.py +124 -0
- pulumiverse_scaleway/block_snapshot.py +2 -2
- pulumiverse_scaleway/block_volume.py +58 -11
- pulumiverse_scaleway/cockpit_source.py +7 -7
- pulumiverse_scaleway/container.py +236 -23
- pulumiverse_scaleway/container_domain.py +2 -2
- pulumiverse_scaleway/database_instance.py +74 -21
- pulumiverse_scaleway/get_account_project.py +2 -2
- pulumiverse_scaleway/get_account_ssh_key.py +2 -2
- pulumiverse_scaleway/get_block_snapshot.py +2 -2
- pulumiverse_scaleway/get_block_volume.py +14 -3
- pulumiverse_scaleway/get_container.py +30 -4
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_server.py +1 -15
- pulumiverse_scaleway/get_instance_volume.py +12 -1
- pulumiverse_scaleway/get_ipam_ip.py +2 -2
- pulumiverse_scaleway/get_ipam_ips.py +2 -2
- pulumiverse_scaleway/get_lb_acls.py +2 -2
- pulumiverse_scaleway/get_lb_backend.py +2 -2
- pulumiverse_scaleway/get_lb_backends.py +2 -2
- pulumiverse_scaleway/get_lb_frontend.py +2 -2
- pulumiverse_scaleway/get_lb_frontends.py +2 -2
- pulumiverse_scaleway/get_lb_ips.py +2 -2
- pulumiverse_scaleway/get_lb_route.py +2 -2
- pulumiverse_scaleway/get_lb_routes.py +2 -2
- pulumiverse_scaleway/get_lbs.py +2 -2
- pulumiverse_scaleway/get_loadbalancer.py +2 -2
- pulumiverse_scaleway/get_loadbalancer_certificate.py +2 -2
- pulumiverse_scaleway/get_loadbalancer_ip.py +2 -2
- pulumiverse_scaleway/get_object_bucket.py +2 -2
- pulumiverse_scaleway/get_object_bucket_policy.py +2 -2
- pulumiverse_scaleway/iam_policy.py +2 -2
- pulumiverse_scaleway/instance_ip.py +7 -21
- pulumiverse_scaleway/instance_server.py +4 -74
- pulumiverse_scaleway/instance_volume.py +47 -0
- pulumiverse_scaleway/iot_route.py +21 -21
- pulumiverse_scaleway/ipam_ip.py +2 -2
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +2 -2
- pulumiverse_scaleway/loadbalancer.py +2 -2
- pulumiverse_scaleway/loadbalancer_acl.py +2 -2
- pulumiverse_scaleway/loadbalancer_backend.py +2 -2
- pulumiverse_scaleway/loadbalancer_frontend.py +2 -2
- pulumiverse_scaleway/loadbalancer_ip.py +2 -2
- pulumiverse_scaleway/loadbalancer_route.py +2 -2
- pulumiverse_scaleway/mnq_nats_account.py +2 -2
- pulumiverse_scaleway/mnq_nats_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sns.py +2 -2
- pulumiverse_scaleway/mnq_sns_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sns_topic.py +2 -2
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +2 -2
- pulumiverse_scaleway/mnq_sqs.py +2 -2
- pulumiverse_scaleway/mnq_sqs_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sqs_queue.py +2 -2
- pulumiverse_scaleway/mongo_db_instance.py +2 -2
- pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
- pulumiverse_scaleway/object_bucket.py +11 -11
- pulumiverse_scaleway/object_bucket_acl.py +2 -2
- pulumiverse_scaleway/object_bucket_lock_configuration.py +4 -4
- pulumiverse_scaleway/object_bucket_policy.py +6 -6
- pulumiverse_scaleway/object_bucket_website_configuration.py +4 -4
- pulumiverse_scaleway/object_item.py +11 -11
- pulumiverse_scaleway/outputs.py +351 -6
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +608 -0
- pulumiverse_scaleway/sdb_database.py +2 -2
- pulumiverse_scaleway/secret_version.py +2 -2
- pulumiverse_scaleway/vpc.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +14 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/vpc_route.py +2 -2
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/RECORD +78 -77
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/top_level.txt +0 -0
@@ -21,13 +21,13 @@ __all__ = ['DatabaseInstanceArgs', 'DatabaseInstance']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class DatabaseInstanceArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
-
engine: pulumi.Input[str],
|
25
24
|
node_type: pulumi.Input[str],
|
26
25
|
backup_same_region: Optional[pulumi.Input[bool]] = None,
|
27
26
|
backup_schedule_frequency: Optional[pulumi.Input[int]] = None,
|
28
27
|
backup_schedule_retention: Optional[pulumi.Input[int]] = None,
|
29
28
|
disable_backup: Optional[pulumi.Input[bool]] = None,
|
30
29
|
encryption_at_rest: Optional[pulumi.Input[bool]] = None,
|
30
|
+
engine: Optional[pulumi.Input[str]] = None,
|
31
31
|
init_settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
32
32
|
is_ha_cluster: Optional[pulumi.Input[bool]] = None,
|
33
33
|
load_balancers: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceLoadBalancerArgs']]]] = None,
|
@@ -38,15 +38,13 @@ class DatabaseInstanceArgs:
|
|
38
38
|
project_id: Optional[pulumi.Input[str]] = None,
|
39
39
|
region: Optional[pulumi.Input[str]] = None,
|
40
40
|
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
41
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
41
42
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
42
43
|
user_name: Optional[pulumi.Input[str]] = None,
|
43
44
|
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
44
45
|
volume_type: Optional[pulumi.Input[str]] = None):
|
45
46
|
"""
|
46
47
|
The set of arguments for constructing a DatabaseInstance resource.
|
47
|
-
:param pulumi.Input[str] engine: Database Instance's engine version (e.g. `PostgreSQL-11`).
|
48
|
-
|
49
|
-
> **Important** Updates to `engine` will recreate the Database Instance.
|
50
48
|
:param pulumi.Input[str] node_type: The type of Database Instance you want to create (e.g. `db-dev-s`).
|
51
49
|
|
52
50
|
> **Important** Updates to `node_type` will upgrade the Database Instance to the desired `node_type` without any
|
@@ -58,6 +56,9 @@ class DatabaseInstanceArgs:
|
|
58
56
|
:param pulumi.Input[int] backup_schedule_retention: Backup schedule retention in days
|
59
57
|
:param pulumi.Input[bool] disable_backup: Disable automated backup for the database instance
|
60
58
|
:param pulumi.Input[bool] encryption_at_rest: Enable or disable encryption at rest for the Database Instance.
|
59
|
+
:param pulumi.Input[str] engine: Database Instance's engine version (e.g. `PostgreSQL-11`).
|
60
|
+
|
61
|
+
> **Important** Updates to `engine` will recreate the Database Instance.
|
61
62
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] init_settings: Map of engine settings to be set at database initialisation.
|
62
63
|
:param pulumi.Input[bool] is_ha_cluster: Enable or disable high availability for the Database Instance.
|
63
64
|
|
@@ -72,6 +73,8 @@ class DatabaseInstanceArgs:
|
|
72
73
|
:param pulumi.Input[str] region: `region`) The region
|
73
74
|
in which the Database Instance should be created.
|
74
75
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
76
|
+
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
|
77
|
+
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
75
78
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
76
79
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
77
80
|
|
@@ -81,7 +84,6 @@ class DatabaseInstanceArgs:
|
|
81
84
|
> **Important** Once your Database Instance reaches `disk_full` status, you should increase the volume size before making any other change to your Database Instance.
|
82
85
|
:param pulumi.Input[str] volume_type: Type of volume where data are stored (`bssd`, `lssd`, `sbs_5k` or `sbs_15k`).
|
83
86
|
"""
|
84
|
-
pulumi.set(__self__, "engine", engine)
|
85
87
|
pulumi.set(__self__, "node_type", node_type)
|
86
88
|
if backup_same_region is not None:
|
87
89
|
pulumi.set(__self__, "backup_same_region", backup_same_region)
|
@@ -93,6 +95,8 @@ class DatabaseInstanceArgs:
|
|
93
95
|
pulumi.set(__self__, "disable_backup", disable_backup)
|
94
96
|
if encryption_at_rest is not None:
|
95
97
|
pulumi.set(__self__, "encryption_at_rest", encryption_at_rest)
|
98
|
+
if engine is not None:
|
99
|
+
pulumi.set(__self__, "engine", engine)
|
96
100
|
if init_settings is not None:
|
97
101
|
pulumi.set(__self__, "init_settings", init_settings)
|
98
102
|
if is_ha_cluster is not None:
|
@@ -113,6 +117,8 @@ class DatabaseInstanceArgs:
|
|
113
117
|
pulumi.set(__self__, "region", region)
|
114
118
|
if settings is not None:
|
115
119
|
pulumi.set(__self__, "settings", settings)
|
120
|
+
if snapshot_id is not None:
|
121
|
+
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
116
122
|
if tags is not None:
|
117
123
|
pulumi.set(__self__, "tags", tags)
|
118
124
|
if user_name is not None:
|
@@ -122,20 +128,6 @@ class DatabaseInstanceArgs:
|
|
122
128
|
if volume_type is not None:
|
123
129
|
pulumi.set(__self__, "volume_type", volume_type)
|
124
130
|
|
125
|
-
@property
|
126
|
-
@pulumi.getter
|
127
|
-
def engine(self) -> pulumi.Input[str]:
|
128
|
-
"""
|
129
|
-
Database Instance's engine version (e.g. `PostgreSQL-11`).
|
130
|
-
|
131
|
-
> **Important** Updates to `engine` will recreate the Database Instance.
|
132
|
-
"""
|
133
|
-
return pulumi.get(self, "engine")
|
134
|
-
|
135
|
-
@engine.setter
|
136
|
-
def engine(self, value: pulumi.Input[str]):
|
137
|
-
pulumi.set(self, "engine", value)
|
138
|
-
|
139
131
|
@property
|
140
132
|
@pulumi.getter(name="nodeType")
|
141
133
|
def node_type(self) -> pulumi.Input[str]:
|
@@ -213,6 +205,20 @@ class DatabaseInstanceArgs:
|
|
213
205
|
def encryption_at_rest(self, value: Optional[pulumi.Input[bool]]):
|
214
206
|
pulumi.set(self, "encryption_at_rest", value)
|
215
207
|
|
208
|
+
@property
|
209
|
+
@pulumi.getter
|
210
|
+
def engine(self) -> Optional[pulumi.Input[str]]:
|
211
|
+
"""
|
212
|
+
Database Instance's engine version (e.g. `PostgreSQL-11`).
|
213
|
+
|
214
|
+
> **Important** Updates to `engine` will recreate the Database Instance.
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "engine")
|
217
|
+
|
218
|
+
@engine.setter
|
219
|
+
def engine(self, value: Optional[pulumi.Input[str]]):
|
220
|
+
pulumi.set(self, "engine", value)
|
221
|
+
|
216
222
|
@property
|
217
223
|
@pulumi.getter(name="initSettings")
|
218
224
|
def init_settings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -337,6 +343,19 @@ class DatabaseInstanceArgs:
|
|
337
343
|
def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
338
344
|
pulumi.set(self, "settings", value)
|
339
345
|
|
346
|
+
@property
|
347
|
+
@pulumi.getter(name="snapshotId")
|
348
|
+
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
349
|
+
"""
|
350
|
+
ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
|
351
|
+
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "snapshot_id")
|
354
|
+
|
355
|
+
@snapshot_id.setter
|
356
|
+
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
357
|
+
pulumi.set(self, "snapshot_id", value)
|
358
|
+
|
340
359
|
@property
|
341
360
|
@pulumi.getter
|
342
361
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -415,6 +434,7 @@ class _DatabaseInstanceState:
|
|
415
434
|
read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceReadReplicaArgs']]]] = None,
|
416
435
|
region: Optional[pulumi.Input[str]] = None,
|
417
436
|
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
437
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
418
438
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
419
439
|
user_name: Optional[pulumi.Input[str]] = None,
|
420
440
|
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
@@ -454,6 +474,8 @@ class _DatabaseInstanceState:
|
|
454
474
|
:param pulumi.Input[str] region: `region`) The region
|
455
475
|
in which the Database Instance should be created.
|
456
476
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
477
|
+
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
|
478
|
+
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
457
479
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
458
480
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
459
481
|
|
@@ -513,6 +535,8 @@ class _DatabaseInstanceState:
|
|
513
535
|
pulumi.set(__self__, "region", region)
|
514
536
|
if settings is not None:
|
515
537
|
pulumi.set(__self__, "settings", settings)
|
538
|
+
if snapshot_id is not None:
|
539
|
+
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
516
540
|
if tags is not None:
|
517
541
|
pulumi.set(__self__, "tags", tags)
|
518
542
|
if user_name is not None:
|
@@ -799,6 +823,19 @@ class _DatabaseInstanceState:
|
|
799
823
|
def settings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
800
824
|
pulumi.set(self, "settings", value)
|
801
825
|
|
826
|
+
@property
|
827
|
+
@pulumi.getter(name="snapshotId")
|
828
|
+
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
829
|
+
"""
|
830
|
+
ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
|
831
|
+
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
832
|
+
"""
|
833
|
+
return pulumi.get(self, "snapshot_id")
|
834
|
+
|
835
|
+
@snapshot_id.setter
|
836
|
+
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
837
|
+
pulumi.set(self, "snapshot_id", value)
|
838
|
+
|
802
839
|
@property
|
803
840
|
@pulumi.getter
|
804
841
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -874,6 +911,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
874
911
|
project_id: Optional[pulumi.Input[str]] = None,
|
875
912
|
region: Optional[pulumi.Input[str]] = None,
|
876
913
|
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
914
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
877
915
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
878
916
|
user_name: Optional[pulumi.Input[str]] = None,
|
879
917
|
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
@@ -1057,6 +1095,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1057
1095
|
:param pulumi.Input[str] region: `region`) The region
|
1058
1096
|
in which the Database Instance should be created.
|
1059
1097
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
1098
|
+
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
|
1099
|
+
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
1060
1100
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
1061
1101
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
1062
1102
|
|
@@ -1252,6 +1292,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1252
1292
|
project_id: Optional[pulumi.Input[str]] = None,
|
1253
1293
|
region: Optional[pulumi.Input[str]] = None,
|
1254
1294
|
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1295
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
1255
1296
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1256
1297
|
user_name: Optional[pulumi.Input[str]] = None,
|
1257
1298
|
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
@@ -1270,8 +1311,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1270
1311
|
__props__.__dict__["backup_schedule_retention"] = backup_schedule_retention
|
1271
1312
|
__props__.__dict__["disable_backup"] = disable_backup
|
1272
1313
|
__props__.__dict__["encryption_at_rest"] = encryption_at_rest
|
1273
|
-
if engine is None and not opts.urn:
|
1274
|
-
raise TypeError("Missing required property 'engine'")
|
1275
1314
|
__props__.__dict__["engine"] = engine
|
1276
1315
|
__props__.__dict__["init_settings"] = init_settings
|
1277
1316
|
__props__.__dict__["is_ha_cluster"] = is_ha_cluster
|
@@ -1286,6 +1325,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1286
1325
|
__props__.__dict__["project_id"] = project_id
|
1287
1326
|
__props__.__dict__["region"] = region
|
1288
1327
|
__props__.__dict__["settings"] = settings
|
1328
|
+
__props__.__dict__["snapshot_id"] = snapshot_id
|
1289
1329
|
__props__.__dict__["tags"] = tags
|
1290
1330
|
__props__.__dict__["user_name"] = user_name
|
1291
1331
|
__props__.__dict__["volume_size_in_gb"] = volume_size_in_gb
|
@@ -1329,6 +1369,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1329
1369
|
read_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceReadReplicaArgs', 'DatabaseInstanceReadReplicaArgsDict']]]]] = None,
|
1330
1370
|
region: Optional[pulumi.Input[str]] = None,
|
1331
1371
|
settings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1372
|
+
snapshot_id: Optional[pulumi.Input[str]] = None,
|
1332
1373
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1333
1374
|
user_name: Optional[pulumi.Input[str]] = None,
|
1334
1375
|
volume_size_in_gb: Optional[pulumi.Input[int]] = None,
|
@@ -1373,6 +1414,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1373
1414
|
:param pulumi.Input[str] region: `region`) The region
|
1374
1415
|
in which the Database Instance should be created.
|
1375
1416
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] settings: Map of engine settings to be set on a running instance.
|
1417
|
+
:param pulumi.Input[str] snapshot_id: ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
|
1418
|
+
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
1376
1419
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the Database Instance.
|
1377
1420
|
:param pulumi.Input[str] user_name: Identifier for the first user of the Database Instance.
|
1378
1421
|
|
@@ -1408,6 +1451,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1408
1451
|
__props__.__dict__["read_replicas"] = read_replicas
|
1409
1452
|
__props__.__dict__["region"] = region
|
1410
1453
|
__props__.__dict__["settings"] = settings
|
1454
|
+
__props__.__dict__["snapshot_id"] = snapshot_id
|
1411
1455
|
__props__.__dict__["tags"] = tags
|
1412
1456
|
__props__.__dict__["user_name"] = user_name
|
1413
1457
|
__props__.__dict__["volume_size_in_gb"] = volume_size_in_gb
|
@@ -1603,6 +1647,15 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1603
1647
|
"""
|
1604
1648
|
return pulumi.get(self, "settings")
|
1605
1649
|
|
1650
|
+
@property
|
1651
|
+
@pulumi.getter(name="snapshotId")
|
1652
|
+
def snapshot_id(self) -> pulumi.Output[Optional[str]]:
|
1653
|
+
"""
|
1654
|
+
ID of an existing snapshot to create a new instance from. This allows restoring a database instance to the state
|
1655
|
+
captured in the specified snapshot. Conflicts with the `engine` attribute.
|
1656
|
+
"""
|
1657
|
+
return pulumi.get(self, "snapshot_id")
|
1658
|
+
|
1606
1659
|
@property
|
1607
1660
|
@pulumi.getter
|
1608
1661
|
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
@@ -110,7 +110,7 @@ def get_account_project(name: Optional[str] = None,
|
|
110
110
|
"""
|
111
111
|
The `AccountProject` data source is used to retrieve information about a Scaleway project.
|
112
112
|
|
113
|
-
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/
|
113
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
114
114
|
|
115
115
|
|
116
116
|
:param str name: The name of the Project.
|
@@ -143,7 +143,7 @@ def get_account_project_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
143
143
|
"""
|
144
144
|
The `AccountProject` data source is used to retrieve information about a Scaleway project.
|
145
145
|
|
146
|
-
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/
|
146
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
|
147
147
|
|
148
148
|
|
149
149
|
:param str name: The name of the Project.
|
@@ -143,7 +143,7 @@ def get_account_ssh_key(name: Optional[str] = None,
|
|
143
143
|
"""
|
144
144
|
The `AccountSshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
|
145
145
|
|
146
|
-
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/
|
146
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
|
147
147
|
|
148
148
|
|
149
149
|
:param str name: The name of the SSH key.
|
@@ -177,7 +177,7 @@ def get_account_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
177
177
|
"""
|
178
178
|
The `AccountSshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
|
179
179
|
|
180
|
-
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/
|
180
|
+
Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
|
181
181
|
|
182
182
|
|
183
183
|
:param str name: The name of the SSH key.
|
@@ -112,7 +112,7 @@ def get_block_snapshot(name: Optional[str] = None,
|
|
112
112
|
"""
|
113
113
|
The `BlockSnapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
114
114
|
|
115
|
-
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/
|
115
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
116
116
|
|
117
117
|
|
118
118
|
:param str name: The name of the snapshot. Only one of name or snapshot_id should be specified.
|
@@ -147,7 +147,7 @@ def get_block_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = None
|
|
147
147
|
"""
|
148
148
|
The `BlockSnapshot` data source is used to retrieve information about a Block Storage volume snapshot.
|
149
149
|
|
150
|
-
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/
|
150
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
151
151
|
|
152
152
|
|
153
153
|
:param str name: The name of the snapshot. Only one of name or snapshot_id should be specified.
|
@@ -26,10 +26,13 @@ class GetBlockVolumeResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getBlockVolume.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, id=None, iops=None, name=None, project_id=None, size_in_gb=None, snapshot_id=None, tags=None, volume_id=None, zone=None):
|
29
|
+
def __init__(__self__, id=None, instance_volume_id=None, iops=None, name=None, project_id=None, size_in_gb=None, snapshot_id=None, tags=None, volume_id=None, zone=None):
|
30
30
|
if id and not isinstance(id, str):
|
31
31
|
raise TypeError("Expected argument 'id' to be a str")
|
32
32
|
pulumi.set(__self__, "id", id)
|
33
|
+
if instance_volume_id and not isinstance(instance_volume_id, str):
|
34
|
+
raise TypeError("Expected argument 'instance_volume_id' to be a str")
|
35
|
+
pulumi.set(__self__, "instance_volume_id", instance_volume_id)
|
33
36
|
if iops and not isinstance(iops, int):
|
34
37
|
raise TypeError("Expected argument 'iops' to be a int")
|
35
38
|
pulumi.set(__self__, "iops", iops)
|
@@ -63,6 +66,11 @@ class GetBlockVolumeResult:
|
|
63
66
|
"""
|
64
67
|
return pulumi.get(self, "id")
|
65
68
|
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="instanceVolumeId")
|
71
|
+
def instance_volume_id(self) -> str:
|
72
|
+
return pulumi.get(self, "instance_volume_id")
|
73
|
+
|
66
74
|
@property
|
67
75
|
@pulumi.getter
|
68
76
|
def iops(self) -> int:
|
@@ -111,6 +119,7 @@ class AwaitableGetBlockVolumeResult(GetBlockVolumeResult):
|
|
111
119
|
yield self
|
112
120
|
return GetBlockVolumeResult(
|
113
121
|
id=self.id,
|
122
|
+
instance_volume_id=self.instance_volume_id,
|
114
123
|
iops=self.iops,
|
115
124
|
name=self.name,
|
116
125
|
project_id=self.project_id,
|
@@ -128,7 +137,7 @@ def get_block_volume(name: Optional[str] = None,
|
|
128
137
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBlockVolumeResult:
|
129
138
|
"""
|
130
139
|
The `BlockVolume` data source is used to retrieve information about a Block Storage volume.
|
131
|
-
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/
|
140
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
132
141
|
|
133
142
|
|
134
143
|
:param str name: The name of the volume. Only one of `name` and `volume_id` should be specified.
|
@@ -146,6 +155,7 @@ def get_block_volume(name: Optional[str] = None,
|
|
146
155
|
|
147
156
|
return AwaitableGetBlockVolumeResult(
|
148
157
|
id=pulumi.get(__ret__, 'id'),
|
158
|
+
instance_volume_id=pulumi.get(__ret__, 'instance_volume_id'),
|
149
159
|
iops=pulumi.get(__ret__, 'iops'),
|
150
160
|
name=pulumi.get(__ret__, 'name'),
|
151
161
|
project_id=pulumi.get(__ret__, 'project_id'),
|
@@ -161,7 +171,7 @@ def get_block_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
171
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBlockVolumeResult]:
|
162
172
|
"""
|
163
173
|
The `BlockVolume` data source is used to retrieve information about a Block Storage volume.
|
164
|
-
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/
|
174
|
+
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
165
175
|
|
166
176
|
|
167
177
|
:param str name: The name of the volume. Only one of `name` and `volume_id` should be specified.
|
@@ -178,6 +188,7 @@ def get_block_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
178
188
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBlockVolume:getBlockVolume', __args__, opts=opts, typ=GetBlockVolumeResult)
|
179
189
|
return __ret__.apply(lambda __response__: GetBlockVolumeResult(
|
180
190
|
id=pulumi.get(__response__, 'id'),
|
191
|
+
instance_volume_id=pulumi.get(__response__, 'instance_volume_id'),
|
181
192
|
iops=pulumi.get(__response__, 'iops'),
|
182
193
|
name=pulumi.get(__response__, 'name'),
|
183
194
|
project_id=pulumi.get(__response__, 'project_id'),
|
@@ -13,6 +13,7 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from . import _utilities
|
16
|
+
from . import outputs
|
16
17
|
|
17
18
|
__all__ = [
|
18
19
|
'GetContainerResult',
|
@@ -26,7 +27,7 @@ class GetContainerResult:
|
|
26
27
|
"""
|
27
28
|
A collection of values returned by getContainer.
|
28
29
|
"""
|
29
|
-
def __init__(__self__, container_id=None, cpu_limit=None, cron_status=None, deploy=None, description=None, domain_name=None, environment_variables=None, error_message=None, http_option=None, id=None, max_concurrency=None, max_scale=None, memory_limit=None, min_scale=None, name=None, namespace_id=None, port=None, privacy=None, project_id=None, protocol=None, region=None, registry_image=None, registry_sha256=None, sandbox=None, secret_environment_variables=None, status=None, timeout=None):
|
30
|
+
def __init__(__self__, container_id=None, cpu_limit=None, cron_status=None, deploy=None, description=None, domain_name=None, environment_variables=None, error_message=None, health_checks=None, http_option=None, id=None, max_concurrency=None, max_scale=None, memory_limit=None, min_scale=None, name=None, namespace_id=None, port=None, privacy=None, project_id=None, protocol=None, region=None, registry_image=None, registry_sha256=None, sandbox=None, scaling_options=None, secret_environment_variables=None, status=None, timeout=None):
|
30
31
|
if container_id and not isinstance(container_id, str):
|
31
32
|
raise TypeError("Expected argument 'container_id' to be a str")
|
32
33
|
pulumi.set(__self__, "container_id", container_id)
|
@@ -51,6 +52,9 @@ class GetContainerResult:
|
|
51
52
|
if error_message and not isinstance(error_message, str):
|
52
53
|
raise TypeError("Expected argument 'error_message' to be a str")
|
53
54
|
pulumi.set(__self__, "error_message", error_message)
|
55
|
+
if health_checks and not isinstance(health_checks, list):
|
56
|
+
raise TypeError("Expected argument 'health_checks' to be a list")
|
57
|
+
pulumi.set(__self__, "health_checks", health_checks)
|
54
58
|
if http_option and not isinstance(http_option, str):
|
55
59
|
raise TypeError("Expected argument 'http_option' to be a str")
|
56
60
|
pulumi.set(__self__, "http_option", http_option)
|
@@ -99,6 +103,9 @@ class GetContainerResult:
|
|
99
103
|
if sandbox and not isinstance(sandbox, str):
|
100
104
|
raise TypeError("Expected argument 'sandbox' to be a str")
|
101
105
|
pulumi.set(__self__, "sandbox", sandbox)
|
106
|
+
if scaling_options and not isinstance(scaling_options, list):
|
107
|
+
raise TypeError("Expected argument 'scaling_options' to be a list")
|
108
|
+
pulumi.set(__self__, "scaling_options", scaling_options)
|
102
109
|
if secret_environment_variables and not isinstance(secret_environment_variables, dict):
|
103
110
|
raise TypeError("Expected argument 'secret_environment_variables' to be a dict")
|
104
111
|
pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
|
@@ -158,7 +165,7 @@ class GetContainerResult:
|
|
158
165
|
@pulumi.getter(name="environmentVariables")
|
159
166
|
def environment_variables(self) -> Mapping[str, str]:
|
160
167
|
"""
|
161
|
-
The [environment](https://www.scaleway.com/en/docs/
|
168
|
+
The [environment](https://www.scaleway.com/en/docs/serverless-containers/concepts/#environment-variables) variables of the container.
|
162
169
|
"""
|
163
170
|
return pulumi.get(self, "environment_variables")
|
164
171
|
|
@@ -170,6 +177,11 @@ class GetContainerResult:
|
|
170
177
|
"""
|
171
178
|
return pulumi.get(self, "error_message")
|
172
179
|
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="healthChecks")
|
182
|
+
def health_checks(self) -> Sequence['outputs.GetContainerHealthCheckResult']:
|
183
|
+
return pulumi.get(self, "health_checks")
|
184
|
+
|
173
185
|
@property
|
174
186
|
@pulumi.getter(name="httpOption")
|
175
187
|
def http_option(self) -> str:
|
@@ -286,6 +298,14 @@ class GetContainerResult:
|
|
286
298
|
"""
|
287
299
|
return pulumi.get(self, "sandbox")
|
288
300
|
|
301
|
+
@property
|
302
|
+
@pulumi.getter(name="scalingOptions")
|
303
|
+
def scaling_options(self) -> Sequence['outputs.GetContainerScalingOptionResult']:
|
304
|
+
"""
|
305
|
+
Configuration block used to decide when to scale up or down. Possible values:
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "scaling_options")
|
308
|
+
|
289
309
|
@property
|
290
310
|
@pulumi.getter(name="secretEnvironmentVariables")
|
291
311
|
def secret_environment_variables(self) -> Mapping[str, str]:
|
@@ -322,6 +342,7 @@ class AwaitableGetContainerResult(GetContainerResult):
|
|
322
342
|
domain_name=self.domain_name,
|
323
343
|
environment_variables=self.environment_variables,
|
324
344
|
error_message=self.error_message,
|
345
|
+
health_checks=self.health_checks,
|
325
346
|
http_option=self.http_option,
|
326
347
|
id=self.id,
|
327
348
|
max_concurrency=self.max_concurrency,
|
@@ -338,6 +359,7 @@ class AwaitableGetContainerResult(GetContainerResult):
|
|
338
359
|
registry_image=self.registry_image,
|
339
360
|
registry_sha256=self.registry_sha256,
|
340
361
|
sandbox=self.sandbox,
|
362
|
+
scaling_options=self.scaling_options,
|
341
363
|
secret_environment_variables=self.secret_environment_variables,
|
342
364
|
status=self.status,
|
343
365
|
timeout=self.timeout)
|
@@ -354,7 +376,7 @@ def get_container(container_id: Optional[str] = None,
|
|
354
376
|
|
355
377
|
Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
|
356
378
|
|
357
|
-
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/
|
379
|
+
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/).
|
358
380
|
|
359
381
|
## Retrieve a Serverless Container
|
360
382
|
|
@@ -413,6 +435,7 @@ def get_container(container_id: Optional[str] = None,
|
|
413
435
|
domain_name=pulumi.get(__ret__, 'domain_name'),
|
414
436
|
environment_variables=pulumi.get(__ret__, 'environment_variables'),
|
415
437
|
error_message=pulumi.get(__ret__, 'error_message'),
|
438
|
+
health_checks=pulumi.get(__ret__, 'health_checks'),
|
416
439
|
http_option=pulumi.get(__ret__, 'http_option'),
|
417
440
|
id=pulumi.get(__ret__, 'id'),
|
418
441
|
max_concurrency=pulumi.get(__ret__, 'max_concurrency'),
|
@@ -429,6 +452,7 @@ def get_container(container_id: Optional[str] = None,
|
|
429
452
|
registry_image=pulumi.get(__ret__, 'registry_image'),
|
430
453
|
registry_sha256=pulumi.get(__ret__, 'registry_sha256'),
|
431
454
|
sandbox=pulumi.get(__ret__, 'sandbox'),
|
455
|
+
scaling_options=pulumi.get(__ret__, 'scaling_options'),
|
432
456
|
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'),
|
433
457
|
status=pulumi.get(__ret__, 'status'),
|
434
458
|
timeout=pulumi.get(__ret__, 'timeout'))
|
@@ -443,7 +467,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
|
|
443
467
|
|
444
468
|
Refer to the Serverless Containers [product documentation](https://www.scaleway.com/en/docs/serverless/containers/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-containers/) for more information.
|
445
469
|
|
446
|
-
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/
|
470
|
+
For more information on the limitations of Serverless Containers, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/).
|
447
471
|
|
448
472
|
## Retrieve a Serverless Container
|
449
473
|
|
@@ -501,6 +525,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
|
|
501
525
|
domain_name=pulumi.get(__response__, 'domain_name'),
|
502
526
|
environment_variables=pulumi.get(__response__, 'environment_variables'),
|
503
527
|
error_message=pulumi.get(__response__, 'error_message'),
|
528
|
+
health_checks=pulumi.get(__response__, 'health_checks'),
|
504
529
|
http_option=pulumi.get(__response__, 'http_option'),
|
505
530
|
id=pulumi.get(__response__, 'id'),
|
506
531
|
max_concurrency=pulumi.get(__response__, 'max_concurrency'),
|
@@ -517,6 +542,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
|
|
517
542
|
registry_image=pulumi.get(__response__, 'registry_image'),
|
518
543
|
registry_sha256=pulumi.get(__response__, 'registry_sha256'),
|
519
544
|
sandbox=pulumi.get(__response__, 'sandbox'),
|
545
|
+
scaling_options=pulumi.get(__response__, 'scaling_options'),
|
520
546
|
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables'),
|
521
547
|
status=pulumi.get(__response__, 'status'),
|
522
548
|
timeout=pulumi.get(__response__, 'timeout')))
|
@@ -27,7 +27,7 @@ class GetDatabaseInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getDatabaseInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, backup_same_region=None, backup_schedule_frequency=None, backup_schedule_retention=None, certificate=None, disable_backup=None, encryption_at_rest=None, endpoint_ip=None, endpoint_port=None, engine=None, id=None, init_settings=None, instance_id=None, is_ha_cluster=None, load_balancers=None, logs_policies=None, name=None, node_type=None, organization_id=None, password=None, private_networks=None, project_id=None, read_replicas=None, region=None, settings=None, tags=None, user_name=None, volume_size_in_gb=None, volume_type=None):
|
30
|
+
def __init__(__self__, backup_same_region=None, backup_schedule_frequency=None, backup_schedule_retention=None, certificate=None, disable_backup=None, encryption_at_rest=None, endpoint_ip=None, endpoint_port=None, engine=None, id=None, init_settings=None, instance_id=None, is_ha_cluster=None, load_balancers=None, logs_policies=None, name=None, node_type=None, organization_id=None, password=None, private_networks=None, project_id=None, read_replicas=None, region=None, settings=None, snapshot_id=None, tags=None, user_name=None, volume_size_in_gb=None, volume_type=None):
|
31
31
|
if backup_same_region and not isinstance(backup_same_region, bool):
|
32
32
|
raise TypeError("Expected argument 'backup_same_region' to be a bool")
|
33
33
|
pulumi.set(__self__, "backup_same_region", backup_same_region)
|
@@ -100,6 +100,9 @@ class GetDatabaseInstanceResult:
|
|
100
100
|
if settings and not isinstance(settings, dict):
|
101
101
|
raise TypeError("Expected argument 'settings' to be a dict")
|
102
102
|
pulumi.set(__self__, "settings", settings)
|
103
|
+
if snapshot_id and not isinstance(snapshot_id, str):
|
104
|
+
raise TypeError("Expected argument 'snapshot_id' to be a str")
|
105
|
+
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
103
106
|
if tags and not isinstance(tags, list):
|
104
107
|
raise TypeError("Expected argument 'tags' to be a list")
|
105
108
|
pulumi.set(__self__, "tags", tags)
|
@@ -236,6 +239,11 @@ class GetDatabaseInstanceResult:
|
|
236
239
|
def settings(self) -> Mapping[str, str]:
|
237
240
|
return pulumi.get(self, "settings")
|
238
241
|
|
242
|
+
@property
|
243
|
+
@pulumi.getter(name="snapshotId")
|
244
|
+
def snapshot_id(self) -> str:
|
245
|
+
return pulumi.get(self, "snapshot_id")
|
246
|
+
|
239
247
|
@property
|
240
248
|
@pulumi.getter
|
241
249
|
def tags(self) -> Sequence[str]:
|
@@ -287,6 +295,7 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
|
|
287
295
|
read_replicas=self.read_replicas,
|
288
296
|
region=self.region,
|
289
297
|
settings=self.settings,
|
298
|
+
snapshot_id=self.snapshot_id,
|
290
299
|
tags=self.tags,
|
291
300
|
user_name=self.user_name,
|
292
301
|
volume_size_in_gb=self.volume_size_in_gb,
|
@@ -344,6 +353,7 @@ def get_database_instance(instance_id: Optional[str] = None,
|
|
344
353
|
read_replicas=pulumi.get(__ret__, 'read_replicas'),
|
345
354
|
region=pulumi.get(__ret__, 'region'),
|
346
355
|
settings=pulumi.get(__ret__, 'settings'),
|
356
|
+
snapshot_id=pulumi.get(__ret__, 'snapshot_id'),
|
347
357
|
tags=pulumi.get(__ret__, 'tags'),
|
348
358
|
user_name=pulumi.get(__ret__, 'user_name'),
|
349
359
|
volume_size_in_gb=pulumi.get(__ret__, 'volume_size_in_gb'),
|
@@ -398,6 +408,7 @@ def get_database_instance_output(instance_id: Optional[pulumi.Input[Optional[str
|
|
398
408
|
read_replicas=pulumi.get(__response__, 'read_replicas'),
|
399
409
|
region=pulumi.get(__response__, 'region'),
|
400
410
|
settings=pulumi.get(__response__, 'settings'),
|
411
|
+
snapshot_id=pulumi.get(__response__, 'snapshot_id'),
|
401
412
|
tags=pulumi.get(__response__, 'tags'),
|
402
413
|
user_name=pulumi.get(__response__, 'user_name'),
|
403
414
|
volume_size_in_gb=pulumi.get(__response__, 'volume_size_in_gb'),
|
@@ -27,7 +27,7 @@ class GetInstanceServerResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getInstanceServer.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_networks=None, project_id=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None,
|
30
|
+
def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_networks=None, project_id=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None, security_group_id=None, server_id=None, state=None, tags=None, type=None, user_data=None, zone=None):
|
31
31
|
if additional_volume_ids and not isinstance(additional_volume_ids, list):
|
32
32
|
raise TypeError("Expected argument 'additional_volume_ids' to be a list")
|
33
33
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
@@ -100,9 +100,6 @@ class GetInstanceServerResult:
|
|
100
100
|
if root_volumes and not isinstance(root_volumes, list):
|
101
101
|
raise TypeError("Expected argument 'root_volumes' to be a list")
|
102
102
|
pulumi.set(__self__, "root_volumes", root_volumes)
|
103
|
-
if routed_ip_enabled and not isinstance(routed_ip_enabled, bool):
|
104
|
-
raise TypeError("Expected argument 'routed_ip_enabled' to be a bool")
|
105
|
-
pulumi.set(__self__, "routed_ip_enabled", routed_ip_enabled)
|
106
103
|
if security_group_id and not isinstance(security_group_id, str):
|
107
104
|
raise TypeError("Expected argument 'security_group_id' to be a str")
|
108
105
|
pulumi.set(__self__, "security_group_id", security_group_id)
|
@@ -291,14 +288,6 @@ class GetInstanceServerResult:
|
|
291
288
|
def root_volumes(self) -> Sequence['outputs.GetInstanceServerRootVolumeResult']:
|
292
289
|
return pulumi.get(self, "root_volumes")
|
293
290
|
|
294
|
-
@property
|
295
|
-
@pulumi.getter(name="routedIpEnabled")
|
296
|
-
def routed_ip_enabled(self) -> bool:
|
297
|
-
"""
|
298
|
-
True if the server support routed ip only.
|
299
|
-
"""
|
300
|
-
return pulumi.get(self, "routed_ip_enabled")
|
301
|
-
|
302
291
|
@property
|
303
292
|
@pulumi.getter(name="securityGroupId")
|
304
293
|
def security_group_id(self) -> str:
|
@@ -381,7 +370,6 @@ class AwaitableGetInstanceServerResult(GetInstanceServerResult):
|
|
381
370
|
public_ips=self.public_ips,
|
382
371
|
replace_on_type_change=self.replace_on_type_change,
|
383
372
|
root_volumes=self.root_volumes,
|
384
|
-
routed_ip_enabled=self.routed_ip_enabled,
|
385
373
|
security_group_id=self.security_group_id,
|
386
374
|
server_id=self.server_id,
|
387
375
|
state=self.state,
|
@@ -438,7 +426,6 @@ def get_instance_server(name: Optional[str] = None,
|
|
438
426
|
public_ips=pulumi.get(__ret__, 'public_ips'),
|
439
427
|
replace_on_type_change=pulumi.get(__ret__, 'replace_on_type_change'),
|
440
428
|
root_volumes=pulumi.get(__ret__, 'root_volumes'),
|
441
|
-
routed_ip_enabled=pulumi.get(__ret__, 'routed_ip_enabled'),
|
442
429
|
security_group_id=pulumi.get(__ret__, 'security_group_id'),
|
443
430
|
server_id=pulumi.get(__ret__, 'server_id'),
|
444
431
|
state=pulumi.get(__ret__, 'state'),
|
@@ -492,7 +479,6 @@ def get_instance_server_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
492
479
|
public_ips=pulumi.get(__response__, 'public_ips'),
|
493
480
|
replace_on_type_change=pulumi.get(__response__, 'replace_on_type_change'),
|
494
481
|
root_volumes=pulumi.get(__response__, 'root_volumes'),
|
495
|
-
routed_ip_enabled=pulumi.get(__response__, 'routed_ip_enabled'),
|
496
482
|
security_group_id=pulumi.get(__response__, 'security_group_id'),
|
497
483
|
server_id=pulumi.get(__response__, 'server_id'),
|
498
484
|
state=pulumi.get(__response__, 'state'),
|