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
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -14,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
14
13
|
else:
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetDirectoryResult',
|
|
@@ -27,7 +28,7 @@ class GetDirectoryResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getDirectory.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, id=None, object_id=None, path=None, workspace_path=None):
|
|
31
|
+
def __init__(__self__, id=None, object_id=None, path=None, provider_config=None, workspace_path=None):
|
|
31
32
|
if id and not isinstance(id, str):
|
|
32
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
34
|
pulumi.set(__self__, "id", id)
|
|
@@ -37,31 +38,39 @@ class GetDirectoryResult:
|
|
|
37
38
|
if path and not isinstance(path, str):
|
|
38
39
|
raise TypeError("Expected argument 'path' to be a str")
|
|
39
40
|
pulumi.set(__self__, "path", path)
|
|
41
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
42
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
40
44
|
if workspace_path and not isinstance(workspace_path, str):
|
|
41
45
|
raise TypeError("Expected argument 'workspace_path' to be a str")
|
|
42
46
|
pulumi.set(__self__, "workspace_path", workspace_path)
|
|
43
47
|
|
|
44
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
45
49
|
@pulumi.getter
|
|
46
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
47
51
|
return pulumi.get(self, "id")
|
|
48
52
|
|
|
49
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
50
54
|
@pulumi.getter(name="objectId")
|
|
51
|
-
def object_id(self) ->
|
|
55
|
+
def object_id(self) -> _builtins.int:
|
|
52
56
|
"""
|
|
53
57
|
directory object ID
|
|
54
58
|
"""
|
|
55
59
|
return pulumi.get(self, "object_id")
|
|
56
60
|
|
|
57
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
58
62
|
@pulumi.getter
|
|
59
|
-
def path(self) ->
|
|
63
|
+
def path(self) -> _builtins.str:
|
|
60
64
|
return pulumi.get(self, "path")
|
|
61
65
|
|
|
62
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter(name="providerConfig")
|
|
68
|
+
def provider_config(self) -> Optional['outputs.GetDirectoryProviderConfigResult']:
|
|
69
|
+
return pulumi.get(self, "provider_config")
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
63
72
|
@pulumi.getter(name="workspacePath")
|
|
64
|
-
def workspace_path(self) ->
|
|
73
|
+
def workspace_path(self) -> _builtins.str:
|
|
65
74
|
"""
|
|
66
75
|
path on Workspace File System (WSFS) in form of `/Workspace` + `path`
|
|
67
76
|
"""
|
|
@@ -77,13 +86,15 @@ class AwaitableGetDirectoryResult(GetDirectoryResult):
|
|
|
77
86
|
id=self.id,
|
|
78
87
|
object_id=self.object_id,
|
|
79
88
|
path=self.path,
|
|
89
|
+
provider_config=self.provider_config,
|
|
80
90
|
workspace_path=self.workspace_path)
|
|
81
91
|
|
|
82
92
|
|
|
83
|
-
def get_directory(id: Optional[
|
|
84
|
-
object_id: Optional[
|
|
85
|
-
path: Optional[
|
|
86
|
-
|
|
93
|
+
def get_directory(id: Optional[_builtins.str] = None,
|
|
94
|
+
object_id: Optional[_builtins.int] = None,
|
|
95
|
+
path: Optional[_builtins.str] = None,
|
|
96
|
+
provider_config: Optional[Union['GetDirectoryProviderConfigArgs', 'GetDirectoryProviderConfigArgsDict']] = None,
|
|
97
|
+
workspace_path: Optional[_builtins.str] = None,
|
|
87
98
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDirectoryResult:
|
|
88
99
|
"""
|
|
89
100
|
This data source allows to get information about a directory in a Databricks Workspace.
|
|
@@ -100,14 +111,16 @@ def get_directory(id: Optional[builtins.str] = None,
|
|
|
100
111
|
```
|
|
101
112
|
|
|
102
113
|
|
|
103
|
-
:param
|
|
104
|
-
:param
|
|
105
|
-
:param
|
|
114
|
+
:param _builtins.int object_id: directory object ID
|
|
115
|
+
:param _builtins.str path: Path to a directory in the workspace
|
|
116
|
+
:param Union['GetDirectoryProviderConfigArgs', 'GetDirectoryProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
117
|
+
:param _builtins.str workspace_path: path on Workspace File System (WSFS) in form of `/Workspace` + `path`
|
|
106
118
|
"""
|
|
107
119
|
__args__ = dict()
|
|
108
120
|
__args__['id'] = id
|
|
109
121
|
__args__['objectId'] = object_id
|
|
110
122
|
__args__['path'] = path
|
|
123
|
+
__args__['providerConfig'] = provider_config
|
|
111
124
|
__args__['workspacePath'] = workspace_path
|
|
112
125
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
113
126
|
__ret__ = pulumi.runtime.invoke('databricks:index/getDirectory:getDirectory', __args__, opts=opts, typ=GetDirectoryResult).value
|
|
@@ -116,11 +129,13 @@ def get_directory(id: Optional[builtins.str] = None,
|
|
|
116
129
|
id=pulumi.get(__ret__, 'id'),
|
|
117
130
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
118
131
|
path=pulumi.get(__ret__, 'path'),
|
|
132
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
119
133
|
workspace_path=pulumi.get(__ret__, 'workspace_path'))
|
|
120
|
-
def get_directory_output(id: Optional[pulumi.Input[Optional[
|
|
121
|
-
object_id: Optional[pulumi.Input[Optional[
|
|
122
|
-
path: Optional[pulumi.Input[
|
|
123
|
-
|
|
134
|
+
def get_directory_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
135
|
+
object_id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
136
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
137
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetDirectoryProviderConfigArgs', 'GetDirectoryProviderConfigArgsDict']]]] = None,
|
|
138
|
+
workspace_path: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
124
139
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDirectoryResult]:
|
|
125
140
|
"""
|
|
126
141
|
This data source allows to get information about a directory in a Databricks Workspace.
|
|
@@ -137,14 +152,16 @@ def get_directory_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = No
|
|
|
137
152
|
```
|
|
138
153
|
|
|
139
154
|
|
|
140
|
-
:param
|
|
141
|
-
:param
|
|
142
|
-
:param
|
|
155
|
+
:param _builtins.int object_id: directory object ID
|
|
156
|
+
:param _builtins.str path: Path to a directory in the workspace
|
|
157
|
+
:param Union['GetDirectoryProviderConfigArgs', 'GetDirectoryProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
158
|
+
:param _builtins.str workspace_path: path on Workspace File System (WSFS) in form of `/Workspace` + `path`
|
|
143
159
|
"""
|
|
144
160
|
__args__ = dict()
|
|
145
161
|
__args__['id'] = id
|
|
146
162
|
__args__['objectId'] = object_id
|
|
147
163
|
__args__['path'] = path
|
|
164
|
+
__args__['providerConfig'] = provider_config
|
|
148
165
|
__args__['workspacePath'] = workspace_path
|
|
149
166
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
150
167
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getDirectory:getDirectory', __args__, opts=opts, typ=GetDirectoryResult)
|
|
@@ -152,4 +169,5 @@ def get_directory_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = No
|
|
|
152
169
|
id=pulumi.get(__response__, 'id'),
|
|
153
170
|
object_id=pulumi.get(__response__, 'object_id'),
|
|
154
171
|
path=pulumi.get(__response__, 'path'),
|
|
172
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
155
173
|
workspace_path=pulumi.get(__response__, 'workspace_path')))
|
|
@@ -0,0 +1,202 @@
|
|
|
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__ = [
|
|
18
|
+
'GetEntityTagAssignmentResult',
|
|
19
|
+
'AwaitableGetEntityTagAssignmentResult',
|
|
20
|
+
'get_entity_tag_assignment',
|
|
21
|
+
'get_entity_tag_assignment_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetEntityTagAssignmentResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getEntityTagAssignment.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, entity_name=None, entity_type=None, id=None, tag_key=None, tag_value=None):
|
|
30
|
+
if entity_name and not isinstance(entity_name, str):
|
|
31
|
+
raise TypeError("Expected argument 'entity_name' to be a str")
|
|
32
|
+
pulumi.set(__self__, "entity_name", entity_name)
|
|
33
|
+
if entity_type and not isinstance(entity_type, str):
|
|
34
|
+
raise TypeError("Expected argument 'entity_type' to be a str")
|
|
35
|
+
pulumi.set(__self__, "entity_type", entity_type)
|
|
36
|
+
if id and not isinstance(id, str):
|
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
38
|
+
pulumi.set(__self__, "id", id)
|
|
39
|
+
if tag_key and not isinstance(tag_key, str):
|
|
40
|
+
raise TypeError("Expected argument 'tag_key' to be a str")
|
|
41
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
|
42
|
+
if tag_value and not isinstance(tag_value, str):
|
|
43
|
+
raise TypeError("Expected argument 'tag_value' to be a str")
|
|
44
|
+
pulumi.set(__self__, "tag_value", tag_value)
|
|
45
|
+
|
|
46
|
+
@_builtins.property
|
|
47
|
+
@pulumi.getter(name="entityName")
|
|
48
|
+
def entity_name(self) -> _builtins.str:
|
|
49
|
+
"""
|
|
50
|
+
(string) - The fully qualified name of the entity to which the tag is assigned
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "entity_name")
|
|
53
|
+
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter(name="entityType")
|
|
56
|
+
def entity_type(self) -> _builtins.str:
|
|
57
|
+
"""
|
|
58
|
+
(string) - The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "entity_type")
|
|
61
|
+
|
|
62
|
+
@_builtins.property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def id(self) -> _builtins.str:
|
|
65
|
+
"""
|
|
66
|
+
The provider-assigned unique ID for this managed resource.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "id")
|
|
69
|
+
|
|
70
|
+
@_builtins.property
|
|
71
|
+
@pulumi.getter(name="tagKey")
|
|
72
|
+
def tag_key(self) -> _builtins.str:
|
|
73
|
+
"""
|
|
74
|
+
(string) - The key of the tag
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "tag_key")
|
|
77
|
+
|
|
78
|
+
@_builtins.property
|
|
79
|
+
@pulumi.getter(name="tagValue")
|
|
80
|
+
def tag_value(self) -> _builtins.str:
|
|
81
|
+
"""
|
|
82
|
+
(string) - The value of the tag
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "tag_value")
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class AwaitableGetEntityTagAssignmentResult(GetEntityTagAssignmentResult):
|
|
88
|
+
# pylint: disable=using-constant-test
|
|
89
|
+
def __await__(self):
|
|
90
|
+
if False:
|
|
91
|
+
yield self
|
|
92
|
+
return GetEntityTagAssignmentResult(
|
|
93
|
+
entity_name=self.entity_name,
|
|
94
|
+
entity_type=self.entity_type,
|
|
95
|
+
id=self.id,
|
|
96
|
+
tag_key=self.tag_key,
|
|
97
|
+
tag_value=self.tag_value)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def get_entity_tag_assignment(entity_name: Optional[_builtins.str] = None,
|
|
101
|
+
entity_type: Optional[_builtins.str] = None,
|
|
102
|
+
tag_key: Optional[_builtins.str] = None,
|
|
103
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityTagAssignmentResult:
|
|
104
|
+
"""
|
|
105
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
106
|
+
|
|
107
|
+
This data source allows you to get information about a tag assignment for a specific entity using the entity type, entity name, and tag key.
|
|
108
|
+
|
|
109
|
+
## Example Usage
|
|
110
|
+
|
|
111
|
+
### Get environment tag from a catalog
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
import pulumi
|
|
115
|
+
import pulumi_databricks as databricks
|
|
116
|
+
|
|
117
|
+
catalog_tag = databricks.get_entity_tag_assignment(entity_type="catalogs",
|
|
118
|
+
entity_name="production_catalog",
|
|
119
|
+
tag_key="environment")
|
|
120
|
+
schema_tag = databricks.get_entity_tag_assignment(entity_type="schemas",
|
|
121
|
+
entity_name="production_catalog.analytics_data",
|
|
122
|
+
tag_key="cost_center")
|
|
123
|
+
table_tag = databricks.get_entity_tag_assignment(entity_type="tables",
|
|
124
|
+
entity_name="production_catalog.sales_data.customer_orders",
|
|
125
|
+
tag_key="owner")
|
|
126
|
+
column_tag = databricks.get_entity_tag_assignment(entity_type="columns",
|
|
127
|
+
entity_name="production_catalog.customer_data.users.email_address",
|
|
128
|
+
tag_key="pii_classification")
|
|
129
|
+
volume_tag = databricks.get_entity_tag_assignment(entity_type="volumes",
|
|
130
|
+
entity_name="production_catalog.raw_data.landing_zone",
|
|
131
|
+
tag_key="purpose")
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param _builtins.str entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
136
|
+
:param _builtins.str entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
137
|
+
:param _builtins.str tag_key: The key of the tag
|
|
138
|
+
"""
|
|
139
|
+
__args__ = dict()
|
|
140
|
+
__args__['entityName'] = entity_name
|
|
141
|
+
__args__['entityType'] = entity_type
|
|
142
|
+
__args__['tagKey'] = tag_key
|
|
143
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
144
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getEntityTagAssignment:getEntityTagAssignment', __args__, opts=opts, typ=GetEntityTagAssignmentResult).value
|
|
145
|
+
|
|
146
|
+
return AwaitableGetEntityTagAssignmentResult(
|
|
147
|
+
entity_name=pulumi.get(__ret__, 'entity_name'),
|
|
148
|
+
entity_type=pulumi.get(__ret__, 'entity_type'),
|
|
149
|
+
id=pulumi.get(__ret__, 'id'),
|
|
150
|
+
tag_key=pulumi.get(__ret__, 'tag_key'),
|
|
151
|
+
tag_value=pulumi.get(__ret__, 'tag_value'))
|
|
152
|
+
def get_entity_tag_assignment_output(entity_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
153
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
154
|
+
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
155
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEntityTagAssignmentResult]:
|
|
156
|
+
"""
|
|
157
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
158
|
+
|
|
159
|
+
This data source allows you to get information about a tag assignment for a specific entity using the entity type, entity name, and tag key.
|
|
160
|
+
|
|
161
|
+
## Example Usage
|
|
162
|
+
|
|
163
|
+
### Get environment tag from a catalog
|
|
164
|
+
|
|
165
|
+
```python
|
|
166
|
+
import pulumi
|
|
167
|
+
import pulumi_databricks as databricks
|
|
168
|
+
|
|
169
|
+
catalog_tag = databricks.get_entity_tag_assignment(entity_type="catalogs",
|
|
170
|
+
entity_name="production_catalog",
|
|
171
|
+
tag_key="environment")
|
|
172
|
+
schema_tag = databricks.get_entity_tag_assignment(entity_type="schemas",
|
|
173
|
+
entity_name="production_catalog.analytics_data",
|
|
174
|
+
tag_key="cost_center")
|
|
175
|
+
table_tag = databricks.get_entity_tag_assignment(entity_type="tables",
|
|
176
|
+
entity_name="production_catalog.sales_data.customer_orders",
|
|
177
|
+
tag_key="owner")
|
|
178
|
+
column_tag = databricks.get_entity_tag_assignment(entity_type="columns",
|
|
179
|
+
entity_name="production_catalog.customer_data.users.email_address",
|
|
180
|
+
tag_key="pii_classification")
|
|
181
|
+
volume_tag = databricks.get_entity_tag_assignment(entity_type="volumes",
|
|
182
|
+
entity_name="production_catalog.raw_data.landing_zone",
|
|
183
|
+
tag_key="purpose")
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
:param _builtins.str entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
188
|
+
:param _builtins.str entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
189
|
+
:param _builtins.str tag_key: The key of the tag
|
|
190
|
+
"""
|
|
191
|
+
__args__ = dict()
|
|
192
|
+
__args__['entityName'] = entity_name
|
|
193
|
+
__args__['entityType'] = entity_type
|
|
194
|
+
__args__['tagKey'] = tag_key
|
|
195
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
196
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getEntityTagAssignment:getEntityTagAssignment', __args__, opts=opts, typ=GetEntityTagAssignmentResult)
|
|
197
|
+
return __ret__.apply(lambda __response__: GetEntityTagAssignmentResult(
|
|
198
|
+
entity_name=pulumi.get(__response__, 'entity_name'),
|
|
199
|
+
entity_type=pulumi.get(__response__, 'entity_type'),
|
|
200
|
+
id=pulumi.get(__response__, 'id'),
|
|
201
|
+
tag_key=pulumi.get(__response__, 'tag_key'),
|
|
202
|
+
tag_value=pulumi.get(__response__, 'tag_value')))
|
|
@@ -0,0 +1,187 @@
|
|
|
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
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetEntityTagAssignmentsResult',
|
|
20
|
+
'AwaitableGetEntityTagAssignmentsResult',
|
|
21
|
+
'get_entity_tag_assignments',
|
|
22
|
+
'get_entity_tag_assignments_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetEntityTagAssignmentsResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getEntityTagAssignments.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, entity_name=None, entity_type=None, id=None, max_results=None, tag_assignments=None):
|
|
31
|
+
if entity_name and not isinstance(entity_name, str):
|
|
32
|
+
raise TypeError("Expected argument 'entity_name' to be a str")
|
|
33
|
+
pulumi.set(__self__, "entity_name", entity_name)
|
|
34
|
+
if entity_type and not isinstance(entity_type, str):
|
|
35
|
+
raise TypeError("Expected argument 'entity_type' to be a str")
|
|
36
|
+
pulumi.set(__self__, "entity_type", entity_type)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if max_results and not isinstance(max_results, int):
|
|
41
|
+
raise TypeError("Expected argument 'max_results' to be a int")
|
|
42
|
+
pulumi.set(__self__, "max_results", max_results)
|
|
43
|
+
if tag_assignments and not isinstance(tag_assignments, list):
|
|
44
|
+
raise TypeError("Expected argument 'tag_assignments' to be a list")
|
|
45
|
+
pulumi.set(__self__, "tag_assignments", tag_assignments)
|
|
46
|
+
|
|
47
|
+
@_builtins.property
|
|
48
|
+
@pulumi.getter(name="entityName")
|
|
49
|
+
def entity_name(self) -> _builtins.str:
|
|
50
|
+
"""
|
|
51
|
+
(string) - The fully qualified name of the entity to which the tag is assigned
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "entity_name")
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter(name="entityType")
|
|
57
|
+
def entity_type(self) -> _builtins.str:
|
|
58
|
+
"""
|
|
59
|
+
(string) - The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "entity_type")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter
|
|
65
|
+
def id(self) -> _builtins.str:
|
|
66
|
+
"""
|
|
67
|
+
The provider-assigned unique ID for this managed resource.
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "id")
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter(name="maxResults")
|
|
73
|
+
def max_results(self) -> Optional[_builtins.int]:
|
|
74
|
+
return pulumi.get(self, "max_results")
|
|
75
|
+
|
|
76
|
+
@_builtins.property
|
|
77
|
+
@pulumi.getter(name="tagAssignments")
|
|
78
|
+
def tag_assignments(self) -> Sequence['outputs.GetEntityTagAssignmentsTagAssignmentResult']:
|
|
79
|
+
return pulumi.get(self, "tag_assignments")
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class AwaitableGetEntityTagAssignmentsResult(GetEntityTagAssignmentsResult):
|
|
83
|
+
# pylint: disable=using-constant-test
|
|
84
|
+
def __await__(self):
|
|
85
|
+
if False:
|
|
86
|
+
yield self
|
|
87
|
+
return GetEntityTagAssignmentsResult(
|
|
88
|
+
entity_name=self.entity_name,
|
|
89
|
+
entity_type=self.entity_type,
|
|
90
|
+
id=self.id,
|
|
91
|
+
max_results=self.max_results,
|
|
92
|
+
tag_assignments=self.tag_assignments)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def get_entity_tag_assignments(entity_name: Optional[_builtins.str] = None,
|
|
96
|
+
entity_type: Optional[_builtins.str] = None,
|
|
97
|
+
max_results: Optional[_builtins.int] = None,
|
|
98
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityTagAssignmentsResult:
|
|
99
|
+
"""
|
|
100
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
101
|
+
|
|
102
|
+
This data source allows you to retrieve tag assignments that have been applied to a particular entity in Unity Catalog.
|
|
103
|
+
|
|
104
|
+
## Example Usage
|
|
105
|
+
|
|
106
|
+
### Get all tag assignments for a catalog
|
|
107
|
+
|
|
108
|
+
```python
|
|
109
|
+
import pulumi
|
|
110
|
+
import pulumi_databricks as databricks
|
|
111
|
+
|
|
112
|
+
catalog_tags = databricks.get_entity_tag_assignments(entity_type="catalogs",
|
|
113
|
+
entity_name="production_catalog")
|
|
114
|
+
schema_tags = databricks.get_entity_tag_assignments(entity_type="schemas",
|
|
115
|
+
entity_name="production_catalog.sales_data")
|
|
116
|
+
table_tags = databricks.get_entity_tag_assignments(entity_type="tables",
|
|
117
|
+
entity_name="production_catalog.sales_data.customer_orders")
|
|
118
|
+
column_tags = databricks.get_entity_tag_assignments(entity_type="columns",
|
|
119
|
+
entity_name="production_catalog.customer_data.users.email_address")
|
|
120
|
+
volume_tags = databricks.get_entity_tag_assignments(entity_type="volumes",
|
|
121
|
+
entity_name="production_catalog.raw_data.landing_zone")
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:param _builtins.str entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
126
|
+
:param _builtins.str entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
127
|
+
:param _builtins.int max_results: Optional. Maximum number of tag assignments to return in a single page
|
|
128
|
+
"""
|
|
129
|
+
__args__ = dict()
|
|
130
|
+
__args__['entityName'] = entity_name
|
|
131
|
+
__args__['entityType'] = entity_type
|
|
132
|
+
__args__['maxResults'] = max_results
|
|
133
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
134
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getEntityTagAssignments:getEntityTagAssignments', __args__, opts=opts, typ=GetEntityTagAssignmentsResult).value
|
|
135
|
+
|
|
136
|
+
return AwaitableGetEntityTagAssignmentsResult(
|
|
137
|
+
entity_name=pulumi.get(__ret__, 'entity_name'),
|
|
138
|
+
entity_type=pulumi.get(__ret__, 'entity_type'),
|
|
139
|
+
id=pulumi.get(__ret__, 'id'),
|
|
140
|
+
max_results=pulumi.get(__ret__, 'max_results'),
|
|
141
|
+
tag_assignments=pulumi.get(__ret__, 'tag_assignments'))
|
|
142
|
+
def get_entity_tag_assignments_output(entity_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
143
|
+
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
144
|
+
max_results: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
145
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEntityTagAssignmentsResult]:
|
|
146
|
+
"""
|
|
147
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
148
|
+
|
|
149
|
+
This data source allows you to retrieve tag assignments that have been applied to a particular entity in Unity Catalog.
|
|
150
|
+
|
|
151
|
+
## Example Usage
|
|
152
|
+
|
|
153
|
+
### Get all tag assignments for a catalog
|
|
154
|
+
|
|
155
|
+
```python
|
|
156
|
+
import pulumi
|
|
157
|
+
import pulumi_databricks as databricks
|
|
158
|
+
|
|
159
|
+
catalog_tags = databricks.get_entity_tag_assignments(entity_type="catalogs",
|
|
160
|
+
entity_name="production_catalog")
|
|
161
|
+
schema_tags = databricks.get_entity_tag_assignments(entity_type="schemas",
|
|
162
|
+
entity_name="production_catalog.sales_data")
|
|
163
|
+
table_tags = databricks.get_entity_tag_assignments(entity_type="tables",
|
|
164
|
+
entity_name="production_catalog.sales_data.customer_orders")
|
|
165
|
+
column_tags = databricks.get_entity_tag_assignments(entity_type="columns",
|
|
166
|
+
entity_name="production_catalog.customer_data.users.email_address")
|
|
167
|
+
volume_tags = databricks.get_entity_tag_assignments(entity_type="volumes",
|
|
168
|
+
entity_name="production_catalog.raw_data.landing_zone")
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
:param _builtins.str entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
173
|
+
:param _builtins.str entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
174
|
+
:param _builtins.int max_results: Optional. Maximum number of tag assignments to return in a single page
|
|
175
|
+
"""
|
|
176
|
+
__args__ = dict()
|
|
177
|
+
__args__['entityName'] = entity_name
|
|
178
|
+
__args__['entityType'] = entity_type
|
|
179
|
+
__args__['maxResults'] = max_results
|
|
180
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
181
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getEntityTagAssignments:getEntityTagAssignments', __args__, opts=opts, typ=GetEntityTagAssignmentsResult)
|
|
182
|
+
return __ret__.apply(lambda __response__: GetEntityTagAssignmentsResult(
|
|
183
|
+
entity_name=pulumi.get(__response__, 'entity_name'),
|
|
184
|
+
entity_type=pulumi.get(__response__, 'entity_type'),
|
|
185
|
+
id=pulumi.get(__response__, 'id'),
|
|
186
|
+
max_results=pulumi.get(__response__, 'max_results'),
|
|
187
|
+
tag_assignments=pulumi.get(__response__, 'tag_assignments')))
|