pulumi-databricks 1.75.0a1756323569__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 +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- 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 +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -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 +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- 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 +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- 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_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- 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 +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -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 +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- 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 +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/policy_info.py
CHANGED
|
@@ -36,7 +36,7 @@ class PolicyInfoArgs:
|
|
|
36
36
|
"""
|
|
37
37
|
The set of arguments for constructing a PolicyInfo resource.
|
|
38
38
|
:param pulumi.Input[_builtins.str] for_securable_type: Type of securables that the policy should take effect on.
|
|
39
|
-
Only `
|
|
39
|
+
Only `TABLE` is supported at this moment.
|
|
40
40
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
41
41
|
:param pulumi.Input[_builtins.str] policy_type: Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
42
42
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] to_principals: List of user or group names that the policy applies to.
|
|
@@ -47,14 +47,14 @@ class PolicyInfoArgs:
|
|
|
47
47
|
:param pulumi.Input[_builtins.str] comment: Optional description of the policy
|
|
48
48
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] except_principals: Optional list of user or group names that should be excluded from the policy
|
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input['PolicyInfoMatchColumnArgs']]] match_columns: Optional list of condition expressions used to match table columns.
|
|
50
|
-
Only valid when `for_securable_type` is `
|
|
50
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
51
51
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
52
|
-
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and
|
|
53
|
-
To
|
|
52
|
+
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and optional on update.
|
|
53
|
+
To rename the policy, set `name` to a different value on update
|
|
54
54
|
:param pulumi.Input[_builtins.str] on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
55
55
|
Required on create and ignored on update
|
|
56
56
|
:param pulumi.Input[_builtins.str] on_securable_type: Type of the securable on which the policy is defined.
|
|
57
|
-
Only `
|
|
57
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
58
58
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
59
59
|
:param pulumi.Input['PolicyInfoRowFilterArgs'] row_filter: Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
60
60
|
Required on create and optional on update. When specified on update,
|
|
@@ -88,7 +88,7 @@ class PolicyInfoArgs:
|
|
|
88
88
|
def for_securable_type(self) -> pulumi.Input[_builtins.str]:
|
|
89
89
|
"""
|
|
90
90
|
Type of securables that the policy should take effect on.
|
|
91
|
-
Only `
|
|
91
|
+
Only `TABLE` is supported at this moment.
|
|
92
92
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
93
93
|
"""
|
|
94
94
|
return pulumi.get(self, "for_securable_type")
|
|
@@ -165,7 +165,7 @@ class PolicyInfoArgs:
|
|
|
165
165
|
def match_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicyInfoMatchColumnArgs']]]]:
|
|
166
166
|
"""
|
|
167
167
|
Optional list of condition expressions used to match table columns.
|
|
168
|
-
Only valid when `for_securable_type` is `
|
|
168
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
169
169
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
170
170
|
"""
|
|
171
171
|
return pulumi.get(self, "match_columns")
|
|
@@ -178,8 +178,8 @@ class PolicyInfoArgs:
|
|
|
178
178
|
@pulumi.getter
|
|
179
179
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
180
|
"""
|
|
181
|
-
Name of the policy. Required on create and
|
|
182
|
-
To
|
|
181
|
+
Name of the policy. Required on create and optional on update.
|
|
182
|
+
To rename the policy, set `name` to a different value on update
|
|
183
183
|
"""
|
|
184
184
|
return pulumi.get(self, "name")
|
|
185
185
|
|
|
@@ -205,7 +205,7 @@ class PolicyInfoArgs:
|
|
|
205
205
|
def on_securable_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
206
206
|
"""
|
|
207
207
|
Type of the securable on which the policy is defined.
|
|
208
|
-
Only `
|
|
208
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
209
209
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
210
210
|
"""
|
|
211
211
|
return pulumi.get(self, "on_securable_type")
|
|
@@ -270,17 +270,17 @@ class _PolicyInfoState:
|
|
|
270
270
|
:param pulumi.Input[_builtins.str] created_by: (string) - Username of the user who created the policy. Output only
|
|
271
271
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] except_principals: Optional list of user or group names that should be excluded from the policy
|
|
272
272
|
:param pulumi.Input[_builtins.str] for_securable_type: Type of securables that the policy should take effect on.
|
|
273
|
-
Only `
|
|
273
|
+
Only `TABLE` is supported at this moment.
|
|
274
274
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
275
275
|
:param pulumi.Input[Sequence[pulumi.Input['PolicyInfoMatchColumnArgs']]] match_columns: Optional list of condition expressions used to match table columns.
|
|
276
|
-
Only valid when `for_securable_type` is `
|
|
276
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
277
277
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
278
|
-
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and
|
|
279
|
-
To
|
|
278
|
+
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and optional on update.
|
|
279
|
+
To rename the policy, set `name` to a different value on update
|
|
280
280
|
:param pulumi.Input[_builtins.str] on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
281
281
|
Required on create and ignored on update
|
|
282
282
|
:param pulumi.Input[_builtins.str] on_securable_type: Type of the securable on which the policy is defined.
|
|
283
|
-
Only `
|
|
283
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
284
284
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
285
285
|
:param pulumi.Input[_builtins.str] policy_type: Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
286
286
|
:param pulumi.Input['PolicyInfoRowFilterArgs'] row_filter: Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
@@ -392,7 +392,7 @@ class _PolicyInfoState:
|
|
|
392
392
|
def for_securable_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
393
393
|
"""
|
|
394
394
|
Type of securables that the policy should take effect on.
|
|
395
|
-
Only `
|
|
395
|
+
Only `TABLE` is supported at this moment.
|
|
396
396
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
397
397
|
"""
|
|
398
398
|
return pulumi.get(self, "for_securable_type")
|
|
@@ -406,7 +406,7 @@ class _PolicyInfoState:
|
|
|
406
406
|
def match_columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicyInfoMatchColumnArgs']]]]:
|
|
407
407
|
"""
|
|
408
408
|
Optional list of condition expressions used to match table columns.
|
|
409
|
-
Only valid when `for_securable_type` is `
|
|
409
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
410
410
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
411
411
|
"""
|
|
412
412
|
return pulumi.get(self, "match_columns")
|
|
@@ -419,8 +419,8 @@ class _PolicyInfoState:
|
|
|
419
419
|
@pulumi.getter
|
|
420
420
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
421
421
|
"""
|
|
422
|
-
Name of the policy. Required on create and
|
|
423
|
-
To
|
|
422
|
+
Name of the policy. Required on create and optional on update.
|
|
423
|
+
To rename the policy, set `name` to a different value on update
|
|
424
424
|
"""
|
|
425
425
|
return pulumi.get(self, "name")
|
|
426
426
|
|
|
@@ -446,7 +446,7 @@ class _PolicyInfoState:
|
|
|
446
446
|
def on_securable_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
447
447
|
"""
|
|
448
448
|
Type of the securable on which the policy is defined.
|
|
449
|
-
Only `
|
|
449
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
450
450
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
451
451
|
"""
|
|
452
452
|
return pulumi.get(self, "on_securable_type")
|
|
@@ -551,6 +551,8 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
551
551
|
when_condition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
552
552
|
__props__=None):
|
|
553
553
|
"""
|
|
554
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
555
|
+
|
|
554
556
|
## Import
|
|
555
557
|
|
|
556
558
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -559,7 +561,7 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
559
561
|
|
|
560
562
|
import {
|
|
561
563
|
|
|
562
|
-
id = on_securable_type,on_securable_fullname,name
|
|
564
|
+
id = "on_securable_type,on_securable_fullname,name"
|
|
563
565
|
|
|
564
566
|
to = databricks_policy_info.this
|
|
565
567
|
|
|
@@ -568,7 +570,7 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
568
570
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
569
571
|
|
|
570
572
|
```sh
|
|
571
|
-
$ pulumi import databricks:index/policyInfo:PolicyInfo
|
|
573
|
+
$ pulumi import databricks:index/policyInfo:PolicyInfo this "on_securable_type,on_securable_fullname,name"
|
|
572
574
|
```
|
|
573
575
|
|
|
574
576
|
:param str resource_name: The name of the resource.
|
|
@@ -579,17 +581,17 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
579
581
|
:param pulumi.Input[_builtins.str] comment: Optional description of the policy
|
|
580
582
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] except_principals: Optional list of user or group names that should be excluded from the policy
|
|
581
583
|
:param pulumi.Input[_builtins.str] for_securable_type: Type of securables that the policy should take effect on.
|
|
582
|
-
Only `
|
|
584
|
+
Only `TABLE` is supported at this moment.
|
|
583
585
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
584
586
|
:param pulumi.Input[Sequence[pulumi.Input[Union['PolicyInfoMatchColumnArgs', 'PolicyInfoMatchColumnArgsDict']]]] match_columns: Optional list of condition expressions used to match table columns.
|
|
585
|
-
Only valid when `for_securable_type` is `
|
|
587
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
586
588
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
587
|
-
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and
|
|
588
|
-
To
|
|
589
|
+
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and optional on update.
|
|
590
|
+
To rename the policy, set `name` to a different value on update
|
|
589
591
|
:param pulumi.Input[_builtins.str] on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
590
592
|
Required on create and ignored on update
|
|
591
593
|
:param pulumi.Input[_builtins.str] on_securable_type: Type of the securable on which the policy is defined.
|
|
592
|
-
Only `
|
|
594
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
593
595
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
594
596
|
:param pulumi.Input[_builtins.str] policy_type: Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
595
597
|
:param pulumi.Input[Union['PolicyInfoRowFilterArgs', 'PolicyInfoRowFilterArgsDict']] row_filter: Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
@@ -606,6 +608,8 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
606
608
|
args: PolicyInfoArgs,
|
|
607
609
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
608
610
|
"""
|
|
611
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
612
|
+
|
|
609
613
|
## Import
|
|
610
614
|
|
|
611
615
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -614,7 +618,7 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
614
618
|
|
|
615
619
|
import {
|
|
616
620
|
|
|
617
|
-
id = on_securable_type,on_securable_fullname,name
|
|
621
|
+
id = "on_securable_type,on_securable_fullname,name"
|
|
618
622
|
|
|
619
623
|
to = databricks_policy_info.this
|
|
620
624
|
|
|
@@ -623,7 +627,7 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
623
627
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
624
628
|
|
|
625
629
|
```sh
|
|
626
|
-
$ pulumi import databricks:index/policyInfo:PolicyInfo
|
|
630
|
+
$ pulumi import databricks:index/policyInfo:PolicyInfo this "on_securable_type,on_securable_fullname,name"
|
|
627
631
|
```
|
|
628
632
|
|
|
629
633
|
:param str resource_name: The name of the resource.
|
|
@@ -725,17 +729,17 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
725
729
|
:param pulumi.Input[_builtins.str] created_by: (string) - Username of the user who created the policy. Output only
|
|
726
730
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] except_principals: Optional list of user or group names that should be excluded from the policy
|
|
727
731
|
:param pulumi.Input[_builtins.str] for_securable_type: Type of securables that the policy should take effect on.
|
|
728
|
-
Only `
|
|
732
|
+
Only `TABLE` is supported at this moment.
|
|
729
733
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
730
734
|
:param pulumi.Input[Sequence[pulumi.Input[Union['PolicyInfoMatchColumnArgs', 'PolicyInfoMatchColumnArgsDict']]]] match_columns: Optional list of condition expressions used to match table columns.
|
|
731
|
-
Only valid when `for_securable_type` is `
|
|
735
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
732
736
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
733
|
-
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and
|
|
734
|
-
To
|
|
737
|
+
:param pulumi.Input[_builtins.str] name: Name of the policy. Required on create and optional on update.
|
|
738
|
+
To rename the policy, set `name` to a different value on update
|
|
735
739
|
:param pulumi.Input[_builtins.str] on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
736
740
|
Required on create and ignored on update
|
|
737
741
|
:param pulumi.Input[_builtins.str] on_securable_type: Type of the securable on which the policy is defined.
|
|
738
|
-
Only `
|
|
742
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
739
743
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
740
744
|
:param pulumi.Input[_builtins.str] policy_type: Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
741
745
|
:param pulumi.Input[Union['PolicyInfoRowFilterArgs', 'PolicyInfoRowFilterArgsDict']] row_filter: Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
@@ -816,7 +820,7 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
816
820
|
def for_securable_type(self) -> pulumi.Output[_builtins.str]:
|
|
817
821
|
"""
|
|
818
822
|
Type of securables that the policy should take effect on.
|
|
819
|
-
Only `
|
|
823
|
+
Only `TABLE` is supported at this moment.
|
|
820
824
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
821
825
|
"""
|
|
822
826
|
return pulumi.get(self, "for_securable_type")
|
|
@@ -826,7 +830,7 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
826
830
|
def match_columns(self) -> pulumi.Output[Optional[Sequence['outputs.PolicyInfoMatchColumn']]]:
|
|
827
831
|
"""
|
|
828
832
|
Optional list of condition expressions used to match table columns.
|
|
829
|
-
Only valid when `for_securable_type` is `
|
|
833
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
830
834
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
831
835
|
"""
|
|
832
836
|
return pulumi.get(self, "match_columns")
|
|
@@ -835,8 +839,8 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
835
839
|
@pulumi.getter
|
|
836
840
|
def name(self) -> pulumi.Output[_builtins.str]:
|
|
837
841
|
"""
|
|
838
|
-
Name of the policy. Required on create and
|
|
839
|
-
To
|
|
842
|
+
Name of the policy. Required on create and optional on update.
|
|
843
|
+
To rename the policy, set `name` to a different value on update
|
|
840
844
|
"""
|
|
841
845
|
return pulumi.get(self, "name")
|
|
842
846
|
|
|
@@ -854,7 +858,7 @@ class PolicyInfo(pulumi.CustomResource):
|
|
|
854
858
|
def on_securable_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
855
859
|
"""
|
|
856
860
|
Type of the securable on which the policy is defined.
|
|
857
|
-
Only `
|
|
861
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
858
862
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
859
863
|
"""
|
|
860
864
|
return pulumi.get(self, "on_securable_type")
|
pulumi_databricks/provider.py
CHANGED
|
@@ -44,6 +44,7 @@ class ProviderArgs:
|
|
|
44
44
|
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
45
45
|
http_timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
46
46
|
metadata_service_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
47
|
+
oauth_callback_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
47
48
|
oidc_token_env: Optional[pulumi.Input[_builtins.str]] = None,
|
|
48
49
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
49
50
|
profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -107,6 +108,8 @@ class ProviderArgs:
|
|
|
107
108
|
pulumi.set(__self__, "http_timeout_seconds", http_timeout_seconds)
|
|
108
109
|
if metadata_service_url is not None:
|
|
109
110
|
pulumi.set(__self__, "metadata_service_url", metadata_service_url)
|
|
111
|
+
if oauth_callback_port is not None:
|
|
112
|
+
pulumi.set(__self__, "oauth_callback_port", oauth_callback_port)
|
|
110
113
|
if oidc_token_env is not None:
|
|
111
114
|
pulumi.set(__self__, "oidc_token_env", oidc_token_env)
|
|
112
115
|
if password is not None:
|
|
@@ -353,6 +356,15 @@ class ProviderArgs:
|
|
|
353
356
|
def metadata_service_url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
354
357
|
pulumi.set(self, "metadata_service_url", value)
|
|
355
358
|
|
|
359
|
+
@_builtins.property
|
|
360
|
+
@pulumi.getter(name="oauthCallbackPort")
|
|
361
|
+
def oauth_callback_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
362
|
+
return pulumi.get(self, "oauth_callback_port")
|
|
363
|
+
|
|
364
|
+
@oauth_callback_port.setter
|
|
365
|
+
def oauth_callback_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
366
|
+
pulumi.set(self, "oauth_callback_port", value)
|
|
367
|
+
|
|
356
368
|
@_builtins.property
|
|
357
369
|
@pulumi.getter(name="oidcTokenEnv")
|
|
358
370
|
def oidc_token_env(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -475,6 +487,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
475
487
|
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
476
488
|
http_timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
477
489
|
metadata_service_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
490
|
+
oauth_callback_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
478
491
|
oidc_token_env: Optional[pulumi.Input[_builtins.str]] = None,
|
|
479
492
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
480
493
|
profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -547,6 +560,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
547
560
|
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
548
561
|
http_timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
549
562
|
metadata_service_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
563
|
+
oauth_callback_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
550
564
|
oidc_token_env: Optional[pulumi.Input[_builtins.str]] = None,
|
|
551
565
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
552
566
|
profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -591,6 +605,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
591
605
|
__props__.__dict__["host"] = host
|
|
592
606
|
__props__.__dict__["http_timeout_seconds"] = pulumi.Output.from_input(http_timeout_seconds).apply(pulumi.runtime.to_json) if http_timeout_seconds is not None else None
|
|
593
607
|
__props__.__dict__["metadata_service_url"] = None if metadata_service_url is None else pulumi.Output.secret(metadata_service_url)
|
|
608
|
+
__props__.__dict__["oauth_callback_port"] = pulumi.Output.from_input(oauth_callback_port).apply(pulumi.runtime.to_json) if oauth_callback_port is not None else None
|
|
594
609
|
__props__.__dict__["oidc_token_env"] = oidc_token_env
|
|
595
610
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
596
611
|
__props__.__dict__["profile"] = profile
|
|
@@ -31,6 +31,7 @@ class QualityMonitorArgs:
|
|
|
31
31
|
latest_monitor_failure_msg: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
32
|
monitor_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
33
|
notifications: Optional[pulumi.Input['QualityMonitorNotificationsArgs']] = None,
|
|
34
|
+
provider_config: Optional[pulumi.Input['QualityMonitorProviderConfigArgs']] = None,
|
|
34
35
|
schedule: Optional[pulumi.Input['QualityMonitorScheduleArgs']] = None,
|
|
35
36
|
skip_builtin_dashboard: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
36
37
|
slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -49,6 +50,7 @@ class QualityMonitorArgs:
|
|
|
49
50
|
:param pulumi.Input['QualityMonitorInferenceLogArgs'] inference_log: Configuration for the inference log monitor
|
|
50
51
|
:param pulumi.Input[_builtins.str] monitor_id: ID of this monitor is the same as the full table name of the format `{catalog}.{schema_name}.{table_name}`
|
|
51
52
|
:param pulumi.Input['QualityMonitorNotificationsArgs'] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify:
|
|
53
|
+
:param pulumi.Input['QualityMonitorProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
52
54
|
:param pulumi.Input['QualityMonitorScheduleArgs'] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields:
|
|
53
55
|
:param pulumi.Input[_builtins.bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. (Can't be updated after creation).
|
|
54
56
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.
|
|
@@ -73,6 +75,8 @@ class QualityMonitorArgs:
|
|
|
73
75
|
pulumi.set(__self__, "monitor_id", monitor_id)
|
|
74
76
|
if notifications is not None:
|
|
75
77
|
pulumi.set(__self__, "notifications", notifications)
|
|
78
|
+
if provider_config is not None:
|
|
79
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
76
80
|
if schedule is not None:
|
|
77
81
|
pulumi.set(__self__, "schedule", schedule)
|
|
78
82
|
if skip_builtin_dashboard is not None:
|
|
@@ -204,6 +208,18 @@ class QualityMonitorArgs:
|
|
|
204
208
|
def notifications(self, value: Optional[pulumi.Input['QualityMonitorNotificationsArgs']]):
|
|
205
209
|
pulumi.set(self, "notifications", value)
|
|
206
210
|
|
|
211
|
+
@_builtins.property
|
|
212
|
+
@pulumi.getter(name="providerConfig")
|
|
213
|
+
def provider_config(self) -> Optional[pulumi.Input['QualityMonitorProviderConfigArgs']]:
|
|
214
|
+
"""
|
|
215
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
216
|
+
"""
|
|
217
|
+
return pulumi.get(self, "provider_config")
|
|
218
|
+
|
|
219
|
+
@provider_config.setter
|
|
220
|
+
def provider_config(self, value: Optional[pulumi.Input['QualityMonitorProviderConfigArgs']]):
|
|
221
|
+
pulumi.set(self, "provider_config", value)
|
|
222
|
+
|
|
207
223
|
@_builtins.property
|
|
208
224
|
@pulumi.getter
|
|
209
225
|
def schedule(self) -> Optional[pulumi.Input['QualityMonitorScheduleArgs']]:
|
|
@@ -293,6 +309,7 @@ class _QualityMonitorState:
|
|
|
293
309
|
notifications: Optional[pulumi.Input['QualityMonitorNotificationsArgs']] = None,
|
|
294
310
|
output_schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
311
|
profile_metrics_table_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
provider_config: Optional[pulumi.Input['QualityMonitorProviderConfigArgs']] = None,
|
|
296
313
|
schedule: Optional[pulumi.Input['QualityMonitorScheduleArgs']] = None,
|
|
297
314
|
skip_builtin_dashboard: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
298
315
|
slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -316,6 +333,7 @@ class _QualityMonitorState:
|
|
|
316
333
|
:param pulumi.Input['QualityMonitorNotificationsArgs'] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify:
|
|
317
334
|
:param pulumi.Input[_builtins.str] output_schema_name: Schema where output metric tables are created
|
|
318
335
|
:param pulumi.Input[_builtins.str] profile_metrics_table_name: The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__.
|
|
336
|
+
:param pulumi.Input['QualityMonitorProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
319
337
|
:param pulumi.Input['QualityMonitorScheduleArgs'] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields:
|
|
320
338
|
:param pulumi.Input[_builtins.bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. (Can't be updated after creation).
|
|
321
339
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.
|
|
@@ -351,6 +369,8 @@ class _QualityMonitorState:
|
|
|
351
369
|
pulumi.set(__self__, "output_schema_name", output_schema_name)
|
|
352
370
|
if profile_metrics_table_name is not None:
|
|
353
371
|
pulumi.set(__self__, "profile_metrics_table_name", profile_metrics_table_name)
|
|
372
|
+
if provider_config is not None:
|
|
373
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
354
374
|
if schedule is not None:
|
|
355
375
|
pulumi.set(__self__, "schedule", schedule)
|
|
356
376
|
if skip_builtin_dashboard is not None:
|
|
@@ -522,6 +542,18 @@ class _QualityMonitorState:
|
|
|
522
542
|
def profile_metrics_table_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
523
543
|
pulumi.set(self, "profile_metrics_table_name", value)
|
|
524
544
|
|
|
545
|
+
@_builtins.property
|
|
546
|
+
@pulumi.getter(name="providerConfig")
|
|
547
|
+
def provider_config(self) -> Optional[pulumi.Input['QualityMonitorProviderConfigArgs']]:
|
|
548
|
+
"""
|
|
549
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
550
|
+
"""
|
|
551
|
+
return pulumi.get(self, "provider_config")
|
|
552
|
+
|
|
553
|
+
@provider_config.setter
|
|
554
|
+
def provider_config(self, value: Optional[pulumi.Input['QualityMonitorProviderConfigArgs']]):
|
|
555
|
+
pulumi.set(self, "provider_config", value)
|
|
556
|
+
|
|
525
557
|
@_builtins.property
|
|
526
558
|
@pulumi.getter
|
|
527
559
|
def schedule(self) -> Optional[pulumi.Input['QualityMonitorScheduleArgs']]:
|
|
@@ -634,6 +666,7 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
634
666
|
monitor_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
635
667
|
notifications: Optional[pulumi.Input[Union['QualityMonitorNotificationsArgs', 'QualityMonitorNotificationsArgsDict']]] = None,
|
|
636
668
|
output_schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
669
|
+
provider_config: Optional[pulumi.Input[Union['QualityMonitorProviderConfigArgs', 'QualityMonitorProviderConfigArgsDict']]] = None,
|
|
637
670
|
schedule: Optional[pulumi.Input[Union['QualityMonitorScheduleArgs', 'QualityMonitorScheduleArgsDict']]] = None,
|
|
638
671
|
skip_builtin_dashboard: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
639
672
|
slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -750,6 +783,7 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
750
783
|
:param pulumi.Input[_builtins.str] monitor_id: ID of this monitor is the same as the full table name of the format `{catalog}.{schema_name}.{table_name}`
|
|
751
784
|
:param pulumi.Input[Union['QualityMonitorNotificationsArgs', 'QualityMonitorNotificationsArgsDict']] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify:
|
|
752
785
|
:param pulumi.Input[_builtins.str] output_schema_name: Schema where output metric tables are created
|
|
786
|
+
:param pulumi.Input[Union['QualityMonitorProviderConfigArgs', 'QualityMonitorProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
753
787
|
:param pulumi.Input[Union['QualityMonitorScheduleArgs', 'QualityMonitorScheduleArgsDict']] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields:
|
|
754
788
|
:param pulumi.Input[_builtins.bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. (Can't be updated after creation).
|
|
755
789
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.
|
|
@@ -885,6 +919,7 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
885
919
|
monitor_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
886
920
|
notifications: Optional[pulumi.Input[Union['QualityMonitorNotificationsArgs', 'QualityMonitorNotificationsArgsDict']]] = None,
|
|
887
921
|
output_schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
922
|
+
provider_config: Optional[pulumi.Input[Union['QualityMonitorProviderConfigArgs', 'QualityMonitorProviderConfigArgsDict']]] = None,
|
|
888
923
|
schedule: Optional[pulumi.Input[Union['QualityMonitorScheduleArgs', 'QualityMonitorScheduleArgsDict']]] = None,
|
|
889
924
|
skip_builtin_dashboard: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
890
925
|
slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -914,6 +949,7 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
914
949
|
if output_schema_name is None and not opts.urn:
|
|
915
950
|
raise TypeError("Missing required property 'output_schema_name'")
|
|
916
951
|
__props__.__dict__["output_schema_name"] = output_schema_name
|
|
952
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
917
953
|
__props__.__dict__["schedule"] = schedule
|
|
918
954
|
__props__.__dict__["skip_builtin_dashboard"] = skip_builtin_dashboard
|
|
919
955
|
__props__.__dict__["slicing_exprs"] = slicing_exprs
|
|
@@ -951,6 +987,7 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
951
987
|
notifications: Optional[pulumi.Input[Union['QualityMonitorNotificationsArgs', 'QualityMonitorNotificationsArgsDict']]] = None,
|
|
952
988
|
output_schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
953
989
|
profile_metrics_table_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
990
|
+
provider_config: Optional[pulumi.Input[Union['QualityMonitorProviderConfigArgs', 'QualityMonitorProviderConfigArgsDict']]] = None,
|
|
954
991
|
schedule: Optional[pulumi.Input[Union['QualityMonitorScheduleArgs', 'QualityMonitorScheduleArgsDict']]] = None,
|
|
955
992
|
skip_builtin_dashboard: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
956
993
|
slicing_exprs: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -979,6 +1016,7 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
979
1016
|
:param pulumi.Input[Union['QualityMonitorNotificationsArgs', 'QualityMonitorNotificationsArgsDict']] notifications: The notification settings for the monitor. The following optional blocks are supported, each consisting of the single string array field with name `email_addresses` containing a list of emails to notify:
|
|
980
1017
|
:param pulumi.Input[_builtins.str] output_schema_name: Schema where output metric tables are created
|
|
981
1018
|
:param pulumi.Input[_builtins.str] profile_metrics_table_name: The full name of the profile metrics table. Format: __catalog_name__.__schema_name__.__table_name__.
|
|
1019
|
+
:param pulumi.Input[Union['QualityMonitorProviderConfigArgs', 'QualityMonitorProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
982
1020
|
:param pulumi.Input[Union['QualityMonitorScheduleArgs', 'QualityMonitorScheduleArgsDict']] schedule: The schedule for automatically updating and refreshing metric tables. This block consists of following fields:
|
|
983
1021
|
:param pulumi.Input[_builtins.bool] skip_builtin_dashboard: Whether to skip creating a default dashboard summarizing data quality metrics. (Can't be updated after creation).
|
|
984
1022
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] slicing_exprs: List of column expressions to slice data with for targeted analysis. The data is grouped by each expression independently, resulting in a separate slice for each predicate and its complements. For high-cardinality columns, only the top 100 unique values by frequency will generate slices.
|
|
@@ -1005,6 +1043,7 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
1005
1043
|
__props__.__dict__["notifications"] = notifications
|
|
1006
1044
|
__props__.__dict__["output_schema_name"] = output_schema_name
|
|
1007
1045
|
__props__.__dict__["profile_metrics_table_name"] = profile_metrics_table_name
|
|
1046
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
1008
1047
|
__props__.__dict__["schedule"] = schedule
|
|
1009
1048
|
__props__.__dict__["skip_builtin_dashboard"] = skip_builtin_dashboard
|
|
1010
1049
|
__props__.__dict__["slicing_exprs"] = slicing_exprs
|
|
@@ -1117,6 +1156,14 @@ class QualityMonitor(pulumi.CustomResource):
|
|
|
1117
1156
|
"""
|
|
1118
1157
|
return pulumi.get(self, "profile_metrics_table_name")
|
|
1119
1158
|
|
|
1159
|
+
@_builtins.property
|
|
1160
|
+
@pulumi.getter(name="providerConfig")
|
|
1161
|
+
def provider_config(self) -> pulumi.Output[Optional['outputs.QualityMonitorProviderConfig']]:
|
|
1162
|
+
"""
|
|
1163
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
1164
|
+
"""
|
|
1165
|
+
return pulumi.get(self, "provider_config")
|
|
1166
|
+
|
|
1120
1167
|
@_builtins.property
|
|
1121
1168
|
@pulumi.getter
|
|
1122
1169
|
def schedule(self) -> pulumi.Output[Optional['outputs.QualityMonitorSchedule']]:
|
|
@@ -122,6 +122,8 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
122
122
|
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
123
123
|
__props__=None):
|
|
124
124
|
"""
|
|
125
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
126
|
+
|
|
125
127
|
Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
126
128
|
|
|
127
129
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -148,7 +150,7 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
148
150
|
|
|
149
151
|
import {
|
|
150
152
|
|
|
151
|
-
id = object_type,object_id
|
|
153
|
+
id = "object_type,object_id"
|
|
152
154
|
|
|
153
155
|
to = databricks_quality_monitor_v2.this
|
|
154
156
|
|
|
@@ -157,7 +159,7 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
157
159
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
158
160
|
|
|
159
161
|
```sh
|
|
160
|
-
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2
|
|
162
|
+
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 this "object_type,object_id"
|
|
161
163
|
```
|
|
162
164
|
|
|
163
165
|
:param str resource_name: The name of the resource.
|
|
@@ -172,6 +174,8 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
172
174
|
args: QualityMonitorV2Args,
|
|
173
175
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
174
176
|
"""
|
|
177
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
178
|
+
|
|
175
179
|
Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
176
180
|
|
|
177
181
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -198,7 +202,7 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
198
202
|
|
|
199
203
|
import {
|
|
200
204
|
|
|
201
|
-
id = object_type,object_id
|
|
205
|
+
id = "object_type,object_id"
|
|
202
206
|
|
|
203
207
|
to = databricks_quality_monitor_v2.this
|
|
204
208
|
|
|
@@ -207,7 +211,7 @@ class QualityMonitorV2(pulumi.CustomResource):
|
|
|
207
211
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
208
212
|
|
|
209
213
|
```sh
|
|
210
|
-
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2
|
|
214
|
+
$ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 this "object_type,object_id"
|
|
211
215
|
```
|
|
212
216
|
|
|
213
217
|
:param str resource_name: The name of the resource.
|