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.
Files changed (109) hide show
  1. pulumiverse_scaleway/__init__.py +38 -0
  2. pulumiverse_scaleway/_inputs.py +271 -166
  3. pulumiverse_scaleway/audittrail/__init__.py +10 -0
  4. pulumiverse_scaleway/audittrail/get_event.py +410 -0
  5. pulumiverse_scaleway/audittrail/outputs.py +234 -0
  6. pulumiverse_scaleway/baremetal_server.py +159 -0
  7. pulumiverse_scaleway/billing/get_consumptions.py +4 -0
  8. pulumiverse_scaleway/block/snapshot.py +78 -0
  9. pulumiverse_scaleway/block_snapshot.py +78 -0
  10. pulumiverse_scaleway/cockpit_grafana_user.py +0 -42
  11. pulumiverse_scaleway/database_instance.py +105 -55
  12. pulumiverse_scaleway/database_user.py +6 -6
  13. pulumiverse_scaleway/databases/_inputs.py +97 -3
  14. pulumiverse_scaleway/databases/get_instance.py +12 -1
  15. pulumiverse_scaleway/databases/instance.py +105 -55
  16. pulumiverse_scaleway/databases/outputs.py +127 -2
  17. pulumiverse_scaleway/databases/user.py +6 -6
  18. pulumiverse_scaleway/datawarehouse/__init__.py +13 -0
  19. pulumiverse_scaleway/datawarehouse/_inputs.py +149 -0
  20. pulumiverse_scaleway/datawarehouse/database.py +338 -0
  21. pulumiverse_scaleway/datawarehouse/deployment.py +821 -0
  22. pulumiverse_scaleway/datawarehouse/outputs.py +113 -0
  23. pulumiverse_scaleway/datawarehouse/user.py +451 -0
  24. pulumiverse_scaleway/domain/record.py +4 -4
  25. pulumiverse_scaleway/domain_record.py +4 -4
  26. pulumiverse_scaleway/edge_services_cache_stage.py +30 -0
  27. pulumiverse_scaleway/edge_services_dns_stage.py +28 -0
  28. pulumiverse_scaleway/elasticmetal/get_offer.py +2 -0
  29. pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
  30. pulumiverse_scaleway/elasticmetal/server.py +159 -0
  31. pulumiverse_scaleway/file_filesystem.py +39 -35
  32. pulumiverse_scaleway/get_baremetal_offer.py +2 -0
  33. pulumiverse_scaleway/get_baremetal_server.py +12 -1
  34. pulumiverse_scaleway/get_billing_consumptions.py +4 -0
  35. pulumiverse_scaleway/get_database_instance.py +12 -1
  36. pulumiverse_scaleway/get_instance_ip.py +14 -2
  37. pulumiverse_scaleway/get_instance_server.py +13 -83
  38. pulumiverse_scaleway/get_k8s_version.py +12 -1
  39. pulumiverse_scaleway/get_kubernetes_cluster.py +34 -1
  40. pulumiverse_scaleway/get_loadbalancer.py +12 -1
  41. pulumiverse_scaleway/get_loadbalancer_certificate.py +60 -0
  42. pulumiverse_scaleway/iam/__init__.py +1 -0
  43. pulumiverse_scaleway/iam/get_policy.py +293 -0
  44. pulumiverse_scaleway/iam/outputs.py +52 -0
  45. pulumiverse_scaleway/inference/deployment.py +36 -0
  46. pulumiverse_scaleway/inference/model.py +7 -7
  47. pulumiverse_scaleway/inference_deployment.py +36 -0
  48. pulumiverse_scaleway/instance/_inputs.py +155 -144
  49. pulumiverse_scaleway/instance/get_ip.py +14 -2
  50. pulumiverse_scaleway/instance/get_server.py +13 -83
  51. pulumiverse_scaleway/instance/image.py +94 -40
  52. pulumiverse_scaleway/instance/outputs.py +164 -167
  53. pulumiverse_scaleway/instance/server.py +116 -244
  54. pulumiverse_scaleway/instance/user_data.py +4 -4
  55. pulumiverse_scaleway/instance/volume.py +14 -0
  56. pulumiverse_scaleway/instance_image.py +94 -40
  57. pulumiverse_scaleway/instance_server.py +116 -244
  58. pulumiverse_scaleway/instance_user_data.py +4 -4
  59. pulumiverse_scaleway/instance_volume.py +14 -0
  60. pulumiverse_scaleway/iot/device.py +0 -38
  61. pulumiverse_scaleway/iot/hub.py +11 -11
  62. pulumiverse_scaleway/iot/route.py +20 -20
  63. pulumiverse_scaleway/iot_device.py +0 -38
  64. pulumiverse_scaleway/iot_hub.py +11 -11
  65. pulumiverse_scaleway/iot_route.py +20 -20
  66. pulumiverse_scaleway/ipam/_inputs.py +6 -6
  67. pulumiverse_scaleway/ipam/ip.py +35 -7
  68. pulumiverse_scaleway/ipam/ip_reverse_dns.py +70 -0
  69. pulumiverse_scaleway/ipam/outputs.py +4 -4
  70. pulumiverse_scaleway/ipam_ip.py +35 -7
  71. pulumiverse_scaleway/ipam_ip_reverse_dns.py +70 -0
  72. pulumiverse_scaleway/key_manager_key.py +134 -25
  73. pulumiverse_scaleway/kubernetes/cluster.py +290 -4
  74. pulumiverse_scaleway/kubernetes/get_cluster.py +34 -1
  75. pulumiverse_scaleway/kubernetes/get_version.py +12 -1
  76. pulumiverse_scaleway/kubernetes/pool.py +7 -7
  77. pulumiverse_scaleway/kubernetes_cluster.py +290 -4
  78. pulumiverse_scaleway/kubernetes_node_pool.py +7 -7
  79. pulumiverse_scaleway/loadbalancer.py +55 -1
  80. pulumiverse_scaleway/loadbalancers/__init__.py +1 -0
  81. pulumiverse_scaleway/loadbalancers/_inputs.py +13 -13
  82. pulumiverse_scaleway/loadbalancers/get_certificate.py +60 -0
  83. pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
  84. pulumiverse_scaleway/loadbalancers/load_balancer.py +55 -1
  85. pulumiverse_scaleway/loadbalancers/outputs.py +9 -9
  86. pulumiverse_scaleway/loadbalancers/private_network.py +505 -0
  87. pulumiverse_scaleway/mongo_db_instance.py +14 -14
  88. pulumiverse_scaleway/mongodb/instance.py +14 -14
  89. pulumiverse_scaleway/network/gateway_network.py +7 -7
  90. pulumiverse_scaleway/object/__init__.py +1 -0
  91. pulumiverse_scaleway/object/bucket_policy.py +0 -64
  92. pulumiverse_scaleway/object/get.py +290 -0
  93. pulumiverse_scaleway/object/item.py +37 -7
  94. pulumiverse_scaleway/object_bucket_policy.py +0 -64
  95. pulumiverse_scaleway/object_item.py +37 -7
  96. pulumiverse_scaleway/observability/__init__.py +1 -0
  97. pulumiverse_scaleway/observability/get_grafana.py +103 -0
  98. pulumiverse_scaleway/observability/get_sources.py +6 -6
  99. pulumiverse_scaleway/observability/grafana_user.py +0 -42
  100. pulumiverse_scaleway/observability/outputs.py +2 -2
  101. pulumiverse_scaleway/outputs.py +304 -182
  102. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  103. pulumiverse_scaleway/tem/domain.py +42 -0
  104. pulumiverse_scaleway/tem_domain.py +42 -0
  105. pulumiverse_scaleway/vpc_gateway_network.py +7 -7
  106. {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/METADATA +1 -1
  107. {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/RECORD +109 -96
  108. {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/WHEEL +0 -0
  109. {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,103 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetGrafanaResult',
19
+ 'AwaitableGetGrafanaResult',
20
+ 'get_grafana',
21
+ 'get_grafana_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetGrafanaResult:
26
+ """
27
+ A collection of values returned by getGrafana.
28
+ """
29
+ def __init__(__self__, grafana_url=None, id=None, project_id=None):
30
+ if grafana_url and not isinstance(grafana_url, str):
31
+ raise TypeError("Expected argument 'grafana_url' to be a str")
32
+ pulumi.set(__self__, "grafana_url", grafana_url)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if project_id and not isinstance(project_id, str):
37
+ raise TypeError("Expected argument 'project_id' to be a str")
38
+ pulumi.set(__self__, "project_id", project_id)
39
+
40
+ @_builtins.property
41
+ @pulumi.getter(name="grafanaUrl")
42
+ def grafana_url(self) -> _builtins.str:
43
+ """
44
+ The URL to access the Grafana dashboard. Use your Scaleway IAM credentials to authenticate.
45
+ """
46
+ return pulumi.get(self, "grafana_url")
47
+
48
+ @_builtins.property
49
+ @pulumi.getter
50
+ def id(self) -> _builtins.str:
51
+ """
52
+ The provider-assigned unique ID for this managed resource.
53
+ """
54
+ return pulumi.get(self, "id")
55
+
56
+ @_builtins.property
57
+ @pulumi.getter(name="projectId")
58
+ def project_id(self) -> _builtins.str:
59
+ return pulumi.get(self, "project_id")
60
+
61
+
62
+ class AwaitableGetGrafanaResult(GetGrafanaResult):
63
+ # pylint: disable=using-constant-test
64
+ def __await__(self):
65
+ if False:
66
+ yield self
67
+ return GetGrafanaResult(
68
+ grafana_url=self.grafana_url,
69
+ id=self.id,
70
+ project_id=self.project_id)
71
+
72
+
73
+ def get_grafana(project_id: Optional[_builtins.str] = None,
74
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGrafanaResult:
75
+ """
76
+ Use this data source to access information about an existing resource.
77
+
78
+ :param _builtins.str project_id: The ID of the project the Grafana instance is associated with. If not provided, the default project configured in the provider is used.
79
+ """
80
+ __args__ = dict()
81
+ __args__['projectId'] = project_id
82
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
83
+ __ret__ = pulumi.runtime.invoke('scaleway:observability/getGrafana:getGrafana', __args__, opts=opts, typ=GetGrafanaResult).value
84
+
85
+ return AwaitableGetGrafanaResult(
86
+ grafana_url=pulumi.get(__ret__, 'grafana_url'),
87
+ id=pulumi.get(__ret__, 'id'),
88
+ project_id=pulumi.get(__ret__, 'project_id'))
89
+ def get_grafana_output(project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
90
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGrafanaResult]:
91
+ """
92
+ Use this data source to access information about an existing resource.
93
+
94
+ :param _builtins.str project_id: The ID of the project the Grafana instance is associated with. If not provided, the default project configured in the provider is used.
95
+ """
96
+ __args__ = dict()
97
+ __args__['projectId'] = project_id
98
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
99
+ __ret__ = pulumi.runtime.invoke_output('scaleway:observability/getGrafana:getGrafana', __args__, opts=opts, typ=GetGrafanaResult)
100
+ return __ret__.apply(lambda __response__: GetGrafanaResult(
101
+ grafana_url=pulumi.get(__response__, 'grafana_url'),
102
+ id=pulumi.get(__response__, 'id'),
103
+ project_id=pulumi.get(__response__, 'project_id')))
@@ -240,8 +240,8 @@ def get_sources(name: Optional[_builtins.str] = None,
240
240
  import pulumi
241
241
  import pulumi_scaleway as scaleway
242
242
 
243
- external = scaleway.observability.get_sources(project_id="11111111-1111-1111-1111-111111111111",
244
- origin="external")
243
+ custom = scaleway.observability.get_sources(project_id="11111111-1111-1111-1111-111111111111",
244
+ origin="custom")
245
245
  ```
246
246
 
247
247
  ### List default Scaleway sources
@@ -256,7 +256,7 @@ def get_sources(name: Optional[_builtins.str] = None,
256
256
 
257
257
 
258
258
  :param _builtins.str name: Filter sources by name.
259
- :param _builtins.str origin: Filter sources by origin. Possible values are: `scaleway`, `external`, `custom`.
259
+ :param _builtins.str origin: Filter sources by origin. Possible values are: `scaleway`, `custom`.
260
260
  :param _builtins.str project_id: The project ID the cockpit sources are associated with.
261
261
  :param _builtins.str region: The region in which the cockpit sources are located.
262
262
  :param _builtins.str type: Filter sources by type. Possible values are: `metrics`, `logs`, `traces`.
@@ -330,8 +330,8 @@ def get_sources_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = N
330
330
  import pulumi
331
331
  import pulumi_scaleway as scaleway
332
332
 
333
- external = scaleway.observability.get_sources(project_id="11111111-1111-1111-1111-111111111111",
334
- origin="external")
333
+ custom = scaleway.observability.get_sources(project_id="11111111-1111-1111-1111-111111111111",
334
+ origin="custom")
335
335
  ```
336
336
 
337
337
  ### List default Scaleway sources
@@ -346,7 +346,7 @@ def get_sources_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = N
346
346
 
347
347
 
348
348
  :param _builtins.str name: Filter sources by name.
349
- :param _builtins.str origin: Filter sources by origin. Possible values are: `scaleway`, `external`, `custom`.
349
+ :param _builtins.str origin: Filter sources by origin. Possible values are: `scaleway`, `custom`.
350
350
  :param _builtins.str project_id: The project ID the cockpit sources are associated with.
351
351
  :param _builtins.str region: The region in which the cockpit sources are located.
352
352
  :param _builtins.str type: Filter sources by type. Possible values are: `metrics`, `logs`, `traces`.
@@ -169,27 +169,6 @@ class GrafanaUser(pulumi.CustomResource):
169
169
  role: Optional[pulumi.Input[_builtins.str]] = None,
170
170
  __props__=None):
171
171
  """
172
- The `observability.GrafanaUser` resource allows you to create and manage [Grafana users](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users) in Scaleway Cockpit.
173
-
174
- Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
175
-
176
- ## Example Usage
177
-
178
- ### Create a Grafana user
179
-
180
- The following command allows you to create a Grafana user within a specific Scaleway Project.
181
-
182
- ```python
183
- import pulumi
184
- import pulumiverse_scaleway as scaleway
185
-
186
- project = scaleway.account.Project("project", name="test project grafana user")
187
- main = scaleway.observability.GrafanaUser("main",
188
- project_id=project.id,
189
- login="my-awesome-user",
190
- role="editor")
191
- ```
192
-
193
172
  ## Import
194
173
 
195
174
  This section explains how to import Grafana users using the ID of the Project associated with Cockpit, and the Grafana user ID in the `{project_id}/{grafana_user_id}` format.
@@ -213,27 +192,6 @@ class GrafanaUser(pulumi.CustomResource):
213
192
  args: GrafanaUserArgs,
214
193
  opts: Optional[pulumi.ResourceOptions] = None):
215
194
  """
216
- The `observability.GrafanaUser` resource allows you to create and manage [Grafana users](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users) in Scaleway Cockpit.
217
-
218
- Refer to Cockpit's [product documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/) and [API documentation](https://www.scaleway.com/en/developers/api/cockpit/regional-api) for more information.
219
-
220
- ## Example Usage
221
-
222
- ### Create a Grafana user
223
-
224
- The following command allows you to create a Grafana user within a specific Scaleway Project.
225
-
226
- ```python
227
- import pulumi
228
- import pulumiverse_scaleway as scaleway
229
-
230
- project = scaleway.account.Project("project", name="test project grafana user")
231
- main = scaleway.observability.GrafanaUser("main",
232
- project_id=project.id,
233
- login="my-awesome-user",
234
- role="editor")
235
- ```
236
-
237
195
  ## Import
238
196
 
239
197
  This section explains how to import Grafana users using the ID of the Project associated with Cockpit, and the Grafana user ID in the `{project_id}/{grafana_user_id}` format.
@@ -443,7 +443,7 @@ class GetSourcesSourceResult(dict):
443
443
  :param _builtins.str created_at: The date and time of the creation of the cockpit datasource.
444
444
  :param _builtins.str id: The ID of the data source.
445
445
  :param _builtins.str name: Filter sources by name.
446
- :param _builtins.str origin: Filter sources by origin. Possible values are: `scaleway`, `external`, `custom`.
446
+ :param _builtins.str origin: Filter sources by origin. Possible values are: `scaleway`, `custom`.
447
447
  :param _builtins.str project_id: The project ID the cockpit sources are associated with.
448
448
  :param _builtins.str push_url: The URL endpoint used for pushing data to the cockpit data source.
449
449
  :param _builtins.str region: The region in which the cockpit sources are located.
@@ -494,7 +494,7 @@ class GetSourcesSourceResult(dict):
494
494
  @pulumi.getter
495
495
  def origin(self) -> _builtins.str:
496
496
  """
497
- Filter sources by origin. Possible values are: `scaleway`, `external`, `custom`.
497
+ Filter sources by origin. Possible values are: `scaleway`, `custom`.
498
498
  """
499
499
  return pulumi.get(self, "origin")
500
500