@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
|
@@ -0,0 +1,82 @@
|
|
|
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.CleanRoomAutoApprovalRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
|
+
*
|
|
13
|
+
* hcl
|
|
14
|
+
*
|
|
15
|
+
* import {
|
|
16
|
+
*
|
|
17
|
+
* id = rule_id
|
|
18
|
+
*
|
|
19
|
+
* to = databricks_clean_room_auto_approval_rule.this
|
|
20
|
+
*
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule databricks_clean_room_auto_approval_rule rule_id
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class CleanRoomAutoApprovalRule extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing CleanRoomAutoApprovalRule resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name, id, state, opts) {
|
|
40
|
+
return new CleanRoomAutoApprovalRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of CleanRoomAutoApprovalRule. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === CleanRoomAutoApprovalRule.__pulumiType;
|
|
51
|
+
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["authorCollaboratorAlias"] = state ? state.authorCollaboratorAlias : undefined;
|
|
58
|
+
resourceInputs["authorScope"] = state ? state.authorScope : undefined;
|
|
59
|
+
resourceInputs["cleanRoomName"] = state ? state.cleanRoomName : undefined;
|
|
60
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
61
|
+
resourceInputs["ruleId"] = state ? state.ruleId : undefined;
|
|
62
|
+
resourceInputs["ruleOwnerCollaboratorAlias"] = state ? state.ruleOwnerCollaboratorAlias : undefined;
|
|
63
|
+
resourceInputs["runnerCollaboratorAlias"] = state ? state.runnerCollaboratorAlias : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
resourceInputs["authorCollaboratorAlias"] = args ? args.authorCollaboratorAlias : undefined;
|
|
68
|
+
resourceInputs["authorScope"] = args ? args.authorScope : undefined;
|
|
69
|
+
resourceInputs["cleanRoomName"] = args ? args.cleanRoomName : undefined;
|
|
70
|
+
resourceInputs["runnerCollaboratorAlias"] = args ? args.runnerCollaboratorAlias : undefined;
|
|
71
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["ruleId"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["ruleOwnerCollaboratorAlias"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(CleanRoomAutoApprovalRule.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.CleanRoomAutoApprovalRule = CleanRoomAutoApprovalRule;
|
|
80
|
+
/** @internal */
|
|
81
|
+
CleanRoomAutoApprovalRule.__pulumiType = 'databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule';
|
|
82
|
+
//# sourceMappingURL=cleanRoomAutoApprovalRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cleanRoomAutoApprovalRule.js","sourceRoot":"","sources":["../cleanRoomAutoApprovalRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAyCD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;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AAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,4BAA4B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA3FL,8DA4FC;AA9EG,gBAAgB;AACO,sCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A Clean Room is a secure environment for data collaboration that enables multiple organizations to analyze their data together while maintaining privacy and security. Clean Rooms provide a controlled environment where data can be shared and analyzed without exposing the underlying raw data.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
|
+
*
|
|
13
|
+
* hcl
|
|
14
|
+
*
|
|
15
|
+
* import {
|
|
16
|
+
*
|
|
17
|
+
* id = name
|
|
18
|
+
*
|
|
19
|
+
* to = databricks_clean_rooms_clean_room.this
|
|
20
|
+
*
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import databricks:index/cleanRoomsCleanRoom:CleanRoomsCleanRoom databricks_clean_rooms_clean_room name
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class CleanRoomsCleanRoom extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing CleanRoomsCleanRoom resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CleanRoomsCleanRoomState, opts?: pulumi.CustomResourceOptions): CleanRoomsCleanRoom;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of CleanRoomsCleanRoom. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is CleanRoomsCleanRoom;
|
|
45
|
+
/**
|
|
46
|
+
* (string) - Whether clean room access is restricted due to [CSP](https://docs.databricks.com/en/security/privacy/security-profile.html). Possible values are: `CSP_MISMATCH`, `NO_RESTRICTION`
|
|
47
|
+
*/
|
|
48
|
+
readonly accessRestricted: pulumi.Output<string>;
|
|
49
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* (integer) - When the clean room was created, in epoch milliseconds
|
|
52
|
+
*/
|
|
53
|
+
readonly createdAt: pulumi.Output<number>;
|
|
54
|
+
/**
|
|
55
|
+
* (string) - The alias of the collaborator tied to the local clean room
|
|
56
|
+
*/
|
|
57
|
+
readonly localCollaboratorAlias: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The name of the clean room.
|
|
60
|
+
* It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
|
|
61
|
+
*/
|
|
62
|
+
readonly name: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* (CleanRoomOutputCatalog) - Output catalog of the clean room. It is an output only field. Output catalog is manipulated
|
|
65
|
+
* using the separate CreateCleanRoomOutputCatalog API
|
|
66
|
+
*/
|
|
67
|
+
readonly outputCatalog: pulumi.Output<outputs.CleanRoomsCleanRoomOutputCatalog>;
|
|
68
|
+
/**
|
|
69
|
+
* This is Databricks username of the owner of the local clean room securable for permission management
|
|
70
|
+
*/
|
|
71
|
+
readonly owner: pulumi.Output<string | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Central clean room details. During creation, users need to specify
|
|
74
|
+
* cloud_vendor, region, and collaborators.global_metastore_id.
|
|
75
|
+
* This field will not be filled in the ListCleanRooms call
|
|
76
|
+
*/
|
|
77
|
+
readonly remoteDetailedInfo: pulumi.Output<outputs.CleanRoomsCleanRoomRemoteDetailedInfo | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* (string) - . Possible values are: `CREATED`, `NOT_CREATED`, `NOT_ELIGIBLE`
|
|
80
|
+
*/
|
|
81
|
+
readonly status: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* (integer) - When the clean room was last updated, in epoch milliseconds
|
|
84
|
+
*/
|
|
85
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
86
|
+
/**
|
|
87
|
+
* Create a CleanRoomsCleanRoom resource with the given unique name, arguments, and options.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resource.
|
|
90
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
91
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
92
|
+
*/
|
|
93
|
+
constructor(name: string, args?: CleanRoomsCleanRoomArgs, opts?: pulumi.CustomResourceOptions);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Input properties used for looking up and filtering CleanRoomsCleanRoom resources.
|
|
97
|
+
*/
|
|
98
|
+
export interface CleanRoomsCleanRoomState {
|
|
99
|
+
/**
|
|
100
|
+
* (string) - Whether clean room access is restricted due to [CSP](https://docs.databricks.com/en/security/privacy/security-profile.html). Possible values are: `CSP_MISMATCH`, `NO_RESTRICTION`
|
|
101
|
+
*/
|
|
102
|
+
accessRestricted?: pulumi.Input<string>;
|
|
103
|
+
comment?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* (integer) - When the clean room was created, in epoch milliseconds
|
|
106
|
+
*/
|
|
107
|
+
createdAt?: pulumi.Input<number>;
|
|
108
|
+
/**
|
|
109
|
+
* (string) - The alias of the collaborator tied to the local clean room
|
|
110
|
+
*/
|
|
111
|
+
localCollaboratorAlias?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the clean room.
|
|
114
|
+
* It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
|
|
115
|
+
*/
|
|
116
|
+
name?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* (CleanRoomOutputCatalog) - Output catalog of the clean room. It is an output only field. Output catalog is manipulated
|
|
119
|
+
* using the separate CreateCleanRoomOutputCatalog API
|
|
120
|
+
*/
|
|
121
|
+
outputCatalog?: pulumi.Input<inputs.CleanRoomsCleanRoomOutputCatalog>;
|
|
122
|
+
/**
|
|
123
|
+
* This is Databricks username of the owner of the local clean room securable for permission management
|
|
124
|
+
*/
|
|
125
|
+
owner?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Central clean room details. During creation, users need to specify
|
|
128
|
+
* cloud_vendor, region, and collaborators.global_metastore_id.
|
|
129
|
+
* This field will not be filled in the ListCleanRooms call
|
|
130
|
+
*/
|
|
131
|
+
remoteDetailedInfo?: pulumi.Input<inputs.CleanRoomsCleanRoomRemoteDetailedInfo>;
|
|
132
|
+
/**
|
|
133
|
+
* (string) - . Possible values are: `CREATED`, `NOT_CREATED`, `NOT_ELIGIBLE`
|
|
134
|
+
*/
|
|
135
|
+
status?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* (integer) - When the clean room was last updated, in epoch milliseconds
|
|
138
|
+
*/
|
|
139
|
+
updatedAt?: pulumi.Input<number>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The set of arguments for constructing a CleanRoomsCleanRoom resource.
|
|
143
|
+
*/
|
|
144
|
+
export interface CleanRoomsCleanRoomArgs {
|
|
145
|
+
comment?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The name of the clean room.
|
|
148
|
+
* It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
|
|
149
|
+
*/
|
|
150
|
+
name?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* This is Databricks username of the owner of the local clean room securable for permission management
|
|
153
|
+
*/
|
|
154
|
+
owner?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Central clean room details. During creation, users need to specify
|
|
157
|
+
* cloud_vendor, region, and collaborators.global_metastore_id.
|
|
158
|
+
* This field will not be filled in the ListCleanRooms call
|
|
159
|
+
*/
|
|
160
|
+
remoteDetailedInfo?: pulumi.Input<inputs.CleanRoomsCleanRoomRemoteDetailedInfo>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.CleanRoomsCleanRoom = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A Clean Room is a secure environment for data collaboration that enables multiple organizations to analyze their data together while maintaining privacy and security. Clean Rooms provide a controlled environment where data can be shared and analyzed without exposing the underlying raw data.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
16
|
+
*
|
|
17
|
+
* hcl
|
|
18
|
+
*
|
|
19
|
+
* import {
|
|
20
|
+
*
|
|
21
|
+
* id = name
|
|
22
|
+
*
|
|
23
|
+
* to = databricks_clean_rooms_clean_room.this
|
|
24
|
+
*
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import databricks:index/cleanRoomsCleanRoom:CleanRoomsCleanRoom databricks_clean_rooms_clean_room name
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class CleanRoomsCleanRoom extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing CleanRoomsCleanRoom resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new CleanRoomsCleanRoom(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of CleanRoomsCleanRoom. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === CleanRoomsCleanRoom.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["accessRestricted"] = state ? state.accessRestricted : undefined;
|
|
62
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
63
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
64
|
+
resourceInputs["localCollaboratorAlias"] = state ? state.localCollaboratorAlias : undefined;
|
|
65
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["outputCatalog"] = state ? state.outputCatalog : undefined;
|
|
67
|
+
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
68
|
+
resourceInputs["remoteDetailedInfo"] = state ? state.remoteDetailedInfo : undefined;
|
|
69
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
70
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
75
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
76
|
+
resourceInputs["owner"] = args ? args.owner : undefined;
|
|
77
|
+
resourceInputs["remoteDetailedInfo"] = args ? args.remoteDetailedInfo : undefined;
|
|
78
|
+
resourceInputs["accessRestricted"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["localCollaboratorAlias"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["outputCatalog"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(CleanRoomsCleanRoom.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.CleanRoomsCleanRoom = CleanRoomsCleanRoom;
|
|
90
|
+
/** @internal */
|
|
91
|
+
CleanRoomsCleanRoom.__pulumiType = 'databricks:index/cleanRoomsCleanRoom:CleanRoomsCleanRoom';
|
|
92
|
+
//# sourceMappingURL=cleanRoomsCleanRoom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cleanRoomsCleanRoom.js","sourceRoot":"","sources":["../cleanRoomsCleanRoom.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAoDD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,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,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA5GL,kDA6GC;AA/FG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
|
package/connection.d.ts
CHANGED
|
@@ -71,6 +71,78 @@ import * as outputs from "./types/output";
|
|
|
71
71
|
*
|
|
72
72
|
* Create a connection to builtin Hive Metastore
|
|
73
73
|
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as databricks from "@pulumi/databricks";
|
|
77
|
+
*
|
|
78
|
+
* const hms = new databricks.Connection("hms", {
|
|
79
|
+
* name: "hms-builtin",
|
|
80
|
+
* connectionType: "HIVE_METASTORE",
|
|
81
|
+
* comment: "This is a connection to builtin HMS",
|
|
82
|
+
* options: {
|
|
83
|
+
* builtin: "true",
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* Create a HTTP connection with bearer token
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as databricks from "@pulumi/databricks";
|
|
93
|
+
*
|
|
94
|
+
* const httpBearer = new databricks.Connection("http_bearer", {
|
|
95
|
+
* name: "http_bearer",
|
|
96
|
+
* connectionType: "HTTP",
|
|
97
|
+
* comment: "This is a connection to a HTTP service",
|
|
98
|
+
* options: {
|
|
99
|
+
* host: "https://example.com",
|
|
100
|
+
* port: "8433",
|
|
101
|
+
* base_path: "/api/",
|
|
102
|
+
* bearer_token: "bearer_token",
|
|
103
|
+
* },
|
|
104
|
+
* });
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* Create a HTTP connection with OAuth M2M
|
|
108
|
+
*
|
|
109
|
+
* ```typescript
|
|
110
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
111
|
+
* import * as databricks from "@pulumi/databricks";
|
|
112
|
+
*
|
|
113
|
+
* const httpOauth = new databricks.Connection("http_oauth", {
|
|
114
|
+
* name: "http_oauth",
|
|
115
|
+
* connectionType: "HTTP",
|
|
116
|
+
* comment: "This is a connection to a HTTP service",
|
|
117
|
+
* options: {
|
|
118
|
+
* host: "https://example.com",
|
|
119
|
+
* port: "8433",
|
|
120
|
+
* base_path: "/api/",
|
|
121
|
+
* client_id: "client_id",
|
|
122
|
+
* client_secret: "client_secret",
|
|
123
|
+
* oauth_scope: "channels:read channels:history chat:write",
|
|
124
|
+
* token_endpoint: "https://authorization-server.com/oauth/token",
|
|
125
|
+
* },
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* Create a PowerBI connection with OAuth M2M
|
|
130
|
+
*
|
|
131
|
+
* ```typescript
|
|
132
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
133
|
+
* import * as databricks from "@pulumi/databricks";
|
|
134
|
+
*
|
|
135
|
+
* const pbi = new databricks.Connection("pbi", {
|
|
136
|
+
* name: "test-pbi",
|
|
137
|
+
* connectionType: "POWER_BI",
|
|
138
|
+
* options: {
|
|
139
|
+
* authorization_endpoint: "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize",
|
|
140
|
+
* client_id: "client_id",
|
|
141
|
+
* client_secret: "client_secret",
|
|
142
|
+
* },
|
|
143
|
+
* });
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
74
146
|
* ## Import
|
|
75
147
|
*
|
|
76
148
|
* This resource can be imported by `id`:
|
|
@@ -133,6 +205,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
133
205
|
* The type of credential for this connection.
|
|
134
206
|
*/
|
|
135
207
|
readonly credentialType: pulumi.Output<string>;
|
|
208
|
+
readonly environmentSettings: pulumi.Output<outputs.ConnectionEnvironmentSettings | undefined>;
|
|
136
209
|
/**
|
|
137
210
|
* Full name of connection.
|
|
138
211
|
*/
|
|
@@ -219,6 +292,7 @@ export interface ConnectionState {
|
|
|
219
292
|
* The type of credential for this connection.
|
|
220
293
|
*/
|
|
221
294
|
credentialType?: pulumi.Input<string>;
|
|
295
|
+
environmentSettings?: pulumi.Input<inputs.ConnectionEnvironmentSettings>;
|
|
222
296
|
/**
|
|
223
297
|
* Full name of connection.
|
|
224
298
|
*/
|
|
@@ -281,6 +355,7 @@ export interface ConnectionArgs {
|
|
|
281
355
|
* Connection type. `MYSQL`, `POSTGRESQL`, `SNOWFLAKE`, `REDSHIFT` `SQLDW`, `SQLSERVER`, `DATABRICKS`, `SALESFORCE`, `BIGQUERY`, `WORKDAY_RAAS`, `HIVE_METASTORE`, `GA4_RAW_DATA`, `SERVICENOW`, `SALESFORCE_DATA_CLOUD`, `GLUE`, `ORACLE`, `TERADATA`, `HTTP` or `POWER_BI` are supported. Up-to-date list of connection type supported is in the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources). Change forces creation of a new resource.
|
|
282
356
|
*/
|
|
283
357
|
connectionType?: pulumi.Input<string>;
|
|
358
|
+
environmentSettings?: pulumi.Input<inputs.ConnectionEnvironmentSettings>;
|
|
284
359
|
/**
|
|
285
360
|
* Name of the Connection.
|
|
286
361
|
*/
|
package/connection.js
CHANGED
|
@@ -75,6 +75,78 @@ const utilities = require("./utilities");
|
|
|
75
75
|
*
|
|
76
76
|
* Create a connection to builtin Hive Metastore
|
|
77
77
|
*
|
|
78
|
+
* ```typescript
|
|
79
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
+
* import * as databricks from "@pulumi/databricks";
|
|
81
|
+
*
|
|
82
|
+
* const hms = new databricks.Connection("hms", {
|
|
83
|
+
* name: "hms-builtin",
|
|
84
|
+
* connectionType: "HIVE_METASTORE",
|
|
85
|
+
* comment: "This is a connection to builtin HMS",
|
|
86
|
+
* options: {
|
|
87
|
+
* builtin: "true",
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* Create a HTTP connection with bearer token
|
|
93
|
+
*
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as databricks from "@pulumi/databricks";
|
|
97
|
+
*
|
|
98
|
+
* const httpBearer = new databricks.Connection("http_bearer", {
|
|
99
|
+
* name: "http_bearer",
|
|
100
|
+
* connectionType: "HTTP",
|
|
101
|
+
* comment: "This is a connection to a HTTP service",
|
|
102
|
+
* options: {
|
|
103
|
+
* host: "https://example.com",
|
|
104
|
+
* port: "8433",
|
|
105
|
+
* base_path: "/api/",
|
|
106
|
+
* bearer_token: "bearer_token",
|
|
107
|
+
* },
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* Create a HTTP connection with OAuth M2M
|
|
112
|
+
*
|
|
113
|
+
* ```typescript
|
|
114
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
115
|
+
* import * as databricks from "@pulumi/databricks";
|
|
116
|
+
*
|
|
117
|
+
* const httpOauth = new databricks.Connection("http_oauth", {
|
|
118
|
+
* name: "http_oauth",
|
|
119
|
+
* connectionType: "HTTP",
|
|
120
|
+
* comment: "This is a connection to a HTTP service",
|
|
121
|
+
* options: {
|
|
122
|
+
* host: "https://example.com",
|
|
123
|
+
* port: "8433",
|
|
124
|
+
* base_path: "/api/",
|
|
125
|
+
* client_id: "client_id",
|
|
126
|
+
* client_secret: "client_secret",
|
|
127
|
+
* oauth_scope: "channels:read channels:history chat:write",
|
|
128
|
+
* token_endpoint: "https://authorization-server.com/oauth/token",
|
|
129
|
+
* },
|
|
130
|
+
* });
|
|
131
|
+
* ```
|
|
132
|
+
*
|
|
133
|
+
* Create a PowerBI connection with OAuth M2M
|
|
134
|
+
*
|
|
135
|
+
* ```typescript
|
|
136
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
137
|
+
* import * as databricks from "@pulumi/databricks";
|
|
138
|
+
*
|
|
139
|
+
* const pbi = new databricks.Connection("pbi", {
|
|
140
|
+
* name: "test-pbi",
|
|
141
|
+
* connectionType: "POWER_BI",
|
|
142
|
+
* options: {
|
|
143
|
+
* authorization_endpoint: "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize",
|
|
144
|
+
* client_id: "client_id",
|
|
145
|
+
* client_secret: "client_secret",
|
|
146
|
+
* },
|
|
147
|
+
* });
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
78
150
|
* ## Import
|
|
79
151
|
*
|
|
80
152
|
* This resource can be imported by `id`:
|
|
@@ -131,6 +203,7 @@ class Connection extends pulumi.CustomResource {
|
|
|
131
203
|
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
132
204
|
resourceInputs["createdBy"] = state ? state.createdBy : undefined;
|
|
133
205
|
resourceInputs["credentialType"] = state ? state.credentialType : undefined;
|
|
206
|
+
resourceInputs["environmentSettings"] = state ? state.environmentSettings : undefined;
|
|
134
207
|
resourceInputs["fullName"] = state ? state.fullName : undefined;
|
|
135
208
|
resourceInputs["metastoreId"] = state ? state.metastoreId : undefined;
|
|
136
209
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -148,6 +221,7 @@ class Connection extends pulumi.CustomResource {
|
|
|
148
221
|
const args = argsOrState;
|
|
149
222
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
150
223
|
resourceInputs["connectionType"] = args ? args.connectionType : undefined;
|
|
224
|
+
resourceInputs["environmentSettings"] = args ? args.environmentSettings : undefined;
|
|
151
225
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
152
226
|
resourceInputs["options"] = (args === null || args === void 0 ? void 0 : args.options) ? pulumi.secret(args.options) : undefined;
|
|
153
227
|
resourceInputs["owner"] = args ? args.owner : undefined;
|
package/connection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmKG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IA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