pulumi-gcp 7.26.0a1717544115__py3-none-any.whl → 7.26.0a1717690580__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 +56 -0
- pulumi_gcp/alloydb/_inputs.py +92 -0
- pulumi_gcp/alloydb/backup.py +12 -4
- pulumi_gcp/alloydb/cluster.py +72 -6
- pulumi_gcp/alloydb/instance.py +60 -2
- pulumi_gcp/alloydb/outputs.py +114 -0
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +6 -2
- pulumi_gcp/artifactregistry/repository_iam_binding.py +21 -7
- pulumi_gcp/artifactregistry/repository_iam_member.py +21 -7
- pulumi_gcp/artifactregistry/repository_iam_policy.py +21 -7
- pulumi_gcp/bigquery/connection_iam_binding.py +21 -7
- pulumi_gcp/bigquery/connection_iam_member.py +21 -7
- pulumi_gcp/bigquery/connection_iam_policy.py +21 -7
- pulumi_gcp/bigquery/data_transfer_config.py +14 -7
- pulumi_gcp/bigquery/get_connection_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +6 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +21 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +21 -7
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +21 -7
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +6 -2
- pulumi_gcp/certificateauthority/_inputs.py +20 -4
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +21 -7
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +21 -7
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +21 -7
- pulumi_gcp/certificateauthority/certificate_template.py +157 -173
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +27 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +27 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +27 -0
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +6 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +6 -0
- pulumi_gcp/certificateauthority/outputs.py +20 -4
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +21 -7
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +21 -7
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +21 -7
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +6 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +6 -2
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +21 -7
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +21 -7
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +21 -7
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +6 -2
- pulumi_gcp/cloudrun/get_service_iam_policy.py +6 -2
- pulumi_gcp/cloudrun/iam_binding.py +21 -7
- pulumi_gcp/cloudrun/iam_member.py +21 -7
- pulumi_gcp/cloudrun/iam_policy.py +21 -7
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +6 -2
- pulumi_gcp/cloudrunv2/get_service.py +11 -1
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +6 -2
- pulumi_gcp/cloudrunv2/job_iam_binding.py +21 -7
- pulumi_gcp/cloudrunv2/job_iam_member.py +21 -7
- pulumi_gcp/cloudrunv2/job_iam_policy.py +21 -7
- pulumi_gcp/cloudrunv2/service.py +47 -0
- pulumi_gcp/cloudrunv2/service_iam_binding.py +21 -7
- pulumi_gcp/cloudrunv2/service_iam_member.py +21 -7
- pulumi_gcp/cloudrunv2/service_iam_policy.py +21 -7
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +6 -2
- pulumi_gcp/cloudtasks/queue_iam_binding.py +21 -7
- pulumi_gcp/cloudtasks/queue_iam_member.py +21 -7
- pulumi_gcp/cloudtasks/queue_iam_policy.py +21 -7
- pulumi_gcp/compute/_inputs.py +18 -18
- pulumi_gcp/compute/outputs.py +20 -20
- pulumi_gcp/dataplex/__init__.py +5 -0
- pulumi_gcp/dataplex/_inputs.py +104 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +21 -7
- pulumi_gcp/dataplex/aspect_type_iam_member.py +21 -7
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_binding.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_member.py +21 -7
- pulumi_gcp/dataplex/datascan_iam_policy.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_binding.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_member.py +21 -7
- pulumi_gcp/dataplex/entry_group_iam_policy.py +21 -7
- pulumi_gcp/dataplex/entry_type.py +963 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +779 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +779 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +618 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +6 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +168 -0
- pulumi_gcp/dataplex/get_task_iam_policy.py +6 -2
- pulumi_gcp/dataplex/outputs.py +76 -0
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataplex/task_iam_binding.py +21 -7
- pulumi_gcp/dataplex/task_iam_member.py +21 -7
- pulumi_gcp/dataplex/task_iam_policy.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +21 -7
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +21 -7
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +6 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +6 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +6 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +21 -7
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +21 -7
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_member.py +21 -7
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +21 -7
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +21 -7
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +21 -7
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +21 -7
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +6 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +6 -2
- pulumi_gcp/gkehub/feature_iam_binding.py +21 -7
- pulumi_gcp/gkehub/feature_iam_member.py +21 -7
- pulumi_gcp/gkehub/feature_iam_policy.py +21 -7
- pulumi_gcp/gkehub/get_feature_iam_policy.py +6 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +6 -2
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_iam_binding.py +21 -7
- pulumi_gcp/gkehub/membership_iam_member.py +21 -7
- pulumi_gcp/gkehub/membership_iam_policy.py +21 -7
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/logging/__init__.py +4 -0
- pulumi_gcp/logging/_inputs.py +100 -0
- pulumi_gcp/logging/get_log_view_iam_policy.py +157 -0
- pulumi_gcp/logging/log_view_iam_binding.py +630 -0
- pulumi_gcp/logging/log_view_iam_member.py +630 -0
- pulumi_gcp/logging/log_view_iam_policy.py +449 -0
- pulumi_gcp/logging/outputs.py +76 -0
- pulumi_gcp/netapp/storage_pool.py +9 -9
- pulumi_gcp/networksecurity/address_group_iam_policy.py +21 -7
- pulumi_gcp/networksecurity/get_address_group_iam_policy.py +6 -2
- pulumi_gcp/notebooks/get_instance_iam_policy.py +6 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +6 -2
- pulumi_gcp/notebooks/instance_iam_binding.py +21 -7
- pulumi_gcp/notebooks/instance_iam_member.py +21 -7
- pulumi_gcp/notebooks/instance_iam_policy.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_binding.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_member.py +21 -7
- pulumi_gcp/notebooks/runtime_iam_policy.py +21 -7
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/entitlement.py +7 -7
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +6 -2
- pulumi_gcp/sql/_inputs.py +2 -4
- pulumi_gcp/sql/outputs.py +6 -8
- pulumi_gcp/storage/_inputs.py +48 -0
- pulumi_gcp/storage/outputs.py +75 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +6 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +6 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +6 -2
- pulumi_gcp/workstations/workstation_config_iam_binding.py +21 -7
- pulumi_gcp/workstations/workstation_config_iam_member.py +21 -7
- pulumi_gcp/workstations/workstation_config_iam_policy.py +21 -7
- pulumi_gcp/workstations/workstation_iam_binding.py +21 -7
- pulumi_gcp/workstations/workstation_iam_member.py +21 -7
- pulumi_gcp/workstations/workstation_iam_policy.py +21 -7
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/RECORD +165 -156
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.26.0a1717544115.dist-info → pulumi_gcp-7.26.0a1717690580.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,963 @@
|
|
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__ = ['EntryTypeArgs', 'EntryType']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class EntryTypeArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
description: Optional[pulumi.Input[str]] = None,
|
20
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
21
|
+
entry_type_id: Optional[pulumi.Input[str]] = None,
|
22
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
23
|
+
location: Optional[pulumi.Input[str]] = None,
|
24
|
+
platform: Optional[pulumi.Input[str]] = None,
|
25
|
+
project: Optional[pulumi.Input[str]] = None,
|
26
|
+
required_aspects: Optional[pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]]] = None,
|
27
|
+
system: Optional[pulumi.Input[str]] = None,
|
28
|
+
type_aliases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a EntryType resource.
|
31
|
+
:param pulumi.Input[str] description: Description of the EntryType.
|
32
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
33
|
+
:param pulumi.Input[str] entry_type_id: The entry type id of the entry type.
|
34
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the EntryType.
|
35
|
+
|
36
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
37
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
38
|
+
:param pulumi.Input[str] location: The location where entry type will be created in.
|
39
|
+
:param pulumi.Input[str] platform: The platform that Entries of this type belongs to.
|
40
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
41
|
+
If it is not provided, the provider project is used.
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]] required_aspects: AspectInfo for the entry type.
|
43
|
+
Structure is documented below.
|
44
|
+
:param pulumi.Input[str] system: The system that Entries of this type belongs to.
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] type_aliases: Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
|
46
|
+
"""
|
47
|
+
if description is not None:
|
48
|
+
pulumi.set(__self__, "description", description)
|
49
|
+
if display_name is not None:
|
50
|
+
pulumi.set(__self__, "display_name", display_name)
|
51
|
+
if entry_type_id is not None:
|
52
|
+
pulumi.set(__self__, "entry_type_id", entry_type_id)
|
53
|
+
if labels is not None:
|
54
|
+
pulumi.set(__self__, "labels", labels)
|
55
|
+
if location is not None:
|
56
|
+
pulumi.set(__self__, "location", location)
|
57
|
+
if platform is not None:
|
58
|
+
pulumi.set(__self__, "platform", platform)
|
59
|
+
if project is not None:
|
60
|
+
pulumi.set(__self__, "project", project)
|
61
|
+
if required_aspects is not None:
|
62
|
+
pulumi.set(__self__, "required_aspects", required_aspects)
|
63
|
+
if system is not None:
|
64
|
+
pulumi.set(__self__, "system", system)
|
65
|
+
if type_aliases is not None:
|
66
|
+
pulumi.set(__self__, "type_aliases", type_aliases)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
71
|
+
"""
|
72
|
+
Description of the EntryType.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "description")
|
75
|
+
|
76
|
+
@description.setter
|
77
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
78
|
+
pulumi.set(self, "description", value)
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="displayName")
|
82
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
83
|
+
"""
|
84
|
+
User friendly display name.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "display_name")
|
87
|
+
|
88
|
+
@display_name.setter
|
89
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
90
|
+
pulumi.set(self, "display_name", value)
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="entryTypeId")
|
94
|
+
def entry_type_id(self) -> Optional[pulumi.Input[str]]:
|
95
|
+
"""
|
96
|
+
The entry type id of the entry type.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "entry_type_id")
|
99
|
+
|
100
|
+
@entry_type_id.setter
|
101
|
+
def entry_type_id(self, value: Optional[pulumi.Input[str]]):
|
102
|
+
pulumi.set(self, "entry_type_id", value)
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter
|
106
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
107
|
+
"""
|
108
|
+
User-defined labels for the EntryType.
|
109
|
+
|
110
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
111
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "labels")
|
114
|
+
|
115
|
+
@labels.setter
|
116
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
117
|
+
pulumi.set(self, "labels", value)
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter
|
121
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
122
|
+
"""
|
123
|
+
The location where entry type will be created in.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "location")
|
126
|
+
|
127
|
+
@location.setter
|
128
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
129
|
+
pulumi.set(self, "location", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def platform(self) -> Optional[pulumi.Input[str]]:
|
134
|
+
"""
|
135
|
+
The platform that Entries of this type belongs to.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "platform")
|
138
|
+
|
139
|
+
@platform.setter
|
140
|
+
def platform(self, value: Optional[pulumi.Input[str]]):
|
141
|
+
pulumi.set(self, "platform", value)
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
146
|
+
"""
|
147
|
+
The ID of the project in which the resource belongs.
|
148
|
+
If it is not provided, the provider project is used.
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "project")
|
151
|
+
|
152
|
+
@project.setter
|
153
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
154
|
+
pulumi.set(self, "project", value)
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="requiredAspects")
|
158
|
+
def required_aspects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]]]:
|
159
|
+
"""
|
160
|
+
AspectInfo for the entry type.
|
161
|
+
Structure is documented below.
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "required_aspects")
|
164
|
+
|
165
|
+
@required_aspects.setter
|
166
|
+
def required_aspects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]]]):
|
167
|
+
pulumi.set(self, "required_aspects", value)
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter
|
171
|
+
def system(self) -> Optional[pulumi.Input[str]]:
|
172
|
+
"""
|
173
|
+
The system that Entries of this type belongs to.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "system")
|
176
|
+
|
177
|
+
@system.setter
|
178
|
+
def system(self, value: Optional[pulumi.Input[str]]):
|
179
|
+
pulumi.set(self, "system", value)
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter(name="typeAliases")
|
183
|
+
def type_aliases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
184
|
+
"""
|
185
|
+
Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "type_aliases")
|
188
|
+
|
189
|
+
@type_aliases.setter
|
190
|
+
def type_aliases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
191
|
+
pulumi.set(self, "type_aliases", value)
|
192
|
+
|
193
|
+
|
194
|
+
@pulumi.input_type
|
195
|
+
class _EntryTypeState:
|
196
|
+
def __init__(__self__, *,
|
197
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
198
|
+
description: Optional[pulumi.Input[str]] = None,
|
199
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
200
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
201
|
+
entry_type_id: Optional[pulumi.Input[str]] = None,
|
202
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
203
|
+
location: Optional[pulumi.Input[str]] = None,
|
204
|
+
name: Optional[pulumi.Input[str]] = None,
|
205
|
+
platform: Optional[pulumi.Input[str]] = None,
|
206
|
+
project: Optional[pulumi.Input[str]] = None,
|
207
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
208
|
+
required_aspects: Optional[pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]]] = None,
|
209
|
+
system: Optional[pulumi.Input[str]] = None,
|
210
|
+
type_aliases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
211
|
+
uid: Optional[pulumi.Input[str]] = None,
|
212
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
213
|
+
"""
|
214
|
+
Input properties used for looking up and filtering EntryType resources.
|
215
|
+
:param pulumi.Input[str] create_time: The time when the EntryType was created.
|
216
|
+
:param pulumi.Input[str] description: Description of the EntryType.
|
217
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
218
|
+
: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.
|
219
|
+
:param pulumi.Input[str] entry_type_id: The entry type id of the entry type.
|
220
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the EntryType.
|
221
|
+
|
222
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
223
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
224
|
+
:param pulumi.Input[str] location: The location where entry type will be created in.
|
225
|
+
:param pulumi.Input[str] name: The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
|
226
|
+
:param pulumi.Input[str] platform: The platform that Entries of this type belongs to.
|
227
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
228
|
+
If it is not provided, the provider project is used.
|
229
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
230
|
+
and default labels configured on the provider.
|
231
|
+
:param pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]] required_aspects: AspectInfo for the entry type.
|
232
|
+
Structure is documented below.
|
233
|
+
:param pulumi.Input[str] system: The system that Entries of this type belongs to.
|
234
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] type_aliases: Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
|
235
|
+
:param pulumi.Input[str] uid: System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
|
236
|
+
:param pulumi.Input[str] update_time: The time when the EntryType was last updated.
|
237
|
+
"""
|
238
|
+
if create_time is not None:
|
239
|
+
pulumi.set(__self__, "create_time", create_time)
|
240
|
+
if description is not None:
|
241
|
+
pulumi.set(__self__, "description", description)
|
242
|
+
if display_name is not None:
|
243
|
+
pulumi.set(__self__, "display_name", display_name)
|
244
|
+
if effective_labels is not None:
|
245
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
246
|
+
if entry_type_id is not None:
|
247
|
+
pulumi.set(__self__, "entry_type_id", entry_type_id)
|
248
|
+
if labels is not None:
|
249
|
+
pulumi.set(__self__, "labels", labels)
|
250
|
+
if location is not None:
|
251
|
+
pulumi.set(__self__, "location", location)
|
252
|
+
if name is not None:
|
253
|
+
pulumi.set(__self__, "name", name)
|
254
|
+
if platform is not None:
|
255
|
+
pulumi.set(__self__, "platform", platform)
|
256
|
+
if project is not None:
|
257
|
+
pulumi.set(__self__, "project", project)
|
258
|
+
if pulumi_labels is not None:
|
259
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
260
|
+
if required_aspects is not None:
|
261
|
+
pulumi.set(__self__, "required_aspects", required_aspects)
|
262
|
+
if system is not None:
|
263
|
+
pulumi.set(__self__, "system", system)
|
264
|
+
if type_aliases is not None:
|
265
|
+
pulumi.set(__self__, "type_aliases", type_aliases)
|
266
|
+
if uid is not None:
|
267
|
+
pulumi.set(__self__, "uid", uid)
|
268
|
+
if update_time is not None:
|
269
|
+
pulumi.set(__self__, "update_time", update_time)
|
270
|
+
|
271
|
+
@property
|
272
|
+
@pulumi.getter(name="createTime")
|
273
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
274
|
+
"""
|
275
|
+
The time when the EntryType was created.
|
276
|
+
"""
|
277
|
+
return pulumi.get(self, "create_time")
|
278
|
+
|
279
|
+
@create_time.setter
|
280
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
281
|
+
pulumi.set(self, "create_time", value)
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter
|
285
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
286
|
+
"""
|
287
|
+
Description of the EntryType.
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "description")
|
290
|
+
|
291
|
+
@description.setter
|
292
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
293
|
+
pulumi.set(self, "description", value)
|
294
|
+
|
295
|
+
@property
|
296
|
+
@pulumi.getter(name="displayName")
|
297
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
298
|
+
"""
|
299
|
+
User friendly display name.
|
300
|
+
"""
|
301
|
+
return pulumi.get(self, "display_name")
|
302
|
+
|
303
|
+
@display_name.setter
|
304
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
305
|
+
pulumi.set(self, "display_name", value)
|
306
|
+
|
307
|
+
@property
|
308
|
+
@pulumi.getter(name="effectiveLabels")
|
309
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
310
|
+
"""
|
311
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
312
|
+
"""
|
313
|
+
return pulumi.get(self, "effective_labels")
|
314
|
+
|
315
|
+
@effective_labels.setter
|
316
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
317
|
+
pulumi.set(self, "effective_labels", value)
|
318
|
+
|
319
|
+
@property
|
320
|
+
@pulumi.getter(name="entryTypeId")
|
321
|
+
def entry_type_id(self) -> Optional[pulumi.Input[str]]:
|
322
|
+
"""
|
323
|
+
The entry type id of the entry type.
|
324
|
+
"""
|
325
|
+
return pulumi.get(self, "entry_type_id")
|
326
|
+
|
327
|
+
@entry_type_id.setter
|
328
|
+
def entry_type_id(self, value: Optional[pulumi.Input[str]]):
|
329
|
+
pulumi.set(self, "entry_type_id", value)
|
330
|
+
|
331
|
+
@property
|
332
|
+
@pulumi.getter
|
333
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
334
|
+
"""
|
335
|
+
User-defined labels for the EntryType.
|
336
|
+
|
337
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
338
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "labels")
|
341
|
+
|
342
|
+
@labels.setter
|
343
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
344
|
+
pulumi.set(self, "labels", value)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter
|
348
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
349
|
+
"""
|
350
|
+
The location where entry type will be created in.
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "location")
|
353
|
+
|
354
|
+
@location.setter
|
355
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
356
|
+
pulumi.set(self, "location", value)
|
357
|
+
|
358
|
+
@property
|
359
|
+
@pulumi.getter
|
360
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
361
|
+
"""
|
362
|
+
The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
|
363
|
+
"""
|
364
|
+
return pulumi.get(self, "name")
|
365
|
+
|
366
|
+
@name.setter
|
367
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
368
|
+
pulumi.set(self, "name", value)
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter
|
372
|
+
def platform(self) -> Optional[pulumi.Input[str]]:
|
373
|
+
"""
|
374
|
+
The platform that Entries of this type belongs to.
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "platform")
|
377
|
+
|
378
|
+
@platform.setter
|
379
|
+
def platform(self, value: Optional[pulumi.Input[str]]):
|
380
|
+
pulumi.set(self, "platform", value)
|
381
|
+
|
382
|
+
@property
|
383
|
+
@pulumi.getter
|
384
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
385
|
+
"""
|
386
|
+
The ID of the project in which the resource belongs.
|
387
|
+
If it is not provided, the provider project is used.
|
388
|
+
"""
|
389
|
+
return pulumi.get(self, "project")
|
390
|
+
|
391
|
+
@project.setter
|
392
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
393
|
+
pulumi.set(self, "project", value)
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter(name="pulumiLabels")
|
397
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
398
|
+
"""
|
399
|
+
The combination of labels configured directly on the resource
|
400
|
+
and default labels configured on the provider.
|
401
|
+
"""
|
402
|
+
return pulumi.get(self, "pulumi_labels")
|
403
|
+
|
404
|
+
@pulumi_labels.setter
|
405
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
406
|
+
pulumi.set(self, "pulumi_labels", value)
|
407
|
+
|
408
|
+
@property
|
409
|
+
@pulumi.getter(name="requiredAspects")
|
410
|
+
def required_aspects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]]]:
|
411
|
+
"""
|
412
|
+
AspectInfo for the entry type.
|
413
|
+
Structure is documented below.
|
414
|
+
"""
|
415
|
+
return pulumi.get(self, "required_aspects")
|
416
|
+
|
417
|
+
@required_aspects.setter
|
418
|
+
def required_aspects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EntryTypeRequiredAspectArgs']]]]):
|
419
|
+
pulumi.set(self, "required_aspects", value)
|
420
|
+
|
421
|
+
@property
|
422
|
+
@pulumi.getter
|
423
|
+
def system(self) -> Optional[pulumi.Input[str]]:
|
424
|
+
"""
|
425
|
+
The system that Entries of this type belongs to.
|
426
|
+
"""
|
427
|
+
return pulumi.get(self, "system")
|
428
|
+
|
429
|
+
@system.setter
|
430
|
+
def system(self, value: Optional[pulumi.Input[str]]):
|
431
|
+
pulumi.set(self, "system", value)
|
432
|
+
|
433
|
+
@property
|
434
|
+
@pulumi.getter(name="typeAliases")
|
435
|
+
def type_aliases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
436
|
+
"""
|
437
|
+
Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
|
438
|
+
"""
|
439
|
+
return pulumi.get(self, "type_aliases")
|
440
|
+
|
441
|
+
@type_aliases.setter
|
442
|
+
def type_aliases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
443
|
+
pulumi.set(self, "type_aliases", value)
|
444
|
+
|
445
|
+
@property
|
446
|
+
@pulumi.getter
|
447
|
+
def uid(self) -> Optional[pulumi.Input[str]]:
|
448
|
+
"""
|
449
|
+
System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
|
450
|
+
"""
|
451
|
+
return pulumi.get(self, "uid")
|
452
|
+
|
453
|
+
@uid.setter
|
454
|
+
def uid(self, value: Optional[pulumi.Input[str]]):
|
455
|
+
pulumi.set(self, "uid", value)
|
456
|
+
|
457
|
+
@property
|
458
|
+
@pulumi.getter(name="updateTime")
|
459
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
460
|
+
"""
|
461
|
+
The time when the EntryType was last updated.
|
462
|
+
"""
|
463
|
+
return pulumi.get(self, "update_time")
|
464
|
+
|
465
|
+
@update_time.setter
|
466
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
467
|
+
pulumi.set(self, "update_time", value)
|
468
|
+
|
469
|
+
|
470
|
+
class EntryType(pulumi.CustomResource):
|
471
|
+
@overload
|
472
|
+
def __init__(__self__,
|
473
|
+
resource_name: str,
|
474
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
475
|
+
description: Optional[pulumi.Input[str]] = None,
|
476
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
477
|
+
entry_type_id: Optional[pulumi.Input[str]] = None,
|
478
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
479
|
+
location: Optional[pulumi.Input[str]] = None,
|
480
|
+
platform: Optional[pulumi.Input[str]] = None,
|
481
|
+
project: Optional[pulumi.Input[str]] = None,
|
482
|
+
required_aspects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntryTypeRequiredAspectArgs']]]]] = None,
|
483
|
+
system: Optional[pulumi.Input[str]] = None,
|
484
|
+
type_aliases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
485
|
+
__props__=None):
|
486
|
+
"""
|
487
|
+
An Entry Type is a template for creating Entries.
|
488
|
+
|
489
|
+
## Example Usage
|
490
|
+
|
491
|
+
### Dataplex Entry Type Basic
|
492
|
+
|
493
|
+
```python
|
494
|
+
import pulumi
|
495
|
+
import pulumi_gcp as gcp
|
496
|
+
|
497
|
+
test_entry_type_basic = gcp.dataplex.EntryType("test_entry_type_basic",
|
498
|
+
entry_type_id="entry-type-basic",
|
499
|
+
project="my-project-name",
|
500
|
+
location="us-central1")
|
501
|
+
```
|
502
|
+
### Dataplex Entry Type Full
|
503
|
+
|
504
|
+
```python
|
505
|
+
import pulumi
|
506
|
+
import pulumi_gcp as gcp
|
507
|
+
|
508
|
+
test_entry_type_full = gcp.dataplex.AspectType("test_entry_type_full",
|
509
|
+
aspect_type_id="tf-test-aspect-type_22811",
|
510
|
+
location="us-central1",
|
511
|
+
project="my-project-name",
|
512
|
+
metadata_template=\"\"\"{
|
513
|
+
"name": "tf-test-template",
|
514
|
+
"type": "record",
|
515
|
+
"recordFields": [
|
516
|
+
{
|
517
|
+
"name": "type",
|
518
|
+
"type": "enum",
|
519
|
+
"annotations": {
|
520
|
+
"displayName": "Type",
|
521
|
+
"description": "Specifies the type of view represented by the entry."
|
522
|
+
},
|
523
|
+
"index": 1,
|
524
|
+
"constraints": {
|
525
|
+
"required": true
|
526
|
+
},
|
527
|
+
"enumValues": [
|
528
|
+
{
|
529
|
+
"name": "VIEW",
|
530
|
+
"index": 1
|
531
|
+
}
|
532
|
+
]
|
533
|
+
}
|
534
|
+
]
|
535
|
+
}
|
536
|
+
\"\"\")
|
537
|
+
test_entry_type_full_entry_type = gcp.dataplex.EntryType("test_entry_type_full",
|
538
|
+
entry_type_id="entry-type-full",
|
539
|
+
project="my-project-name",
|
540
|
+
location="us-central1",
|
541
|
+
labels={
|
542
|
+
"tag": "test-tf",
|
543
|
+
},
|
544
|
+
display_name="terraform entry type",
|
545
|
+
description="entry type created by Terraform",
|
546
|
+
type_aliases=[
|
547
|
+
"TABLE",
|
548
|
+
"DATABASE",
|
549
|
+
],
|
550
|
+
platform="GCS",
|
551
|
+
system="CloudSQL",
|
552
|
+
required_aspects=[gcp.dataplex.EntryTypeRequiredAspectArgs(
|
553
|
+
type=test_entry_type_full.name,
|
554
|
+
)])
|
555
|
+
```
|
556
|
+
|
557
|
+
## Import
|
558
|
+
|
559
|
+
EntryType can be imported using any of these accepted formats:
|
560
|
+
|
561
|
+
* `projects/{{project}}/locations/{{location}}/entryTypes/{{entry_type_id}}`
|
562
|
+
|
563
|
+
* `{{project}}/{{location}}/{{entry_type_id}}`
|
564
|
+
|
565
|
+
* `{{location}}/{{entry_type_id}}`
|
566
|
+
|
567
|
+
When using the `pulumi import` command, EntryType can be imported using one of the formats above. For example:
|
568
|
+
|
569
|
+
```sh
|
570
|
+
$ pulumi import gcp:dataplex/entryType:EntryType default projects/{{project}}/locations/{{location}}/entryTypes/{{entry_type_id}}
|
571
|
+
```
|
572
|
+
|
573
|
+
```sh
|
574
|
+
$ pulumi import gcp:dataplex/entryType:EntryType default {{project}}/{{location}}/{{entry_type_id}}
|
575
|
+
```
|
576
|
+
|
577
|
+
```sh
|
578
|
+
$ pulumi import gcp:dataplex/entryType:EntryType default {{location}}/{{entry_type_id}}
|
579
|
+
```
|
580
|
+
|
581
|
+
:param str resource_name: The name of the resource.
|
582
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
583
|
+
:param pulumi.Input[str] description: Description of the EntryType.
|
584
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
585
|
+
:param pulumi.Input[str] entry_type_id: The entry type id of the entry type.
|
586
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the EntryType.
|
587
|
+
|
588
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
589
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
590
|
+
:param pulumi.Input[str] location: The location where entry type will be created in.
|
591
|
+
:param pulumi.Input[str] platform: The platform that Entries of this type belongs to.
|
592
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
593
|
+
If it is not provided, the provider project is used.
|
594
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntryTypeRequiredAspectArgs']]]] required_aspects: AspectInfo for the entry type.
|
595
|
+
Structure is documented below.
|
596
|
+
:param pulumi.Input[str] system: The system that Entries of this type belongs to.
|
597
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] type_aliases: Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
|
598
|
+
"""
|
599
|
+
...
|
600
|
+
@overload
|
601
|
+
def __init__(__self__,
|
602
|
+
resource_name: str,
|
603
|
+
args: Optional[EntryTypeArgs] = None,
|
604
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
605
|
+
"""
|
606
|
+
An Entry Type is a template for creating Entries.
|
607
|
+
|
608
|
+
## Example Usage
|
609
|
+
|
610
|
+
### Dataplex Entry Type Basic
|
611
|
+
|
612
|
+
```python
|
613
|
+
import pulumi
|
614
|
+
import pulumi_gcp as gcp
|
615
|
+
|
616
|
+
test_entry_type_basic = gcp.dataplex.EntryType("test_entry_type_basic",
|
617
|
+
entry_type_id="entry-type-basic",
|
618
|
+
project="my-project-name",
|
619
|
+
location="us-central1")
|
620
|
+
```
|
621
|
+
### Dataplex Entry Type Full
|
622
|
+
|
623
|
+
```python
|
624
|
+
import pulumi
|
625
|
+
import pulumi_gcp as gcp
|
626
|
+
|
627
|
+
test_entry_type_full = gcp.dataplex.AspectType("test_entry_type_full",
|
628
|
+
aspect_type_id="tf-test-aspect-type_22811",
|
629
|
+
location="us-central1",
|
630
|
+
project="my-project-name",
|
631
|
+
metadata_template=\"\"\"{
|
632
|
+
"name": "tf-test-template",
|
633
|
+
"type": "record",
|
634
|
+
"recordFields": [
|
635
|
+
{
|
636
|
+
"name": "type",
|
637
|
+
"type": "enum",
|
638
|
+
"annotations": {
|
639
|
+
"displayName": "Type",
|
640
|
+
"description": "Specifies the type of view represented by the entry."
|
641
|
+
},
|
642
|
+
"index": 1,
|
643
|
+
"constraints": {
|
644
|
+
"required": true
|
645
|
+
},
|
646
|
+
"enumValues": [
|
647
|
+
{
|
648
|
+
"name": "VIEW",
|
649
|
+
"index": 1
|
650
|
+
}
|
651
|
+
]
|
652
|
+
}
|
653
|
+
]
|
654
|
+
}
|
655
|
+
\"\"\")
|
656
|
+
test_entry_type_full_entry_type = gcp.dataplex.EntryType("test_entry_type_full",
|
657
|
+
entry_type_id="entry-type-full",
|
658
|
+
project="my-project-name",
|
659
|
+
location="us-central1",
|
660
|
+
labels={
|
661
|
+
"tag": "test-tf",
|
662
|
+
},
|
663
|
+
display_name="terraform entry type",
|
664
|
+
description="entry type created by Terraform",
|
665
|
+
type_aliases=[
|
666
|
+
"TABLE",
|
667
|
+
"DATABASE",
|
668
|
+
],
|
669
|
+
platform="GCS",
|
670
|
+
system="CloudSQL",
|
671
|
+
required_aspects=[gcp.dataplex.EntryTypeRequiredAspectArgs(
|
672
|
+
type=test_entry_type_full.name,
|
673
|
+
)])
|
674
|
+
```
|
675
|
+
|
676
|
+
## Import
|
677
|
+
|
678
|
+
EntryType can be imported using any of these accepted formats:
|
679
|
+
|
680
|
+
* `projects/{{project}}/locations/{{location}}/entryTypes/{{entry_type_id}}`
|
681
|
+
|
682
|
+
* `{{project}}/{{location}}/{{entry_type_id}}`
|
683
|
+
|
684
|
+
* `{{location}}/{{entry_type_id}}`
|
685
|
+
|
686
|
+
When using the `pulumi import` command, EntryType can be imported using one of the formats above. For example:
|
687
|
+
|
688
|
+
```sh
|
689
|
+
$ pulumi import gcp:dataplex/entryType:EntryType default projects/{{project}}/locations/{{location}}/entryTypes/{{entry_type_id}}
|
690
|
+
```
|
691
|
+
|
692
|
+
```sh
|
693
|
+
$ pulumi import gcp:dataplex/entryType:EntryType default {{project}}/{{location}}/{{entry_type_id}}
|
694
|
+
```
|
695
|
+
|
696
|
+
```sh
|
697
|
+
$ pulumi import gcp:dataplex/entryType:EntryType default {{location}}/{{entry_type_id}}
|
698
|
+
```
|
699
|
+
|
700
|
+
:param str resource_name: The name of the resource.
|
701
|
+
:param EntryTypeArgs args: The arguments to use to populate this resource's properties.
|
702
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
703
|
+
"""
|
704
|
+
...
|
705
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
706
|
+
resource_args, opts = _utilities.get_resource_args_opts(EntryTypeArgs, pulumi.ResourceOptions, *args, **kwargs)
|
707
|
+
if resource_args is not None:
|
708
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
709
|
+
else:
|
710
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
711
|
+
|
712
|
+
def _internal_init(__self__,
|
713
|
+
resource_name: str,
|
714
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
715
|
+
description: Optional[pulumi.Input[str]] = None,
|
716
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
717
|
+
entry_type_id: Optional[pulumi.Input[str]] = None,
|
718
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
719
|
+
location: Optional[pulumi.Input[str]] = None,
|
720
|
+
platform: Optional[pulumi.Input[str]] = None,
|
721
|
+
project: Optional[pulumi.Input[str]] = None,
|
722
|
+
required_aspects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntryTypeRequiredAspectArgs']]]]] = None,
|
723
|
+
system: Optional[pulumi.Input[str]] = None,
|
724
|
+
type_aliases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
725
|
+
__props__=None):
|
726
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
727
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
728
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
729
|
+
if opts.id is None:
|
730
|
+
if __props__ is not None:
|
731
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
732
|
+
__props__ = EntryTypeArgs.__new__(EntryTypeArgs)
|
733
|
+
|
734
|
+
__props__.__dict__["description"] = description
|
735
|
+
__props__.__dict__["display_name"] = display_name
|
736
|
+
__props__.__dict__["entry_type_id"] = entry_type_id
|
737
|
+
__props__.__dict__["labels"] = labels
|
738
|
+
__props__.__dict__["location"] = location
|
739
|
+
__props__.__dict__["platform"] = platform
|
740
|
+
__props__.__dict__["project"] = project
|
741
|
+
__props__.__dict__["required_aspects"] = required_aspects
|
742
|
+
__props__.__dict__["system"] = system
|
743
|
+
__props__.__dict__["type_aliases"] = type_aliases
|
744
|
+
__props__.__dict__["create_time"] = None
|
745
|
+
__props__.__dict__["effective_labels"] = None
|
746
|
+
__props__.__dict__["name"] = None
|
747
|
+
__props__.__dict__["pulumi_labels"] = None
|
748
|
+
__props__.__dict__["uid"] = None
|
749
|
+
__props__.__dict__["update_time"] = None
|
750
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
751
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
752
|
+
super(EntryType, __self__).__init__(
|
753
|
+
'gcp:dataplex/entryType:EntryType',
|
754
|
+
resource_name,
|
755
|
+
__props__,
|
756
|
+
opts)
|
757
|
+
|
758
|
+
@staticmethod
|
759
|
+
def get(resource_name: str,
|
760
|
+
id: pulumi.Input[str],
|
761
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
762
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
763
|
+
description: Optional[pulumi.Input[str]] = None,
|
764
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
765
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
766
|
+
entry_type_id: Optional[pulumi.Input[str]] = None,
|
767
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
768
|
+
location: Optional[pulumi.Input[str]] = None,
|
769
|
+
name: Optional[pulumi.Input[str]] = None,
|
770
|
+
platform: Optional[pulumi.Input[str]] = None,
|
771
|
+
project: Optional[pulumi.Input[str]] = None,
|
772
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
773
|
+
required_aspects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntryTypeRequiredAspectArgs']]]]] = None,
|
774
|
+
system: Optional[pulumi.Input[str]] = None,
|
775
|
+
type_aliases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
776
|
+
uid: Optional[pulumi.Input[str]] = None,
|
777
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'EntryType':
|
778
|
+
"""
|
779
|
+
Get an existing EntryType resource's state with the given name, id, and optional extra
|
780
|
+
properties used to qualify the lookup.
|
781
|
+
|
782
|
+
:param str resource_name: The unique name of the resulting resource.
|
783
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
784
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
785
|
+
:param pulumi.Input[str] create_time: The time when the EntryType was created.
|
786
|
+
:param pulumi.Input[str] description: Description of the EntryType.
|
787
|
+
:param pulumi.Input[str] display_name: User friendly display name.
|
788
|
+
: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.
|
789
|
+
:param pulumi.Input[str] entry_type_id: The entry type id of the entry type.
|
790
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the EntryType.
|
791
|
+
|
792
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
793
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
794
|
+
:param pulumi.Input[str] location: The location where entry type will be created in.
|
795
|
+
:param pulumi.Input[str] name: The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
|
796
|
+
:param pulumi.Input[str] platform: The platform that Entries of this type belongs to.
|
797
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
798
|
+
If it is not provided, the provider project is used.
|
799
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
800
|
+
and default labels configured on the provider.
|
801
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['EntryTypeRequiredAspectArgs']]]] required_aspects: AspectInfo for the entry type.
|
802
|
+
Structure is documented below.
|
803
|
+
:param pulumi.Input[str] system: The system that Entries of this type belongs to.
|
804
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] type_aliases: Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
|
805
|
+
:param pulumi.Input[str] uid: System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
|
806
|
+
:param pulumi.Input[str] update_time: The time when the EntryType was last updated.
|
807
|
+
"""
|
808
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
809
|
+
|
810
|
+
__props__ = _EntryTypeState.__new__(_EntryTypeState)
|
811
|
+
|
812
|
+
__props__.__dict__["create_time"] = create_time
|
813
|
+
__props__.__dict__["description"] = description
|
814
|
+
__props__.__dict__["display_name"] = display_name
|
815
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
816
|
+
__props__.__dict__["entry_type_id"] = entry_type_id
|
817
|
+
__props__.__dict__["labels"] = labels
|
818
|
+
__props__.__dict__["location"] = location
|
819
|
+
__props__.__dict__["name"] = name
|
820
|
+
__props__.__dict__["platform"] = platform
|
821
|
+
__props__.__dict__["project"] = project
|
822
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
823
|
+
__props__.__dict__["required_aspects"] = required_aspects
|
824
|
+
__props__.__dict__["system"] = system
|
825
|
+
__props__.__dict__["type_aliases"] = type_aliases
|
826
|
+
__props__.__dict__["uid"] = uid
|
827
|
+
__props__.__dict__["update_time"] = update_time
|
828
|
+
return EntryType(resource_name, opts=opts, __props__=__props__)
|
829
|
+
|
830
|
+
@property
|
831
|
+
@pulumi.getter(name="createTime")
|
832
|
+
def create_time(self) -> pulumi.Output[str]:
|
833
|
+
"""
|
834
|
+
The time when the EntryType was created.
|
835
|
+
"""
|
836
|
+
return pulumi.get(self, "create_time")
|
837
|
+
|
838
|
+
@property
|
839
|
+
@pulumi.getter
|
840
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
841
|
+
"""
|
842
|
+
Description of the EntryType.
|
843
|
+
"""
|
844
|
+
return pulumi.get(self, "description")
|
845
|
+
|
846
|
+
@property
|
847
|
+
@pulumi.getter(name="displayName")
|
848
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
849
|
+
"""
|
850
|
+
User friendly display name.
|
851
|
+
"""
|
852
|
+
return pulumi.get(self, "display_name")
|
853
|
+
|
854
|
+
@property
|
855
|
+
@pulumi.getter(name="effectiveLabels")
|
856
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
857
|
+
"""
|
858
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
859
|
+
"""
|
860
|
+
return pulumi.get(self, "effective_labels")
|
861
|
+
|
862
|
+
@property
|
863
|
+
@pulumi.getter(name="entryTypeId")
|
864
|
+
def entry_type_id(self) -> pulumi.Output[Optional[str]]:
|
865
|
+
"""
|
866
|
+
The entry type id of the entry type.
|
867
|
+
"""
|
868
|
+
return pulumi.get(self, "entry_type_id")
|
869
|
+
|
870
|
+
@property
|
871
|
+
@pulumi.getter
|
872
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
873
|
+
"""
|
874
|
+
User-defined labels for the EntryType.
|
875
|
+
|
876
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
877
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
878
|
+
"""
|
879
|
+
return pulumi.get(self, "labels")
|
880
|
+
|
881
|
+
@property
|
882
|
+
@pulumi.getter
|
883
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
884
|
+
"""
|
885
|
+
The location where entry type will be created in.
|
886
|
+
"""
|
887
|
+
return pulumi.get(self, "location")
|
888
|
+
|
889
|
+
@property
|
890
|
+
@pulumi.getter
|
891
|
+
def name(self) -> pulumi.Output[str]:
|
892
|
+
"""
|
893
|
+
The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
|
894
|
+
"""
|
895
|
+
return pulumi.get(self, "name")
|
896
|
+
|
897
|
+
@property
|
898
|
+
@pulumi.getter
|
899
|
+
def platform(self) -> pulumi.Output[Optional[str]]:
|
900
|
+
"""
|
901
|
+
The platform that Entries of this type belongs to.
|
902
|
+
"""
|
903
|
+
return pulumi.get(self, "platform")
|
904
|
+
|
905
|
+
@property
|
906
|
+
@pulumi.getter
|
907
|
+
def project(self) -> pulumi.Output[str]:
|
908
|
+
"""
|
909
|
+
The ID of the project in which the resource belongs.
|
910
|
+
If it is not provided, the provider project is used.
|
911
|
+
"""
|
912
|
+
return pulumi.get(self, "project")
|
913
|
+
|
914
|
+
@property
|
915
|
+
@pulumi.getter(name="pulumiLabels")
|
916
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
917
|
+
"""
|
918
|
+
The combination of labels configured directly on the resource
|
919
|
+
and default labels configured on the provider.
|
920
|
+
"""
|
921
|
+
return pulumi.get(self, "pulumi_labels")
|
922
|
+
|
923
|
+
@property
|
924
|
+
@pulumi.getter(name="requiredAspects")
|
925
|
+
def required_aspects(self) -> pulumi.Output[Optional[Sequence['outputs.EntryTypeRequiredAspect']]]:
|
926
|
+
"""
|
927
|
+
AspectInfo for the entry type.
|
928
|
+
Structure is documented below.
|
929
|
+
"""
|
930
|
+
return pulumi.get(self, "required_aspects")
|
931
|
+
|
932
|
+
@property
|
933
|
+
@pulumi.getter
|
934
|
+
def system(self) -> pulumi.Output[Optional[str]]:
|
935
|
+
"""
|
936
|
+
The system that Entries of this type belongs to.
|
937
|
+
"""
|
938
|
+
return pulumi.get(self, "system")
|
939
|
+
|
940
|
+
@property
|
941
|
+
@pulumi.getter(name="typeAliases")
|
942
|
+
def type_aliases(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
943
|
+
"""
|
944
|
+
Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
|
945
|
+
"""
|
946
|
+
return pulumi.get(self, "type_aliases")
|
947
|
+
|
948
|
+
@property
|
949
|
+
@pulumi.getter
|
950
|
+
def uid(self) -> pulumi.Output[str]:
|
951
|
+
"""
|
952
|
+
System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
|
953
|
+
"""
|
954
|
+
return pulumi.get(self, "uid")
|
955
|
+
|
956
|
+
@property
|
957
|
+
@pulumi.getter(name="updateTime")
|
958
|
+
def update_time(self) -> pulumi.Output[str]:
|
959
|
+
"""
|
960
|
+
The time when the EntryType was last updated.
|
961
|
+
"""
|
962
|
+
return pulumi.get(self, "update_time")
|
963
|
+
|