@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,113 @@
|
|
|
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.DataQualityMonitor = 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 resource allows you to set up data quality monitoring checks for Unity Catalog objects, currently schema and table.
|
|
12
|
+
*
|
|
13
|
+
* For the `table` `objectType`, you must either:
|
|
14
|
+
* 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on the table's parent schema, and have **SELECT** access on the table
|
|
15
|
+
* 2. have **USE_CATALOG** on the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** access on the table.
|
|
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
|
+
* - be an owner of the table.
|
|
20
|
+
*
|
|
21
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
22
|
+
*
|
|
23
|
+
* ## Example Usage
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as databricks from "@pulumi/databricks";
|
|
28
|
+
*
|
|
29
|
+
* const _this = new databricks.Schema("this", {
|
|
30
|
+
* catalogName: "my_catalog",
|
|
31
|
+
* name: "my_schema",
|
|
32
|
+
* });
|
|
33
|
+
* const thisDataQualityMonitor = new databricks.DataQualityMonitor("this", {
|
|
34
|
+
* objectType: "schema",
|
|
35
|
+
* objectId: _this.schemaId,
|
|
36
|
+
* anomalyDetectionConfig: {},
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ## Import
|
|
41
|
+
*
|
|
42
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
43
|
+
*
|
|
44
|
+
* hcl
|
|
45
|
+
*
|
|
46
|
+
* import {
|
|
47
|
+
*
|
|
48
|
+
* id = "object_type,object_id"
|
|
49
|
+
*
|
|
50
|
+
* to = databricks_data_quality_monitor.this
|
|
51
|
+
*
|
|
52
|
+
* }
|
|
53
|
+
*
|
|
54
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import databricks:index/dataQualityMonitor:DataQualityMonitor this "object_type,object_id"
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
class DataQualityMonitor extends pulumi.CustomResource {
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing DataQualityMonitor resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, state, opts) {
|
|
71
|
+
return new DataQualityMonitor(name, state, { ...opts, id: id });
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of DataQualityMonitor. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === DataQualityMonitor.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
constructor(name, argsOrState, opts) {
|
|
84
|
+
let resourceInputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (opts.id) {
|
|
87
|
+
const state = argsOrState;
|
|
88
|
+
resourceInputs["anomalyDetectionConfig"] = state?.anomalyDetectionConfig;
|
|
89
|
+
resourceInputs["dataProfilingConfig"] = state?.dataProfilingConfig;
|
|
90
|
+
resourceInputs["objectId"] = state?.objectId;
|
|
91
|
+
resourceInputs["objectType"] = state?.objectType;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
if (args?.objectId === undefined && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'objectId'");
|
|
97
|
+
}
|
|
98
|
+
if (args?.objectType === undefined && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'objectType'");
|
|
100
|
+
}
|
|
101
|
+
resourceInputs["anomalyDetectionConfig"] = args?.anomalyDetectionConfig;
|
|
102
|
+
resourceInputs["dataProfilingConfig"] = args?.dataProfilingConfig;
|
|
103
|
+
resourceInputs["objectId"] = args?.objectId;
|
|
104
|
+
resourceInputs["objectType"] = args?.objectType;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(DataQualityMonitor.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.DataQualityMonitor = DataQualityMonitor;
|
|
111
|
+
/** @internal */
|
|
112
|
+
DataQualityMonitor.__pulumiType = 'databricks:index/dataQualityMonitor:DataQualityMonitor';
|
|
113
|
+
//# sourceMappingURL=dataQualityMonitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataQualityMonitor.js","sourceRoot":"","sources":["../dataQualityMonitor.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,kBAAmB,SAAQ,MA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AC7D;YACD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAtFL,gDAuFC;AAzEG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to refresh the data quality monitoring checks on Unity Catalog tables.
|
|
6
|
+
*
|
|
7
|
+
* You must either:
|
|
8
|
+
* 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on the table's parent schema, and have **SELECT** access on the table
|
|
9
|
+
* 2. have **USE_CATALOG** on the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** access on the table.
|
|
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
|
+
* - be an owner of the table.
|
|
14
|
+
*
|
|
15
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
22
|
+
*
|
|
23
|
+
* hcl
|
|
24
|
+
*
|
|
25
|
+
* import {
|
|
26
|
+
*
|
|
27
|
+
* id = "object_type,object_id,refresh_id"
|
|
28
|
+
*
|
|
29
|
+
* to = databricks_data_quality_refresh.this
|
|
30
|
+
*
|
|
31
|
+
* }
|
|
32
|
+
*
|
|
33
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class DataQualityRefresh extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing DataQualityRefresh resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataQualityRefreshState, opts?: pulumi.CustomResourceOptions): DataQualityRefresh;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of DataQualityRefresh. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is DataQualityRefresh;
|
|
55
|
+
/**
|
|
56
|
+
* (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
|
|
57
|
+
*/
|
|
58
|
+
readonly endTimeMs: pulumi.Output<number>;
|
|
59
|
+
/**
|
|
60
|
+
* (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
|
|
61
|
+
*/
|
|
62
|
+
readonly message: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
65
|
+
*
|
|
66
|
+
* Find the `schemaId` from either:
|
|
67
|
+
* 1. The [schemaId](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
68
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
69
|
+
*
|
|
70
|
+
* Find the `tableId` from either:
|
|
71
|
+
* 1. The [tableId](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
72
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
73
|
+
*/
|
|
74
|
+
readonly objectId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
77
|
+
*/
|
|
78
|
+
readonly objectType: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* (integer) - Unique id of the refresh operation
|
|
81
|
+
*/
|
|
82
|
+
readonly refreshId: pulumi.Output<number>;
|
|
83
|
+
/**
|
|
84
|
+
* (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
|
|
85
|
+
*/
|
|
86
|
+
readonly startTimeMs: pulumi.Output<number>;
|
|
87
|
+
/**
|
|
88
|
+
* (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`
|
|
89
|
+
*/
|
|
90
|
+
readonly state: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* (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`
|
|
93
|
+
*/
|
|
94
|
+
readonly trigger: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a DataQualityRefresh resource with the given unique name, arguments, and options.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resource.
|
|
99
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
+
*/
|
|
102
|
+
constructor(name: string, args: DataQualityRefreshArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering DataQualityRefresh resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface DataQualityRefreshState {
|
|
108
|
+
/**
|
|
109
|
+
* (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
|
|
110
|
+
*/
|
|
111
|
+
endTimeMs?: pulumi.Input<number>;
|
|
112
|
+
/**
|
|
113
|
+
* (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
|
|
114
|
+
*/
|
|
115
|
+
message?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
118
|
+
*
|
|
119
|
+
* Find the `schemaId` from either:
|
|
120
|
+
* 1. The [schemaId](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
121
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
122
|
+
*
|
|
123
|
+
* Find the `tableId` from either:
|
|
124
|
+
* 1. The [tableId](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
125
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
126
|
+
*/
|
|
127
|
+
objectId?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
130
|
+
*/
|
|
131
|
+
objectType?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* (integer) - Unique id of the refresh operation
|
|
134
|
+
*/
|
|
135
|
+
refreshId?: pulumi.Input<number>;
|
|
136
|
+
/**
|
|
137
|
+
* (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
|
|
138
|
+
*/
|
|
139
|
+
startTimeMs?: pulumi.Input<number>;
|
|
140
|
+
/**
|
|
141
|
+
* (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`
|
|
142
|
+
*/
|
|
143
|
+
state?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* (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`
|
|
146
|
+
*/
|
|
147
|
+
trigger?: pulumi.Input<string>;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* The set of arguments for constructing a DataQualityRefresh resource.
|
|
151
|
+
*/
|
|
152
|
+
export interface DataQualityRefreshArgs {
|
|
153
|
+
/**
|
|
154
|
+
* The UUID of the request object. It is `schemaId` for `schema`, and `tableId` for `table`.
|
|
155
|
+
*
|
|
156
|
+
* Find the `schemaId` from either:
|
|
157
|
+
* 1. The [schemaId](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
|
|
158
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
|
|
159
|
+
*
|
|
160
|
+
* Find the `tableId` from either:
|
|
161
|
+
* 1. The [tableId](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
|
|
162
|
+
* 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
|
|
163
|
+
*/
|
|
164
|
+
objectId: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The type of the monitored object. Can be one of the following: `schema`or `table`
|
|
167
|
+
*/
|
|
168
|
+
objectType: pulumi.Input<string>;
|
|
169
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.DataQualityRefresh = 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 resource allows you to refresh the data quality monitoring checks on Unity Catalog tables.
|
|
12
|
+
*
|
|
13
|
+
* You must either:
|
|
14
|
+
* 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on the table's parent schema, and have **SELECT** access on the table
|
|
15
|
+
* 2. have **USE_CATALOG** on the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** access on the table.
|
|
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
|
+
* - be an owner of the table.
|
|
20
|
+
*
|
|
21
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
22
|
+
*
|
|
23
|
+
* ## Example Usage
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
28
|
+
*
|
|
29
|
+
* hcl
|
|
30
|
+
*
|
|
31
|
+
* import {
|
|
32
|
+
*
|
|
33
|
+
* id = "object_type,object_id,refresh_id"
|
|
34
|
+
*
|
|
35
|
+
* to = databricks_data_quality_refresh.this
|
|
36
|
+
*
|
|
37
|
+
* }
|
|
38
|
+
*
|
|
39
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class DataQualityRefresh extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing DataQualityRefresh resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new DataQualityRefresh(name, state, { ...opts, id: id });
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of DataQualityRefresh. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === DataQualityRefresh.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["endTimeMs"] = state?.endTimeMs;
|
|
74
|
+
resourceInputs["message"] = state?.message;
|
|
75
|
+
resourceInputs["objectId"] = state?.objectId;
|
|
76
|
+
resourceInputs["objectType"] = state?.objectType;
|
|
77
|
+
resourceInputs["refreshId"] = state?.refreshId;
|
|
78
|
+
resourceInputs["startTimeMs"] = state?.startTimeMs;
|
|
79
|
+
resourceInputs["state"] = state?.state;
|
|
80
|
+
resourceInputs["trigger"] = state?.trigger;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if (args?.objectId === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'objectId'");
|
|
86
|
+
}
|
|
87
|
+
if (args?.objectType === undefined && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'objectType'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["objectId"] = args?.objectId;
|
|
91
|
+
resourceInputs["objectType"] = args?.objectType;
|
|
92
|
+
resourceInputs["endTimeMs"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["message"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["refreshId"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["startTimeMs"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["trigger"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(DataQualityRefresh.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.DataQualityRefresh = DataQualityRefresh;
|
|
104
|
+
/** @internal */
|
|
105
|
+
DataQualityRefresh.__pulumiType = 'databricks:index/dataQualityRefresh:DataQualityRefresh';
|
|
106
|
+
//# sourceMapping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AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
4
|
+
*
|
|
3
5
|
* Database Catalogs are databases inside a Lakebase Database Instance which are synced into a Postgres Catalog inside Unity Catalog.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
@@ -65,7 +67,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
65
67
|
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
66
68
|
*
|
|
67
69
|
* ```sh
|
|
68
|
-
* $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog
|
|
70
|
+
* $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog this "name"
|
|
69
71
|
* ```
|
|
70
72
|
*/
|
|
71
73
|
export declare class DatabaseDatabaseCatalog extends pulumi.CustomResource {
|
|
@@ -101,10 +103,6 @@ export declare class DatabaseDatabaseCatalog extends pulumi.CustomResource {
|
|
|
101
103
|
* (string)
|
|
102
104
|
*/
|
|
103
105
|
readonly uid: pulumi.Output<string>;
|
|
104
|
-
/**
|
|
105
|
-
* Workspace ID of the resource
|
|
106
|
-
*/
|
|
107
|
-
readonly workspaceId: pulumi.Output<string | undefined>;
|
|
108
106
|
/**
|
|
109
107
|
* Create a DatabaseDatabaseCatalog resource with the given unique name, arguments, and options.
|
|
110
108
|
*
|
|
@@ -135,10 +133,6 @@ export interface DatabaseDatabaseCatalogState {
|
|
|
135
133
|
* (string)
|
|
136
134
|
*/
|
|
137
135
|
uid?: pulumi.Input<string>;
|
|
138
|
-
/**
|
|
139
|
-
* Workspace ID of the resource
|
|
140
|
-
*/
|
|
141
|
-
workspaceId?: pulumi.Input<string>;
|
|
142
136
|
}
|
|
143
137
|
/**
|
|
144
138
|
* The set of arguments for constructing a DatabaseDatabaseCatalog resource.
|
|
@@ -157,8 +151,4 @@ export interface DatabaseDatabaseCatalogArgs {
|
|
|
157
151
|
* The name of the catalog in UC
|
|
158
152
|
*/
|
|
159
153
|
name?: pulumi.Input<string>;
|
|
160
|
-
/**
|
|
161
|
-
* Workspace ID of the resource
|
|
162
|
-
*/
|
|
163
|
-
workspaceId?: pulumi.Input<string>;
|
|
164
154
|
}
|
|
@@ -6,6 +6,8 @@ exports.DatabaseDatabaseCatalog = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
10
|
+
*
|
|
9
11
|
* Database Catalogs are databases inside a Lakebase Database Instance which are synced into a Postgres Catalog inside Unity Catalog.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
@@ -71,7 +73,7 @@ const utilities = require("./utilities");
|
|
|
71
73
|
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
72
74
|
*
|
|
73
75
|
* ```sh
|
|
74
|
-
* $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog
|
|
76
|
+
* $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog this "name"
|
|
75
77
|
* ```
|
|
76
78
|
*/
|
|
77
79
|
class DatabaseDatabaseCatalog extends pulumi.CustomResource {
|
|
@@ -107,7 +109,6 @@ class DatabaseDatabaseCatalog extends pulumi.CustomResource {
|
|
|
107
109
|
resourceInputs["databaseName"] = state?.databaseName;
|
|
108
110
|
resourceInputs["name"] = state?.name;
|
|
109
111
|
resourceInputs["uid"] = state?.uid;
|
|
110
|
-
resourceInputs["workspaceId"] = state?.workspaceId;
|
|
111
112
|
}
|
|
112
113
|
else {
|
|
113
114
|
const args = argsOrState;
|
|
@@ -121,7 +122,6 @@ class DatabaseDatabaseCatalog extends pulumi.CustomResource {
|
|
|
121
122
|
resourceInputs["databaseInstanceName"] = args?.databaseInstanceName;
|
|
122
123
|
resourceInputs["databaseName"] = args?.databaseName;
|
|
123
124
|
resourceInputs["name"] = args?.name;
|
|
124
|
-
resourceInputs["workspaceId"] = args?.workspaceId;
|
|
125
125
|
resourceInputs["uid"] = undefined /*out*/;
|
|
126
126
|
}
|
|
127
127
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseDatabaseCatalog.js","sourceRoot":"","sources":["../databaseDatabaseCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"databaseDatabaseCatalog.js","sourceRoot":"","sources":["../databaseDatabaseCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA4BD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAA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