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,290 @@
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
+ 'GetResult',
19
+ 'AwaitableGetResult',
20
+ 'get',
21
+ 'get_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetResult:
26
+ """
27
+ A collection of values returned by get.
28
+ """
29
+ def __init__(__self__, bucket=None, content=None, content_base64=None, content_type=None, file=None, hash=None, id=None, key=None, metadata=None, project_id=None, region=None, sse_customer_key=None, storage_class=None, tags=None, visibility=None):
30
+ if bucket and not isinstance(bucket, str):
31
+ raise TypeError("Expected argument 'bucket' to be a str")
32
+ pulumi.set(__self__, "bucket", bucket)
33
+ if content and not isinstance(content, str):
34
+ raise TypeError("Expected argument 'content' to be a str")
35
+ pulumi.set(__self__, "content", content)
36
+ if content_base64 and not isinstance(content_base64, str):
37
+ raise TypeError("Expected argument 'content_base64' to be a str")
38
+ pulumi.set(__self__, "content_base64", content_base64)
39
+ if content_type and not isinstance(content_type, str):
40
+ raise TypeError("Expected argument 'content_type' to be a str")
41
+ pulumi.set(__self__, "content_type", content_type)
42
+ if file and not isinstance(file, str):
43
+ raise TypeError("Expected argument 'file' to be a str")
44
+ pulumi.set(__self__, "file", file)
45
+ if hash and not isinstance(hash, str):
46
+ raise TypeError("Expected argument 'hash' to be a str")
47
+ pulumi.set(__self__, "hash", hash)
48
+ if id and not isinstance(id, str):
49
+ raise TypeError("Expected argument 'id' to be a str")
50
+ pulumi.set(__self__, "id", id)
51
+ if key and not isinstance(key, str):
52
+ raise TypeError("Expected argument 'key' to be a str")
53
+ pulumi.set(__self__, "key", key)
54
+ if metadata and not isinstance(metadata, dict):
55
+ raise TypeError("Expected argument 'metadata' to be a dict")
56
+ pulumi.set(__self__, "metadata", metadata)
57
+ if project_id and not isinstance(project_id, str):
58
+ raise TypeError("Expected argument 'project_id' to be a str")
59
+ pulumi.set(__self__, "project_id", project_id)
60
+ if region and not isinstance(region, str):
61
+ raise TypeError("Expected argument 'region' to be a str")
62
+ pulumi.set(__self__, "region", region)
63
+ if sse_customer_key and not isinstance(sse_customer_key, str):
64
+ raise TypeError("Expected argument 'sse_customer_key' to be a str")
65
+ pulumi.set(__self__, "sse_customer_key", sse_customer_key)
66
+ if storage_class and not isinstance(storage_class, str):
67
+ raise TypeError("Expected argument 'storage_class' to be a str")
68
+ pulumi.set(__self__, "storage_class", storage_class)
69
+ if tags and not isinstance(tags, dict):
70
+ raise TypeError("Expected argument 'tags' to be a dict")
71
+ pulumi.set(__self__, "tags", tags)
72
+ if visibility and not isinstance(visibility, str):
73
+ raise TypeError("Expected argument 'visibility' to be a str")
74
+ pulumi.set(__self__, "visibility", visibility)
75
+
76
+ @_builtins.property
77
+ @pulumi.getter
78
+ def bucket(self) -> _builtins.str:
79
+ return pulumi.get(self, "bucket")
80
+
81
+ @_builtins.property
82
+ @pulumi.getter
83
+ def content(self) -> _builtins.str:
84
+ return pulumi.get(self, "content")
85
+
86
+ @_builtins.property
87
+ @pulumi.getter(name="contentBase64")
88
+ def content_base64(self) -> _builtins.str:
89
+ return pulumi.get(self, "content_base64")
90
+
91
+ @_builtins.property
92
+ @pulumi.getter(name="contentType")
93
+ def content_type(self) -> _builtins.str:
94
+ return pulumi.get(self, "content_type")
95
+
96
+ @_builtins.property
97
+ @pulumi.getter
98
+ def file(self) -> _builtins.str:
99
+ return pulumi.get(self, "file")
100
+
101
+ @_builtins.property
102
+ @pulumi.getter
103
+ def hash(self) -> _builtins.str:
104
+ return pulumi.get(self, "hash")
105
+
106
+ @_builtins.property
107
+ @pulumi.getter
108
+ def id(self) -> _builtins.str:
109
+ """
110
+ The provider-assigned unique ID for this managed resource.
111
+ """
112
+ return pulumi.get(self, "id")
113
+
114
+ @_builtins.property
115
+ @pulumi.getter
116
+ def key(self) -> _builtins.str:
117
+ return pulumi.get(self, "key")
118
+
119
+ @_builtins.property
120
+ @pulumi.getter
121
+ def metadata(self) -> Mapping[str, _builtins.str]:
122
+ return pulumi.get(self, "metadata")
123
+
124
+ @_builtins.property
125
+ @pulumi.getter(name="projectId")
126
+ def project_id(self) -> Optional[_builtins.str]:
127
+ return pulumi.get(self, "project_id")
128
+
129
+ @_builtins.property
130
+ @pulumi.getter
131
+ def region(self) -> Optional[_builtins.str]:
132
+ return pulumi.get(self, "region")
133
+
134
+ @_builtins.property
135
+ @pulumi.getter(name="sseCustomerKey")
136
+ def sse_customer_key(self) -> _builtins.str:
137
+ return pulumi.get(self, "sse_customer_key")
138
+
139
+ @_builtins.property
140
+ @pulumi.getter(name="storageClass")
141
+ def storage_class(self) -> _builtins.str:
142
+ return pulumi.get(self, "storage_class")
143
+
144
+ @_builtins.property
145
+ @pulumi.getter
146
+ def tags(self) -> Mapping[str, _builtins.str]:
147
+ return pulumi.get(self, "tags")
148
+
149
+ @_builtins.property
150
+ @pulumi.getter
151
+ def visibility(self) -> _builtins.str:
152
+ return pulumi.get(self, "visibility")
153
+
154
+
155
+ class AwaitableGetResult(GetResult):
156
+ # pylint: disable=using-constant-test
157
+ def __await__(self):
158
+ if False:
159
+ yield self
160
+ return GetResult(
161
+ bucket=self.bucket,
162
+ content=self.content,
163
+ content_base64=self.content_base64,
164
+ content_type=self.content_type,
165
+ file=self.file,
166
+ hash=self.hash,
167
+ id=self.id,
168
+ key=self.key,
169
+ metadata=self.metadata,
170
+ project_id=self.project_id,
171
+ region=self.region,
172
+ sse_customer_key=self.sse_customer_key,
173
+ storage_class=self.storage_class,
174
+ tags=self.tags,
175
+ visibility=self.visibility)
176
+
177
+
178
+ def get(bucket: Optional[_builtins.str] = None,
179
+ key: Optional[_builtins.str] = None,
180
+ project_id: Optional[_builtins.str] = None,
181
+ region: Optional[_builtins.str] = None,
182
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResult:
183
+ """
184
+ The `object.Item` data source is used to retrieve information about an Object Storage object.
185
+
186
+ Refer to the Object Storage [documentation](https://www.scaleway.com/en/docs/object-storage/how-to/create-a-bucket/) for more information.
187
+
188
+ ## Retrieve an Object Storage object
189
+
190
+ The following example demonstrates how to retrieve metadata about an object stored in a bucket:
191
+
192
+ ```python
193
+ import pulumi
194
+ import pulumi_scaleway as scaleway
195
+ import pulumiverse_scaleway as scaleway
196
+
197
+ main = scaleway.object.Bucket("main", name="bucket.test.com")
198
+ example = scaleway.object.Item("example",
199
+ bucket=main.name,
200
+ key="example.txt",
201
+ content="Hello world!")
202
+ selected = scaleway.object.get_output(bucket=example.bucket,
203
+ key=example.key)
204
+ ```
205
+
206
+
207
+ :param _builtins.str key: The key (path or filename) of the object within the bucket.
208
+ :param _builtins.str project_id: `project_id`) The ID of the project with which the bucket is associated.
209
+ :param _builtins.str region: `region`) The region in which the bucket exists.
210
+ """
211
+ __args__ = dict()
212
+ __args__['bucket'] = bucket
213
+ __args__['key'] = key
214
+ __args__['projectId'] = project_id
215
+ __args__['region'] = region
216
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
217
+ __ret__ = pulumi.runtime.invoke('scaleway:object/get:get', __args__, opts=opts, typ=GetResult).value
218
+
219
+ return AwaitableGetResult(
220
+ bucket=pulumi.get(__ret__, 'bucket'),
221
+ content=pulumi.get(__ret__, 'content'),
222
+ content_base64=pulumi.get(__ret__, 'content_base64'),
223
+ content_type=pulumi.get(__ret__, 'content_type'),
224
+ file=pulumi.get(__ret__, 'file'),
225
+ hash=pulumi.get(__ret__, 'hash'),
226
+ id=pulumi.get(__ret__, 'id'),
227
+ key=pulumi.get(__ret__, 'key'),
228
+ metadata=pulumi.get(__ret__, 'metadata'),
229
+ project_id=pulumi.get(__ret__, 'project_id'),
230
+ region=pulumi.get(__ret__, 'region'),
231
+ sse_customer_key=pulumi.get(__ret__, 'sse_customer_key'),
232
+ storage_class=pulumi.get(__ret__, 'storage_class'),
233
+ tags=pulumi.get(__ret__, 'tags'),
234
+ visibility=pulumi.get(__ret__, 'visibility'))
235
+ def get_output(bucket: Optional[pulumi.Input[_builtins.str]] = None,
236
+ key: Optional[pulumi.Input[_builtins.str]] = None,
237
+ project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
238
+ region: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
239
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetResult]:
240
+ """
241
+ The `object.Item` data source is used to retrieve information about an Object Storage object.
242
+
243
+ Refer to the Object Storage [documentation](https://www.scaleway.com/en/docs/object-storage/how-to/create-a-bucket/) for more information.
244
+
245
+ ## Retrieve an Object Storage object
246
+
247
+ The following example demonstrates how to retrieve metadata about an object stored in a bucket:
248
+
249
+ ```python
250
+ import pulumi
251
+ import pulumi_scaleway as scaleway
252
+ import pulumiverse_scaleway as scaleway
253
+
254
+ main = scaleway.object.Bucket("main", name="bucket.test.com")
255
+ example = scaleway.object.Item("example",
256
+ bucket=main.name,
257
+ key="example.txt",
258
+ content="Hello world!")
259
+ selected = scaleway.object.get_output(bucket=example.bucket,
260
+ key=example.key)
261
+ ```
262
+
263
+
264
+ :param _builtins.str key: The key (path or filename) of the object within the bucket.
265
+ :param _builtins.str project_id: `project_id`) The ID of the project with which the bucket is associated.
266
+ :param _builtins.str region: `region`) The region in which the bucket exists.
267
+ """
268
+ __args__ = dict()
269
+ __args__['bucket'] = bucket
270
+ __args__['key'] = key
271
+ __args__['projectId'] = project_id
272
+ __args__['region'] = region
273
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
274
+ __ret__ = pulumi.runtime.invoke_output('scaleway:object/get:get', __args__, opts=opts, typ=GetResult)
275
+ return __ret__.apply(lambda __response__: GetResult(
276
+ bucket=pulumi.get(__response__, 'bucket'),
277
+ content=pulumi.get(__response__, 'content'),
278
+ content_base64=pulumi.get(__response__, 'content_base64'),
279
+ content_type=pulumi.get(__response__, 'content_type'),
280
+ file=pulumi.get(__response__, 'file'),
281
+ hash=pulumi.get(__response__, 'hash'),
282
+ id=pulumi.get(__response__, 'id'),
283
+ key=pulumi.get(__response__, 'key'),
284
+ metadata=pulumi.get(__response__, 'metadata'),
285
+ project_id=pulumi.get(__response__, 'project_id'),
286
+ region=pulumi.get(__response__, 'region'),
287
+ sse_customer_key=pulumi.get(__response__, 'sse_customer_key'),
288
+ storage_class=pulumi.get(__response__, 'storage_class'),
289
+ tags=pulumi.get(__response__, 'tags'),
290
+ visibility=pulumi.get(__response__, 'visibility')))
@@ -41,7 +41,7 @@ class ItemArgs:
41
41
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
42
42
 
43
43
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
44
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
44
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
45
45
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
46
46
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
47
47
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] metadata: Map of metadata used for the object (keys must be lowercase).
@@ -133,7 +133,7 @@ class ItemArgs:
133
133
  @pulumi.getter(name="contentType")
134
134
  def content_type(self) -> Optional[pulumi.Input[_builtins.str]]:
135
135
  """
136
- The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
136
+ The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
137
137
  """
138
138
  return pulumi.get(self, "content_type")
139
139
 
@@ -274,7 +274,7 @@ class _ItemState:
274
274
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
275
275
 
276
276
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
277
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
277
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
278
278
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
279
279
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
280
280
  :param pulumi.Input[_builtins.str] key: The path to the object.
@@ -357,7 +357,7 @@ class _ItemState:
357
357
  @pulumi.getter(name="contentType")
358
358
  def content_type(self) -> Optional[pulumi.Input[_builtins.str]]:
359
359
  """
360
- The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
360
+ The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
361
361
  """
362
362
  return pulumi.get(self, "content_type")
363
363
 
@@ -512,6 +512,21 @@ class Item(pulumi.CustomResource):
512
512
 
513
513
  Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-storage/how-to/upload-files-into-a-bucket/) for more information on Object Storage objects.
514
514
 
515
+ ## Example Usage
516
+
517
+ ```python
518
+ import pulumi
519
+ import pulumi_std as std
520
+ import pulumiverse_scaleway as scaleway
521
+
522
+ some_bucket = scaleway.object.Bucket("some_bucket", name="some-unique-name")
523
+ some_file = scaleway.object.Item("some_file",
524
+ bucket=some_bucket.id,
525
+ key="object_path",
526
+ file="myfile",
527
+ hash=std.index.filemd5(input="myfile")["result"])
528
+ ```
529
+
515
530
  ## Import
516
531
 
517
532
  Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
@@ -539,7 +554,7 @@ class Item(pulumi.CustomResource):
539
554
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
540
555
 
541
556
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
542
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
557
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
543
558
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
544
559
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
545
560
  :param pulumi.Input[_builtins.str] key: The path to the object.
@@ -562,6 +577,21 @@ class Item(pulumi.CustomResource):
562
577
 
563
578
  Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-storage/how-to/upload-files-into-a-bucket/) for more information on Object Storage objects.
564
579
 
580
+ ## Example Usage
581
+
582
+ ```python
583
+ import pulumi
584
+ import pulumi_std as std
585
+ import pulumiverse_scaleway as scaleway
586
+
587
+ some_bucket = scaleway.object.Bucket("some_bucket", name="some-unique-name")
588
+ some_file = scaleway.object.Item("some_file",
589
+ bucket=some_bucket.id,
590
+ key="object_path",
591
+ file="myfile",
592
+ hash=std.index.filemd5(input="myfile")["result"])
593
+ ```
594
+
565
595
  ## Import
566
596
 
567
597
  Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
@@ -678,7 +708,7 @@ class Item(pulumi.CustomResource):
678
708
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
679
709
 
680
710
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
681
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
711
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
682
712
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
683
713
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
684
714
  :param pulumi.Input[_builtins.str] key: The path to the object.
@@ -740,7 +770,7 @@ class Item(pulumi.CustomResource):
740
770
  @pulumi.getter(name="contentType")
741
771
  def content_type(self) -> pulumi.Output[_builtins.str]:
742
772
  """
743
- The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
773
+ The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
744
774
  """
745
775
  return pulumi.get(self, "content_type")
746
776
 
@@ -278,38 +278,6 @@ class ObjectBucketPolicy(pulumi.CustomResource):
278
278
  bucket = scaleway.object.get_bucket(name="some-unique-name")
279
279
  ```
280
280
 
281
- ### Example with AWS provider
282
-
283
- ```python
284
- import pulumi
285
- import pulumi_aws as aws
286
- import pulumi_scaleway as scaleway
287
- import pulumiverse_scaleway as scaleway
288
-
289
- # Scaleway project ID
290
- default = scaleway.account.get_project(name="default")
291
- # Object storage configuration
292
- bucket = scaleway.object.Bucket("bucket", name="some-unique-name")
293
- # AWS data source
294
- policy = aws.iam.get_policy_document_output(version="2012-10-17",
295
- statements=[{
296
- "sid": "Delegate access",
297
- "effect": "Allow",
298
- "principals": [{
299
- "type": "SCW",
300
- "identifiers": [f"project_id:{default.id}"],
301
- }],
302
- "actions": ["s3:ListBucket"],
303
- "resources": [
304
- bucket.name,
305
- bucket.name.apply(lambda name: f"{name}/*"),
306
- ],
307
- }])
308
- main = scaleway.object.BucketPolicy("main",
309
- bucket=bucket.id,
310
- policy=policy.json)
311
- ```
312
-
313
281
  ### Example with deprecated version 2012-10-17
314
282
 
315
283
  ```python
@@ -484,38 +452,6 @@ class ObjectBucketPolicy(pulumi.CustomResource):
484
452
  bucket = scaleway.object.get_bucket(name="some-unique-name")
485
453
  ```
486
454
 
487
- ### Example with AWS provider
488
-
489
- ```python
490
- import pulumi
491
- import pulumi_aws as aws
492
- import pulumi_scaleway as scaleway
493
- import pulumiverse_scaleway as scaleway
494
-
495
- # Scaleway project ID
496
- default = scaleway.account.get_project(name="default")
497
- # Object storage configuration
498
- bucket = scaleway.object.Bucket("bucket", name="some-unique-name")
499
- # AWS data source
500
- policy = aws.iam.get_policy_document_output(version="2012-10-17",
501
- statements=[{
502
- "sid": "Delegate access",
503
- "effect": "Allow",
504
- "principals": [{
505
- "type": "SCW",
506
- "identifiers": [f"project_id:{default.id}"],
507
- }],
508
- "actions": ["s3:ListBucket"],
509
- "resources": [
510
- bucket.name,
511
- bucket.name.apply(lambda name: f"{name}/*"),
512
- ],
513
- }])
514
- main = scaleway.object.BucketPolicy("main",
515
- bucket=bucket.id,
516
- policy=policy.json)
517
- ```
518
-
519
455
  ### Example with deprecated version 2012-10-17
520
456
 
521
457
  ```python
@@ -41,7 +41,7 @@ class ObjectItemArgs:
41
41
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
42
42
 
43
43
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
44
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
44
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
45
45
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
46
46
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
47
47
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] metadata: Map of metadata used for the object (keys must be lowercase).
@@ -133,7 +133,7 @@ class ObjectItemArgs:
133
133
  @pulumi.getter(name="contentType")
134
134
  def content_type(self) -> Optional[pulumi.Input[_builtins.str]]:
135
135
  """
136
- The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
136
+ The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
137
137
  """
138
138
  return pulumi.get(self, "content_type")
139
139
 
@@ -274,7 +274,7 @@ class _ObjectItemState:
274
274
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
275
275
 
276
276
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
277
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
277
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
278
278
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
279
279
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
280
280
  :param pulumi.Input[_builtins.str] key: The path to the object.
@@ -357,7 +357,7 @@ class _ObjectItemState:
357
357
  @pulumi.getter(name="contentType")
358
358
  def content_type(self) -> Optional[pulumi.Input[_builtins.str]]:
359
359
  """
360
- The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
360
+ The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
361
361
  """
362
362
  return pulumi.get(self, "content_type")
363
363
 
@@ -517,6 +517,21 @@ class ObjectItem(pulumi.CustomResource):
517
517
 
518
518
  Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-storage/how-to/upload-files-into-a-bucket/) for more information on Object Storage objects.
519
519
 
520
+ ## Example Usage
521
+
522
+ ```python
523
+ import pulumi
524
+ import pulumi_std as std
525
+ import pulumiverse_scaleway as scaleway
526
+
527
+ some_bucket = scaleway.object.Bucket("some_bucket", name="some-unique-name")
528
+ some_file = scaleway.object.Item("some_file",
529
+ bucket=some_bucket.id,
530
+ key="object_path",
531
+ file="myfile",
532
+ hash=std.index.filemd5(input="myfile")["result"])
533
+ ```
534
+
520
535
  ## Import
521
536
 
522
537
  Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
@@ -544,7 +559,7 @@ class ObjectItem(pulumi.CustomResource):
544
559
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
545
560
 
546
561
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
547
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
562
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
548
563
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
549
564
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
550
565
  :param pulumi.Input[_builtins.str] key: The path to the object.
@@ -567,6 +582,21 @@ class ObjectItem(pulumi.CustomResource):
567
582
 
568
583
  Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-storage/how-to/upload-files-into-a-bucket/) for more information on Object Storage objects.
569
584
 
585
+ ## Example Usage
586
+
587
+ ```python
588
+ import pulumi
589
+ import pulumi_std as std
590
+ import pulumiverse_scaleway as scaleway
591
+
592
+ some_bucket = scaleway.object.Bucket("some_bucket", name="some-unique-name")
593
+ some_file = scaleway.object.Item("some_file",
594
+ bucket=some_bucket.id,
595
+ key="object_path",
596
+ file="myfile",
597
+ hash=std.index.filemd5(input="myfile")["result"])
598
+ ```
599
+
570
600
  ## Import
571
601
 
572
602
  Objects can be imported using the `{region}/{bucketName}/{objectKey}` identifier, as shown below:
@@ -682,7 +712,7 @@ class ObjectItem(pulumi.CustomResource):
682
712
  :param pulumi.Input[_builtins.str] content_base64: The base64-encoded content of the file to upload. Only one of `file`, `content` or `content_base64` can be defined.
683
713
 
684
714
  > **Note:** Only one of `file`, `content` or `content_base64` can be defined.
685
- :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
715
+ :param pulumi.Input[_builtins.str] content_type: The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
686
716
  :param pulumi.Input[_builtins.str] file: The name of the file to upload, defaults to an empty file.
687
717
  :param pulumi.Input[_builtins.str] hash: Hash of the file, used to trigger the upload on file change.
688
718
  :param pulumi.Input[_builtins.str] key: The path to the object.
@@ -744,7 +774,7 @@ class ObjectItem(pulumi.CustomResource):
744
774
  @pulumi.getter(name="contentType")
745
775
  def content_type(self) -> pulumi.Output[_builtins.str]:
746
776
  """
747
- The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
777
+ The standard MIME type of the object's content (e.g., 'application/json', 'text/plain'). This specifies how the object should be interpreted by clients. See RFC 9110: <https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type>
748
778
  """
749
779
  return pulumi.get(self, "content_type")
750
780
 
@@ -8,6 +8,7 @@ import typing
8
8
  # Export this package's modules as members:
9
9
  from .alert_manager import *
10
10
  from .cockpit import *
11
+ from .get_grafana import *
11
12
  from .get_instance import *
12
13
  from .get_source import *
13
14
  from .get_sources import *