pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__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_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['EntityTagAssignmentArgs', 'EntityTagAssignment']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class EntityTagAssignmentArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
entity_name: pulumi.Input[_builtins.str],
|
|
23
|
+
entity_type: pulumi.Input[_builtins.str],
|
|
24
|
+
tag_key: pulumi.Input[_builtins.str],
|
|
25
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
26
|
+
"""
|
|
27
|
+
The set of arguments for constructing a EntityTagAssignment resource.
|
|
28
|
+
:param pulumi.Input[_builtins.str] entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
29
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
30
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag
|
|
31
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "entity_name", entity_name)
|
|
34
|
+
pulumi.set(__self__, "entity_type", entity_type)
|
|
35
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
|
36
|
+
if tag_value is not None:
|
|
37
|
+
pulumi.set(__self__, "tag_value", tag_value)
|
|
38
|
+
|
|
39
|
+
@_builtins.property
|
|
40
|
+
@pulumi.getter(name="entityName")
|
|
41
|
+
def entity_name(self) -> pulumi.Input[_builtins.str]:
|
|
42
|
+
"""
|
|
43
|
+
The fully qualified name of the entity to which the tag is assigned
|
|
44
|
+
"""
|
|
45
|
+
return pulumi.get(self, "entity_name")
|
|
46
|
+
|
|
47
|
+
@entity_name.setter
|
|
48
|
+
def entity_name(self, value: pulumi.Input[_builtins.str]):
|
|
49
|
+
pulumi.set(self, "entity_name", value)
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter(name="entityType")
|
|
53
|
+
def entity_type(self) -> pulumi.Input[_builtins.str]:
|
|
54
|
+
"""
|
|
55
|
+
The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "entity_type")
|
|
58
|
+
|
|
59
|
+
@entity_type.setter
|
|
60
|
+
def entity_type(self, value: pulumi.Input[_builtins.str]):
|
|
61
|
+
pulumi.set(self, "entity_type", value)
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter(name="tagKey")
|
|
65
|
+
def tag_key(self) -> pulumi.Input[_builtins.str]:
|
|
66
|
+
"""
|
|
67
|
+
The key of the tag
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "tag_key")
|
|
70
|
+
|
|
71
|
+
@tag_key.setter
|
|
72
|
+
def tag_key(self, value: pulumi.Input[_builtins.str]):
|
|
73
|
+
pulumi.set(self, "tag_key", value)
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter(name="tagValue")
|
|
77
|
+
def tag_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
78
|
+
"""
|
|
79
|
+
The value of the tag
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "tag_value")
|
|
82
|
+
|
|
83
|
+
@tag_value.setter
|
|
84
|
+
def tag_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
85
|
+
pulumi.set(self, "tag_value", value)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
@pulumi.input_type
|
|
89
|
+
class _EntityTagAssignmentState:
|
|
90
|
+
def __init__(__self__, *,
|
|
91
|
+
entity_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
92
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
95
|
+
"""
|
|
96
|
+
Input properties used for looking up and filtering EntityTagAssignment resources.
|
|
97
|
+
:param pulumi.Input[_builtins.str] entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
98
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
99
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag
|
|
100
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
101
|
+
"""
|
|
102
|
+
if entity_name is not None:
|
|
103
|
+
pulumi.set(__self__, "entity_name", entity_name)
|
|
104
|
+
if entity_type is not None:
|
|
105
|
+
pulumi.set(__self__, "entity_type", entity_type)
|
|
106
|
+
if tag_key is not None:
|
|
107
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
|
108
|
+
if tag_value is not None:
|
|
109
|
+
pulumi.set(__self__, "tag_value", tag_value)
|
|
110
|
+
|
|
111
|
+
@_builtins.property
|
|
112
|
+
@pulumi.getter(name="entityName")
|
|
113
|
+
def entity_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
114
|
+
"""
|
|
115
|
+
The fully qualified name of the entity to which the tag is assigned
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "entity_name")
|
|
118
|
+
|
|
119
|
+
@entity_name.setter
|
|
120
|
+
def entity_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
121
|
+
pulumi.set(self, "entity_name", value)
|
|
122
|
+
|
|
123
|
+
@_builtins.property
|
|
124
|
+
@pulumi.getter(name="entityType")
|
|
125
|
+
def entity_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
126
|
+
"""
|
|
127
|
+
The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "entity_type")
|
|
130
|
+
|
|
131
|
+
@entity_type.setter
|
|
132
|
+
def entity_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
133
|
+
pulumi.set(self, "entity_type", value)
|
|
134
|
+
|
|
135
|
+
@_builtins.property
|
|
136
|
+
@pulumi.getter(name="tagKey")
|
|
137
|
+
def tag_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
138
|
+
"""
|
|
139
|
+
The key of the tag
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "tag_key")
|
|
142
|
+
|
|
143
|
+
@tag_key.setter
|
|
144
|
+
def tag_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
145
|
+
pulumi.set(self, "tag_key", value)
|
|
146
|
+
|
|
147
|
+
@_builtins.property
|
|
148
|
+
@pulumi.getter(name="tagValue")
|
|
149
|
+
def tag_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
150
|
+
"""
|
|
151
|
+
The value of the tag
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "tag_value")
|
|
154
|
+
|
|
155
|
+
@tag_value.setter
|
|
156
|
+
def tag_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
157
|
+
pulumi.set(self, "tag_value", value)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
@pulumi.type_token("databricks:index/entityTagAssignment:EntityTagAssignment")
|
|
161
|
+
class EntityTagAssignment(pulumi.CustomResource):
|
|
162
|
+
@overload
|
|
163
|
+
def __init__(__self__,
|
|
164
|
+
resource_name: str,
|
|
165
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
166
|
+
entity_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
169
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
170
|
+
__props__=None):
|
|
171
|
+
"""
|
|
172
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
173
|
+
|
|
174
|
+
This resource allows you to create, update, list, and delete tag assignments on Unity Catalog entities.
|
|
175
|
+
|
|
176
|
+
## Example Usage
|
|
177
|
+
|
|
178
|
+
### Basic tag assignment to a catalog
|
|
179
|
+
|
|
180
|
+
```python
|
|
181
|
+
import pulumi
|
|
182
|
+
import pulumi_databricks as databricks
|
|
183
|
+
|
|
184
|
+
catalog_tag = databricks.EntityTagAssignment("catalog_tag",
|
|
185
|
+
entity_type="catalogs",
|
|
186
|
+
entity_name="production_catalog",
|
|
187
|
+
tag_key="environment",
|
|
188
|
+
tag_value="production")
|
|
189
|
+
schema_tag = databricks.EntityTagAssignment("schema_tag",
|
|
190
|
+
entity_type="schemas",
|
|
191
|
+
entity_name="production_catalog.sales_data",
|
|
192
|
+
tag_key="owner",
|
|
193
|
+
tag_value="sales-team")
|
|
194
|
+
table_tag = databricks.EntityTagAssignment("table_tag",
|
|
195
|
+
entity_type="tables",
|
|
196
|
+
entity_name="production_catalog.sales_data.customer_orders",
|
|
197
|
+
tag_key="data_classification",
|
|
198
|
+
tag_value="confidential")
|
|
199
|
+
column_tag = databricks.EntityTagAssignment("column_tag",
|
|
200
|
+
entity_type="columns",
|
|
201
|
+
entity_name="production_catalog.sales_data.customers.email_address",
|
|
202
|
+
tag_key="pii",
|
|
203
|
+
tag_value="email")
|
|
204
|
+
volume_tag = databricks.EntityTagAssignment("volume_tag",
|
|
205
|
+
entity_type="volumes",
|
|
206
|
+
entity_name="production_catalog.raw_data.landing_zone",
|
|
207
|
+
tag_key="purpose",
|
|
208
|
+
tag_value="data_ingestion")
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## Import
|
|
212
|
+
|
|
213
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
214
|
+
|
|
215
|
+
hcl
|
|
216
|
+
|
|
217
|
+
import {
|
|
218
|
+
|
|
219
|
+
id = "entity_type,entity_name,tag_key"
|
|
220
|
+
|
|
221
|
+
to = databricks_entity_tag_assignment.this
|
|
222
|
+
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
226
|
+
|
|
227
|
+
```sh
|
|
228
|
+
$ pulumi import databricks:index/entityTagAssignment:EntityTagAssignment this "entity_type,entity_name,tag_key"
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
:param str resource_name: The name of the resource.
|
|
232
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
233
|
+
:param pulumi.Input[_builtins.str] entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
234
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
235
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag
|
|
236
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
237
|
+
"""
|
|
238
|
+
...
|
|
239
|
+
@overload
|
|
240
|
+
def __init__(__self__,
|
|
241
|
+
resource_name: str,
|
|
242
|
+
args: EntityTagAssignmentArgs,
|
|
243
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
244
|
+
"""
|
|
245
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
246
|
+
|
|
247
|
+
This resource allows you to create, update, list, and delete tag assignments on Unity Catalog entities.
|
|
248
|
+
|
|
249
|
+
## Example Usage
|
|
250
|
+
|
|
251
|
+
### Basic tag assignment to a catalog
|
|
252
|
+
|
|
253
|
+
```python
|
|
254
|
+
import pulumi
|
|
255
|
+
import pulumi_databricks as databricks
|
|
256
|
+
|
|
257
|
+
catalog_tag = databricks.EntityTagAssignment("catalog_tag",
|
|
258
|
+
entity_type="catalogs",
|
|
259
|
+
entity_name="production_catalog",
|
|
260
|
+
tag_key="environment",
|
|
261
|
+
tag_value="production")
|
|
262
|
+
schema_tag = databricks.EntityTagAssignment("schema_tag",
|
|
263
|
+
entity_type="schemas",
|
|
264
|
+
entity_name="production_catalog.sales_data",
|
|
265
|
+
tag_key="owner",
|
|
266
|
+
tag_value="sales-team")
|
|
267
|
+
table_tag = databricks.EntityTagAssignment("table_tag",
|
|
268
|
+
entity_type="tables",
|
|
269
|
+
entity_name="production_catalog.sales_data.customer_orders",
|
|
270
|
+
tag_key="data_classification",
|
|
271
|
+
tag_value="confidential")
|
|
272
|
+
column_tag = databricks.EntityTagAssignment("column_tag",
|
|
273
|
+
entity_type="columns",
|
|
274
|
+
entity_name="production_catalog.sales_data.customers.email_address",
|
|
275
|
+
tag_key="pii",
|
|
276
|
+
tag_value="email")
|
|
277
|
+
volume_tag = databricks.EntityTagAssignment("volume_tag",
|
|
278
|
+
entity_type="volumes",
|
|
279
|
+
entity_name="production_catalog.raw_data.landing_zone",
|
|
280
|
+
tag_key="purpose",
|
|
281
|
+
tag_value="data_ingestion")
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
## Import
|
|
285
|
+
|
|
286
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
287
|
+
|
|
288
|
+
hcl
|
|
289
|
+
|
|
290
|
+
import {
|
|
291
|
+
|
|
292
|
+
id = "entity_type,entity_name,tag_key"
|
|
293
|
+
|
|
294
|
+
to = databricks_entity_tag_assignment.this
|
|
295
|
+
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
299
|
+
|
|
300
|
+
```sh
|
|
301
|
+
$ pulumi import databricks:index/entityTagAssignment:EntityTagAssignment this "entity_type,entity_name,tag_key"
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
:param str resource_name: The name of the resource.
|
|
305
|
+
:param EntityTagAssignmentArgs args: The arguments to use to populate this resource's properties.
|
|
306
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
307
|
+
"""
|
|
308
|
+
...
|
|
309
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
310
|
+
resource_args, opts = _utilities.get_resource_args_opts(EntityTagAssignmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
311
|
+
if resource_args is not None:
|
|
312
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
313
|
+
else:
|
|
314
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
315
|
+
|
|
316
|
+
def _internal_init(__self__,
|
|
317
|
+
resource_name: str,
|
|
318
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
319
|
+
entity_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
320
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
321
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
322
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
323
|
+
__props__=None):
|
|
324
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
325
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
326
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
327
|
+
if opts.id is None:
|
|
328
|
+
if __props__ is not None:
|
|
329
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
330
|
+
__props__ = EntityTagAssignmentArgs.__new__(EntityTagAssignmentArgs)
|
|
331
|
+
|
|
332
|
+
if entity_name is None and not opts.urn:
|
|
333
|
+
raise TypeError("Missing required property 'entity_name'")
|
|
334
|
+
__props__.__dict__["entity_name"] = entity_name
|
|
335
|
+
if entity_type is None and not opts.urn:
|
|
336
|
+
raise TypeError("Missing required property 'entity_type'")
|
|
337
|
+
__props__.__dict__["entity_type"] = entity_type
|
|
338
|
+
if tag_key is None and not opts.urn:
|
|
339
|
+
raise TypeError("Missing required property 'tag_key'")
|
|
340
|
+
__props__.__dict__["tag_key"] = tag_key
|
|
341
|
+
__props__.__dict__["tag_value"] = tag_value
|
|
342
|
+
super(EntityTagAssignment, __self__).__init__(
|
|
343
|
+
'databricks:index/entityTagAssignment:EntityTagAssignment',
|
|
344
|
+
resource_name,
|
|
345
|
+
__props__,
|
|
346
|
+
opts)
|
|
347
|
+
|
|
348
|
+
@staticmethod
|
|
349
|
+
def get(resource_name: str,
|
|
350
|
+
id: pulumi.Input[str],
|
|
351
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
352
|
+
entity_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
353
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
354
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
355
|
+
tag_value: Optional[pulumi.Input[_builtins.str]] = None) -> 'EntityTagAssignment':
|
|
356
|
+
"""
|
|
357
|
+
Get an existing EntityTagAssignment resource's state with the given name, id, and optional extra
|
|
358
|
+
properties used to qualify the lookup.
|
|
359
|
+
|
|
360
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
361
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
362
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
363
|
+
:param pulumi.Input[_builtins.str] entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
364
|
+
:param pulumi.Input[_builtins.str] entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
365
|
+
:param pulumi.Input[_builtins.str] tag_key: The key of the tag
|
|
366
|
+
:param pulumi.Input[_builtins.str] tag_value: The value of the tag
|
|
367
|
+
"""
|
|
368
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
369
|
+
|
|
370
|
+
__props__ = _EntityTagAssignmentState.__new__(_EntityTagAssignmentState)
|
|
371
|
+
|
|
372
|
+
__props__.__dict__["entity_name"] = entity_name
|
|
373
|
+
__props__.__dict__["entity_type"] = entity_type
|
|
374
|
+
__props__.__dict__["tag_key"] = tag_key
|
|
375
|
+
__props__.__dict__["tag_value"] = tag_value
|
|
376
|
+
return EntityTagAssignment(resource_name, opts=opts, __props__=__props__)
|
|
377
|
+
|
|
378
|
+
@_builtins.property
|
|
379
|
+
@pulumi.getter(name="entityName")
|
|
380
|
+
def entity_name(self) -> pulumi.Output[_builtins.str]:
|
|
381
|
+
"""
|
|
382
|
+
The fully qualified name of the entity to which the tag is assigned
|
|
383
|
+
"""
|
|
384
|
+
return pulumi.get(self, "entity_name")
|
|
385
|
+
|
|
386
|
+
@_builtins.property
|
|
387
|
+
@pulumi.getter(name="entityType")
|
|
388
|
+
def entity_type(self) -> pulumi.Output[_builtins.str]:
|
|
389
|
+
"""
|
|
390
|
+
The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
391
|
+
"""
|
|
392
|
+
return pulumi.get(self, "entity_type")
|
|
393
|
+
|
|
394
|
+
@_builtins.property
|
|
395
|
+
@pulumi.getter(name="tagKey")
|
|
396
|
+
def tag_key(self) -> pulumi.Output[_builtins.str]:
|
|
397
|
+
"""
|
|
398
|
+
The key of the tag
|
|
399
|
+
"""
|
|
400
|
+
return pulumi.get(self, "tag_key")
|
|
401
|
+
|
|
402
|
+
@_builtins.property
|
|
403
|
+
@pulumi.getter(name="tagValue")
|
|
404
|
+
def tag_value(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
405
|
+
"""
|
|
406
|
+
The value of the tag
|
|
407
|
+
"""
|
|
408
|
+
return pulumi.get(self, "tag_value")
|
|
409
|
+
|