@pulumi/databricks 1.77.0-alpha.1761975834 → 1.77.0
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.
- package/accountFederationPolicy.d.ts +9 -7
- package/accountFederationPolicy.js +3 -1
- package/accountFederationPolicy.js.map +1 -1
- package/accountNetworkPolicy.d.ts +3 -1
- package/accountNetworkPolicy.js +3 -1
- package/accountNetworkPolicy.js.map +1 -1
- package/accountSettingV2.d.ts +24 -16
- package/accountSettingV2.js +24 -5
- package/accountSettingV2.js.map +1 -1
- package/alertV2.d.ts +16 -26
- package/alertV2.js +18 -3
- package/alertV2.js.map +1 -1
- package/app.d.ts +21 -0
- package/app.js +4 -0
- package/app.js.map +1 -1
- package/appsSettingsCustomTemplate.d.ts +3 -13
- package/appsSettingsCustomTemplate.js +3 -3
- package/appsSettingsCustomTemplate.js.map +1 -1
- package/budgetPolicy.d.ts +3 -1
- package/budgetPolicy.js +3 -1
- package/budgetPolicy.js.map +1 -1
- package/catalog.d.ts +43 -2
- package/catalog.js +1 -1
- package/catalog.js.map +1 -1
- package/cluster.d.ts +12 -87
- package/cluster.js +2 -0
- package/cluster.js.map +1 -1
- package/dataQualityMonitor.d.ts +165 -0
- package/dataQualityMonitor.js +113 -0
- package/dataQualityMonitor.js.map +1 -0
- package/dataQualityRefresh.d.ts +169 -0
- package/dataQualityRefresh.js +106 -0
- package/dataQualityRefresh.js.map +1 -0
- package/databaseDatabaseCatalog.d.ts +3 -13
- package/databaseDatabaseCatalog.js +3 -3
- package/databaseDatabaseCatalog.js.map +1 -1
- package/databaseInstance.d.ts +97 -50
- package/databaseInstance.js +38 -3
- package/databaseInstance.js.map +1 -1
- package/databaseSyncedDatabaseTable.d.ts +12 -13
- package/databaseSyncedDatabaseTable.js +12 -3
- package/databaseSyncedDatabaseTable.js.map +1 -1
- package/entitlements.d.ts +9 -9
- package/entityTagAssignment.d.ts +45 -13
- package/entityTagAssignment.js +45 -3
- package/entityTagAssignment.js.map +1 -1
- package/externalMetadata.d.ts +6 -16
- package/externalMetadata.js +3 -3
- package/externalMetadata.js.map +1 -1
- package/featureEngineeringFeature.d.ts +145 -0
- package/featureEngineeringFeature.js +99 -0
- package/featureEngineeringFeature.js.map +1 -0
- package/featureEngineeringMaterializedFeature.d.ts +117 -0
- package/featureEngineeringMaterializedFeature.js +87 -0
- package/featureEngineeringMaterializedFeature.js.map +1 -0
- package/getAccountFederationPolicies.d.ts +19 -2
- package/getAccountFederationPolicies.js +14 -4
- package/getAccountFederationPolicies.js.map +1 -1
- package/getAccountFederationPolicy.d.ts +14 -35
- package/getAccountFederationPolicy.js +4 -8
- package/getAccountFederationPolicy.js.map +1 -1
- package/getAccountNetworkPolicies.d.ts +4 -0
- package/getAccountNetworkPolicies.js +4 -0
- package/getAccountNetworkPolicies.js.map +1 -1
- package/getAccountNetworkPolicy.d.ts +11 -24
- package/getAccountNetworkPolicy.js +4 -6
- package/getAccountNetworkPolicy.js.map +1 -1
- package/getAccountSettingV2.d.ts +37 -148
- package/getAccountSettingV2.js +18 -32
- package/getAccountSettingV2.js.map +1 -1
- package/getAlertV2.d.ts +39 -111
- package/getAlertV2.js +24 -24
- package/getAlertV2.js.map +1 -1
- package/getAlertsV2.d.ts +8 -10
- package/getAlertsV2.js +6 -2
- package/getAlertsV2.js.map +1 -1
- package/getApp.d.ts +5 -1
- package/getApp.js +2 -0
- package/getApp.js.map +1 -1
- package/getApps.d.ts +16 -2
- package/getApps.js +10 -4
- package/getApps.js.map +1 -1
- package/getAppsSettingsCustomTemplate.d.ts +5 -51
- package/getAppsSettingsCustomTemplate.js +4 -12
- package/getAppsSettingsCustomTemplate.js.map +1 -1
- package/getAppsSettingsCustomTemplates.d.ts +9 -5
- package/getAppsSettingsCustomTemplates.js +6 -2
- package/getAppsSettingsCustomTemplates.js.map +1 -1
- package/getAwsBucketPolicy.d.ts +6 -6
- package/getAwsBucketPolicy.js +6 -6
- package/getBudgetPolicies.d.ts +48 -2
- package/getBudgetPolicies.js +18 -4
- package/getBudgetPolicies.js.map +1 -1
- package/getBudgetPolicy.d.ts +11 -40
- package/getBudgetPolicy.js +4 -8
- package/getBudgetPolicy.js.map +1 -1
- package/getCatalog.d.ts +9 -0
- package/getCatalog.js +2 -0
- package/getCatalog.js.map +1 -1
- package/getCatalogs.d.ts +11 -0
- package/getCatalogs.js +2 -0
- package/getCatalogs.js.map +1 -1
- package/getCluster.d.ts +9 -0
- package/getCluster.js +2 -0
- package/getCluster.js.map +1 -1
- package/getClusterPolicy.d.ts +11 -0
- package/getClusterPolicy.js +2 -0
- package/getClusterPolicy.js.map +1 -1
- package/getClusters.d.ts +9 -0
- package/getClusters.js +2 -0
- package/getClusters.js.map +1 -1
- package/getCurrentMetastore.d.ts +9 -0
- package/getCurrentMetastore.js +2 -0
- package/getCurrentMetastore.js.map +1 -1
- package/getDashboards.d.ts +4 -0
- package/getDashboards.js +2 -0
- package/getDashboards.js.map +1 -1
- package/getDataQualityMonitor.d.ts +136 -0
- package/getDataQualityMonitor.js +88 -0
- package/getDataQualityMonitor.js.map +1 -0
- package/getDataQualityMonitors.d.ts +79 -0
- package/getDataQualityMonitors.js +76 -0
- package/getDataQualityMonitors.js.map +1 -0
- package/getDataQualityRefresh.d.ts +158 -0
- package/getDataQualityRefresh.js +90 -0
- package/getDataQualityRefresh.js.map +1 -0
- package/getDataQualityRefreshes.d.ts +131 -0
- package/getDataQualityRefreshes.js +90 -0
- package/getDataQualityRefreshes.js.map +1 -0
- package/getDatabaseDatabaseCatalog.d.ts +4 -33
- package/getDatabaseDatabaseCatalog.js +4 -8
- package/getDatabaseDatabaseCatalog.js.map +1 -1
- package/getDatabaseDatabaseCatalogs.d.ts +22 -7
- package/getDatabaseDatabaseCatalogs.js +10 -4
- package/getDatabaseDatabaseCatalogs.js.map +1 -1
- package/getDatabaseInstance.d.ts +40 -102
- package/getDatabaseInstance.js +4 -16
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabaseInstances.d.ts +9 -5
- package/getDatabaseInstances.js +6 -2
- package/getDatabaseInstances.js.map +1 -1
- package/getDatabaseSyncedDatabaseTable.d.ts +5 -41
- package/getDatabaseSyncedDatabaseTable.js +4 -8
- package/getDatabaseSyncedDatabaseTable.js.map +1 -1
- package/getDatabaseSyncedDatabaseTables.d.ts +22 -7
- package/getDatabaseSyncedDatabaseTables.js +10 -4
- package/getDatabaseSyncedDatabaseTables.js.map +1 -1
- package/getDirectory.d.ts +11 -0
- package/getDirectory.js +2 -0
- package/getDirectory.js.map +1 -1
- package/getEntityTagAssignment.d.ts +81 -18
- package/getEntityTagAssignment.js +80 -4
- package/getEntityTagAssignment.js.map +1 -1
- package/getEntityTagAssignments.d.ts +75 -5
- package/getEntityTagAssignments.js +72 -2
- package/getEntityTagAssignments.js.map +1 -1
- package/getExternalLocation.d.ts +9 -0
- package/getExternalLocation.js +2 -0
- package/getExternalLocation.js.map +1 -1
- package/getExternalLocations.d.ts +11 -0
- package/getExternalLocations.js +2 -0
- package/getExternalLocations.js.map +1 -1
- package/getExternalMetadata.d.ts +10 -75
- package/getExternalMetadata.js +4 -16
- package/getExternalMetadata.js.map +1 -1
- package/getExternalMetadatas.d.ts +11 -5
- package/getExternalMetadatas.js +6 -2
- package/getExternalMetadatas.js.map +1 -1
- package/getFeatureEngineeringFeature.d.ts +65 -0
- package/getFeatureEngineeringFeature.js +28 -0
- package/getFeatureEngineeringFeature.js.map +1 -0
- package/getFeatureEngineeringFeatures.d.ts +39 -0
- package/getFeatureEngineeringFeatures.js +30 -0
- package/getFeatureEngineeringFeatures.js.map +1 -0
- package/getFeatureEngineeringMaterializedFeature.d.ts +66 -0
- package/getFeatureEngineeringMaterializedFeature.js +28 -0
- package/getFeatureEngineeringMaterializedFeature.js.map +1 -0
- package/getFeatureEngineeringMaterializedFeatures.d.ts +51 -0
- package/getFeatureEngineeringMaterializedFeatures.js +32 -0
- package/getFeatureEngineeringMaterializedFeatures.js.map +1 -0
- package/getFunctions.d.ts +3 -0
- package/getFunctions.js +2 -0
- package/getFunctions.js.map +1 -1
- package/getInstanceProfiles.d.ts +9 -0
- package/getInstanceProfiles.js +2 -0
- package/getInstanceProfiles.js.map +1 -1
- package/getJobs.d.ts +11 -0
- package/getJobs.js +2 -0
- package/getJobs.js.map +1 -1
- package/getMaterializedFeaturesFeatureTag.d.ts +7 -18
- package/getMaterializedFeaturesFeatureTag.js +6 -4
- package/getMaterializedFeaturesFeatureTag.js.map +1 -1
- package/getMaterializedFeaturesFeatureTags.d.ts +19 -7
- package/getMaterializedFeaturesFeatureTags.js +12 -4
- package/getMaterializedFeaturesFeatureTags.js.map +1 -1
- package/getMetastore.d.ts +2 -2
- package/getMetastore.js +2 -2
- package/getMlflowExperiment.d.ts +9 -0
- package/getMlflowExperiment.js +2 -0
- package/getMlflowExperiment.js.map +1 -1
- package/getMlflowModel.d.ts +9 -0
- package/getMlflowModel.js +2 -0
- package/getMlflowModel.js.map +1 -1
- package/getMlflowModels.d.ts +11 -0
- package/getMlflowModels.js +2 -0
- package/getMlflowModels.js.map +1 -1
- package/getNodeType.d.ts +29 -2
- package/getNodeType.js +4 -0
- package/getNodeType.js.map +1 -1
- package/getNotificationDestinations.d.ts +4 -0
- package/getNotificationDestinations.js +2 -0
- package/getNotificationDestinations.js.map +1 -1
- package/getOnlineStore.d.ts +7 -26
- package/getOnlineStore.js +6 -6
- package/getOnlineStore.js.map +1 -1
- package/getOnlineStores.d.ts +11 -5
- package/getOnlineStores.js +8 -2
- package/getOnlineStores.js.map +1 -1
- package/getPipelines.d.ts +11 -0
- package/getPipelines.js +2 -0
- package/getPipelines.js.map +1 -1
- package/getPolicyInfo.d.ts +21 -115
- package/getPolicyInfo.js +6 -20
- package/getPolicyInfo.js.map +1 -1
- package/getPolicyInfos.d.ts +30 -9
- package/getPolicyInfos.js +10 -2
- package/getPolicyInfos.js.map +1 -1
- package/getQualityMonitorV2.d.ts +4 -9
- package/getQualityMonitorV2.js +4 -2
- package/getQualityMonitorV2.js.map +1 -1
- package/getQualityMonitorsV2.d.ts +7 -9
- package/getQualityMonitorsV2.js +6 -2
- package/getQualityMonitorsV2.js.map +1 -1
- package/getRegisteredModel.d.ts +3 -0
- package/getRegisteredModel.js +2 -0
- package/getRegisteredModel.js.map +1 -1
- package/getRegisteredModelVersions.d.ts +3 -0
- package/getRegisteredModelVersions.js +2 -0
- package/getRegisteredModelVersions.js.map +1 -1
- package/getRfaAccessRequestDestinations.d.ts +44 -0
- package/getRfaAccessRequestDestinations.js +36 -0
- package/getRfaAccessRequestDestinations.js.map +1 -0
- package/getSchema.d.ts +9 -0
- package/getSchema.js +2 -0
- package/getSchema.js.map +1 -1
- package/getSchemas.d.ts +11 -0
- package/getSchemas.js +2 -0
- package/getSchemas.js.map +1 -1
- package/getServicePrincipalFederationPolicies.d.ts +8 -1
- package/getServicePrincipalFederationPolicies.js +6 -0
- package/getServicePrincipalFederationPolicies.js.map +1 -1
- package/getServicePrincipalFederationPolicy.d.ts +18 -31
- package/getServicePrincipalFederationPolicy.js +4 -6
- package/getServicePrincipalFederationPolicy.js.map +1 -1
- package/getServingEndpoints.d.ts +3 -0
- package/getServingEndpoints.js +2 -0
- package/getServingEndpoints.js.map +1 -1
- package/getShare.d.ts +29 -14
- package/getShare.js +8 -4
- package/getShare.js.map +1 -1
- package/getShares.d.ts +11 -0
- package/getShares.js +2 -0
- package/getShares.js.map +1 -1
- package/getSparkVersion.d.ts +11 -0
- package/getSparkVersion.js +2 -0
- package/getSparkVersion.js.map +1 -1
- package/getSqlWarehouse.d.ts +3 -0
- package/getSqlWarehouse.js +2 -0
- package/getSqlWarehouse.js.map +1 -1
- package/getSqlWarehouses.d.ts +11 -0
- package/getSqlWarehouses.js +2 -0
- package/getSqlWarehouses.js.map +1 -1
- package/getStorageCredential.d.ts +9 -0
- package/getStorageCredential.js +2 -0
- package/getStorageCredential.js.map +1 -1
- package/getStorageCredentials.d.ts +11 -0
- package/getStorageCredentials.js +2 -0
- package/getStorageCredentials.js.map +1 -1
- package/getTable.d.ts +9 -0
- package/getTable.js +2 -0
- package/getTable.js.map +1 -1
- package/getTables.d.ts +11 -0
- package/getTables.js +2 -0
- package/getTables.js.map +1 -1
- package/getTagPolicies.d.ts +39 -7
- package/getTagPolicies.js +32 -4
- package/getTagPolicies.js.map +1 -1
- package/getTagPolicy.d.ts +42 -30
- package/getTagPolicy.js +32 -8
- package/getTagPolicy.js.map +1 -1
- package/getViews.d.ts +11 -0
- package/getViews.js +2 -0
- package/getViews.js.map +1 -1
- package/getVolume.d.ts +9 -0
- package/getVolume.js +2 -0
- package/getVolume.js.map +1 -1
- package/getVolumes.d.ts +11 -0
- package/getVolumes.js +2 -0
- package/getVolumes.js.map +1 -1
- package/getWorkspaceNetworkOption.d.ts +10 -20
- package/getWorkspaceNetworkOption.js +4 -4
- package/getWorkspaceNetworkOption.js.map +1 -1
- package/getWorkspaceSettingV2.d.ts +37 -157
- package/getWorkspaceSettingV2.js +18 -34
- package/getWorkspaceSettingV2.js.map +1 -1
- package/getZones.d.ts +11 -0
- package/getZones.js +2 -0
- package/getZones.js.map +1 -1
- package/gitCredential.d.ts +15 -3
- package/gitCredential.js +2 -0
- package/gitCredential.js.map +1 -1
- package/group.d.ts +9 -9
- package/index.d.ts +45 -45
- package/index.js +59 -57
- package/index.js.map +1 -1
- package/job.d.ts +12 -0
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/library.d.ts +87 -0
- package/library.js +2 -0
- package/library.js.map +1 -1
- package/materializedFeaturesFeatureTag.d.ts +3 -13
- package/materializedFeaturesFeatureTag.js +3 -3
- package/materializedFeaturesFeatureTag.js.map +1 -1
- package/mwsStorageConfigurations.d.ts +3 -3
- package/mwsStorageConfigurations.js +3 -3
- package/mwsWorkspaces.d.ts +25 -13
- package/mwsWorkspaces.js +6 -4
- package/mwsWorkspaces.js.map +1 -1
- package/onlineStore.d.ts +3 -13
- package/onlineStore.js +3 -3
- package/onlineStore.js.map +1 -1
- package/package.json +2 -2
- package/permissionAssignment.d.ts +85 -1
- package/permissionAssignment.js +48 -3
- package/permissionAssignment.js.map +1 -1
- package/pipeline.d.ts +3 -0
- package/pipeline.js +2 -0
- package/pipeline.js.map +1 -1
- package/policyInfo.d.ts +3 -13
- package/policyInfo.js +3 -3
- package/policyInfo.js.map +1 -1
- package/qualityMonitor.d.ts +12 -0
- package/qualityMonitor.js +2 -0
- package/qualityMonitor.js.map +1 -1
- package/qualityMonitorV2.d.ts +3 -13
- package/qualityMonitorV2.js +3 -3
- package/qualityMonitorV2.js.map +1 -1
- package/registeredModel.d.ts +31 -5
- package/registeredModel.js +16 -6
- package/registeredModel.js.map +1 -1
- package/rfaAccessRequestDestinations.d.ts +101 -0
- package/rfaAccessRequestDestinations.js +88 -0
- package/rfaAccessRequestDestinations.js.map +1 -0
- package/servicePrincipalFederationPolicy.d.ts +9 -7
- package/servicePrincipalFederationPolicy.js +3 -1
- package/servicePrincipalFederationPolicy.js.map +1 -1
- package/share.d.ts +15 -12
- package/share.js +9 -5
- package/share.js.map +1 -1
- package/sqlTable.d.ts +11 -3
- package/sqlTable.js +2 -0
- package/sqlTable.js.map +1 -1
- package/storageCredential.d.ts +10 -1
- package/storageCredential.js +1 -1
- package/storageCredential.js.map +1 -1
- package/tagPolicy.d.ts +41 -12
- package/tagPolicy.js +31 -4
- package/tagPolicy.js.map +1 -1
- package/types/input.d.ts +2292 -5271
- package/types/output.d.ts +3530 -4275
- package/user.d.ts +9 -9
- package/workspaceBinding.d.ts +0 -26
- package/workspaceBinding.js +0 -26
- package/workspaceBinding.js.map +1 -1
- package/workspaceNetworkOption.d.ts +3 -1
- package/workspaceNetworkOption.js +3 -1
- package/workspaceNetworkOption.js.map +1 -1
- package/workspaceSettingV2.d.ts +24 -28
- package/workspaceSettingV2.js +24 -7
- package/workspaceSettingV2.js.map +1 -1
- package/cleanRoomAsset.d.ts +0 -294
- package/cleanRoomAsset.js +0 -123
- package/cleanRoomAsset.js.map +0 -1
- package/cleanRoomAutoApprovalRule.d.ts +0 -147
- package/cleanRoomAutoApprovalRule.js +0 -84
- package/cleanRoomAutoApprovalRule.js.map +0 -1
- package/cleanRoomsCleanRoom.d.ts +0 -175
- package/cleanRoomsCleanRoom.js +0 -96
- package/cleanRoomsCleanRoom.js.map +0 -1
- package/getCleanRoomAsset.d.ts +0 -244
- package/getCleanRoomAsset.js +0 -72
- package/getCleanRoomAsset.js.map +0 -1
- package/getCleanRoomAssetRevisionsCleanRoomAsset.d.ts +0 -216
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js +0 -44
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js.map +0 -1
- package/getCleanRoomAssetRevisionsCleanRoomAssets.d.ts +0 -45
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js +0 -24
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js.map +0 -1
- package/getCleanRoomAssets.d.ts +0 -74
- package/getCleanRoomAssets.js +0 -52
- package/getCleanRoomAssets.js.map +0 -1
- package/getCleanRoomAutoApprovalRule.d.ts +0 -97
- package/getCleanRoomAutoApprovalRule.js +0 -32
- package/getCleanRoomAutoApprovalRule.js.map +0 -1
- package/getCleanRoomAutoApprovalRules.d.ts +0 -33
- package/getCleanRoomAutoApprovalRules.js +0 -24
- package/getCleanRoomAutoApprovalRules.js.map +0 -1
- package/getCleanRoomsCleanRoom.d.ts +0 -147
- package/getCleanRoomsCleanRoom.js +0 -64
- package/getCleanRoomsCleanRoom.js.map +0 -1
- package/getCleanRoomsCleanRooms.d.ts +0 -61
- package/getCleanRoomsCleanRooms.js +0 -52
- package/getCleanRoomsCleanRooms.js.map +0 -1
- package/getRecipientFederationPolicies.d.ts +0 -33
- package/getRecipientFederationPolicies.js +0 -24
- package/getRecipientFederationPolicies.js.map +0 -1
- package/getRecipientFederationPolicy.d.ts +0 -80
- package/getRecipientFederationPolicy.js +0 -30
- package/getRecipientFederationPolicy.js.map +0 -1
- package/recipientFederationPolicy.d.ts +0 -126
- package/recipientFederationPolicy.js +0 -80
- package/recipientFederationPolicy.js.map +0 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
5
|
+
*
|
|
6
|
+
* This data source can be used to fetch a data quality monitor.
|
|
7
|
+
*
|
|
8
|
+
* For the `table` `objectType`, the caller must either:
|
|
9
|
+
* 1. be an owner of the table's parent catalog
|
|
10
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
11
|
+
* 3. have the following permissions:
|
|
12
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
13
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
14
|
+
* - **SELECT** privilege on the table.
|
|
15
|
+
*
|
|
16
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
17
|
+
*
|
|
18
|
+
* ## Example Usage
|
|
19
|
+
*
|
|
20
|
+
* Getting a data quality monitor by Unity Catalog object type (currently supports `schema` and `table`) and object id:
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as databricks from "@pulumi/databricks";
|
|
25
|
+
*
|
|
26
|
+
* const _this = databricks.getSchema({
|
|
27
|
+
* name: "my_catalog.my_schema",
|
|
28
|
+
* });
|
|
29
|
+
* const thisGetDataQualityMonitor = _this.then(_this => databricks.getDataQualityMonitor({
|
|
30
|
+
* objectType: "schema",
|
|
31
|
+
* objectId: _this.schemaInfo?.schemaId,
|
|
32
|
+
* }));
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare function getDataQualityMonitor(args: GetDataQualityMonitorArgs, opts?: pulumi.InvokeOptions): Promise<GetDataQualityMonitorResult>;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of arguments for invoking getDataQualityMonitor.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetDataQualityMonitorArgs {
|
|
40
|
+
/**
|
|
41
|
+
* The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
42
|
+
*
|
|
43
|
+
* Find the `schemaId` from either:
|
|
44
|
+
* 1. The [schemaId](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
45
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
46
|
+
*
|
|
47
|
+
* Find the `tableId` from either:
|
|
48
|
+
* 1. The [tableId](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
49
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
50
|
+
*/
|
|
51
|
+
objectId: string;
|
|
52
|
+
/**
|
|
53
|
+
* The type of the monitored object. Can be one of the following: `schema` or `table`
|
|
54
|
+
*/
|
|
55
|
+
objectType: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A collection of values returned by getDataQualityMonitor.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetDataQualityMonitorResult {
|
|
61
|
+
/**
|
|
62
|
+
* (AnomalyDetectionConfig) - Anomaly Detection Configuration, applicable to `schema` object types
|
|
63
|
+
*/
|
|
64
|
+
readonly anomalyDetectionConfig: outputs.GetDataQualityMonitorAnomalyDetectionConfig;
|
|
65
|
+
/**
|
|
66
|
+
* (DataProfilingConfig) - Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
|
|
67
|
+
* must be present
|
|
68
|
+
*/
|
|
69
|
+
readonly dataProfilingConfig: outputs.GetDataQualityMonitorDataProfilingConfig;
|
|
70
|
+
/**
|
|
71
|
+
* The provider-assigned unique ID for this managed resource.
|
|
72
|
+
*/
|
|
73
|
+
readonly id: string;
|
|
74
|
+
/**
|
|
75
|
+
* (string) - The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
76
|
+
*/
|
|
77
|
+
readonly objectId: string;
|
|
78
|
+
/**
|
|
79
|
+
* (string) - The type of the monitored object. Can be one of the following: `schema` or `table`
|
|
80
|
+
*/
|
|
81
|
+
readonly objectType: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
85
|
+
*
|
|
86
|
+
* This data source can be used to fetch a data quality monitor.
|
|
87
|
+
*
|
|
88
|
+
* For the `table` `objectType`, the caller must either:
|
|
89
|
+
* 1. be an owner of the table's parent catalog
|
|
90
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
91
|
+
* 3. have the following permissions:
|
|
92
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
93
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
94
|
+
* - **SELECT** privilege on the table.
|
|
95
|
+
*
|
|
96
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
97
|
+
*
|
|
98
|
+
* ## Example Usage
|
|
99
|
+
*
|
|
100
|
+
* Getting a data quality monitor by Unity Catalog object type (currently supports `schema` and `table`) and object id:
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as databricks from "@pulumi/databricks";
|
|
105
|
+
*
|
|
106
|
+
* const _this = databricks.getSchema({
|
|
107
|
+
* name: "my_catalog.my_schema",
|
|
108
|
+
* });
|
|
109
|
+
* const thisGetDataQualityMonitor = _this.then(_this => databricks.getDataQualityMonitor({
|
|
110
|
+
* objectType: "schema",
|
|
111
|
+
* objectId: _this.schemaInfo?.schemaId,
|
|
112
|
+
* }));
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
export declare function getDataQualityMonitorOutput(args: GetDataQualityMonitorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataQualityMonitorResult>;
|
|
116
|
+
/**
|
|
117
|
+
* A collection of arguments for invoking getDataQualityMonitor.
|
|
118
|
+
*/
|
|
119
|
+
export interface GetDataQualityMonitorOutputArgs {
|
|
120
|
+
/**
|
|
121
|
+
* The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
122
|
+
*
|
|
123
|
+
* Find the `schemaId` from either:
|
|
124
|
+
* 1. The [schemaId](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
125
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
126
|
+
*
|
|
127
|
+
* Find the `tableId` from either:
|
|
128
|
+
* 1. The [tableId](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
129
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
130
|
+
*/
|
|
131
|
+
objectId: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The type of the monitored object. Can be one of the following: `schema` or `table`
|
|
134
|
+
*/
|
|
135
|
+
objectType: pulumi.Input<string>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDataQualityMonitorOutput = exports.getDataQualityMonitor = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*
|
|
11
|
+
* This data source can be used to fetch a data quality monitor.
|
|
12
|
+
*
|
|
13
|
+
* For the `table` `objectType`, the caller must either:
|
|
14
|
+
* 1. be an owner of the table's parent catalog
|
|
15
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
16
|
+
* 3. have the following permissions:
|
|
17
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
18
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
19
|
+
* - **SELECT** privilege on the table.
|
|
20
|
+
*
|
|
21
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
22
|
+
*
|
|
23
|
+
* ## Example Usage
|
|
24
|
+
*
|
|
25
|
+
* Getting a data quality monitor by Unity Catalog object type (currently supports `schema` and `table`) and object id:
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as databricks from "@pulumi/databricks";
|
|
30
|
+
*
|
|
31
|
+
* const _this = databricks.getSchema({
|
|
32
|
+
* name: "my_catalog.my_schema",
|
|
33
|
+
* });
|
|
34
|
+
* const thisGetDataQualityMonitor = _this.then(_this => databricks.getDataQualityMonitor({
|
|
35
|
+
* objectType: "schema",
|
|
36
|
+
* objectId: _this.schemaInfo?.schemaId,
|
|
37
|
+
* }));
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function getDataQualityMonitor(args, opts) {
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
|
+
return pulumi.runtime.invoke("databricks:index/getDataQualityMonitor:getDataQualityMonitor", {
|
|
43
|
+
"objectId": args.objectId,
|
|
44
|
+
"objectType": args.objectType,
|
|
45
|
+
}, opts);
|
|
46
|
+
}
|
|
47
|
+
exports.getDataQualityMonitor = getDataQualityMonitor;
|
|
48
|
+
/**
|
|
49
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
50
|
+
*
|
|
51
|
+
* This data source can be used to fetch a data quality monitor.
|
|
52
|
+
*
|
|
53
|
+
* For the `table` `objectType`, the caller must either:
|
|
54
|
+
* 1. be an owner of the table's parent catalog
|
|
55
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
56
|
+
* 3. have the following permissions:
|
|
57
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
58
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
59
|
+
* - **SELECT** privilege on the table.
|
|
60
|
+
*
|
|
61
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
62
|
+
*
|
|
63
|
+
* ## Example Usage
|
|
64
|
+
*
|
|
65
|
+
* Getting a data quality monitor by Unity Catalog object type (currently supports `schema` and `table`) and object id:
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as databricks from "@pulumi/databricks";
|
|
70
|
+
*
|
|
71
|
+
* const _this = databricks.getSchema({
|
|
72
|
+
* name: "my_catalog.my_schema",
|
|
73
|
+
* });
|
|
74
|
+
* const thisGetDataQualityMonitor = _this.then(_this => databricks.getDataQualityMonitor({
|
|
75
|
+
* objectType: "schema",
|
|
76
|
+
* objectId: _this.schemaInfo?.schemaId,
|
|
77
|
+
* }));
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
function getDataQualityMonitorOutput(args, opts) {
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
82
|
+
return pulumi.runtime.invokeOutput("databricks:index/getDataQualityMonitor:getDataQualityMonitor", {
|
|
83
|
+
"objectId": args.objectId,
|
|
84
|
+
"objectType": args.objectType,
|
|
85
|
+
}, opts);
|
|
86
|
+
}
|
|
87
|
+
exports.getDataQualityMonitorOutput = getDataQualityMonitorOutput;
|
|
88
|
+
//# sourceMappingURL=getDataQualityMonitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataQualityMonitor.js","sourceRoot":"","sources":["../getDataQualityMonitor.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAkDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
5
|
+
*
|
|
6
|
+
* This data source can be used to fetch the list of data quality monitors.
|
|
7
|
+
*
|
|
8
|
+
* For the `table` `objectType`, the caller must either:
|
|
9
|
+
* 1. be an owner of the table's parent catalog
|
|
10
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
11
|
+
* 3. have the following permissions:
|
|
12
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
13
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
14
|
+
* - **SELECT** privilege on the table.
|
|
15
|
+
*
|
|
16
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
17
|
+
*
|
|
18
|
+
* ## Example Usage
|
|
19
|
+
*
|
|
20
|
+
* Getting a list of all data quality monitors:
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as databricks from "@pulumi/databricks";
|
|
25
|
+
*
|
|
26
|
+
* const all = databricks.getDataQualityMonitors({});
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function getDataQualityMonitors(args?: GetDataQualityMonitorsArgs, opts?: pulumi.InvokeOptions): Promise<GetDataQualityMonitorsResult>;
|
|
30
|
+
/**
|
|
31
|
+
* A collection of arguments for invoking getDataQualityMonitors.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetDataQualityMonitorsArgs {
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A collection of values returned by getDataQualityMonitors.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetDataQualityMonitorsResult {
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
readonly monitors: outputs.GetDataQualityMonitorsMonitor[];
|
|
45
|
+
readonly pageSize?: number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
49
|
+
*
|
|
50
|
+
* This data source can be used to fetch the list of data quality monitors.
|
|
51
|
+
*
|
|
52
|
+
* For the `table` `objectType`, the caller must either:
|
|
53
|
+
* 1. be an owner of the table's parent catalog
|
|
54
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
55
|
+
* 3. have the following permissions:
|
|
56
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
57
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
58
|
+
* - **SELECT** privilege on the table.
|
|
59
|
+
*
|
|
60
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* Getting a list of all data quality monitors:
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as databricks from "@pulumi/databricks";
|
|
69
|
+
*
|
|
70
|
+
* const all = databricks.getDataQualityMonitors({});
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getDataQualityMonitorsOutput(args?: GetDataQualityMonitorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataQualityMonitorsResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getDataQualityMonitors.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetDataQualityMonitorsOutputArgs {
|
|
78
|
+
pageSize?: pulumi.Input<number>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDataQualityMonitorsOutput = exports.getDataQualityMonitors = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*
|
|
11
|
+
* This data source can be used to fetch the list of data quality monitors.
|
|
12
|
+
*
|
|
13
|
+
* For the `table` `objectType`, the caller must either:
|
|
14
|
+
* 1. be an owner of the table's parent catalog
|
|
15
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
16
|
+
* 3. have the following permissions:
|
|
17
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
18
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
19
|
+
* - **SELECT** privilege on the table.
|
|
20
|
+
*
|
|
21
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
22
|
+
*
|
|
23
|
+
* ## Example Usage
|
|
24
|
+
*
|
|
25
|
+
* Getting a list of all data quality monitors:
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as databricks from "@pulumi/databricks";
|
|
30
|
+
*
|
|
31
|
+
* const all = databricks.getDataQualityMonitors({});
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
function getDataQualityMonitors(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("databricks:index/getDataQualityMonitors:getDataQualityMonitors", {
|
|
38
|
+
"pageSize": args.pageSize,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getDataQualityMonitors = getDataQualityMonitors;
|
|
42
|
+
/**
|
|
43
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
44
|
+
*
|
|
45
|
+
* This data source can be used to fetch the list of data quality monitors.
|
|
46
|
+
*
|
|
47
|
+
* For the `table` `objectType`, the caller must either:
|
|
48
|
+
* 1. be an owner of the table's parent catalog
|
|
49
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
50
|
+
* 3. have the following permissions:
|
|
51
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
52
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
53
|
+
* - **SELECT** privilege on the table.
|
|
54
|
+
*
|
|
55
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* Getting a list of all data quality monitors:
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as databricks from "@pulumi/databricks";
|
|
64
|
+
*
|
|
65
|
+
* const all = databricks.getDataQualityMonitors({});
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
function getDataQualityMonitorsOutput(args, opts) {
|
|
69
|
+
args = args || {};
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
71
|
+
return pulumi.runtime.invokeOutput("databricks:index/getDataQualityMonitors:getDataQualityMonitors", {
|
|
72
|
+
"pageSize": args.pageSize,
|
|
73
|
+
}, opts);
|
|
74
|
+
}
|
|
75
|
+
exports.getDataQualityMonitorsOutput = getDataQualityMonitorsOutput;
|
|
76
|
+
//# sourceMappingURL=getDataQualityMonitors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataQualityMonitors.js","sourceRoot":"","sources":["../getDataQualityMonitors.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAoBD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAAiC;IACnH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
4
|
+
*
|
|
5
|
+
* This data source can be used to fetch a data quality refresh on a Unity Catalog table.
|
|
6
|
+
*
|
|
7
|
+
* The caller must either:
|
|
8
|
+
* 1. be an owner of the table's parent catalog
|
|
9
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
10
|
+
* 3. have the following permissions:
|
|
11
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
12
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
13
|
+
* - **SELECT** privilege on the table.
|
|
14
|
+
*
|
|
15
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* Getting a data quality refresh by Unity Catalog object type (currently supports `table`) and object id:
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as databricks from "@pulumi/databricks";
|
|
24
|
+
*
|
|
25
|
+
* const _this = databricks.getTable({
|
|
26
|
+
* name: "my_catalog.my_schema.my_table",
|
|
27
|
+
* });
|
|
28
|
+
* const thisGetDataQualityRefresh = _this.then(_this => databricks.getDataQualityRefresh({
|
|
29
|
+
* objectType: "table",
|
|
30
|
+
* objectId: _this.id,
|
|
31
|
+
* }));
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function getDataQualityRefresh(args: GetDataQualityRefreshArgs, opts?: pulumi.InvokeOptions): Promise<GetDataQualityRefreshResult>;
|
|
35
|
+
/**
|
|
36
|
+
* A collection of arguments for invoking getDataQualityRefresh.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetDataQualityRefreshArgs {
|
|
39
|
+
/**
|
|
40
|
+
* The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
41
|
+
*
|
|
42
|
+
* Find the `schemaId` from either:
|
|
43
|
+
* 1. The [schemaId](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
44
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
45
|
+
*
|
|
46
|
+
* Find the `tableId` from either:
|
|
47
|
+
* 1. The [tableId](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
48
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
49
|
+
*/
|
|
50
|
+
objectId: string;
|
|
51
|
+
/**
|
|
52
|
+
* The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
53
|
+
*/
|
|
54
|
+
objectType: string;
|
|
55
|
+
/**
|
|
56
|
+
* Unique id of the refresh operation
|
|
57
|
+
*/
|
|
58
|
+
refreshId: number;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A collection of values returned by getDataQualityRefresh.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetDataQualityRefreshResult {
|
|
64
|
+
/**
|
|
65
|
+
* (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
|
|
66
|
+
*/
|
|
67
|
+
readonly endTimeMs: number;
|
|
68
|
+
/**
|
|
69
|
+
* The provider-assigned unique ID for this managed resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly id: string;
|
|
72
|
+
/**
|
|
73
|
+
* (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
|
|
74
|
+
*/
|
|
75
|
+
readonly message: string;
|
|
76
|
+
/**
|
|
77
|
+
* (string) - The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
78
|
+
*/
|
|
79
|
+
readonly objectId: string;
|
|
80
|
+
/**
|
|
81
|
+
* (string) - The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
82
|
+
*/
|
|
83
|
+
readonly objectType: string;
|
|
84
|
+
/**
|
|
85
|
+
* (integer) - Unique id of the refresh operation
|
|
86
|
+
*/
|
|
87
|
+
readonly refreshId: number;
|
|
88
|
+
/**
|
|
89
|
+
* (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
|
|
90
|
+
*/
|
|
91
|
+
readonly startTimeMs: number;
|
|
92
|
+
/**
|
|
93
|
+
* (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`
|
|
94
|
+
*/
|
|
95
|
+
readonly state: string;
|
|
96
|
+
/**
|
|
97
|
+
* (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`
|
|
98
|
+
*/
|
|
99
|
+
readonly trigger: string;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
103
|
+
*
|
|
104
|
+
* This data source can be used to fetch a data quality refresh on a Unity Catalog table.
|
|
105
|
+
*
|
|
106
|
+
* The caller must either:
|
|
107
|
+
* 1. be an owner of the table's parent catalog
|
|
108
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
109
|
+
* 3. have the following permissions:
|
|
110
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
111
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
112
|
+
* - **SELECT** privilege on the table.
|
|
113
|
+
*
|
|
114
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
115
|
+
*
|
|
116
|
+
* ## Example Usage
|
|
117
|
+
*
|
|
118
|
+
* Getting a data quality refresh by Unity Catalog object type (currently supports `table`) and object id:
|
|
119
|
+
*
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as databricks from "@pulumi/databricks";
|
|
123
|
+
*
|
|
124
|
+
* const _this = databricks.getTable({
|
|
125
|
+
* name: "my_catalog.my_schema.my_table",
|
|
126
|
+
* });
|
|
127
|
+
* const thisGetDataQualityRefresh = _this.then(_this => databricks.getDataQualityRefresh({
|
|
128
|
+
* objectType: "table",
|
|
129
|
+
* objectId: _this.id,
|
|
130
|
+
* }));
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
export declare function getDataQualityRefreshOutput(args: GetDataQualityRefreshOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataQualityRefreshResult>;
|
|
134
|
+
/**
|
|
135
|
+
* A collection of arguments for invoking getDataQualityRefresh.
|
|
136
|
+
*/
|
|
137
|
+
export interface GetDataQualityRefreshOutputArgs {
|
|
138
|
+
/**
|
|
139
|
+
* The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
140
|
+
*
|
|
141
|
+
* Find the `schemaId` from either:
|
|
142
|
+
* 1. The [schemaId](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
143
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
144
|
+
*
|
|
145
|
+
* Find the `tableId` from either:
|
|
146
|
+
* 1. The [tableId](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
147
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
148
|
+
*/
|
|
149
|
+
objectId: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
152
|
+
*/
|
|
153
|
+
objectType: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Unique id of the refresh operation
|
|
156
|
+
*/
|
|
157
|
+
refreshId: pulumi.Input<number>;
|
|
158
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDataQualityRefreshOutput = exports.getDataQualityRefresh = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*
|
|
11
|
+
* This data source can be used to fetch a data quality refresh on a Unity Catalog table.
|
|
12
|
+
*
|
|
13
|
+
* The caller must either:
|
|
14
|
+
* 1. be an owner of the table's parent catalog
|
|
15
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
16
|
+
* 3. have the following permissions:
|
|
17
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
18
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
19
|
+
* - **SELECT** privilege on the table.
|
|
20
|
+
*
|
|
21
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
22
|
+
*
|
|
23
|
+
* ## Example Usage
|
|
24
|
+
*
|
|
25
|
+
* Getting a data quality refresh by Unity Catalog object type (currently supports `table`) and object id:
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as databricks from "@pulumi/databricks";
|
|
30
|
+
*
|
|
31
|
+
* const _this = databricks.getTable({
|
|
32
|
+
* name: "my_catalog.my_schema.my_table",
|
|
33
|
+
* });
|
|
34
|
+
* const thisGetDataQualityRefresh = _this.then(_this => databricks.getDataQualityRefresh({
|
|
35
|
+
* objectType: "table",
|
|
36
|
+
* objectId: _this.id,
|
|
37
|
+
* }));
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function getDataQualityRefresh(args, opts) {
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
|
+
return pulumi.runtime.invoke("databricks:index/getDataQualityRefresh:getDataQualityRefresh", {
|
|
43
|
+
"objectId": args.objectId,
|
|
44
|
+
"objectType": args.objectType,
|
|
45
|
+
"refreshId": args.refreshId,
|
|
46
|
+
}, opts);
|
|
47
|
+
}
|
|
48
|
+
exports.getDataQualityRefresh = getDataQualityRefresh;
|
|
49
|
+
/**
|
|
50
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
51
|
+
*
|
|
52
|
+
* This data source can be used to fetch a data quality refresh on a Unity Catalog table.
|
|
53
|
+
*
|
|
54
|
+
* The caller must either:
|
|
55
|
+
* 1. be an owner of the table's parent catalog
|
|
56
|
+
* 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema.
|
|
57
|
+
* 3. have the following permissions:
|
|
58
|
+
* - **USE_CATALOG** on the table's parent catalog
|
|
59
|
+
* - **USE_SCHEMA** on the table's parent schema
|
|
60
|
+
* - **SELECT** privilege on the table.
|
|
61
|
+
*
|
|
62
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* Getting a data quality refresh by Unity Catalog object type (currently supports `table`) and object id:
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as databricks from "@pulumi/databricks";
|
|
71
|
+
*
|
|
72
|
+
* const _this = databricks.getTable({
|
|
73
|
+
* name: "my_catalog.my_schema.my_table",
|
|
74
|
+
* });
|
|
75
|
+
* const thisGetDataQualityRefresh = _this.then(_this => databricks.getDataQualityRefresh({
|
|
76
|
+
* objectType: "table",
|
|
77
|
+
* objectId: _this.id,
|
|
78
|
+
* }));
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
function getDataQualityRefreshOutput(args, opts) {
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
83
|
+
return pulumi.runtime.invokeOutput("databricks:index/getDataQualityRefresh:getDataQualityRefresh", {
|
|
84
|
+
"objectId": args.objectId,
|
|
85
|
+
"objectType": args.objectType,
|
|
86
|
+
"refreshId": args.refreshId,
|
|
87
|
+
}, opts);
|
|
88
|
+
}
|
|
89
|
+
exports.getDataQualityRefreshOutput = getDataQualityRefreshOutput;
|
|
90
|
+
//# sourceMappingURL=getDataQualityRefresh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDataQualityRefresh.js","sourceRoot":"","sources":["../getDataQualityRefresh.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AAqED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
|