pulumi-gcp 7.25.0a1717104660__py3-none-any.whl → 7.25.0a1717407024__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 +88 -0
- pulumi_gcp/appengine/_inputs.py +18 -0
- pulumi_gcp/appengine/domain_mapping.py +1 -1
- pulumi_gcp/appengine/outputs.py +16 -0
- pulumi_gcp/bigquery/_inputs.py +286 -2
- pulumi_gcp/bigquery/outputs.py +289 -2
- pulumi_gcp/bigquery/table.py +77 -35
- pulumi_gcp/cloudfunctionsv2/function.py +0 -4
- pulumi_gcp/cloudrun/_inputs.py +80 -4
- pulumi_gcp/cloudrun/outputs.py +137 -4
- pulumi_gcp/composer/user_workloads_secret.py +4 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +398 -176
- pulumi_gcp/compute/get_subnetworks.py +157 -0
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/interconnect_attachment.py +82 -0
- pulumi_gcp/compute/network_endpoint.py +2 -2
- pulumi_gcp/compute/network_endpoint_list.py +2 -2
- pulumi_gcp/compute/outputs.py +609 -161
- pulumi_gcp/compute/region_ssl_policy.py +39 -40
- pulumi_gcp/compute/security_policy_rule.py +55 -1
- pulumi_gcp/container/_inputs.py +560 -0
- pulumi_gcp/container/outputs.py +1106 -51
- pulumi_gcp/dataplex/__init__.py +10 -0
- pulumi_gcp/dataplex/_inputs.py +160 -0
- pulumi_gcp/dataplex/aspect_type.py +1077 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +765 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +765 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +604 -0
- pulumi_gcp/dataplex/entry_group.py +722 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +765 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +765 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +604 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +164 -0
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +164 -0
- pulumi_gcp/dataplex/outputs.py +112 -0
- pulumi_gcp/datastream/connection_profile.py +47 -0
- pulumi_gcp/datastream/private_connection.py +47 -0
- pulumi_gcp/datastream/stream.py +47 -0
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +366 -0
- pulumi_gcp/kms/key_handle.py +548 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +245 -27
- pulumi_gcp/networkservices/lb_route_extension.py +663 -0
- pulumi_gcp/networkservices/lb_traffic_extension.py +28 -14
- pulumi_gcp/networkservices/outputs.py +251 -20
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/pubsub/_inputs.py +16 -0
- pulumi_gcp/pubsub/outputs.py +25 -0
- pulumi_gcp/pubsub/subscription.py +8 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/user.py +4 -4
- pulumi_gcp/tpu/_inputs.py +2 -2
- pulumi_gcp/tpu/outputs.py +2 -2
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/RECORD +59 -45
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.25.0a1717104660.dist-info → pulumi_gcp-7.25.0a1717407024.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1077 @@
|
|
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__ = ['AspectTypeArgs', 'AspectType']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class AspectTypeArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
aspect_type_id: Optional[pulumi.Input[str]] = None,
|
18
|
+
description: Optional[pulumi.Input[str]] = None,
|
19
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
20
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
21
|
+
location: Optional[pulumi.Input[str]] = None,
|
22
|
+
metadata_template: Optional[pulumi.Input[str]] = None,
|
23
|
+
project: Optional[pulumi.Input[str]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a AspectType resource.
|
26
|
+
:param pulumi.Input[str] aspect_type_id: The aspect type id of the aspect type.
|
27
|
+
:param pulumi.Input[str] description: Description of the AspectType.
|
28
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
29
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the AspectType.
|
30
|
+
|
31
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
32
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
33
|
+
:param pulumi.Input[str] location: The location where aspect type will be created in.
|
34
|
+
:param pulumi.Input[str] metadata_template: MetadataTemplate of the Aspect.
|
35
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
36
|
+
If it is not provided, the provider project is used.
|
37
|
+
"""
|
38
|
+
if aspect_type_id is not None:
|
39
|
+
pulumi.set(__self__, "aspect_type_id", aspect_type_id)
|
40
|
+
if description is not None:
|
41
|
+
pulumi.set(__self__, "description", description)
|
42
|
+
if display_name is not None:
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if labels is not None:
|
45
|
+
pulumi.set(__self__, "labels", labels)
|
46
|
+
if location is not None:
|
47
|
+
pulumi.set(__self__, "location", location)
|
48
|
+
if metadata_template is not None:
|
49
|
+
pulumi.set(__self__, "metadata_template", metadata_template)
|
50
|
+
if project is not None:
|
51
|
+
pulumi.set(__self__, "project", project)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="aspectTypeId")
|
55
|
+
def aspect_type_id(self) -> Optional[pulumi.Input[str]]:
|
56
|
+
"""
|
57
|
+
The aspect type id of the aspect type.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "aspect_type_id")
|
60
|
+
|
61
|
+
@aspect_type_id.setter
|
62
|
+
def aspect_type_id(self, value: Optional[pulumi.Input[str]]):
|
63
|
+
pulumi.set(self, "aspect_type_id", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
68
|
+
"""
|
69
|
+
Description of the AspectType.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "description")
|
72
|
+
|
73
|
+
@description.setter
|
74
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
75
|
+
pulumi.set(self, "description", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="displayName")
|
79
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
80
|
+
"""
|
81
|
+
User friendly display name.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "display_name")
|
84
|
+
|
85
|
+
@display_name.setter
|
86
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
87
|
+
pulumi.set(self, "display_name", value)
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
92
|
+
"""
|
93
|
+
User-defined labels for the AspectType.
|
94
|
+
|
95
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
96
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "labels")
|
99
|
+
|
100
|
+
@labels.setter
|
101
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
102
|
+
pulumi.set(self, "labels", value)
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter
|
106
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
107
|
+
"""
|
108
|
+
The location where aspect type will be created in.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "location")
|
111
|
+
|
112
|
+
@location.setter
|
113
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
114
|
+
pulumi.set(self, "location", value)
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="metadataTemplate")
|
118
|
+
def metadata_template(self) -> Optional[pulumi.Input[str]]:
|
119
|
+
"""
|
120
|
+
MetadataTemplate of the Aspect.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "metadata_template")
|
123
|
+
|
124
|
+
@metadata_template.setter
|
125
|
+
def metadata_template(self, value: Optional[pulumi.Input[str]]):
|
126
|
+
pulumi.set(self, "metadata_template", value)
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter
|
130
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
131
|
+
"""
|
132
|
+
The ID of the project in which the resource belongs.
|
133
|
+
If it is not provided, the provider project is used.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "project")
|
136
|
+
|
137
|
+
@project.setter
|
138
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
139
|
+
pulumi.set(self, "project", value)
|
140
|
+
|
141
|
+
|
142
|
+
@pulumi.input_type
|
143
|
+
class _AspectTypeState:
|
144
|
+
def __init__(__self__, *,
|
145
|
+
aspect_type_id: Optional[pulumi.Input[str]] = None,
|
146
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
147
|
+
description: Optional[pulumi.Input[str]] = None,
|
148
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
149
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
150
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
151
|
+
location: Optional[pulumi.Input[str]] = None,
|
152
|
+
metadata_template: Optional[pulumi.Input[str]] = None,
|
153
|
+
name: Optional[pulumi.Input[str]] = None,
|
154
|
+
project: Optional[pulumi.Input[str]] = None,
|
155
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
156
|
+
transfer_status: Optional[pulumi.Input[str]] = None,
|
157
|
+
uid: Optional[pulumi.Input[str]] = None,
|
158
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
159
|
+
"""
|
160
|
+
Input properties used for looking up and filtering AspectType resources.
|
161
|
+
:param pulumi.Input[str] aspect_type_id: The aspect type id of the aspect type.
|
162
|
+
:param pulumi.Input[str] create_time: The time when the AspectType was created.
|
163
|
+
:param pulumi.Input[str] description: Description of the AspectType.
|
164
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
165
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
166
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the AspectType.
|
167
|
+
|
168
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
169
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
170
|
+
:param pulumi.Input[str] location: The location where aspect type will be created in.
|
171
|
+
:param pulumi.Input[str] metadata_template: MetadataTemplate of the Aspect.
|
172
|
+
:param pulumi.Input[str] name: The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}
|
173
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
174
|
+
If it is not provided, the provider project is used.
|
175
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
176
|
+
and default labels configured on the provider.
|
177
|
+
:param pulumi.Input[str] transfer_status: Denotes the transfer status of the Aspect Type. It is unspecified
|
178
|
+
for Aspect Type created from Dataplex API.
|
179
|
+
:param pulumi.Input[str] uid: System generated globally unique ID for the AspectType. This ID will be different if the AspectType is deleted and re-created with the same name.
|
180
|
+
:param pulumi.Input[str] update_time: The time when the AspectType was last updated.
|
181
|
+
"""
|
182
|
+
if aspect_type_id is not None:
|
183
|
+
pulumi.set(__self__, "aspect_type_id", aspect_type_id)
|
184
|
+
if create_time is not None:
|
185
|
+
pulumi.set(__self__, "create_time", create_time)
|
186
|
+
if description is not None:
|
187
|
+
pulumi.set(__self__, "description", description)
|
188
|
+
if display_name is not None:
|
189
|
+
pulumi.set(__self__, "display_name", display_name)
|
190
|
+
if effective_labels is not None:
|
191
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
192
|
+
if labels is not None:
|
193
|
+
pulumi.set(__self__, "labels", labels)
|
194
|
+
if location is not None:
|
195
|
+
pulumi.set(__self__, "location", location)
|
196
|
+
if metadata_template is not None:
|
197
|
+
pulumi.set(__self__, "metadata_template", metadata_template)
|
198
|
+
if name is not None:
|
199
|
+
pulumi.set(__self__, "name", name)
|
200
|
+
if project is not None:
|
201
|
+
pulumi.set(__self__, "project", project)
|
202
|
+
if pulumi_labels is not None:
|
203
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
204
|
+
if transfer_status is not None:
|
205
|
+
pulumi.set(__self__, "transfer_status", transfer_status)
|
206
|
+
if uid is not None:
|
207
|
+
pulumi.set(__self__, "uid", uid)
|
208
|
+
if update_time is not None:
|
209
|
+
pulumi.set(__self__, "update_time", update_time)
|
210
|
+
|
211
|
+
@property
|
212
|
+
@pulumi.getter(name="aspectTypeId")
|
213
|
+
def aspect_type_id(self) -> Optional[pulumi.Input[str]]:
|
214
|
+
"""
|
215
|
+
The aspect type id of the aspect type.
|
216
|
+
"""
|
217
|
+
return pulumi.get(self, "aspect_type_id")
|
218
|
+
|
219
|
+
@aspect_type_id.setter
|
220
|
+
def aspect_type_id(self, value: Optional[pulumi.Input[str]]):
|
221
|
+
pulumi.set(self, "aspect_type_id", value)
|
222
|
+
|
223
|
+
@property
|
224
|
+
@pulumi.getter(name="createTime")
|
225
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
226
|
+
"""
|
227
|
+
The time when the AspectType was created.
|
228
|
+
"""
|
229
|
+
return pulumi.get(self, "create_time")
|
230
|
+
|
231
|
+
@create_time.setter
|
232
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
233
|
+
pulumi.set(self, "create_time", value)
|
234
|
+
|
235
|
+
@property
|
236
|
+
@pulumi.getter
|
237
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
238
|
+
"""
|
239
|
+
Description of the AspectType.
|
240
|
+
"""
|
241
|
+
return pulumi.get(self, "description")
|
242
|
+
|
243
|
+
@description.setter
|
244
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
245
|
+
pulumi.set(self, "description", value)
|
246
|
+
|
247
|
+
@property
|
248
|
+
@pulumi.getter(name="displayName")
|
249
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
250
|
+
"""
|
251
|
+
User friendly display name.
|
252
|
+
"""
|
253
|
+
return pulumi.get(self, "display_name")
|
254
|
+
|
255
|
+
@display_name.setter
|
256
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
257
|
+
pulumi.set(self, "display_name", value)
|
258
|
+
|
259
|
+
@property
|
260
|
+
@pulumi.getter(name="effectiveLabels")
|
261
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
262
|
+
"""
|
263
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "effective_labels")
|
266
|
+
|
267
|
+
@effective_labels.setter
|
268
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
269
|
+
pulumi.set(self, "effective_labels", value)
|
270
|
+
|
271
|
+
@property
|
272
|
+
@pulumi.getter
|
273
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
274
|
+
"""
|
275
|
+
User-defined labels for the AspectType.
|
276
|
+
|
277
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
278
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "labels")
|
281
|
+
|
282
|
+
@labels.setter
|
283
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
284
|
+
pulumi.set(self, "labels", value)
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter
|
288
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
289
|
+
"""
|
290
|
+
The location where aspect type will be created in.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "location")
|
293
|
+
|
294
|
+
@location.setter
|
295
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
296
|
+
pulumi.set(self, "location", value)
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="metadataTemplate")
|
300
|
+
def metadata_template(self) -> Optional[pulumi.Input[str]]:
|
301
|
+
"""
|
302
|
+
MetadataTemplate of the Aspect.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "metadata_template")
|
305
|
+
|
306
|
+
@metadata_template.setter
|
307
|
+
def metadata_template(self, value: Optional[pulumi.Input[str]]):
|
308
|
+
pulumi.set(self, "metadata_template", value)
|
309
|
+
|
310
|
+
@property
|
311
|
+
@pulumi.getter
|
312
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
313
|
+
"""
|
314
|
+
The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "name")
|
317
|
+
|
318
|
+
@name.setter
|
319
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
320
|
+
pulumi.set(self, "name", value)
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter
|
324
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
325
|
+
"""
|
326
|
+
The ID of the project in which the resource belongs.
|
327
|
+
If it is not provided, the provider project is used.
|
328
|
+
"""
|
329
|
+
return pulumi.get(self, "project")
|
330
|
+
|
331
|
+
@project.setter
|
332
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
333
|
+
pulumi.set(self, "project", value)
|
334
|
+
|
335
|
+
@property
|
336
|
+
@pulumi.getter(name="pulumiLabels")
|
337
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
338
|
+
"""
|
339
|
+
The combination of labels configured directly on the resource
|
340
|
+
and default labels configured on the provider.
|
341
|
+
"""
|
342
|
+
return pulumi.get(self, "pulumi_labels")
|
343
|
+
|
344
|
+
@pulumi_labels.setter
|
345
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
346
|
+
pulumi.set(self, "pulumi_labels", value)
|
347
|
+
|
348
|
+
@property
|
349
|
+
@pulumi.getter(name="transferStatus")
|
350
|
+
def transfer_status(self) -> Optional[pulumi.Input[str]]:
|
351
|
+
"""
|
352
|
+
Denotes the transfer status of the Aspect Type. It is unspecified
|
353
|
+
for Aspect Type created from Dataplex API.
|
354
|
+
"""
|
355
|
+
return pulumi.get(self, "transfer_status")
|
356
|
+
|
357
|
+
@transfer_status.setter
|
358
|
+
def transfer_status(self, value: Optional[pulumi.Input[str]]):
|
359
|
+
pulumi.set(self, "transfer_status", value)
|
360
|
+
|
361
|
+
@property
|
362
|
+
@pulumi.getter
|
363
|
+
def uid(self) -> Optional[pulumi.Input[str]]:
|
364
|
+
"""
|
365
|
+
System generated globally unique ID for the AspectType. This ID will be different if the AspectType is deleted and re-created with the same name.
|
366
|
+
"""
|
367
|
+
return pulumi.get(self, "uid")
|
368
|
+
|
369
|
+
@uid.setter
|
370
|
+
def uid(self, value: Optional[pulumi.Input[str]]):
|
371
|
+
pulumi.set(self, "uid", value)
|
372
|
+
|
373
|
+
@property
|
374
|
+
@pulumi.getter(name="updateTime")
|
375
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
376
|
+
"""
|
377
|
+
The time when the AspectType was last updated.
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "update_time")
|
380
|
+
|
381
|
+
@update_time.setter
|
382
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
383
|
+
pulumi.set(self, "update_time", value)
|
384
|
+
|
385
|
+
|
386
|
+
class AspectType(pulumi.CustomResource):
|
387
|
+
@overload
|
388
|
+
def __init__(__self__,
|
389
|
+
resource_name: str,
|
390
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
391
|
+
aspect_type_id: Optional[pulumi.Input[str]] = None,
|
392
|
+
description: Optional[pulumi.Input[str]] = None,
|
393
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
394
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
395
|
+
location: Optional[pulumi.Input[str]] = None,
|
396
|
+
metadata_template: Optional[pulumi.Input[str]] = None,
|
397
|
+
project: Optional[pulumi.Input[str]] = None,
|
398
|
+
__props__=None):
|
399
|
+
"""
|
400
|
+
An Aspect Type is a template for creating Aspects.
|
401
|
+
|
402
|
+
## Example Usage
|
403
|
+
|
404
|
+
### Dataplex Aspect Type Basic
|
405
|
+
|
406
|
+
```python
|
407
|
+
import pulumi
|
408
|
+
import pulumi_gcp as gcp
|
409
|
+
|
410
|
+
test_aspect_type_basic = gcp.dataplex.AspectType("test_aspect_type_basic",
|
411
|
+
aspect_type_id="aspect-type-basic",
|
412
|
+
project="my-project-name",
|
413
|
+
location="us-central1",
|
414
|
+
metadata_template=\"\"\"{
|
415
|
+
"name": "tf-test-template",
|
416
|
+
"type": "record",
|
417
|
+
"recordFields": [
|
418
|
+
{
|
419
|
+
"name": "type",
|
420
|
+
"type": "enum",
|
421
|
+
"annotations": {
|
422
|
+
"displayName": "Type",
|
423
|
+
"description": "Specifies the type of view represented by the entry."
|
424
|
+
},
|
425
|
+
"index": 1,
|
426
|
+
"constraints": {
|
427
|
+
"required": true
|
428
|
+
},
|
429
|
+
"enumValues": [
|
430
|
+
{
|
431
|
+
"name": "VIEW",
|
432
|
+
"index": 1
|
433
|
+
}
|
434
|
+
]
|
435
|
+
}
|
436
|
+
]
|
437
|
+
}
|
438
|
+
\"\"\")
|
439
|
+
```
|
440
|
+
### Dataplex Aspect Type Full
|
441
|
+
|
442
|
+
```python
|
443
|
+
import pulumi
|
444
|
+
import pulumi_gcp as gcp
|
445
|
+
|
446
|
+
test_aspect_type_full = gcp.dataplex.AspectType("test_aspect_type_full",
|
447
|
+
aspect_type_id="aspect-type-full",
|
448
|
+
project="my-project-name",
|
449
|
+
location="us-central1",
|
450
|
+
labels={
|
451
|
+
"tag": "test-tf",
|
452
|
+
},
|
453
|
+
display_name="terraform aspect type",
|
454
|
+
description="aspect type created by Terraform",
|
455
|
+
metadata_template=\"\"\"{
|
456
|
+
"type": "record",
|
457
|
+
"name": "Schema",
|
458
|
+
"recordFields": [
|
459
|
+
{
|
460
|
+
"name": "fields",
|
461
|
+
"type": "array",
|
462
|
+
"index": 1,
|
463
|
+
"arrayItems": {
|
464
|
+
"name": "field",
|
465
|
+
"type": "record",
|
466
|
+
"typeId": "field",
|
467
|
+
"recordFields": [
|
468
|
+
{
|
469
|
+
"name": "name",
|
470
|
+
"type": "string",
|
471
|
+
"index": 1,
|
472
|
+
"constraints": {
|
473
|
+
"required": true
|
474
|
+
}
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"name": "description",
|
478
|
+
"type": "string",
|
479
|
+
"index": 2
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"name": "dataType",
|
483
|
+
"type": "string",
|
484
|
+
"index": 3,
|
485
|
+
"constraints": {
|
486
|
+
"required": true
|
487
|
+
}
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"name": "metadataType",
|
491
|
+
"type": "enum",
|
492
|
+
"index": 4,
|
493
|
+
"constraints": {
|
494
|
+
"required": true
|
495
|
+
},
|
496
|
+
"enumValues": [
|
497
|
+
{
|
498
|
+
"name": "BOOLEAN",
|
499
|
+
"index": 1
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"name": "NUMBER",
|
503
|
+
"index": 2
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"name": "STRING",
|
507
|
+
"index": 3
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"name": "BYTES",
|
511
|
+
"index": 4
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"name": "DATETIME",
|
515
|
+
"index": 5
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"name": "TIMESTAMP",
|
519
|
+
"index": 6
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"name": "GEOSPATIAL",
|
523
|
+
"index": 7
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"name": "STRUCT",
|
527
|
+
"index": 8
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"name": "OTHER",
|
531
|
+
"index": 100
|
532
|
+
}
|
533
|
+
]
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"name": "mode",
|
537
|
+
"type": "enum",
|
538
|
+
"index": 5,
|
539
|
+
"enumValues": [
|
540
|
+
{
|
541
|
+
"name": "NULLABLE",
|
542
|
+
"index": 1
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"name": "REPEATED",
|
546
|
+
"index": 2
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"name": "REQUIRED",
|
550
|
+
"index": 3
|
551
|
+
}
|
552
|
+
]
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"name": "defaultValue",
|
556
|
+
"type": "string",
|
557
|
+
"index": 6
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"name": "annotations",
|
561
|
+
"type": "map",
|
562
|
+
"index": 7,
|
563
|
+
"mapItems": {
|
564
|
+
"name": "label",
|
565
|
+
"type": "string"
|
566
|
+
}
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"name": "fields",
|
570
|
+
"type": "array",
|
571
|
+
"index": 20,
|
572
|
+
"arrayItems": {
|
573
|
+
"name": "field",
|
574
|
+
"type": "record",
|
575
|
+
"typeRef": "field"
|
576
|
+
}
|
577
|
+
}
|
578
|
+
]
|
579
|
+
}
|
580
|
+
}
|
581
|
+
]
|
582
|
+
}
|
583
|
+
\"\"\")
|
584
|
+
```
|
585
|
+
|
586
|
+
## Import
|
587
|
+
|
588
|
+
AspectType can be imported using any of these accepted formats:
|
589
|
+
|
590
|
+
* `projects/{{project}}/locations/{{location}}/aspectTypes/{{aspect_type_id}}`
|
591
|
+
|
592
|
+
* `{{project}}/{{location}}/{{aspect_type_id}}`
|
593
|
+
|
594
|
+
* `{{location}}/{{aspect_type_id}}`
|
595
|
+
|
596
|
+
When using the `pulumi import` command, AspectType can be imported using one of the formats above. For example:
|
597
|
+
|
598
|
+
```sh
|
599
|
+
$ pulumi import gcp:dataplex/aspectType:AspectType default projects/{{project}}/locations/{{location}}/aspectTypes/{{aspect_type_id}}
|
600
|
+
```
|
601
|
+
|
602
|
+
```sh
|
603
|
+
$ pulumi import gcp:dataplex/aspectType:AspectType default {{project}}/{{location}}/{{aspect_type_id}}
|
604
|
+
```
|
605
|
+
|
606
|
+
```sh
|
607
|
+
$ pulumi import gcp:dataplex/aspectType:AspectType default {{location}}/{{aspect_type_id}}
|
608
|
+
```
|
609
|
+
|
610
|
+
:param str resource_name: The name of the resource.
|
611
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
612
|
+
:param pulumi.Input[str] aspect_type_id: The aspect type id of the aspect type.
|
613
|
+
:param pulumi.Input[str] description: Description of the AspectType.
|
614
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
615
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the AspectType.
|
616
|
+
|
617
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
618
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
619
|
+
:param pulumi.Input[str] location: The location where aspect type will be created in.
|
620
|
+
:param pulumi.Input[str] metadata_template: MetadataTemplate of the Aspect.
|
621
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
622
|
+
If it is not provided, the provider project is used.
|
623
|
+
"""
|
624
|
+
...
|
625
|
+
@overload
|
626
|
+
def __init__(__self__,
|
627
|
+
resource_name: str,
|
628
|
+
args: Optional[AspectTypeArgs] = None,
|
629
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
630
|
+
"""
|
631
|
+
An Aspect Type is a template for creating Aspects.
|
632
|
+
|
633
|
+
## Example Usage
|
634
|
+
|
635
|
+
### Dataplex Aspect Type Basic
|
636
|
+
|
637
|
+
```python
|
638
|
+
import pulumi
|
639
|
+
import pulumi_gcp as gcp
|
640
|
+
|
641
|
+
test_aspect_type_basic = gcp.dataplex.AspectType("test_aspect_type_basic",
|
642
|
+
aspect_type_id="aspect-type-basic",
|
643
|
+
project="my-project-name",
|
644
|
+
location="us-central1",
|
645
|
+
metadata_template=\"\"\"{
|
646
|
+
"name": "tf-test-template",
|
647
|
+
"type": "record",
|
648
|
+
"recordFields": [
|
649
|
+
{
|
650
|
+
"name": "type",
|
651
|
+
"type": "enum",
|
652
|
+
"annotations": {
|
653
|
+
"displayName": "Type",
|
654
|
+
"description": "Specifies the type of view represented by the entry."
|
655
|
+
},
|
656
|
+
"index": 1,
|
657
|
+
"constraints": {
|
658
|
+
"required": true
|
659
|
+
},
|
660
|
+
"enumValues": [
|
661
|
+
{
|
662
|
+
"name": "VIEW",
|
663
|
+
"index": 1
|
664
|
+
}
|
665
|
+
]
|
666
|
+
}
|
667
|
+
]
|
668
|
+
}
|
669
|
+
\"\"\")
|
670
|
+
```
|
671
|
+
### Dataplex Aspect Type Full
|
672
|
+
|
673
|
+
```python
|
674
|
+
import pulumi
|
675
|
+
import pulumi_gcp as gcp
|
676
|
+
|
677
|
+
test_aspect_type_full = gcp.dataplex.AspectType("test_aspect_type_full",
|
678
|
+
aspect_type_id="aspect-type-full",
|
679
|
+
project="my-project-name",
|
680
|
+
location="us-central1",
|
681
|
+
labels={
|
682
|
+
"tag": "test-tf",
|
683
|
+
},
|
684
|
+
display_name="terraform aspect type",
|
685
|
+
description="aspect type created by Terraform",
|
686
|
+
metadata_template=\"\"\"{
|
687
|
+
"type": "record",
|
688
|
+
"name": "Schema",
|
689
|
+
"recordFields": [
|
690
|
+
{
|
691
|
+
"name": "fields",
|
692
|
+
"type": "array",
|
693
|
+
"index": 1,
|
694
|
+
"arrayItems": {
|
695
|
+
"name": "field",
|
696
|
+
"type": "record",
|
697
|
+
"typeId": "field",
|
698
|
+
"recordFields": [
|
699
|
+
{
|
700
|
+
"name": "name",
|
701
|
+
"type": "string",
|
702
|
+
"index": 1,
|
703
|
+
"constraints": {
|
704
|
+
"required": true
|
705
|
+
}
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"name": "description",
|
709
|
+
"type": "string",
|
710
|
+
"index": 2
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"name": "dataType",
|
714
|
+
"type": "string",
|
715
|
+
"index": 3,
|
716
|
+
"constraints": {
|
717
|
+
"required": true
|
718
|
+
}
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"name": "metadataType",
|
722
|
+
"type": "enum",
|
723
|
+
"index": 4,
|
724
|
+
"constraints": {
|
725
|
+
"required": true
|
726
|
+
},
|
727
|
+
"enumValues": [
|
728
|
+
{
|
729
|
+
"name": "BOOLEAN",
|
730
|
+
"index": 1
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"name": "NUMBER",
|
734
|
+
"index": 2
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"name": "STRING",
|
738
|
+
"index": 3
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"name": "BYTES",
|
742
|
+
"index": 4
|
743
|
+
},
|
744
|
+
{
|
745
|
+
"name": "DATETIME",
|
746
|
+
"index": 5
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"name": "TIMESTAMP",
|
750
|
+
"index": 6
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"name": "GEOSPATIAL",
|
754
|
+
"index": 7
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"name": "STRUCT",
|
758
|
+
"index": 8
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"name": "OTHER",
|
762
|
+
"index": 100
|
763
|
+
}
|
764
|
+
]
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"name": "mode",
|
768
|
+
"type": "enum",
|
769
|
+
"index": 5,
|
770
|
+
"enumValues": [
|
771
|
+
{
|
772
|
+
"name": "NULLABLE",
|
773
|
+
"index": 1
|
774
|
+
},
|
775
|
+
{
|
776
|
+
"name": "REPEATED",
|
777
|
+
"index": 2
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"name": "REQUIRED",
|
781
|
+
"index": 3
|
782
|
+
}
|
783
|
+
]
|
784
|
+
},
|
785
|
+
{
|
786
|
+
"name": "defaultValue",
|
787
|
+
"type": "string",
|
788
|
+
"index": 6
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"name": "annotations",
|
792
|
+
"type": "map",
|
793
|
+
"index": 7,
|
794
|
+
"mapItems": {
|
795
|
+
"name": "label",
|
796
|
+
"type": "string"
|
797
|
+
}
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"name": "fields",
|
801
|
+
"type": "array",
|
802
|
+
"index": 20,
|
803
|
+
"arrayItems": {
|
804
|
+
"name": "field",
|
805
|
+
"type": "record",
|
806
|
+
"typeRef": "field"
|
807
|
+
}
|
808
|
+
}
|
809
|
+
]
|
810
|
+
}
|
811
|
+
}
|
812
|
+
]
|
813
|
+
}
|
814
|
+
\"\"\")
|
815
|
+
```
|
816
|
+
|
817
|
+
## Import
|
818
|
+
|
819
|
+
AspectType can be imported using any of these accepted formats:
|
820
|
+
|
821
|
+
* `projects/{{project}}/locations/{{location}}/aspectTypes/{{aspect_type_id}}`
|
822
|
+
|
823
|
+
* `{{project}}/{{location}}/{{aspect_type_id}}`
|
824
|
+
|
825
|
+
* `{{location}}/{{aspect_type_id}}`
|
826
|
+
|
827
|
+
When using the `pulumi import` command, AspectType can be imported using one of the formats above. For example:
|
828
|
+
|
829
|
+
```sh
|
830
|
+
$ pulumi import gcp:dataplex/aspectType:AspectType default projects/{{project}}/locations/{{location}}/aspectTypes/{{aspect_type_id}}
|
831
|
+
```
|
832
|
+
|
833
|
+
```sh
|
834
|
+
$ pulumi import gcp:dataplex/aspectType:AspectType default {{project}}/{{location}}/{{aspect_type_id}}
|
835
|
+
```
|
836
|
+
|
837
|
+
```sh
|
838
|
+
$ pulumi import gcp:dataplex/aspectType:AspectType default {{location}}/{{aspect_type_id}}
|
839
|
+
```
|
840
|
+
|
841
|
+
:param str resource_name: The name of the resource.
|
842
|
+
:param AspectTypeArgs args: The arguments to use to populate this resource's properties.
|
843
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
844
|
+
"""
|
845
|
+
...
|
846
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
847
|
+
resource_args, opts = _utilities.get_resource_args_opts(AspectTypeArgs, pulumi.ResourceOptions, *args, **kwargs)
|
848
|
+
if resource_args is not None:
|
849
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
850
|
+
else:
|
851
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
852
|
+
|
853
|
+
def _internal_init(__self__,
|
854
|
+
resource_name: str,
|
855
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
856
|
+
aspect_type_id: Optional[pulumi.Input[str]] = None,
|
857
|
+
description: Optional[pulumi.Input[str]] = None,
|
858
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
859
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
860
|
+
location: Optional[pulumi.Input[str]] = None,
|
861
|
+
metadata_template: Optional[pulumi.Input[str]] = None,
|
862
|
+
project: Optional[pulumi.Input[str]] = None,
|
863
|
+
__props__=None):
|
864
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
865
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
866
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
867
|
+
if opts.id is None:
|
868
|
+
if __props__ is not None:
|
869
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
870
|
+
__props__ = AspectTypeArgs.__new__(AspectTypeArgs)
|
871
|
+
|
872
|
+
__props__.__dict__["aspect_type_id"] = aspect_type_id
|
873
|
+
__props__.__dict__["description"] = description
|
874
|
+
__props__.__dict__["display_name"] = display_name
|
875
|
+
__props__.__dict__["labels"] = labels
|
876
|
+
__props__.__dict__["location"] = location
|
877
|
+
__props__.__dict__["metadata_template"] = metadata_template
|
878
|
+
__props__.__dict__["project"] = project
|
879
|
+
__props__.__dict__["create_time"] = None
|
880
|
+
__props__.__dict__["effective_labels"] = None
|
881
|
+
__props__.__dict__["name"] = None
|
882
|
+
__props__.__dict__["pulumi_labels"] = None
|
883
|
+
__props__.__dict__["transfer_status"] = None
|
884
|
+
__props__.__dict__["uid"] = None
|
885
|
+
__props__.__dict__["update_time"] = None
|
886
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
887
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
888
|
+
super(AspectType, __self__).__init__(
|
889
|
+
'gcp:dataplex/aspectType:AspectType',
|
890
|
+
resource_name,
|
891
|
+
__props__,
|
892
|
+
opts)
|
893
|
+
|
894
|
+
@staticmethod
|
895
|
+
def get(resource_name: str,
|
896
|
+
id: pulumi.Input[str],
|
897
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
898
|
+
aspect_type_id: Optional[pulumi.Input[str]] = None,
|
899
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
900
|
+
description: Optional[pulumi.Input[str]] = None,
|
901
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
902
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
903
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
904
|
+
location: Optional[pulumi.Input[str]] = None,
|
905
|
+
metadata_template: Optional[pulumi.Input[str]] = None,
|
906
|
+
name: Optional[pulumi.Input[str]] = None,
|
907
|
+
project: Optional[pulumi.Input[str]] = None,
|
908
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
909
|
+
transfer_status: Optional[pulumi.Input[str]] = None,
|
910
|
+
uid: Optional[pulumi.Input[str]] = None,
|
911
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'AspectType':
|
912
|
+
"""
|
913
|
+
Get an existing AspectType resource's state with the given name, id, and optional extra
|
914
|
+
properties used to qualify the lookup.
|
915
|
+
|
916
|
+
:param str resource_name: The unique name of the resulting resource.
|
917
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
918
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
919
|
+
:param pulumi.Input[str] aspect_type_id: The aspect type id of the aspect type.
|
920
|
+
:param pulumi.Input[str] create_time: The time when the AspectType was created.
|
921
|
+
:param pulumi.Input[str] description: Description of the AspectType.
|
922
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
923
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
924
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the AspectType.
|
925
|
+
|
926
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
927
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
928
|
+
:param pulumi.Input[str] location: The location where aspect type will be created in.
|
929
|
+
:param pulumi.Input[str] metadata_template: MetadataTemplate of the Aspect.
|
930
|
+
:param pulumi.Input[str] name: The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}
|
931
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
932
|
+
If it is not provided, the provider project is used.
|
933
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
934
|
+
and default labels configured on the provider.
|
935
|
+
:param pulumi.Input[str] transfer_status: Denotes the transfer status of the Aspect Type. It is unspecified
|
936
|
+
for Aspect Type created from Dataplex API.
|
937
|
+
:param pulumi.Input[str] uid: System generated globally unique ID for the AspectType. This ID will be different if the AspectType is deleted and re-created with the same name.
|
938
|
+
:param pulumi.Input[str] update_time: The time when the AspectType was last updated.
|
939
|
+
"""
|
940
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
941
|
+
|
942
|
+
__props__ = _AspectTypeState.__new__(_AspectTypeState)
|
943
|
+
|
944
|
+
__props__.__dict__["aspect_type_id"] = aspect_type_id
|
945
|
+
__props__.__dict__["create_time"] = create_time
|
946
|
+
__props__.__dict__["description"] = description
|
947
|
+
__props__.__dict__["display_name"] = display_name
|
948
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
949
|
+
__props__.__dict__["labels"] = labels
|
950
|
+
__props__.__dict__["location"] = location
|
951
|
+
__props__.__dict__["metadata_template"] = metadata_template
|
952
|
+
__props__.__dict__["name"] = name
|
953
|
+
__props__.__dict__["project"] = project
|
954
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
955
|
+
__props__.__dict__["transfer_status"] = transfer_status
|
956
|
+
__props__.__dict__["uid"] = uid
|
957
|
+
__props__.__dict__["update_time"] = update_time
|
958
|
+
return AspectType(resource_name, opts=opts, __props__=__props__)
|
959
|
+
|
960
|
+
@property
|
961
|
+
@pulumi.getter(name="aspectTypeId")
|
962
|
+
def aspect_type_id(self) -> pulumi.Output[Optional[str]]:
|
963
|
+
"""
|
964
|
+
The aspect type id of the aspect type.
|
965
|
+
"""
|
966
|
+
return pulumi.get(self, "aspect_type_id")
|
967
|
+
|
968
|
+
@property
|
969
|
+
@pulumi.getter(name="createTime")
|
970
|
+
def create_time(self) -> pulumi.Output[str]:
|
971
|
+
"""
|
972
|
+
The time when the AspectType was created.
|
973
|
+
"""
|
974
|
+
return pulumi.get(self, "create_time")
|
975
|
+
|
976
|
+
@property
|
977
|
+
@pulumi.getter
|
978
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
979
|
+
"""
|
980
|
+
Description of the AspectType.
|
981
|
+
"""
|
982
|
+
return pulumi.get(self, "description")
|
983
|
+
|
984
|
+
@property
|
985
|
+
@pulumi.getter(name="displayName")
|
986
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
987
|
+
"""
|
988
|
+
User friendly display name.
|
989
|
+
"""
|
990
|
+
return pulumi.get(self, "display_name")
|
991
|
+
|
992
|
+
@property
|
993
|
+
@pulumi.getter(name="effectiveLabels")
|
994
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
995
|
+
"""
|
996
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
997
|
+
"""
|
998
|
+
return pulumi.get(self, "effective_labels")
|
999
|
+
|
1000
|
+
@property
|
1001
|
+
@pulumi.getter
|
1002
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1003
|
+
"""
|
1004
|
+
User-defined labels for the AspectType.
|
1005
|
+
|
1006
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1007
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1008
|
+
"""
|
1009
|
+
return pulumi.get(self, "labels")
|
1010
|
+
|
1011
|
+
@property
|
1012
|
+
@pulumi.getter
|
1013
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
1014
|
+
"""
|
1015
|
+
The location where aspect type will be created in.
|
1016
|
+
"""
|
1017
|
+
return pulumi.get(self, "location")
|
1018
|
+
|
1019
|
+
@property
|
1020
|
+
@pulumi.getter(name="metadataTemplate")
|
1021
|
+
def metadata_template(self) -> pulumi.Output[Optional[str]]:
|
1022
|
+
"""
|
1023
|
+
MetadataTemplate of the Aspect.
|
1024
|
+
"""
|
1025
|
+
return pulumi.get(self, "metadata_template")
|
1026
|
+
|
1027
|
+
@property
|
1028
|
+
@pulumi.getter
|
1029
|
+
def name(self) -> pulumi.Output[str]:
|
1030
|
+
"""
|
1031
|
+
The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}
|
1032
|
+
"""
|
1033
|
+
return pulumi.get(self, "name")
|
1034
|
+
|
1035
|
+
@property
|
1036
|
+
@pulumi.getter
|
1037
|
+
def project(self) -> pulumi.Output[str]:
|
1038
|
+
"""
|
1039
|
+
The ID of the project in which the resource belongs.
|
1040
|
+
If it is not provided, the provider project is used.
|
1041
|
+
"""
|
1042
|
+
return pulumi.get(self, "project")
|
1043
|
+
|
1044
|
+
@property
|
1045
|
+
@pulumi.getter(name="pulumiLabels")
|
1046
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
1047
|
+
"""
|
1048
|
+
The combination of labels configured directly on the resource
|
1049
|
+
and default labels configured on the provider.
|
1050
|
+
"""
|
1051
|
+
return pulumi.get(self, "pulumi_labels")
|
1052
|
+
|
1053
|
+
@property
|
1054
|
+
@pulumi.getter(name="transferStatus")
|
1055
|
+
def transfer_status(self) -> pulumi.Output[str]:
|
1056
|
+
"""
|
1057
|
+
Denotes the transfer status of the Aspect Type. It is unspecified
|
1058
|
+
for Aspect Type created from Dataplex API.
|
1059
|
+
"""
|
1060
|
+
return pulumi.get(self, "transfer_status")
|
1061
|
+
|
1062
|
+
@property
|
1063
|
+
@pulumi.getter
|
1064
|
+
def uid(self) -> pulumi.Output[str]:
|
1065
|
+
"""
|
1066
|
+
System generated globally unique ID for the AspectType. This ID will be different if the AspectType is deleted and re-created with the same name.
|
1067
|
+
"""
|
1068
|
+
return pulumi.get(self, "uid")
|
1069
|
+
|
1070
|
+
@property
|
1071
|
+
@pulumi.getter(name="updateTime")
|
1072
|
+
def update_time(self) -> pulumi.Output[str]:
|
1073
|
+
"""
|
1074
|
+
The time when the AspectType was last updated.
|
1075
|
+
"""
|
1076
|
+
return pulumi.get(self, "update_time")
|
1077
|
+
|