pulumi-gcp 7.3.0a1702567892__py3-none-any.whl → 7.3.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +129 -0
- pulumi_gcp/artifactregistry/_inputs.py +88 -0
- pulumi_gcp/artifactregistry/outputs.py +148 -0
- pulumi_gcp/artifactregistry/repository.py +116 -16
- pulumi_gcp/bigquery/_inputs.py +110 -0
- pulumi_gcp/bigquery/connection.py +123 -3
- pulumi_gcp/bigquery/outputs.py +145 -0
- pulumi_gcp/cloudbuild/_inputs.py +241 -1
- pulumi_gcp/cloudbuild/outputs.py +353 -2
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +6 -2
- pulumi_gcp/cloudidentity/_inputs.py +54 -5
- pulumi_gcp/cloudidentity/group_membership.py +0 -8
- pulumi_gcp/cloudidentity/outputs.py +99 -4
- pulumi_gcp/cloudrunv2/_inputs.py +8 -4
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +8 -4
- pulumi_gcp/cloudrunv2/service.py +42 -0
- pulumi_gcp/cloudtasks/queue.py +0 -10
- pulumi_gcp/composer/_inputs.py +17 -4
- pulumi_gcp/composer/outputs.py +20 -4
- pulumi_gcp/compute/_inputs.py +46 -0
- pulumi_gcp/compute/get_global_forwarding_rule.py +11 -1
- pulumi_gcp/compute/global_forwarding_rule.py +69 -0
- pulumi_gcp/compute/outputs.py +75 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +58 -0
- pulumi_gcp/container/node_pool.py +68 -14
- pulumi_gcp/container/outputs.py +68 -0
- pulumi_gcp/dataform/__init__.py +4 -0
- pulumi_gcp/dataform/_inputs.py +80 -0
- pulumi_gcp/dataform/get_repository_iam_policy.py +144 -0
- pulumi_gcp/dataform/outputs.py +56 -0
- pulumi_gcp/dataform/repository_iam_binding.py +325 -0
- pulumi_gcp/dataform/repository_iam_member.py +325 -0
- pulumi_gcp/dataform/repository_iam_policy.py +254 -0
- pulumi_gcp/dataloss/_inputs.py +29 -26
- pulumi_gcp/dataloss/outputs.py +28 -25
- pulumi_gcp/dataloss/prevention_job_trigger.py +78 -0
- pulumi_gcp/datastream/connection_profile.py +82 -4
- pulumi_gcp/datastream/stream.py +32 -22
- pulumi_gcp/firestore/database.py +146 -28
- pulumi_gcp/gkehub/_inputs.py +821 -3
- pulumi_gcp/gkehub/feature.py +176 -0
- pulumi_gcp/gkehub/feature_membership.py +105 -59
- pulumi_gcp/gkehub/fleet.py +70 -2
- pulumi_gcp/gkehub/outputs.py +819 -3
- pulumi_gcp/gkehub/scope.py +2 -2
- pulumi_gcp/iam/_inputs.py +72 -0
- pulumi_gcp/iam/outputs.py +79 -0
- pulumi_gcp/iam/workforce_pool.py +75 -0
- pulumi_gcp/identityplatform/project_default_config.py +4 -0
- pulumi_gcp/logging/__init__.py +3 -0
- pulumi_gcp/logging/get_folder_settings.py +197 -0
- pulumi_gcp/logging/get_organization_settings.py +197 -0
- pulumi_gcp/logging/get_project_settings.py +197 -0
- pulumi_gcp/migrationcenter/__init__.py +8 -0
- pulumi_gcp/migrationcenter/group.py +652 -0
- pulumi_gcp/netapp/__init__.py +8 -0
- pulumi_gcp/netapp/storage_pool.py +970 -0
- pulumi_gcp/projects/iam_custom_role.py +7 -7
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/securesourcemanager/__init__.py +14 -0
- pulumi_gcp/securesourcemanager/_inputs.py +94 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +168 -0
- pulumi_gcp/securesourcemanager/instance.py +607 -0
- pulumi_gcp/securesourcemanager/instance_iam_binding.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_member.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_policy.py +254 -0
- pulumi_gcp/securesourcemanager/outputs.py +70 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/event_threat_detection_custom_module.py +528 -0
- pulumi_gcp/sql/_inputs.py +2 -2
- pulumi_gcp/sql/database_instance.py +4 -4
- pulumi_gcp/sql/outputs.py +2 -2
- pulumi_gcp/storage/_inputs.py +16 -0
- pulumi_gcp/storage/outputs.py +21 -0
- pulumi_gcp/vertex/__init__.py +4 -0
- pulumi_gcp/vertex/_inputs.py +80 -0
- pulumi_gcp/vertex/ai_endpoint_iam_binding.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_member.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_policy.py +254 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +140 -0
- pulumi_gcp/vertex/outputs.py +56 -0
- pulumi_gcp/vmwareengine/__init__.py +5 -0
- pulumi_gcp/vmwareengine/_inputs.py +104 -2
- pulumi_gcp/vmwareengine/get_network.py +14 -4
- pulumi_gcp/vmwareengine/get_network_peering.py +260 -0
- pulumi_gcp/vmwareengine/get_network_policy.py +228 -0
- pulumi_gcp/vmwareengine/get_nsx_credentials.py +133 -0
- pulumi_gcp/vmwareengine/get_private_cloud.py +14 -4
- pulumi_gcp/vmwareengine/network.py +41 -7
- pulumi_gcp/vmwareengine/network_peering.py +959 -0
- pulumi_gcp/vmwareengine/network_policy.py +836 -0
- pulumi_gcp/vmwareengine/outputs.py +133 -2
- pulumi_gcp/vmwareengine/private_cloud.py +20 -68
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/RECORD +101 -72
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,325 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['RepositoryIamMemberArgs', 'RepositoryIamMember']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class RepositoryIamMemberArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
member: pulumi.Input[str],
|
20
|
+
repository: pulumi.Input[str],
|
21
|
+
role: pulumi.Input[str],
|
22
|
+
condition: Optional[pulumi.Input['RepositoryIamMemberConditionArgs']] = None,
|
23
|
+
project: Optional[pulumi.Input[str]] = None,
|
24
|
+
region: Optional[pulumi.Input[str]] = None):
|
25
|
+
"""
|
26
|
+
The set of arguments for constructing a RepositoryIamMember resource.
|
27
|
+
"""
|
28
|
+
pulumi.set(__self__, "member", member)
|
29
|
+
pulumi.set(__self__, "repository", repository)
|
30
|
+
pulumi.set(__self__, "role", role)
|
31
|
+
if condition is not None:
|
32
|
+
pulumi.set(__self__, "condition", condition)
|
33
|
+
if project is not None:
|
34
|
+
pulumi.set(__self__, "project", project)
|
35
|
+
if region is not None:
|
36
|
+
pulumi.set(__self__, "region", region)
|
37
|
+
|
38
|
+
@property
|
39
|
+
@pulumi.getter
|
40
|
+
def member(self) -> pulumi.Input[str]:
|
41
|
+
return pulumi.get(self, "member")
|
42
|
+
|
43
|
+
@member.setter
|
44
|
+
def member(self, value: pulumi.Input[str]):
|
45
|
+
pulumi.set(self, "member", value)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter
|
49
|
+
def repository(self) -> pulumi.Input[str]:
|
50
|
+
return pulumi.get(self, "repository")
|
51
|
+
|
52
|
+
@repository.setter
|
53
|
+
def repository(self, value: pulumi.Input[str]):
|
54
|
+
pulumi.set(self, "repository", value)
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter
|
58
|
+
def role(self) -> pulumi.Input[str]:
|
59
|
+
return pulumi.get(self, "role")
|
60
|
+
|
61
|
+
@role.setter
|
62
|
+
def role(self, value: pulumi.Input[str]):
|
63
|
+
pulumi.set(self, "role", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def condition(self) -> Optional[pulumi.Input['RepositoryIamMemberConditionArgs']]:
|
68
|
+
return pulumi.get(self, "condition")
|
69
|
+
|
70
|
+
@condition.setter
|
71
|
+
def condition(self, value: Optional[pulumi.Input['RepositoryIamMemberConditionArgs']]):
|
72
|
+
pulumi.set(self, "condition", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
77
|
+
return pulumi.get(self, "project")
|
78
|
+
|
79
|
+
@project.setter
|
80
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
81
|
+
pulumi.set(self, "project", value)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
86
|
+
return pulumi.get(self, "region")
|
87
|
+
|
88
|
+
@region.setter
|
89
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
90
|
+
pulumi.set(self, "region", value)
|
91
|
+
|
92
|
+
|
93
|
+
@pulumi.input_type
|
94
|
+
class _RepositoryIamMemberState:
|
95
|
+
def __init__(__self__, *,
|
96
|
+
condition: Optional[pulumi.Input['RepositoryIamMemberConditionArgs']] = None,
|
97
|
+
etag: Optional[pulumi.Input[str]] = None,
|
98
|
+
member: Optional[pulumi.Input[str]] = None,
|
99
|
+
project: Optional[pulumi.Input[str]] = None,
|
100
|
+
region: Optional[pulumi.Input[str]] = None,
|
101
|
+
repository: Optional[pulumi.Input[str]] = None,
|
102
|
+
role: Optional[pulumi.Input[str]] = None):
|
103
|
+
"""
|
104
|
+
Input properties used for looking up and filtering RepositoryIamMember resources.
|
105
|
+
"""
|
106
|
+
if condition is not None:
|
107
|
+
pulumi.set(__self__, "condition", condition)
|
108
|
+
if etag is not None:
|
109
|
+
pulumi.set(__self__, "etag", etag)
|
110
|
+
if member is not None:
|
111
|
+
pulumi.set(__self__, "member", member)
|
112
|
+
if project is not None:
|
113
|
+
pulumi.set(__self__, "project", project)
|
114
|
+
if region is not None:
|
115
|
+
pulumi.set(__self__, "region", region)
|
116
|
+
if repository is not None:
|
117
|
+
pulumi.set(__self__, "repository", repository)
|
118
|
+
if role is not None:
|
119
|
+
pulumi.set(__self__, "role", role)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def condition(self) -> Optional[pulumi.Input['RepositoryIamMemberConditionArgs']]:
|
124
|
+
return pulumi.get(self, "condition")
|
125
|
+
|
126
|
+
@condition.setter
|
127
|
+
def condition(self, value: Optional[pulumi.Input['RepositoryIamMemberConditionArgs']]):
|
128
|
+
pulumi.set(self, "condition", value)
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter
|
132
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
133
|
+
return pulumi.get(self, "etag")
|
134
|
+
|
135
|
+
@etag.setter
|
136
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
137
|
+
pulumi.set(self, "etag", value)
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def member(self) -> Optional[pulumi.Input[str]]:
|
142
|
+
return pulumi.get(self, "member")
|
143
|
+
|
144
|
+
@member.setter
|
145
|
+
def member(self, value: Optional[pulumi.Input[str]]):
|
146
|
+
pulumi.set(self, "member", value)
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter
|
150
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
151
|
+
return pulumi.get(self, "project")
|
152
|
+
|
153
|
+
@project.setter
|
154
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
155
|
+
pulumi.set(self, "project", value)
|
156
|
+
|
157
|
+
@property
|
158
|
+
@pulumi.getter
|
159
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
160
|
+
return pulumi.get(self, "region")
|
161
|
+
|
162
|
+
@region.setter
|
163
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
164
|
+
pulumi.set(self, "region", value)
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter
|
168
|
+
def repository(self) -> Optional[pulumi.Input[str]]:
|
169
|
+
return pulumi.get(self, "repository")
|
170
|
+
|
171
|
+
@repository.setter
|
172
|
+
def repository(self, value: Optional[pulumi.Input[str]]):
|
173
|
+
pulumi.set(self, "repository", value)
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter
|
177
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
178
|
+
return pulumi.get(self, "role")
|
179
|
+
|
180
|
+
@role.setter
|
181
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
182
|
+
pulumi.set(self, "role", value)
|
183
|
+
|
184
|
+
|
185
|
+
class RepositoryIamMember(pulumi.CustomResource):
|
186
|
+
@overload
|
187
|
+
def __init__(__self__,
|
188
|
+
resource_name: str,
|
189
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
190
|
+
condition: Optional[pulumi.Input[pulumi.InputType['RepositoryIamMemberConditionArgs']]] = None,
|
191
|
+
member: Optional[pulumi.Input[str]] = None,
|
192
|
+
project: Optional[pulumi.Input[str]] = None,
|
193
|
+
region: Optional[pulumi.Input[str]] = None,
|
194
|
+
repository: Optional[pulumi.Input[str]] = None,
|
195
|
+
role: Optional[pulumi.Input[str]] = None,
|
196
|
+
__props__=None):
|
197
|
+
"""
|
198
|
+
Create a RepositoryIamMember resource with the given unique name, props, and options.
|
199
|
+
:param str resource_name: The name of the resource.
|
200
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
201
|
+
"""
|
202
|
+
...
|
203
|
+
@overload
|
204
|
+
def __init__(__self__,
|
205
|
+
resource_name: str,
|
206
|
+
args: RepositoryIamMemberArgs,
|
207
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
208
|
+
"""
|
209
|
+
Create a RepositoryIamMember resource with the given unique name, props, and options.
|
210
|
+
:param str resource_name: The name of the resource.
|
211
|
+
:param RepositoryIamMemberArgs args: The arguments to use to populate this resource's properties.
|
212
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
213
|
+
"""
|
214
|
+
...
|
215
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
216
|
+
resource_args, opts = _utilities.get_resource_args_opts(RepositoryIamMemberArgs, pulumi.ResourceOptions, *args, **kwargs)
|
217
|
+
if resource_args is not None:
|
218
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
219
|
+
else:
|
220
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
221
|
+
|
222
|
+
def _internal_init(__self__,
|
223
|
+
resource_name: str,
|
224
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
225
|
+
condition: Optional[pulumi.Input[pulumi.InputType['RepositoryIamMemberConditionArgs']]] = None,
|
226
|
+
member: Optional[pulumi.Input[str]] = None,
|
227
|
+
project: Optional[pulumi.Input[str]] = None,
|
228
|
+
region: Optional[pulumi.Input[str]] = None,
|
229
|
+
repository: Optional[pulumi.Input[str]] = None,
|
230
|
+
role: Optional[pulumi.Input[str]] = None,
|
231
|
+
__props__=None):
|
232
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
233
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
234
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
235
|
+
if opts.id is None:
|
236
|
+
if __props__ is not None:
|
237
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
238
|
+
__props__ = RepositoryIamMemberArgs.__new__(RepositoryIamMemberArgs)
|
239
|
+
|
240
|
+
__props__.__dict__["condition"] = condition
|
241
|
+
if member is None and not opts.urn:
|
242
|
+
raise TypeError("Missing required property 'member'")
|
243
|
+
__props__.__dict__["member"] = member
|
244
|
+
__props__.__dict__["project"] = project
|
245
|
+
__props__.__dict__["region"] = region
|
246
|
+
if repository is None and not opts.urn:
|
247
|
+
raise TypeError("Missing required property 'repository'")
|
248
|
+
__props__.__dict__["repository"] = repository
|
249
|
+
if role is None and not opts.urn:
|
250
|
+
raise TypeError("Missing required property 'role'")
|
251
|
+
__props__.__dict__["role"] = role
|
252
|
+
__props__.__dict__["etag"] = None
|
253
|
+
super(RepositoryIamMember, __self__).__init__(
|
254
|
+
'gcp:dataform/repositoryIamMember:RepositoryIamMember',
|
255
|
+
resource_name,
|
256
|
+
__props__,
|
257
|
+
opts)
|
258
|
+
|
259
|
+
@staticmethod
|
260
|
+
def get(resource_name: str,
|
261
|
+
id: pulumi.Input[str],
|
262
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
263
|
+
condition: Optional[pulumi.Input[pulumi.InputType['RepositoryIamMemberConditionArgs']]] = None,
|
264
|
+
etag: Optional[pulumi.Input[str]] = None,
|
265
|
+
member: Optional[pulumi.Input[str]] = None,
|
266
|
+
project: Optional[pulumi.Input[str]] = None,
|
267
|
+
region: Optional[pulumi.Input[str]] = None,
|
268
|
+
repository: Optional[pulumi.Input[str]] = None,
|
269
|
+
role: Optional[pulumi.Input[str]] = None) -> 'RepositoryIamMember':
|
270
|
+
"""
|
271
|
+
Get an existing RepositoryIamMember resource's state with the given name, id, and optional extra
|
272
|
+
properties used to qualify the lookup.
|
273
|
+
|
274
|
+
:param str resource_name: The unique name of the resulting resource.
|
275
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
276
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
277
|
+
"""
|
278
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
279
|
+
|
280
|
+
__props__ = _RepositoryIamMemberState.__new__(_RepositoryIamMemberState)
|
281
|
+
|
282
|
+
__props__.__dict__["condition"] = condition
|
283
|
+
__props__.__dict__["etag"] = etag
|
284
|
+
__props__.__dict__["member"] = member
|
285
|
+
__props__.__dict__["project"] = project
|
286
|
+
__props__.__dict__["region"] = region
|
287
|
+
__props__.__dict__["repository"] = repository
|
288
|
+
__props__.__dict__["role"] = role
|
289
|
+
return RepositoryIamMember(resource_name, opts=opts, __props__=__props__)
|
290
|
+
|
291
|
+
@property
|
292
|
+
@pulumi.getter
|
293
|
+
def condition(self) -> pulumi.Output[Optional['outputs.RepositoryIamMemberCondition']]:
|
294
|
+
return pulumi.get(self, "condition")
|
295
|
+
|
296
|
+
@property
|
297
|
+
@pulumi.getter
|
298
|
+
def etag(self) -> pulumi.Output[str]:
|
299
|
+
return pulumi.get(self, "etag")
|
300
|
+
|
301
|
+
@property
|
302
|
+
@pulumi.getter
|
303
|
+
def member(self) -> pulumi.Output[str]:
|
304
|
+
return pulumi.get(self, "member")
|
305
|
+
|
306
|
+
@property
|
307
|
+
@pulumi.getter
|
308
|
+
def project(self) -> pulumi.Output[str]:
|
309
|
+
return pulumi.get(self, "project")
|
310
|
+
|
311
|
+
@property
|
312
|
+
@pulumi.getter
|
313
|
+
def region(self) -> pulumi.Output[str]:
|
314
|
+
return pulumi.get(self, "region")
|
315
|
+
|
316
|
+
@property
|
317
|
+
@pulumi.getter
|
318
|
+
def repository(self) -> pulumi.Output[str]:
|
319
|
+
return pulumi.get(self, "repository")
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter
|
323
|
+
def role(self) -> pulumi.Output[str]:
|
324
|
+
return pulumi.get(self, "role")
|
325
|
+
|
@@ -0,0 +1,254 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['RepositoryIamPolicyArgs', 'RepositoryIamPolicy']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class RepositoryIamPolicyArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
policy_data: pulumi.Input[str],
|
18
|
+
repository: pulumi.Input[str],
|
19
|
+
project: Optional[pulumi.Input[str]] = None,
|
20
|
+
region: Optional[pulumi.Input[str]] = None):
|
21
|
+
"""
|
22
|
+
The set of arguments for constructing a RepositoryIamPolicy resource.
|
23
|
+
"""
|
24
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
25
|
+
pulumi.set(__self__, "repository", repository)
|
26
|
+
if project is not None:
|
27
|
+
pulumi.set(__self__, "project", project)
|
28
|
+
if region is not None:
|
29
|
+
pulumi.set(__self__, "region", region)
|
30
|
+
|
31
|
+
@property
|
32
|
+
@pulumi.getter(name="policyData")
|
33
|
+
def policy_data(self) -> pulumi.Input[str]:
|
34
|
+
return pulumi.get(self, "policy_data")
|
35
|
+
|
36
|
+
@policy_data.setter
|
37
|
+
def policy_data(self, value: pulumi.Input[str]):
|
38
|
+
pulumi.set(self, "policy_data", value)
|
39
|
+
|
40
|
+
@property
|
41
|
+
@pulumi.getter
|
42
|
+
def repository(self) -> pulumi.Input[str]:
|
43
|
+
return pulumi.get(self, "repository")
|
44
|
+
|
45
|
+
@repository.setter
|
46
|
+
def repository(self, value: pulumi.Input[str]):
|
47
|
+
pulumi.set(self, "repository", value)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
52
|
+
return pulumi.get(self, "project")
|
53
|
+
|
54
|
+
@project.setter
|
55
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
56
|
+
pulumi.set(self, "project", value)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
61
|
+
return pulumi.get(self, "region")
|
62
|
+
|
63
|
+
@region.setter
|
64
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
65
|
+
pulumi.set(self, "region", value)
|
66
|
+
|
67
|
+
|
68
|
+
@pulumi.input_type
|
69
|
+
class _RepositoryIamPolicyState:
|
70
|
+
def __init__(__self__, *,
|
71
|
+
etag: Optional[pulumi.Input[str]] = None,
|
72
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
73
|
+
project: Optional[pulumi.Input[str]] = None,
|
74
|
+
region: Optional[pulumi.Input[str]] = None,
|
75
|
+
repository: Optional[pulumi.Input[str]] = None):
|
76
|
+
"""
|
77
|
+
Input properties used for looking up and filtering RepositoryIamPolicy resources.
|
78
|
+
"""
|
79
|
+
if etag is not None:
|
80
|
+
pulumi.set(__self__, "etag", etag)
|
81
|
+
if policy_data is not None:
|
82
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
83
|
+
if project is not None:
|
84
|
+
pulumi.set(__self__, "project", project)
|
85
|
+
if region is not None:
|
86
|
+
pulumi.set(__self__, "region", region)
|
87
|
+
if repository is not None:
|
88
|
+
pulumi.set(__self__, "repository", repository)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
return pulumi.get(self, "etag")
|
94
|
+
|
95
|
+
@etag.setter
|
96
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
97
|
+
pulumi.set(self, "etag", value)
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="policyData")
|
101
|
+
def policy_data(self) -> Optional[pulumi.Input[str]]:
|
102
|
+
return pulumi.get(self, "policy_data")
|
103
|
+
|
104
|
+
@policy_data.setter
|
105
|
+
def policy_data(self, value: Optional[pulumi.Input[str]]):
|
106
|
+
pulumi.set(self, "policy_data", value)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
111
|
+
return pulumi.get(self, "project")
|
112
|
+
|
113
|
+
@project.setter
|
114
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
115
|
+
pulumi.set(self, "project", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter
|
119
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
120
|
+
return pulumi.get(self, "region")
|
121
|
+
|
122
|
+
@region.setter
|
123
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
124
|
+
pulumi.set(self, "region", value)
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter
|
128
|
+
def repository(self) -> Optional[pulumi.Input[str]]:
|
129
|
+
return pulumi.get(self, "repository")
|
130
|
+
|
131
|
+
@repository.setter
|
132
|
+
def repository(self, value: Optional[pulumi.Input[str]]):
|
133
|
+
pulumi.set(self, "repository", value)
|
134
|
+
|
135
|
+
|
136
|
+
class RepositoryIamPolicy(pulumi.CustomResource):
|
137
|
+
@overload
|
138
|
+
def __init__(__self__,
|
139
|
+
resource_name: str,
|
140
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
141
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
142
|
+
project: Optional[pulumi.Input[str]] = None,
|
143
|
+
region: Optional[pulumi.Input[str]] = None,
|
144
|
+
repository: Optional[pulumi.Input[str]] = None,
|
145
|
+
__props__=None):
|
146
|
+
"""
|
147
|
+
Create a RepositoryIamPolicy resource with the given unique name, props, and options.
|
148
|
+
:param str resource_name: The name of the resource.
|
149
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
150
|
+
"""
|
151
|
+
...
|
152
|
+
@overload
|
153
|
+
def __init__(__self__,
|
154
|
+
resource_name: str,
|
155
|
+
args: RepositoryIamPolicyArgs,
|
156
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
157
|
+
"""
|
158
|
+
Create a RepositoryIamPolicy resource with the given unique name, props, and options.
|
159
|
+
:param str resource_name: The name of the resource.
|
160
|
+
:param RepositoryIamPolicyArgs args: The arguments to use to populate this resource's properties.
|
161
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
162
|
+
"""
|
163
|
+
...
|
164
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
165
|
+
resource_args, opts = _utilities.get_resource_args_opts(RepositoryIamPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
166
|
+
if resource_args is not None:
|
167
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
168
|
+
else:
|
169
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
170
|
+
|
171
|
+
def _internal_init(__self__,
|
172
|
+
resource_name: str,
|
173
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
174
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
175
|
+
project: Optional[pulumi.Input[str]] = None,
|
176
|
+
region: Optional[pulumi.Input[str]] = None,
|
177
|
+
repository: Optional[pulumi.Input[str]] = None,
|
178
|
+
__props__=None):
|
179
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
180
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
181
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
182
|
+
if opts.id is None:
|
183
|
+
if __props__ is not None:
|
184
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
185
|
+
__props__ = RepositoryIamPolicyArgs.__new__(RepositoryIamPolicyArgs)
|
186
|
+
|
187
|
+
if policy_data is None and not opts.urn:
|
188
|
+
raise TypeError("Missing required property 'policy_data'")
|
189
|
+
__props__.__dict__["policy_data"] = policy_data
|
190
|
+
__props__.__dict__["project"] = project
|
191
|
+
__props__.__dict__["region"] = region
|
192
|
+
if repository is None and not opts.urn:
|
193
|
+
raise TypeError("Missing required property 'repository'")
|
194
|
+
__props__.__dict__["repository"] = repository
|
195
|
+
__props__.__dict__["etag"] = None
|
196
|
+
super(RepositoryIamPolicy, __self__).__init__(
|
197
|
+
'gcp:dataform/repositoryIamPolicy:RepositoryIamPolicy',
|
198
|
+
resource_name,
|
199
|
+
__props__,
|
200
|
+
opts)
|
201
|
+
|
202
|
+
@staticmethod
|
203
|
+
def get(resource_name: str,
|
204
|
+
id: pulumi.Input[str],
|
205
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
206
|
+
etag: Optional[pulumi.Input[str]] = None,
|
207
|
+
policy_data: Optional[pulumi.Input[str]] = None,
|
208
|
+
project: Optional[pulumi.Input[str]] = None,
|
209
|
+
region: Optional[pulumi.Input[str]] = None,
|
210
|
+
repository: Optional[pulumi.Input[str]] = None) -> 'RepositoryIamPolicy':
|
211
|
+
"""
|
212
|
+
Get an existing RepositoryIamPolicy resource's state with the given name, id, and optional extra
|
213
|
+
properties used to qualify the lookup.
|
214
|
+
|
215
|
+
:param str resource_name: The unique name of the resulting resource.
|
216
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
217
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
218
|
+
"""
|
219
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
220
|
+
|
221
|
+
__props__ = _RepositoryIamPolicyState.__new__(_RepositoryIamPolicyState)
|
222
|
+
|
223
|
+
__props__.__dict__["etag"] = etag
|
224
|
+
__props__.__dict__["policy_data"] = policy_data
|
225
|
+
__props__.__dict__["project"] = project
|
226
|
+
__props__.__dict__["region"] = region
|
227
|
+
__props__.__dict__["repository"] = repository
|
228
|
+
return RepositoryIamPolicy(resource_name, opts=opts, __props__=__props__)
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter
|
232
|
+
def etag(self) -> pulumi.Output[str]:
|
233
|
+
return pulumi.get(self, "etag")
|
234
|
+
|
235
|
+
@property
|
236
|
+
@pulumi.getter(name="policyData")
|
237
|
+
def policy_data(self) -> pulumi.Output[str]:
|
238
|
+
return pulumi.get(self, "policy_data")
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter
|
242
|
+
def project(self) -> pulumi.Output[str]:
|
243
|
+
return pulumi.get(self, "project")
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter
|
247
|
+
def region(self) -> pulumi.Output[str]:
|
248
|
+
return pulumi.get(self, "region")
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter
|
252
|
+
def repository(self) -> pulumi.Output[str]:
|
253
|
+
return pulumi.get(self, "repository")
|
254
|
+
|