pulumi-databricks 1.77.0a1760375482__py3-none-any.whl → 1.79.0a1762839813__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 +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- 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 +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- 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 +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1760375482.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,492 @@
|
|
|
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__ = ['DataQualityRefreshArgs', 'DataQualityRefresh']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class DataQualityRefreshArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
object_id: pulumi.Input[_builtins.str],
|
|
23
|
+
object_type: pulumi.Input[_builtins.str]):
|
|
24
|
+
"""
|
|
25
|
+
The set of arguments for constructing a DataQualityRefresh resource.
|
|
26
|
+
:param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
27
|
+
|
|
28
|
+
Find the `schema_id` from either:
|
|
29
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
30
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
31
|
+
|
|
32
|
+
Find the `table_id` from either:
|
|
33
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
34
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
35
|
+
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
36
|
+
"""
|
|
37
|
+
pulumi.set(__self__, "object_id", object_id)
|
|
38
|
+
pulumi.set(__self__, "object_type", object_type)
|
|
39
|
+
|
|
40
|
+
@_builtins.property
|
|
41
|
+
@pulumi.getter(name="objectId")
|
|
42
|
+
def object_id(self) -> pulumi.Input[_builtins.str]:
|
|
43
|
+
"""
|
|
44
|
+
The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
45
|
+
|
|
46
|
+
Find the `schema_id` from either:
|
|
47
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
48
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
49
|
+
|
|
50
|
+
Find the `table_id` from either:
|
|
51
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
52
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
53
|
+
"""
|
|
54
|
+
return pulumi.get(self, "object_id")
|
|
55
|
+
|
|
56
|
+
@object_id.setter
|
|
57
|
+
def object_id(self, value: pulumi.Input[_builtins.str]):
|
|
58
|
+
pulumi.set(self, "object_id", value)
|
|
59
|
+
|
|
60
|
+
@_builtins.property
|
|
61
|
+
@pulumi.getter(name="objectType")
|
|
62
|
+
def object_type(self) -> pulumi.Input[_builtins.str]:
|
|
63
|
+
"""
|
|
64
|
+
The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "object_type")
|
|
67
|
+
|
|
68
|
+
@object_type.setter
|
|
69
|
+
def object_type(self, value: pulumi.Input[_builtins.str]):
|
|
70
|
+
pulumi.set(self, "object_type", value)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
@pulumi.input_type
|
|
74
|
+
class _DataQualityRefreshState:
|
|
75
|
+
def __init__(__self__, *,
|
|
76
|
+
end_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
77
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
78
|
+
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
79
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
|
+
refresh_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
81
|
+
start_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
82
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
83
|
+
trigger: Optional[pulumi.Input[_builtins.str]] = None):
|
|
84
|
+
"""
|
|
85
|
+
Input properties used for looking up and filtering DataQualityRefresh resources.
|
|
86
|
+
:param pulumi.Input[_builtins.int] end_time_ms: (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
|
|
87
|
+
:param pulumi.Input[_builtins.str] message: (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
|
|
88
|
+
:param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
89
|
+
|
|
90
|
+
Find the `schema_id` from either:
|
|
91
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
92
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
93
|
+
|
|
94
|
+
Find the `table_id` from either:
|
|
95
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
96
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
97
|
+
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
98
|
+
:param pulumi.Input[_builtins.int] refresh_id: (integer) - Unique id of the refresh operation
|
|
99
|
+
:param pulumi.Input[_builtins.int] start_time_ms: (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
|
|
100
|
+
:param pulumi.Input[_builtins.str] state: (string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
|
|
101
|
+
:param pulumi.Input[_builtins.str] trigger: (string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
|
|
102
|
+
"""
|
|
103
|
+
if end_time_ms is not None:
|
|
104
|
+
pulumi.set(__self__, "end_time_ms", end_time_ms)
|
|
105
|
+
if message is not None:
|
|
106
|
+
pulumi.set(__self__, "message", message)
|
|
107
|
+
if object_id is not None:
|
|
108
|
+
pulumi.set(__self__, "object_id", object_id)
|
|
109
|
+
if object_type is not None:
|
|
110
|
+
pulumi.set(__self__, "object_type", object_type)
|
|
111
|
+
if refresh_id is not None:
|
|
112
|
+
pulumi.set(__self__, "refresh_id", refresh_id)
|
|
113
|
+
if start_time_ms is not None:
|
|
114
|
+
pulumi.set(__self__, "start_time_ms", start_time_ms)
|
|
115
|
+
if state is not None:
|
|
116
|
+
pulumi.set(__self__, "state", state)
|
|
117
|
+
if trigger is not None:
|
|
118
|
+
pulumi.set(__self__, "trigger", trigger)
|
|
119
|
+
|
|
120
|
+
@_builtins.property
|
|
121
|
+
@pulumi.getter(name="endTimeMs")
|
|
122
|
+
def end_time_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
123
|
+
"""
|
|
124
|
+
(integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "end_time_ms")
|
|
127
|
+
|
|
128
|
+
@end_time_ms.setter
|
|
129
|
+
def end_time_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
130
|
+
pulumi.set(self, "end_time_ms", value)
|
|
131
|
+
|
|
132
|
+
@_builtins.property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
135
|
+
"""
|
|
136
|
+
(string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "message")
|
|
139
|
+
|
|
140
|
+
@message.setter
|
|
141
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
142
|
+
pulumi.set(self, "message", value)
|
|
143
|
+
|
|
144
|
+
@_builtins.property
|
|
145
|
+
@pulumi.getter(name="objectId")
|
|
146
|
+
def object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
147
|
+
"""
|
|
148
|
+
The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
149
|
+
|
|
150
|
+
Find the `schema_id` from either:
|
|
151
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
152
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
153
|
+
|
|
154
|
+
Find the `table_id` from either:
|
|
155
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
156
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "object_id")
|
|
159
|
+
|
|
160
|
+
@object_id.setter
|
|
161
|
+
def object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
162
|
+
pulumi.set(self, "object_id", value)
|
|
163
|
+
|
|
164
|
+
@_builtins.property
|
|
165
|
+
@pulumi.getter(name="objectType")
|
|
166
|
+
def object_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
167
|
+
"""
|
|
168
|
+
The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
169
|
+
"""
|
|
170
|
+
return pulumi.get(self, "object_type")
|
|
171
|
+
|
|
172
|
+
@object_type.setter
|
|
173
|
+
def object_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
174
|
+
pulumi.set(self, "object_type", value)
|
|
175
|
+
|
|
176
|
+
@_builtins.property
|
|
177
|
+
@pulumi.getter(name="refreshId")
|
|
178
|
+
def refresh_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
179
|
+
"""
|
|
180
|
+
(integer) - Unique id of the refresh operation
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "refresh_id")
|
|
183
|
+
|
|
184
|
+
@refresh_id.setter
|
|
185
|
+
def refresh_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
186
|
+
pulumi.set(self, "refresh_id", value)
|
|
187
|
+
|
|
188
|
+
@_builtins.property
|
|
189
|
+
@pulumi.getter(name="startTimeMs")
|
|
190
|
+
def start_time_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
191
|
+
"""
|
|
192
|
+
(integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
|
|
193
|
+
"""
|
|
194
|
+
return pulumi.get(self, "start_time_ms")
|
|
195
|
+
|
|
196
|
+
@start_time_ms.setter
|
|
197
|
+
def start_time_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
198
|
+
pulumi.set(self, "start_time_ms", value)
|
|
199
|
+
|
|
200
|
+
@_builtins.property
|
|
201
|
+
@pulumi.getter
|
|
202
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
|
+
"""
|
|
204
|
+
(string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "state")
|
|
207
|
+
|
|
208
|
+
@state.setter
|
|
209
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
210
|
+
pulumi.set(self, "state", value)
|
|
211
|
+
|
|
212
|
+
@_builtins.property
|
|
213
|
+
@pulumi.getter
|
|
214
|
+
def trigger(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
215
|
+
"""
|
|
216
|
+
(string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
|
|
217
|
+
"""
|
|
218
|
+
return pulumi.get(self, "trigger")
|
|
219
|
+
|
|
220
|
+
@trigger.setter
|
|
221
|
+
def trigger(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
222
|
+
pulumi.set(self, "trigger", value)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
@pulumi.type_token("databricks:index/dataQualityRefresh:DataQualityRefresh")
|
|
226
|
+
class DataQualityRefresh(pulumi.CustomResource):
|
|
227
|
+
@overload
|
|
228
|
+
def __init__(__self__,
|
|
229
|
+
resource_name: str,
|
|
230
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
|
+
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
232
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
233
|
+
__props__=None):
|
|
234
|
+
"""
|
|
235
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
236
|
+
|
|
237
|
+
This resource allows you to refresh the data quality monitoring checks on Unity Catalog tables.
|
|
238
|
+
|
|
239
|
+
You must either:
|
|
240
|
+
1. be an owner of the table's parent catalog, have **USE_SCHEMA** on the table's parent schema, and have **SELECT** access on the table
|
|
241
|
+
2. have **USE_CATALOG** on the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** access on the table.
|
|
242
|
+
3. have the following permissions:
|
|
243
|
+
- **USE_CATALOG** on the table's parent catalog
|
|
244
|
+
- **USE_SCHEMA** on the table's parent schema
|
|
245
|
+
- be an owner of the table.
|
|
246
|
+
|
|
247
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
248
|
+
|
|
249
|
+
## Example Usage
|
|
250
|
+
|
|
251
|
+
## Import
|
|
252
|
+
|
|
253
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
254
|
+
|
|
255
|
+
hcl
|
|
256
|
+
|
|
257
|
+
import {
|
|
258
|
+
|
|
259
|
+
id = "object_type,object_id,refresh_id"
|
|
260
|
+
|
|
261
|
+
to = databricks_data_quality_refresh.this
|
|
262
|
+
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
266
|
+
|
|
267
|
+
```sh
|
|
268
|
+
$ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
:param str resource_name: The name of the resource.
|
|
272
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
273
|
+
:param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
274
|
+
|
|
275
|
+
Find the `schema_id` from either:
|
|
276
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
277
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
278
|
+
|
|
279
|
+
Find the `table_id` from either:
|
|
280
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
281
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
282
|
+
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
283
|
+
"""
|
|
284
|
+
...
|
|
285
|
+
@overload
|
|
286
|
+
def __init__(__self__,
|
|
287
|
+
resource_name: str,
|
|
288
|
+
args: DataQualityRefreshArgs,
|
|
289
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
290
|
+
"""
|
|
291
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
292
|
+
|
|
293
|
+
This resource allows you to refresh the data quality monitoring checks on Unity Catalog tables.
|
|
294
|
+
|
|
295
|
+
You must either:
|
|
296
|
+
1. be an owner of the table's parent catalog, have **USE_SCHEMA** on the table's parent schema, and have **SELECT** access on the table
|
|
297
|
+
2. have **USE_CATALOG** on the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** access on the table.
|
|
298
|
+
3. have the following permissions:
|
|
299
|
+
- **USE_CATALOG** on the table's parent catalog
|
|
300
|
+
- **USE_SCHEMA** on the table's parent schema
|
|
301
|
+
- be an owner of the table.
|
|
302
|
+
|
|
303
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
304
|
+
|
|
305
|
+
## Example Usage
|
|
306
|
+
|
|
307
|
+
## Import
|
|
308
|
+
|
|
309
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
310
|
+
|
|
311
|
+
hcl
|
|
312
|
+
|
|
313
|
+
import {
|
|
314
|
+
|
|
315
|
+
id = "object_type,object_id,refresh_id"
|
|
316
|
+
|
|
317
|
+
to = databricks_data_quality_refresh.this
|
|
318
|
+
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
322
|
+
|
|
323
|
+
```sh
|
|
324
|
+
$ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
:param str resource_name: The name of the resource.
|
|
328
|
+
:param DataQualityRefreshArgs args: The arguments to use to populate this resource's properties.
|
|
329
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
330
|
+
"""
|
|
331
|
+
...
|
|
332
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
333
|
+
resource_args, opts = _utilities.get_resource_args_opts(DataQualityRefreshArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
334
|
+
if resource_args is not None:
|
|
335
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
336
|
+
else:
|
|
337
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
338
|
+
|
|
339
|
+
def _internal_init(__self__,
|
|
340
|
+
resource_name: str,
|
|
341
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
342
|
+
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
343
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
|
+
__props__=None):
|
|
345
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
346
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
347
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
348
|
+
if opts.id is None:
|
|
349
|
+
if __props__ is not None:
|
|
350
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
351
|
+
__props__ = DataQualityRefreshArgs.__new__(DataQualityRefreshArgs)
|
|
352
|
+
|
|
353
|
+
if object_id is None and not opts.urn:
|
|
354
|
+
raise TypeError("Missing required property 'object_id'")
|
|
355
|
+
__props__.__dict__["object_id"] = object_id
|
|
356
|
+
if object_type is None and not opts.urn:
|
|
357
|
+
raise TypeError("Missing required property 'object_type'")
|
|
358
|
+
__props__.__dict__["object_type"] = object_type
|
|
359
|
+
__props__.__dict__["end_time_ms"] = None
|
|
360
|
+
__props__.__dict__["message"] = None
|
|
361
|
+
__props__.__dict__["refresh_id"] = None
|
|
362
|
+
__props__.__dict__["start_time_ms"] = None
|
|
363
|
+
__props__.__dict__["state"] = None
|
|
364
|
+
__props__.__dict__["trigger"] = None
|
|
365
|
+
super(DataQualityRefresh, __self__).__init__(
|
|
366
|
+
'databricks:index/dataQualityRefresh:DataQualityRefresh',
|
|
367
|
+
resource_name,
|
|
368
|
+
__props__,
|
|
369
|
+
opts)
|
|
370
|
+
|
|
371
|
+
@staticmethod
|
|
372
|
+
def get(resource_name: str,
|
|
373
|
+
id: pulumi.Input[str],
|
|
374
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
375
|
+
end_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
376
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
377
|
+
object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
378
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
379
|
+
refresh_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
380
|
+
start_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
|
|
381
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
382
|
+
trigger: Optional[pulumi.Input[_builtins.str]] = None) -> 'DataQualityRefresh':
|
|
383
|
+
"""
|
|
384
|
+
Get an existing DataQualityRefresh resource's state with the given name, id, and optional extra
|
|
385
|
+
properties used to qualify the lookup.
|
|
386
|
+
|
|
387
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
388
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
389
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
390
|
+
:param pulumi.Input[_builtins.int] end_time_ms: (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
|
|
391
|
+
:param pulumi.Input[_builtins.str] message: (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
|
|
392
|
+
:param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
393
|
+
|
|
394
|
+
Find the `schema_id` from either:
|
|
395
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
396
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
397
|
+
|
|
398
|
+
Find the `table_id` from either:
|
|
399
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
400
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
401
|
+
:param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
402
|
+
:param pulumi.Input[_builtins.int] refresh_id: (integer) - Unique id of the refresh operation
|
|
403
|
+
:param pulumi.Input[_builtins.int] start_time_ms: (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
|
|
404
|
+
:param pulumi.Input[_builtins.str] state: (string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
|
|
405
|
+
:param pulumi.Input[_builtins.str] trigger: (string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
|
|
406
|
+
"""
|
|
407
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
408
|
+
|
|
409
|
+
__props__ = _DataQualityRefreshState.__new__(_DataQualityRefreshState)
|
|
410
|
+
|
|
411
|
+
__props__.__dict__["end_time_ms"] = end_time_ms
|
|
412
|
+
__props__.__dict__["message"] = message
|
|
413
|
+
__props__.__dict__["object_id"] = object_id
|
|
414
|
+
__props__.__dict__["object_type"] = object_type
|
|
415
|
+
__props__.__dict__["refresh_id"] = refresh_id
|
|
416
|
+
__props__.__dict__["start_time_ms"] = start_time_ms
|
|
417
|
+
__props__.__dict__["state"] = state
|
|
418
|
+
__props__.__dict__["trigger"] = trigger
|
|
419
|
+
return DataQualityRefresh(resource_name, opts=opts, __props__=__props__)
|
|
420
|
+
|
|
421
|
+
@_builtins.property
|
|
422
|
+
@pulumi.getter(name="endTimeMs")
|
|
423
|
+
def end_time_ms(self) -> pulumi.Output[_builtins.int]:
|
|
424
|
+
"""
|
|
425
|
+
(integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
|
|
426
|
+
"""
|
|
427
|
+
return pulumi.get(self, "end_time_ms")
|
|
428
|
+
|
|
429
|
+
@_builtins.property
|
|
430
|
+
@pulumi.getter
|
|
431
|
+
def message(self) -> pulumi.Output[_builtins.str]:
|
|
432
|
+
"""
|
|
433
|
+
(string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
|
|
434
|
+
"""
|
|
435
|
+
return pulumi.get(self, "message")
|
|
436
|
+
|
|
437
|
+
@_builtins.property
|
|
438
|
+
@pulumi.getter(name="objectId")
|
|
439
|
+
def object_id(self) -> pulumi.Output[_builtins.str]:
|
|
440
|
+
"""
|
|
441
|
+
The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
|
|
442
|
+
|
|
443
|
+
Find the `schema_id` from either:
|
|
444
|
+
1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
445
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
446
|
+
|
|
447
|
+
Find the `table_id` from either:
|
|
448
|
+
1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
449
|
+
2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
450
|
+
"""
|
|
451
|
+
return pulumi.get(self, "object_id")
|
|
452
|
+
|
|
453
|
+
@_builtins.property
|
|
454
|
+
@pulumi.getter(name="objectType")
|
|
455
|
+
def object_type(self) -> pulumi.Output[_builtins.str]:
|
|
456
|
+
"""
|
|
457
|
+
The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
458
|
+
"""
|
|
459
|
+
return pulumi.get(self, "object_type")
|
|
460
|
+
|
|
461
|
+
@_builtins.property
|
|
462
|
+
@pulumi.getter(name="refreshId")
|
|
463
|
+
def refresh_id(self) -> pulumi.Output[_builtins.int]:
|
|
464
|
+
"""
|
|
465
|
+
(integer) - Unique id of the refresh operation
|
|
466
|
+
"""
|
|
467
|
+
return pulumi.get(self, "refresh_id")
|
|
468
|
+
|
|
469
|
+
@_builtins.property
|
|
470
|
+
@pulumi.getter(name="startTimeMs")
|
|
471
|
+
def start_time_ms(self) -> pulumi.Output[_builtins.int]:
|
|
472
|
+
"""
|
|
473
|
+
(integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
|
|
474
|
+
"""
|
|
475
|
+
return pulumi.get(self, "start_time_ms")
|
|
476
|
+
|
|
477
|
+
@_builtins.property
|
|
478
|
+
@pulumi.getter
|
|
479
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
480
|
+
"""
|
|
481
|
+
(string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
|
|
482
|
+
"""
|
|
483
|
+
return pulumi.get(self, "state")
|
|
484
|
+
|
|
485
|
+
@_builtins.property
|
|
486
|
+
@pulumi.getter
|
|
487
|
+
def trigger(self) -> pulumi.Output[_builtins.str]:
|
|
488
|
+
"""
|
|
489
|
+
(string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
|
|
490
|
+
"""
|
|
491
|
+
return pulumi.get(self, "trigger")
|
|
492
|
+
|