@pulumi/databricks 1.77.0 → 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.
Files changed (101) hide show
  1. package/accountFederationPolicy.d.ts +13 -0
  2. package/accountFederationPolicy.js +13 -0
  3. package/accountFederationPolicy.js.map +1 -1
  4. package/accountNetworkPolicy.d.ts +26 -0
  5. package/accountNetworkPolicy.js +26 -0
  6. package/accountNetworkPolicy.js.map +1 -1
  7. package/alertV2.d.ts +37 -0
  8. package/alertV2.js +37 -0
  9. package/alertV2.js.map +1 -1
  10. package/app.d.ts +33 -0
  11. package/app.js +33 -0
  12. package/app.js.map +1 -1
  13. package/appsSettingsCustomTemplate.d.ts +34 -0
  14. package/appsSettingsCustomTemplate.js +34 -0
  15. package/appsSettingsCustomTemplate.js.map +1 -1
  16. package/catalog.d.ts +3 -3
  17. package/clusterPolicy.d.ts +63 -0
  18. package/clusterPolicy.js +63 -0
  19. package/clusterPolicy.js.map +1 -1
  20. package/config/vars.d.ts +2 -0
  21. package/config/vars.js +12 -0
  22. package/config/vars.js.map +1 -1
  23. package/databaseSyncedDatabaseTable.d.ts +113 -0
  24. package/databaseSyncedDatabaseTable.js +113 -0
  25. package/databaseSyncedDatabaseTable.js.map +1 -1
  26. package/externalLocation.d.ts +75 -3
  27. package/externalLocation.js +72 -0
  28. package/externalLocation.js.map +1 -1
  29. package/file.d.ts +1 -1
  30. package/file.js +1 -1
  31. package/getAwsAssumeRolePolicy.d.ts +10 -10
  32. package/getAwsAssumeRolePolicy.js +10 -10
  33. package/getAwsBucketPolicy.d.ts +12 -12
  34. package/getAwsBucketPolicy.js +12 -12
  35. package/getAwsUnityCatalogAssumeRolePolicy.d.ts +10 -10
  36. package/getAwsUnityCatalogAssumeRolePolicy.js +10 -10
  37. package/getAwsUnityCatalogPolicy.d.ts +10 -10
  38. package/getAwsUnityCatalogPolicy.js +10 -10
  39. package/getCluster.d.ts +62 -0
  40. package/getCluster.js +62 -0
  41. package/getCluster.js.map +1 -1
  42. package/getCurrentConfig.d.ts +4 -4
  43. package/getCurrentConfig.js +4 -4
  44. package/getMetastore.d.ts +4 -4
  45. package/getMetastore.js +4 -4
  46. package/getNotebook.d.ts +11 -0
  47. package/getNotebook.js +2 -0
  48. package/getNotebook.js.map +1 -1
  49. package/getServicePrincipals.d.ts +88 -0
  50. package/getServicePrincipals.js +88 -0
  51. package/getServicePrincipals.js.map +1 -1
  52. package/instanceProfile.d.ts +0 -107
  53. package/instanceProfile.js +0 -107
  54. package/instanceProfile.js.map +1 -1
  55. package/metastore.d.ts +46 -3
  56. package/metastore.js +43 -0
  57. package/metastore.js.map +1 -1
  58. package/metastoreDataAccess.d.ts +28 -0
  59. package/metastoreDataAccess.js +28 -0
  60. package/metastoreDataAccess.js.map +1 -1
  61. package/mlflowWebhook.d.ts +2 -2
  62. package/mlflowWebhook.js +2 -2
  63. package/mwsCredentials.d.ts +4 -4
  64. package/mwsCredentials.js +4 -4
  65. package/mwsCustomerManagedKeys.d.ts +0 -152
  66. package/mwsCustomerManagedKeys.js +0 -152
  67. package/mwsCustomerManagedKeys.js.map +1 -1
  68. package/mwsLogDelivery.d.ts +90 -0
  69. package/mwsLogDelivery.js +90 -0
  70. package/mwsLogDelivery.js.map +1 -1
  71. package/mwsStorageConfigurations.d.ts +5 -5
  72. package/mwsStorageConfigurations.js +5 -5
  73. package/mwsVpcEndpoint.d.ts +5 -5
  74. package/mwsVpcEndpoint.js +5 -5
  75. package/mwsWorkspaces.d.ts +24 -21
  76. package/mwsWorkspaces.js +20 -18
  77. package/mwsWorkspaces.js.map +1 -1
  78. package/notebook.d.ts +14 -0
  79. package/notebook.js +2 -0
  80. package/notebook.js.map +1 -1
  81. package/package.json +2 -2
  82. package/permissionAssignment.d.ts +14 -0
  83. package/permissionAssignment.js +2 -0
  84. package/permissionAssignment.js.map +1 -1
  85. package/permissions.d.ts +3 -3
  86. package/permissions.js +3 -3
  87. package/provider.d.ts +3 -0
  88. package/provider.js +2 -0
  89. package/provider.js.map +1 -1
  90. package/recipient.d.ts +41 -0
  91. package/recipient.js +41 -0
  92. package/recipient.js.map +1 -1
  93. package/registeredModel.d.ts +3 -3
  94. package/schema.d.ts +3 -3
  95. package/servicePrincipalFederationPolicy.d.ts +15 -0
  96. package/servicePrincipalFederationPolicy.js +15 -0
  97. package/servicePrincipalFederationPolicy.js.map +1 -1
  98. package/sqlTable.d.ts +3 -3
  99. package/types/input.d.ts +30 -42
  100. package/types/output.d.ts +24 -42
  101. package/volume.d.ts +3 -3
@@ -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 thisBucket = new aws.s3.Bucket("this", {
14
+ * const thisS3Bucket = new aws.index.S3Bucket("this", {
15
15
  * bucket: "<unique_bucket_name>",
16
16
  * forceDestroy: true,
17
17
  * });
18
- * const _this = databricks.getAwsBucketPolicyOutput({
19
- * bucket: thisBucket.bucket,
18
+ * const _this = databricks.getAwsBucketPolicy({
19
+ * bucket: thisS3Bucket.bucket,
20
20
  * });
21
- * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
22
- * bucket: thisBucket.id,
23
- * policy: _this.apply(_this => _this.json),
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 thisBucket = new aws.s3.Bucket("this", {
88
+ * const thisS3Bucket = new aws.index.S3Bucket("this", {
89
89
  * bucket: "<unique_bucket_name>",
90
90
  * forceDestroy: true,
91
91
  * });
92
- * const _this = databricks.getAwsBucketPolicyOutput({
93
- * bucket: thisBucket.bucket,
92
+ * const _this = databricks.getAwsBucketPolicy({
93
+ * bucket: thisS3Bucket.bucket,
94
94
  * });
95
- * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
96
- * bucket: thisBucket.id,
97
- * policy: _this.apply(_this => _this.json),
95
+ * const thisS3BucketPolicy = new aws.index.S3BucketPolicy("this", {
96
+ * bucket: thisS3Bucket.id,
97
+ * policy: _this.json,
98
98
  * });
99
99
  * ```
100
100
  *
@@ -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 thisBucket = new aws.s3.Bucket("this", {
20
+ * const thisS3Bucket = new aws.index.S3Bucket("this", {
21
21
  * bucket: "<unique_bucket_name>",
22
22
  * forceDestroy: true,
23
23
  * });
24
- * const _this = databricks.getAwsBucketPolicyOutput({
25
- * bucket: thisBucket.bucket,
24
+ * const _this = databricks.getAwsBucketPolicy({
25
+ * bucket: thisS3Bucket.bucket,
26
26
  * });
27
- * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
28
- * bucket: thisBucket.id,
29
- * policy: _this.apply(_this => _this.json),
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 thisBucket = new aws.s3.Bucket("this", {
58
+ * const thisS3Bucket = new aws.index.S3Bucket("this", {
59
59
  * bucket: "<unique_bucket_name>",
60
60
  * forceDestroy: true,
61
61
  * });
62
- * const _this = databricks.getAwsBucketPolicyOutput({
63
- * bucket: thisBucket.bucket,
62
+ * const _this = databricks.getAwsBucketPolicy({
63
+ * bucket: thisS3Bucket.bucket,
64
64
  * });
65
- * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
66
- * bucket: thisBucket.id,
67
- * policy: _this.apply(_this => _this.json),
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.iam.Policy("unity_metastore", {
27
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
28
28
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
29
- * policy: _this.then(_this => _this.json),
29
+ * policy: _this.json,
30
30
  * });
31
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
31
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
32
32
  * name: `${prefix}-uc-access`,
33
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
33
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
34
34
  * });
35
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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.iam.Policy("unity_metastore", {
107
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
108
108
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
109
- * policy: _this.then(_this => _this.json),
109
+ * policy: _this.json,
110
110
  * });
111
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
111
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
112
112
  * name: `${prefix}-uc-access`,
113
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
113
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
114
114
  * });
115
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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.iam.Policy("unity_metastore", {
33
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
34
34
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
35
- * policy: _this.then(_this => _this.json),
35
+ * policy: _this.json,
36
36
  * });
37
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
37
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
38
38
  * name: `${prefix}-uc-access`,
39
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
39
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
40
40
  * });
41
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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.iam.Policy("unity_metastore", {
83
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
84
84
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
85
- * policy: _this.then(_this => _this.json),
85
+ * policy: _this.json,
86
86
  * });
87
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
87
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
88
88
  * name: `${prefix}-uc-access`,
89
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
89
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
90
90
  * });
91
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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.iam.Policy("unity_metastore", {
27
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
28
28
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
29
- * policy: _this.then(_this => _this.json),
29
+ * policy: _this.json,
30
30
  * });
31
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
31
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
32
32
  * name: `${prefix}-uc-access`,
33
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
33
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
34
34
  * });
35
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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.iam.Policy("unity_metastore", {
110
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
111
111
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
112
- * policy: _this.then(_this => _this.json),
112
+ * policy: _this.json,
113
113
  * });
114
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
114
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
115
115
  * name: `${prefix}-uc-access`,
116
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
116
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
117
117
  * });
118
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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.iam.Policy("unity_metastore", {
33
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
34
34
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
35
- * policy: _this.then(_this => _this.json),
35
+ * policy: _this.json,
36
36
  * });
37
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
37
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
38
38
  * name: `${prefix}-uc-access`,
39
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
39
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
40
40
  * });
41
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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.iam.Policy("unity_metastore", {
83
+ * const unityMetastore = new aws.index.IamPolicy("unity_metastore", {
84
84
  * name: `${prefix}-unity-catalog-metastore-access-iam-policy`,
85
- * policy: _this.then(_this => _this.json),
85
+ * policy: _this.json,
86
86
  * });
87
- * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
87
+ * const metastoreDataAccess = new aws.index.IamRole("metastore_data_access", {
88
88
  * name: `${prefix}-uc-access`,
89
- * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
89
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.json,
90
90
  * });
91
- * const metastoreDataAccessRolePolicyAttachment = new aws.iam.RolePolicyAttachment("metastore_data_access", {
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;;;;;;;;;;;;;;;;;;GAkBG;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;;;;;;;;;;;;;;;;;;GAkBG;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"}
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"}
@@ -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(entry => ({
27
+ * azureManagedIdentity: singleOrNone(.map(entry2 => ({
28
28
  * accessConnectorId: cloudCredentialId,
29
29
  * }))),
30
- * databricksGcpServiceAccount: singleOrNone(.map(entry => ({}))),
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(entry => ({
105
+ * azureManagedIdentity: singleOrNone(.map(entry2 => ({
106
106
  * accessConnectorId: cloudCredentialId,
107
107
  * }))),
108
- * databricksGcpServiceAccount: singleOrNone(.map(entry => ({}))),
108
+ * databricksGcpServiceAccount: singleOrNone(.map(entry3 => ({}))),
109
109
  * name: "storage_cred",
110
110
  * comment: "Managed by TF",
111
111
  * });
@@ -30,10 +30,10 @@ const utilities = require("./utilities");
30
30
  * awsIamRole: singleOrNone(.map(entry => ({
31
31
  * roleArn: cloudCredentialId,
32
32
  * }))),
33
- * azureManagedIdentity: singleOrNone(.map(entry => ({
33
+ * azureManagedIdentity: singleOrNone(.map(entry2 => ({
34
34
  * accessConnectorId: cloudCredentialId,
35
35
  * }))),
36
- * databricksGcpServiceAccount: singleOrNone(.map(entry => ({}))),
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(entry => ({
98
+ * azureManagedIdentity: singleOrNone(.map(entry2 => ({
99
99
  * accessConnectorId: cloudCredentialId,
100
100
  * }))),
101
- * databricksGcpServiceAccount: singleOrNone(.map(entry => ({}))),
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.s3.Bucket("metastore", {
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: pulumi.interpolate`s3://${metastore.id}/metastore`,
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.s3.Bucket("metastore", {
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: pulumi.interpolate`s3://${metastore.id}/metastore`,
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.s3.Bucket("metastore", {
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: pulumi.interpolate`s3://${metastore.id}/metastore`,
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.s3.Bucket("metastore", {
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: pulumi.interpolate`s3://${metastore.id}/metastore`,
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;
@@ -1 +1 @@
1
- {"version":3,"file":"getNotebook.js","sourceRoot":"","sources":["../getNotebook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,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;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AA2DD;;;;;;;;;;;;;;;;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;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8CASC"}
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"}