pulumiverse-scaleway 1.16.0a1730122081__py3-none-any.whl → 1.17.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.

Files changed (34) hide show
  1. pulumiverse_scaleway/__init__.py +10 -0
  2. pulumiverse_scaleway/_inputs.py +165 -60
  3. pulumiverse_scaleway/block_snapshot.py +37 -27
  4. pulumiverse_scaleway/block_volume.py +49 -43
  5. pulumiverse_scaleway/cockpit.py +39 -24
  6. pulumiverse_scaleway/cockpit_alert_manager.py +42 -38
  7. pulumiverse_scaleway/cockpit_grafana_user.py +39 -31
  8. pulumiverse_scaleway/cockpit_source.py +86 -50
  9. pulumiverse_scaleway/cockpit_token.py +45 -27
  10. pulumiverse_scaleway/database_instance.py +13 -8
  11. pulumiverse_scaleway/domain_record.py +88 -46
  12. pulumiverse_scaleway/domain_zone.py +47 -75
  13. pulumiverse_scaleway/get_block_snapshot.py +16 -12
  14. pulumiverse_scaleway/get_block_volume.py +10 -8
  15. pulumiverse_scaleway/get_cockpit.py +44 -19
  16. pulumiverse_scaleway/get_cockpit_plan.py +18 -6
  17. pulumiverse_scaleway/get_domain_record.py +40 -34
  18. pulumiverse_scaleway/get_domain_zone.py +12 -36
  19. pulumiverse_scaleway/get_mnq_sns.py +150 -0
  20. pulumiverse_scaleway/get_secret.py +77 -29
  21. pulumiverse_scaleway/get_secret_version.py +75 -38
  22. pulumiverse_scaleway/iam_policy.py +46 -0
  23. pulumiverse_scaleway/instance_server.py +56 -4
  24. pulumiverse_scaleway/loadbalancer_frontend.py +4 -4
  25. pulumiverse_scaleway/outputs.py +169 -55
  26. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  27. pulumiverse_scaleway/secret.py +162 -59
  28. pulumiverse_scaleway/secret_version.py +59 -54
  29. pulumiverse_scaleway/tem_domain.py +9 -4
  30. pulumiverse_scaleway/tem_webhook.py +640 -0
  31. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/METADATA +1 -1
  32. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/RECORD +34 -32
  33. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/WHEEL +0 -0
  34. {pulumiverse_scaleway-1.16.0a1730122081.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/top_level.txt +0 -0
@@ -26,7 +26,7 @@ class GetSecretVersionResult:
26
26
  """
27
27
  A collection of values returned by getSecretVersion.
28
28
  """
29
- def __init__(__self__, created_at=None, data=None, description=None, id=None, project_id=None, region=None, revision=None, secret_id=None, secret_name=None, status=None, updated_at=None):
29
+ def __init__(__self__, created_at=None, data=None, description=None, id=None, organization_id=None, project_id=None, region=None, revision=None, secret_id=None, secret_name=None, status=None, updated_at=None):
30
30
  if created_at and not isinstance(created_at, str):
31
31
  raise TypeError("Expected argument 'created_at' to be a str")
32
32
  pulumi.set(__self__, "created_at", created_at)
@@ -39,6 +39,9 @@ class GetSecretVersionResult:
39
39
  if id and not isinstance(id, str):
40
40
  raise TypeError("Expected argument 'id' to be a str")
41
41
  pulumi.set(__self__, "id", id)
42
+ if organization_id and not isinstance(organization_id, str):
43
+ raise TypeError("Expected argument 'organization_id' to be a str")
44
+ pulumi.set(__self__, "organization_id", organization_id)
42
45
  if project_id and not isinstance(project_id, str):
43
46
  raise TypeError("Expected argument 'project_id' to be a str")
44
47
  pulumi.set(__self__, "project_id", project_id)
@@ -65,7 +68,7 @@ class GetSecretVersionResult:
65
68
  @pulumi.getter(name="createdAt")
66
69
  def created_at(self) -> str:
67
70
  """
68
- Date and time of secret version's creation (RFC 3339 format).
71
+ The date and time of the secret version's creation in RFC 3339 format.
69
72
  """
70
73
  return pulumi.get(self, "created_at")
71
74
 
@@ -73,7 +76,7 @@ class GetSecretVersionResult:
73
76
  @pulumi.getter
74
77
  def data(self) -> str:
75
78
  """
76
- The data payload of the secret version. more on the data section
79
+ The data payload of the secret version. This is a sensitive attribute containing the secret value. Learn more in the [data section](https://www.terraform.io/#data-information).
77
80
  """
78
81
  return pulumi.get(self, "data")
79
82
 
@@ -81,7 +84,7 @@ class GetSecretVersionResult:
81
84
  @pulumi.getter
82
85
  def description(self) -> str:
83
86
  """
84
- (Optional) Description of the secret version (e.g. `my-new-description`).
87
+ (Optional) The description of the secret version (e.g. `my-new-description`).
85
88
  """
86
89
  return pulumi.get(self, "description")
87
90
 
@@ -93,6 +96,11 @@ class GetSecretVersionResult:
93
96
  """
94
97
  return pulumi.get(self, "id")
95
98
 
99
+ @property
100
+ @pulumi.getter(name="organizationId")
101
+ def organization_id(self) -> str:
102
+ return pulumi.get(self, "organization_id")
103
+
96
104
  @property
97
105
  @pulumi.getter(name="projectId")
98
106
  def project_id(self) -> Optional[str]:
@@ -122,7 +130,7 @@ class GetSecretVersionResult:
122
130
  @pulumi.getter
123
131
  def status(self) -> str:
124
132
  """
125
- The status of the Secret Version.
133
+ The status of the secret version.
126
134
  """
127
135
  return pulumi.get(self, "status")
128
136
 
@@ -130,7 +138,7 @@ class GetSecretVersionResult:
130
138
  @pulumi.getter(name="updatedAt")
131
139
  def updated_at(self) -> str:
132
140
  """
133
- Date and time of secret version's last update (RFC 3339 format).
141
+ The date and time of the secret version's last update in RFC 3339 format.
134
142
  """
135
143
  return pulumi.get(self, "updated_at")
136
144
 
@@ -145,6 +153,7 @@ class AwaitableGetSecretVersionResult(GetSecretVersionResult):
145
153
  data=self.data,
146
154
  description=self.description,
147
155
  id=self.id,
156
+ organization_id=self.organization_id,
148
157
  project_id=self.project_id,
149
158
  region=self.region,
150
159
  revision=self.revision,
@@ -154,60 +163,73 @@ class AwaitableGetSecretVersionResult(GetSecretVersionResult):
154
163
  updated_at=self.updated_at)
155
164
 
156
165
 
157
- def get_secret_version(project_id: Optional[str] = None,
166
+ def get_secret_version(organization_id: Optional[str] = None,
167
+ project_id: Optional[str] = None,
158
168
  region: Optional[str] = None,
159
169
  revision: Optional[str] = None,
160
170
  secret_id: Optional[str] = None,
161
171
  secret_name: Optional[str] = None,
162
172
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionResult:
163
173
  """
164
- Gets information about Scaleway a Secret Version.
165
- For more information, see [the documentation](https://developers.scaleway.com/en/products/secret_manager/api/v1alpha1/#secret-versions-079501).
174
+ The `SecretVersion` data source is used to get information about a specific secret version stored in Scaleway Secret Manager.
175
+
176
+ Refer to the Secret Manager [product documentation](https://www.scaleway.com/en/docs/identity-and-access-management/secret-manager/) and [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/) for more information.
177
+
178
+ ## Example Usage
179
+
180
+ ### Use Secret Manager
181
+
182
+ The following commands allow you to:
166
183
 
167
- ## Examples
184
+ - create a secret named `fooii`
185
+ - create a new version of `fooii` containing data (`your_secret`)
186
+ - retrieve the secret version specified by the secret ID and the desired version
187
+ - retrieve the secret version specified by the secret name and the desired version
168
188
 
169
- ### Basic
189
+ The output blocks display the sensitive data contained in your secret version.
170
190
 
171
191
  ```python
172
192
  import pulumi
173
193
  import pulumi_scaleway as scaleway
174
194
  import pulumiverse_scaleway as scaleway
175
195
 
196
+ # Create a secret named fooii
176
197
  main = scaleway.Secret("main",
177
198
  name="fooii",
178
199
  description="barr")
200
+ # Create a version of fooii containing data
179
201
  main_secret_version = scaleway.SecretVersion("main",
180
202
  description="your description",
181
203
  secret_id=main.id,
182
204
  data="your_secret")
205
+ # Retrieve the secret version specified by the secret ID and the desired version
183
206
  data_by_secret_id = scaleway.get_secret_version_output(secret_id=main.id,
184
207
  revision="1")
208
+ # Retrieve the secret version specified by the secret name and the desired version
185
209
  data_by_secret_name = scaleway.get_secret_version_output(secret_name=main.name,
186
210
  revision="1")
187
211
  pulumi.export("scalewaySecretAccessPayload", data_by_secret_name.data)
188
212
  pulumi.export("scalewaySecretAccessPayloadById", data_by_secret_id.data)
189
213
  ```
190
214
 
191
- ## Data
215
+ ## Data information
192
216
 
193
- Note: This Data Source give you **access** to the secret payload encoded en base64.
217
+ Note: This data source provides you with access to the secret payload, which is encoded in base64.
194
218
 
195
- Be aware that this is a sensitive attribute. For more information,
219
+ Keep in mind that this is a sensitive attribute. For more information,
196
220
  see Sensitive Data in State.
197
221
 
198
- > **Important:** This property is sensitive and will not be displayed in the plan.
222
+ > **Important:** This property is sensitive and will not be displayed in the pulumi preview, for security reasons.
199
223
 
200
224
 
201
- :param str project_id: The ID of the project the Secret version is associated with.
202
- :param str region: `region`) The region
203
- in which the resource exists.
204
- :param str revision: The revision for this Secret Version.
205
- :param str secret_id: The Secret ID associated wit the secret version.
206
- Only one of `secret_id` and `secret_name` should be specified.
207
- :param str secret_name: The Name of Secret associated wit the secret version.
225
+ :param str project_id: The ID of the Scaleway Project associated with the secret version.
226
+ :param str revision: The revision for this secret version. Refer to alternative values (ex: `latest`) in the [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/#path-secret-versions-access-a-secrets-version-using-the-secrets-id)
227
+ :param str secret_id: The ID of the secret associated with the secret version. Only one of `secret_id` and `secret_name` should be specified.
228
+ :param str secret_name: The name of the secret associated with the secret version.
208
229
  Only one of `secret_id` and `secret_name` should be specified.
209
230
  """
210
231
  __args__ = dict()
232
+ __args__['organizationId'] = organization_id
211
233
  __args__['projectId'] = project_id
212
234
  __args__['region'] = region
213
235
  __args__['revision'] = revision
@@ -221,6 +243,7 @@ def get_secret_version(project_id: Optional[str] = None,
221
243
  data=pulumi.get(__ret__, 'data'),
222
244
  description=pulumi.get(__ret__, 'description'),
223
245
  id=pulumi.get(__ret__, 'id'),
246
+ organization_id=pulumi.get(__ret__, 'organization_id'),
224
247
  project_id=pulumi.get(__ret__, 'project_id'),
225
248
  region=pulumi.get(__ret__, 'region'),
226
249
  revision=pulumi.get(__ret__, 'revision'),
@@ -228,60 +251,73 @@ def get_secret_version(project_id: Optional[str] = None,
228
251
  secret_name=pulumi.get(__ret__, 'secret_name'),
229
252
  status=pulumi.get(__ret__, 'status'),
230
253
  updated_at=pulumi.get(__ret__, 'updated_at'))
231
- def get_secret_version_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
254
+ def get_secret_version_output(organization_id: Optional[pulumi.Input[Optional[str]]] = None,
255
+ project_id: Optional[pulumi.Input[Optional[str]]] = None,
232
256
  region: Optional[pulumi.Input[Optional[str]]] = None,
233
257
  revision: Optional[pulumi.Input[Optional[str]]] = None,
234
258
  secret_id: Optional[pulumi.Input[Optional[str]]] = None,
235
259
  secret_name: Optional[pulumi.Input[Optional[str]]] = None,
236
260
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionResult]:
237
261
  """
238
- Gets information about Scaleway a Secret Version.
239
- For more information, see [the documentation](https://developers.scaleway.com/en/products/secret_manager/api/v1alpha1/#secret-versions-079501).
262
+ The `SecretVersion` data source is used to get information about a specific secret version stored in Scaleway Secret Manager.
263
+
264
+ Refer to the Secret Manager [product documentation](https://www.scaleway.com/en/docs/identity-and-access-management/secret-manager/) and [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/) for more information.
265
+
266
+ ## Example Usage
240
267
 
241
- ## Examples
268
+ ### Use Secret Manager
242
269
 
243
- ### Basic
270
+ The following commands allow you to:
271
+
272
+ - create a secret named `fooii`
273
+ - create a new version of `fooii` containing data (`your_secret`)
274
+ - retrieve the secret version specified by the secret ID and the desired version
275
+ - retrieve the secret version specified by the secret name and the desired version
276
+
277
+ The output blocks display the sensitive data contained in your secret version.
244
278
 
245
279
  ```python
246
280
  import pulumi
247
281
  import pulumi_scaleway as scaleway
248
282
  import pulumiverse_scaleway as scaleway
249
283
 
284
+ # Create a secret named fooii
250
285
  main = scaleway.Secret("main",
251
286
  name="fooii",
252
287
  description="barr")
288
+ # Create a version of fooii containing data
253
289
  main_secret_version = scaleway.SecretVersion("main",
254
290
  description="your description",
255
291
  secret_id=main.id,
256
292
  data="your_secret")
293
+ # Retrieve the secret version specified by the secret ID and the desired version
257
294
  data_by_secret_id = scaleway.get_secret_version_output(secret_id=main.id,
258
295
  revision="1")
296
+ # Retrieve the secret version specified by the secret name and the desired version
259
297
  data_by_secret_name = scaleway.get_secret_version_output(secret_name=main.name,
260
298
  revision="1")
261
299
  pulumi.export("scalewaySecretAccessPayload", data_by_secret_name.data)
262
300
  pulumi.export("scalewaySecretAccessPayloadById", data_by_secret_id.data)
263
301
  ```
264
302
 
265
- ## Data
303
+ ## Data information
266
304
 
267
- Note: This Data Source give you **access** to the secret payload encoded en base64.
305
+ Note: This data source provides you with access to the secret payload, which is encoded in base64.
268
306
 
269
- Be aware that this is a sensitive attribute. For more information,
307
+ Keep in mind that this is a sensitive attribute. For more information,
270
308
  see Sensitive Data in State.
271
309
 
272
- > **Important:** This property is sensitive and will not be displayed in the plan.
310
+ > **Important:** This property is sensitive and will not be displayed in the pulumi preview, for security reasons.
273
311
 
274
312
 
275
- :param str project_id: The ID of the project the Secret version is associated with.
276
- :param str region: `region`) The region
277
- in which the resource exists.
278
- :param str revision: The revision for this Secret Version.
279
- :param str secret_id: The Secret ID associated wit the secret version.
280
- Only one of `secret_id` and `secret_name` should be specified.
281
- :param str secret_name: The Name of Secret associated wit the secret version.
313
+ :param str project_id: The ID of the Scaleway Project associated with the secret version.
314
+ :param str revision: The revision for this secret version. Refer to alternative values (ex: `latest`) in the [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/#path-secret-versions-access-a-secrets-version-using-the-secrets-id)
315
+ :param str secret_id: The ID of the secret associated with the secret version. Only one of `secret_id` and `secret_name` should be specified.
316
+ :param str secret_name: The name of the secret associated with the secret version.
282
317
  Only one of `secret_id` and `secret_name` should be specified.
283
318
  """
284
319
  __args__ = dict()
320
+ __args__['organizationId'] = organization_id
285
321
  __args__['projectId'] = project_id
286
322
  __args__['region'] = region
287
323
  __args__['revision'] = revision
@@ -294,6 +330,7 @@ def get_secret_version_output(project_id: Optional[pulumi.Input[Optional[str]]]
294
330
  data=pulumi.get(__response__, 'data'),
295
331
  description=pulumi.get(__response__, 'description'),
296
332
  id=pulumi.get(__response__, 'id'),
333
+ organization_id=pulumi.get(__response__, 'organization_id'),
297
334
  project_id=pulumi.get(__response__, 'project_id'),
298
335
  region=pulumi.get(__response__, 'region'),
299
336
  revision=pulumi.get(__response__, 'revision'),
@@ -435,6 +435,29 @@ class IamPolicy(pulumi.CustomResource):
435
435
  }])
436
436
  ```
437
437
 
438
+ ### Create a policy with a particular condition
439
+
440
+ IAM policy rule can use a condition to be applied.
441
+ The following variables are available:
442
+
443
+ - `request.ip`
444
+ - `request.user_agent`
445
+ - `request.time`
446
+
447
+ ```python
448
+ import pulumi
449
+ import pulumiverse_scaleway as scaleway
450
+
451
+ main = scaleway.IamPolicy("main",
452
+ name="tf_tests_policy_condition",
453
+ no_principal=True,
454
+ rules=[{
455
+ "organization_id": "%s",
456
+ "permission_set_names": ["AllProductsFullAccess"],
457
+ "condition": "request.user_agent == 'My User Agent'",
458
+ }])
459
+ ```
460
+
438
461
  ## Import
439
462
 
440
463
  Policies can be imported using the `{id}`, e.g.
@@ -508,6 +531,29 @@ class IamPolicy(pulumi.CustomResource):
508
531
  }])
509
532
  ```
510
533
 
534
+ ### Create a policy with a particular condition
535
+
536
+ IAM policy rule can use a condition to be applied.
537
+ The following variables are available:
538
+
539
+ - `request.ip`
540
+ - `request.user_agent`
541
+ - `request.time`
542
+
543
+ ```python
544
+ import pulumi
545
+ import pulumiverse_scaleway as scaleway
546
+
547
+ main = scaleway.IamPolicy("main",
548
+ name="tf_tests_policy_condition",
549
+ no_principal=True,
550
+ rules=[{
551
+ "organization_id": "%s",
552
+ "permission_set_names": ["AllProductsFullAccess"],
553
+ "condition": "request.user_agent == 'My User Agent'",
554
+ }])
555
+ ```
556
+
511
557
  ## Import
512
558
 
513
559
  Policies can be imported using the `{id}`, e.g.
@@ -63,6 +63,7 @@ class InstanceServerArgs:
63
63
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
64
64
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
65
65
  :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
66
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
66
67
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
67
68
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
68
69
 
@@ -103,12 +104,18 @@ class InstanceServerArgs:
103
104
  pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
104
105
  if boot_type is not None:
105
106
  pulumi.set(__self__, "boot_type", boot_type)
107
+ if bootscript_id is not None:
108
+ warnings.warn("""bootscript is not supported anymore.""", DeprecationWarning)
109
+ pulumi.log.warn("""bootscript_id is deprecated: bootscript is not supported anymore.""")
106
110
  if bootscript_id is not None:
107
111
  pulumi.set(__self__, "bootscript_id", bootscript_id)
108
112
  if cloud_init is not None:
109
113
  pulumi.set(__self__, "cloud_init", cloud_init)
110
114
  if enable_dynamic_ip is not None:
111
115
  pulumi.set(__self__, "enable_dynamic_ip", enable_dynamic_ip)
116
+ if enable_ipv6 is not None:
117
+ warnings.warn("""Please use a InstanceIp with a `routed_ipv6` type""", DeprecationWarning)
118
+ pulumi.log.warn("""enable_ipv6 is deprecated: Please use a InstanceIp with a `routed_ipv6` type""")
112
119
  if enable_ipv6 is not None:
113
120
  pulumi.set(__self__, "enable_ipv6", enable_ipv6)
114
121
  if image is not None:
@@ -192,6 +199,7 @@ class InstanceServerArgs:
192
199
 
193
200
  @property
194
201
  @pulumi.getter(name="bootscriptId")
202
+ @_utilities.deprecated("""bootscript is not supported anymore.""")
195
203
  def bootscript_id(self) -> Optional[pulumi.Input[str]]:
196
204
  """
197
205
  The ID of the bootscript to use (set boot_type to `bootscript`).
@@ -228,9 +236,11 @@ class InstanceServerArgs:
228
236
 
229
237
  @property
230
238
  @pulumi.getter(name="enableIpv6")
239
+ @_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
231
240
  def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
232
241
  """
233
242
  Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
243
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
234
244
  """
235
245
  return pulumi.get(self, "enable_ipv6")
236
246
 
@@ -495,6 +505,7 @@ class _InstanceServerState:
495
505
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
496
506
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
497
507
  :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
508
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
498
509
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
499
510
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
500
511
 
@@ -506,8 +517,11 @@ class _InstanceServerState:
506
517
 
507
518
  > `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
508
519
  :param pulumi.Input[str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
520
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
509
521
  :param pulumi.Input[str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
522
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
510
523
  :param pulumi.Input[int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
524
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
511
525
  :param pulumi.Input[str] name: The name of the server.
512
526
  :param pulumi.Input[str] organization_id: The organization ID the server is associated with.
513
527
  :param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
@@ -519,7 +533,7 @@ class _InstanceServerState:
519
533
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
520
534
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
521
535
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
522
- :param pulumi.Input[str] public_ip: The public IP address of the server.
536
+ :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
523
537
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
524
538
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
525
539
  :param pulumi.Input['InstanceServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
@@ -547,12 +561,18 @@ class _InstanceServerState:
547
561
  pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
548
562
  if boot_type is not None:
549
563
  pulumi.set(__self__, "boot_type", boot_type)
564
+ if bootscript_id is not None:
565
+ warnings.warn("""bootscript is not supported anymore.""", DeprecationWarning)
566
+ pulumi.log.warn("""bootscript_id is deprecated: bootscript is not supported anymore.""")
550
567
  if bootscript_id is not None:
551
568
  pulumi.set(__self__, "bootscript_id", bootscript_id)
552
569
  if cloud_init is not None:
553
570
  pulumi.set(__self__, "cloud_init", cloud_init)
554
571
  if enable_dynamic_ip is not None:
555
572
  pulumi.set(__self__, "enable_dynamic_ip", enable_dynamic_ip)
573
+ if enable_ipv6 is not None:
574
+ warnings.warn("""Please use a InstanceIp with a `routed_ipv6` type""", DeprecationWarning)
575
+ pulumi.log.warn("""enable_ipv6 is deprecated: Please use a InstanceIp with a `routed_ipv6` type""")
556
576
  if enable_ipv6 is not None:
557
577
  pulumi.set(__self__, "enable_ipv6", enable_ipv6)
558
578
  if image is not None:
@@ -561,8 +581,14 @@ class _InstanceServerState:
561
581
  pulumi.set(__self__, "ip_id", ip_id)
562
582
  if ip_ids is not None:
563
583
  pulumi.set(__self__, "ip_ids", ip_ids)
584
+ if ipv6_address is not None:
585
+ warnings.warn("""Please use a InstanceIp with a `routed_ipv6` type""", DeprecationWarning)
586
+ pulumi.log.warn("""ipv6_address is deprecated: Please use a InstanceIp with a `routed_ipv6` type""")
564
587
  if ipv6_address is not None:
565
588
  pulumi.set(__self__, "ipv6_address", ipv6_address)
589
+ if ipv6_gateway is not None:
590
+ warnings.warn("""Please use a InstanceIp with a `routed_ipv6` type""", DeprecationWarning)
591
+ pulumi.log.warn("""ipv6_gateway is deprecated: Please use a InstanceIp with a `routed_ipv6` type""")
566
592
  if ipv6_gateway is not None:
567
593
  pulumi.set(__self__, "ipv6_gateway", ipv6_gateway)
568
594
  if ipv6_prefix_length is not None:
@@ -581,6 +607,9 @@ class _InstanceServerState:
581
607
  pulumi.set(__self__, "private_networks", private_networks)
582
608
  if project_id is not None:
583
609
  pulumi.set(__self__, "project_id", project_id)
610
+ if public_ip is not None:
611
+ warnings.warn("""Use public_ips instead""", DeprecationWarning)
612
+ pulumi.log.warn("""public_ip is deprecated: Use public_ips instead""")
584
613
  if public_ip is not None:
585
614
  pulumi.set(__self__, "public_ip", public_ip)
586
615
  if public_ips is not None:
@@ -635,6 +664,7 @@ class _InstanceServerState:
635
664
 
636
665
  @property
637
666
  @pulumi.getter(name="bootscriptId")
667
+ @_utilities.deprecated("""bootscript is not supported anymore.""")
638
668
  def bootscript_id(self) -> Optional[pulumi.Input[str]]:
639
669
  """
640
670
  The ID of the bootscript to use (set boot_type to `bootscript`).
@@ -671,9 +701,11 @@ class _InstanceServerState:
671
701
 
672
702
  @property
673
703
  @pulumi.getter(name="enableIpv6")
704
+ @_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
674
705
  def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
675
706
  """
676
707
  Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
708
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
677
709
  """
678
710
  return pulumi.get(self, "enable_ipv6")
679
711
 
@@ -726,9 +758,11 @@ class _InstanceServerState:
726
758
 
727
759
  @property
728
760
  @pulumi.getter(name="ipv6Address")
761
+ @_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
729
762
  def ipv6_address(self) -> Optional[pulumi.Input[str]]:
730
763
  """
731
764
  The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
765
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
732
766
  """
733
767
  return pulumi.get(self, "ipv6_address")
734
768
 
@@ -738,9 +772,11 @@ class _InstanceServerState:
738
772
 
739
773
  @property
740
774
  @pulumi.getter(name="ipv6Gateway")
775
+ @_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
741
776
  def ipv6_gateway(self) -> Optional[pulumi.Input[str]]:
742
777
  """
743
778
  The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
779
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
744
780
  """
745
781
  return pulumi.get(self, "ipv6_gateway")
746
782
 
@@ -753,6 +789,7 @@ class _InstanceServerState:
753
789
  def ipv6_prefix_length(self) -> Optional[pulumi.Input[int]]:
754
790
  """
755
791
  The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
792
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
756
793
  """
757
794
  return pulumi.get(self, "ipv6_prefix_length")
758
795
 
@@ -850,9 +887,10 @@ class _InstanceServerState:
850
887
 
851
888
  @property
852
889
  @pulumi.getter(name="publicIp")
890
+ @_utilities.deprecated("""Use public_ips instead""")
853
891
  def public_ip(self) -> Optional[pulumi.Input[str]]:
854
892
  """
855
- The public IP address of the server.
893
+ The public IP address of the server (Deprecated use `public_ips` instead).
856
894
  """
857
895
  return pulumi.get(self, "public_ip")
858
896
 
@@ -1202,6 +1240,7 @@ class InstanceServer(pulumi.CustomResource):
1202
1240
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1203
1241
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1204
1242
  :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1243
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1205
1244
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1206
1245
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
1207
1246
 
@@ -1553,6 +1592,7 @@ class InstanceServer(pulumi.CustomResource):
1553
1592
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1554
1593
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1555
1594
  :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1595
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1556
1596
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1557
1597
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
1558
1598
 
@@ -1564,8 +1604,11 @@ class InstanceServer(pulumi.CustomResource):
1564
1604
 
1565
1605
  > `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
1566
1606
  :param pulumi.Input[str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
1607
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1567
1608
  :param pulumi.Input[str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
1609
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1568
1610
  :param pulumi.Input[int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
1611
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1569
1612
  :param pulumi.Input[str] name: The name of the server.
1570
1613
  :param pulumi.Input[str] organization_id: The organization ID the server is associated with.
1571
1614
  :param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
@@ -1577,7 +1620,7 @@ class InstanceServer(pulumi.CustomResource):
1577
1620
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
1578
1621
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
1579
1622
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
1580
- :param pulumi.Input[str] public_ip: The public IP address of the server.
1623
+ :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
1581
1624
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
1582
1625
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1583
1626
  :param pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
@@ -1660,6 +1703,7 @@ class InstanceServer(pulumi.CustomResource):
1660
1703
 
1661
1704
  @property
1662
1705
  @pulumi.getter(name="bootscriptId")
1706
+ @_utilities.deprecated("""bootscript is not supported anymore.""")
1663
1707
  def bootscript_id(self) -> pulumi.Output[str]:
1664
1708
  """
1665
1709
  The ID of the bootscript to use (set boot_type to `bootscript`).
@@ -1684,9 +1728,11 @@ class InstanceServer(pulumi.CustomResource):
1684
1728
 
1685
1729
  @property
1686
1730
  @pulumi.getter(name="enableIpv6")
1731
+ @_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
1687
1732
  def enable_ipv6(self) -> pulumi.Output[Optional[bool]]:
1688
1733
  """
1689
1734
  Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1735
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1690
1736
  """
1691
1737
  return pulumi.get(self, "enable_ipv6")
1692
1738
 
@@ -1723,17 +1769,21 @@ class InstanceServer(pulumi.CustomResource):
1723
1769
 
1724
1770
  @property
1725
1771
  @pulumi.getter(name="ipv6Address")
1772
+ @_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
1726
1773
  def ipv6_address(self) -> pulumi.Output[str]:
1727
1774
  """
1728
1775
  The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
1776
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1729
1777
  """
1730
1778
  return pulumi.get(self, "ipv6_address")
1731
1779
 
1732
1780
  @property
1733
1781
  @pulumi.getter(name="ipv6Gateway")
1782
+ @_utilities.deprecated("""Please use a InstanceIp with a `routed_ipv6` type""")
1734
1783
  def ipv6_gateway(self) -> pulumi.Output[str]:
1735
1784
  """
1736
1785
  The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
1786
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1737
1787
  """
1738
1788
  return pulumi.get(self, "ipv6_gateway")
1739
1789
 
@@ -1742,6 +1792,7 @@ class InstanceServer(pulumi.CustomResource):
1742
1792
  def ipv6_prefix_length(self) -> pulumi.Output[int]:
1743
1793
  """
1744
1794
  The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
1795
+ Deprecated: Please use a InstanceIp with a `routed_ipv6` type.
1745
1796
  """
1746
1797
  return pulumi.get(self, "ipv6_prefix_length")
1747
1798
 
@@ -1807,9 +1858,10 @@ class InstanceServer(pulumi.CustomResource):
1807
1858
 
1808
1859
  @property
1809
1860
  @pulumi.getter(name="publicIp")
1861
+ @_utilities.deprecated("""Use public_ips instead""")
1810
1862
  def public_ip(self) -> pulumi.Output[str]:
1811
1863
  """
1812
- The public IP address of the server.
1864
+ The public IP address of the server (Deprecated use `public_ips` instead).
1813
1865
  """
1814
1866
  return pulumi.get(self, "public_ip")
1815
1867
 
@@ -196,7 +196,7 @@ class _LoadbalancerFrontendState:
196
196
  :param pulumi.Input[str] backend_id: The ID of the Load Balancer backend this frontend is attached to.
197
197
 
198
198
  > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.
199
- :param pulumi.Input[str] certificate_id: (Deprecated) First certificate ID used by the frontend.
199
+ :param pulumi.Input[str] certificate_id: (Deprecated, use `certificate_ids` instead) First certificate ID used by the frontend.
200
200
  :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of certificate IDs that should be used by the frontend.
201
201
 
202
202
  > **Important:** Certificates are not allowed on port 80.
@@ -263,7 +263,7 @@ class _LoadbalancerFrontendState:
263
263
  @_utilities.deprecated("""Please use certificate_ids""")
264
264
  def certificate_id(self) -> Optional[pulumi.Input[str]]:
265
265
  """
266
- (Deprecated) First certificate ID used by the frontend.
266
+ (Deprecated, use `certificate_ids` instead) First certificate ID used by the frontend.
267
267
  """
268
268
  return pulumi.get(self, "certificate_id")
269
269
 
@@ -713,7 +713,7 @@ class LoadbalancerFrontend(pulumi.CustomResource):
713
713
  :param pulumi.Input[str] backend_id: The ID of the Load Balancer backend this frontend is attached to.
714
714
 
715
715
  > **Important:** Updates to `lb_id` or `backend_id` will recreate the frontend.
716
- :param pulumi.Input[str] certificate_id: (Deprecated) First certificate ID used by the frontend.
716
+ :param pulumi.Input[str] certificate_id: (Deprecated, use `certificate_ids` instead) First certificate ID used by the frontend.
717
717
  :param pulumi.Input[Sequence[pulumi.Input[str]]] certificate_ids: List of certificate IDs that should be used by the frontend.
718
718
 
719
719
  > **Important:** Certificates are not allowed on port 80.
@@ -764,7 +764,7 @@ class LoadbalancerFrontend(pulumi.CustomResource):
764
764
  @_utilities.deprecated("""Please use certificate_ids""")
765
765
  def certificate_id(self) -> pulumi.Output[str]:
766
766
  """
767
- (Deprecated) First certificate ID used by the frontend.
767
+ (Deprecated, use `certificate_ids` instead) First certificate ID used by the frontend.
768
768
  """
769
769
  return pulumi.get(self, "certificate_id")
770
770