pulumiverse-scaleway 1.35.0a1761031391__py3-none-any.whl → 1.39.0a1764841480__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +38 -0
- pulumiverse_scaleway/_inputs.py +271 -166
- pulumiverse_scaleway/audittrail/__init__.py +10 -0
- pulumiverse_scaleway/audittrail/get_event.py +410 -0
- pulumiverse_scaleway/audittrail/outputs.py +234 -0
- pulumiverse_scaleway/baremetal_server.py +159 -0
- pulumiverse_scaleway/billing/get_consumptions.py +4 -0
- pulumiverse_scaleway/block/snapshot.py +78 -0
- pulumiverse_scaleway/block_snapshot.py +78 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +0 -42
- pulumiverse_scaleway/database_instance.py +105 -55
- pulumiverse_scaleway/database_user.py +6 -6
- pulumiverse_scaleway/databases/_inputs.py +97 -3
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +105 -55
- pulumiverse_scaleway/databases/outputs.py +127 -2
- pulumiverse_scaleway/databases/user.py +6 -6
- pulumiverse_scaleway/datawarehouse/__init__.py +13 -0
- pulumiverse_scaleway/datawarehouse/_inputs.py +149 -0
- pulumiverse_scaleway/datawarehouse/database.py +338 -0
- pulumiverse_scaleway/datawarehouse/deployment.py +821 -0
- pulumiverse_scaleway/datawarehouse/outputs.py +113 -0
- pulumiverse_scaleway/datawarehouse/user.py +451 -0
- pulumiverse_scaleway/domain/record.py +4 -4
- pulumiverse_scaleway/domain_record.py +4 -4
- pulumiverse_scaleway/edge_services_cache_stage.py +30 -0
- pulumiverse_scaleway/edge_services_dns_stage.py +28 -0
- pulumiverse_scaleway/elasticmetal/get_offer.py +2 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/server.py +159 -0
- pulumiverse_scaleway/file_filesystem.py +39 -35
- pulumiverse_scaleway/get_baremetal_offer.py +2 -0
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_billing_consumptions.py +4 -0
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_ip.py +14 -2
- pulumiverse_scaleway/get_instance_server.py +13 -83
- pulumiverse_scaleway/get_k8s_version.py +12 -1
- pulumiverse_scaleway/get_kubernetes_cluster.py +34 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_loadbalancer_certificate.py +60 -0
- pulumiverse_scaleway/iam/__init__.py +1 -0
- pulumiverse_scaleway/iam/get_policy.py +293 -0
- pulumiverse_scaleway/iam/outputs.py +52 -0
- pulumiverse_scaleway/inference/deployment.py +36 -0
- pulumiverse_scaleway/inference/model.py +7 -7
- pulumiverse_scaleway/inference_deployment.py +36 -0
- pulumiverse_scaleway/instance/_inputs.py +155 -144
- pulumiverse_scaleway/instance/get_ip.py +14 -2
- pulumiverse_scaleway/instance/get_server.py +13 -83
- pulumiverse_scaleway/instance/image.py +94 -40
- pulumiverse_scaleway/instance/outputs.py +164 -167
- pulumiverse_scaleway/instance/server.py +116 -244
- pulumiverse_scaleway/instance/user_data.py +4 -4
- pulumiverse_scaleway/instance/volume.py +14 -0
- pulumiverse_scaleway/instance_image.py +94 -40
- pulumiverse_scaleway/instance_server.py +116 -244
- pulumiverse_scaleway/instance_user_data.py +4 -4
- pulumiverse_scaleway/instance_volume.py +14 -0
- pulumiverse_scaleway/iot/device.py +0 -38
- pulumiverse_scaleway/iot/hub.py +11 -11
- pulumiverse_scaleway/iot/route.py +20 -20
- pulumiverse_scaleway/iot_device.py +0 -38
- pulumiverse_scaleway/iot_hub.py +11 -11
- pulumiverse_scaleway/iot_route.py +20 -20
- pulumiverse_scaleway/ipam/_inputs.py +6 -6
- pulumiverse_scaleway/ipam/ip.py +35 -7
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/ipam/outputs.py +4 -4
- pulumiverse_scaleway/ipam_ip.py +35 -7
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/key_manager_key.py +134 -25
- pulumiverse_scaleway/kubernetes/cluster.py +290 -4
- pulumiverse_scaleway/kubernetes/get_cluster.py +34 -1
- pulumiverse_scaleway/kubernetes/get_version.py +12 -1
- pulumiverse_scaleway/kubernetes/pool.py +7 -7
- pulumiverse_scaleway/kubernetes_cluster.py +290 -4
- pulumiverse_scaleway/kubernetes_node_pool.py +7 -7
- pulumiverse_scaleway/loadbalancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -0
- pulumiverse_scaleway/loadbalancers/_inputs.py +13 -13
- pulumiverse_scaleway/loadbalancers/get_certificate.py +60 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/outputs.py +9 -9
- pulumiverse_scaleway/loadbalancers/private_network.py +505 -0
- pulumiverse_scaleway/mongo_db_instance.py +14 -14
- pulumiverse_scaleway/mongodb/instance.py +14 -14
- pulumiverse_scaleway/network/gateway_network.py +7 -7
- pulumiverse_scaleway/object/__init__.py +1 -0
- pulumiverse_scaleway/object/bucket_policy.py +0 -64
- pulumiverse_scaleway/object/get.py +290 -0
- pulumiverse_scaleway/object/item.py +37 -7
- pulumiverse_scaleway/object_bucket_policy.py +0 -64
- pulumiverse_scaleway/object_item.py +37 -7
- pulumiverse_scaleway/observability/__init__.py +1 -0
- pulumiverse_scaleway/observability/get_grafana.py +103 -0
- pulumiverse_scaleway/observability/get_sources.py +6 -6
- pulumiverse_scaleway/observability/grafana_user.py +0 -42
- pulumiverse_scaleway/observability/outputs.py +2 -2
- pulumiverse_scaleway/outputs.py +304 -182
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/tem/domain.py +42 -0
- pulumiverse_scaleway/tem_domain.py +42 -0
- pulumiverse_scaleway/vpc_gateway_network.py +7 -7
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/RECORD +109 -96
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/top_level.txt +0 -0
|
@@ -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
|
-
|
|
244
|
-
origin="
|
|
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`, `
|
|
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
|
-
|
|
334
|
-
origin="
|
|
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`, `
|
|
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`, `
|
|
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`, `
|
|
497
|
+
Filter sources by origin. Possible values are: `scaleway`, `custom`.
|
|
498
498
|
"""
|
|
499
499
|
return pulumi.get(self, "origin")
|
|
500
500
|
|