pulumiverse-scaleway 1.35.0a1761031391__py3-none-any.whl → 1.39.0a1764841480__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 +38 -0
- pulumiverse_scaleway/_inputs.py +271 -166
- pulumiverse_scaleway/audittrail/__init__.py +10 -0
- pulumiverse_scaleway/audittrail/get_event.py +410 -0
- pulumiverse_scaleway/audittrail/outputs.py +234 -0
- pulumiverse_scaleway/baremetal_server.py +159 -0
- pulumiverse_scaleway/billing/get_consumptions.py +4 -0
- pulumiverse_scaleway/block/snapshot.py +78 -0
- pulumiverse_scaleway/block_snapshot.py +78 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +0 -42
- pulumiverse_scaleway/database_instance.py +105 -55
- pulumiverse_scaleway/database_user.py +6 -6
- pulumiverse_scaleway/databases/_inputs.py +97 -3
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +105 -55
- pulumiverse_scaleway/databases/outputs.py +127 -2
- pulumiverse_scaleway/databases/user.py +6 -6
- pulumiverse_scaleway/datawarehouse/__init__.py +13 -0
- pulumiverse_scaleway/datawarehouse/_inputs.py +149 -0
- pulumiverse_scaleway/datawarehouse/database.py +338 -0
- pulumiverse_scaleway/datawarehouse/deployment.py +821 -0
- pulumiverse_scaleway/datawarehouse/outputs.py +113 -0
- pulumiverse_scaleway/datawarehouse/user.py +451 -0
- pulumiverse_scaleway/domain/record.py +4 -4
- pulumiverse_scaleway/domain_record.py +4 -4
- pulumiverse_scaleway/edge_services_cache_stage.py +30 -0
- pulumiverse_scaleway/edge_services_dns_stage.py +28 -0
- pulumiverse_scaleway/elasticmetal/get_offer.py +2 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/server.py +159 -0
- pulumiverse_scaleway/file_filesystem.py +39 -35
- pulumiverse_scaleway/get_baremetal_offer.py +2 -0
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_billing_consumptions.py +4 -0
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_ip.py +14 -2
- pulumiverse_scaleway/get_instance_server.py +13 -83
- pulumiverse_scaleway/get_k8s_version.py +12 -1
- pulumiverse_scaleway/get_kubernetes_cluster.py +34 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_loadbalancer_certificate.py +60 -0
- pulumiverse_scaleway/iam/__init__.py +1 -0
- pulumiverse_scaleway/iam/get_policy.py +293 -0
- pulumiverse_scaleway/iam/outputs.py +52 -0
- pulumiverse_scaleway/inference/deployment.py +36 -0
- pulumiverse_scaleway/inference/model.py +7 -7
- pulumiverse_scaleway/inference_deployment.py +36 -0
- pulumiverse_scaleway/instance/_inputs.py +155 -144
- pulumiverse_scaleway/instance/get_ip.py +14 -2
- pulumiverse_scaleway/instance/get_server.py +13 -83
- pulumiverse_scaleway/instance/image.py +94 -40
- pulumiverse_scaleway/instance/outputs.py +164 -167
- pulumiverse_scaleway/instance/server.py +116 -244
- pulumiverse_scaleway/instance/user_data.py +4 -4
- pulumiverse_scaleway/instance/volume.py +14 -0
- pulumiverse_scaleway/instance_image.py +94 -40
- pulumiverse_scaleway/instance_server.py +116 -244
- pulumiverse_scaleway/instance_user_data.py +4 -4
- pulumiverse_scaleway/instance_volume.py +14 -0
- pulumiverse_scaleway/iot/device.py +0 -38
- pulumiverse_scaleway/iot/hub.py +11 -11
- pulumiverse_scaleway/iot/route.py +20 -20
- pulumiverse_scaleway/iot_device.py +0 -38
- pulumiverse_scaleway/iot_hub.py +11 -11
- pulumiverse_scaleway/iot_route.py +20 -20
- pulumiverse_scaleway/ipam/_inputs.py +6 -6
- pulumiverse_scaleway/ipam/ip.py +35 -7
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/ipam/outputs.py +4 -4
- pulumiverse_scaleway/ipam_ip.py +35 -7
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/key_manager_key.py +134 -25
- pulumiverse_scaleway/kubernetes/cluster.py +290 -4
- pulumiverse_scaleway/kubernetes/get_cluster.py +34 -1
- pulumiverse_scaleway/kubernetes/get_version.py +12 -1
- pulumiverse_scaleway/kubernetes/pool.py +7 -7
- pulumiverse_scaleway/kubernetes_cluster.py +290 -4
- pulumiverse_scaleway/kubernetes_node_pool.py +7 -7
- pulumiverse_scaleway/loadbalancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -0
- pulumiverse_scaleway/loadbalancers/_inputs.py +13 -13
- pulumiverse_scaleway/loadbalancers/get_certificate.py +60 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/outputs.py +9 -9
- pulumiverse_scaleway/loadbalancers/private_network.py +505 -0
- pulumiverse_scaleway/mongo_db_instance.py +14 -14
- pulumiverse_scaleway/mongodb/instance.py +14 -14
- pulumiverse_scaleway/network/gateway_network.py +7 -7
- pulumiverse_scaleway/object/__init__.py +1 -0
- pulumiverse_scaleway/object/bucket_policy.py +0 -64
- pulumiverse_scaleway/object/get.py +290 -0
- pulumiverse_scaleway/object/item.py +37 -7
- pulumiverse_scaleway/object_bucket_policy.py +0 -64
- pulumiverse_scaleway/object_item.py +37 -7
- pulumiverse_scaleway/observability/__init__.py +1 -0
- pulumiverse_scaleway/observability/get_grafana.py +103 -0
- pulumiverse_scaleway/observability/get_sources.py +6 -6
- pulumiverse_scaleway/observability/grafana_user.py +0 -42
- pulumiverse_scaleway/observability/outputs.py +2 -2
- pulumiverse_scaleway/outputs.py +304 -182
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/tem/domain.py +42 -0
- pulumiverse_scaleway/tem_domain.py +42 -0
- pulumiverse_scaleway/vpc_gateway_network.py +7 -7
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/RECORD +109 -96
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/top_level.txt +0 -0
|
@@ -17,6 +17,8 @@ from .. import _utilities
|
|
|
17
17
|
__all__ = [
|
|
18
18
|
'ImageAdditionalVolumeArgs',
|
|
19
19
|
'ImageAdditionalVolumeArgsDict',
|
|
20
|
+
'ImageRootVolumeArgs',
|
|
21
|
+
'ImageRootVolumeArgsDict',
|
|
20
22
|
'PrivateNicPrivateIpArgs',
|
|
21
23
|
'PrivateNicPrivateIpArgsDict',
|
|
22
24
|
'SecurityGroupInboundRuleArgs',
|
|
@@ -27,6 +29,8 @@ __all__ = [
|
|
|
27
29
|
'SecurityGroupRulesInboundRuleArgsDict',
|
|
28
30
|
'SecurityGroupRulesOutboundRuleArgs',
|
|
29
31
|
'SecurityGroupRulesOutboundRuleArgsDict',
|
|
32
|
+
'ServerFilesystemArgs',
|
|
33
|
+
'ServerFilesystemArgsDict',
|
|
30
34
|
'ServerPrivateIpArgs',
|
|
31
35
|
'ServerPrivateIpArgsDict',
|
|
32
36
|
'ServerPrivateNetworkArgs',
|
|
@@ -43,34 +47,14 @@ MYPY = False
|
|
|
43
47
|
|
|
44
48
|
if not MYPY:
|
|
45
49
|
class ImageAdditionalVolumeArgsDict(TypedDict):
|
|
46
|
-
creation_date: NotRequired[pulumi.Input[_builtins.str]]
|
|
47
|
-
"""
|
|
48
|
-
Date of the volume creation.
|
|
49
|
-
"""
|
|
50
|
-
export_uri: NotRequired[pulumi.Input[_builtins.str]]
|
|
51
|
-
"""
|
|
52
|
-
The export URI of the volume.
|
|
53
|
-
"""
|
|
54
50
|
id: NotRequired[pulumi.Input[_builtins.str]]
|
|
55
51
|
"""
|
|
56
52
|
ID of the server containing the volume.
|
|
57
53
|
"""
|
|
58
|
-
modification_date: NotRequired[pulumi.Input[_builtins.str]]
|
|
59
|
-
"""
|
|
60
|
-
Date of volume latest update.
|
|
61
|
-
"""
|
|
62
54
|
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
63
55
|
"""
|
|
64
56
|
The name of the image. If not provided it will be randomly generated.
|
|
65
57
|
"""
|
|
66
|
-
organization: NotRequired[pulumi.Input[_builtins.str]]
|
|
67
|
-
"""
|
|
68
|
-
The organization ID the volume is associated with.
|
|
69
|
-
"""
|
|
70
|
-
project: NotRequired[pulumi.Input[_builtins.str]]
|
|
71
|
-
"""
|
|
72
|
-
ID of the project the volume is associated with
|
|
73
|
-
"""
|
|
74
58
|
server: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
75
59
|
"""
|
|
76
60
|
Description of the server containing the volume (in case the image is a backup from a server).
|
|
@@ -79,21 +63,13 @@ if not MYPY:
|
|
|
79
63
|
"""
|
|
80
64
|
The size of the volume.
|
|
81
65
|
"""
|
|
82
|
-
state: NotRequired[pulumi.Input[_builtins.str]]
|
|
83
|
-
"""
|
|
84
|
-
State of the volume.
|
|
85
|
-
"""
|
|
86
66
|
tags: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
87
67
|
"""
|
|
88
68
|
A list of tags to apply to the image.
|
|
89
69
|
"""
|
|
90
70
|
volume_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
91
71
|
"""
|
|
92
|
-
The type of volume, possible values are `l_ssd` and `
|
|
93
|
-
"""
|
|
94
|
-
zone: NotRequired[pulumi.Input[_builtins.str]]
|
|
95
|
-
"""
|
|
96
|
-
The zone in which the image should be created.
|
|
72
|
+
The type of volume, possible values are `l_ssd` and `sbs_snapshot`.
|
|
97
73
|
"""
|
|
98
74
|
elif False:
|
|
99
75
|
ImageAdditionalVolumeArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -101,84 +77,32 @@ elif False:
|
|
|
101
77
|
@pulumi.input_type
|
|
102
78
|
class ImageAdditionalVolumeArgs:
|
|
103
79
|
def __init__(__self__, *,
|
|
104
|
-
creation_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
105
|
-
export_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
106
80
|
id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
107
|
-
modification_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
108
81
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
109
|
-
organization: Optional[pulumi.Input[_builtins.str]] = None,
|
|
110
|
-
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
82
|
server: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
112
83
|
size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
113
|
-
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
84
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
115
|
-
volume_type: Optional[pulumi.Input[_builtins.str]] = None
|
|
116
|
-
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
85
|
+
volume_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
117
86
|
"""
|
|
118
|
-
:param pulumi.Input[_builtins.str] creation_date: Date of the volume creation.
|
|
119
|
-
:param pulumi.Input[_builtins.str] export_uri: The export URI of the volume.
|
|
120
87
|
:param pulumi.Input[_builtins.str] id: ID of the server containing the volume.
|
|
121
|
-
:param pulumi.Input[_builtins.str] modification_date: Date of volume latest update.
|
|
122
88
|
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
123
|
-
:param pulumi.Input[_builtins.str] organization: The organization ID the volume is associated with.
|
|
124
|
-
:param pulumi.Input[_builtins.str] project: ID of the project the volume is associated with
|
|
125
89
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] server: Description of the server containing the volume (in case the image is a backup from a server).
|
|
126
90
|
:param pulumi.Input[_builtins.int] size: The size of the volume.
|
|
127
|
-
:param pulumi.Input[_builtins.str] state: State of the volume.
|
|
128
91
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags to apply to the image.
|
|
129
|
-
:param pulumi.Input[_builtins.str] volume_type: The type of volume, possible values are `l_ssd` and `
|
|
130
|
-
:param pulumi.Input[_builtins.str] zone: The zone in which the image should be created.
|
|
92
|
+
:param pulumi.Input[_builtins.str] volume_type: The type of volume, possible values are `l_ssd` and `sbs_snapshot`.
|
|
131
93
|
"""
|
|
132
|
-
if creation_date is not None:
|
|
133
|
-
pulumi.set(__self__, "creation_date", creation_date)
|
|
134
|
-
if export_uri is not None:
|
|
135
|
-
pulumi.set(__self__, "export_uri", export_uri)
|
|
136
94
|
if id is not None:
|
|
137
95
|
pulumi.set(__self__, "id", id)
|
|
138
|
-
if modification_date is not None:
|
|
139
|
-
pulumi.set(__self__, "modification_date", modification_date)
|
|
140
96
|
if name is not None:
|
|
141
97
|
pulumi.set(__self__, "name", name)
|
|
142
|
-
if organization is not None:
|
|
143
|
-
pulumi.set(__self__, "organization", organization)
|
|
144
|
-
if project is not None:
|
|
145
|
-
pulumi.set(__self__, "project", project)
|
|
146
98
|
if server is not None:
|
|
147
99
|
pulumi.set(__self__, "server", server)
|
|
148
100
|
if size is not None:
|
|
149
101
|
pulumi.set(__self__, "size", size)
|
|
150
|
-
if state is not None:
|
|
151
|
-
pulumi.set(__self__, "state", state)
|
|
152
102
|
if tags is not None:
|
|
153
103
|
pulumi.set(__self__, "tags", tags)
|
|
154
104
|
if volume_type is not None:
|
|
155
105
|
pulumi.set(__self__, "volume_type", volume_type)
|
|
156
|
-
if zone is not None:
|
|
157
|
-
pulumi.set(__self__, "zone", zone)
|
|
158
|
-
|
|
159
|
-
@_builtins.property
|
|
160
|
-
@pulumi.getter(name="creationDate")
|
|
161
|
-
def creation_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
162
|
-
"""
|
|
163
|
-
Date of the volume creation.
|
|
164
|
-
"""
|
|
165
|
-
return pulumi.get(self, "creation_date")
|
|
166
|
-
|
|
167
|
-
@creation_date.setter
|
|
168
|
-
def creation_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
169
|
-
pulumi.set(self, "creation_date", value)
|
|
170
|
-
|
|
171
|
-
@_builtins.property
|
|
172
|
-
@pulumi.getter(name="exportUri")
|
|
173
|
-
def export_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
174
|
-
"""
|
|
175
|
-
The export URI of the volume.
|
|
176
|
-
"""
|
|
177
|
-
return pulumi.get(self, "export_uri")
|
|
178
|
-
|
|
179
|
-
@export_uri.setter
|
|
180
|
-
def export_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
181
|
-
pulumi.set(self, "export_uri", value)
|
|
182
106
|
|
|
183
107
|
@_builtins.property
|
|
184
108
|
@pulumi.getter
|
|
@@ -192,18 +116,6 @@ class ImageAdditionalVolumeArgs:
|
|
|
192
116
|
def id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
193
117
|
pulumi.set(self, "id", value)
|
|
194
118
|
|
|
195
|
-
@_builtins.property
|
|
196
|
-
@pulumi.getter(name="modificationDate")
|
|
197
|
-
def modification_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
198
|
-
"""
|
|
199
|
-
Date of volume latest update.
|
|
200
|
-
"""
|
|
201
|
-
return pulumi.get(self, "modification_date")
|
|
202
|
-
|
|
203
|
-
@modification_date.setter
|
|
204
|
-
def modification_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
205
|
-
pulumi.set(self, "modification_date", value)
|
|
206
|
-
|
|
207
119
|
@_builtins.property
|
|
208
120
|
@pulumi.getter
|
|
209
121
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -216,30 +128,6 @@ class ImageAdditionalVolumeArgs:
|
|
|
216
128
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
217
129
|
pulumi.set(self, "name", value)
|
|
218
130
|
|
|
219
|
-
@_builtins.property
|
|
220
|
-
@pulumi.getter
|
|
221
|
-
def organization(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
222
|
-
"""
|
|
223
|
-
The organization ID the volume is associated with.
|
|
224
|
-
"""
|
|
225
|
-
return pulumi.get(self, "organization")
|
|
226
|
-
|
|
227
|
-
@organization.setter
|
|
228
|
-
def organization(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
229
|
-
pulumi.set(self, "organization", value)
|
|
230
|
-
|
|
231
|
-
@_builtins.property
|
|
232
|
-
@pulumi.getter
|
|
233
|
-
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
234
|
-
"""
|
|
235
|
-
ID of the project the volume is associated with
|
|
236
|
-
"""
|
|
237
|
-
return pulumi.get(self, "project")
|
|
238
|
-
|
|
239
|
-
@project.setter
|
|
240
|
-
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
241
|
-
pulumi.set(self, "project", value)
|
|
242
|
-
|
|
243
131
|
@_builtins.property
|
|
244
132
|
@pulumi.getter
|
|
245
133
|
def server(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
@@ -264,18 +152,6 @@ class ImageAdditionalVolumeArgs:
|
|
|
264
152
|
def size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
265
153
|
pulumi.set(self, "size", value)
|
|
266
154
|
|
|
267
|
-
@_builtins.property
|
|
268
|
-
@pulumi.getter
|
|
269
|
-
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
270
|
-
"""
|
|
271
|
-
State of the volume.
|
|
272
|
-
"""
|
|
273
|
-
return pulumi.get(self, "state")
|
|
274
|
-
|
|
275
|
-
@state.setter
|
|
276
|
-
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
277
|
-
pulumi.set(self, "state", value)
|
|
278
|
-
|
|
279
155
|
@_builtins.property
|
|
280
156
|
@pulumi.getter
|
|
281
157
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
@@ -292,7 +168,7 @@ class ImageAdditionalVolumeArgs:
|
|
|
292
168
|
@pulumi.getter(name="volumeType")
|
|
293
169
|
def volume_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
294
170
|
"""
|
|
295
|
-
The type of volume, possible values are `l_ssd` and `
|
|
171
|
+
The type of volume, possible values are `l_ssd` and `sbs_snapshot`.
|
|
296
172
|
"""
|
|
297
173
|
return pulumi.get(self, "volume_type")
|
|
298
174
|
|
|
@@ -300,17 +176,97 @@ class ImageAdditionalVolumeArgs:
|
|
|
300
176
|
def volume_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
301
177
|
pulumi.set(self, "volume_type", value)
|
|
302
178
|
|
|
179
|
+
|
|
180
|
+
if not MYPY:
|
|
181
|
+
class ImageRootVolumeArgsDict(TypedDict):
|
|
182
|
+
id: NotRequired[pulumi.Input[_builtins.str]]
|
|
183
|
+
"""
|
|
184
|
+
ID of the server containing the volume.
|
|
185
|
+
"""
|
|
186
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
187
|
+
"""
|
|
188
|
+
The name of the image. If not provided it will be randomly generated.
|
|
189
|
+
"""
|
|
190
|
+
size: NotRequired[pulumi.Input[_builtins.int]]
|
|
191
|
+
"""
|
|
192
|
+
The size of the volume.
|
|
193
|
+
"""
|
|
194
|
+
volume_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
195
|
+
"""
|
|
196
|
+
The type of volume, possible values are `l_ssd` and `sbs_snapshot`.
|
|
197
|
+
"""
|
|
198
|
+
elif False:
|
|
199
|
+
ImageRootVolumeArgsDict: TypeAlias = Mapping[str, Any]
|
|
200
|
+
|
|
201
|
+
@pulumi.input_type
|
|
202
|
+
class ImageRootVolumeArgs:
|
|
203
|
+
def __init__(__self__, *,
|
|
204
|
+
id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
206
|
+
size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
207
|
+
volume_type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
208
|
+
"""
|
|
209
|
+
:param pulumi.Input[_builtins.str] id: ID of the server containing the volume.
|
|
210
|
+
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
211
|
+
:param pulumi.Input[_builtins.int] size: The size of the volume.
|
|
212
|
+
:param pulumi.Input[_builtins.str] volume_type: The type of volume, possible values are `l_ssd` and `sbs_snapshot`.
|
|
213
|
+
"""
|
|
214
|
+
if id is not None:
|
|
215
|
+
pulumi.set(__self__, "id", id)
|
|
216
|
+
if name is not None:
|
|
217
|
+
pulumi.set(__self__, "name", name)
|
|
218
|
+
if size is not None:
|
|
219
|
+
pulumi.set(__self__, "size", size)
|
|
220
|
+
if volume_type is not None:
|
|
221
|
+
pulumi.set(__self__, "volume_type", volume_type)
|
|
222
|
+
|
|
303
223
|
@_builtins.property
|
|
304
224
|
@pulumi.getter
|
|
305
|
-
def
|
|
225
|
+
def id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
306
226
|
"""
|
|
307
|
-
|
|
227
|
+
ID of the server containing the volume.
|
|
308
228
|
"""
|
|
309
|
-
return pulumi.get(self, "
|
|
229
|
+
return pulumi.get(self, "id")
|
|
310
230
|
|
|
311
|
-
@
|
|
312
|
-
def
|
|
313
|
-
pulumi.set(self, "
|
|
231
|
+
@id.setter
|
|
232
|
+
def id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
233
|
+
pulumi.set(self, "id", value)
|
|
234
|
+
|
|
235
|
+
@_builtins.property
|
|
236
|
+
@pulumi.getter
|
|
237
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
238
|
+
"""
|
|
239
|
+
The name of the image. If not provided it will be randomly generated.
|
|
240
|
+
"""
|
|
241
|
+
return pulumi.get(self, "name")
|
|
242
|
+
|
|
243
|
+
@name.setter
|
|
244
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
245
|
+
pulumi.set(self, "name", value)
|
|
246
|
+
|
|
247
|
+
@_builtins.property
|
|
248
|
+
@pulumi.getter
|
|
249
|
+
def size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
250
|
+
"""
|
|
251
|
+
The size of the volume.
|
|
252
|
+
"""
|
|
253
|
+
return pulumi.get(self, "size")
|
|
254
|
+
|
|
255
|
+
@size.setter
|
|
256
|
+
def size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
257
|
+
pulumi.set(self, "size", value)
|
|
258
|
+
|
|
259
|
+
@_builtins.property
|
|
260
|
+
@pulumi.getter(name="volumeType")
|
|
261
|
+
def volume_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
262
|
+
"""
|
|
263
|
+
The type of volume, possible values are `l_ssd` and `sbs_snapshot`.
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "volume_type")
|
|
266
|
+
|
|
267
|
+
@volume_type.setter
|
|
268
|
+
def volume_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
269
|
+
pulumi.set(self, "volume_type", value)
|
|
314
270
|
|
|
315
271
|
|
|
316
272
|
if not MYPY:
|
|
@@ -905,6 +861,58 @@ class SecurityGroupRulesOutboundRuleArgs:
|
|
|
905
861
|
pulumi.set(self, "protocol", value)
|
|
906
862
|
|
|
907
863
|
|
|
864
|
+
if not MYPY:
|
|
865
|
+
class ServerFilesystemArgsDict(TypedDict):
|
|
866
|
+
filesystem_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
867
|
+
"""
|
|
868
|
+
The unique ID of the filesystem attached to the server.
|
|
869
|
+
"""
|
|
870
|
+
status: NotRequired[pulumi.Input[_builtins.str]]
|
|
871
|
+
"""
|
|
872
|
+
The state of the filesystem
|
|
873
|
+
"""
|
|
874
|
+
elif False:
|
|
875
|
+
ServerFilesystemArgsDict: TypeAlias = Mapping[str, Any]
|
|
876
|
+
|
|
877
|
+
@pulumi.input_type
|
|
878
|
+
class ServerFilesystemArgs:
|
|
879
|
+
def __init__(__self__, *,
|
|
880
|
+
filesystem_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
881
|
+
status: Optional[pulumi.Input[_builtins.str]] = None):
|
|
882
|
+
"""
|
|
883
|
+
:param pulumi.Input[_builtins.str] filesystem_id: The unique ID of the filesystem attached to the server.
|
|
884
|
+
:param pulumi.Input[_builtins.str] status: The state of the filesystem
|
|
885
|
+
"""
|
|
886
|
+
if filesystem_id is not None:
|
|
887
|
+
pulumi.set(__self__, "filesystem_id", filesystem_id)
|
|
888
|
+
if status is not None:
|
|
889
|
+
pulumi.set(__self__, "status", status)
|
|
890
|
+
|
|
891
|
+
@_builtins.property
|
|
892
|
+
@pulumi.getter(name="filesystemId")
|
|
893
|
+
def filesystem_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
894
|
+
"""
|
|
895
|
+
The unique ID of the filesystem attached to the server.
|
|
896
|
+
"""
|
|
897
|
+
return pulumi.get(self, "filesystem_id")
|
|
898
|
+
|
|
899
|
+
@filesystem_id.setter
|
|
900
|
+
def filesystem_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
901
|
+
pulumi.set(self, "filesystem_id", value)
|
|
902
|
+
|
|
903
|
+
@_builtins.property
|
|
904
|
+
@pulumi.getter
|
|
905
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
906
|
+
"""
|
|
907
|
+
The state of the filesystem
|
|
908
|
+
"""
|
|
909
|
+
return pulumi.get(self, "status")
|
|
910
|
+
|
|
911
|
+
@status.setter
|
|
912
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
913
|
+
pulumi.set(self, "status", value)
|
|
914
|
+
|
|
915
|
+
|
|
908
916
|
if not MYPY:
|
|
909
917
|
class ServerPrivateIpArgsDict(TypedDict):
|
|
910
918
|
address: NotRequired[pulumi.Input[_builtins.str]]
|
|
@@ -1232,13 +1240,14 @@ if not MYPY:
|
|
|
1232
1240
|
"""
|
|
1233
1241
|
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1234
1242
|
"""
|
|
1235
|
-
|
|
1243
|
+
Name of the root volume.
|
|
1236
1244
|
"""
|
|
1237
1245
|
sbs_iops: NotRequired[pulumi.Input[_builtins.int]]
|
|
1238
1246
|
"""
|
|
1239
1247
|
Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
1240
1248
|
|
|
1241
|
-
> **Important:**
|
|
1249
|
+
> **Important:** It is not possible to change `root_volume.size_in_gb` for local volumes (`l_ssd`). Changes to this field will recreate the server.
|
|
1250
|
+
It is possible to increase `root_volume.size_in_gb` for SBS volumes, but they cannot be resized down without recreating the server.
|
|
1242
1251
|
"""
|
|
1243
1252
|
size_in_gb: NotRequired[pulumi.Input[_builtins.int]]
|
|
1244
1253
|
"""
|
|
@@ -1271,10 +1280,11 @@ class ServerRootVolumeArgs:
|
|
|
1271
1280
|
"""
|
|
1272
1281
|
:param pulumi.Input[_builtins.bool] boot: Set the volume where the boot the server
|
|
1273
1282
|
:param pulumi.Input[_builtins.bool] delete_on_termination: Forces deletion of the root volume on instance termination.
|
|
1274
|
-
:param pulumi.Input[_builtins.str] name:
|
|
1283
|
+
:param pulumi.Input[_builtins.str] name: Name of the root volume.
|
|
1275
1284
|
:param pulumi.Input[_builtins.int] sbs_iops: Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
1276
1285
|
|
|
1277
|
-
> **Important:**
|
|
1286
|
+
> **Important:** It is not possible to change `root_volume.size_in_gb` for local volumes (`l_ssd`). Changes to this field will recreate the server.
|
|
1287
|
+
It is possible to increase `root_volume.size_in_gb` for SBS volumes, but they cannot be resized down without recreating the server.
|
|
1278
1288
|
:param pulumi.Input[_builtins.int] size_in_gb: Size of the root volume in gigabytes.
|
|
1279
1289
|
To find the right size use [this endpoint](https://www.scaleway.com/en/developers/api/instance/#path-instances-list-all-instances) and
|
|
1280
1290
|
check the `volumes_constraint.{min|max}_size` (in bytes) for your `commercial_type`.
|
|
@@ -1325,7 +1335,7 @@ class ServerRootVolumeArgs:
|
|
|
1325
1335
|
@pulumi.getter
|
|
1326
1336
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1327
1337
|
"""
|
|
1328
|
-
|
|
1338
|
+
Name of the root volume.
|
|
1329
1339
|
"""
|
|
1330
1340
|
return pulumi.get(self, "name")
|
|
1331
1341
|
|
|
@@ -1339,7 +1349,8 @@ class ServerRootVolumeArgs:
|
|
|
1339
1349
|
"""
|
|
1340
1350
|
Choose IOPS of your sbs volume, has to be used with `sbs_volume` for root volume type.
|
|
1341
1351
|
|
|
1342
|
-
> **Important:**
|
|
1352
|
+
> **Important:** It is not possible to change `root_volume.size_in_gb` for local volumes (`l_ssd`). Changes to this field will recreate the server.
|
|
1353
|
+
It is possible to increase `root_volume.size_in_gb` for SBS volumes, but they cannot be resized down without recreating the server.
|
|
1343
1354
|
"""
|
|
1344
1355
|
return pulumi.get(self, "sbs_iops")
|
|
1345
1356
|
|
|
@@ -92,7 +92,7 @@ class GetIpResult:
|
|
|
92
92
|
|
|
93
93
|
@_builtins.property
|
|
94
94
|
@pulumi.getter(name="projectId")
|
|
95
|
-
def project_id(self) -> _builtins.str:
|
|
95
|
+
def project_id(self) -> Optional[_builtins.str]:
|
|
96
96
|
return pulumi.get(self, "project_id")
|
|
97
97
|
|
|
98
98
|
@_builtins.property
|
|
@@ -123,7 +123,7 @@ class GetIpResult:
|
|
|
123
123
|
|
|
124
124
|
@_builtins.property
|
|
125
125
|
@pulumi.getter
|
|
126
|
-
def zone(self) -> _builtins.str:
|
|
126
|
+
def zone(self) -> Optional[_builtins.str]:
|
|
127
127
|
return pulumi.get(self, "zone")
|
|
128
128
|
|
|
129
129
|
|
|
@@ -147,6 +147,8 @@ class AwaitableGetIpResult(GetIpResult):
|
|
|
147
147
|
|
|
148
148
|
def get_ip(address: Optional[_builtins.str] = None,
|
|
149
149
|
id: Optional[_builtins.str] = None,
|
|
150
|
+
project_id: Optional[_builtins.str] = None,
|
|
151
|
+
zone: Optional[_builtins.str] = None,
|
|
150
152
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpResult:
|
|
151
153
|
"""
|
|
152
154
|
Gets information about an instance IP.
|
|
@@ -156,10 +158,14 @@ def get_ip(address: Optional[_builtins.str] = None,
|
|
|
156
158
|
Only one of `address` and `id` should be specified.
|
|
157
159
|
:param _builtins.str id: The ID of the IP address to retrieve
|
|
158
160
|
Only one of `address` and `id` should be specified.
|
|
161
|
+
:param _builtins.str project_id: `project_id`) The ID of the project the IP is associated with.
|
|
162
|
+
:param _builtins.str zone: `zone`) The zone in which the IP should be reserved.
|
|
159
163
|
"""
|
|
160
164
|
__args__ = dict()
|
|
161
165
|
__args__['address'] = address
|
|
162
166
|
__args__['id'] = id
|
|
167
|
+
__args__['projectId'] = project_id
|
|
168
|
+
__args__['zone'] = zone
|
|
163
169
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
164
170
|
__ret__ = pulumi.runtime.invoke('scaleway:instance/getIp:getIp', __args__, opts=opts, typ=GetIpResult).value
|
|
165
171
|
|
|
@@ -176,6 +182,8 @@ def get_ip(address: Optional[_builtins.str] = None,
|
|
|
176
182
|
zone=pulumi.get(__ret__, 'zone'))
|
|
177
183
|
def get_ip_output(address: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
178
184
|
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
185
|
+
project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
186
|
+
zone: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
179
187
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpResult]:
|
|
180
188
|
"""
|
|
181
189
|
Gets information about an instance IP.
|
|
@@ -185,10 +193,14 @@ def get_ip_output(address: Optional[pulumi.Input[Optional[_builtins.str]]] = Non
|
|
|
185
193
|
Only one of `address` and `id` should be specified.
|
|
186
194
|
:param _builtins.str id: The ID of the IP address to retrieve
|
|
187
195
|
Only one of `address` and `id` should be specified.
|
|
196
|
+
:param _builtins.str project_id: `project_id`) The ID of the project the IP is associated with.
|
|
197
|
+
:param _builtins.str zone: `zone`) The zone in which the IP should be reserved.
|
|
188
198
|
"""
|
|
189
199
|
__args__ = dict()
|
|
190
200
|
__args__['address'] = address
|
|
191
201
|
__args__['id'] = id
|
|
202
|
+
__args__['projectId'] = project_id
|
|
203
|
+
__args__['zone'] = zone
|
|
192
204
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
205
|
__ret__ = pulumi.runtime.invoke_output('scaleway:instance/getIp:getIp', __args__, opts=opts, typ=GetIpResult)
|
|
194
206
|
return __ret__.apply(lambda __response__: GetIpResult(
|