@pulumi/databricks 1.74.0-alpha.1755063629 → 1.74.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/accountNetworkPolicy.d.ts +12 -0
- package/accountNetworkPolicy.js +12 -0
- package/accountNetworkPolicy.js.map +1 -1
- package/alertV2.d.ts +10 -3
- package/alertV2.js +1 -1
- package/alertV2.js.map +1 -1
- package/cleanRoomAsset.d.ts +282 -0
- package/cleanRoomAsset.js +121 -0
- package/cleanRoomAsset.js.map +1 -0
- package/cleanRoomAutoApprovalRule.d.ts +135 -0
- package/cleanRoomAutoApprovalRule.js +82 -0
- package/cleanRoomAutoApprovalRule.js.map +1 -0
- package/cleanRoomsCleanRoom.d.ts +161 -0
- package/cleanRoomsCleanRoom.js +92 -0
- package/cleanRoomsCleanRoom.js.map +1 -0
- package/connection.d.ts +75 -0
- package/connection.js +74 -0
- package/connection.js.map +1 -1
- package/databaseDatabaseCatalog.d.ts +152 -0
- package/databaseDatabaseCatalog.js +132 -0
- package/databaseDatabaseCatalog.js.map +1 -0
- package/databaseInstance.d.ts +176 -3
- package/databaseInstance.js +58 -1
- package/databaseInstance.js.map +1 -1
- package/databaseSyncedDatabaseTable.d.ts +180 -0
- package/databaseSyncedDatabaseTable.js +92 -0
- package/databaseSyncedDatabaseTable.js.map +1 -0
- package/dbfsFile.d.ts +2 -0
- package/dbfsFile.js +2 -0
- package/dbfsFile.js.map +1 -1
- package/disableLegacyAccessSetting.d.ts +43 -0
- package/disableLegacyAccessSetting.js +34 -0
- package/disableLegacyAccessSetting.js.map +1 -1
- package/disableLegacyDbfsSetting.d.ts +14 -4
- package/disableLegacyDbfsSetting.js +14 -4
- package/disableLegacyDbfsSetting.js.map +1 -1
- package/disableLegacyFeaturesSetting.d.ts +16 -3
- package/disableLegacyFeaturesSetting.js +16 -3
- package/disableLegacyFeaturesSetting.js.map +1 -1
- package/entitlements.d.ts +1 -1
- package/entitlements.js +1 -1
- package/externalLocation.d.ts +0 -9
- package/externalLocation.js.map +1 -1
- package/externalMetadata.d.ts +232 -0
- package/externalMetadata.js +133 -0
- package/externalMetadata.js.map +1 -0
- package/getAccountNetworkPolicies.d.ts +32 -0
- package/getAccountNetworkPolicies.js +32 -0
- package/getAccountNetworkPolicies.js.map +1 -1
- package/getAccountNetworkPolicy.d.ts +10 -0
- package/getAccountNetworkPolicy.js +10 -0
- package/getAccountNetworkPolicy.js.map +1 -1
- package/getAlertV2.d.ts +19 -8
- package/getAlertV2.js +2 -0
- package/getAlertV2.js.map +1 -1
- package/getCleanRoomAsset.d.ts +235 -0
- package/getCleanRoomAsset.js +70 -0
- package/getCleanRoomAsset.js.map +1 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.d.ts +207 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js +42 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js.map +1 -0
- package/getCleanRoomAssetRevisionsCleanRoomAssets.d.ts +14 -0
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js +18 -0
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js.map +1 -0
- package/getCleanRoomAssets.d.ts +42 -0
- package/getCleanRoomAssets.js +46 -0
- package/getCleanRoomAssets.js.map +1 -0
- package/getCleanRoomAutoApprovalRule.d.ts +88 -0
- package/getCleanRoomAutoApprovalRule.js +30 -0
- package/getCleanRoomAutoApprovalRule.js.map +1 -0
- package/getCleanRoomAutoApprovalRules.d.ts +14 -0
- package/getCleanRoomAutoApprovalRules.js +18 -0
- package/getCleanRoomAutoApprovalRules.js.map +1 -0
- package/getCleanRoomsCleanRoom.d.ts +138 -0
- package/getCleanRoomsCleanRoom.js +62 -0
- package/getCleanRoomsCleanRoom.js.map +1 -0
- package/getCleanRoomsCleanRooms.d.ts +42 -0
- package/getCleanRoomsCleanRooms.js +46 -0
- package/getCleanRoomsCleanRooms.js.map +1 -0
- package/getClusters.d.ts +2 -2
- package/getClusters.js +2 -2
- package/getDatabaseDatabaseCatalog.d.ts +106 -0
- package/getDatabaseDatabaseCatalog.js +60 -0
- package/getDatabaseDatabaseCatalog.js.map +1 -0
- package/getDatabaseDatabaseCatalogs.d.ts +14 -0
- package/getDatabaseDatabaseCatalogs.js +18 -0
- package/getDatabaseDatabaseCatalogs.js.map +1 -0
- package/getDatabaseInstance.d.ts +98 -2
- package/getDatabaseInstance.js +8 -0
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabaseSyncedDatabaseTable.d.ts +132 -0
- package/getDatabaseSyncedDatabaseTable.js +60 -0
- package/getDatabaseSyncedDatabaseTable.js.map +1 -0
- package/getDatabaseSyncedDatabaseTables.d.ts +14 -0
- package/getDatabaseSyncedDatabaseTables.js +18 -0
- package/getDatabaseSyncedDatabaseTables.js.map +1 -0
- package/getExternalMetadata.d.ts +180 -0
- package/getExternalMetadata.js +72 -0
- package/getExternalMetadata.js.map +1 -0
- package/getExternalMetadatas.d.ts +24 -0
- package/getExternalMetadatas.js +28 -0
- package/getExternalMetadatas.js.map +1 -0
- package/getMaterializedFeaturesFeatureTag.d.ts +40 -0
- package/getMaterializedFeaturesFeatureTag.js +24 -0
- package/getMaterializedFeaturesFeatureTag.js.map +1 -0
- package/getMaterializedFeaturesFeatureTags.d.ts +14 -0
- package/getMaterializedFeaturesFeatureTags.js +18 -0
- package/getMaterializedFeaturesFeatureTags.js.map +1 -0
- package/getOnlineStore.d.ts +15 -3
- package/getOnlineStore.js +2 -0
- package/getOnlineStore.js.map +1 -1
- package/getPipelines.d.ts +15 -15
- package/getPipelines.js +10 -10
- package/getPolicyInfo.d.ts +223 -0
- package/getPolicyInfo.js +44 -0
- package/getPolicyInfo.js.map +1 -0
- package/getPolicyInfos.d.ts +14 -0
- package/getPolicyInfos.js +18 -0
- package/getPolicyInfos.js.map +1 -0
- package/getQualityMonitorV2.d.ts +1 -1
- package/getServicePrincipal.d.ts +22 -7
- package/getServicePrincipal.js +4 -2
- package/getServicePrincipal.js.map +1 -1
- package/getServicePrincipals.d.ts +3 -3
- package/getSqlWarehouse.d.ts +5 -5
- package/getSqlWarehouse.js +2 -2
- package/getSqlWarehouses.d.ts +2 -2
- package/getSqlWarehouses.js +2 -2
- package/getUser.d.ts +2 -2
- package/getUser.js +2 -2
- package/getWorkspaceNetworkOption.d.ts +36 -0
- package/getWorkspaceNetworkOption.js +36 -0
- package/getWorkspaceNetworkOption.js.map +1 -1
- package/gitCredential.d.ts +40 -3
- package/gitCredential.js +17 -0
- package/gitCredential.js.map +1 -1
- package/grant.d.ts +3 -1
- package/grant.js +3 -1
- package/grant.js.map +1 -1
- package/grants.d.ts +7 -12
- package/grants.js +7 -12
- package/grants.js.map +1 -1
- package/groupInstanceProfile.d.ts +1 -1
- package/groupInstanceProfile.js +1 -1
- package/groupMember.d.ts +1 -1
- package/groupMember.js +1 -1
- package/groupRole.d.ts +1 -1
- package/groupRole.js +1 -1
- package/index.d.ts +78 -0
- package/index.js +101 -6
- package/index.js.map +1 -1
- package/ipAccessList.d.ts +1 -1
- package/ipAccessList.js +1 -1
- package/job.d.ts +12 -9
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/lakehouseMonitor.d.ts +2 -2
- package/library.d.ts +10 -5
- package/library.js +1 -5
- package/library.js.map +1 -1
- package/materializedFeaturesFeatureTag.d.ts +63 -0
- package/materializedFeaturesFeatureTag.js +75 -0
- package/materializedFeaturesFeatureTag.js.map +1 -0
- package/mlflowExperiment.d.ts +4 -4
- package/mlflowExperiment.js +1 -1
- package/modelServing.d.ts +32 -0
- package/modelServing.js +6 -0
- package/modelServing.js.map +1 -1
- package/modelServingProvisionedThroughput.d.ts +12 -0
- package/modelServingProvisionedThroughput.js +2 -0
- package/modelServingProvisionedThroughput.js.map +1 -1
- package/mwsNccPrivateEndpointRule.d.ts +26 -14
- package/mwsNccPrivateEndpointRule.js +8 -2
- package/mwsNccPrivateEndpointRule.js.map +1 -1
- package/mwsNetworkConnectivityConfig.d.ts +30 -3
- package/mwsNetworkConnectivityConfig.js.map +1 -1
- package/mwsPermissionAssignment.d.ts +1 -1
- package/mwsPermissionAssignment.js +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/oboToken.d.ts +1 -1
- package/oboToken.js +1 -1
- package/onlineStore.d.ts +15 -3
- package/onlineStore.js +5 -0
- package/onlineStore.js.map +1 -1
- package/package.json +2 -2
- package/permissionAssignment.d.ts +1 -1
- package/permissionAssignment.js +1 -1
- package/permissions.d.ts +69 -14
- package/permissions.js +67 -14
- package/permissions.js.map +1 -1
- package/pipeline.d.ts +31 -30
- package/pipeline.js +9 -8
- package/pipeline.js.map +1 -1
- package/policyInfo.d.ts +274 -0
- package/policyInfo.js +109 -0
- package/policyInfo.js.map +1 -0
- package/qualityMonitor.d.ts +2 -2
- package/qualityMonitorV2.d.ts +2 -2
- package/repo.d.ts +1 -1
- package/repo.js +1 -1
- package/secret.d.ts +1 -1
- package/secret.js +1 -1
- package/servicePrincipal.d.ts +3 -2
- package/servicePrincipal.js +3 -2
- package/servicePrincipal.js.map +1 -1
- package/servicePrincipalSecret.d.ts +1 -1
- package/servicePrincipalSecret.js +1 -1
- package/share.d.ts +9 -0
- package/share.js.map +1 -1
- package/sqlDashboard.d.ts +1 -1
- package/sqlDashboard.js +1 -1
- package/sqlEndpoint.d.ts +7 -13
- package/sqlEndpoint.js +1 -1
- package/sqlEndpoint.js.map +1 -1
- package/sqlGlobalConfig.d.ts +2 -2
- package/sqlGlobalConfig.js +2 -2
- package/sqlPermissions.d.ts +1 -1
- package/sqlPermissions.js +1 -1
- package/sqlQuery.d.ts +1 -1
- package/sqlQuery.js +1 -1
- package/sqlTable.d.ts +3 -3
- package/sqlWidget.d.ts +3 -1
- package/sqlWidget.js +3 -1
- package/sqlWidget.js.map +1 -1
- package/types/input.d.ts +3947 -829
- package/types/output.d.ts +5416 -1433
- package/user.d.ts +1 -1
- package/user.js +1 -1
- package/workspaceNetworkOption.d.ts +24 -0
- package/workspaceNetworkOption.js +24 -0
- package/workspaceNetworkOption.js.map +1 -1
|
@@ -2,6 +2,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* Network policies control which network destinations can be accessed from the Databricks environment.
|
|
6
|
+
*
|
|
7
|
+
* Each Databricks account includes a default policy named `default-policy`. This policy is:
|
|
8
|
+
*
|
|
9
|
+
* - Associated with any workspace lacking an explicit network policy assignment
|
|
10
|
+
* - Automatically associated with each newly created workspace
|
|
11
|
+
* - Reserved and cannot be deleted, but can be updated to customize the default network access rules for your account
|
|
12
|
+
*
|
|
13
|
+
* The `default-policy` provides a baseline security configuration that ensures all workspaces have network access controls in place.
|
|
14
|
+
*
|
|
15
|
+
* > **Note** This resource can only be used with an account-level provider!
|
|
16
|
+
*
|
|
5
17
|
* ## Import
|
|
6
18
|
*
|
|
7
19
|
* As of Pulumi v1.5, resources can be imported through configuration.
|
package/accountNetworkPolicy.js
CHANGED
|
@@ -6,6 +6,18 @@ exports.AccountNetworkPolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Network policies control which network destinations can be accessed from the Databricks environment.
|
|
10
|
+
*
|
|
11
|
+
* Each Databricks account includes a default policy named `default-policy`. This policy is:
|
|
12
|
+
*
|
|
13
|
+
* - Associated with any workspace lacking an explicit network policy assignment
|
|
14
|
+
* - Automatically associated with each newly created workspace
|
|
15
|
+
* - Reserved and cannot be deleted, but can be updated to customize the default network access rules for your account
|
|
16
|
+
*
|
|
17
|
+
* The `default-policy` provides a baseline security configuration that ensures all workspaces have network access controls in place.
|
|
18
|
+
*
|
|
19
|
+
* > **Note** This resource can only be used with an account-level provider!
|
|
20
|
+
*
|
|
9
21
|
* ## Import
|
|
10
22
|
*
|
|
11
23
|
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountNetworkPolicy.js","sourceRoot":"","sources":["../accountNetworkPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"accountNetworkPolicy.js","sourceRoot":"","sources":["../accountNetworkPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAjEL,oDAkEC;AApDG,gBAAgB;AACO,iCAAY,GAAG,4DAA4D,CAAC"}
|
package/alertV2.d.ts
CHANGED
|
@@ -78,9 +78,10 @@ export declare class AlertV2 extends pulumi.CustomResource {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly queryText: pulumi.Output<string | undefined>;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* The run as username or application ID of service principal.
|
|
82
|
+
* On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role
|
|
82
83
|
*/
|
|
83
|
-
readonly runAsUserName: pulumi.Output<string>;
|
|
84
|
+
readonly runAsUserName: pulumi.Output<string | undefined>;
|
|
84
85
|
readonly schedule: pulumi.Output<outputs.AlertV2Schedule | undefined>;
|
|
85
86
|
/**
|
|
86
87
|
* (string) - The timestamp indicating when the alert was updated
|
|
@@ -137,7 +138,8 @@ export interface AlertV2State {
|
|
|
137
138
|
*/
|
|
138
139
|
queryText?: pulumi.Input<string>;
|
|
139
140
|
/**
|
|
140
|
-
*
|
|
141
|
+
* The run as username or application ID of service principal.
|
|
142
|
+
* On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role
|
|
141
143
|
*/
|
|
142
144
|
runAsUserName?: pulumi.Input<string>;
|
|
143
145
|
schedule?: pulumi.Input<inputs.AlertV2Schedule>;
|
|
@@ -175,6 +177,11 @@ export interface AlertV2Args {
|
|
|
175
177
|
* Text of the query to be run
|
|
176
178
|
*/
|
|
177
179
|
queryText?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The run as username or application ID of service principal.
|
|
182
|
+
* On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role
|
|
183
|
+
*/
|
|
184
|
+
runAsUserName?: pulumi.Input<string>;
|
|
178
185
|
schedule?: pulumi.Input<inputs.AlertV2Schedule>;
|
|
179
186
|
/**
|
|
180
187
|
* ID of the SQL warehouse attached to the alert
|
package/alertV2.js
CHANGED
|
@@ -82,12 +82,12 @@ class AlertV2 extends pulumi.CustomResource {
|
|
|
82
82
|
resourceInputs["evaluation"] = args ? args.evaluation : undefined;
|
|
83
83
|
resourceInputs["parentPath"] = args ? args.parentPath : undefined;
|
|
84
84
|
resourceInputs["queryText"] = args ? args.queryText : undefined;
|
|
85
|
+
resourceInputs["runAsUserName"] = args ? args.runAsUserName : undefined;
|
|
85
86
|
resourceInputs["schedule"] = args ? args.schedule : undefined;
|
|
86
87
|
resourceInputs["warehouseId"] = args ? args.warehouseId : undefined;
|
|
87
88
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
88
89
|
resourceInputs["lifecycleState"] = undefined /*out*/;
|
|
89
90
|
resourceInputs["ownerUserName"] = undefined /*out*/;
|
|
90
|
-
resourceInputs["runAsUserName"] = undefined /*out*/;
|
|
91
91
|
resourceInputs["updateTime"] = undefined /*out*/;
|
|
92
92
|
}
|
|
93
93
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/alertV2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertV2.js","sourceRoot":"","sources":["../alertV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"alertV2.js","sourceRoot":"","sources":["../alertV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ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AC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxHL,0BAyHC;AA3GG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Clean room assets are data and code objects -- tables, volumes, and notebooks that are shared with the clean room.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* # Example: Clean Room Asset Resource
|
|
10
|
+
*
|
|
11
|
+
* ### Example for sharing a table
|
|
12
|
+
* This is an example for sharing an asset (table) in a clean room:
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as databricks from "@pulumi/databricks";
|
|
16
|
+
*
|
|
17
|
+
* const _this = new databricks.index.CleanRoomsAsset("this", {
|
|
18
|
+
* cleanRoomName: "existing_clean_room",
|
|
19
|
+
* name: "creator.default.myasset",
|
|
20
|
+
* assetType: "TABLE",
|
|
21
|
+
* tableLocalDetails: {
|
|
22
|
+
* localName: "some_creator.default.myasset",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
30
|
+
*
|
|
31
|
+
* hcl
|
|
32
|
+
*
|
|
33
|
+
* import {
|
|
34
|
+
*
|
|
35
|
+
* id = clean_room_name,name,asset_type
|
|
36
|
+
*
|
|
37
|
+
* to = databricks_clean_room_asset.this
|
|
38
|
+
*
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import databricks:index/cleanRoomAsset:CleanRoomAsset databricks_clean_room_asset clean_room_name,name,asset_type
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare class CleanRoomAsset extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing CleanRoomAsset resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CleanRoomAssetState, opts?: pulumi.CustomResourceOptions): CleanRoomAsset;
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of CleanRoomAsset. 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: any): obj is CleanRoomAsset;
|
|
63
|
+
/**
|
|
64
|
+
* (integer) - When the asset is added to the clean room, in epoch milliseconds
|
|
65
|
+
*/
|
|
66
|
+
readonly addedAt: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
|
|
69
|
+
*/
|
|
70
|
+
readonly assetType: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The name of the clean room this asset belongs to.
|
|
73
|
+
* This field is required for create operations and populated by the server for responses
|
|
74
|
+
*/
|
|
75
|
+
readonly cleanRoomName: pulumi.Output<string | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Foreign table details available to all collaborators of the clean room.
|
|
78
|
+
* Present if and only if **asset_type** is **FOREIGN_TABLE**
|
|
79
|
+
*/
|
|
80
|
+
readonly foreignTable: pulumi.Output<outputs.CleanRoomAssetForeignTable | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Local details for a foreign that are only available to its owner.
|
|
83
|
+
* Present if and only if **asset_type** is **FOREIGN_TABLE**
|
|
84
|
+
*/
|
|
85
|
+
readonly foreignTableLocalDetails: pulumi.Output<outputs.CleanRoomAssetForeignTableLocalDetails | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* A fully qualified name that uniquely identifies the asset within the clean room.
|
|
88
|
+
* This is also the name displayed in the clean room UI.
|
|
89
|
+
*
|
|
90
|
+
* For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
|
|
91
|
+
*
|
|
92
|
+
* For notebooks, the name is the notebook file name.
|
|
93
|
+
* For jar analyses, the name is the jar analysis name
|
|
94
|
+
*/
|
|
95
|
+
readonly name: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Notebook details available to all collaborators of the clean room.
|
|
98
|
+
* Present if and only if **asset_type** is **NOTEBOOK_FILE**
|
|
99
|
+
*/
|
|
100
|
+
readonly notebook: pulumi.Output<outputs.CleanRoomAssetNotebook | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* (string) - The alias of the collaborator who owns this asset
|
|
103
|
+
*/
|
|
104
|
+
readonly ownerCollaboratorAlias: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* (string) - Status of the asset. Possible values are: `ACTIVE`, `PENDING`, `PERMISSION_DENIED`
|
|
107
|
+
*/
|
|
108
|
+
readonly status: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Table details available to all collaborators of the clean room.
|
|
111
|
+
* Present if and only if **asset_type** is **TABLE**
|
|
112
|
+
*/
|
|
113
|
+
readonly table: pulumi.Output<outputs.CleanRoomAssetTable | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* Local details for a table that are only available to its owner.
|
|
116
|
+
* Present if and only if **asset_type** is **TABLE**
|
|
117
|
+
*/
|
|
118
|
+
readonly tableLocalDetails: pulumi.Output<outputs.CleanRoomAssetTableLocalDetails | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* View details available to all collaborators of the clean room.
|
|
121
|
+
* Present if and only if **asset_type** is **VIEW**
|
|
122
|
+
*/
|
|
123
|
+
readonly view: pulumi.Output<outputs.CleanRoomAssetView | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* Local details for a view that are only available to its owner.
|
|
126
|
+
* Present if and only if **asset_type** is **VIEW**
|
|
127
|
+
*/
|
|
128
|
+
readonly viewLocalDetails: pulumi.Output<outputs.CleanRoomAssetViewLocalDetails | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* Local details for a volume that are only available to its owner.
|
|
131
|
+
* Present if and only if **asset_type** is **VOLUME**
|
|
132
|
+
*/
|
|
133
|
+
readonly volumeLocalDetails: pulumi.Output<outputs.CleanRoomAssetVolumeLocalDetails | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Create a CleanRoomAsset resource with the given unique name, arguments, and options.
|
|
136
|
+
*
|
|
137
|
+
* @param name The _unique_ name of the resource.
|
|
138
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
139
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
140
|
+
*/
|
|
141
|
+
constructor(name: string, args: CleanRoomAssetArgs, opts?: pulumi.CustomResourceOptions);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Input properties used for looking up and filtering CleanRoomAsset resources.
|
|
145
|
+
*/
|
|
146
|
+
export interface CleanRoomAssetState {
|
|
147
|
+
/**
|
|
148
|
+
* (integer) - When the asset is added to the clean room, in epoch milliseconds
|
|
149
|
+
*/
|
|
150
|
+
addedAt?: pulumi.Input<number>;
|
|
151
|
+
/**
|
|
152
|
+
* The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
|
|
153
|
+
*/
|
|
154
|
+
assetType?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The name of the clean room this asset belongs to.
|
|
157
|
+
* This field is required for create operations and populated by the server for responses
|
|
158
|
+
*/
|
|
159
|
+
cleanRoomName?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Foreign table details available to all collaborators of the clean room.
|
|
162
|
+
* Present if and only if **asset_type** is **FOREIGN_TABLE**
|
|
163
|
+
*/
|
|
164
|
+
foreignTable?: pulumi.Input<inputs.CleanRoomAssetForeignTable>;
|
|
165
|
+
/**
|
|
166
|
+
* Local details for a foreign that are only available to its owner.
|
|
167
|
+
* Present if and only if **asset_type** is **FOREIGN_TABLE**
|
|
168
|
+
*/
|
|
169
|
+
foreignTableLocalDetails?: pulumi.Input<inputs.CleanRoomAssetForeignTableLocalDetails>;
|
|
170
|
+
/**
|
|
171
|
+
* A fully qualified name that uniquely identifies the asset within the clean room.
|
|
172
|
+
* This is also the name displayed in the clean room UI.
|
|
173
|
+
*
|
|
174
|
+
* For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
|
|
175
|
+
*
|
|
176
|
+
* For notebooks, the name is the notebook file name.
|
|
177
|
+
* For jar analyses, the name is the jar analysis name
|
|
178
|
+
*/
|
|
179
|
+
name?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Notebook details available to all collaborators of the clean room.
|
|
182
|
+
* Present if and only if **asset_type** is **NOTEBOOK_FILE**
|
|
183
|
+
*/
|
|
184
|
+
notebook?: pulumi.Input<inputs.CleanRoomAssetNotebook>;
|
|
185
|
+
/**
|
|
186
|
+
* (string) - The alias of the collaborator who owns this asset
|
|
187
|
+
*/
|
|
188
|
+
ownerCollaboratorAlias?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* (string) - Status of the asset. Possible values are: `ACTIVE`, `PENDING`, `PERMISSION_DENIED`
|
|
191
|
+
*/
|
|
192
|
+
status?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Table details available to all collaborators of the clean room.
|
|
195
|
+
* Present if and only if **asset_type** is **TABLE**
|
|
196
|
+
*/
|
|
197
|
+
table?: pulumi.Input<inputs.CleanRoomAssetTable>;
|
|
198
|
+
/**
|
|
199
|
+
* Local details for a table that are only available to its owner.
|
|
200
|
+
* Present if and only if **asset_type** is **TABLE**
|
|
201
|
+
*/
|
|
202
|
+
tableLocalDetails?: pulumi.Input<inputs.CleanRoomAssetTableLocalDetails>;
|
|
203
|
+
/**
|
|
204
|
+
* View details available to all collaborators of the clean room.
|
|
205
|
+
* Present if and only if **asset_type** is **VIEW**
|
|
206
|
+
*/
|
|
207
|
+
view?: pulumi.Input<inputs.CleanRoomAssetView>;
|
|
208
|
+
/**
|
|
209
|
+
* Local details for a view that are only available to its owner.
|
|
210
|
+
* Present if and only if **asset_type** is **VIEW**
|
|
211
|
+
*/
|
|
212
|
+
viewLocalDetails?: pulumi.Input<inputs.CleanRoomAssetViewLocalDetails>;
|
|
213
|
+
/**
|
|
214
|
+
* Local details for a volume that are only available to its owner.
|
|
215
|
+
* Present if and only if **asset_type** is **VOLUME**
|
|
216
|
+
*/
|
|
217
|
+
volumeLocalDetails?: pulumi.Input<inputs.CleanRoomAssetVolumeLocalDetails>;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* The set of arguments for constructing a CleanRoomAsset resource.
|
|
221
|
+
*/
|
|
222
|
+
export interface CleanRoomAssetArgs {
|
|
223
|
+
/**
|
|
224
|
+
* The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
|
|
225
|
+
*/
|
|
226
|
+
assetType: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* The name of the clean room this asset belongs to.
|
|
229
|
+
* This field is required for create operations and populated by the server for responses
|
|
230
|
+
*/
|
|
231
|
+
cleanRoomName?: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* Foreign table details available to all collaborators of the clean room.
|
|
234
|
+
* Present if and only if **asset_type** is **FOREIGN_TABLE**
|
|
235
|
+
*/
|
|
236
|
+
foreignTable?: pulumi.Input<inputs.CleanRoomAssetForeignTable>;
|
|
237
|
+
/**
|
|
238
|
+
* Local details for a foreign that are only available to its owner.
|
|
239
|
+
* Present if and only if **asset_type** is **FOREIGN_TABLE**
|
|
240
|
+
*/
|
|
241
|
+
foreignTableLocalDetails?: pulumi.Input<inputs.CleanRoomAssetForeignTableLocalDetails>;
|
|
242
|
+
/**
|
|
243
|
+
* A fully qualified name that uniquely identifies the asset within the clean room.
|
|
244
|
+
* This is also the name displayed in the clean room UI.
|
|
245
|
+
*
|
|
246
|
+
* For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
|
|
247
|
+
*
|
|
248
|
+
* For notebooks, the name is the notebook file name.
|
|
249
|
+
* For jar analyses, the name is the jar analysis name
|
|
250
|
+
*/
|
|
251
|
+
name?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Notebook details available to all collaborators of the clean room.
|
|
254
|
+
* Present if and only if **asset_type** is **NOTEBOOK_FILE**
|
|
255
|
+
*/
|
|
256
|
+
notebook?: pulumi.Input<inputs.CleanRoomAssetNotebook>;
|
|
257
|
+
/**
|
|
258
|
+
* Table details available to all collaborators of the clean room.
|
|
259
|
+
* Present if and only if **asset_type** is **TABLE**
|
|
260
|
+
*/
|
|
261
|
+
table?: pulumi.Input<inputs.CleanRoomAssetTable>;
|
|
262
|
+
/**
|
|
263
|
+
* Local details for a table that are only available to its owner.
|
|
264
|
+
* Present if and only if **asset_type** is **TABLE**
|
|
265
|
+
*/
|
|
266
|
+
tableLocalDetails?: pulumi.Input<inputs.CleanRoomAssetTableLocalDetails>;
|
|
267
|
+
/**
|
|
268
|
+
* View details available to all collaborators of the clean room.
|
|
269
|
+
* Present if and only if **asset_type** is **VIEW**
|
|
270
|
+
*/
|
|
271
|
+
view?: pulumi.Input<inputs.CleanRoomAssetView>;
|
|
272
|
+
/**
|
|
273
|
+
* Local details for a view that are only available to its owner.
|
|
274
|
+
* Present if and only if **asset_type** is **VIEW**
|
|
275
|
+
*/
|
|
276
|
+
viewLocalDetails?: pulumi.Input<inputs.CleanRoomAssetViewLocalDetails>;
|
|
277
|
+
/**
|
|
278
|
+
* Local details for a volume that are only available to its owner.
|
|
279
|
+
* Present if and only if **asset_type** is **VOLUME**
|
|
280
|
+
*/
|
|
281
|
+
volumeLocalDetails?: pulumi.Input<inputs.CleanRoomAssetVolumeLocalDetails>;
|
|
282
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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.CleanRoomAsset = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Clean room assets are data and code objects -- tables, volumes, and notebooks that are shared with the clean room.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* # Example: Clean Room Asset Resource
|
|
14
|
+
*
|
|
15
|
+
* ### Example for sharing a table
|
|
16
|
+
* This is an example for sharing an asset (table) in a clean room:
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = new databricks.index.CleanRoomsAsset("this", {
|
|
22
|
+
* cleanRoomName: "existing_clean_room",
|
|
23
|
+
* name: "creator.default.myasset",
|
|
24
|
+
* assetType: "TABLE",
|
|
25
|
+
* tableLocalDetails: {
|
|
26
|
+
* localName: "some_creator.default.myasset",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
34
|
+
*
|
|
35
|
+
* hcl
|
|
36
|
+
*
|
|
37
|
+
* import {
|
|
38
|
+
*
|
|
39
|
+
* id = clean_room_name,name,asset_type
|
|
40
|
+
*
|
|
41
|
+
* to = databricks_clean_room_asset.this
|
|
42
|
+
*
|
|
43
|
+
* }
|
|
44
|
+
*
|
|
45
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import databricks:index/cleanRoomAsset:CleanRoomAsset databricks_clean_room_asset clean_room_name,name,asset_type
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
class CleanRoomAsset extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing CleanRoomAsset resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, state, opts) {
|
|
62
|
+
return new CleanRoomAsset(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of CleanRoomAsset. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === CleanRoomAsset.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
constructor(name, argsOrState, opts) {
|
|
75
|
+
let resourceInputs = {};
|
|
76
|
+
opts = opts || {};
|
|
77
|
+
if (opts.id) {
|
|
78
|
+
const state = argsOrState;
|
|
79
|
+
resourceInputs["addedAt"] = state ? state.addedAt : undefined;
|
|
80
|
+
resourceInputs["assetType"] = state ? state.assetType : undefined;
|
|
81
|
+
resourceInputs["cleanRoomName"] = state ? state.cleanRoomName : undefined;
|
|
82
|
+
resourceInputs["foreignTable"] = state ? state.foreignTable : undefined;
|
|
83
|
+
resourceInputs["foreignTableLocalDetails"] = state ? state.foreignTableLocalDetails : undefined;
|
|
84
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
85
|
+
resourceInputs["notebook"] = state ? state.notebook : undefined;
|
|
86
|
+
resourceInputs["ownerCollaboratorAlias"] = state ? state.ownerCollaboratorAlias : undefined;
|
|
87
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
88
|
+
resourceInputs["table"] = state ? state.table : undefined;
|
|
89
|
+
resourceInputs["tableLocalDetails"] = state ? state.tableLocalDetails : undefined;
|
|
90
|
+
resourceInputs["view"] = state ? state.view : undefined;
|
|
91
|
+
resourceInputs["viewLocalDetails"] = state ? state.viewLocalDetails : undefined;
|
|
92
|
+
resourceInputs["volumeLocalDetails"] = state ? state.volumeLocalDetails : undefined;
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
const args = argsOrState;
|
|
96
|
+
if ((!args || args.assetType === undefined) && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'assetType'");
|
|
98
|
+
}
|
|
99
|
+
resourceInputs["assetType"] = args ? args.assetType : undefined;
|
|
100
|
+
resourceInputs["cleanRoomName"] = args ? args.cleanRoomName : undefined;
|
|
101
|
+
resourceInputs["foreignTable"] = args ? args.foreignTable : undefined;
|
|
102
|
+
resourceInputs["foreignTableLocalDetails"] = args ? args.foreignTableLocalDetails : undefined;
|
|
103
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
104
|
+
resourceInputs["notebook"] = args ? args.notebook : undefined;
|
|
105
|
+
resourceInputs["table"] = args ? args.table : undefined;
|
|
106
|
+
resourceInputs["tableLocalDetails"] = args ? args.tableLocalDetails : undefined;
|
|
107
|
+
resourceInputs["view"] = args ? args.view : undefined;
|
|
108
|
+
resourceInputs["viewLocalDetails"] = args ? args.viewLocalDetails : undefined;
|
|
109
|
+
resourceInputs["volumeLocalDetails"] = args ? args.volumeLocalDetails : undefined;
|
|
110
|
+
resourceInputs["addedAt"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["ownerCollaboratorAlias"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
113
|
+
}
|
|
114
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
115
|
+
super(CleanRoomAsset.__pulumiType, name, resourceInputs, opts);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.CleanRoomAsset = CleanRoomAsset;
|
|
119
|
+
/** @internal */
|
|
120
|
+
CleanRoomAsset.__pulumiType = 'databricks:index/cleanRoomAsset:CleanRoomAsset';
|
|
121
|
+
//# sourceMappingURL=cleanRoomAsset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cleanRoomAsset.js","sourceRoot":"","sources":["../cleanRoomAsset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAkFD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC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AChF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArJL,wCAsJC;AAxIG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
6
|
+
*
|
|
7
|
+
* hcl
|
|
8
|
+
*
|
|
9
|
+
* import {
|
|
10
|
+
*
|
|
11
|
+
* id = rule_id
|
|
12
|
+
*
|
|
13
|
+
* to = databricks_clean_room_auto_approval_rule.this
|
|
14
|
+
*
|
|
15
|
+
* }
|
|
16
|
+
*
|
|
17
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule databricks_clean_room_auto_approval_rule rule_id
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class CleanRoomAutoApprovalRule extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing CleanRoomAutoApprovalRule resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CleanRoomAutoApprovalRuleState, opts?: pulumi.CustomResourceOptions): CleanRoomAutoApprovalRule;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of CleanRoomAutoApprovalRule. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is CleanRoomAutoApprovalRule;
|
|
39
|
+
/**
|
|
40
|
+
* Collaborator alias of the author covered by the rule.
|
|
41
|
+
* Only one of `authorCollaboratorAlias` and `authorScope` can be set
|
|
42
|
+
*/
|
|
43
|
+
readonly authorCollaboratorAlias: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Scope of authors covered by the rule.
|
|
46
|
+
* Only one of `authorCollaboratorAlias` and `authorScope` can be set. Possible values are: `ANY_AUTHOR`
|
|
47
|
+
*/
|
|
48
|
+
readonly authorScope: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the clean room this auto-approval rule belongs to
|
|
51
|
+
*/
|
|
52
|
+
readonly cleanRoomName: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* (integer) - Timestamp of when the rule was created, in epoch milliseconds
|
|
55
|
+
*/
|
|
56
|
+
readonly createdAt: pulumi.Output<number>;
|
|
57
|
+
/**
|
|
58
|
+
* (string) - A generated UUID identifying the rule
|
|
59
|
+
*/
|
|
60
|
+
readonly ruleId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* (string) - The owner of the rule to whom the rule applies
|
|
63
|
+
*/
|
|
64
|
+
readonly ruleOwnerCollaboratorAlias: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Collaborator alias of the runner covered by the rule
|
|
67
|
+
*/
|
|
68
|
+
readonly runnerCollaboratorAlias: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a CleanRoomAutoApprovalRule resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args?: CleanRoomAutoApprovalRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering CleanRoomAutoApprovalRule resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface CleanRoomAutoApprovalRuleState {
|
|
82
|
+
/**
|
|
83
|
+
* Collaborator alias of the author covered by the rule.
|
|
84
|
+
* Only one of `authorCollaboratorAlias` and `authorScope` can be set
|
|
85
|
+
*/
|
|
86
|
+
authorCollaboratorAlias?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Scope of authors covered by the rule.
|
|
89
|
+
* Only one of `authorCollaboratorAlias` and `authorScope` can be set. Possible values are: `ANY_AUTHOR`
|
|
90
|
+
*/
|
|
91
|
+
authorScope?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The name of the clean room this auto-approval rule belongs to
|
|
94
|
+
*/
|
|
95
|
+
cleanRoomName?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* (integer) - Timestamp of when the rule was created, in epoch milliseconds
|
|
98
|
+
*/
|
|
99
|
+
createdAt?: pulumi.Input<number>;
|
|
100
|
+
/**
|
|
101
|
+
* (string) - A generated UUID identifying the rule
|
|
102
|
+
*/
|
|
103
|
+
ruleId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* (string) - The owner of the rule to whom the rule applies
|
|
106
|
+
*/
|
|
107
|
+
ruleOwnerCollaboratorAlias?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Collaborator alias of the runner covered by the rule
|
|
110
|
+
*/
|
|
111
|
+
runnerCollaboratorAlias?: pulumi.Input<string>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The set of arguments for constructing a CleanRoomAutoApprovalRule resource.
|
|
115
|
+
*/
|
|
116
|
+
export interface CleanRoomAutoApprovalRuleArgs {
|
|
117
|
+
/**
|
|
118
|
+
* Collaborator alias of the author covered by the rule.
|
|
119
|
+
* Only one of `authorCollaboratorAlias` and `authorScope` can be set
|
|
120
|
+
*/
|
|
121
|
+
authorCollaboratorAlias?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Scope of authors covered by the rule.
|
|
124
|
+
* Only one of `authorCollaboratorAlias` and `authorScope` can be set. Possible values are: `ANY_AUTHOR`
|
|
125
|
+
*/
|
|
126
|
+
authorScope?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The name of the clean room this auto-approval rule belongs to
|
|
129
|
+
*/
|
|
130
|
+
cleanRoomName?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Collaborator alias of the runner covered by the rule
|
|
133
|
+
*/
|
|
134
|
+
runnerCollaboratorAlias?: pulumi.Input<string>;
|
|
135
|
+
}
|