pulumi-gcp 8.3.0a1726834947__py3-none-any.whl → 8.3.0a1727226164__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.
- pulumi_gcp/__init__.py +120 -0
- pulumi_gcp/alloydb/_inputs.py +20 -0
- pulumi_gcp/alloydb/instance.py +36 -0
- pulumi_gcp/alloydb/outputs.py +14 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +1400 -0
- pulumi_gcp/compute/attached_disk.py +103 -0
- pulumi_gcp/compute/backend_service.py +29 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +769 -0
- pulumi_gcp/compute/outputs.py +1019 -0
- pulumi_gcp/compute/region_backend_service.py +29 -22
- pulumi_gcp/compute/router_nat.py +27 -66
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +72 -99
- pulumi_gcp/container/outputs.py +53 -70
- pulumi_gcp/databasemigrationservice/__init__.py +1 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +362 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +1739 -0
- pulumi_gcp/databasemigrationservice/outputs.py +268 -0
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +93 -0
- pulumi_gcp/developerconnect/_inputs.py +42 -39
- pulumi_gcp/developerconnect/connection.py +86 -83
- pulumi_gcp/developerconnect/outputs.py +28 -26
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +131 -0
- pulumi_gcp/discoveryengine/outputs.py +131 -0
- pulumi_gcp/discoveryengine/target_site.py +870 -0
- pulumi_gcp/dns/managed_zone.py +1 -1
- pulumi_gcp/filestore/get_instance.py +21 -1
- pulumi_gcp/filestore/instance.py +94 -0
- pulumi_gcp/gkehub/feature_membership.py +140 -62
- pulumi_gcp/healthcare/__init__.py +1 -0
- pulumi_gcp/healthcare/_inputs.py +39 -0
- pulumi_gcp/healthcare/outputs.py +40 -0
- pulumi_gcp/healthcare/workspace.py +465 -0
- pulumi_gcp/looker/instance.py +81 -0
- pulumi_gcp/netapp/_inputs.py +63 -0
- pulumi_gcp/netapp/outputs.py +57 -0
- pulumi_gcp/netapp/storage_pool.py +54 -0
- pulumi_gcp/netapp/volume.py +82 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +43 -7
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/__init__.py +8 -0
- pulumi_gcp/secretmanager/_inputs.py +308 -0
- pulumi_gcp/secretmanager/get_regional_secret.py +279 -0
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +173 -0
- pulumi_gcp/secretmanager/get_regional_secret_version.py +241 -0
- pulumi_gcp/secretmanager/outputs.py +336 -0
- pulumi_gcp/secretmanager/regional_secret.py +1433 -0
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +1082 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +1082 -0
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +901 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +753 -0
- pulumi_gcp/securitycenter/__init__.py +4 -0
- pulumi_gcp/securitycenter/folder_scc_big_query_export.py +795 -0
- pulumi_gcp/securitycenter/organization_scc_big_query_export.py +738 -0
- pulumi_gcp/securitycenter/project_scc_big_query_export.py +749 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +862 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +6 -2
- pulumi_gcp/siteverification/__init__.py +3 -0
- pulumi_gcp/siteverification/_inputs.py +85 -0
- pulumi_gcp/siteverification/outputs.py +57 -0
- pulumi_gcp/siteverification/web_resource.py +398 -0
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +129 -0
- pulumi_gcp/spanner/backup_schedule.py +748 -0
- pulumi_gcp/spanner/get_instance.py +11 -1
- pulumi_gcp/spanner/instance.py +56 -0
- pulumi_gcp/spanner/outputs.py +93 -0
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/RECORD +76 -56
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,279 @@
|
|
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
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetRegionalSecretResult',
|
20
|
+
'AwaitableGetRegionalSecretResult',
|
21
|
+
'get_regional_secret',
|
22
|
+
'get_regional_secret_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetRegionalSecretResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getRegionalSecret.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, annotations=None, create_time=None, customer_managed_encryptions=None, effective_annotations=None, effective_labels=None, expire_time=None, id=None, labels=None, location=None, name=None, project=None, pulumi_labels=None, rotations=None, secret_id=None, topics=None, ttl=None, version_aliases=None, version_destroy_ttl=None):
|
31
|
+
if annotations and not isinstance(annotations, dict):
|
32
|
+
raise TypeError("Expected argument 'annotations' to be a dict")
|
33
|
+
pulumi.set(__self__, "annotations", annotations)
|
34
|
+
if create_time and not isinstance(create_time, str):
|
35
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
36
|
+
pulumi.set(__self__, "create_time", create_time)
|
37
|
+
if customer_managed_encryptions and not isinstance(customer_managed_encryptions, list):
|
38
|
+
raise TypeError("Expected argument 'customer_managed_encryptions' to be a list")
|
39
|
+
pulumi.set(__self__, "customer_managed_encryptions", customer_managed_encryptions)
|
40
|
+
if effective_annotations and not isinstance(effective_annotations, dict):
|
41
|
+
raise TypeError("Expected argument 'effective_annotations' to be a dict")
|
42
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
43
|
+
if effective_labels and not isinstance(effective_labels, dict):
|
44
|
+
raise TypeError("Expected argument 'effective_labels' to be a dict")
|
45
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
46
|
+
if expire_time and not isinstance(expire_time, str):
|
47
|
+
raise TypeError("Expected argument 'expire_time' to be a str")
|
48
|
+
pulumi.set(__self__, "expire_time", expire_time)
|
49
|
+
if id and not isinstance(id, str):
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
51
|
+
pulumi.set(__self__, "id", id)
|
52
|
+
if labels and not isinstance(labels, dict):
|
53
|
+
raise TypeError("Expected argument 'labels' to be a dict")
|
54
|
+
pulumi.set(__self__, "labels", labels)
|
55
|
+
if location and not isinstance(location, str):
|
56
|
+
raise TypeError("Expected argument 'location' to be a str")
|
57
|
+
pulumi.set(__self__, "location", location)
|
58
|
+
if name and not isinstance(name, str):
|
59
|
+
raise TypeError("Expected argument 'name' to be a str")
|
60
|
+
pulumi.set(__self__, "name", name)
|
61
|
+
if project and not isinstance(project, str):
|
62
|
+
raise TypeError("Expected argument 'project' to be a str")
|
63
|
+
pulumi.set(__self__, "project", project)
|
64
|
+
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
65
|
+
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
66
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
67
|
+
if rotations and not isinstance(rotations, list):
|
68
|
+
raise TypeError("Expected argument 'rotations' to be a list")
|
69
|
+
pulumi.set(__self__, "rotations", rotations)
|
70
|
+
if secret_id and not isinstance(secret_id, str):
|
71
|
+
raise TypeError("Expected argument 'secret_id' to be a str")
|
72
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
73
|
+
if topics and not isinstance(topics, list):
|
74
|
+
raise TypeError("Expected argument 'topics' to be a list")
|
75
|
+
pulumi.set(__self__, "topics", topics)
|
76
|
+
if ttl and not isinstance(ttl, str):
|
77
|
+
raise TypeError("Expected argument 'ttl' to be a str")
|
78
|
+
pulumi.set(__self__, "ttl", ttl)
|
79
|
+
if version_aliases and not isinstance(version_aliases, dict):
|
80
|
+
raise TypeError("Expected argument 'version_aliases' to be a dict")
|
81
|
+
pulumi.set(__self__, "version_aliases", version_aliases)
|
82
|
+
if version_destroy_ttl and not isinstance(version_destroy_ttl, str):
|
83
|
+
raise TypeError("Expected argument 'version_destroy_ttl' to be a str")
|
84
|
+
pulumi.set(__self__, "version_destroy_ttl", version_destroy_ttl)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def annotations(self) -> Mapping[str, str]:
|
89
|
+
return pulumi.get(self, "annotations")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="createTime")
|
93
|
+
def create_time(self) -> str:
|
94
|
+
return pulumi.get(self, "create_time")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="customerManagedEncryptions")
|
98
|
+
def customer_managed_encryptions(self) -> Sequence['outputs.GetRegionalSecretCustomerManagedEncryptionResult']:
|
99
|
+
return pulumi.get(self, "customer_managed_encryptions")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="effectiveAnnotations")
|
103
|
+
def effective_annotations(self) -> Mapping[str, str]:
|
104
|
+
return pulumi.get(self, "effective_annotations")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="effectiveLabels")
|
108
|
+
def effective_labels(self) -> Mapping[str, str]:
|
109
|
+
return pulumi.get(self, "effective_labels")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="expireTime")
|
113
|
+
def expire_time(self) -> str:
|
114
|
+
return pulumi.get(self, "expire_time")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def id(self) -> str:
|
119
|
+
"""
|
120
|
+
The provider-assigned unique ID for this managed resource.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "id")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def labels(self) -> Mapping[str, str]:
|
127
|
+
return pulumi.get(self, "labels")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def location(self) -> str:
|
132
|
+
return pulumi.get(self, "location")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter
|
136
|
+
def name(self) -> str:
|
137
|
+
return pulumi.get(self, "name")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def project(self) -> Optional[str]:
|
142
|
+
return pulumi.get(self, "project")
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="pulumiLabels")
|
146
|
+
def pulumi_labels(self) -> Mapping[str, str]:
|
147
|
+
return pulumi.get(self, "pulumi_labels")
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def rotations(self) -> Sequence['outputs.GetRegionalSecretRotationResult']:
|
152
|
+
return pulumi.get(self, "rotations")
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="secretId")
|
156
|
+
def secret_id(self) -> str:
|
157
|
+
return pulumi.get(self, "secret_id")
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter
|
161
|
+
def topics(self) -> Sequence['outputs.GetRegionalSecretTopicResult']:
|
162
|
+
return pulumi.get(self, "topics")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter
|
166
|
+
def ttl(self) -> str:
|
167
|
+
return pulumi.get(self, "ttl")
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="versionAliases")
|
171
|
+
def version_aliases(self) -> Mapping[str, str]:
|
172
|
+
return pulumi.get(self, "version_aliases")
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="versionDestroyTtl")
|
176
|
+
def version_destroy_ttl(self) -> str:
|
177
|
+
return pulumi.get(self, "version_destroy_ttl")
|
178
|
+
|
179
|
+
|
180
|
+
class AwaitableGetRegionalSecretResult(GetRegionalSecretResult):
|
181
|
+
# pylint: disable=using-constant-test
|
182
|
+
def __await__(self):
|
183
|
+
if False:
|
184
|
+
yield self
|
185
|
+
return GetRegionalSecretResult(
|
186
|
+
annotations=self.annotations,
|
187
|
+
create_time=self.create_time,
|
188
|
+
customer_managed_encryptions=self.customer_managed_encryptions,
|
189
|
+
effective_annotations=self.effective_annotations,
|
190
|
+
effective_labels=self.effective_labels,
|
191
|
+
expire_time=self.expire_time,
|
192
|
+
id=self.id,
|
193
|
+
labels=self.labels,
|
194
|
+
location=self.location,
|
195
|
+
name=self.name,
|
196
|
+
project=self.project,
|
197
|
+
pulumi_labels=self.pulumi_labels,
|
198
|
+
rotations=self.rotations,
|
199
|
+
secret_id=self.secret_id,
|
200
|
+
topics=self.topics,
|
201
|
+
ttl=self.ttl,
|
202
|
+
version_aliases=self.version_aliases,
|
203
|
+
version_destroy_ttl=self.version_destroy_ttl)
|
204
|
+
|
205
|
+
|
206
|
+
def get_regional_secret(location: Optional[str] = None,
|
207
|
+
project: Optional[str] = None,
|
208
|
+
secret_id: Optional[str] = None,
|
209
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretResult:
|
210
|
+
"""
|
211
|
+
Use this data source to get information about a Secret Manager Regional Secret
|
212
|
+
|
213
|
+
## Example Usage
|
214
|
+
|
215
|
+
```python
|
216
|
+
import pulumi
|
217
|
+
import pulumi_gcp as gcp
|
218
|
+
|
219
|
+
secret_datasource = gcp.secretmanager.get_regional_secret(secret_id="secretname",
|
220
|
+
location="us-central1")
|
221
|
+
```
|
222
|
+
|
223
|
+
|
224
|
+
:param str location: The location of the regional secret. eg us-central1
|
225
|
+
:param str project: The ID of the project in which the resource belongs.
|
226
|
+
:param str secret_id: The name of the regional secret.
|
227
|
+
"""
|
228
|
+
__args__ = dict()
|
229
|
+
__args__['location'] = location
|
230
|
+
__args__['project'] = project
|
231
|
+
__args__['secretId'] = secret_id
|
232
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
233
|
+
__ret__ = pulumi.runtime.invoke('gcp:secretmanager/getRegionalSecret:getRegionalSecret', __args__, opts=opts, typ=GetRegionalSecretResult).value
|
234
|
+
|
235
|
+
return AwaitableGetRegionalSecretResult(
|
236
|
+
annotations=pulumi.get(__ret__, 'annotations'),
|
237
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
238
|
+
customer_managed_encryptions=pulumi.get(__ret__, 'customer_managed_encryptions'),
|
239
|
+
effective_annotations=pulumi.get(__ret__, 'effective_annotations'),
|
240
|
+
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
241
|
+
expire_time=pulumi.get(__ret__, 'expire_time'),
|
242
|
+
id=pulumi.get(__ret__, 'id'),
|
243
|
+
labels=pulumi.get(__ret__, 'labels'),
|
244
|
+
location=pulumi.get(__ret__, 'location'),
|
245
|
+
name=pulumi.get(__ret__, 'name'),
|
246
|
+
project=pulumi.get(__ret__, 'project'),
|
247
|
+
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
248
|
+
rotations=pulumi.get(__ret__, 'rotations'),
|
249
|
+
secret_id=pulumi.get(__ret__, 'secret_id'),
|
250
|
+
topics=pulumi.get(__ret__, 'topics'),
|
251
|
+
ttl=pulumi.get(__ret__, 'ttl'),
|
252
|
+
version_aliases=pulumi.get(__ret__, 'version_aliases'),
|
253
|
+
version_destroy_ttl=pulumi.get(__ret__, 'version_destroy_ttl'))
|
254
|
+
|
255
|
+
|
256
|
+
@_utilities.lift_output_func(get_regional_secret)
|
257
|
+
def get_regional_secret_output(location: Optional[pulumi.Input[str]] = None,
|
258
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
259
|
+
secret_id: Optional[pulumi.Input[str]] = None,
|
260
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretResult]:
|
261
|
+
"""
|
262
|
+
Use this data source to get information about a Secret Manager Regional Secret
|
263
|
+
|
264
|
+
## Example Usage
|
265
|
+
|
266
|
+
```python
|
267
|
+
import pulumi
|
268
|
+
import pulumi_gcp as gcp
|
269
|
+
|
270
|
+
secret_datasource = gcp.secretmanager.get_regional_secret(secret_id="secretname",
|
271
|
+
location="us-central1")
|
272
|
+
```
|
273
|
+
|
274
|
+
|
275
|
+
:param str location: The location of the regional secret. eg us-central1
|
276
|
+
:param str project: The ID of the project in which the resource belongs.
|
277
|
+
:param str secret_id: The name of the regional secret.
|
278
|
+
"""
|
279
|
+
...
|
@@ -0,0 +1,173 @@
|
|
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
|
+
'GetRegionalSecretIamPolicyResult',
|
19
|
+
'AwaitableGetRegionalSecretIamPolicyResult',
|
20
|
+
'get_regional_secret_iam_policy',
|
21
|
+
'get_regional_secret_iam_policy_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetRegionalSecretIamPolicyResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getRegionalSecretIamPolicy.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, etag=None, id=None, location=None, policy_data=None, project=None, secret_id=None):
|
30
|
+
if etag and not isinstance(etag, str):
|
31
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
32
|
+
pulumi.set(__self__, "etag", etag)
|
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 location and not isinstance(location, str):
|
37
|
+
raise TypeError("Expected argument 'location' to be a str")
|
38
|
+
pulumi.set(__self__, "location", location)
|
39
|
+
if policy_data and not isinstance(policy_data, str):
|
40
|
+
raise TypeError("Expected argument 'policy_data' to be a str")
|
41
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
42
|
+
if project and not isinstance(project, str):
|
43
|
+
raise TypeError("Expected argument 'project' to be a str")
|
44
|
+
pulumi.set(__self__, "project", project)
|
45
|
+
if secret_id and not isinstance(secret_id, str):
|
46
|
+
raise TypeError("Expected argument 'secret_id' to be a str")
|
47
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def etag(self) -> str:
|
52
|
+
"""
|
53
|
+
(Computed) The etag of the IAM policy.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "etag")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def id(self) -> str:
|
60
|
+
"""
|
61
|
+
The provider-assigned unique ID for this managed resource.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def location(self) -> str:
|
68
|
+
return pulumi.get(self, "location")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="policyData")
|
72
|
+
def policy_data(self) -> str:
|
73
|
+
"""
|
74
|
+
(Required only by `secretmanager.RegionalSecretIamPolicy`) The policy data generated by
|
75
|
+
a `organizations_get_iam_policy` data source.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "policy_data")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def project(self) -> str:
|
82
|
+
return pulumi.get(self, "project")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="secretId")
|
86
|
+
def secret_id(self) -> str:
|
87
|
+
return pulumi.get(self, "secret_id")
|
88
|
+
|
89
|
+
|
90
|
+
class AwaitableGetRegionalSecretIamPolicyResult(GetRegionalSecretIamPolicyResult):
|
91
|
+
# pylint: disable=using-constant-test
|
92
|
+
def __await__(self):
|
93
|
+
if False:
|
94
|
+
yield self
|
95
|
+
return GetRegionalSecretIamPolicyResult(
|
96
|
+
etag=self.etag,
|
97
|
+
id=self.id,
|
98
|
+
location=self.location,
|
99
|
+
policy_data=self.policy_data,
|
100
|
+
project=self.project,
|
101
|
+
secret_id=self.secret_id)
|
102
|
+
|
103
|
+
|
104
|
+
def get_regional_secret_iam_policy(location: Optional[str] = None,
|
105
|
+
project: Optional[str] = None,
|
106
|
+
secret_id: Optional[str] = None,
|
107
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretIamPolicyResult:
|
108
|
+
"""
|
109
|
+
Retrieves the current IAM policy data for regionalsecret
|
110
|
+
|
111
|
+
## example
|
112
|
+
|
113
|
+
```python
|
114
|
+
import pulumi
|
115
|
+
import pulumi_gcp as gcp
|
116
|
+
|
117
|
+
policy = gcp.secretmanager.get_regional_secret_iam_policy(project=regional_secret_basic["project"],
|
118
|
+
location=regional_secret_basic["location"],
|
119
|
+
secret_id=regional_secret_basic["secretId"])
|
120
|
+
```
|
121
|
+
|
122
|
+
|
123
|
+
:param str location: The location of the regional secret. eg us-central1
|
124
|
+
Used to find the parent resource to bind the IAM policy to. If not specified,
|
125
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
126
|
+
location is specified, it is taken from the provider configuration.
|
127
|
+
:param str project: The ID of the project in which the resource belongs.
|
128
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
129
|
+
"""
|
130
|
+
__args__ = dict()
|
131
|
+
__args__['location'] = location
|
132
|
+
__args__['project'] = project
|
133
|
+
__args__['secretId'] = secret_id
|
134
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
135
|
+
__ret__ = pulumi.runtime.invoke('gcp:secretmanager/getRegionalSecretIamPolicy:getRegionalSecretIamPolicy', __args__, opts=opts, typ=GetRegionalSecretIamPolicyResult).value
|
136
|
+
|
137
|
+
return AwaitableGetRegionalSecretIamPolicyResult(
|
138
|
+
etag=pulumi.get(__ret__, 'etag'),
|
139
|
+
id=pulumi.get(__ret__, 'id'),
|
140
|
+
location=pulumi.get(__ret__, 'location'),
|
141
|
+
policy_data=pulumi.get(__ret__, 'policy_data'),
|
142
|
+
project=pulumi.get(__ret__, 'project'),
|
143
|
+
secret_id=pulumi.get(__ret__, 'secret_id'))
|
144
|
+
|
145
|
+
|
146
|
+
@_utilities.lift_output_func(get_regional_secret_iam_policy)
|
147
|
+
def get_regional_secret_iam_policy_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
148
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
149
|
+
secret_id: Optional[pulumi.Input[str]] = None,
|
150
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretIamPolicyResult]:
|
151
|
+
"""
|
152
|
+
Retrieves the current IAM policy data for regionalsecret
|
153
|
+
|
154
|
+
## example
|
155
|
+
|
156
|
+
```python
|
157
|
+
import pulumi
|
158
|
+
import pulumi_gcp as gcp
|
159
|
+
|
160
|
+
policy = gcp.secretmanager.get_regional_secret_iam_policy(project=regional_secret_basic["project"],
|
161
|
+
location=regional_secret_basic["location"],
|
162
|
+
secret_id=regional_secret_basic["secretId"])
|
163
|
+
```
|
164
|
+
|
165
|
+
|
166
|
+
:param str location: The location of the regional secret. eg us-central1
|
167
|
+
Used to find the parent resource to bind the IAM policy to. If not specified,
|
168
|
+
the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
169
|
+
location is specified, it is taken from the provider configuration.
|
170
|
+
:param str project: The ID of the project in which the resource belongs.
|
171
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
172
|
+
"""
|
173
|
+
...
|