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
|
|
@@ -47,37 +46,37 @@ class GetCurrentConfigResult:
|
|
|
47
46
|
raise TypeError("Expected argument 'is_account' to be a bool")
|
|
48
47
|
pulumi.set(__self__, "is_account", is_account)
|
|
49
48
|
|
|
50
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
51
50
|
@pulumi.getter(name="accountId")
|
|
52
|
-
def account_id(self) ->
|
|
51
|
+
def account_id(self) -> _builtins.str:
|
|
53
52
|
return pulumi.get(self, "account_id")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter(name="authType")
|
|
57
|
-
def auth_type(self) ->
|
|
56
|
+
def auth_type(self) -> _builtins.str:
|
|
58
57
|
return pulumi.get(self, "auth_type")
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter(name="cloudType")
|
|
62
|
-
def cloud_type(self) ->
|
|
61
|
+
def cloud_type(self) -> _builtins.str:
|
|
63
62
|
return pulumi.get(self, "cloud_type")
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter
|
|
67
|
-
def host(self) ->
|
|
66
|
+
def host(self) -> _builtins.str:
|
|
68
67
|
return pulumi.get(self, "host")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
|
-
def id(self) ->
|
|
71
|
+
def id(self) -> _builtins.str:
|
|
73
72
|
"""
|
|
74
73
|
The provider-assigned unique ID for this managed resource.
|
|
75
74
|
"""
|
|
76
75
|
return pulumi.get(self, "id")
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter(name="isAccount")
|
|
80
|
-
def is_account(self) ->
|
|
79
|
+
def is_account(self) -> _builtins.bool:
|
|
81
80
|
return pulumi.get(self, "is_account")
|
|
82
81
|
|
|
83
82
|
|
|
@@ -95,11 +94,11 @@ class AwaitableGetCurrentConfigResult(GetCurrentConfigResult):
|
|
|
95
94
|
is_account=self.is_account)
|
|
96
95
|
|
|
97
96
|
|
|
98
|
-
def get_current_config(account_id: Optional[
|
|
99
|
-
auth_type: Optional[
|
|
100
|
-
cloud_type: Optional[
|
|
101
|
-
host: Optional[
|
|
102
|
-
is_account: Optional[
|
|
97
|
+
def get_current_config(account_id: Optional[_builtins.str] = None,
|
|
98
|
+
auth_type: Optional[_builtins.str] = None,
|
|
99
|
+
cloud_type: Optional[_builtins.str] = None,
|
|
100
|
+
host: Optional[_builtins.str] = None,
|
|
101
|
+
is_account: Optional[_builtins.bool] = None,
|
|
103
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCurrentConfigResult:
|
|
104
103
|
"""
|
|
105
104
|
Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
|
|
@@ -174,11 +173,11 @@ def get_current_config(account_id: Optional[builtins.str] = None,
|
|
|
174
173
|
host=pulumi.get(__ret__, 'host'),
|
|
175
174
|
id=pulumi.get(__ret__, 'id'),
|
|
176
175
|
is_account=pulumi.get(__ret__, 'is_account'))
|
|
177
|
-
def get_current_config_output(account_id: Optional[pulumi.Input[Optional[
|
|
178
|
-
auth_type: Optional[pulumi.Input[Optional[
|
|
179
|
-
cloud_type: Optional[pulumi.Input[Optional[
|
|
180
|
-
host: Optional[pulumi.Input[Optional[
|
|
181
|
-
is_account: Optional[pulumi.Input[Optional[
|
|
176
|
+
def get_current_config_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
177
|
+
auth_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
178
|
+
cloud_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
179
|
+
host: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
180
|
+
is_account: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
182
181
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCurrentConfigResult]:
|
|
183
182
|
"""
|
|
184
183
|
Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
|
|
@@ -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
|
|
@@ -29,23 +28,26 @@ class GetCurrentMetastoreResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getCurrentMetastore.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, id=None, metastore_info=None):
|
|
31
|
+
def __init__(__self__, id=None, metastore_info=None, provider_config=None):
|
|
33
32
|
if id and not isinstance(id, str):
|
|
34
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
35
34
|
pulumi.set(__self__, "id", id)
|
|
36
35
|
if metastore_info and not isinstance(metastore_info, dict):
|
|
37
36
|
raise TypeError("Expected argument 'metastore_info' to be a dict")
|
|
38
37
|
pulumi.set(__self__, "metastore_info", metastore_info)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
39
41
|
|
|
40
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
41
43
|
@pulumi.getter
|
|
42
|
-
def id(self) ->
|
|
44
|
+
def id(self) -> _builtins.str:
|
|
43
45
|
"""
|
|
44
46
|
metastore ID. Will be `no_metastore` if there is no metastore assigned for the current workspace
|
|
45
47
|
"""
|
|
46
48
|
return pulumi.get(self, "id")
|
|
47
49
|
|
|
48
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
49
51
|
@pulumi.getter(name="metastoreInfo")
|
|
50
52
|
def metastore_info(self) -> 'outputs.GetCurrentMetastoreMetastoreInfoResult':
|
|
51
53
|
"""
|
|
@@ -53,6 +55,11 @@ class GetCurrentMetastoreResult:
|
|
|
53
55
|
"""
|
|
54
56
|
return pulumi.get(self, "metastore_info")
|
|
55
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetCurrentMetastoreProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
56
63
|
|
|
57
64
|
class AwaitableGetCurrentMetastoreResult(GetCurrentMetastoreResult):
|
|
58
65
|
# pylint: disable=using-constant-test
|
|
@@ -61,11 +68,13 @@ class AwaitableGetCurrentMetastoreResult(GetCurrentMetastoreResult):
|
|
|
61
68
|
yield self
|
|
62
69
|
return GetCurrentMetastoreResult(
|
|
63
70
|
id=self.id,
|
|
64
|
-
metastore_info=self.metastore_info
|
|
71
|
+
metastore_info=self.metastore_info,
|
|
72
|
+
provider_config=self.provider_config)
|
|
65
73
|
|
|
66
74
|
|
|
67
|
-
def get_current_metastore(id: Optional[
|
|
75
|
+
def get_current_metastore(id: Optional[_builtins.str] = None,
|
|
68
76
|
metastore_info: Optional[Union['GetCurrentMetastoreMetastoreInfoArgs', 'GetCurrentMetastoreMetastoreInfoArgsDict']] = None,
|
|
77
|
+
provider_config: Optional[Union['GetCurrentMetastoreProviderConfigArgs', 'GetCurrentMetastoreProviderConfigArgsDict']] = None,
|
|
69
78
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCurrentMetastoreResult:
|
|
70
79
|
"""
|
|
71
80
|
Retrieves information about metastore attached to a given workspace.
|
|
@@ -94,20 +103,24 @@ def get_current_metastore(id: Optional[builtins.str] = None,
|
|
|
94
103
|
* Catalog to manage catalogs within Unity Catalog.
|
|
95
104
|
|
|
96
105
|
|
|
97
|
-
:param
|
|
106
|
+
:param _builtins.str id: metastore ID. Will be `no_metastore` if there is no metastore assigned for the current workspace
|
|
98
107
|
:param Union['GetCurrentMetastoreMetastoreInfoArgs', 'GetCurrentMetastoreMetastoreInfoArgsDict'] metastore_info: summary about a metastore attached to the current workspace returned by [Get a metastore summary API](https://docs.databricks.com/api/workspace/metastores/summary). This contains the following attributes (check the API page for up-to-date details):
|
|
108
|
+
:param Union['GetCurrentMetastoreProviderConfigArgs', 'GetCurrentMetastoreProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
99
109
|
"""
|
|
100
110
|
__args__ = dict()
|
|
101
111
|
__args__['id'] = id
|
|
102
112
|
__args__['metastoreInfo'] = metastore_info
|
|
113
|
+
__args__['providerConfig'] = provider_config
|
|
103
114
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
104
115
|
__ret__ = pulumi.runtime.invoke('databricks:index/getCurrentMetastore:getCurrentMetastore', __args__, opts=opts, typ=GetCurrentMetastoreResult).value
|
|
105
116
|
|
|
106
117
|
return AwaitableGetCurrentMetastoreResult(
|
|
107
118
|
id=pulumi.get(__ret__, 'id'),
|
|
108
|
-
metastore_info=pulumi.get(__ret__, 'metastore_info')
|
|
109
|
-
|
|
119
|
+
metastore_info=pulumi.get(__ret__, 'metastore_info'),
|
|
120
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
121
|
+
def get_current_metastore_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
110
122
|
metastore_info: Optional[pulumi.Input[Optional[Union['GetCurrentMetastoreMetastoreInfoArgs', 'GetCurrentMetastoreMetastoreInfoArgsDict']]]] = None,
|
|
123
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetCurrentMetastoreProviderConfigArgs', 'GetCurrentMetastoreProviderConfigArgsDict']]]] = None,
|
|
111
124
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCurrentMetastoreResult]:
|
|
112
125
|
"""
|
|
113
126
|
Retrieves information about metastore attached to a given workspace.
|
|
@@ -136,14 +149,17 @@ def get_current_metastore_output(id: Optional[pulumi.Input[Optional[builtins.str
|
|
|
136
149
|
* Catalog to manage catalogs within Unity Catalog.
|
|
137
150
|
|
|
138
151
|
|
|
139
|
-
:param
|
|
152
|
+
:param _builtins.str id: metastore ID. Will be `no_metastore` if there is no metastore assigned for the current workspace
|
|
140
153
|
:param Union['GetCurrentMetastoreMetastoreInfoArgs', 'GetCurrentMetastoreMetastoreInfoArgsDict'] metastore_info: summary about a metastore attached to the current workspace returned by [Get a metastore summary API](https://docs.databricks.com/api/workspace/metastores/summary). This contains the following attributes (check the API page for up-to-date details):
|
|
154
|
+
:param Union['GetCurrentMetastoreProviderConfigArgs', 'GetCurrentMetastoreProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
141
155
|
"""
|
|
142
156
|
__args__ = dict()
|
|
143
157
|
__args__['id'] = id
|
|
144
158
|
__args__['metastoreInfo'] = metastore_info
|
|
159
|
+
__args__['providerConfig'] = provider_config
|
|
145
160
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
146
161
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getCurrentMetastore:getCurrentMetastore', __args__, opts=opts, typ=GetCurrentMetastoreResult)
|
|
147
162
|
return __ret__.apply(lambda __response__: GetCurrentMetastoreResult(
|
|
148
163
|
id=pulumi.get(__response__, 'id'),
|
|
149
|
-
metastore_info=pulumi.get(__response__, 'metastore_info')
|
|
164
|
+
metastore_info=pulumi.get(__response__, 'metastore_info'),
|
|
165
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -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
|
|
@@ -53,47 +52,47 @@ class GetCurrentUserResult:
|
|
|
53
52
|
raise TypeError("Expected argument 'workspace_url' to be a str")
|
|
54
53
|
pulumi.set(__self__, "workspace_url", workspace_url)
|
|
55
54
|
|
|
56
|
-
@property
|
|
55
|
+
@_builtins.property
|
|
57
56
|
@pulumi.getter(name="aclPrincipalId")
|
|
58
|
-
def acl_principal_id(self) ->
|
|
57
|
+
def acl_principal_id(self) -> _builtins.str:
|
|
59
58
|
return pulumi.get(self, "acl_principal_id")
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter
|
|
63
|
-
def alphanumeric(self) ->
|
|
62
|
+
def alphanumeric(self) -> _builtins.str:
|
|
64
63
|
return pulumi.get(self, "alphanumeric")
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter(name="externalId")
|
|
68
|
-
def external_id(self) ->
|
|
67
|
+
def external_id(self) -> _builtins.str:
|
|
69
68
|
return pulumi.get(self, "external_id")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def home(self) ->
|
|
72
|
+
def home(self) -> _builtins.str:
|
|
74
73
|
return pulumi.get(self, "home")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter
|
|
78
|
-
def id(self) ->
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
79
78
|
"""
|
|
80
79
|
The provider-assigned unique ID for this managed resource.
|
|
81
80
|
"""
|
|
82
81
|
return pulumi.get(self, "id")
|
|
83
82
|
|
|
84
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
85
84
|
@pulumi.getter
|
|
86
|
-
def repos(self) ->
|
|
85
|
+
def repos(self) -> _builtins.str:
|
|
87
86
|
return pulumi.get(self, "repos")
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter(name="userName")
|
|
91
|
-
def user_name(self) ->
|
|
90
|
+
def user_name(self) -> _builtins.str:
|
|
92
91
|
return pulumi.get(self, "user_name")
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter(name="workspaceUrl")
|
|
96
|
-
def workspace_url(self) ->
|
|
95
|
+
def workspace_url(self) -> _builtins.str:
|
|
97
96
|
return pulumi.get(self, "workspace_url")
|
|
98
97
|
|
|
99
98
|
|
|
@@ -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
|
|
@@ -15,6 +14,7 @@ else:
|
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
17
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
18
|
|
|
19
19
|
__all__ = [
|
|
20
20
|
'GetDashboardsResult',
|
|
@@ -28,7 +28,7 @@ class GetDashboardsResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getDashboards.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, dashboard_name_contains=None, dashboards=None, id=None):
|
|
31
|
+
def __init__(__self__, dashboard_name_contains=None, dashboards=None, id=None, provider_config=None):
|
|
32
32
|
if dashboard_name_contains and not isinstance(dashboard_name_contains, str):
|
|
33
33
|
raise TypeError("Expected argument 'dashboard_name_contains' to be a str")
|
|
34
34
|
pulumi.set(__self__, "dashboard_name_contains", dashboard_name_contains)
|
|
@@ -38,13 +38,16 @@ class GetDashboardsResult:
|
|
|
38
38
|
if id and not isinstance(id, str):
|
|
39
39
|
raise TypeError("Expected argument 'id' to be a str")
|
|
40
40
|
pulumi.set(__self__, "id", id)
|
|
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)
|
|
41
44
|
|
|
42
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
43
46
|
@pulumi.getter(name="dashboardNameContains")
|
|
44
|
-
def dashboard_name_contains(self) -> Optional[
|
|
47
|
+
def dashboard_name_contains(self) -> Optional[_builtins.str]:
|
|
45
48
|
return pulumi.get(self, "dashboard_name_contains")
|
|
46
49
|
|
|
47
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
48
51
|
@pulumi.getter
|
|
49
52
|
def dashboards(self) -> Sequence['outputs.GetDashboardsDashboardResult']:
|
|
50
53
|
"""
|
|
@@ -52,14 +55,19 @@ class GetDashboardsResult:
|
|
|
52
55
|
"""
|
|
53
56
|
return pulumi.get(self, "dashboards")
|
|
54
57
|
|
|
55
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
56
59
|
@pulumi.getter
|
|
57
|
-
def id(self) ->
|
|
60
|
+
def id(self) -> _builtins.str:
|
|
58
61
|
"""
|
|
59
62
|
The provider-assigned unique ID for this managed resource.
|
|
60
63
|
"""
|
|
61
64
|
return pulumi.get(self, "id")
|
|
62
65
|
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter(name="providerConfig")
|
|
68
|
+
def provider_config(self) -> Optional['outputs.GetDashboardsProviderConfigResult']:
|
|
69
|
+
return pulumi.get(self, "provider_config")
|
|
70
|
+
|
|
63
71
|
|
|
64
72
|
class AwaitableGetDashboardsResult(GetDashboardsResult):
|
|
65
73
|
# pylint: disable=using-constant-test
|
|
@@ -69,43 +77,54 @@ class AwaitableGetDashboardsResult(GetDashboardsResult):
|
|
|
69
77
|
return GetDashboardsResult(
|
|
70
78
|
dashboard_name_contains=self.dashboard_name_contains,
|
|
71
79
|
dashboards=self.dashboards,
|
|
72
|
-
id=self.id
|
|
80
|
+
id=self.id,
|
|
81
|
+
provider_config=self.provider_config)
|
|
73
82
|
|
|
74
83
|
|
|
75
|
-
def get_dashboards(dashboard_name_contains: Optional[
|
|
84
|
+
def get_dashboards(dashboard_name_contains: Optional[_builtins.str] = None,
|
|
85
|
+
provider_config: Optional[Union['GetDashboardsProviderConfigArgs', 'GetDashboardsProviderConfigArgsDict']] = None,
|
|
76
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDashboardsResult:
|
|
77
87
|
"""
|
|
78
88
|
This data source allows you to retrieve information about Databricks [Dashboards](https://docs.databricks.com/en/dashboards/index.html).
|
|
79
89
|
|
|
80
90
|
> This data source can only be used with a workspace-level provider!
|
|
81
91
|
|
|
92
|
+
## Example Usage
|
|
93
|
+
|
|
82
94
|
|
|
83
|
-
:param
|
|
95
|
+
:param _builtins.str dashboard_name_contains: A **case-insensitive** substring to filter Dashboards by their name.
|
|
84
96
|
"""
|
|
85
97
|
__args__ = dict()
|
|
86
98
|
__args__['dashboardNameContains'] = dashboard_name_contains
|
|
99
|
+
__args__['providerConfig'] = provider_config
|
|
87
100
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
88
101
|
__ret__ = pulumi.runtime.invoke('databricks:index/getDashboards:getDashboards', __args__, opts=opts, typ=GetDashboardsResult).value
|
|
89
102
|
|
|
90
103
|
return AwaitableGetDashboardsResult(
|
|
91
104
|
dashboard_name_contains=pulumi.get(__ret__, 'dashboard_name_contains'),
|
|
92
105
|
dashboards=pulumi.get(__ret__, 'dashboards'),
|
|
93
|
-
id=pulumi.get(__ret__, 'id')
|
|
94
|
-
|
|
106
|
+
id=pulumi.get(__ret__, 'id'),
|
|
107
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
108
|
+
def get_dashboards_output(dashboard_name_contains: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
109
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetDashboardsProviderConfigArgs', 'GetDashboardsProviderConfigArgsDict']]]] = None,
|
|
95
110
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDashboardsResult]:
|
|
96
111
|
"""
|
|
97
112
|
This data source allows you to retrieve information about Databricks [Dashboards](https://docs.databricks.com/en/dashboards/index.html).
|
|
98
113
|
|
|
99
114
|
> This data source can only be used with a workspace-level provider!
|
|
100
115
|
|
|
116
|
+
## Example Usage
|
|
117
|
+
|
|
101
118
|
|
|
102
|
-
:param
|
|
119
|
+
:param _builtins.str dashboard_name_contains: A **case-insensitive** substring to filter Dashboards by their name.
|
|
103
120
|
"""
|
|
104
121
|
__args__ = dict()
|
|
105
122
|
__args__['dashboardNameContains'] = dashboard_name_contains
|
|
123
|
+
__args__['providerConfig'] = provider_config
|
|
106
124
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
107
125
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getDashboards:getDashboards', __args__, opts=opts, typ=GetDashboardsResult)
|
|
108
126
|
return __ret__.apply(lambda __response__: GetDashboardsResult(
|
|
109
127
|
dashboard_name_contains=pulumi.get(__response__, 'dashboard_name_contains'),
|
|
110
128
|
dashboards=pulumi.get(__response__, 'dashboards'),
|
|
111
|
-
id=pulumi.get(__response__, 'id')
|
|
129
|
+
id=pulumi.get(__response__, 'id'),
|
|
130
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -0,0 +1,210 @@
|
|
|
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
|
+
'GetDataQualityMonitorResult',
|
|
20
|
+
'AwaitableGetDataQualityMonitorResult',
|
|
21
|
+
'get_data_quality_monitor',
|
|
22
|
+
'get_data_quality_monitor_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetDataQualityMonitorResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getDataQualityMonitor.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, anomaly_detection_config=None, data_profiling_config=None, id=None, object_id=None, object_type=None):
|
|
31
|
+
if anomaly_detection_config and not isinstance(anomaly_detection_config, dict):
|
|
32
|
+
raise TypeError("Expected argument 'anomaly_detection_config' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "anomaly_detection_config", anomaly_detection_config)
|
|
34
|
+
if data_profiling_config and not isinstance(data_profiling_config, dict):
|
|
35
|
+
raise TypeError("Expected argument 'data_profiling_config' to be a dict")
|
|
36
|
+
pulumi.set(__self__, "data_profiling_config", data_profiling_config)
|
|
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 object_id and not isinstance(object_id, str):
|
|
41
|
+
raise TypeError("Expected argument 'object_id' to be a str")
|
|
42
|
+
pulumi.set(__self__, "object_id", object_id)
|
|
43
|
+
if object_type and not isinstance(object_type, str):
|
|
44
|
+
raise TypeError("Expected argument 'object_type' to be a str")
|
|
45
|
+
pulumi.set(__self__, "object_type", object_type)
|
|
46
|
+
|
|
47
|
+
@_builtins.property
|
|
48
|
+
@pulumi.getter(name="anomalyDetectionConfig")
|
|
49
|
+
def anomaly_detection_config(self) -> 'outputs.GetDataQualityMonitorAnomalyDetectionConfigResult':
|
|
50
|
+
"""
|
|
51
|
+
(AnomalyDetectionConfig) - Anomaly Detection Configuration, applicable to `schema` object types
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "anomaly_detection_config")
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter(name="dataProfilingConfig")
|
|
57
|
+
def data_profiling_config(self) -> 'outputs.GetDataQualityMonitorDataProfilingConfigResult':
|
|
58
|
+
"""
|
|
59
|
+
(DataProfilingConfig) - Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
|
|
60
|
+
must be present
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "data_profiling_config")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def id(self) -> _builtins.str:
|
|
67
|
+
"""
|
|
68
|
+
The provider-assigned unique ID for this managed resource.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "id")
|
|
71
|
+
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter(name="objectId")
|
|
74
|
+
def object_id(self) -> _builtins.str:
|
|
75
|
+
"""
|
|
76
|
+
(string) - The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "object_id")
|
|
79
|
+
|
|
80
|
+
@_builtins.property
|
|
81
|
+
@pulumi.getter(name="objectType")
|
|
82
|
+
def object_type(self) -> _builtins.str:
|
|
83
|
+
"""
|
|
84
|
+
(string) - The type of the monitored object. Can be one of the following: `schema` or `table`
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "object_type")
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class AwaitableGetDataQualityMonitorResult(GetDataQualityMonitorResult):
|
|
90
|
+
# pylint: disable=using-constant-test
|
|
91
|
+
def __await__(self):
|
|
92
|
+
if False:
|
|
93
|
+
yield self
|
|
94
|
+
return GetDataQualityMonitorResult(
|
|
95
|
+
anomaly_detection_config=self.anomaly_detection_config,
|
|
96
|
+
data_profiling_config=self.data_profiling_config,
|
|
97
|
+
id=self.id,
|
|
98
|
+
object_id=self.object_id,
|
|
99
|
+
object_type=self.object_type)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def get_data_quality_monitor(object_id: Optional[_builtins.str] = None,
|
|
103
|
+
object_type: Optional[_builtins.str] = None,
|
|
104
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDataQualityMonitorResult:
|
|
105
|
+
"""
|
|
106
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
107
|
+
|
|
108
|
+
This data source can be used to fetch a data quality monitor.
|
|
109
|
+
|
|
110
|
+
For the `table` `object_type`, the caller must either:
|
|
111
|
+
1. be an owner of the table's parent catalog
|
|
112
|
+
2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
113
|
+
3. have the following permissions:
|
|
114
|
+
- **USE_CATALOG** on the table's parent catalog
|
|
115
|
+
- **USE_SCHEMA** on the table's parent schema
|
|
116
|
+
- **SELECT** privilege on the table.
|
|
117
|
+
|
|
118
|
+
> **Note** This data source can only be used with a workspace-level provider!
|
|
119
|
+
|
|
120
|
+
## Example Usage
|
|
121
|
+
|
|
122
|
+
Getting a data quality monitor by Unity Catalog object type (currently supports `schema` and `table`) and object id:
|
|
123
|
+
|
|
124
|
+
```python
|
|
125
|
+
import pulumi
|
|
126
|
+
import pulumi_databricks as databricks
|
|
127
|
+
|
|
128
|
+
this = databricks.get_schema(name="my_catalog.my_schema")
|
|
129
|
+
this_get_data_quality_monitor = databricks.get_data_quality_monitor(object_type="schema",
|
|
130
|
+
object_id=this.schema_info.schema_id)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param _builtins.str object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
135
|
+
|
|
136
|
+
Find the `schema_id` from either:
|
|
137
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
138
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
139
|
+
|
|
140
|
+
Find the `table_id` from either:
|
|
141
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
142
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
143
|
+
:param _builtins.str object_type: The type of the monitored object. Can be one of the following: `schema` or `table`
|
|
144
|
+
"""
|
|
145
|
+
__args__ = dict()
|
|
146
|
+
__args__['objectId'] = object_id
|
|
147
|
+
__args__['objectType'] = object_type
|
|
148
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
149
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getDataQualityMonitor:getDataQualityMonitor', __args__, opts=opts, typ=GetDataQualityMonitorResult).value
|
|
150
|
+
|
|
151
|
+
return AwaitableGetDataQualityMonitorResult(
|
|
152
|
+
anomaly_detection_config=pulumi.get(__ret__, 'anomaly_detection_config'),
|
|
153
|
+
data_profiling_config=pulumi.get(__ret__, 'data_profiling_config'),
|
|
154
|
+
id=pulumi.get(__ret__, 'id'),
|
|
155
|
+
object_id=pulumi.get(__ret__, 'object_id'),
|
|
156
|
+
object_type=pulumi.get(__ret__, 'object_type'))
|
|
157
|
+
def get_data_quality_monitor_output(object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
158
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
159
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDataQualityMonitorResult]:
|
|
160
|
+
"""
|
|
161
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
162
|
+
|
|
163
|
+
This data source can be used to fetch a data quality monitor.
|
|
164
|
+
|
|
165
|
+
For the `table` `object_type`, the caller must either:
|
|
166
|
+
1. be an owner of the table's parent catalog
|
|
167
|
+
2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
168
|
+
3. have the following permissions:
|
|
169
|
+
- **USE_CATALOG** on the table's parent catalog
|
|
170
|
+
- **USE_SCHEMA** on the table's parent schema
|
|
171
|
+
- **SELECT** privilege on the table.
|
|
172
|
+
|
|
173
|
+
> **Note** This data source can only be used with a workspace-level provider!
|
|
174
|
+
|
|
175
|
+
## Example Usage
|
|
176
|
+
|
|
177
|
+
Getting a data quality monitor by Unity Catalog object type (currently supports `schema` and `table`) and object id:
|
|
178
|
+
|
|
179
|
+
```python
|
|
180
|
+
import pulumi
|
|
181
|
+
import pulumi_databricks as databricks
|
|
182
|
+
|
|
183
|
+
this = databricks.get_schema(name="my_catalog.my_schema")
|
|
184
|
+
this_get_data_quality_monitor = databricks.get_data_quality_monitor(object_type="schema",
|
|
185
|
+
object_id=this.schema_info.schema_id)
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param _builtins.str object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
190
|
+
|
|
191
|
+
Find the `schema_id` from either:
|
|
192
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
193
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
194
|
+
|
|
195
|
+
Find the `table_id` from either:
|
|
196
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
197
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
198
|
+
:param _builtins.str object_type: The type of the monitored object. Can be one of the following: `schema` or `table`
|
|
199
|
+
"""
|
|
200
|
+
__args__ = dict()
|
|
201
|
+
__args__['objectId'] = object_id
|
|
202
|
+
__args__['objectType'] = object_type
|
|
203
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
204
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getDataQualityMonitor:getDataQualityMonitor', __args__, opts=opts, typ=GetDataQualityMonitorResult)
|
|
205
|
+
return __ret__.apply(lambda __response__: GetDataQualityMonitorResult(
|
|
206
|
+
anomaly_detection_config=pulumi.get(__response__, 'anomaly_detection_config'),
|
|
207
|
+
data_profiling_config=pulumi.get(__response__, 'data_profiling_config'),
|
|
208
|
+
id=pulumi.get(__response__, 'id'),
|
|
209
|
+
object_id=pulumi.get(__response__, 'object_id'),
|
|
210
|
+
object_type=pulumi.get(__response__, 'object_type')))
|