pulumi-gcp 8.32.0a1747459264__py3-none-any.whl → 8.32.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +88 -0
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +2 -2
- pulumi_gcp/apigateway/api_config_iam_binding.py +13 -0
- pulumi_gcp/apigateway/api_config_iam_member.py +13 -0
- pulumi_gcp/apigateway/api_config_iam_policy.py +13 -0
- pulumi_gcp/apigateway/api_iam_binding.py +13 -0
- pulumi_gcp/apigateway/api_iam_member.py +13 -0
- pulumi_gcp/apigateway/api_iam_policy.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_member.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_policy.py +13 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +2 -0
- pulumi_gcp/apigateway/get_api_iam_policy.py +2 -0
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +2 -0
- pulumi_gcp/apigee/environment_iam_binding.py +27 -0
- pulumi_gcp/apigee/environment_iam_member.py +27 -0
- pulumi_gcp/apigee/environment_iam_policy.py +27 -0
- pulumi_gcp/apigee/get_environment_iam_policy.py +6 -0
- pulumi_gcp/beyondcorp/__init__.py +1 -0
- pulumi_gcp/beyondcorp/application.py +8 -4
- pulumi_gcp/beyondcorp/application_iam_binding.py +26 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +26 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +26 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +4 -0
- pulumi_gcp/beyondcorp/get_security_gateway.py +222 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -0
- pulumi_gcp/beyondcorp/outputs.py +45 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +13 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +13 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +13 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/connection_iam_binding.py +4 -11
- pulumi_gcp/bigquery/connection_iam_member.py +4 -11
- pulumi_gcp/bigquery/connection_iam_policy.py +4 -11
- pulumi_gcp/bigquery/data_transfer_config.py +2 -2
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -4
- pulumi_gcp/bigquery/get_table_iam_policy.py +4 -0
- pulumi_gcp/bigquery/iam_binding.py +26 -0
- pulumi_gcp/bigquery/iam_member.py +26 -0
- pulumi_gcp/bigquery/iam_policy.py +26 -0
- pulumi_gcp/bigquery/row_access_policy.py +787 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +6 -6
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +13 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +13 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +13 -0
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -0
- pulumi_gcp/bigtable/logical_view.py +49 -0
- pulumi_gcp/cloudbuild/trigger.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +6 -0
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +6 -0
- pulumi_gcp/colab/schedule.py +2 -2
- pulumi_gcp/compute/_inputs.py +126 -0
- pulumi_gcp/compute/backend_service.py +259 -51
- pulumi_gcp/compute/get_backend_service.py +23 -1
- pulumi_gcp/compute/get_global_forwarding_rule.py +23 -1
- pulumi_gcp/compute/get_instance_template.py +12 -1
- pulumi_gcp/compute/get_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +199 -0
- pulumi_gcp/compute/instance_template.py +28 -0
- pulumi_gcp/compute/network_endpoint_group.py +28 -0
- pulumi_gcp/compute/outputs.py +110 -0
- pulumi_gcp/compute/region_backend_service.py +58 -51
- pulumi_gcp/container/cluster.py +47 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/entry_group_iam_member.py +34 -0
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +34 -0
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/tag_template_iam_member.py +34 -0
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +34 -0
- pulumi_gcp/dataplex/__init__.py +5 -0
- pulumi_gcp/dataplex/_inputs.py +98 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +13 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +13 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +13 -0
- pulumi_gcp/dataplex/asset_iam_binding.py +53 -0
- pulumi_gcp/dataplex/asset_iam_member.py +53 -0
- pulumi_gcp/dataplex/asset_iam_policy.py +53 -0
- pulumi_gcp/dataplex/datascan_iam_binding.py +13 -0
- pulumi_gcp/dataplex/datascan_iam_member.py +13 -0
- pulumi_gcp/dataplex/datascan_iam_policy.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +13 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_asset_iam_policy.py +10 -0
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_glossary_iam_policy.py +185 -0
- pulumi_gcp/dataplex/get_lake_iam_policy.py +6 -0
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_zone_iam_policy.py +8 -0
- pulumi_gcp/dataplex/glossary.py +772 -0
- pulumi_gcp/dataplex/glossary_iam_binding.py +837 -0
- pulumi_gcp/dataplex/glossary_iam_member.py +837 -0
- pulumi_gcp/dataplex/glossary_iam_policy.py +676 -0
- pulumi_gcp/dataplex/lake_iam_binding.py +27 -0
- pulumi_gcp/dataplex/lake_iam_member.py +27 -0
- pulumi_gcp/dataplex/lake_iam_policy.py +27 -0
- pulumi_gcp/dataplex/outputs.py +56 -0
- pulumi_gcp/dataplex/task_iam_binding.py +13 -0
- pulumi_gcp/dataplex/task_iam_member.py +13 -0
- pulumi_gcp/dataplex/task_iam_policy.py +13 -0
- pulumi_gcp/dataplex/zone_iam_binding.py +40 -0
- pulumi_gcp/dataplex/zone_iam_member.py +40 -0
- pulumi_gcp/dataplex/zone_iam_policy.py +40 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +4 -25
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +4 -25
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +4 -25
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -8
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +8 -0
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -0
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -0
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +10 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +40 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +40 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +40 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +13 -0
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +13 -0
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_member.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +13 -0
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +53 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +53 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +53 -0
- pulumi_gcp/diagflow/_inputs.py +56 -0
- pulumi_gcp/diagflow/cx_agent.py +60 -0
- pulumi_gcp/diagflow/cx_flow.py +2 -0
- pulumi_gcp/diagflow/entity_type.py +2 -2
- pulumi_gcp/diagflow/outputs.py +35 -0
- pulumi_gcp/edgecontainer/node_pool.py +2 -2
- pulumi_gcp/endpoints/consumers_iam_binding.py +26 -0
- pulumi_gcp/endpoints/consumers_iam_member.py +26 -0
- pulumi_gcp/endpoints/consumers_iam_policy.py +26 -0
- pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +8 -0
- pulumi_gcp/endpoints/get_service_iam_policy.py +6 -0
- pulumi_gcp/endpoints/service_iam_binding.py +13 -0
- pulumi_gcp/endpoints/service_iam_member.py +13 -0
- pulumi_gcp/endpoints/service_iam_policy.py +13 -0
- pulumi_gcp/firebase/__init__.py +3 -0
- pulumi_gcp/firebase/_inputs.py +1527 -0
- pulumi_gcp/firebase/app_hosting_backend.py +104 -0
- pulumi_gcp/firebase/app_hosting_default_domain.py +721 -0
- pulumi_gcp/firebase/app_hosting_domain.py +796 -0
- pulumi_gcp/firebase/app_hosting_traffic.py +914 -0
- pulumi_gcp/firebase/extensions_instance.py +4 -4
- pulumi_gcp/firebase/outputs.py +1075 -0
- pulumi_gcp/firestore/database.py +9 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +4 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +26 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +26 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +26 -0
- pulumi_gcp/gkebackup/backup_channel.py +9 -9
- pulumi_gcp/gkebackup/restore_channel.py +9 -9
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -0
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -0
- pulumi_gcp/gkehub/membership_iam_binding.py +13 -0
- pulumi_gcp/gkehub/membership_iam_member.py +13 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +13 -0
- pulumi_gcp/gkehub/scope_iam_binding.py +13 -0
- pulumi_gcp/gkehub/scope_iam_member.py +13 -0
- pulumi_gcp/gkehub/scope_iam_policy.py +13 -0
- pulumi_gcp/iam/__init__.py +4 -0
- pulumi_gcp/iam/_inputs.py +432 -0
- pulumi_gcp/iam/get_workload_identity_pool.py +35 -1
- pulumi_gcp/iam/get_workload_identity_pool_iam_policy.py +156 -0
- pulumi_gcp/iam/oauth_client_credential.py +6 -0
- pulumi_gcp/iam/outputs.py +510 -0
- pulumi_gcp/iam/workload_identity_pool.py +446 -24
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +539 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +539 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +358 -0
- pulumi_gcp/iap/app_engine_service_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_policy.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_policy.py +14 -14
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +4 -4
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +4 -4
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -0
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +6 -0
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +6 -0
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +13 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +13 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +13 -0
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +27 -0
- pulumi_gcp/iap/tunnel_instance_iam_member.py +27 -0
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +27 -0
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +7 -7
- pulumi_gcp/lustre/__init__.py +1 -0
- pulumi_gcp/lustre/get_instance.py +280 -0
- pulumi_gcp/lustre/instance.py +12 -0
- pulumi_gcp/netapp/backup.py +2 -2
- pulumi_gcp/networksecurity/intercept_deployment.py +10 -0
- pulumi_gcp/networksecurity/intercept_deployment_group.py +8 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +12 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +16 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -0
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -0
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +13 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +13 -0
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +13 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -4
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -4
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +4 -11
- pulumi_gcp/securesourcemanager/repository_iam_member.py +4 -11
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +4 -11
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +2 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +13 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +13 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +13 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +2 -0
- pulumi_gcp/vmwareengine/external_address.py +4 -4
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -0
- pulumi_gcp/workstations/get_workstation_iam_policy.py +10 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +33 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +33 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +33 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +53 -0
- pulumi_gcp/workstations/workstation_iam_member.py +53 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +53 -0
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/RECORD +256 -241
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,772 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
|
18
|
+
__all__ = ['GlossaryArgs', 'Glossary']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class GlossaryArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
glossary_id: pulumi.Input[builtins.str],
|
24
|
+
location: pulumi.Input[builtins.str],
|
25
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
26
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
27
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
28
|
+
project: Optional[pulumi.Input[builtins.str]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a Glossary resource.
|
31
|
+
:param pulumi.Input[builtins.str] glossary_id: The glossary id for creation.
|
32
|
+
|
33
|
+
|
34
|
+
- - -
|
35
|
+
:param pulumi.Input[builtins.str] location: The location where the glossary should reside.
|
36
|
+
:param pulumi.Input[builtins.str] description: The user-mutable description of the glossary.
|
37
|
+
:param pulumi.Input[builtins.str] display_name: User friendly display name of the glossary. This is user-mutable. This will be same as the glossaryId, if not specified.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels for the Glossary.
|
39
|
+
|
40
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
41
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
42
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
43
|
+
If it is not provided, the provider project is used.
|
44
|
+
"""
|
45
|
+
pulumi.set(__self__, "glossary_id", glossary_id)
|
46
|
+
pulumi.set(__self__, "location", location)
|
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 labels is not None:
|
52
|
+
pulumi.set(__self__, "labels", labels)
|
53
|
+
if project is not None:
|
54
|
+
pulumi.set(__self__, "project", project)
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter(name="glossaryId")
|
58
|
+
def glossary_id(self) -> pulumi.Input[builtins.str]:
|
59
|
+
"""
|
60
|
+
The glossary id for creation.
|
61
|
+
|
62
|
+
|
63
|
+
- - -
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "glossary_id")
|
66
|
+
|
67
|
+
@glossary_id.setter
|
68
|
+
def glossary_id(self, value: pulumi.Input[builtins.str]):
|
69
|
+
pulumi.set(self, "glossary_id", value)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def location(self) -> pulumi.Input[builtins.str]:
|
74
|
+
"""
|
75
|
+
The location where the glossary should reside.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "location")
|
78
|
+
|
79
|
+
@location.setter
|
80
|
+
def location(self, value: pulumi.Input[builtins.str]):
|
81
|
+
pulumi.set(self, "location", value)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
86
|
+
"""
|
87
|
+
The user-mutable description of the glossary.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "description")
|
90
|
+
|
91
|
+
@description.setter
|
92
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
93
|
+
pulumi.set(self, "description", value)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="displayName")
|
97
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
98
|
+
"""
|
99
|
+
User friendly display name of the glossary. This is user-mutable. This will be same as the glossaryId, if not specified.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "display_name")
|
102
|
+
|
103
|
+
@display_name.setter
|
104
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
105
|
+
pulumi.set(self, "display_name", value)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
110
|
+
"""
|
111
|
+
User-defined labels for the Glossary.
|
112
|
+
|
113
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
114
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "labels")
|
117
|
+
|
118
|
+
@labels.setter
|
119
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
120
|
+
pulumi.set(self, "labels", value)
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
125
|
+
"""
|
126
|
+
The ID of the project in which the resource belongs.
|
127
|
+
If it is not provided, the provider project is used.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "project")
|
130
|
+
|
131
|
+
@project.setter
|
132
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
133
|
+
pulumi.set(self, "project", value)
|
134
|
+
|
135
|
+
|
136
|
+
@pulumi.input_type
|
137
|
+
class _GlossaryState:
|
138
|
+
def __init__(__self__, *,
|
139
|
+
category_count: Optional[pulumi.Input[builtins.int]] = None,
|
140
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
141
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
142
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
143
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
144
|
+
glossary_id: Optional[pulumi.Input[builtins.str]] = None,
|
145
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
146
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
147
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
148
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
149
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
150
|
+
term_count: Optional[pulumi.Input[builtins.int]] = None,
|
151
|
+
uid: Optional[pulumi.Input[builtins.str]] = None,
|
152
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None):
|
153
|
+
"""
|
154
|
+
Input properties used for looking up and filtering Glossary resources.
|
155
|
+
:param pulumi.Input[builtins.int] category_count: The number of categories in the glossary.
|
156
|
+
:param pulumi.Input[builtins.str] create_time: The time at which the glossary was created.
|
157
|
+
:param pulumi.Input[builtins.str] description: The user-mutable description of the glossary.
|
158
|
+
:param pulumi.Input[builtins.str] display_name: User friendly display name of the glossary. This is user-mutable. This will be same as the glossaryId, if not specified.
|
159
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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.
|
160
|
+
:param pulumi.Input[builtins.str] glossary_id: The glossary id for creation.
|
161
|
+
|
162
|
+
|
163
|
+
- - -
|
164
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels for the Glossary.
|
165
|
+
|
166
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
167
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
168
|
+
:param pulumi.Input[builtins.str] location: The location where the glossary should reside.
|
169
|
+
:param pulumi.Input[builtins.str] name: The resource name of the Glossary. Format: projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}
|
170
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
171
|
+
If it is not provided, the provider project is used.
|
172
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
173
|
+
and default labels configured on the provider.
|
174
|
+
:param pulumi.Input[builtins.int] term_count: The number of terms in the glossary.
|
175
|
+
:param pulumi.Input[builtins.str] uid: System generated unique id for the Glossary. This ID will be different if the Glossary is deleted and re-created with the same name.
|
176
|
+
:param pulumi.Input[builtins.str] update_time: The time at which the glossary was last updated.
|
177
|
+
"""
|
178
|
+
if category_count is not None:
|
179
|
+
pulumi.set(__self__, "category_count", category_count)
|
180
|
+
if create_time is not None:
|
181
|
+
pulumi.set(__self__, "create_time", create_time)
|
182
|
+
if description is not None:
|
183
|
+
pulumi.set(__self__, "description", description)
|
184
|
+
if display_name is not None:
|
185
|
+
pulumi.set(__self__, "display_name", display_name)
|
186
|
+
if effective_labels is not None:
|
187
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
188
|
+
if glossary_id is not None:
|
189
|
+
pulumi.set(__self__, "glossary_id", glossary_id)
|
190
|
+
if labels is not None:
|
191
|
+
pulumi.set(__self__, "labels", labels)
|
192
|
+
if location is not None:
|
193
|
+
pulumi.set(__self__, "location", location)
|
194
|
+
if name is not None:
|
195
|
+
pulumi.set(__self__, "name", name)
|
196
|
+
if project is not None:
|
197
|
+
pulumi.set(__self__, "project", project)
|
198
|
+
if pulumi_labels is not None:
|
199
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
200
|
+
if term_count is not None:
|
201
|
+
pulumi.set(__self__, "term_count", term_count)
|
202
|
+
if uid is not None:
|
203
|
+
pulumi.set(__self__, "uid", uid)
|
204
|
+
if update_time is not None:
|
205
|
+
pulumi.set(__self__, "update_time", update_time)
|
206
|
+
|
207
|
+
@property
|
208
|
+
@pulumi.getter(name="categoryCount")
|
209
|
+
def category_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
210
|
+
"""
|
211
|
+
The number of categories in the glossary.
|
212
|
+
"""
|
213
|
+
return pulumi.get(self, "category_count")
|
214
|
+
|
215
|
+
@category_count.setter
|
216
|
+
def category_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
217
|
+
pulumi.set(self, "category_count", value)
|
218
|
+
|
219
|
+
@property
|
220
|
+
@pulumi.getter(name="createTime")
|
221
|
+
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
222
|
+
"""
|
223
|
+
The time at which the glossary was created.
|
224
|
+
"""
|
225
|
+
return pulumi.get(self, "create_time")
|
226
|
+
|
227
|
+
@create_time.setter
|
228
|
+
def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
229
|
+
pulumi.set(self, "create_time", value)
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter
|
233
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
234
|
+
"""
|
235
|
+
The user-mutable description of the glossary.
|
236
|
+
"""
|
237
|
+
return pulumi.get(self, "description")
|
238
|
+
|
239
|
+
@description.setter
|
240
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
241
|
+
pulumi.set(self, "description", value)
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter(name="displayName")
|
245
|
+
def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
246
|
+
"""
|
247
|
+
User friendly display name of the glossary. This is user-mutable. This will be same as the glossaryId, if not specified.
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "display_name")
|
250
|
+
|
251
|
+
@display_name.setter
|
252
|
+
def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
253
|
+
pulumi.set(self, "display_name", value)
|
254
|
+
|
255
|
+
@property
|
256
|
+
@pulumi.getter(name="effectiveLabels")
|
257
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
258
|
+
"""
|
259
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
260
|
+
"""
|
261
|
+
return pulumi.get(self, "effective_labels")
|
262
|
+
|
263
|
+
@effective_labels.setter
|
264
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
265
|
+
pulumi.set(self, "effective_labels", value)
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter(name="glossaryId")
|
269
|
+
def glossary_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
270
|
+
"""
|
271
|
+
The glossary id for creation.
|
272
|
+
|
273
|
+
|
274
|
+
- - -
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "glossary_id")
|
277
|
+
|
278
|
+
@glossary_id.setter
|
279
|
+
def glossary_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
280
|
+
pulumi.set(self, "glossary_id", value)
|
281
|
+
|
282
|
+
@property
|
283
|
+
@pulumi.getter
|
284
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
285
|
+
"""
|
286
|
+
User-defined labels for the Glossary.
|
287
|
+
|
288
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
289
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
290
|
+
"""
|
291
|
+
return pulumi.get(self, "labels")
|
292
|
+
|
293
|
+
@labels.setter
|
294
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
295
|
+
pulumi.set(self, "labels", value)
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter
|
299
|
+
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
300
|
+
"""
|
301
|
+
The location where the glossary should reside.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "location")
|
304
|
+
|
305
|
+
@location.setter
|
306
|
+
def location(self, value: Optional[pulumi.Input[builtins.str]]):
|
307
|
+
pulumi.set(self, "location", value)
|
308
|
+
|
309
|
+
@property
|
310
|
+
@pulumi.getter
|
311
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
312
|
+
"""
|
313
|
+
The resource name of the Glossary. Format: projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}
|
314
|
+
"""
|
315
|
+
return pulumi.get(self, "name")
|
316
|
+
|
317
|
+
@name.setter
|
318
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
319
|
+
pulumi.set(self, "name", value)
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter
|
323
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
324
|
+
"""
|
325
|
+
The ID of the project in which the resource belongs.
|
326
|
+
If it is not provided, the provider project is used.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "project")
|
329
|
+
|
330
|
+
@project.setter
|
331
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
332
|
+
pulumi.set(self, "project", value)
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter(name="pulumiLabels")
|
336
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
337
|
+
"""
|
338
|
+
The combination of labels configured directly on the resource
|
339
|
+
and default labels configured on the provider.
|
340
|
+
"""
|
341
|
+
return pulumi.get(self, "pulumi_labels")
|
342
|
+
|
343
|
+
@pulumi_labels.setter
|
344
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
345
|
+
pulumi.set(self, "pulumi_labels", value)
|
346
|
+
|
347
|
+
@property
|
348
|
+
@pulumi.getter(name="termCount")
|
349
|
+
def term_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
350
|
+
"""
|
351
|
+
The number of terms in the glossary.
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "term_count")
|
354
|
+
|
355
|
+
@term_count.setter
|
356
|
+
def term_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
357
|
+
pulumi.set(self, "term_count", value)
|
358
|
+
|
359
|
+
@property
|
360
|
+
@pulumi.getter
|
361
|
+
def uid(self) -> Optional[pulumi.Input[builtins.str]]:
|
362
|
+
"""
|
363
|
+
System generated unique id for the Glossary. This ID will be different if the Glossary is deleted and re-created with the same name.
|
364
|
+
"""
|
365
|
+
return pulumi.get(self, "uid")
|
366
|
+
|
367
|
+
@uid.setter
|
368
|
+
def uid(self, value: Optional[pulumi.Input[builtins.str]]):
|
369
|
+
pulumi.set(self, "uid", value)
|
370
|
+
|
371
|
+
@property
|
372
|
+
@pulumi.getter(name="updateTime")
|
373
|
+
def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
374
|
+
"""
|
375
|
+
The time at which the glossary was last updated.
|
376
|
+
"""
|
377
|
+
return pulumi.get(self, "update_time")
|
378
|
+
|
379
|
+
@update_time.setter
|
380
|
+
def update_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
381
|
+
pulumi.set(self, "update_time", value)
|
382
|
+
|
383
|
+
|
384
|
+
@pulumi.type_token("gcp:dataplex/glossary:Glossary")
|
385
|
+
class Glossary(pulumi.CustomResource):
|
386
|
+
@overload
|
387
|
+
def __init__(__self__,
|
388
|
+
resource_name: str,
|
389
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
390
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
391
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
392
|
+
glossary_id: Optional[pulumi.Input[builtins.str]] = None,
|
393
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
394
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
395
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
396
|
+
__props__=None):
|
397
|
+
"""
|
398
|
+
Represents a collection of categories and terms defined by the user. Glossary is a top level resource and is the GCP parent resource of all the categories and terms within it.
|
399
|
+
|
400
|
+
## Example Usage
|
401
|
+
|
402
|
+
### Dataplex Glossary Basic
|
403
|
+
|
404
|
+
```python
|
405
|
+
import pulumi
|
406
|
+
import pulumi_gcp as gcp
|
407
|
+
|
408
|
+
glossary_test_id = gcp.dataplex.Glossary("glossary_test_id",
|
409
|
+
glossary_id="glossary-basic",
|
410
|
+
location="us-central1")
|
411
|
+
```
|
412
|
+
### Dataplex Glossary Full
|
413
|
+
|
414
|
+
```python
|
415
|
+
import pulumi
|
416
|
+
import pulumi_gcp as gcp
|
417
|
+
|
418
|
+
glossary_test_id_full = gcp.dataplex.Glossary("glossary_test_id_full",
|
419
|
+
glossary_id="glossary-full",
|
420
|
+
location="us-central1",
|
421
|
+
labels={
|
422
|
+
"tag": "test-tf",
|
423
|
+
},
|
424
|
+
display_name="terraform glossary",
|
425
|
+
description="glossary created by Terraform")
|
426
|
+
```
|
427
|
+
|
428
|
+
## Import
|
429
|
+
|
430
|
+
Glossary can be imported using any of these accepted formats:
|
431
|
+
|
432
|
+
* `projects/{{project}}/locations/{{location}}/glossaries/{{glossary_id}}`
|
433
|
+
|
434
|
+
* `{{project}}/{{location}}/{{glossary_id}}`
|
435
|
+
|
436
|
+
* `{{location}}/{{glossary_id}}`
|
437
|
+
|
438
|
+
When using the `pulumi import` command, Glossary can be imported using one of the formats above. For example:
|
439
|
+
|
440
|
+
```sh
|
441
|
+
$ pulumi import gcp:dataplex/glossary:Glossary default projects/{{project}}/locations/{{location}}/glossaries/{{glossary_id}}
|
442
|
+
```
|
443
|
+
|
444
|
+
```sh
|
445
|
+
$ pulumi import gcp:dataplex/glossary:Glossary default {{project}}/{{location}}/{{glossary_id}}
|
446
|
+
```
|
447
|
+
|
448
|
+
```sh
|
449
|
+
$ pulumi import gcp:dataplex/glossary:Glossary default {{location}}/{{glossary_id}}
|
450
|
+
```
|
451
|
+
|
452
|
+
:param str resource_name: The name of the resource.
|
453
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
454
|
+
:param pulumi.Input[builtins.str] description: The user-mutable description of the glossary.
|
455
|
+
:param pulumi.Input[builtins.str] display_name: User friendly display name of the glossary. This is user-mutable. This will be same as the glossaryId, if not specified.
|
456
|
+
:param pulumi.Input[builtins.str] glossary_id: The glossary id for creation.
|
457
|
+
|
458
|
+
|
459
|
+
- - -
|
460
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels for the Glossary.
|
461
|
+
|
462
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
463
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
464
|
+
:param pulumi.Input[builtins.str] location: The location where the glossary should reside.
|
465
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
466
|
+
If it is not provided, the provider project is used.
|
467
|
+
"""
|
468
|
+
...
|
469
|
+
@overload
|
470
|
+
def __init__(__self__,
|
471
|
+
resource_name: str,
|
472
|
+
args: GlossaryArgs,
|
473
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
474
|
+
"""
|
475
|
+
Represents a collection of categories and terms defined by the user. Glossary is a top level resource and is the GCP parent resource of all the categories and terms within it.
|
476
|
+
|
477
|
+
## Example Usage
|
478
|
+
|
479
|
+
### Dataplex Glossary Basic
|
480
|
+
|
481
|
+
```python
|
482
|
+
import pulumi
|
483
|
+
import pulumi_gcp as gcp
|
484
|
+
|
485
|
+
glossary_test_id = gcp.dataplex.Glossary("glossary_test_id",
|
486
|
+
glossary_id="glossary-basic",
|
487
|
+
location="us-central1")
|
488
|
+
```
|
489
|
+
### Dataplex Glossary Full
|
490
|
+
|
491
|
+
```python
|
492
|
+
import pulumi
|
493
|
+
import pulumi_gcp as gcp
|
494
|
+
|
495
|
+
glossary_test_id_full = gcp.dataplex.Glossary("glossary_test_id_full",
|
496
|
+
glossary_id="glossary-full",
|
497
|
+
location="us-central1",
|
498
|
+
labels={
|
499
|
+
"tag": "test-tf",
|
500
|
+
},
|
501
|
+
display_name="terraform glossary",
|
502
|
+
description="glossary created by Terraform")
|
503
|
+
```
|
504
|
+
|
505
|
+
## Import
|
506
|
+
|
507
|
+
Glossary can be imported using any of these accepted formats:
|
508
|
+
|
509
|
+
* `projects/{{project}}/locations/{{location}}/glossaries/{{glossary_id}}`
|
510
|
+
|
511
|
+
* `{{project}}/{{location}}/{{glossary_id}}`
|
512
|
+
|
513
|
+
* `{{location}}/{{glossary_id}}`
|
514
|
+
|
515
|
+
When using the `pulumi import` command, Glossary can be imported using one of the formats above. For example:
|
516
|
+
|
517
|
+
```sh
|
518
|
+
$ pulumi import gcp:dataplex/glossary:Glossary default projects/{{project}}/locations/{{location}}/glossaries/{{glossary_id}}
|
519
|
+
```
|
520
|
+
|
521
|
+
```sh
|
522
|
+
$ pulumi import gcp:dataplex/glossary:Glossary default {{project}}/{{location}}/{{glossary_id}}
|
523
|
+
```
|
524
|
+
|
525
|
+
```sh
|
526
|
+
$ pulumi import gcp:dataplex/glossary:Glossary default {{location}}/{{glossary_id}}
|
527
|
+
```
|
528
|
+
|
529
|
+
:param str resource_name: The name of the resource.
|
530
|
+
:param GlossaryArgs args: The arguments to use to populate this resource's properties.
|
531
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
532
|
+
"""
|
533
|
+
...
|
534
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
535
|
+
resource_args, opts = _utilities.get_resource_args_opts(GlossaryArgs, pulumi.ResourceOptions, *args, **kwargs)
|
536
|
+
if resource_args is not None:
|
537
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
538
|
+
else:
|
539
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
540
|
+
|
541
|
+
def _internal_init(__self__,
|
542
|
+
resource_name: str,
|
543
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
544
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
545
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
546
|
+
glossary_id: Optional[pulumi.Input[builtins.str]] = None,
|
547
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
548
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
549
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
550
|
+
__props__=None):
|
551
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
552
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
553
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
554
|
+
if opts.id is None:
|
555
|
+
if __props__ is not None:
|
556
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
557
|
+
__props__ = GlossaryArgs.__new__(GlossaryArgs)
|
558
|
+
|
559
|
+
__props__.__dict__["description"] = description
|
560
|
+
__props__.__dict__["display_name"] = display_name
|
561
|
+
if glossary_id is None and not opts.urn:
|
562
|
+
raise TypeError("Missing required property 'glossary_id'")
|
563
|
+
__props__.__dict__["glossary_id"] = glossary_id
|
564
|
+
__props__.__dict__["labels"] = labels
|
565
|
+
if location is None and not opts.urn:
|
566
|
+
raise TypeError("Missing required property 'location'")
|
567
|
+
__props__.__dict__["location"] = location
|
568
|
+
__props__.__dict__["project"] = project
|
569
|
+
__props__.__dict__["category_count"] = None
|
570
|
+
__props__.__dict__["create_time"] = None
|
571
|
+
__props__.__dict__["effective_labels"] = None
|
572
|
+
__props__.__dict__["name"] = None
|
573
|
+
__props__.__dict__["pulumi_labels"] = None
|
574
|
+
__props__.__dict__["term_count"] = None
|
575
|
+
__props__.__dict__["uid"] = None
|
576
|
+
__props__.__dict__["update_time"] = None
|
577
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
578
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
579
|
+
super(Glossary, __self__).__init__(
|
580
|
+
'gcp:dataplex/glossary:Glossary',
|
581
|
+
resource_name,
|
582
|
+
__props__,
|
583
|
+
opts)
|
584
|
+
|
585
|
+
@staticmethod
|
586
|
+
def get(resource_name: str,
|
587
|
+
id: pulumi.Input[str],
|
588
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
589
|
+
category_count: Optional[pulumi.Input[builtins.int]] = None,
|
590
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
591
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
592
|
+
display_name: Optional[pulumi.Input[builtins.str]] = None,
|
593
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
594
|
+
glossary_id: Optional[pulumi.Input[builtins.str]] = None,
|
595
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
596
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
597
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
598
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
599
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
600
|
+
term_count: Optional[pulumi.Input[builtins.int]] = None,
|
601
|
+
uid: Optional[pulumi.Input[builtins.str]] = None,
|
602
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None) -> 'Glossary':
|
603
|
+
"""
|
604
|
+
Get an existing Glossary resource's state with the given name, id, and optional extra
|
605
|
+
properties used to qualify the lookup.
|
606
|
+
|
607
|
+
:param str resource_name: The unique name of the resulting resource.
|
608
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
609
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
610
|
+
:param pulumi.Input[builtins.int] category_count: The number of categories in the glossary.
|
611
|
+
:param pulumi.Input[builtins.str] create_time: The time at which the glossary was created.
|
612
|
+
:param pulumi.Input[builtins.str] description: The user-mutable description of the glossary.
|
613
|
+
:param pulumi.Input[builtins.str] display_name: User friendly display name of the glossary. This is user-mutable. This will be same as the glossaryId, if not specified.
|
614
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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.
|
615
|
+
:param pulumi.Input[builtins.str] glossary_id: The glossary id for creation.
|
616
|
+
|
617
|
+
|
618
|
+
- - -
|
619
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: User-defined labels for the Glossary.
|
620
|
+
|
621
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
622
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
623
|
+
:param pulumi.Input[builtins.str] location: The location where the glossary should reside.
|
624
|
+
:param pulumi.Input[builtins.str] name: The resource name of the Glossary. Format: projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}
|
625
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
626
|
+
If it is not provided, the provider project is used.
|
627
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
628
|
+
and default labels configured on the provider.
|
629
|
+
:param pulumi.Input[builtins.int] term_count: The number of terms in the glossary.
|
630
|
+
:param pulumi.Input[builtins.str] uid: System generated unique id for the Glossary. This ID will be different if the Glossary is deleted and re-created with the same name.
|
631
|
+
:param pulumi.Input[builtins.str] update_time: The time at which the glossary was last updated.
|
632
|
+
"""
|
633
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
634
|
+
|
635
|
+
__props__ = _GlossaryState.__new__(_GlossaryState)
|
636
|
+
|
637
|
+
__props__.__dict__["category_count"] = category_count
|
638
|
+
__props__.__dict__["create_time"] = create_time
|
639
|
+
__props__.__dict__["description"] = description
|
640
|
+
__props__.__dict__["display_name"] = display_name
|
641
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
642
|
+
__props__.__dict__["glossary_id"] = glossary_id
|
643
|
+
__props__.__dict__["labels"] = labels
|
644
|
+
__props__.__dict__["location"] = location
|
645
|
+
__props__.__dict__["name"] = name
|
646
|
+
__props__.__dict__["project"] = project
|
647
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
648
|
+
__props__.__dict__["term_count"] = term_count
|
649
|
+
__props__.__dict__["uid"] = uid
|
650
|
+
__props__.__dict__["update_time"] = update_time
|
651
|
+
return Glossary(resource_name, opts=opts, __props__=__props__)
|
652
|
+
|
653
|
+
@property
|
654
|
+
@pulumi.getter(name="categoryCount")
|
655
|
+
def category_count(self) -> pulumi.Output[builtins.int]:
|
656
|
+
"""
|
657
|
+
The number of categories in the glossary.
|
658
|
+
"""
|
659
|
+
return pulumi.get(self, "category_count")
|
660
|
+
|
661
|
+
@property
|
662
|
+
@pulumi.getter(name="createTime")
|
663
|
+
def create_time(self) -> pulumi.Output[builtins.str]:
|
664
|
+
"""
|
665
|
+
The time at which the glossary was created.
|
666
|
+
"""
|
667
|
+
return pulumi.get(self, "create_time")
|
668
|
+
|
669
|
+
@property
|
670
|
+
@pulumi.getter
|
671
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
672
|
+
"""
|
673
|
+
The user-mutable description of the glossary.
|
674
|
+
"""
|
675
|
+
return pulumi.get(self, "description")
|
676
|
+
|
677
|
+
@property
|
678
|
+
@pulumi.getter(name="displayName")
|
679
|
+
def display_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
680
|
+
"""
|
681
|
+
User friendly display name of the glossary. This is user-mutable. This will be same as the glossaryId, if not specified.
|
682
|
+
"""
|
683
|
+
return pulumi.get(self, "display_name")
|
684
|
+
|
685
|
+
@property
|
686
|
+
@pulumi.getter(name="effectiveLabels")
|
687
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
688
|
+
"""
|
689
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
690
|
+
"""
|
691
|
+
return pulumi.get(self, "effective_labels")
|
692
|
+
|
693
|
+
@property
|
694
|
+
@pulumi.getter(name="glossaryId")
|
695
|
+
def glossary_id(self) -> pulumi.Output[builtins.str]:
|
696
|
+
"""
|
697
|
+
The glossary id for creation.
|
698
|
+
|
699
|
+
|
700
|
+
- - -
|
701
|
+
"""
|
702
|
+
return pulumi.get(self, "glossary_id")
|
703
|
+
|
704
|
+
@property
|
705
|
+
@pulumi.getter
|
706
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
707
|
+
"""
|
708
|
+
User-defined labels for the Glossary.
|
709
|
+
|
710
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
711
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
712
|
+
"""
|
713
|
+
return pulumi.get(self, "labels")
|
714
|
+
|
715
|
+
@property
|
716
|
+
@pulumi.getter
|
717
|
+
def location(self) -> pulumi.Output[builtins.str]:
|
718
|
+
"""
|
719
|
+
The location where the glossary should reside.
|
720
|
+
"""
|
721
|
+
return pulumi.get(self, "location")
|
722
|
+
|
723
|
+
@property
|
724
|
+
@pulumi.getter
|
725
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
726
|
+
"""
|
727
|
+
The resource name of the Glossary. Format: projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}
|
728
|
+
"""
|
729
|
+
return pulumi.get(self, "name")
|
730
|
+
|
731
|
+
@property
|
732
|
+
@pulumi.getter
|
733
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
734
|
+
"""
|
735
|
+
The ID of the project in which the resource belongs.
|
736
|
+
If it is not provided, the provider project is used.
|
737
|
+
"""
|
738
|
+
return pulumi.get(self, "project")
|
739
|
+
|
740
|
+
@property
|
741
|
+
@pulumi.getter(name="pulumiLabels")
|
742
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
743
|
+
"""
|
744
|
+
The combination of labels configured directly on the resource
|
745
|
+
and default labels configured on the provider.
|
746
|
+
"""
|
747
|
+
return pulumi.get(self, "pulumi_labels")
|
748
|
+
|
749
|
+
@property
|
750
|
+
@pulumi.getter(name="termCount")
|
751
|
+
def term_count(self) -> pulumi.Output[builtins.int]:
|
752
|
+
"""
|
753
|
+
The number of terms in the glossary.
|
754
|
+
"""
|
755
|
+
return pulumi.get(self, "term_count")
|
756
|
+
|
757
|
+
@property
|
758
|
+
@pulumi.getter
|
759
|
+
def uid(self) -> pulumi.Output[builtins.str]:
|
760
|
+
"""
|
761
|
+
System generated unique id for the Glossary. This ID will be different if the Glossary is deleted and re-created with the same name.
|
762
|
+
"""
|
763
|
+
return pulumi.get(self, "uid")
|
764
|
+
|
765
|
+
@property
|
766
|
+
@pulumi.getter(name="updateTime")
|
767
|
+
def update_time(self) -> pulumi.Output[builtins.str]:
|
768
|
+
"""
|
769
|
+
The time at which the glossary was last updated.
|
770
|
+
"""
|
771
|
+
return pulumi.get(self, "update_time")
|
772
|
+
|