pulumi-gcp 8.27.0a1744872023__py3-none-any.whl → 8.27.1__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 +80 -0
- pulumi_gcp/bigquery/_inputs.py +87 -30
- pulumi_gcp/bigquery/outputs.py +58 -20
- pulumi_gcp/bigquery/table.py +28 -14
- pulumi_gcp/cloudrun/service.py +46 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +85 -0
- pulumi_gcp/compute/_inputs.py +428 -1
- pulumi_gcp/compute/image.py +183 -0
- pulumi_gcp/compute/outputs.py +362 -3
- pulumi_gcp/compute/region_backend_service.py +6 -2
- pulumi_gcp/compute/snapshot.py +6 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +27 -24
- pulumi_gcp/databasemigrationservice/connection_profile.py +168 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +6 -0
- pulumi_gcp/databasemigrationservice/outputs.py +18 -15
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +77 -0
- pulumi_gcp/developerconnect/account_connector.py +866 -0
- pulumi_gcp/developerconnect/outputs.py +64 -0
- pulumi_gcp/firestore/database.py +82 -0
- pulumi_gcp/firestore/index.py +263 -7
- pulumi_gcp/folder/service_identity.py +0 -26
- pulumi_gcp/managedkafka/_inputs.py +6 -6
- pulumi_gcp/managedkafka/connect_cluster.py +84 -40
- pulumi_gcp/managedkafka/connector.py +98 -44
- pulumi_gcp/managedkafka/outputs.py +4 -4
- pulumi_gcp/memorystore/_inputs.py +69 -0
- pulumi_gcp/memorystore/get_instance.py +34 -1
- pulumi_gcp/memorystore/instance.py +140 -0
- pulumi_gcp/memorystore/outputs.py +80 -0
- pulumi_gcp/ml/engine_model.py +0 -22
- pulumi_gcp/monitoring/_inputs.py +37 -19
- pulumi_gcp/monitoring/outputs.py +39 -11
- pulumi_gcp/monitoring/uptime_check_config.py +8 -0
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +8 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +8 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +69 -0
- pulumi_gcp/redis/cluster.py +140 -0
- pulumi_gcp/redis/outputs.py +40 -0
- pulumi_gcp/secretmanager/secret.py +16 -17
- pulumi_gcp/storage/_inputs.py +111 -0
- pulumi_gcp/storage/control_folder_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +32 -0
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_project_intelligence_config.py +12 -1
- pulumi_gcp/storage/outputs.py +174 -0
- pulumi_gcp/vertex/__init__.py +12 -0
- pulumi_gcp/vertex/_inputs.py +294 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_group.py +1 -1
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +422 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +26 -27
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +453 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +422 -0
- pulumi_gcp/vertex/get_ai_feature_group_iam_policy.py +177 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +194 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_iam_policy.py +177 -0
- pulumi_gcp/vertex/outputs.py +168 -0
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.27.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.27.1.dist-info}/RECORD +77 -64
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.27.1.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.27.0a1744872023.dist-info → pulumi_gcp-8.27.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,453 @@
|
|
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 builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
|
18
|
+
__all__ = ['AiFeatureOnlineStoreFeatureviewIamPolicyArgs', 'AiFeatureOnlineStoreFeatureviewIamPolicy']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class AiFeatureOnlineStoreFeatureviewIamPolicyArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
feature_online_store: pulumi.Input[builtins.str],
|
24
|
+
feature_view: pulumi.Input[builtins.str],
|
25
|
+
policy_data: pulumi.Input[builtins.str],
|
26
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
27
|
+
region: Optional[pulumi.Input[builtins.str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a AiFeatureOnlineStoreFeatureviewIamPolicy resource.
|
30
|
+
:param pulumi.Input[builtins.str] feature_view: Used to find the parent resource to bind the IAM policy to
|
31
|
+
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
32
|
+
a `organizations_get_iam_policy` data source.
|
33
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
34
|
+
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.
|
35
|
+
:param pulumi.Input[builtins.str] region: The region for the resource. It should be the same as the featureonlinestore region. Used to find the parent resource to bind the IAM policy to. If not specified,
|
36
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
37
|
+
region is specified, it is taken from the provider configuration.
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "feature_online_store", feature_online_store)
|
40
|
+
pulumi.set(__self__, "feature_view", feature_view)
|
41
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
42
|
+
if project is not None:
|
43
|
+
pulumi.set(__self__, "project", project)
|
44
|
+
if region is not None:
|
45
|
+
pulumi.set(__self__, "region", region)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="featureOnlineStore")
|
49
|
+
def feature_online_store(self) -> pulumi.Input[builtins.str]:
|
50
|
+
return pulumi.get(self, "feature_online_store")
|
51
|
+
|
52
|
+
@feature_online_store.setter
|
53
|
+
def feature_online_store(self, value: pulumi.Input[builtins.str]):
|
54
|
+
pulumi.set(self, "feature_online_store", value)
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter(name="featureView")
|
58
|
+
def feature_view(self) -> pulumi.Input[builtins.str]:
|
59
|
+
"""
|
60
|
+
Used to find the parent resource to bind the IAM policy to
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "feature_view")
|
63
|
+
|
64
|
+
@feature_view.setter
|
65
|
+
def feature_view(self, value: pulumi.Input[builtins.str]):
|
66
|
+
pulumi.set(self, "feature_view", value)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="policyData")
|
70
|
+
def policy_data(self) -> pulumi.Input[builtins.str]:
|
71
|
+
"""
|
72
|
+
The policy data generated by
|
73
|
+
a `organizations_get_iam_policy` data source.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "policy_data")
|
76
|
+
|
77
|
+
@policy_data.setter
|
78
|
+
def policy_data(self, value: pulumi.Input[builtins.str]):
|
79
|
+
pulumi.set(self, "policy_data", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
84
|
+
"""
|
85
|
+
The ID of the project in which the resource belongs.
|
86
|
+
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.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "project")
|
89
|
+
|
90
|
+
@project.setter
|
91
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
92
|
+
pulumi.set(self, "project", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
97
|
+
"""
|
98
|
+
The region for the resource. It should be the same as the featureonlinestore region. Used to find the parent resource to bind the IAM policy to. If not specified,
|
99
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
100
|
+
region is specified, it is taken from the provider configuration.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "region")
|
103
|
+
|
104
|
+
@region.setter
|
105
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
106
|
+
pulumi.set(self, "region", value)
|
107
|
+
|
108
|
+
|
109
|
+
@pulumi.input_type
|
110
|
+
class _AiFeatureOnlineStoreFeatureviewIamPolicyState:
|
111
|
+
def __init__(__self__, *,
|
112
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
113
|
+
feature_online_store: Optional[pulumi.Input[builtins.str]] = None,
|
114
|
+
feature_view: Optional[pulumi.Input[builtins.str]] = None,
|
115
|
+
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
116
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
117
|
+
region: Optional[pulumi.Input[builtins.str]] = None):
|
118
|
+
"""
|
119
|
+
Input properties used for looking up and filtering AiFeatureOnlineStoreFeatureviewIamPolicy resources.
|
120
|
+
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
121
|
+
:param pulumi.Input[builtins.str] feature_view: Used to find the parent resource to bind the IAM policy to
|
122
|
+
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
123
|
+
a `organizations_get_iam_policy` data source.
|
124
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
125
|
+
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.
|
126
|
+
:param pulumi.Input[builtins.str] region: The region for the resource. It should be the same as the featureonlinestore region. Used to find the parent resource to bind the IAM policy to. If not specified,
|
127
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
128
|
+
region is specified, it is taken from the provider configuration.
|
129
|
+
"""
|
130
|
+
if etag is not None:
|
131
|
+
pulumi.set(__self__, "etag", etag)
|
132
|
+
if feature_online_store is not None:
|
133
|
+
pulumi.set(__self__, "feature_online_store", feature_online_store)
|
134
|
+
if feature_view is not None:
|
135
|
+
pulumi.set(__self__, "feature_view", feature_view)
|
136
|
+
if policy_data is not None:
|
137
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
138
|
+
if project is not None:
|
139
|
+
pulumi.set(__self__, "project", project)
|
140
|
+
if region is not None:
|
141
|
+
pulumi.set(__self__, "region", region)
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
146
|
+
"""
|
147
|
+
(Computed) The etag of the IAM policy.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "etag")
|
150
|
+
|
151
|
+
@etag.setter
|
152
|
+
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
153
|
+
pulumi.set(self, "etag", value)
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="featureOnlineStore")
|
157
|
+
def feature_online_store(self) -> Optional[pulumi.Input[builtins.str]]:
|
158
|
+
return pulumi.get(self, "feature_online_store")
|
159
|
+
|
160
|
+
@feature_online_store.setter
|
161
|
+
def feature_online_store(self, value: Optional[pulumi.Input[builtins.str]]):
|
162
|
+
pulumi.set(self, "feature_online_store", value)
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="featureView")
|
166
|
+
def feature_view(self) -> Optional[pulumi.Input[builtins.str]]:
|
167
|
+
"""
|
168
|
+
Used to find the parent resource to bind the IAM policy to
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "feature_view")
|
171
|
+
|
172
|
+
@feature_view.setter
|
173
|
+
def feature_view(self, value: Optional[pulumi.Input[builtins.str]]):
|
174
|
+
pulumi.set(self, "feature_view", value)
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter(name="policyData")
|
178
|
+
def policy_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
179
|
+
"""
|
180
|
+
The policy data generated by
|
181
|
+
a `organizations_get_iam_policy` data source.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "policy_data")
|
184
|
+
|
185
|
+
@policy_data.setter
|
186
|
+
def policy_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
187
|
+
pulumi.set(self, "policy_data", value)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter
|
191
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
192
|
+
"""
|
193
|
+
The ID of the project in which the resource belongs.
|
194
|
+
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.
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "project")
|
197
|
+
|
198
|
+
@project.setter
|
199
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
200
|
+
pulumi.set(self, "project", value)
|
201
|
+
|
202
|
+
@property
|
203
|
+
@pulumi.getter
|
204
|
+
def region(self) -> Optional[pulumi.Input[builtins.str]]:
|
205
|
+
"""
|
206
|
+
The region for the resource. It should be the same as the featureonlinestore region. Used to find the parent resource to bind the IAM policy to. If not specified,
|
207
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
208
|
+
region is specified, it is taken from the provider configuration.
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "region")
|
211
|
+
|
212
|
+
@region.setter
|
213
|
+
def region(self, value: Optional[pulumi.Input[builtins.str]]):
|
214
|
+
pulumi.set(self, "region", value)
|
215
|
+
|
216
|
+
|
217
|
+
class AiFeatureOnlineStoreFeatureviewIamPolicy(pulumi.CustomResource):
|
218
|
+
@overload
|
219
|
+
def __init__(__self__,
|
220
|
+
resource_name: str,
|
221
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
222
|
+
feature_online_store: Optional[pulumi.Input[builtins.str]] = None,
|
223
|
+
feature_view: Optional[pulumi.Input[builtins.str]] = None,
|
224
|
+
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
225
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
226
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
227
|
+
__props__=None):
|
228
|
+
"""
|
229
|
+
## Import
|
230
|
+
|
231
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
232
|
+
|
233
|
+
* {{feature_online_store}}/featureViews/{{name}}
|
234
|
+
|
235
|
+
* {{feature_online_store}}/{{name}}
|
236
|
+
|
237
|
+
* {{name}}
|
238
|
+
|
239
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
240
|
+
|
241
|
+
Vertex AI featureonlinestorefeatureview IAM resources can be imported using the resource identifiers, role, and member.
|
242
|
+
|
243
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
244
|
+
|
245
|
+
```sh
|
246
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStoreFeatureviewIamPolicy:AiFeatureOnlineStoreFeatureviewIamPolicy editor "{{feature_online_store}}/featureViews/{{feature_online_store_featureview}} roles/viewer user:jane@example.com"
|
247
|
+
```
|
248
|
+
|
249
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
250
|
+
|
251
|
+
```sh
|
252
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStoreFeatureviewIamPolicy:AiFeatureOnlineStoreFeatureviewIamPolicy editor "{{feature_online_store}}/featureViews/{{feature_online_store_featureview}} roles/viewer"
|
253
|
+
```
|
254
|
+
|
255
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
256
|
+
|
257
|
+
```sh
|
258
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStoreFeatureviewIamPolicy:AiFeatureOnlineStoreFeatureviewIamPolicy editor {{feature_online_store}}/featureViews/{{feature_online_store_featureview}}
|
259
|
+
```
|
260
|
+
|
261
|
+
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
262
|
+
|
263
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
264
|
+
|
265
|
+
:param str resource_name: The name of the resource.
|
266
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
267
|
+
:param pulumi.Input[builtins.str] feature_view: Used to find the parent resource to bind the IAM policy to
|
268
|
+
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
269
|
+
a `organizations_get_iam_policy` data source.
|
270
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
271
|
+
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.
|
272
|
+
:param pulumi.Input[builtins.str] region: The region for the resource. It should be the same as the featureonlinestore region. Used to find the parent resource to bind the IAM policy to. If not specified,
|
273
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
274
|
+
region is specified, it is taken from the provider configuration.
|
275
|
+
"""
|
276
|
+
...
|
277
|
+
@overload
|
278
|
+
def __init__(__self__,
|
279
|
+
resource_name: str,
|
280
|
+
args: AiFeatureOnlineStoreFeatureviewIamPolicyArgs,
|
281
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
282
|
+
"""
|
283
|
+
## Import
|
284
|
+
|
285
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
286
|
+
|
287
|
+
* {{feature_online_store}}/featureViews/{{name}}
|
288
|
+
|
289
|
+
* {{feature_online_store}}/{{name}}
|
290
|
+
|
291
|
+
* {{name}}
|
292
|
+
|
293
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
294
|
+
|
295
|
+
Vertex AI featureonlinestorefeatureview IAM resources can be imported using the resource identifiers, role, and member.
|
296
|
+
|
297
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
298
|
+
|
299
|
+
```sh
|
300
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStoreFeatureviewIamPolicy:AiFeatureOnlineStoreFeatureviewIamPolicy editor "{{feature_online_store}}/featureViews/{{feature_online_store_featureview}} roles/viewer user:jane@example.com"
|
301
|
+
```
|
302
|
+
|
303
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
304
|
+
|
305
|
+
```sh
|
306
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStoreFeatureviewIamPolicy:AiFeatureOnlineStoreFeatureviewIamPolicy editor "{{feature_online_store}}/featureViews/{{feature_online_store_featureview}} roles/viewer"
|
307
|
+
```
|
308
|
+
|
309
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
310
|
+
|
311
|
+
```sh
|
312
|
+
$ pulumi import gcp:vertex/aiFeatureOnlineStoreFeatureviewIamPolicy:AiFeatureOnlineStoreFeatureviewIamPolicy editor {{feature_online_store}}/featureViews/{{feature_online_store_featureview}}
|
313
|
+
```
|
314
|
+
|
315
|
+
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
316
|
+
|
317
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
318
|
+
|
319
|
+
:param str resource_name: The name of the resource.
|
320
|
+
:param AiFeatureOnlineStoreFeatureviewIamPolicyArgs args: The arguments to use to populate this resource's properties.
|
321
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
322
|
+
"""
|
323
|
+
...
|
324
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
325
|
+
resource_args, opts = _utilities.get_resource_args_opts(AiFeatureOnlineStoreFeatureviewIamPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
326
|
+
if resource_args is not None:
|
327
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
328
|
+
else:
|
329
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
330
|
+
|
331
|
+
def _internal_init(__self__,
|
332
|
+
resource_name: str,
|
333
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
334
|
+
feature_online_store: Optional[pulumi.Input[builtins.str]] = None,
|
335
|
+
feature_view: Optional[pulumi.Input[builtins.str]] = None,
|
336
|
+
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
337
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
338
|
+
region: Optional[pulumi.Input[builtins.str]] = None,
|
339
|
+
__props__=None):
|
340
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
341
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
342
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
343
|
+
if opts.id is None:
|
344
|
+
if __props__ is not None:
|
345
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
346
|
+
__props__ = AiFeatureOnlineStoreFeatureviewIamPolicyArgs.__new__(AiFeatureOnlineStoreFeatureviewIamPolicyArgs)
|
347
|
+
|
348
|
+
if feature_online_store is None and not opts.urn:
|
349
|
+
raise TypeError("Missing required property 'feature_online_store'")
|
350
|
+
__props__.__dict__["feature_online_store"] = feature_online_store
|
351
|
+
if feature_view is None and not opts.urn:
|
352
|
+
raise TypeError("Missing required property 'feature_view'")
|
353
|
+
__props__.__dict__["feature_view"] = feature_view
|
354
|
+
if policy_data is None and not opts.urn:
|
355
|
+
raise TypeError("Missing required property 'policy_data'")
|
356
|
+
__props__.__dict__["policy_data"] = policy_data
|
357
|
+
__props__.__dict__["project"] = project
|
358
|
+
__props__.__dict__["region"] = region
|
359
|
+
__props__.__dict__["etag"] = None
|
360
|
+
super(AiFeatureOnlineStoreFeatureviewIamPolicy, __self__).__init__(
|
361
|
+
'gcp:vertex/aiFeatureOnlineStoreFeatureviewIamPolicy:AiFeatureOnlineStoreFeatureviewIamPolicy',
|
362
|
+
resource_name,
|
363
|
+
__props__,
|
364
|
+
opts)
|
365
|
+
|
366
|
+
@staticmethod
|
367
|
+
def get(resource_name: str,
|
368
|
+
id: pulumi.Input[str],
|
369
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
370
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
371
|
+
feature_online_store: Optional[pulumi.Input[builtins.str]] = None,
|
372
|
+
feature_view: Optional[pulumi.Input[builtins.str]] = None,
|
373
|
+
policy_data: Optional[pulumi.Input[builtins.str]] = None,
|
374
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
375
|
+
region: Optional[pulumi.Input[builtins.str]] = None) -> 'AiFeatureOnlineStoreFeatureviewIamPolicy':
|
376
|
+
"""
|
377
|
+
Get an existing AiFeatureOnlineStoreFeatureviewIamPolicy resource's state with the given name, id, and optional extra
|
378
|
+
properties used to qualify the lookup.
|
379
|
+
|
380
|
+
:param str resource_name: The unique name of the resulting resource.
|
381
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
382
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
383
|
+
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
384
|
+
:param pulumi.Input[builtins.str] feature_view: Used to find the parent resource to bind the IAM policy to
|
385
|
+
:param pulumi.Input[builtins.str] policy_data: The policy data generated by
|
386
|
+
a `organizations_get_iam_policy` data source.
|
387
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
388
|
+
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.
|
389
|
+
:param pulumi.Input[builtins.str] region: The region for the resource. It should be the same as the featureonlinestore region. Used to find the parent resource to bind the IAM policy to. If not specified,
|
390
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
391
|
+
region is specified, it is taken from the provider configuration.
|
392
|
+
"""
|
393
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
394
|
+
|
395
|
+
__props__ = _AiFeatureOnlineStoreFeatureviewIamPolicyState.__new__(_AiFeatureOnlineStoreFeatureviewIamPolicyState)
|
396
|
+
|
397
|
+
__props__.__dict__["etag"] = etag
|
398
|
+
__props__.__dict__["feature_online_store"] = feature_online_store
|
399
|
+
__props__.__dict__["feature_view"] = feature_view
|
400
|
+
__props__.__dict__["policy_data"] = policy_data
|
401
|
+
__props__.__dict__["project"] = project
|
402
|
+
__props__.__dict__["region"] = region
|
403
|
+
return AiFeatureOnlineStoreFeatureviewIamPolicy(resource_name, opts=opts, __props__=__props__)
|
404
|
+
|
405
|
+
@property
|
406
|
+
@pulumi.getter
|
407
|
+
def etag(self) -> pulumi.Output[builtins.str]:
|
408
|
+
"""
|
409
|
+
(Computed) The etag of the IAM policy.
|
410
|
+
"""
|
411
|
+
return pulumi.get(self, "etag")
|
412
|
+
|
413
|
+
@property
|
414
|
+
@pulumi.getter(name="featureOnlineStore")
|
415
|
+
def feature_online_store(self) -> pulumi.Output[builtins.str]:
|
416
|
+
return pulumi.get(self, "feature_online_store")
|
417
|
+
|
418
|
+
@property
|
419
|
+
@pulumi.getter(name="featureView")
|
420
|
+
def feature_view(self) -> pulumi.Output[builtins.str]:
|
421
|
+
"""
|
422
|
+
Used to find the parent resource to bind the IAM policy to
|
423
|
+
"""
|
424
|
+
return pulumi.get(self, "feature_view")
|
425
|
+
|
426
|
+
@property
|
427
|
+
@pulumi.getter(name="policyData")
|
428
|
+
def policy_data(self) -> pulumi.Output[builtins.str]:
|
429
|
+
"""
|
430
|
+
The policy data generated by
|
431
|
+
a `organizations_get_iam_policy` data source.
|
432
|
+
"""
|
433
|
+
return pulumi.get(self, "policy_data")
|
434
|
+
|
435
|
+
@property
|
436
|
+
@pulumi.getter
|
437
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
438
|
+
"""
|
439
|
+
The ID of the project in which the resource belongs.
|
440
|
+
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.
|
441
|
+
"""
|
442
|
+
return pulumi.get(self, "project")
|
443
|
+
|
444
|
+
@property
|
445
|
+
@pulumi.getter
|
446
|
+
def region(self) -> pulumi.Output[builtins.str]:
|
447
|
+
"""
|
448
|
+
The region for the resource. It should be the same as the featureonlinestore region. Used to find the parent resource to bind the IAM policy to. If not specified,
|
449
|
+
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
450
|
+
region is specified, it is taken from the provider configuration.
|
451
|
+
"""
|
452
|
+
return pulumi.get(self, "region")
|
453
|
+
|