@pulumi/databricks 1.78.0-alpha.1762407761 → 1.78.0-alpha.1762486781
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 +13 -0
- package/accountFederationPolicy.js +13 -0
- package/accountFederationPolicy.js.map +1 -1
- package/accountNetworkPolicy.d.ts +26 -0
- package/accountNetworkPolicy.js +26 -0
- package/accountNetworkPolicy.js.map +1 -1
- package/alertV2.d.ts +37 -0
- package/alertV2.js +37 -0
- package/alertV2.js.map +1 -1
- package/app.d.ts +33 -0
- package/app.js +33 -0
- package/app.js.map +1 -1
- package/appsSettingsCustomTemplate.d.ts +34 -0
- package/appsSettingsCustomTemplate.js +34 -0
- package/appsSettingsCustomTemplate.js.map +1 -1
- package/catalog.d.ts +3 -3
- package/clusterPolicy.d.ts +63 -0
- package/clusterPolicy.js +63 -0
- package/clusterPolicy.js.map +1 -1
- package/config/vars.d.ts +2 -0
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/databaseSyncedDatabaseTable.d.ts +113 -0
- package/databaseSyncedDatabaseTable.js +113 -0
- package/databaseSyncedDatabaseTable.js.map +1 -1
- package/externalLocation.d.ts +75 -3
- package/externalLocation.js +72 -0
- package/externalLocation.js.map +1 -1
- package/file.d.ts +1 -1
- package/file.js +1 -1
- package/getAwsAssumeRolePolicy.d.ts +10 -10
- package/getAwsAssumeRolePolicy.js +10 -10
- package/getAwsBucketPolicy.d.ts +12 -12
- package/getAwsBucketPolicy.js +12 -12
- package/getAwsUnityCatalogAssumeRolePolicy.d.ts +10 -10
- package/getAwsUnityCatalogAssumeRolePolicy.js +10 -10
- package/getAwsUnityCatalogPolicy.d.ts +10 -10
- package/getAwsUnityCatalogPolicy.js +10 -10
- package/getCluster.d.ts +62 -0
- package/getCluster.js +62 -0
- package/getCluster.js.map +1 -1
- package/getCurrentConfig.d.ts +4 -4
- package/getCurrentConfig.js +4 -4
- package/getMetastore.d.ts +4 -4
- package/getMetastore.js +4 -4
- package/getNotebook.d.ts +11 -0
- package/getNotebook.js +2 -0
- package/getNotebook.js.map +1 -1
- package/getServicePrincipals.d.ts +88 -0
- package/getServicePrincipals.js +88 -0
- package/getServicePrincipals.js.map +1 -1
- package/instanceProfile.d.ts +0 -107
- package/instanceProfile.js +0 -107
- package/instanceProfile.js.map +1 -1
- package/metastore.d.ts +46 -3
- package/metastore.js +43 -0
- package/metastore.js.map +1 -1
- package/metastoreDataAccess.d.ts +28 -0
- package/metastoreDataAccess.js +28 -0
- package/metastoreDataAccess.js.map +1 -1
- package/mlflowWebhook.d.ts +2 -2
- package/mlflowWebhook.js +2 -2
- package/mwsCredentials.d.ts +4 -4
- package/mwsCredentials.js +4 -4
- package/mwsCustomerManagedKeys.d.ts +0 -152
- package/mwsCustomerManagedKeys.js +0 -152
- package/mwsCustomerManagedKeys.js.map +1 -1
- package/mwsLogDelivery.d.ts +90 -0
- package/mwsLogDelivery.js +90 -0
- package/mwsLogDelivery.js.map +1 -1
- package/mwsStorageConfigurations.d.ts +5 -5
- package/mwsStorageConfigurations.js +5 -5
- package/mwsVpcEndpoint.d.ts +5 -5
- package/mwsVpcEndpoint.js +5 -5
- package/mwsWorkspaces.d.ts +24 -21
- package/mwsWorkspaces.js +20 -18
- package/mwsWorkspaces.js.map +1 -1
- package/notebook.d.ts +14 -0
- package/notebook.js +2 -0
- package/notebook.js.map +1 -1
- package/package.json +2 -2
- package/permissionAssignment.d.ts +14 -0
- package/permissionAssignment.js +2 -0
- package/permissionAssignment.js.map +1 -1
- package/permissions.d.ts +3 -3
- package/permissions.js +3 -3
- package/provider.d.ts +3 -0
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/recipient.d.ts +41 -0
- package/recipient.js +41 -0
- package/recipient.js.map +1 -1
- package/registeredModel.d.ts +3 -3
- package/schema.d.ts +3 -3
- package/servicePrincipalFederationPolicy.d.ts +15 -0
- package/servicePrincipalFederationPolicy.js +15 -0
- package/servicePrincipalFederationPolicy.js.map +1 -1
- package/sqlTable.d.ts +3 -3
- package/types/input.d.ts +30 -42
- package/types/output.d.ts +24 -42
- package/volume.d.ts +3 -3
package/getAwsBucketPolicy.d.ts
CHANGED
|
@@ -11,16 +11,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as aws from "@pulumi/aws";
|
|
12
12
|
* import * as databricks from "@pulumi/databricks";
|
|
13
13
|
*
|
|
14
|
-
* const
|
|
14
|
+
* const thisS3Bucket = new aws.index.S3Bucket("this", {
|
|
15
15
|
* bucket: "<unique_bucket_name>",
|
|
16
16
|
* forceDestroy: true,
|
|
17
17
|
* });
|
|
18
|
-
* const _this = databricks.
|
|
19
|
-
* bucket:
|
|
18
|
+
* const _this = databricks.getAwsBucketPolicy({
|
|
19
|
+
* bucket: thisS3Bucket.bucket,
|
|
20
20
|
* });
|
|
21
|
-
* const
|
|
22
|
-
* bucket:
|
|
23
|
-
* policy: _this.
|
|
21
|
+
* const thisS3BucketPolicy = new aws.index.S3BucketPolicy("this", {
|
|
22
|
+
* bucket: thisS3Bucket.id,
|
|
23
|
+
* policy: _this.json,
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
@@ -85,16 +85,16 @@ export interface GetAwsBucketPolicyResult {
|
|
|
85
85
|
* import * as aws from "@pulumi/aws";
|
|
86
86
|
* import * as databricks from "@pulumi/databricks";
|
|
87
87
|
*
|
|
88
|
-
* const
|
|
88
|
+
* const thisS3Bucket = new aws.index.S3Bucket("this", {
|
|
89
89
|
* bucket: "<unique_bucket_name>",
|
|
90
90
|
* forceDestroy: true,
|
|
91
91
|
* });
|
|
92
|
-
* const _this = databricks.
|
|
93
|
-
* bucket:
|
|
92
|
+
* const _this = databricks.getAwsBucketPolicy({
|
|
93
|
+
* bucket: thisS3Bucket.bucket,
|
|
94
94
|
* });
|
|
95
|
-
* const
|
|
96
|
-
* bucket:
|
|
97
|
-
* policy: _this.
|
|
95
|
+
* const thisS3BucketPolicy = new aws.index.S3BucketPolicy("this", {
|
|
96
|
+
* bucket: thisS3Bucket.id,
|
|
97
|
+
* policy: _this.json,
|
|
98
98
|
* });
|
|
99
99
|
* ```
|
|
100
100
|
*
|
package/getAwsBucketPolicy.js
CHANGED
|
@@ -17,16 +17,16 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as aws from "@pulumi/aws";
|
|
18
18
|
* import * as databricks from "@pulumi/databricks";
|
|
19
19
|
*
|
|
20
|
-
* const
|
|
20
|
+
* const thisS3Bucket = new aws.index.S3Bucket("this", {
|
|
21
21
|
* bucket: "<unique_bucket_name>",
|
|
22
22
|
* forceDestroy: true,
|
|
23
23
|
* });
|
|
24
|
-
* const _this = databricks.
|
|
25
|
-
* bucket:
|
|
24
|
+
* const _this = databricks.getAwsBucketPolicy({
|
|
25
|
+
* bucket: thisS3Bucket.bucket,
|
|
26
26
|
* });
|
|
27
|
-
* const
|
|
28
|
-
* bucket:
|
|
29
|
-
* policy: _this.
|
|
27
|
+
* const thisS3BucketPolicy = new aws.index.S3BucketPolicy("this", {
|
|
28
|
+
* bucket: thisS3Bucket.id,
|
|
29
|
+
* policy: _this.json,
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
@@ -55,16 +55,16 @@ exports.getAwsBucketPolicy = getAwsBucketPolicy;
|
|
|
55
55
|
* import * as aws from "@pulumi/aws";
|
|
56
56
|
* import * as databricks from "@pulumi/databricks";
|
|
57
57
|
*
|
|
58
|
-
* const
|
|
58
|
+
* const thisS3Bucket = new aws.index.S3Bucket("this", {
|
|
59
59
|
* bucket: "<unique_bucket_name>",
|
|
60
60
|
* forceDestroy: true,
|
|
61
61
|
* });
|
|
62
|
-
* const _this = databricks.
|
|
63
|
-
* bucket:
|
|
62
|
+
* const _this = databricks.getAwsBucketPolicy({
|
|
63
|
+
* bucket: thisS3Bucket.bucket,
|
|
64
64
|
* });
|
|
65
|
-
* const
|
|
66
|
-
* bucket:
|
|
67
|
-
* policy: _this.
|
|
65
|
+
* const thisS3BucketPolicy = new aws.index.S3BucketPolicy("this", {
|
|
66
|
+
* bucket: thisS3Bucket.id,
|
|
67
|
+
* policy: _this.json,
|
|
68
68
|
* });
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
@@ -24,15 +24,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* roleName: `${prefix}-uc-access`,
|
|
25
25
|
* externalId: "12345",
|
|
26
26
|
* });
|
|
27
|
-
* const unityMetastore = new aws.
|
|
27
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
28
28
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
29
|
-
* policy: _this.
|
|
29
|
+
* policy: _this.json,
|
|
30
30
|
* });
|
|
31
|
-
* const metastoreDataAccess = new aws.
|
|
31
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
32
32
|
* name: `${prefix}-uc-access`,
|
|
33
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
33
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
34
34
|
* });
|
|
35
|
-
* const
|
|
35
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
36
36
|
* role: metastoreDataAccess.name,
|
|
37
37
|
* policyArn: unityMetastore.arn,
|
|
38
38
|
* });
|
|
@@ -104,15 +104,15 @@ export interface GetAwsUnityCatalogAssumeRolePolicyResult {
|
|
|
104
104
|
* roleName: `${prefix}-uc-access`,
|
|
105
105
|
* externalId: "12345",
|
|
106
106
|
* });
|
|
107
|
-
* const unityMetastore = new aws.
|
|
107
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
108
108
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
109
|
-
* policy: _this.
|
|
109
|
+
* policy: _this.json,
|
|
110
110
|
* });
|
|
111
|
-
* const metastoreDataAccess = new aws.
|
|
111
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
112
112
|
* name: `${prefix}-uc-access`,
|
|
113
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
113
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
114
114
|
* });
|
|
115
|
-
* const
|
|
115
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
116
116
|
* role: metastoreDataAccess.name,
|
|
117
117
|
* policyArn: unityMetastore.arn,
|
|
118
118
|
* });
|
|
@@ -30,15 +30,15 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* roleName: `${prefix}-uc-access`,
|
|
31
31
|
* externalId: "12345",
|
|
32
32
|
* });
|
|
33
|
-
* const unityMetastore = new aws.
|
|
33
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
34
34
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
35
|
-
* policy: _this.
|
|
35
|
+
* policy: _this.json,
|
|
36
36
|
* });
|
|
37
|
-
* const metastoreDataAccess = new aws.
|
|
37
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
38
38
|
* name: `${prefix}-uc-access`,
|
|
39
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
39
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
40
40
|
* });
|
|
41
|
-
* const
|
|
41
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
42
42
|
* role: metastoreDataAccess.name,
|
|
43
43
|
* policyArn: unityMetastore.arn,
|
|
44
44
|
* });
|
|
@@ -80,15 +80,15 @@ exports.getAwsUnityCatalogAssumeRolePolicy = getAwsUnityCatalogAssumeRolePolicy;
|
|
|
80
80
|
* roleName: `${prefix}-uc-access`,
|
|
81
81
|
* externalId: "12345",
|
|
82
82
|
* });
|
|
83
|
-
* const unityMetastore = new aws.
|
|
83
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
84
84
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
85
|
-
* policy: _this.
|
|
85
|
+
* policy: _this.json,
|
|
86
86
|
* });
|
|
87
|
-
* const metastoreDataAccess = new aws.
|
|
87
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
88
88
|
* name: `${prefix}-uc-access`,
|
|
89
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
89
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
90
90
|
* });
|
|
91
|
-
* const
|
|
91
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
92
92
|
* role: metastoreDataAccess.name,
|
|
93
93
|
* policyArn: unityMetastore.arn,
|
|
94
94
|
* });
|
|
@@ -24,15 +24,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* roleName: `${prefix}-uc-access`,
|
|
25
25
|
* externalId: "12345",
|
|
26
26
|
* });
|
|
27
|
-
* const unityMetastore = new aws.
|
|
27
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
28
28
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
29
|
-
* policy: _this.
|
|
29
|
+
* policy: _this.json,
|
|
30
30
|
* });
|
|
31
|
-
* const metastoreDataAccess = new aws.
|
|
31
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
32
32
|
* name: `${prefix}-uc-access`,
|
|
33
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
33
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
34
34
|
* });
|
|
35
|
-
* const
|
|
35
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
36
36
|
* role: metastoreDataAccess.name,
|
|
37
37
|
* policyArn: unityMetastore.arn,
|
|
38
38
|
* });
|
|
@@ -107,15 +107,15 @@ export interface GetAwsUnityCatalogPolicyResult {
|
|
|
107
107
|
* roleName: `${prefix}-uc-access`,
|
|
108
108
|
* externalId: "12345",
|
|
109
109
|
* });
|
|
110
|
-
* const unityMetastore = new aws.
|
|
110
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
111
111
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
112
|
-
* policy: _this.
|
|
112
|
+
* policy: _this.json,
|
|
113
113
|
* });
|
|
114
|
-
* const metastoreDataAccess = new aws.
|
|
114
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
115
115
|
* name: `${prefix}-uc-access`,
|
|
116
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
116
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
117
117
|
* });
|
|
118
|
-
* const
|
|
118
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
119
119
|
* role: metastoreDataAccess.name,
|
|
120
120
|
* policyArn: unityMetastore.arn,
|
|
121
121
|
* });
|
|
@@ -30,15 +30,15 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* roleName: `${prefix}-uc-access`,
|
|
31
31
|
* externalId: "12345",
|
|
32
32
|
* });
|
|
33
|
-
* const unityMetastore = new aws.
|
|
33
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
34
34
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
35
|
-
* policy: _this.
|
|
35
|
+
* policy: _this.json,
|
|
36
36
|
* });
|
|
37
|
-
* const metastoreDataAccess = new aws.
|
|
37
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
38
38
|
* name: `${prefix}-uc-access`,
|
|
39
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
39
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
40
40
|
* });
|
|
41
|
-
* const
|
|
41
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
42
42
|
* role: metastoreDataAccess.name,
|
|
43
43
|
* policyArn: unityMetastore.arn,
|
|
44
44
|
* });
|
|
@@ -80,15 +80,15 @@ exports.getAwsUnityCatalogPolicy = getAwsUnityCatalogPolicy;
|
|
|
80
80
|
* roleName: `${prefix}-uc-access`,
|
|
81
81
|
* externalId: "12345",
|
|
82
82
|
* });
|
|
83
|
-
* const unityMetastore = new aws.
|
|
83
|
+
* const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
|
|
84
84
|
* name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
|
|
85
|
-
* policy: _this.
|
|
85
|
+
* policy: _this.json,
|
|
86
86
|
* });
|
|
87
|
-
* const metastoreDataAccess = new aws.
|
|
87
|
+
* const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
|
|
88
88
|
* name: `${prefix}-uc-access`,
|
|
89
|
-
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.
|
|
89
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
|
|
90
90
|
* });
|
|
91
|
-
* const
|
|
91
|
+
* const metastoreDataAccessIamRolePolicyAttachment = new aws.index.IamRolePolicyAttachment("metastore_data_access", {
|
|
92
92
|
* role: metastoreDataAccess.name,
|
|
93
93
|
* policyArn: unityMetastore.arn,
|
|
94
94
|
* });
|
package/getCluster.d.ts
CHANGED
|
@@ -19,6 +19,37 @@ import * as outputs from "./types/output";
|
|
|
19
19
|
* clusterId: __value,
|
|
20
20
|
* }) })));
|
|
21
21
|
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### Multiple clusters with the same name
|
|
24
|
+
*
|
|
25
|
+
* When fetching a cluster whose name is not unique (including terminated but not permanently deleted clusters), you must use the `clusterId` argument to uniquely identify the cluster. Combine this data source with `databricks.getClusters` to get the `clusterId` of the cluster you want to fetch.
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as databricks from "@pulumi/databricks";
|
|
30
|
+
*
|
|
31
|
+
* const myCluster = databricks.getClusters({
|
|
32
|
+
* clusterNameContains: "my-cluster",
|
|
33
|
+
* filterBy: {
|
|
34
|
+
* clusterStates: ["RUNNING"],
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* const myClusterGetCluster = myCluster.then(myCluster => databricks.getCluster({
|
|
38
|
+
* clusterId: myCluster.ids?.[0],
|
|
39
|
+
* }));
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Related Resources
|
|
43
|
+
*
|
|
44
|
+
* The following resources are often used in the same context:
|
|
45
|
+
*
|
|
46
|
+
* * End to end workspace management guide.
|
|
47
|
+
* * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
|
|
48
|
+
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
49
|
+
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
50
|
+
* * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
51
|
+
* * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
|
|
52
|
+
* * databricks.Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
22
53
|
*/
|
|
23
54
|
export declare function getCluster(args?: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
|
|
24
55
|
/**
|
|
@@ -83,6 +114,37 @@ export interface GetClusterResult {
|
|
|
83
114
|
* clusterId: __value,
|
|
84
115
|
* }) })));
|
|
85
116
|
* ```
|
|
117
|
+
*
|
|
118
|
+
* ### Multiple clusters with the same name
|
|
119
|
+
*
|
|
120
|
+
* When fetching a cluster whose name is not unique (including terminated but not permanently deleted clusters), you must use the `clusterId` argument to uniquely identify the cluster. Combine this data source with `databricks.getClusters` to get the `clusterId` of the cluster you want to fetch.
|
|
121
|
+
*
|
|
122
|
+
* ```typescript
|
|
123
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
124
|
+
* import * as databricks from "@pulumi/databricks";
|
|
125
|
+
*
|
|
126
|
+
* const myCluster = databricks.getClusters({
|
|
127
|
+
* clusterNameContains: "my-cluster",
|
|
128
|
+
* filterBy: {
|
|
129
|
+
* clusterStates: ["RUNNING"],
|
|
130
|
+
* },
|
|
131
|
+
* });
|
|
132
|
+
* const myClusterGetCluster = myCluster.then(myCluster => databricks.getCluster({
|
|
133
|
+
* clusterId: myCluster.ids?.[0],
|
|
134
|
+
* }));
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* ## Related Resources
|
|
138
|
+
*
|
|
139
|
+
* The following resources are often used in the same context:
|
|
140
|
+
*
|
|
141
|
+
* * End to end workspace management guide.
|
|
142
|
+
* * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
|
|
143
|
+
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
144
|
+
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
145
|
+
* * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
146
|
+
* * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
|
|
147
|
+
* * databricks.Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
86
148
|
*/
|
|
87
149
|
export declare function getClusterOutput(args?: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>;
|
|
88
150
|
/**
|
package/getCluster.js
CHANGED
|
@@ -23,6 +23,37 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* clusterId: __value,
|
|
24
24
|
* }) })));
|
|
25
25
|
* ```
|
|
26
|
+
*
|
|
27
|
+
* ### Multiple clusters with the same name
|
|
28
|
+
*
|
|
29
|
+
* When fetching a cluster whose name is not unique (including terminated but not permanently deleted clusters), you must use the `clusterId` argument to uniquely identify the cluster. Combine this data source with `databricks.getClusters` to get the `clusterId` of the cluster you want to fetch.
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as databricks from "@pulumi/databricks";
|
|
34
|
+
*
|
|
35
|
+
* const myCluster = databricks.getClusters({
|
|
36
|
+
* clusterNameContains: "my-cluster",
|
|
37
|
+
* filterBy: {
|
|
38
|
+
* clusterStates: ["RUNNING"],
|
|
39
|
+
* },
|
|
40
|
+
* });
|
|
41
|
+
* const myClusterGetCluster = myCluster.then(myCluster => databricks.getCluster({
|
|
42
|
+
* clusterId: myCluster.ids?.[0],
|
|
43
|
+
* }));
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Related Resources
|
|
47
|
+
*
|
|
48
|
+
* The following resources are often used in the same context:
|
|
49
|
+
*
|
|
50
|
+
* * End to end workspace management guide.
|
|
51
|
+
* * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
|
|
52
|
+
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
53
|
+
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
54
|
+
* * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
55
|
+
* * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
|
|
56
|
+
* * databricks.Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
26
57
|
*/
|
|
27
58
|
function getCluster(args, opts) {
|
|
28
59
|
args = args || {};
|
|
@@ -54,6 +85,37 @@ exports.getCluster = getCluster;
|
|
|
54
85
|
* clusterId: __value,
|
|
55
86
|
* }) })));
|
|
56
87
|
* ```
|
|
88
|
+
*
|
|
89
|
+
* ### Multiple clusters with the same name
|
|
90
|
+
*
|
|
91
|
+
* When fetching a cluster whose name is not unique (including terminated but not permanently deleted clusters), you must use the `clusterId` argument to uniquely identify the cluster. Combine this data source with `databricks.getClusters` to get the `clusterId` of the cluster you want to fetch.
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as databricks from "@pulumi/databricks";
|
|
96
|
+
*
|
|
97
|
+
* const myCluster = databricks.getClusters({
|
|
98
|
+
* clusterNameContains: "my-cluster",
|
|
99
|
+
* filterBy: {
|
|
100
|
+
* clusterStates: ["RUNNING"],
|
|
101
|
+
* },
|
|
102
|
+
* });
|
|
103
|
+
* const myClusterGetCluster = myCluster.then(myCluster => databricks.getCluster({
|
|
104
|
+
* clusterId: myCluster.ids?.[0],
|
|
105
|
+
* }));
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* ## Related Resources
|
|
109
|
+
*
|
|
110
|
+
* The following resources are often used in the same context:
|
|
111
|
+
*
|
|
112
|
+
* * End to end workspace management guide.
|
|
113
|
+
* * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
|
|
114
|
+
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
115
|
+
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
116
|
+
* * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
117
|
+
* * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
|
|
118
|
+
* * databricks.Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
57
119
|
*/
|
|
58
120
|
function getClusterOutput(args, opts) {
|
|
59
121
|
args = args || {};
|
package/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4CAUC"}
|
package/getCurrentConfig.d.ts
CHANGED
|
@@ -24,10 +24,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* awsIamRole: singleOrNone(.map(entry => ({
|
|
25
25
|
* roleArn: cloudCredentialId,
|
|
26
26
|
* }))),
|
|
27
|
-
* azureManagedIdentity: singleOrNone(.map(
|
|
27
|
+
* azureManagedIdentity: singleOrNone(.map(entry2 => ({
|
|
28
28
|
* accessConnectorId: cloudCredentialId,
|
|
29
29
|
* }))),
|
|
30
|
-
* databricksGcpServiceAccount: singleOrNone(.map(
|
|
30
|
+
* databricksGcpServiceAccount: singleOrNone(.map(entry3 => ({}))),
|
|
31
31
|
* name: "storage_cred",
|
|
32
32
|
* comment: "Managed by TF",
|
|
33
33
|
* });
|
|
@@ -102,10 +102,10 @@ export interface GetCurrentConfigResult {
|
|
|
102
102
|
* awsIamRole: singleOrNone(.map(entry => ({
|
|
103
103
|
* roleArn: cloudCredentialId,
|
|
104
104
|
* }))),
|
|
105
|
-
* azureManagedIdentity: singleOrNone(.map(
|
|
105
|
+
* azureManagedIdentity: singleOrNone(.map(entry2 => ({
|
|
106
106
|
* accessConnectorId: cloudCredentialId,
|
|
107
107
|
* }))),
|
|
108
|
-
* databricksGcpServiceAccount: singleOrNone(.map(
|
|
108
|
+
* databricksGcpServiceAccount: singleOrNone(.map(entry3 => ({}))),
|
|
109
109
|
* name: "storage_cred",
|
|
110
110
|
* comment: "Managed by TF",
|
|
111
111
|
* });
|
package/getCurrentConfig.js
CHANGED
|
@@ -30,10 +30,10 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* awsIamRole: singleOrNone(.map(entry => ({
|
|
31
31
|
* roleArn: cloudCredentialId,
|
|
32
32
|
* }))),
|
|
33
|
-
* azureManagedIdentity: singleOrNone(.map(
|
|
33
|
+
* azureManagedIdentity: singleOrNone(.map(entry2 => ({
|
|
34
34
|
* accessConnectorId: cloudCredentialId,
|
|
35
35
|
* }))),
|
|
36
|
-
* databricksGcpServiceAccount: singleOrNone(.map(
|
|
36
|
+
* databricksGcpServiceAccount: singleOrNone(.map(entry3 => ({}))),
|
|
37
37
|
* name: "storage_cred",
|
|
38
38
|
* comment: "Managed by TF",
|
|
39
39
|
* });
|
|
@@ -95,10 +95,10 @@ exports.getCurrentConfig = getCurrentConfig;
|
|
|
95
95
|
* awsIamRole: singleOrNone(.map(entry => ({
|
|
96
96
|
* roleArn: cloudCredentialId,
|
|
97
97
|
* }))),
|
|
98
|
-
* azureManagedIdentity: singleOrNone(.map(
|
|
98
|
+
* azureManagedIdentity: singleOrNone(.map(entry2 => ({
|
|
99
99
|
* accessConnectorId: cloudCredentialId,
|
|
100
100
|
* }))),
|
|
101
|
-
* databricksGcpServiceAccount: singleOrNone(.map(
|
|
101
|
+
* databricksGcpServiceAccount: singleOrNone(.map(entry3 => ({}))),
|
|
102
102
|
* name: "storage_cred",
|
|
103
103
|
* comment: "Managed by TF",
|
|
104
104
|
* });
|
package/getMetastore.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
* import * as databricks from "@pulumi/databricks";
|
|
17
17
|
*
|
|
18
|
-
* const metastore = new aws.
|
|
18
|
+
* const metastore = new aws.index.S3Bucket("metastore", {
|
|
19
19
|
* bucket: `${prefix}-metastore`,
|
|
20
20
|
* forceDestroy: true,
|
|
21
21
|
* });
|
|
22
22
|
* const thisMetastore = new databricks.Metastore("this", {
|
|
23
23
|
* name: "primary",
|
|
24
|
-
* storageRoot:
|
|
24
|
+
* storageRoot: `s3://${metastore.id}/metastore`,
|
|
25
25
|
* owner: unityAdminGroup,
|
|
26
26
|
* forceDestroy: true,
|
|
27
27
|
* });
|
|
@@ -98,13 +98,13 @@ export interface GetMetastoreResult {
|
|
|
98
98
|
* import * as aws from "@pulumi/aws";
|
|
99
99
|
* import * as databricks from "@pulumi/databricks";
|
|
100
100
|
*
|
|
101
|
-
* const metastore = new aws.
|
|
101
|
+
* const metastore = new aws.index.S3Bucket("metastore", {
|
|
102
102
|
* bucket: `${prefix}-metastore`,
|
|
103
103
|
* forceDestroy: true,
|
|
104
104
|
* });
|
|
105
105
|
* const thisMetastore = new databricks.Metastore("this", {
|
|
106
106
|
* name: "primary",
|
|
107
|
-
* storageRoot:
|
|
107
|
+
* storageRoot: `s3://${metastore.id}/metastore`,
|
|
108
108
|
* owner: unityAdminGroup,
|
|
109
109
|
* forceDestroy: true,
|
|
110
110
|
* });
|
package/getMetastore.js
CHANGED
|
@@ -19,13 +19,13 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as aws from "@pulumi/aws";
|
|
20
20
|
* import * as databricks from "@pulumi/databricks";
|
|
21
21
|
*
|
|
22
|
-
* const metastore = new aws.
|
|
22
|
+
* const metastore = new aws.index.S3Bucket("metastore", {
|
|
23
23
|
* bucket: `${prefix}-metastore`,
|
|
24
24
|
* forceDestroy: true,
|
|
25
25
|
* });
|
|
26
26
|
* const thisMetastore = new databricks.Metastore("this", {
|
|
27
27
|
* name: "primary",
|
|
28
|
-
* storageRoot:
|
|
28
|
+
* storageRoot: `s3://${metastore.id}/metastore`,
|
|
29
29
|
* owner: unityAdminGroup,
|
|
30
30
|
* forceDestroy: true,
|
|
31
31
|
* });
|
|
@@ -69,13 +69,13 @@ exports.getMetastore = getMetastore;
|
|
|
69
69
|
* import * as aws from "@pulumi/aws";
|
|
70
70
|
* import * as databricks from "@pulumi/databricks";
|
|
71
71
|
*
|
|
72
|
-
* const metastore = new aws.
|
|
72
|
+
* const metastore = new aws.index.S3Bucket("metastore", {
|
|
73
73
|
* bucket: `${prefix}-metastore`,
|
|
74
74
|
* forceDestroy: true,
|
|
75
75
|
* });
|
|
76
76
|
* const thisMetastore = new databricks.Metastore("this", {
|
|
77
77
|
* name: "primary",
|
|
78
|
-
* storageRoot:
|
|
78
|
+
* storageRoot: `s3://${metastore.id}/metastore`,
|
|
79
79
|
* owner: unityAdminGroup,
|
|
80
80
|
* forceDestroy: true,
|
|
81
81
|
* });
|
package/getNotebook.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* This data source allows to export a notebook from Databricks Workspace.
|
|
4
6
|
*
|
|
@@ -41,6 +43,10 @@ export interface GetNotebookArgs {
|
|
|
41
43
|
* Notebook path on the workspace
|
|
42
44
|
*/
|
|
43
45
|
path: string;
|
|
46
|
+
/**
|
|
47
|
+
* Configure the provider for management through account provider. This block consists of the following fields:
|
|
48
|
+
*/
|
|
49
|
+
providerConfig?: inputs.GetNotebookProviderConfig;
|
|
44
50
|
}
|
|
45
51
|
/**
|
|
46
52
|
* A collection of values returned by getNotebook.
|
|
@@ -68,6 +74,7 @@ export interface GetNotebookResult {
|
|
|
68
74
|
*/
|
|
69
75
|
readonly objectType: string;
|
|
70
76
|
readonly path: string;
|
|
77
|
+
readonly providerConfig?: outputs.GetNotebookProviderConfig;
|
|
71
78
|
/**
|
|
72
79
|
* path on Workspace File System (WSFS) in form of `/Workspace` + `path`
|
|
73
80
|
*/
|
|
@@ -115,4 +122,8 @@ export interface GetNotebookOutputArgs {
|
|
|
115
122
|
* Notebook path on the workspace
|
|
116
123
|
*/
|
|
117
124
|
path: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Configure the provider for management through account provider. This block consists of the following fields:
|
|
127
|
+
*/
|
|
128
|
+
providerConfig?: pulumi.Input<inputs.GetNotebookProviderConfigArgs>;
|
|
118
129
|
}
|
package/getNotebook.js
CHANGED
|
@@ -30,6 +30,7 @@ function getNotebook(args, opts) {
|
|
|
30
30
|
"objectId": args.objectId,
|
|
31
31
|
"objectType": args.objectType,
|
|
32
32
|
"path": args.path,
|
|
33
|
+
"providerConfig": args.providerConfig,
|
|
33
34
|
}, opts);
|
|
34
35
|
}
|
|
35
36
|
exports.getNotebook = getNotebook;
|
|
@@ -58,6 +59,7 @@ function getNotebookOutput(args, opts) {
|
|
|
58
59
|
"objectId": args.objectId,
|
|
59
60
|
"objectType": args.objectType,
|
|
60
61
|
"path": args.path,
|
|
62
|
+
"providerConfig": args.providerConfig,
|
|
61
63
|
}, opts);
|
|
62
64
|
}
|
|
63
65
|
exports.getNotebookOutput = getNotebookOutput;
|
package/getNotebook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNotebook.js","sourceRoot":"","sources":["../getNotebook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getNotebook.js","sourceRoot":"","sources":["../getNotebook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC;AAgED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC"}
|