pulumiverse-scaleway 1.16.0a1730122985__py3-none-any.whl → 1.17.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +10 -0
- pulumiverse_scaleway/_inputs.py +165 -60
- pulumiverse_scaleway/block_snapshot.py +37 -27
- pulumiverse_scaleway/block_volume.py +49 -43
- pulumiverse_scaleway/cockpit.py +39 -24
- pulumiverse_scaleway/cockpit_alert_manager.py +42 -38
- pulumiverse_scaleway/cockpit_grafana_user.py +39 -31
- pulumiverse_scaleway/cockpit_source.py +86 -50
- pulumiverse_scaleway/cockpit_token.py +45 -27
- pulumiverse_scaleway/database_instance.py +13 -8
- pulumiverse_scaleway/domain_record.py +88 -46
- pulumiverse_scaleway/domain_zone.py +47 -75
- pulumiverse_scaleway/get_block_snapshot.py +16 -12
- pulumiverse_scaleway/get_block_volume.py +10 -8
- pulumiverse_scaleway/get_cockpit.py +44 -19
- pulumiverse_scaleway/get_cockpit_plan.py +18 -6
- pulumiverse_scaleway/get_domain_record.py +40 -34
- pulumiverse_scaleway/get_domain_zone.py +12 -36
- pulumiverse_scaleway/get_mnq_sns.py +150 -0
- pulumiverse_scaleway/get_secret.py +77 -29
- pulumiverse_scaleway/get_secret_version.py +75 -38
- pulumiverse_scaleway/iam_policy.py +46 -0
- pulumiverse_scaleway/instance_server.py +56 -4
- pulumiverse_scaleway/loadbalancer_frontend.py +4 -4
- pulumiverse_scaleway/outputs.py +169 -55
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/secret.py +162 -59
- pulumiverse_scaleway/secret_version.py +59 -54
- pulumiverse_scaleway/tem_domain.py +9 -4
- pulumiverse_scaleway/tem_webhook.py +640 -0
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/RECORD +34 -32
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.16.0a1730122985.dist-info → pulumiverse_scaleway-1.17.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
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
|
+
'GetMnqSnsResult',
|
|
19
|
+
'AwaitableGetMnqSnsResult',
|
|
20
|
+
'get_mnq_sns',
|
|
21
|
+
'get_mnq_sns_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetMnqSnsResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getMnqSns.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, endpoint=None, id=None, project_id=None, region=None):
|
|
30
|
+
if endpoint and not isinstance(endpoint, str):
|
|
31
|
+
raise TypeError("Expected argument 'endpoint' to be a str")
|
|
32
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
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
|
+
if region and not isinstance(region, str):
|
|
40
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
41
|
+
pulumi.set(__self__, "region", region)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter
|
|
45
|
+
def endpoint(self) -> str:
|
|
46
|
+
"""
|
|
47
|
+
The endpoint of the SNS service for this Project.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "endpoint")
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def id(self) -> str:
|
|
54
|
+
"""
|
|
55
|
+
The provider-assigned unique ID for this managed resource.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "id")
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter(name="projectId")
|
|
61
|
+
def project_id(self) -> Optional[str]:
|
|
62
|
+
return pulumi.get(self, "project_id")
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def region(self) -> Optional[str]:
|
|
67
|
+
return pulumi.get(self, "region")
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class AwaitableGetMnqSnsResult(GetMnqSnsResult):
|
|
71
|
+
# pylint: disable=using-constant-test
|
|
72
|
+
def __await__(self):
|
|
73
|
+
if False:
|
|
74
|
+
yield self
|
|
75
|
+
return GetMnqSnsResult(
|
|
76
|
+
endpoint=self.endpoint,
|
|
77
|
+
id=self.id,
|
|
78
|
+
project_id=self.project_id,
|
|
79
|
+
region=self.region)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def get_mnq_sns(project_id: Optional[str] = None,
|
|
83
|
+
region: Optional[str] = None,
|
|
84
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMnqSnsResult:
|
|
85
|
+
"""
|
|
86
|
+
Gets information about SNS for a Project
|
|
87
|
+
|
|
88
|
+
## Examples
|
|
89
|
+
|
|
90
|
+
### Basic
|
|
91
|
+
|
|
92
|
+
```python
|
|
93
|
+
import pulumi
|
|
94
|
+
import pulumi_scaleway as scaleway
|
|
95
|
+
|
|
96
|
+
# For default project
|
|
97
|
+
main = scaleway.get_mnq_sns()
|
|
98
|
+
# For specific project
|
|
99
|
+
for_project = scaleway.get_mnq_sns(project_id=main_scaleway_account_project["id"])
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param str project_id: `project_id`) The ID of the Project in which sns is enabled.
|
|
104
|
+
:param str region: `region`). The region in which sns is enabled.
|
|
105
|
+
"""
|
|
106
|
+
__args__ = dict()
|
|
107
|
+
__args__['projectId'] = project_id
|
|
108
|
+
__args__['region'] = region
|
|
109
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
110
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getMnqSns:getMnqSns', __args__, opts=opts, typ=GetMnqSnsResult).value
|
|
111
|
+
|
|
112
|
+
return AwaitableGetMnqSnsResult(
|
|
113
|
+
endpoint=pulumi.get(__ret__, 'endpoint'),
|
|
114
|
+
id=pulumi.get(__ret__, 'id'),
|
|
115
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
116
|
+
region=pulumi.get(__ret__, 'region'))
|
|
117
|
+
def get_mnq_sns_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
118
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
119
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMnqSnsResult]:
|
|
120
|
+
"""
|
|
121
|
+
Gets information about SNS for a Project
|
|
122
|
+
|
|
123
|
+
## Examples
|
|
124
|
+
|
|
125
|
+
### Basic
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
import pulumi
|
|
129
|
+
import pulumi_scaleway as scaleway
|
|
130
|
+
|
|
131
|
+
# For default project
|
|
132
|
+
main = scaleway.get_mnq_sns()
|
|
133
|
+
# For specific project
|
|
134
|
+
for_project = scaleway.get_mnq_sns(project_id=main_scaleway_account_project["id"])
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:param str project_id: `project_id`) The ID of the Project in which sns is enabled.
|
|
139
|
+
:param str region: `region`). The region in which sns is enabled.
|
|
140
|
+
"""
|
|
141
|
+
__args__ = dict()
|
|
142
|
+
__args__['projectId'] = project_id
|
|
143
|
+
__args__['region'] = region
|
|
144
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
145
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getMnqSns:getMnqSns', __args__, opts=opts, typ=GetMnqSnsResult)
|
|
146
|
+
return __ret__.apply(lambda __response__: GetMnqSnsResult(
|
|
147
|
+
endpoint=pulumi.get(__response__, 'endpoint'),
|
|
148
|
+
id=pulumi.get(__response__, 'id'),
|
|
149
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
150
|
+
region=pulumi.get(__response__, 'region')))
|
|
@@ -13,6 +13,7 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
16
17
|
|
|
17
18
|
__all__ = [
|
|
18
19
|
'GetSecretResult',
|
|
@@ -26,13 +27,16 @@ class GetSecretResult:
|
|
|
26
27
|
"""
|
|
27
28
|
A collection of values returned by getSecret.
|
|
28
29
|
"""
|
|
29
|
-
def __init__(__self__, created_at=None, description=None, id=None, name=None, organization_id=None, path=None, project_id=None, region=None, secret_id=None, status=None, tags=None, updated_at=None, version_count=None):
|
|
30
|
+
def __init__(__self__, created_at=None, description=None, ephemeral_policies=None, id=None, name=None, organization_id=None, path=None, project_id=None, protected=None, region=None, secret_id=None, status=None, tags=None, type=None, updated_at=None, version_count=None):
|
|
30
31
|
if created_at and not isinstance(created_at, str):
|
|
31
32
|
raise TypeError("Expected argument 'created_at' to be a str")
|
|
32
33
|
pulumi.set(__self__, "created_at", created_at)
|
|
33
34
|
if description and not isinstance(description, str):
|
|
34
35
|
raise TypeError("Expected argument 'description' to be a str")
|
|
35
36
|
pulumi.set(__self__, "description", description)
|
|
37
|
+
if ephemeral_policies and not isinstance(ephemeral_policies, list):
|
|
38
|
+
raise TypeError("Expected argument 'ephemeral_policies' to be a list")
|
|
39
|
+
pulumi.set(__self__, "ephemeral_policies", ephemeral_policies)
|
|
36
40
|
if id and not isinstance(id, str):
|
|
37
41
|
raise TypeError("Expected argument 'id' to be a str")
|
|
38
42
|
pulumi.set(__self__, "id", id)
|
|
@@ -48,6 +52,9 @@ class GetSecretResult:
|
|
|
48
52
|
if project_id and not isinstance(project_id, str):
|
|
49
53
|
raise TypeError("Expected argument 'project_id' to be a str")
|
|
50
54
|
pulumi.set(__self__, "project_id", project_id)
|
|
55
|
+
if protected and not isinstance(protected, bool):
|
|
56
|
+
raise TypeError("Expected argument 'protected' to be a bool")
|
|
57
|
+
pulumi.set(__self__, "protected", protected)
|
|
51
58
|
if region and not isinstance(region, str):
|
|
52
59
|
raise TypeError("Expected argument 'region' to be a str")
|
|
53
60
|
pulumi.set(__self__, "region", region)
|
|
@@ -60,6 +67,9 @@ class GetSecretResult:
|
|
|
60
67
|
if tags and not isinstance(tags, list):
|
|
61
68
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
62
69
|
pulumi.set(__self__, "tags", tags)
|
|
70
|
+
if type and not isinstance(type, str):
|
|
71
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
72
|
+
pulumi.set(__self__, "type", type)
|
|
63
73
|
if updated_at and not isinstance(updated_at, str):
|
|
64
74
|
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
65
75
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
@@ -77,6 +87,11 @@ class GetSecretResult:
|
|
|
77
87
|
def description(self) -> str:
|
|
78
88
|
return pulumi.get(self, "description")
|
|
79
89
|
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter(name="ephemeralPolicies")
|
|
92
|
+
def ephemeral_policies(self) -> Sequence['outputs.GetSecretEphemeralPolicyResult']:
|
|
93
|
+
return pulumi.get(self, "ephemeral_policies")
|
|
94
|
+
|
|
80
95
|
@property
|
|
81
96
|
@pulumi.getter
|
|
82
97
|
def id(self) -> str:
|
|
@@ -105,6 +120,11 @@ class GetSecretResult:
|
|
|
105
120
|
def project_id(self) -> Optional[str]:
|
|
106
121
|
return pulumi.get(self, "project_id")
|
|
107
122
|
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter
|
|
125
|
+
def protected(self) -> bool:
|
|
126
|
+
return pulumi.get(self, "protected")
|
|
127
|
+
|
|
108
128
|
@property
|
|
109
129
|
@pulumi.getter
|
|
110
130
|
def region(self) -> Optional[str]:
|
|
@@ -125,6 +145,11 @@ class GetSecretResult:
|
|
|
125
145
|
def tags(self) -> Sequence[str]:
|
|
126
146
|
return pulumi.get(self, "tags")
|
|
127
147
|
|
|
148
|
+
@property
|
|
149
|
+
@pulumi.getter
|
|
150
|
+
def type(self) -> str:
|
|
151
|
+
return pulumi.get(self, "type")
|
|
152
|
+
|
|
128
153
|
@property
|
|
129
154
|
@pulumi.getter(name="updatedAt")
|
|
130
155
|
def updated_at(self) -> str:
|
|
@@ -144,15 +169,18 @@ class AwaitableGetSecretResult(GetSecretResult):
|
|
|
144
169
|
return GetSecretResult(
|
|
145
170
|
created_at=self.created_at,
|
|
146
171
|
description=self.description,
|
|
172
|
+
ephemeral_policies=self.ephemeral_policies,
|
|
147
173
|
id=self.id,
|
|
148
174
|
name=self.name,
|
|
149
175
|
organization_id=self.organization_id,
|
|
150
176
|
path=self.path,
|
|
151
177
|
project_id=self.project_id,
|
|
178
|
+
protected=self.protected,
|
|
152
179
|
region=self.region,
|
|
153
180
|
secret_id=self.secret_id,
|
|
154
181
|
status=self.status,
|
|
155
182
|
tags=self.tags,
|
|
183
|
+
type=self.type,
|
|
156
184
|
updated_at=self.updated_at,
|
|
157
185
|
version_count=self.version_count)
|
|
158
186
|
|
|
@@ -165,38 +193,45 @@ def get_secret(name: Optional[str] = None,
|
|
|
165
193
|
secret_id: Optional[str] = None,
|
|
166
194
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretResult:
|
|
167
195
|
"""
|
|
168
|
-
|
|
169
|
-
|
|
196
|
+
The `Secret` data source is used to get information about a specific secret in Scaleway's Secret Manager.
|
|
197
|
+
|
|
198
|
+
Refer to the Secret Manager [product documentation](https://www.scaleway.com/en/docs/identity-and-access-management/secret-manager/) and [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/) for more information.
|
|
199
|
+
|
|
200
|
+
## Example Usage
|
|
201
|
+
|
|
202
|
+
### Create a secret and get its information
|
|
170
203
|
|
|
171
|
-
|
|
204
|
+
The following commands allow you to:
|
|
172
205
|
|
|
173
|
-
|
|
206
|
+
- create a secret named `foo` with the description `barr`
|
|
207
|
+
- retrieve the secret's information using the secret's ID
|
|
208
|
+
- retrieve the secret's information using the secret's name
|
|
174
209
|
|
|
175
210
|
```python
|
|
176
211
|
import pulumi
|
|
177
212
|
import pulumi_scaleway as scaleway
|
|
178
213
|
import pulumiverse_scaleway as scaleway
|
|
179
214
|
|
|
215
|
+
# Create a secret
|
|
180
216
|
main = scaleway.Secret("main",
|
|
181
217
|
name="foo",
|
|
182
218
|
description="barr")
|
|
183
|
-
# Get
|
|
219
|
+
# Get the secret information specified by the secret ID
|
|
184
220
|
my_secret = scaleway.get_secret(secret_id="11111111-1111-1111-1111-111111111111")
|
|
185
|
-
# Get
|
|
221
|
+
# Get the secret information specified by the secret name
|
|
186
222
|
by_name = scaleway.get_secret(name="your_secret_name")
|
|
187
223
|
```
|
|
188
224
|
|
|
189
225
|
|
|
190
|
-
:param str name: The secret
|
|
226
|
+
:param str name: The name of the secret.
|
|
191
227
|
Only one of `name` and `secret_id` should be specified.
|
|
192
|
-
:param str organization_id: The
|
|
193
|
-
|
|
194
|
-
:param str path: The secret path.
|
|
228
|
+
:param str organization_id: The ID of the Scaleway Organization the Project is associated with. If no default `organization_id` is set, it must be set explicitly in this data source.
|
|
229
|
+
:param str path: The path of the secret.
|
|
195
230
|
Conflicts with `secret_id`.
|
|
196
|
-
:param str project_id:
|
|
197
|
-
|
|
198
|
-
:param str region:
|
|
199
|
-
:param str secret_id: The secret
|
|
231
|
+
:param str project_id: ). The ID of the
|
|
232
|
+
Project the secret is associated with.
|
|
233
|
+
:param str region: ). The region in which the secret exists.
|
|
234
|
+
:param str secret_id: The ID of the secret.
|
|
200
235
|
Only one of `name` and `secret_id` should be specified.
|
|
201
236
|
"""
|
|
202
237
|
__args__ = dict()
|
|
@@ -212,15 +247,18 @@ def get_secret(name: Optional[str] = None,
|
|
|
212
247
|
return AwaitableGetSecretResult(
|
|
213
248
|
created_at=pulumi.get(__ret__, 'created_at'),
|
|
214
249
|
description=pulumi.get(__ret__, 'description'),
|
|
250
|
+
ephemeral_policies=pulumi.get(__ret__, 'ephemeral_policies'),
|
|
215
251
|
id=pulumi.get(__ret__, 'id'),
|
|
216
252
|
name=pulumi.get(__ret__, 'name'),
|
|
217
253
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
218
254
|
path=pulumi.get(__ret__, 'path'),
|
|
219
255
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
256
|
+
protected=pulumi.get(__ret__, 'protected'),
|
|
220
257
|
region=pulumi.get(__ret__, 'region'),
|
|
221
258
|
secret_id=pulumi.get(__ret__, 'secret_id'),
|
|
222
259
|
status=pulumi.get(__ret__, 'status'),
|
|
223
260
|
tags=pulumi.get(__ret__, 'tags'),
|
|
261
|
+
type=pulumi.get(__ret__, 'type'),
|
|
224
262
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
225
263
|
version_count=pulumi.get(__ret__, 'version_count'))
|
|
226
264
|
def get_secret_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -231,38 +269,45 @@ def get_secret_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
231
269
|
secret_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
270
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretResult]:
|
|
233
271
|
"""
|
|
234
|
-
|
|
235
|
-
|
|
272
|
+
The `Secret` data source is used to get information about a specific secret in Scaleway's Secret Manager.
|
|
273
|
+
|
|
274
|
+
Refer to the Secret Manager [product documentation](https://www.scaleway.com/en/docs/identity-and-access-management/secret-manager/) and [API documentation](https://www.scaleway.com/en/developers/api/secret-manager/) for more information.
|
|
275
|
+
|
|
276
|
+
## Example Usage
|
|
277
|
+
|
|
278
|
+
### Create a secret and get its information
|
|
236
279
|
|
|
237
|
-
|
|
280
|
+
The following commands allow you to:
|
|
238
281
|
|
|
239
|
-
|
|
282
|
+
- create a secret named `foo` with the description `barr`
|
|
283
|
+
- retrieve the secret's information using the secret's ID
|
|
284
|
+
- retrieve the secret's information using the secret's name
|
|
240
285
|
|
|
241
286
|
```python
|
|
242
287
|
import pulumi
|
|
243
288
|
import pulumi_scaleway as scaleway
|
|
244
289
|
import pulumiverse_scaleway as scaleway
|
|
245
290
|
|
|
291
|
+
# Create a secret
|
|
246
292
|
main = scaleway.Secret("main",
|
|
247
293
|
name="foo",
|
|
248
294
|
description="barr")
|
|
249
|
-
# Get
|
|
295
|
+
# Get the secret information specified by the secret ID
|
|
250
296
|
my_secret = scaleway.get_secret(secret_id="11111111-1111-1111-1111-111111111111")
|
|
251
|
-
# Get
|
|
297
|
+
# Get the secret information specified by the secret name
|
|
252
298
|
by_name = scaleway.get_secret(name="your_secret_name")
|
|
253
299
|
```
|
|
254
300
|
|
|
255
301
|
|
|
256
|
-
:param str name: The secret
|
|
302
|
+
:param str name: The name of the secret.
|
|
257
303
|
Only one of `name` and `secret_id` should be specified.
|
|
258
|
-
:param str organization_id: The
|
|
259
|
-
|
|
260
|
-
:param str path: The secret path.
|
|
304
|
+
:param str organization_id: The ID of the Scaleway Organization the Project is associated with. If no default `organization_id` is set, it must be set explicitly in this data source.
|
|
305
|
+
:param str path: The path of the secret.
|
|
261
306
|
Conflicts with `secret_id`.
|
|
262
|
-
:param str project_id:
|
|
263
|
-
|
|
264
|
-
:param str region:
|
|
265
|
-
:param str secret_id: The secret
|
|
307
|
+
:param str project_id: ). The ID of the
|
|
308
|
+
Project the secret is associated with.
|
|
309
|
+
:param str region: ). The region in which the secret exists.
|
|
310
|
+
:param str secret_id: The ID of the secret.
|
|
266
311
|
Only one of `name` and `secret_id` should be specified.
|
|
267
312
|
"""
|
|
268
313
|
__args__ = dict()
|
|
@@ -277,14 +322,17 @@ def get_secret_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
277
322
|
return __ret__.apply(lambda __response__: GetSecretResult(
|
|
278
323
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
279
324
|
description=pulumi.get(__response__, 'description'),
|
|
325
|
+
ephemeral_policies=pulumi.get(__response__, 'ephemeral_policies'),
|
|
280
326
|
id=pulumi.get(__response__, 'id'),
|
|
281
327
|
name=pulumi.get(__response__, 'name'),
|
|
282
328
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
283
329
|
path=pulumi.get(__response__, 'path'),
|
|
284
330
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
331
|
+
protected=pulumi.get(__response__, 'protected'),
|
|
285
332
|
region=pulumi.get(__response__, 'region'),
|
|
286
333
|
secret_id=pulumi.get(__response__, 'secret_id'),
|
|
287
334
|
status=pulumi.get(__response__, 'status'),
|
|
288
335
|
tags=pulumi.get(__response__, 'tags'),
|
|
336
|
+
type=pulumi.get(__response__, 'type'),
|
|
289
337
|
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
290
338
|
version_count=pulumi.get(__response__, 'version_count')))
|