pulumiverse-scaleway 1.22.0a1736239435__py3-none-any.whl → 1.22.0a1736328623__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.
- pulumiverse_scaleway/__init__.py +1 -0
- pulumiverse_scaleway/_inputs.py +3 -3
- pulumiverse_scaleway/baremetal_server.py +67 -7
- pulumiverse_scaleway/cockpit_grafana_user.py +28 -0
- pulumiverse_scaleway/cockpit_source.py +53 -3
- pulumiverse_scaleway/get_account_project.py +2 -2
- pulumiverse_scaleway/get_account_ssh_key.py +2 -2
- pulumiverse_scaleway/get_availability_zones.py +2 -2
- pulumiverse_scaleway/get_baremetal_offer.py +2 -2
- pulumiverse_scaleway/get_baremetal_option.py +2 -2
- pulumiverse_scaleway/get_baremetal_os.py +2 -2
- pulumiverse_scaleway/get_baremetal_server.py +2 -2
- pulumiverse_scaleway/get_billing_consumptions.py +2 -2
- pulumiverse_scaleway/get_billing_invoices.py +2 -2
- pulumiverse_scaleway/get_block_snapshot.py +2 -2
- pulumiverse_scaleway/get_block_volume.py +2 -2
- pulumiverse_scaleway/get_cockpit.py +2 -2
- pulumiverse_scaleway/get_cockpit_plan.py +2 -2
- pulumiverse_scaleway/get_cockpit_source.py +262 -0
- pulumiverse_scaleway/get_config.py +2 -2
- pulumiverse_scaleway/get_container.py +2 -2
- pulumiverse_scaleway/get_container_namespace.py +2 -2
- pulumiverse_scaleway/get_database.py +2 -2
- pulumiverse_scaleway/get_database_acl.py +2 -2
- pulumiverse_scaleway/get_database_backup.py +2 -2
- pulumiverse_scaleway/get_database_instance.py +2 -2
- pulumiverse_scaleway/get_database_privilege.py +2 -2
- pulumiverse_scaleway/get_domain_record.py +2 -2
- pulumiverse_scaleway/get_domain_zone.py +2 -2
- pulumiverse_scaleway/get_flexible_ip.py +2 -2
- pulumiverse_scaleway/get_flexible_ips.py +2 -2
- pulumiverse_scaleway/get_function.py +2 -2
- pulumiverse_scaleway/get_function_namespace.py +2 -2
- pulumiverse_scaleway/get_iam_api_key.py +2 -2
- pulumiverse_scaleway/get_iam_application.py +2 -2
- pulumiverse_scaleway/get_iam_group.py +2 -2
- pulumiverse_scaleway/get_iam_ssh_key.py +2 -2
- pulumiverse_scaleway/get_iam_user.py +2 -2
- pulumiverse_scaleway/get_instance_image.py +2 -2
- pulumiverse_scaleway/get_instance_ip.py +2 -2
- pulumiverse_scaleway/get_instance_placement_group.py +2 -2
- pulumiverse_scaleway/get_instance_private_nic.py +2 -2
- pulumiverse_scaleway/get_instance_security_group.py +2 -2
- pulumiverse_scaleway/get_instance_server.py +2 -2
- pulumiverse_scaleway/get_instance_servers.py +2 -2
- pulumiverse_scaleway/get_instance_snapshot.py +2 -2
- pulumiverse_scaleway/get_instance_volume.py +2 -2
- pulumiverse_scaleway/get_iot_device.py +2 -2
- pulumiverse_scaleway/get_iot_hub.py +2 -2
- pulumiverse_scaleway/get_ipam_ip.py +2 -2
- pulumiverse_scaleway/get_ipam_ips.py +2 -2
- pulumiverse_scaleway/get_k8s_version.py +2 -2
- pulumiverse_scaleway/get_kubernetes_cluster.py +2 -2
- pulumiverse_scaleway/get_kubernetes_node_pool.py +2 -2
- pulumiverse_scaleway/get_lb_acls.py +2 -2
- pulumiverse_scaleway/get_lb_backend.py +2 -2
- pulumiverse_scaleway/get_lb_backends.py +2 -2
- pulumiverse_scaleway/get_lb_frontend.py +2 -2
- pulumiverse_scaleway/get_lb_frontends.py +2 -2
- pulumiverse_scaleway/get_lb_ips.py +2 -2
- pulumiverse_scaleway/get_lb_route.py +2 -2
- pulumiverse_scaleway/get_lb_routes.py +2 -2
- pulumiverse_scaleway/get_lbs.py +2 -2
- pulumiverse_scaleway/get_loadbalancer.py +2 -2
- pulumiverse_scaleway/get_loadbalancer_certificate.py +2 -2
- pulumiverse_scaleway/get_loadbalancer_ip.py +2 -2
- pulumiverse_scaleway/get_marketplace_image.py +2 -2
- pulumiverse_scaleway/get_mnq_sns.py +2 -2
- pulumiverse_scaleway/get_mnq_sqs.py +2 -2
- pulumiverse_scaleway/get_mongo_db_instance.py +2 -2
- pulumiverse_scaleway/get_object_bucket.py +2 -2
- pulumiverse_scaleway/get_object_bucket_policy.py +2 -2
- pulumiverse_scaleway/get_redis_cluster.py +2 -2
- pulumiverse_scaleway/get_registry_image.py +2 -2
- pulumiverse_scaleway/get_registry_image_tag.py +2 -2
- pulumiverse_scaleway/get_registry_namespace.py +2 -2
- pulumiverse_scaleway/get_secret.py +2 -2
- pulumiverse_scaleway/get_secret_version.py +2 -2
- pulumiverse_scaleway/get_tem_domain.py +2 -2
- pulumiverse_scaleway/get_vpc.py +2 -2
- pulumiverse_scaleway/get_vpc_gateway_network.py +2 -2
- pulumiverse_scaleway/get_vpc_private_network.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +2 -2
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +2 -2
- pulumiverse_scaleway/get_vpc_routes.py +2 -2
- pulumiverse_scaleway/get_vpcs.py +2 -2
- pulumiverse_scaleway/get_web_host_offer.py +2 -2
- pulumiverse_scaleway/get_webhosting.py +2 -2
- pulumiverse_scaleway/instance_server.py +9 -4
- pulumiverse_scaleway/object_bucket.py +1 -1
- pulumiverse_scaleway/object_item.py +49 -0
- pulumiverse_scaleway/outputs.py +2 -2
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/redis_cluster.py +49 -14
- pulumiverse_scaleway/vpc_gateway_network.py +7 -7
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.22.0a1736328623.dist-info}/METADATA +2 -2
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.22.0a1736328623.dist-info}/RECORD +102 -101
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.22.0a1736328623.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.22.0a1736328623.dist-info}/top_level.txt +0 -0
|
@@ -158,7 +158,7 @@ def get_block_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
158
158
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
159
159
|
volume_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
160
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
161
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBlockVolumeResult]:
|
|
161
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBlockVolumeResult]:
|
|
162
162
|
"""
|
|
163
163
|
The `BlockVolume` data source is used to retrieve information about a Block Storage volume.
|
|
164
164
|
Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
|
|
@@ -174,7 +174,7 @@ def get_block_volume_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
174
174
|
__args__['projectId'] = project_id
|
|
175
175
|
__args__['volumeId'] = volume_id
|
|
176
176
|
__args__['zone'] = zone
|
|
177
|
-
opts = pulumi.
|
|
177
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
178
178
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getBlockVolume:getBlockVolume', __args__, opts=opts, typ=GetBlockVolumeResult)
|
|
179
179
|
return __ret__.apply(lambda __response__: GetBlockVolumeResult(
|
|
180
180
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -153,7 +153,7 @@ def get_cockpit(project_id: Optional[str] = None,
|
|
|
153
153
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
154
154
|
push_urls=pulumi.get(__ret__, 'push_urls'))
|
|
155
155
|
def get_cockpit_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
156
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCockpitResult]:
|
|
156
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCockpitResult]:
|
|
157
157
|
"""
|
|
158
158
|
> **Important:** The data source `Cockpit` has been deprecated and will no longer be supported. Instead, use resource `Cockpit`.
|
|
159
159
|
|
|
@@ -193,7 +193,7 @@ def get_cockpit_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
193
193
|
"""
|
|
194
194
|
__args__ = dict()
|
|
195
195
|
__args__['projectId'] = project_id
|
|
196
|
-
opts = pulumi.
|
|
196
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
197
197
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getCockpit:getCockpit', __args__, opts=opts, typ=GetCockpitResult)
|
|
198
198
|
return __ret__.apply(lambda __response__: GetCockpitResult(
|
|
199
199
|
endpoints=pulumi.get(__response__, 'endpoints'),
|
|
@@ -92,7 +92,7 @@ def get_cockpit_plan(name: Optional[str] = None,
|
|
|
92
92
|
id=pulumi.get(__ret__, 'id'),
|
|
93
93
|
name=pulumi.get(__ret__, 'name'))
|
|
94
94
|
def get_cockpit_plan_output(name: Optional[pulumi.Input[str]] = None,
|
|
95
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCockpitPlanResult]:
|
|
95
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCockpitPlanResult]:
|
|
96
96
|
"""
|
|
97
97
|
The `get_cockpit_plan` data source is used to fetch details about a specific Scaleway Cockpit pricing plan. This information can then be used to configure resources like `Cockpit`.
|
|
98
98
|
|
|
@@ -118,7 +118,7 @@ def get_cockpit_plan_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
118
118
|
"""
|
|
119
119
|
__args__ = dict()
|
|
120
120
|
__args__['name'] = name
|
|
121
|
-
opts = pulumi.
|
|
121
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
122
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getCockpitPlan:getCockpitPlan', __args__, opts=opts, typ=GetCockpitPlanResult)
|
|
123
123
|
return __ret__.apply(lambda __response__: GetCockpitPlanResult(
|
|
124
124
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
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
|
+
'GetCockpitSourceResult',
|
|
19
|
+
'AwaitableGetCockpitSourceResult',
|
|
20
|
+
'get_cockpit_source',
|
|
21
|
+
'get_cockpit_source_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetCockpitSourceResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getCockpitSource.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, created_at=None, id=None, name=None, origin=None, project_id=None, region=None, retention_days=None, synchronized_with_grafana=None, type=None, updated_at=None, url=None):
|
|
30
|
+
if created_at and not isinstance(created_at, str):
|
|
31
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
32
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
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 name and not isinstance(name, str):
|
|
37
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
38
|
+
pulumi.set(__self__, "name", name)
|
|
39
|
+
if origin and not isinstance(origin, str):
|
|
40
|
+
raise TypeError("Expected argument 'origin' to be a str")
|
|
41
|
+
pulumi.set(__self__, "origin", origin)
|
|
42
|
+
if project_id and not isinstance(project_id, str):
|
|
43
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
45
|
+
if region and not isinstance(region, str):
|
|
46
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
47
|
+
pulumi.set(__self__, "region", region)
|
|
48
|
+
if retention_days and not isinstance(retention_days, int):
|
|
49
|
+
raise TypeError("Expected argument 'retention_days' to be a int")
|
|
50
|
+
pulumi.set(__self__, "retention_days", retention_days)
|
|
51
|
+
if synchronized_with_grafana and not isinstance(synchronized_with_grafana, bool):
|
|
52
|
+
raise TypeError("Expected argument 'synchronized_with_grafana' to be a bool")
|
|
53
|
+
pulumi.set(__self__, "synchronized_with_grafana", synchronized_with_grafana)
|
|
54
|
+
if type and not isinstance(type, str):
|
|
55
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
56
|
+
pulumi.set(__self__, "type", type)
|
|
57
|
+
if updated_at and not isinstance(updated_at, str):
|
|
58
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
59
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
60
|
+
if url and not isinstance(url, str):
|
|
61
|
+
raise TypeError("Expected argument 'url' to be a str")
|
|
62
|
+
pulumi.set(__self__, "url", url)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter(name="createdAt")
|
|
66
|
+
def created_at(self) -> str:
|
|
67
|
+
"""
|
|
68
|
+
The date and time the data source was created (in RFC 3339 format).
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "created_at")
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def id(self) -> str:
|
|
75
|
+
"""
|
|
76
|
+
The unique identifier of the data source in the `{region}/{id}` format.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "id")
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter
|
|
82
|
+
def name(self) -> str:
|
|
83
|
+
return pulumi.get(self, "name")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def origin(self) -> str:
|
|
88
|
+
"""
|
|
89
|
+
The origin of the data source.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "origin")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter(name="projectId")
|
|
95
|
+
def project_id(self) -> str:
|
|
96
|
+
return pulumi.get(self, "project_id")
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter
|
|
100
|
+
def region(self) -> str:
|
|
101
|
+
return pulumi.get(self, "region")
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="retentionDays")
|
|
105
|
+
def retention_days(self) -> int:
|
|
106
|
+
"""
|
|
107
|
+
The number of days the data is retained in the data source.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "retention_days")
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
@pulumi.getter(name="synchronizedWithGrafana")
|
|
113
|
+
def synchronized_with_grafana(self) -> bool:
|
|
114
|
+
"""
|
|
115
|
+
Indicates whether the data source is synchronized with Grafana.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "synchronized_with_grafana")
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter
|
|
121
|
+
def type(self) -> str:
|
|
122
|
+
return pulumi.get(self, "type")
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter(name="updatedAt")
|
|
126
|
+
def updated_at(self) -> str:
|
|
127
|
+
"""
|
|
128
|
+
The date and time the data source was last updated (in RFC 3339 format).
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "updated_at")
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def url(self) -> str:
|
|
135
|
+
"""
|
|
136
|
+
The URL of the Cockpit data source.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "url")
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class AwaitableGetCockpitSourceResult(GetCockpitSourceResult):
|
|
142
|
+
# pylint: disable=using-constant-test
|
|
143
|
+
def __await__(self):
|
|
144
|
+
if False:
|
|
145
|
+
yield self
|
|
146
|
+
return GetCockpitSourceResult(
|
|
147
|
+
created_at=self.created_at,
|
|
148
|
+
id=self.id,
|
|
149
|
+
name=self.name,
|
|
150
|
+
origin=self.origin,
|
|
151
|
+
project_id=self.project_id,
|
|
152
|
+
region=self.region,
|
|
153
|
+
retention_days=self.retention_days,
|
|
154
|
+
synchronized_with_grafana=self.synchronized_with_grafana,
|
|
155
|
+
type=self.type,
|
|
156
|
+
updated_at=self.updated_at,
|
|
157
|
+
url=self.url)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def get_cockpit_source(id: Optional[str] = None,
|
|
161
|
+
name: Optional[str] = None,
|
|
162
|
+
origin: Optional[str] = None,
|
|
163
|
+
project_id: Optional[str] = None,
|
|
164
|
+
type: Optional[str] = None,
|
|
165
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCockpitSourceResult:
|
|
166
|
+
"""
|
|
167
|
+
The `CockpitSource` data source allows you to retrieve information about a specific [data source](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-sources) in Scaleway's Cockpit.
|
|
168
|
+
|
|
169
|
+
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.
|
|
170
|
+
|
|
171
|
+
## Example Usage
|
|
172
|
+
|
|
173
|
+
### Retrieve a specific data source by ID
|
|
174
|
+
|
|
175
|
+
The following example retrieves a Cockpit data source by its unique ID.
|
|
176
|
+
|
|
177
|
+
```python
|
|
178
|
+
import pulumi
|
|
179
|
+
import pulumi_scaleway as scaleway
|
|
180
|
+
|
|
181
|
+
example = scaleway.get_cockpit_source(id="fr-par/11111111-1111-1111-1111-111111111111")
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:param str id: The unique identifier of the Cockpit data source in the `{region}/{id}` format. If specified, other filters are ignored.
|
|
186
|
+
:param str name: The name of the data source.
|
|
187
|
+
:param str origin: The origin of the data source. Possible values are:
|
|
188
|
+
:param str project_id: The ID of the Project the data source is associated with. Defaults to the Project ID specified in the provider configuration.
|
|
189
|
+
:param str type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
|
|
190
|
+
"""
|
|
191
|
+
__args__ = dict()
|
|
192
|
+
__args__['id'] = id
|
|
193
|
+
__args__['name'] = name
|
|
194
|
+
__args__['origin'] = origin
|
|
195
|
+
__args__['projectId'] = project_id
|
|
196
|
+
__args__['type'] = type
|
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
198
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getCockpitSource:getCockpitSource', __args__, opts=opts, typ=GetCockpitSourceResult).value
|
|
199
|
+
|
|
200
|
+
return AwaitableGetCockpitSourceResult(
|
|
201
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
202
|
+
id=pulumi.get(__ret__, 'id'),
|
|
203
|
+
name=pulumi.get(__ret__, 'name'),
|
|
204
|
+
origin=pulumi.get(__ret__, 'origin'),
|
|
205
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
206
|
+
region=pulumi.get(__ret__, 'region'),
|
|
207
|
+
retention_days=pulumi.get(__ret__, 'retention_days'),
|
|
208
|
+
synchronized_with_grafana=pulumi.get(__ret__, 'synchronized_with_grafana'),
|
|
209
|
+
type=pulumi.get(__ret__, 'type'),
|
|
210
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
211
|
+
url=pulumi.get(__ret__, 'url'))
|
|
212
|
+
def get_cockpit_source_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
213
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
214
|
+
origin: Optional[pulumi.Input[Optional[str]]] = None,
|
|
215
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
216
|
+
type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
217
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCockpitSourceResult]:
|
|
218
|
+
"""
|
|
219
|
+
The `CockpitSource` data source allows you to retrieve information about a specific [data source](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-sources) in Scaleway's Cockpit.
|
|
220
|
+
|
|
221
|
+
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.
|
|
222
|
+
|
|
223
|
+
## Example Usage
|
|
224
|
+
|
|
225
|
+
### Retrieve a specific data source by ID
|
|
226
|
+
|
|
227
|
+
The following example retrieves a Cockpit data source by its unique ID.
|
|
228
|
+
|
|
229
|
+
```python
|
|
230
|
+
import pulumi
|
|
231
|
+
import pulumi_scaleway as scaleway
|
|
232
|
+
|
|
233
|
+
example = scaleway.get_cockpit_source(id="fr-par/11111111-1111-1111-1111-111111111111")
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
:param str id: The unique identifier of the Cockpit data source in the `{region}/{id}` format. If specified, other filters are ignored.
|
|
238
|
+
:param str name: The name of the data source.
|
|
239
|
+
:param str origin: The origin of the data source. Possible values are:
|
|
240
|
+
:param str project_id: The ID of the Project the data source is associated with. Defaults to the Project ID specified in the provider configuration.
|
|
241
|
+
:param str type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
|
|
242
|
+
"""
|
|
243
|
+
__args__ = dict()
|
|
244
|
+
__args__['id'] = id
|
|
245
|
+
__args__['name'] = name
|
|
246
|
+
__args__['origin'] = origin
|
|
247
|
+
__args__['projectId'] = project_id
|
|
248
|
+
__args__['type'] = type
|
|
249
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
250
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getCockpitSource:getCockpitSource', __args__, opts=opts, typ=GetCockpitSourceResult)
|
|
251
|
+
return __ret__.apply(lambda __response__: GetCockpitSourceResult(
|
|
252
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
253
|
+
id=pulumi.get(__response__, 'id'),
|
|
254
|
+
name=pulumi.get(__response__, 'name'),
|
|
255
|
+
origin=pulumi.get(__response__, 'origin'),
|
|
256
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
257
|
+
region=pulumi.get(__response__, 'region'),
|
|
258
|
+
retention_days=pulumi.get(__response__, 'retention_days'),
|
|
259
|
+
synchronized_with_grafana=pulumi.get(__response__, 'synchronized_with_grafana'),
|
|
260
|
+
type=pulumi.get(__response__, 'type'),
|
|
261
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
262
|
+
url=pulumi.get(__response__, 'url')))
|
|
@@ -159,12 +159,12 @@ def get_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfi
|
|
|
159
159
|
secret_key_source=pulumi.get(__ret__, 'secret_key_source'),
|
|
160
160
|
zone=pulumi.get(__ret__, 'zone'),
|
|
161
161
|
zone_source=pulumi.get(__ret__, 'zone_source'))
|
|
162
|
-
def get_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigResult]:
|
|
162
|
+
def get_config_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConfigResult]:
|
|
163
163
|
"""
|
|
164
164
|
Use this data source to access information about an existing resource.
|
|
165
165
|
"""
|
|
166
166
|
__args__ = dict()
|
|
167
|
-
opts = pulumi.
|
|
167
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
168
168
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getConfig:getConfig', __args__, opts=opts, typ=GetConfigResult)
|
|
169
169
|
return __ret__.apply(lambda __response__: GetConfigResult(
|
|
170
170
|
access_key=pulumi.get(__response__, 'access_key'),
|
|
@@ -437,7 +437,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
437
437
|
namespace_id: Optional[pulumi.Input[str]] = None,
|
|
438
438
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
439
439
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
440
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerResult]:
|
|
440
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContainerResult]:
|
|
441
441
|
"""
|
|
442
442
|
The `Container` data source is used to retrieve information about a Serverless Container.
|
|
443
443
|
|
|
@@ -490,7 +490,7 @@ def get_container_output(container_id: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
490
490
|
__args__['namespaceId'] = namespace_id
|
|
491
491
|
__args__['projectId'] = project_id
|
|
492
492
|
__args__['region'] = region
|
|
493
|
-
opts = pulumi.
|
|
493
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
494
494
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getContainer:getContainer', __args__, opts=opts, typ=GetContainerResult)
|
|
495
495
|
return __ret__.apply(lambda __response__: GetContainerResult(
|
|
496
496
|
container_id=pulumi.get(__response__, 'container_id'),
|
|
@@ -231,7 +231,7 @@ def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
231
231
|
namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
232
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
233
233
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
234
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerNamespaceResult]:
|
|
234
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContainerNamespaceResult]:
|
|
235
235
|
"""
|
|
236
236
|
The `ContainerNamespace` data source is used to retrieve information about a Serverless Containers namespace.
|
|
237
237
|
|
|
@@ -265,7 +265,7 @@ def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
265
265
|
__args__['namespaceId'] = namespace_id
|
|
266
266
|
__args__['projectId'] = project_id
|
|
267
267
|
__args__['region'] = region
|
|
268
|
-
opts = pulumi.
|
|
268
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
269
269
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getContainerNamespace:getContainerNamespace', __args__, opts=opts, typ=GetContainerNamespaceResult)
|
|
270
270
|
return __ret__.apply(lambda __response__: GetContainerNamespaceResult(
|
|
271
271
|
description=pulumi.get(__response__, 'description'),
|
|
@@ -152,7 +152,7 @@ def get_database(instance_id: Optional[str] = None,
|
|
|
152
152
|
def get_database_output(instance_id: Optional[pulumi.Input[str]] = None,
|
|
153
153
|
name: Optional[pulumi.Input[str]] = None,
|
|
154
154
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
155
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]:
|
|
155
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseResult]:
|
|
156
156
|
"""
|
|
157
157
|
Gets information about a database.
|
|
158
158
|
|
|
@@ -175,7 +175,7 @@ def get_database_output(instance_id: Optional[pulumi.Input[str]] = None,
|
|
|
175
175
|
__args__['instanceId'] = instance_id
|
|
176
176
|
__args__['name'] = name
|
|
177
177
|
__args__['region'] = region
|
|
178
|
-
opts = pulumi.
|
|
178
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
179
179
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabase:getDatabase', __args__, opts=opts, typ=GetDatabaseResult)
|
|
180
180
|
return __ret__.apply(lambda __response__: GetDatabaseResult(
|
|
181
181
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -113,7 +113,7 @@ def get_database_acl(instance_id: Optional[str] = None,
|
|
|
113
113
|
region=pulumi.get(__ret__, 'region'))
|
|
114
114
|
def get_database_acl_output(instance_id: Optional[pulumi.Input[str]] = None,
|
|
115
115
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
116
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseAclResult]:
|
|
116
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseAclResult]:
|
|
117
117
|
"""
|
|
118
118
|
Gets information about the Database Instance network Access Control List.
|
|
119
119
|
|
|
@@ -134,7 +134,7 @@ def get_database_acl_output(instance_id: Optional[pulumi.Input[str]] = None,
|
|
|
134
134
|
__args__ = dict()
|
|
135
135
|
__args__['instanceId'] = instance_id
|
|
136
136
|
__args__['region'] = region
|
|
137
|
-
opts = pulumi.
|
|
137
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
138
138
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabaseAcl:getDatabaseAcl', __args__, opts=opts, typ=GetDatabaseAclResult)
|
|
139
139
|
return __ret__.apply(lambda __response__: GetDatabaseAclResult(
|
|
140
140
|
acl_rules=pulumi.get(__response__, 'acl_rules'),
|
|
@@ -205,7 +205,7 @@ def get_database_backup_output(backup_id: Optional[pulumi.Input[Optional[str]]]
|
|
|
205
205
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
206
206
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
207
207
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
208
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseBackupResult]:
|
|
208
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseBackupResult]:
|
|
209
209
|
"""
|
|
210
210
|
Gets information about an RDB backup.
|
|
211
211
|
|
|
@@ -236,7 +236,7 @@ def get_database_backup_output(backup_id: Optional[pulumi.Input[Optional[str]]]
|
|
|
236
236
|
__args__['name'] = name
|
|
237
237
|
__args__['projectId'] = project_id
|
|
238
238
|
__args__['region'] = region
|
|
239
|
-
opts = pulumi.
|
|
239
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
240
240
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabaseBackup:getDatabaseBackup', __args__, opts=opts, typ=GetDatabaseBackupResult)
|
|
241
241
|
return __ret__.apply(lambda __response__: GetDatabaseBackupResult(
|
|
242
242
|
backup_id=pulumi.get(__response__, 'backup_id'),
|
|
@@ -352,7 +352,7 @@ def get_database_instance_output(instance_id: Optional[pulumi.Input[Optional[str
|
|
|
352
352
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
353
353
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
354
354
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
355
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseInstanceResult]:
|
|
355
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstanceResult]:
|
|
356
356
|
"""
|
|
357
357
|
Gets information about an Database Instance.
|
|
358
358
|
|
|
@@ -371,7 +371,7 @@ def get_database_instance_output(instance_id: Optional[pulumi.Input[Optional[str
|
|
|
371
371
|
__args__['name'] = name
|
|
372
372
|
__args__['projectId'] = project_id
|
|
373
373
|
__args__['region'] = region
|
|
374
|
-
opts = pulumi.
|
|
374
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
375
375
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult)
|
|
376
376
|
return __ret__.apply(lambda __response__: GetDatabaseInstanceResult(
|
|
377
377
|
backup_same_region=pulumi.get(__response__, 'backup_same_region'),
|
|
@@ -143,7 +143,7 @@ def get_database_privilege_output(database_name: Optional[pulumi.Input[str]] = N
|
|
|
143
143
|
instance_id: Optional[pulumi.Input[str]] = None,
|
|
144
144
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
145
|
user_name: Optional[pulumi.Input[str]] = None,
|
|
146
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabasePrivilegeResult]:
|
|
146
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabasePrivilegeResult]:
|
|
147
147
|
"""
|
|
148
148
|
Gets information about the privileges in a database.
|
|
149
149
|
|
|
@@ -170,7 +170,7 @@ def get_database_privilege_output(database_name: Optional[pulumi.Input[str]] = N
|
|
|
170
170
|
__args__['instanceId'] = instance_id
|
|
171
171
|
__args__['region'] = region
|
|
172
172
|
__args__['userName'] = user_name
|
|
173
|
-
opts = pulumi.
|
|
173
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
174
174
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDatabasePrivilege:getDatabasePrivilege', __args__, opts=opts, typ=GetDatabasePrivilegeResult)
|
|
175
175
|
return __ret__.apply(lambda __response__: GetDatabasePrivilegeResult(
|
|
176
176
|
database_name=pulumi.get(__response__, 'database_name'),
|
|
@@ -277,7 +277,7 @@ def get_domain_record_output(data: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
277
277
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
278
278
|
record_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
279
279
|
type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
280
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainRecordResult]:
|
|
280
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainRecordResult]:
|
|
281
281
|
"""
|
|
282
282
|
The `DomainRecord` data source is used to get information about an existing domain record.
|
|
283
283
|
|
|
@@ -319,7 +319,7 @@ def get_domain_record_output(data: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
319
319
|
__args__['projectId'] = project_id
|
|
320
320
|
__args__['recordId'] = record_id
|
|
321
321
|
__args__['type'] = type
|
|
322
|
-
opts = pulumi.
|
|
322
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
323
323
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDomainRecord:getDomainRecord', __args__, opts=opts, typ=GetDomainRecordResult)
|
|
324
324
|
return __ret__.apply(lambda __response__: GetDomainRecordResult(
|
|
325
325
|
data=pulumi.get(__response__, 'data'),
|
|
@@ -176,7 +176,7 @@ def get_domain_zone(domain: Optional[str] = None,
|
|
|
176
176
|
updated_at=pulumi.get(__ret__, 'updated_at'))
|
|
177
177
|
def get_domain_zone_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
178
178
|
subdomain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
179
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainZoneResult]:
|
|
179
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainZoneResult]:
|
|
180
180
|
"""
|
|
181
181
|
Use this data source to access information about an existing resource.
|
|
182
182
|
|
|
@@ -186,7 +186,7 @@ def get_domain_zone_output(domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
186
186
|
__args__ = dict()
|
|
187
187
|
__args__['domain'] = domain
|
|
188
188
|
__args__['subdomain'] = subdomain
|
|
189
|
-
opts = pulumi.
|
|
189
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
190
190
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getDomainZone:getDomainZone', __args__, opts=opts, typ=GetDomainZoneResult)
|
|
191
191
|
return __ret__.apply(lambda __response__: GetDomainZoneResult(
|
|
192
192
|
domain=pulumi.get(__response__, 'domain'),
|
|
@@ -215,7 +215,7 @@ def get_flexible_ip(flexible_ip_id: Optional[str] = None,
|
|
|
215
215
|
def get_flexible_ip_output(flexible_ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
216
216
|
ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
217
217
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
218
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleIpResult]:
|
|
218
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFlexibleIpResult]:
|
|
219
219
|
"""
|
|
220
220
|
Gets information about a Flexible IP.
|
|
221
221
|
|
|
@@ -228,7 +228,7 @@ def get_flexible_ip_output(flexible_ip_id: Optional[pulumi.Input[Optional[str]]]
|
|
|
228
228
|
__args__['flexibleIpId'] = flexible_ip_id
|
|
229
229
|
__args__['ipAddress'] = ip_address
|
|
230
230
|
__args__['projectId'] = project_id
|
|
231
|
-
opts = pulumi.
|
|
231
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
232
232
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFlexibleIp:getFlexibleIp', __args__, opts=opts, typ=GetFlexibleIpResult)
|
|
233
233
|
return __ret__.apply(lambda __response__: GetFlexibleIpResult(
|
|
234
234
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
@@ -183,7 +183,7 @@ def get_flexible_ips_output(project_id: Optional[pulumi.Input[Optional[str]]] =
|
|
|
183
183
|
server_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
184
184
|
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
185
185
|
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
186
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlexibleIpsResult]:
|
|
186
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFlexibleIpsResult]:
|
|
187
187
|
"""
|
|
188
188
|
Gets information about multiple Flexible IPs.
|
|
189
189
|
|
|
@@ -228,7 +228,7 @@ def get_flexible_ips_output(project_id: Optional[pulumi.Input[Optional[str]]] =
|
|
|
228
228
|
__args__['serverIds'] = server_ids
|
|
229
229
|
__args__['tags'] = tags
|
|
230
230
|
__args__['zone'] = zone
|
|
231
|
-
opts = pulumi.
|
|
231
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
232
232
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFlexibleIps:getFlexibleIps', __args__, opts=opts, typ=GetFlexibleIpsResult)
|
|
233
233
|
return __ret__.apply(lambda __response__: GetFlexibleIpsResult(
|
|
234
234
|
id=pulumi.get(__response__, 'id'),
|
|
@@ -315,7 +315,7 @@ def get_function_output(function_id: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
315
315
|
namespace_id: Optional[pulumi.Input[str]] = None,
|
|
316
316
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
317
317
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
318
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionResult]:
|
|
318
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFunctionResult]:
|
|
319
319
|
"""
|
|
320
320
|
The `Function` data source is used to retrieve information about a Serverless Function.
|
|
321
321
|
|
|
@@ -336,7 +336,7 @@ def get_function_output(function_id: Optional[pulumi.Input[Optional[str]]] = Non
|
|
|
336
336
|
__args__['namespaceId'] = namespace_id
|
|
337
337
|
__args__['projectId'] = project_id
|
|
338
338
|
__args__['region'] = region
|
|
339
|
-
opts = pulumi.
|
|
339
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
340
340
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFunction:getFunction', __args__, opts=opts, typ=GetFunctionResult)
|
|
341
341
|
return __ret__.apply(lambda __response__: GetFunctionResult(
|
|
342
342
|
cpu_limit=pulumi.get(__response__, 'cpu_limit'),
|
|
@@ -204,7 +204,7 @@ def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
204
204
|
namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
205
205
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
206
206
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
207
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionNamespaceResult]:
|
|
207
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFunctionNamespaceResult]:
|
|
208
208
|
"""
|
|
209
209
|
The `FunctionNamespace` data source is used to retrieve information about a Serverless Functions namespace.
|
|
210
210
|
|
|
@@ -221,7 +221,7 @@ def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
221
221
|
__args__['namespaceId'] = namespace_id
|
|
222
222
|
__args__['projectId'] = project_id
|
|
223
223
|
__args__['region'] = region
|
|
224
|
-
opts = pulumi.
|
|
224
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
225
225
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getFunctionNamespace:getFunctionNamespace', __args__, opts=opts, typ=GetFunctionNamespaceResult)
|
|
226
226
|
return __ret__.apply(lambda __response__: GetFunctionNamespaceResult(
|
|
227
227
|
description=pulumi.get(__response__, 'description'),
|
|
@@ -175,7 +175,7 @@ def get_iam_api_key(access_key: Optional[str] = None,
|
|
|
175
175
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
176
176
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
177
177
|
def get_iam_api_key_output(access_key: Optional[pulumi.Input[str]] = None,
|
|
178
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamApiKeyResult]:
|
|
178
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamApiKeyResult]:
|
|
179
179
|
"""
|
|
180
180
|
Gets information about an existing IAM API key. For more information, refer to the [IAM API documentation](https://www.scaleway.com/en/developers/api/iam/#api-keys-3665ae).
|
|
181
181
|
|
|
@@ -194,7 +194,7 @@ def get_iam_api_key_output(access_key: Optional[pulumi.Input[str]] = None,
|
|
|
194
194
|
"""
|
|
195
195
|
__args__ = dict()
|
|
196
196
|
__args__['accessKey'] = access_key
|
|
197
|
-
opts = pulumi.
|
|
197
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
198
198
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamApiKey:getIamApiKey', __args__, opts=opts, typ=GetIamApiKeyResult)
|
|
199
199
|
return __ret__.apply(lambda __response__: GetIamApiKeyResult(
|
|
200
200
|
access_key=pulumi.get(__response__, 'access_key'),
|
|
@@ -168,7 +168,7 @@ def get_iam_application(application_id: Optional[str] = None,
|
|
|
168
168
|
def get_iam_application_output(application_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
169
169
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
170
170
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
171
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamApplicationResult]:
|
|
171
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamApplicationResult]:
|
|
172
172
|
"""
|
|
173
173
|
Gets information about an existing IAM application.
|
|
174
174
|
|
|
@@ -196,7 +196,7 @@ def get_iam_application_output(application_id: Optional[pulumi.Input[Optional[st
|
|
|
196
196
|
__args__['applicationId'] = application_id
|
|
197
197
|
__args__['name'] = name
|
|
198
198
|
__args__['organizationId'] = organization_id
|
|
199
|
-
opts = pulumi.
|
|
199
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
200
200
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamApplication:getIamApplication', __args__, opts=opts, typ=GetIamApplicationResult)
|
|
201
201
|
return __ret__.apply(lambda __response__: GetIamApplicationResult(
|
|
202
202
|
application_id=pulumi.get(__response__, 'application_id'),
|