@pulumi/databricks 1.52.0-alpha.1729195979 → 1.52.0-alpha.1729524608

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 (57) hide show
  1. package/getAwsBucketPolicy.d.ts +44 -0
  2. package/getAwsBucketPolicy.js +44 -0
  3. package/getAwsBucketPolicy.js.map +1 -1
  4. package/getAwsUnityCatalogPolicy.d.ts +2 -2
  5. package/getAwsUnityCatalogPolicy.js +2 -2
  6. package/getCluster.d.ts +4 -4
  7. package/getCluster.js +4 -4
  8. package/getInstancePool.d.ts +2 -2
  9. package/getInstancePool.js +2 -2
  10. package/getMetastore.d.ts +12 -2
  11. package/getMetastore.js +12 -2
  12. package/getMetastore.js.map +1 -1
  13. package/getNotificationDestinations.d.ts +132 -0
  14. package/getNotificationDestinations.js +96 -0
  15. package/getNotificationDestinations.js.map +1 -0
  16. package/getRegisteredModel.d.ts +114 -0
  17. package/getRegisteredModel.js +76 -0
  18. package/getRegisteredModel.js.map +1 -0
  19. package/getSqlWarehouse.d.ts +4 -4
  20. package/getSqlWarehouse.js +4 -4
  21. package/getViews.d.ts +72 -0
  22. package/getViews.js +72 -0
  23. package/getViews.js.map +1 -1
  24. package/getVolume.d.ts +72 -0
  25. package/getVolume.js +72 -0
  26. package/getVolume.js.map +1 -1
  27. package/index.d.ts +6 -0
  28. package/index.js +10 -4
  29. package/index.js.map +1 -1
  30. package/job.d.ts +12 -0
  31. package/job.js +2 -0
  32. package/job.js.map +1 -1
  33. package/lakehouseMonitor.d.ts +43 -0
  34. package/lakehouseMonitor.js +43 -0
  35. package/lakehouseMonitor.js.map +1 -1
  36. package/modelServing.d.ts +18 -9
  37. package/modelServing.js.map +1 -1
  38. package/mwsCredentials.d.ts +2 -0
  39. package/mwsCredentials.js +2 -0
  40. package/mwsCredentials.js.map +1 -1
  41. package/mwsCustomerManagedKeys.d.ts +3 -2
  42. package/mwsCustomerManagedKeys.js +3 -2
  43. package/mwsCustomerManagedKeys.js.map +1 -1
  44. package/onlineTable.d.ts +8 -0
  45. package/onlineTable.js +2 -0
  46. package/onlineTable.js.map +1 -1
  47. package/package.json +2 -2
  48. package/permissions.d.ts +3 -2
  49. package/permissions.js +3 -2
  50. package/permissions.js.map +1 -1
  51. package/pipeline.d.ts +9 -0
  52. package/pipeline.js.map +1 -1
  53. package/qualityMonitor.d.ts +43 -0
  54. package/qualityMonitor.js +43 -0
  55. package/qualityMonitor.js.map +1 -1
  56. package/types/input.d.ts +282 -15
  57. package/types/output.d.ts +203 -15
@@ -1,6 +1,28 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ * import * as databricks from "@pulumi/databricks";
11
+ *
12
+ * const thisBucketV2 = new aws.s3.BucketV2("this", {
13
+ * bucket: "<unique_bucket_name>",
14
+ * forceDestroy: true,
15
+ * });
16
+ * const this = databricks.getAwsBucketPolicyOutput({
17
+ * bucket: thisBucketV2.bucket,
18
+ * });
19
+ * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
20
+ * bucket: thisBucketV2.id,
21
+ * policy: _this.apply(_this => _this.json),
22
+ * });
23
+ * ```
24
+ *
25
+ * Bucket policy with full access:
4
26
  */
5
27
  export declare function getAwsBucketPolicy(args: GetAwsBucketPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsBucketPolicyResult>;
6
28
  /**
@@ -40,6 +62,28 @@ export interface GetAwsBucketPolicyResult {
40
62
  }
41
63
  /**
42
64
  * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as aws from "@pulumi/aws";
71
+ * import * as databricks from "@pulumi/databricks";
72
+ *
73
+ * const thisBucketV2 = new aws.s3.BucketV2("this", {
74
+ * bucket: "<unique_bucket_name>",
75
+ * forceDestroy: true,
76
+ * });
77
+ * const this = databricks.getAwsBucketPolicyOutput({
78
+ * bucket: thisBucketV2.bucket,
79
+ * });
80
+ * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
81
+ * bucket: thisBucketV2.id,
82
+ * policy: _this.apply(_this => _this.json),
83
+ * });
84
+ * ```
85
+ *
86
+ * Bucket policy with full access:
43
87
  */
44
88
  export declare function getAwsBucketPolicyOutput(args: GetAwsBucketPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAwsBucketPolicyResult>;
45
89
  /**
@@ -7,6 +7,28 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ * import * as databricks from "@pulumi/databricks";
17
+ *
18
+ * const thisBucketV2 = new aws.s3.BucketV2("this", {
19
+ * bucket: "<unique_bucket_name>",
20
+ * forceDestroy: true,
21
+ * });
22
+ * const this = databricks.getAwsBucketPolicyOutput({
23
+ * bucket: thisBucketV2.bucket,
24
+ * });
25
+ * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
26
+ * bucket: thisBucketV2.id,
27
+ * policy: _this.apply(_this => _this.json),
28
+ * });
29
+ * ```
30
+ *
31
+ * Bucket policy with full access:
10
32
  */
11
33
  function getAwsBucketPolicy(args, opts) {
12
34
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -20,6 +42,28 @@ function getAwsBucketPolicy(args, opts) {
20
42
  exports.getAwsBucketPolicy = getAwsBucketPolicy;
21
43
  /**
22
44
  * This datasource configures a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
45
+ *
46
+ * ## Example Usage
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as aws from "@pulumi/aws";
51
+ * import * as databricks from "@pulumi/databricks";
52
+ *
53
+ * const thisBucketV2 = new aws.s3.BucketV2("this", {
54
+ * bucket: "<unique_bucket_name>",
55
+ * forceDestroy: true,
56
+ * });
57
+ * const this = databricks.getAwsBucketPolicyOutput({
58
+ * bucket: thisBucketV2.bucket,
59
+ * });
60
+ * const thisBucketPolicy = new aws.s3.BucketPolicy("this", {
61
+ * bucket: thisBucketV2.id,
62
+ * policy: _this.apply(_this => _this.json),
63
+ * });
64
+ * ```
65
+ *
66
+ * Bucket policy with full access:
23
67
  */
24
68
  function getAwsBucketPolicyOutput(args, opts) {
25
69
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getAwsBucketPolicy.js","sourceRoot":"","sources":["../getAwsBucketPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAsCD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAA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AC,MAAM;QACrB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC"}
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  * });
29
29
  * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
30
30
  * name: `${prefix}-uc-access`,
31
- * assumeRolePolicy: thisAwsIamPolicyDocument.json,
31
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
32
32
  * managedPolicyArns: [unityMetastore.arn],
33
33
  * });
34
34
  * ```
@@ -101,7 +101,7 @@ export interface GetAwsUnityCatalogPolicyResult {
101
101
  * });
102
102
  * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
103
103
  * name: `${prefix}-uc-access`,
104
- * assumeRolePolicy: thisAwsIamPolicyDocument.json,
104
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
105
105
  * managedPolicyArns: [unityMetastore.arn],
106
106
  * });
107
107
  * ```
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
34
34
  * });
35
35
  * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
36
36
  * name: `${prefix}-uc-access`,
37
- * assumeRolePolicy: thisAwsIamPolicyDocument.json,
37
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
38
38
  * managedPolicyArns: [unityMetastore.arn],
39
39
  * });
40
40
  * ```
@@ -78,7 +78,7 @@ exports.getAwsUnityCatalogPolicy = getAwsUnityCatalogPolicy;
78
78
  * });
79
79
  * const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
80
80
  * name: `${prefix}-uc-access`,
81
- * assumeRolePolicy: thisAwsIamPolicyDocument.json,
81
+ * assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
82
82
  * managedPolicyArns: [unityMetastore.arn],
83
83
  * });
84
84
  * ```
package/getCluster.d.ts CHANGED
@@ -15,9 +15,9 @@ import * as outputs from "./types/output";
15
15
  * import * as databricks from "@pulumi/databricks";
16
16
  *
17
17
  * const all = databricks.getClusters({});
18
- * const allGetCluster = .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
18
+ * const allGetCluster = all.then(all => .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
19
19
  * clusterId: __value,
20
- * }) }));
20
+ * }) })));
21
21
  * ```
22
22
  *
23
23
  * ## Related Resources
@@ -86,9 +86,9 @@ export interface GetClusterResult {
86
86
  * import * as databricks from "@pulumi/databricks";
87
87
  *
88
88
  * const all = databricks.getClusters({});
89
- * const allGetCluster = .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
89
+ * const allGetCluster = all.then(all => .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
90
90
  * clusterId: __value,
91
- * }) }));
91
+ * }) })));
92
92
  * ```
93
93
  *
94
94
  * ## Related Resources
package/getCluster.js CHANGED
@@ -19,9 +19,9 @@ const utilities = require("./utilities");
19
19
  * import * as databricks from "@pulumi/databricks";
20
20
  *
21
21
  * const all = databricks.getClusters({});
22
- * const allGetCluster = .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
22
+ * const allGetCluster = all.then(all => .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
23
23
  * clusterId: __value,
24
- * }) }));
24
+ * }) })));
25
25
  * ```
26
26
  *
27
27
  * ## Related Resources
@@ -61,9 +61,9 @@ exports.getCluster = getCluster;
61
61
  * import * as databricks from "@pulumi/databricks";
62
62
  *
63
63
  * const all = databricks.getClusters({});
64
- * const allGetCluster = .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
64
+ * const allGetCluster = all.then(all => .reduce((__obj, [, ]) => ({ ...__obj, [__key]: databricks.getCluster({
65
65
  * clusterId: __value,
66
- * }) }));
66
+ * }) })));
67
67
  * ```
68
68
  *
69
69
  * ## Related Resources
@@ -17,7 +17,7 @@ import * as outputs from "./types/output";
17
17
  * const pool = databricks.getInstancePool({
18
18
  * name: "All spot",
19
19
  * });
20
- * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: poolDatabricksInstancePool.id});
20
+ * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: pool.then(pool => pool.id)});
21
21
  * ```
22
22
  */
23
23
  export declare function getInstancePool(args: GetInstancePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetInstancePoolResult>;
@@ -64,7 +64,7 @@ export interface GetInstancePoolResult {
64
64
  * const pool = databricks.getInstancePool({
65
65
  * name: "All spot",
66
66
  * });
67
- * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: poolDatabricksInstancePool.id});
67
+ * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: pool.then(pool => pool.id)});
68
68
  * ```
69
69
  */
70
70
  export declare function getInstancePoolOutput(args: GetInstancePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstancePoolResult>;
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
21
21
  * const pool = databricks.getInstancePool({
22
22
  * name: "All spot",
23
23
  * });
24
- * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: poolDatabricksInstancePool.id});
24
+ * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: pool.then(pool => pool.id)});
25
25
  * ```
26
26
  */
27
27
  function getInstancePool(args, opts) {
@@ -48,7 +48,7 @@ exports.getInstancePool = getInstancePool;
48
48
  * const pool = databricks.getInstancePool({
49
49
  * name: "All spot",
50
50
  * });
51
- * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: poolDatabricksInstancePool.id});
51
+ * const myCluster = new databricks.Cluster("my_cluster", {instancePoolId: pool.then(pool => pool.id)});
52
52
  * ```
53
53
  */
54
54
  function getInstancePoolOutput(args, opts) {
package/getMetastore.d.ts CHANGED
@@ -14,11 +14,16 @@ import * as outputs from "./types/output";
14
14
  *
15
15
  * ```typescript
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
17
18
  * import * as databricks from "@pulumi/databricks";
18
19
  *
20
+ * const metastore = new aws.s3.BucketV2("metastore", {
21
+ * bucket: `${prefix}-metastore`,
22
+ * forceDestroy: true,
23
+ * });
19
24
  * const thisMetastore = new databricks.Metastore("this", {
20
25
  * name: "primary",
21
- * storageRoot: `s3://${metastore.id}/metastore`,
26
+ * storageRoot: pulumi.interpolate`s3://${metastore.id}/metastore`,
22
27
  * owner: unityAdminGroup,
23
28
  * forceDestroy: true,
24
29
  * });
@@ -94,11 +99,16 @@ export interface GetMetastoreResult {
94
99
  *
95
100
  * ```typescript
96
101
  * import * as pulumi from "@pulumi/pulumi";
102
+ * import * as aws from "@pulumi/aws";
97
103
  * import * as databricks from "@pulumi/databricks";
98
104
  *
105
+ * const metastore = new aws.s3.BucketV2("metastore", {
106
+ * bucket: `${prefix}-metastore`,
107
+ * forceDestroy: true,
108
+ * });
99
109
  * const thisMetastore = new databricks.Metastore("this", {
100
110
  * name: "primary",
101
- * storageRoot: `s3://${metastore.id}/metastore`,
111
+ * storageRoot: pulumi.interpolate`s3://${metastore.id}/metastore`,
102
112
  * owner: unityAdminGroup,
103
113
  * forceDestroy: true,
104
114
  * });
package/getMetastore.js CHANGED
@@ -18,11 +18,16 @@ const utilities = require("./utilities");
18
18
  *
19
19
  * ```typescript
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as aws from "@pulumi/aws";
21
22
  * import * as databricks from "@pulumi/databricks";
22
23
  *
24
+ * const metastore = new aws.s3.BucketV2("metastore", {
25
+ * bucket: `${prefix}-metastore`,
26
+ * forceDestroy: true,
27
+ * });
23
28
  * const thisMetastore = new databricks.Metastore("this", {
24
29
  * name: "primary",
25
- * storageRoot: `s3://${metastore.id}/metastore`,
30
+ * storageRoot: pulumi.interpolate`s3://${metastore.id}/metastore`,
26
31
  * owner: unityAdminGroup,
27
32
  * forceDestroy: true,
28
33
  * });
@@ -65,11 +70,16 @@ exports.getMetastore = getMetastore;
65
70
  *
66
71
  * ```typescript
67
72
  * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as aws from "@pulumi/aws";
68
74
  * import * as databricks from "@pulumi/databricks";
69
75
  *
76
+ * const metastore = new aws.s3.BucketV2("metastore", {
77
+ * bucket: `${prefix}-metastore`,
78
+ * forceDestroy: true,
79
+ * });
70
80
  * const thisMetastore = new databricks.Metastore("this", {
71
81
  * name: "primary",
72
- * storageRoot: `s3://${metastore.id}/metastore`,
82
+ * storageRoot: pulumi.interpolate`s3://${metastore.id}/metastore`,
73
83
  * owner: unityAdminGroup,
74
84
  * forceDestroy: true,
75
85
  * });
@@ -1 +1 @@
1
- {"version":3,"file":"getMetastore.js","sourceRoot":"","sources":["../getMetastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa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,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,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,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC"}
@@ -0,0 +1,132 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * This data source allows you to retrieve information about [Notification Destinations](https://docs.databricks.com/api/workspace/notificationdestinations). Notification Destinations are used to send notifications for query alerts and jobs to external systems such as email, Slack, Microsoft Teams, PagerDuty, or generic webhooks.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as databricks from "@pulumi/databricks";
12
+ *
13
+ * const email = new databricks.NotificationDestination("email", {
14
+ * displayName: "Email Destination",
15
+ * config: {
16
+ * email: {
17
+ * addresses: ["abc@gmail.com"],
18
+ * },
19
+ * },
20
+ * });
21
+ * const slack = new databricks.NotificationDestination("slack", {
22
+ * displayName: "Slack Destination",
23
+ * config: {
24
+ * slack: {
25
+ * url: "https://hooks.slack.com/services/...",
26
+ * },
27
+ * },
28
+ * });
29
+ * // Lists all notification desitnations
30
+ * const this = databricks.getNotificationDestinations({});
31
+ * // List destinations of specific type and name
32
+ * const filteredNotification = databricks.getNotificationDestinations({
33
+ * displayNameContains: "Destination",
34
+ * type: "EMAIL",
35
+ * });
36
+ * ```
37
+ */
38
+ export declare function getNotificationDestinations(args?: GetNotificationDestinationsArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationDestinationsResult>;
39
+ /**
40
+ * A collection of arguments for invoking getNotificationDestinations.
41
+ */
42
+ export interface GetNotificationDestinationsArgs {
43
+ /**
44
+ * A **case-insensitive** substring to filter Notification Destinations by their display name.
45
+ */
46
+ displayNameContains?: string;
47
+ /**
48
+ * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes:
49
+ */
50
+ notificationDestinations?: inputs.GetNotificationDestinationsNotificationDestination[];
51
+ /**
52
+ * The type of the Notification Destination to filter by. Valid values are:
53
+ * * `EMAIL` - Filters Notification Destinations of type Email.
54
+ * * `MICROSOFT_TEAMS` - Filters Notification Destinations of type Microsoft Teams.
55
+ * * `PAGERDUTY` - Filters Notification Destinations of type PagerDuty.
56
+ * * `SLACK` - Filters Notification Destinations of type Slack.
57
+ * * `WEBHOOK` - Filters Notification Destinations of type Webhook.
58
+ */
59
+ type?: string;
60
+ }
61
+ /**
62
+ * A collection of values returned by getNotificationDestinations.
63
+ */
64
+ export interface GetNotificationDestinationsResult {
65
+ readonly displayNameContains?: string;
66
+ /**
67
+ * The provider-assigned unique ID for this managed resource.
68
+ */
69
+ readonly id: string;
70
+ /**
71
+ * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes:
72
+ */
73
+ readonly notificationDestinations?: outputs.GetNotificationDestinationsNotificationDestination[];
74
+ readonly type?: string;
75
+ }
76
+ /**
77
+ * This data source allows you to retrieve information about [Notification Destinations](https://docs.databricks.com/api/workspace/notificationdestinations). Notification Destinations are used to send notifications for query alerts and jobs to external systems such as email, Slack, Microsoft Teams, PagerDuty, or generic webhooks.
78
+ *
79
+ * ## Example Usage
80
+ *
81
+ * ```typescript
82
+ * import * as pulumi from "@pulumi/pulumi";
83
+ * import * as databricks from "@pulumi/databricks";
84
+ *
85
+ * const email = new databricks.NotificationDestination("email", {
86
+ * displayName: "Email Destination",
87
+ * config: {
88
+ * email: {
89
+ * addresses: ["abc@gmail.com"],
90
+ * },
91
+ * },
92
+ * });
93
+ * const slack = new databricks.NotificationDestination("slack", {
94
+ * displayName: "Slack Destination",
95
+ * config: {
96
+ * slack: {
97
+ * url: "https://hooks.slack.com/services/...",
98
+ * },
99
+ * },
100
+ * });
101
+ * // Lists all notification desitnations
102
+ * const this = databricks.getNotificationDestinations({});
103
+ * // List destinations of specific type and name
104
+ * const filteredNotification = databricks.getNotificationDestinations({
105
+ * displayNameContains: "Destination",
106
+ * type: "EMAIL",
107
+ * });
108
+ * ```
109
+ */
110
+ export declare function getNotificationDestinationsOutput(args?: GetNotificationDestinationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNotificationDestinationsResult>;
111
+ /**
112
+ * A collection of arguments for invoking getNotificationDestinations.
113
+ */
114
+ export interface GetNotificationDestinationsOutputArgs {
115
+ /**
116
+ * A **case-insensitive** substring to filter Notification Destinations by their display name.
117
+ */
118
+ displayNameContains?: pulumi.Input<string>;
119
+ /**
120
+ * A list of Notification Destinations matching the specified criteria. Each element contains the following attributes:
121
+ */
122
+ notificationDestinations?: pulumi.Input<pulumi.Input<inputs.GetNotificationDestinationsNotificationDestinationArgs>[]>;
123
+ /**
124
+ * The type of the Notification Destination to filter by. Valid values are:
125
+ * * `EMAIL` - Filters Notification Destinations of type Email.
126
+ * * `MICROSOFT_TEAMS` - Filters Notification Destinations of type Microsoft Teams.
127
+ * * `PAGERDUTY` - Filters Notification Destinations of type PagerDuty.
128
+ * * `SLACK` - Filters Notification Destinations of type Slack.
129
+ * * `WEBHOOK` - Filters Notification Destinations of type Webhook.
130
+ */
131
+ type?: pulumi.Input<string>;
132
+ }
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getNotificationDestinationsOutput = exports.getNotificationDestinations = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source allows you to retrieve information about [Notification Destinations](https://docs.databricks.com/api/workspace/notificationdestinations). Notification Destinations are used to send notifications for query alerts and jobs to external systems such as email, Slack, Microsoft Teams, PagerDuty, or generic webhooks.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const email = new databricks.NotificationDestination("email", {
18
+ * displayName: "Email Destination",
19
+ * config: {
20
+ * email: {
21
+ * addresses: ["abc@gmail.com"],
22
+ * },
23
+ * },
24
+ * });
25
+ * const slack = new databricks.NotificationDestination("slack", {
26
+ * displayName: "Slack Destination",
27
+ * config: {
28
+ * slack: {
29
+ * url: "https://hooks.slack.com/services/...",
30
+ * },
31
+ * },
32
+ * });
33
+ * // Lists all notification desitnations
34
+ * const this = databricks.getNotificationDestinations({});
35
+ * // List destinations of specific type and name
36
+ * const filteredNotification = databricks.getNotificationDestinations({
37
+ * displayNameContains: "Destination",
38
+ * type: "EMAIL",
39
+ * });
40
+ * ```
41
+ */
42
+ function getNotificationDestinations(args, opts) {
43
+ args = args || {};
44
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
45
+ return pulumi.runtime.invoke("databricks:index/getNotificationDestinations:getNotificationDestinations", {
46
+ "displayNameContains": args.displayNameContains,
47
+ "notificationDestinations": args.notificationDestinations,
48
+ "type": args.type,
49
+ }, opts);
50
+ }
51
+ exports.getNotificationDestinations = getNotificationDestinations;
52
+ /**
53
+ * This data source allows you to retrieve information about [Notification Destinations](https://docs.databricks.com/api/workspace/notificationdestinations). Notification Destinations are used to send notifications for query alerts and jobs to external systems such as email, Slack, Microsoft Teams, PagerDuty, or generic webhooks.
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as databricks from "@pulumi/databricks";
60
+ *
61
+ * const email = new databricks.NotificationDestination("email", {
62
+ * displayName: "Email Destination",
63
+ * config: {
64
+ * email: {
65
+ * addresses: ["abc@gmail.com"],
66
+ * },
67
+ * },
68
+ * });
69
+ * const slack = new databricks.NotificationDestination("slack", {
70
+ * displayName: "Slack Destination",
71
+ * config: {
72
+ * slack: {
73
+ * url: "https://hooks.slack.com/services/...",
74
+ * },
75
+ * },
76
+ * });
77
+ * // Lists all notification desitnations
78
+ * const this = databricks.getNotificationDestinations({});
79
+ * // List destinations of specific type and name
80
+ * const filteredNotification = databricks.getNotificationDestinations({
81
+ * displayNameContains: "Destination",
82
+ * type: "EMAIL",
83
+ * });
84
+ * ```
85
+ */
86
+ function getNotificationDestinationsOutput(args, opts) {
87
+ args = args || {};
88
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
89
+ return pulumi.runtime.invokeOutput("databricks:index/getNotificationDestinations:getNotificationDestinations", {
90
+ "displayNameContains": args.displayNameContains,
91
+ "notificationDestinations": args.notificationDestinations,
92
+ "type": args.type,
93
+ }, opts);
94
+ }
95
+ exports.getNotificationDestinationsOutput = getNotificationDestinationsOutput;
96
+ //# sourceMappingURL=getNotificationDestinations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNotificationDestinations.js","sourceRoot":"","sources":["../getNotificationDestinations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,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,0EAA0E,EAAE;QACrG,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kEAQC;AAwCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,iCAAiC,CAAC,IAA4C,EAAE,IAA2B;IACvH,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,0EAA0E,EAAE;QAC3G,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8EAQC"}