pulumiverse-scaleway 1.22.0a1736239435__py3-none-any.whl → 1.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +10 -0
- pulumiverse_scaleway/_inputs.py +326 -12
- pulumiverse_scaleway/_utilities.py +8 -4
- pulumiverse_scaleway/account_ssh_key.py +2 -2
- pulumiverse_scaleway/apple_silicon_server.py +124 -0
- pulumiverse_scaleway/baremetal_server.py +67 -7
- pulumiverse_scaleway/block_snapshot.py +2 -2
- pulumiverse_scaleway/block_volume.py +58 -11
- pulumiverse_scaleway/cockpit_grafana_user.py +28 -0
- pulumiverse_scaleway/cockpit_source.py +53 -3
- 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 +4 -4
- pulumiverse_scaleway/get_account_ssh_key.py +4 -4
- pulumiverse_scaleway/get_availability_zones.py +2 -2
- pulumiverse_scaleway/get_baremetal_offer.py +2 -2
- pulumiverse_scaleway/get_baremetal_option.py +2 -2
- pulumiverse_scaleway/get_baremetal_os.py +2 -2
- pulumiverse_scaleway/get_baremetal_server.py +2 -2
- pulumiverse_scaleway/get_billing_consumptions.py +2 -2
- pulumiverse_scaleway/get_billing_invoices.py +2 -2
- pulumiverse_scaleway/get_block_snapshot.py +4 -4
- pulumiverse_scaleway/get_block_volume.py +16 -5
- pulumiverse_scaleway/get_cockpit.py +2 -2
- pulumiverse_scaleway/get_cockpit_plan.py +2 -2
- pulumiverse_scaleway/get_cockpit_source.py +262 -0
- pulumiverse_scaleway/get_config.py +2 -2
- pulumiverse_scaleway/get_container.py +32 -6
- pulumiverse_scaleway/get_container_namespace.py +2 -2
- pulumiverse_scaleway/get_database.py +2 -2
- pulumiverse_scaleway/get_database_acl.py +2 -2
- pulumiverse_scaleway/get_database_backup.py +2 -2
- pulumiverse_scaleway/get_database_instance.py +14 -3
- pulumiverse_scaleway/get_database_privilege.py +2 -2
- pulumiverse_scaleway/get_domain_record.py +2 -2
- pulumiverse_scaleway/get_domain_zone.py +2 -2
- pulumiverse_scaleway/get_flexible_ip.py +2 -2
- pulumiverse_scaleway/get_flexible_ips.py +2 -2
- pulumiverse_scaleway/get_function.py +2 -2
- pulumiverse_scaleway/get_function_namespace.py +2 -2
- pulumiverse_scaleway/get_iam_api_key.py +2 -2
- pulumiverse_scaleway/get_iam_application.py +2 -2
- pulumiverse_scaleway/get_iam_group.py +2 -2
- pulumiverse_scaleway/get_iam_ssh_key.py +2 -2
- pulumiverse_scaleway/get_iam_user.py +2 -2
- pulumiverse_scaleway/get_instance_image.py +2 -2
- pulumiverse_scaleway/get_instance_ip.py +2 -2
- pulumiverse_scaleway/get_instance_placement_group.py +2 -2
- pulumiverse_scaleway/get_instance_private_nic.py +2 -2
- pulumiverse_scaleway/get_instance_security_group.py +2 -2
- pulumiverse_scaleway/get_instance_server.py +3 -17
- pulumiverse_scaleway/get_instance_servers.py +2 -2
- pulumiverse_scaleway/get_instance_snapshot.py +2 -2
- pulumiverse_scaleway/get_instance_volume.py +14 -3
- pulumiverse_scaleway/get_iot_device.py +2 -2
- pulumiverse_scaleway/get_iot_hub.py +2 -2
- pulumiverse_scaleway/get_ipam_ip.py +4 -4
- pulumiverse_scaleway/get_ipam_ips.py +4 -4
- pulumiverse_scaleway/get_k8s_version.py +2 -2
- pulumiverse_scaleway/get_kubernetes_cluster.py +2 -2
- pulumiverse_scaleway/get_kubernetes_node_pool.py +2 -2
- pulumiverse_scaleway/get_lb_acls.py +4 -4
- pulumiverse_scaleway/get_lb_backend.py +4 -4
- pulumiverse_scaleway/get_lb_backends.py +4 -4
- pulumiverse_scaleway/get_lb_frontend.py +4 -4
- pulumiverse_scaleway/get_lb_frontends.py +4 -4
- pulumiverse_scaleway/get_lb_ips.py +4 -4
- pulumiverse_scaleway/get_lb_route.py +4 -4
- pulumiverse_scaleway/get_lb_routes.py +4 -4
- pulumiverse_scaleway/get_lbs.py +4 -4
- pulumiverse_scaleway/get_loadbalancer.py +4 -4
- pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -4
- pulumiverse_scaleway/get_loadbalancer_ip.py +4 -4
- pulumiverse_scaleway/get_marketplace_image.py +2 -2
- pulumiverse_scaleway/get_mnq_sns.py +2 -2
- pulumiverse_scaleway/get_mnq_sqs.py +2 -2
- pulumiverse_scaleway/get_mongo_db_instance.py +2 -2
- pulumiverse_scaleway/get_object_bucket.py +4 -4
- pulumiverse_scaleway/get_object_bucket_policy.py +4 -4
- pulumiverse_scaleway/get_redis_cluster.py +2 -2
- pulumiverse_scaleway/get_registry_image.py +2 -2
- pulumiverse_scaleway/get_registry_image_tag.py +2 -2
- pulumiverse_scaleway/get_registry_namespace.py +2 -2
- pulumiverse_scaleway/get_secret.py +2 -2
- pulumiverse_scaleway/get_secret_version.py +2 -2
- pulumiverse_scaleway/get_tem_domain.py +2 -2
- pulumiverse_scaleway/get_vpc.py +2 -2
- pulumiverse_scaleway/get_vpc_gateway_network.py +2 -2
- pulumiverse_scaleway/get_vpc_private_network.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +2 -2
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +2 -2
- pulumiverse_scaleway/get_vpc_routes.py +2 -2
- pulumiverse_scaleway/get_vpcs.py +2 -2
- pulumiverse_scaleway/get_web_host_offer.py +2 -2
- pulumiverse_scaleway/get_webhosting.py +2 -2
- pulumiverse_scaleway/iam_policy.py +2 -2
- pulumiverse_scaleway/instance_ip.py +7 -21
- pulumiverse_scaleway/instance_server.py +13 -78
- 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 +12 -12
- 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 +60 -11
- pulumiverse_scaleway/outputs.py +353 -8
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +608 -0
- pulumiverse_scaleway/redis_cluster.py +49 -14
- pulumiverse_scaleway/sdb_database.py +2 -2
- pulumiverse_scaleway/secret_version.py +2 -2
- pulumiverse_scaleway/vpc.py +2 -2
- pulumiverse_scaleway/vpc_gateway_network.py +7 -7
- 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.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/METADATA +3 -3
- pulumiverse_scaleway-1.23.0.dist-info/RECORD +206 -0
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/WHEEL +1 -1
- pulumiverse_scaleway-1.22.0a1736239435.dist-info/RECORD +0 -204
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.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.
|
|
@@ -139,11 +139,11 @@ def get_account_project(name: Optional[str] = None,
|
|
|
139
139
|
def get_account_project_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
140
140
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
141
141
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
142
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountProjectResult]:
|
|
142
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountProjectResult]:
|
|
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.
|
|
@@ -158,7 +158,7 @@ def get_account_project_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
158
158
|
__args__['name'] = name
|
|
159
159
|
__args__['organizationId'] = organization_id
|
|
160
160
|
__args__['projectId'] = project_id
|
|
161
|
-
opts = pulumi.
|
|
161
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
162
162
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getAccountProject:getAccountProject', __args__, opts=opts, typ=GetAccountProjectResult)
|
|
163
163
|
return __ret__.apply(lambda __response__: GetAccountProjectResult(
|
|
164
164
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -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.
|
|
@@ -173,11 +173,11 @@ def get_account_ssh_key(name: Optional[str] = None,
|
|
|
173
173
|
def get_account_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
174
174
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
175
175
|
ssh_key_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
176
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountSshKeyResult]:
|
|
176
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountSshKeyResult]:
|
|
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.
|
|
@@ -190,7 +190,7 @@ def get_account_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
190
190
|
__args__['name'] = name
|
|
191
191
|
__args__['projectId'] = project_id
|
|
192
192
|
__args__['sshKeyId'] = ssh_key_id
|
|
193
|
-
opts = pulumi.
|
|
193
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
194
194
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getAccountSshKey:getAccountSshKey', __args__, opts=opts, typ=GetAccountSshKeyResult)
|
|
195
195
|
return __ret__.apply(lambda __response__: GetAccountSshKeyResult(
|
|
196
196
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -105,7 +105,7 @@ def get_availability_zones(region: Optional[str] = None,
|
|
|
105
105
|
region=pulumi.get(__ret__, 'region'),
|
|
106
106
|
zones=pulumi.get(__ret__, 'zones'))
|
|
107
107
|
def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
108
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAvailabilityZonesResult]:
|
|
108
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAvailabilityZonesResult]:
|
|
109
109
|
"""
|
|
110
110
|
The `get_availability_zones` data source is used to retrieve information about the available zones based on its Region.
|
|
111
111
|
|
|
@@ -131,7 +131,7 @@ def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]]
|
|
|
131
131
|
"""
|
|
132
132
|
__args__ = dict()
|
|
133
133
|
__args__['region'] = region
|
|
134
|
-
opts = pulumi.
|
|
134
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
135
135
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getAvailabilityZones:getAvailabilityZones', __args__, opts=opts, typ=GetAvailabilityZonesResult)
|
|
136
136
|
return __ret__.apply(lambda __response__: GetAvailabilityZonesResult(
|
|
137
137
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -212,7 +212,7 @@ def get_baremetal_offer_output(include_disabled: Optional[pulumi.Input[Optional[
|
|
|
212
212
|
offer_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
213
213
|
subscription_period: Optional[pulumi.Input[Optional[str]]] = None,
|
|
214
214
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
215
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBaremetalOfferResult]:
|
|
215
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBaremetalOfferResult]:
|
|
216
216
|
"""
|
|
217
217
|
Gets information about a baremetal offer. For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
|
|
218
218
|
|
|
@@ -228,7 +228,7 @@ def get_baremetal_offer_output(include_disabled: Optional[pulumi.Input[Optional[
|
|
|
228
228
|
__args__['offerId'] = offer_id
|
|
229
229
|
__args__['subscriptionPeriod'] = subscription_period
|
|
230
230
|
__args__['zone'] = zone
|
|
231
|
-
opts = pulumi.
|
|
231
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
232
232
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBaremetalOffer:getBaremetalOffer', __args__, opts=opts, typ=GetBaremetalOfferResult)
|
|
233
233
|
return __ret__.apply(lambda __response__: GetBaremetalOfferResult(
|
|
234
234
|
bandwidth=pulumi.get(__response__, 'bandwidth'),
|
|
@@ -132,7 +132,7 @@ def get_baremetal_option(name: Optional[str] = None,
|
|
|
132
132
|
def get_baremetal_option_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
133
133
|
option_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
134
134
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
135
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBaremetalOptionResult]:
|
|
135
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBaremetalOptionResult]:
|
|
136
136
|
"""
|
|
137
137
|
Gets information about a baremetal option.
|
|
138
138
|
For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
|
|
@@ -158,7 +158,7 @@ def get_baremetal_option_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
158
158
|
__args__['name'] = name
|
|
159
159
|
__args__['optionId'] = option_id
|
|
160
160
|
__args__['zone'] = zone
|
|
161
|
-
opts = pulumi.
|
|
161
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
162
162
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBaremetalOption:getBaremetalOption', __args__, opts=opts, typ=GetBaremetalOptionResult)
|
|
163
163
|
return __ret__.apply(lambda __response__: GetBaremetalOptionResult(
|
|
164
164
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -133,7 +133,7 @@ def get_baremetal_os_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
133
133
|
os_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
134
134
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
|
135
135
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
136
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBaremetalOsResult]:
|
|
136
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBaremetalOsResult]:
|
|
137
137
|
"""
|
|
138
138
|
Gets information about a baremetal operating system.
|
|
139
139
|
For more information, see [the documentation](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses).
|
|
@@ -164,7 +164,7 @@ def get_baremetal_os_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
164
164
|
__args__['osId'] = os_id
|
|
165
165
|
__args__['version'] = version
|
|
166
166
|
__args__['zone'] = zone
|
|
167
|
-
opts = pulumi.
|
|
167
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
168
168
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBaremetalOs:getBaremetalOs', __args__, opts=opts, typ=GetBaremetalOsResult)
|
|
169
169
|
return __ret__.apply(lambda __response__: GetBaremetalOsResult(
|
|
170
170
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -361,7 +361,7 @@ def get_baremetal_server_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
361
361
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
362
362
|
server_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
363
363
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
364
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBaremetalServerResult]:
|
|
364
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBaremetalServerResult]:
|
|
365
365
|
"""
|
|
366
366
|
Gets information about a baremetal server.
|
|
367
367
|
For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
|
|
@@ -389,7 +389,7 @@ def get_baremetal_server_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
389
389
|
__args__['projectId'] = project_id
|
|
390
390
|
__args__['serverId'] = server_id
|
|
391
391
|
__args__['zone'] = zone
|
|
392
|
-
opts = pulumi.
|
|
392
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
393
393
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBaremetalServer:getBaremetalServer', __args__, opts=opts, typ=GetBaremetalServerResult)
|
|
394
394
|
return __ret__.apply(lambda __response__: GetBaremetalServerResult(
|
|
395
395
|
description=pulumi.get(__response__, 'description'),
|
|
@@ -115,7 +115,7 @@ def get_billing_consumptions(project_id: Optional[str] = None,
|
|
|
115
115
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
116
116
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
117
117
|
def get_billing_consumptions_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
118
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBillingConsumptionsResult]:
|
|
118
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBillingConsumptionsResult]:
|
|
119
119
|
"""
|
|
120
120
|
Gets information about your Consumptions.
|
|
121
121
|
|
|
@@ -124,7 +124,7 @@ def get_billing_consumptions_output(project_id: Optional[pulumi.Input[Optional[s
|
|
|
124
124
|
"""
|
|
125
125
|
__args__ = dict()
|
|
126
126
|
__args__['projectId'] = project_id
|
|
127
|
-
opts = pulumi.
|
|
127
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
128
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBillingConsumptions:getBillingConsumptions', __args__, opts=opts, typ=GetBillingConsumptionsResult)
|
|
129
129
|
return __ret__.apply(lambda __response__: GetBillingConsumptionsResult(
|
|
130
130
|
consumptions=pulumi.get(__response__, 'consumptions'),
|
|
@@ -130,7 +130,7 @@ def get_billing_invoices(invoice_type: Optional[str] = None,
|
|
|
130
130
|
def get_billing_invoices_output(invoice_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
131
131
|
started_after: Optional[pulumi.Input[Optional[str]]] = None,
|
|
132
132
|
started_before: Optional[pulumi.Input[Optional[str]]] = None,
|
|
133
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBillingInvoicesResult]:
|
|
133
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBillingInvoicesResult]:
|
|
134
134
|
"""
|
|
135
135
|
Gets information about your Scaleway invoices.
|
|
136
136
|
|
|
@@ -143,7 +143,7 @@ def get_billing_invoices_output(invoice_type: Optional[pulumi.Input[Optional[str
|
|
|
143
143
|
__args__['invoiceType'] = invoice_type
|
|
144
144
|
__args__['startedAfter'] = started_after
|
|
145
145
|
__args__['startedBefore'] = started_before
|
|
146
|
-
opts = pulumi.
|
|
146
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
147
147
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBillingInvoices:getBillingInvoices', __args__, opts=opts, typ=GetBillingInvoicesResult)
|
|
148
148
|
return __ret__.apply(lambda __response__: GetBillingInvoicesResult(
|
|
149
149
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -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.
|
|
@@ -143,11 +143,11 @@ def get_block_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = None
|
|
|
143
143
|
snapshot_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
144
144
|
volume_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
145
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
146
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBlockSnapshotResult]:
|
|
146
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBlockSnapshotResult]:
|
|
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.
|
|
@@ -162,7 +162,7 @@ def get_block_snapshot_output(name: Optional[pulumi.Input[Optional[str]]] = None
|
|
|
162
162
|
__args__['snapshotId'] = snapshot_id
|
|
163
163
|
__args__['volumeId'] = volume_id
|
|
164
164
|
__args__['zone'] = zone
|
|
165
|
-
opts = pulumi.
|
|
165
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
166
166
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBlockSnapshot:getBlockSnapshot', __args__, opts=opts, typ=GetBlockSnapshotResult)
|
|
167
167
|
return __ret__.apply(lambda __response__: GetBlockSnapshotResult(
|
|
168
168
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -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'),
|
|
@@ -158,10 +168,10 @@ def get_block_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
158
168
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
159
169
|
volume_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
170
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBlockVolumeResult]:
|
|
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.
|
|
@@ -174,10 +184,11 @@ def get_block_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
174
184
|
__args__['projectId'] = project_id
|
|
175
185
|
__args__['volumeId'] = volume_id
|
|
176
186
|
__args__['zone'] = zone
|
|
177
|
-
opts = pulumi.
|
|
187
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
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'),
|
|
@@ -153,7 +153,7 @@ def get_cockpit(project_id: Optional[str] = None,
|
|
|
153
153
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
154
154
|
push_urls=pulumi.get(__ret__, 'push_urls'))
|
|
155
155
|
def get_cockpit_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
156
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCockpitResult]:
|
|
156
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCockpitResult]:
|
|
157
157
|
"""
|
|
158
158
|
> **Important:** The data source `Cockpit` has been deprecated and will no longer be supported. Instead, use resource `Cockpit`.
|
|
159
159
|
|
|
@@ -193,7 +193,7 @@ def get_cockpit_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
193
193
|
"""
|
|
194
194
|
__args__ = dict()
|
|
195
195
|
__args__['projectId'] = project_id
|
|
196
|
-
opts = pulumi.
|
|
196
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
197
197
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getCockpit:getCockpit', __args__, opts=opts, typ=GetCockpitResult)
|
|
198
198
|
return __ret__.apply(lambda __response__: GetCockpitResult(
|
|
199
199
|
endpoints=pulumi.get(__response__, 'endpoints'),
|
|
@@ -92,7 +92,7 @@ def get_cockpit_plan(name: Optional[str] = None,
|
|
|
92
92
|
id=pulumi.get(__ret__, 'id'),
|
|
93
93
|
name=pulumi.get(__ret__, 'name'))
|
|
94
94
|
def get_cockpit_plan_output(name: Optional[pulumi.Input[str]] = None,
|
|
95
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCockpitPlanResult]:
|
|
95
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCockpitPlanResult]:
|
|
96
96
|
"""
|
|
97
97
|
The `get_cockpit_plan` data source is used to fetch details about a specific Scaleway Cockpit pricing plan. This information can then be used to configure resources like `Cockpit`.
|
|
98
98
|
|
|
@@ -118,7 +118,7 @@ def get_cockpit_plan_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
118
118
|
"""
|
|
119
119
|
__args__ = dict()
|
|
120
120
|
__args__['name'] = name
|
|
121
|
-
opts = pulumi.
|
|
121
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
122
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getCockpitPlan:getCockpitPlan', __args__, opts=opts, typ=GetCockpitPlanResult)
|
|
123
123
|
return __ret__.apply(lambda __response__: GetCockpitPlanResult(
|
|
124
124
|
id=pulumi.get(__response__, 'id'),
|