@pulumi/databricks 1.72.0-alpha.1750225669 → 1.72.0-alpha.1752500848

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 (84) hide show
  1. package/accountNetworkPolicy.d.ts +2 -2
  2. package/accountNetworkPolicy.js +2 -2
  3. package/alertV2.d.ts +10 -4
  4. package/alertV2.js +8 -2
  5. package/alertV2.js.map +1 -1
  6. package/budgetPolicy.d.ts +2 -2
  7. package/budgetPolicy.js +2 -2
  8. package/cluster.d.ts +6 -0
  9. package/cluster.js +4 -0
  10. package/cluster.js.map +1 -1
  11. package/connection.d.ts +24 -29
  12. package/connection.js +3 -17
  13. package/connection.js.map +1 -1
  14. package/databaseInstance.d.ts +33 -31
  15. package/databaseInstance.js +18 -6
  16. package/databaseInstance.js.map +1 -1
  17. package/entitlements.d.ts +3 -3
  18. package/getAlertV2.d.ts +23 -1
  19. package/getAlertV2.js +22 -0
  20. package/getAlertV2.js.map +1 -1
  21. package/getAlertsV2.d.ts +38 -0
  22. package/getAlertsV2.js +38 -0
  23. package/getAlertsV2.js.map +1 -1
  24. package/getDatabaseInstance.d.ts +42 -28
  25. package/getDatabaseInstance.js +32 -4
  26. package/getDatabaseInstance.js.map +1 -1
  27. package/getDatabaseInstances.d.ts +32 -0
  28. package/getDatabaseInstances.js +32 -0
  29. package/getDatabaseInstances.js.map +1 -1
  30. package/getJobs.d.ts +63 -10
  31. package/getJobs.js +56 -10
  32. package/getJobs.js.map +1 -1
  33. package/getOnlineStore.d.ts +58 -0
  34. package/getOnlineStore.js +24 -0
  35. package/getOnlineStore.js.map +1 -0
  36. package/getOnlineStores.d.ts +14 -0
  37. package/getOnlineStores.js +18 -0
  38. package/getOnlineStores.js.map +1 -0
  39. package/getQualityMonitorV2.d.ts +95 -0
  40. package/getQualityMonitorV2.js +68 -0
  41. package/getQualityMonitorV2.js.map +1 -0
  42. package/getQualityMonitorsV2.d.ts +46 -0
  43. package/getQualityMonitorsV2.js +50 -0
  44. package/getQualityMonitorsV2.js.map +1 -0
  45. package/group.d.ts +3 -3
  46. package/index.d.ts +18 -0
  47. package/index.js +26 -4
  48. package/index.js.map +1 -1
  49. package/instancePool.d.ts +2 -0
  50. package/instancePool.js +2 -0
  51. package/instancePool.js.map +1 -1
  52. package/mwsNccPrivateEndpointRule.d.ts +91 -5
  53. package/mwsNccPrivateEndpointRule.js +37 -7
  54. package/mwsNccPrivateEndpointRule.js.map +1 -1
  55. package/mwsWorkspaces.d.ts +9 -9
  56. package/mwsWorkspaces.js +0 -6
  57. package/mwsWorkspaces.js.map +1 -1
  58. package/onlineStore.d.ts +105 -0
  59. package/onlineStore.js +78 -0
  60. package/onlineStore.js.map +1 -0
  61. package/package.json +2 -2
  62. package/pipeline.d.ts +21 -0
  63. package/pipeline.js +4 -0
  64. package/pipeline.js.map +1 -1
  65. package/qualityMonitorV2.d.ts +111 -0
  66. package/qualityMonitorV2.js +100 -0
  67. package/qualityMonitorV2.js.map +1 -0
  68. package/recipientFederationPolicy.d.ts +2 -2
  69. package/recipientFederationPolicy.js +2 -2
  70. package/schema.d.ts +8 -0
  71. package/schema.js +2 -0
  72. package/schema.js.map +1 -1
  73. package/servicePrincipal.d.ts +3 -3
  74. package/servicePrincipalRole.d.ts +19 -3
  75. package/servicePrincipalRole.js +16 -0
  76. package/servicePrincipalRole.js.map +1 -1
  77. package/servicePrincipalSecret.d.ts +29 -3
  78. package/servicePrincipalSecret.js +16 -0
  79. package/servicePrincipalSecret.js.map +1 -1
  80. package/types/input.d.ts +238 -51
  81. package/types/output.d.ts +284 -70
  82. package/user.d.ts +3 -3
  83. package/workspaceNetworkOption.d.ts +2 -2
  84. package/workspaceNetworkOption.js +2 -2
package/getJobs.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * > This data source can only be used with a workspace-level provider!
6
6
  *
7
- * > Data resource will error in case of jobs with duplicate names.
7
+ * > By default, this data resource will error in case of jobs with duplicate names. To support duplicate names, set `key = "id"` to map jobs by ID.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -16,9 +16,6 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  *
17
17
  * export = async () => {
18
18
  * const _this = await databricks.getJobs({});
19
- * const tests = await databricks.getJobs({
20
- * jobNameContains: "test",
21
- * });
22
19
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
23
20
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
24
21
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -38,10 +35,35 @@ import * as pulumi from "@pulumi/pulumi";
38
35
  * import * as pulumi from "@pulumi/pulumi";
39
36
  * import * as databricks from "@pulumi/databricks";
40
37
  *
41
- * const _this = databricks.getJobs({});
38
+ * const _this = databricks.getJobs({
39
+ * jobNameContains: "test",
40
+ * });
42
41
  * export const x = _this.then(_this => `ID of `x` job is ${_this.ids?.x}`);
43
42
  * ```
44
43
  *
44
+ * Getting IDs of databricks.Job mapped by ID, allowing duplicate job names:
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as databricks from "@pulumi/databricks";
49
+ *
50
+ * export = async () => {
51
+ * const _this = await databricks.getJobs({
52
+ * key: "id",
53
+ * });
54
+ * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
55
+ * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
56
+ * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
57
+ * jobId: range.value,
58
+ * accessControls: [{
59
+ * groupName: "users",
60
+ * permissionLevel: "CAN_VIEW",
61
+ * }],
62
+ * }));
63
+ * }
64
+ * }
65
+ * ```
66
+ *
45
67
  * ## Related Resources
46
68
  *
47
69
  * The following resources are used in the same context:
@@ -63,6 +85,10 @@ export interface GetJobsArgs {
63
85
  * Only return databricks.Job ids that match the given name string (case-insensitive).
64
86
  */
65
87
  jobNameContains?: string;
88
+ /**
89
+ * Attribute to use for keys in the returned map of databricks.Job ids by. Possible values are `name` (default) or `id`. Setting to `id` uses the job ID as the map key, allowing duplicate job names.
90
+ */
91
+ key?: string;
66
92
  }
67
93
  /**
68
94
  * A collection of values returned by getJobs.
@@ -79,13 +105,14 @@ export interface GetJobsResult {
79
105
  [key: string]: string;
80
106
  };
81
107
  readonly jobNameContains?: string;
108
+ readonly key?: string;
82
109
  }
83
110
  /**
84
111
  * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
85
112
  *
86
113
  * > This data source can only be used with a workspace-level provider!
87
114
  *
88
- * > Data resource will error in case of jobs with duplicate names.
115
+ * > By default, this data resource will error in case of jobs with duplicate names. To support duplicate names, set `key = "id"` to map jobs by ID.
89
116
  *
90
117
  * ## Example Usage
91
118
  *
@@ -97,9 +124,6 @@ export interface GetJobsResult {
97
124
  *
98
125
  * export = async () => {
99
126
  * const _this = await databricks.getJobs({});
100
- * const tests = await databricks.getJobs({
101
- * jobNameContains: "test",
102
- * });
103
127
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
104
128
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
105
129
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -119,10 +143,35 @@ export interface GetJobsResult {
119
143
  * import * as pulumi from "@pulumi/pulumi";
120
144
  * import * as databricks from "@pulumi/databricks";
121
145
  *
122
- * const _this = databricks.getJobs({});
146
+ * const _this = databricks.getJobs({
147
+ * jobNameContains: "test",
148
+ * });
123
149
  * export const x = _this.then(_this => `ID of `x` job is ${_this.ids?.x}`);
124
150
  * ```
125
151
  *
152
+ * Getting IDs of databricks.Job mapped by ID, allowing duplicate job names:
153
+ *
154
+ * ```typescript
155
+ * import * as pulumi from "@pulumi/pulumi";
156
+ * import * as databricks from "@pulumi/databricks";
157
+ *
158
+ * export = async () => {
159
+ * const _this = await databricks.getJobs({
160
+ * key: "id",
161
+ * });
162
+ * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
163
+ * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
164
+ * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
165
+ * jobId: range.value,
166
+ * accessControls: [{
167
+ * groupName: "users",
168
+ * permissionLevel: "CAN_VIEW",
169
+ * }],
170
+ * }));
171
+ * }
172
+ * }
173
+ * ```
174
+ *
126
175
  * ## Related Resources
127
176
  *
128
177
  * The following resources are used in the same context:
@@ -144,4 +193,8 @@ export interface GetJobsOutputArgs {
144
193
  * Only return databricks.Job ids that match the given name string (case-insensitive).
145
194
  */
146
195
  jobNameContains?: pulumi.Input<string>;
196
+ /**
197
+ * Attribute to use for keys in the returned map of databricks.Job ids by. Possible values are `name` (default) or `id`. Setting to `id` uses the job ID as the map key, allowing duplicate job names.
198
+ */
199
+ key?: pulumi.Input<string>;
147
200
  }
package/getJobs.js CHANGED
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * > This data source can only be used with a workspace-level provider!
12
12
  *
13
- * > Data resource will error in case of jobs with duplicate names.
13
+ * > By default, this data resource will error in case of jobs with duplicate names. To support duplicate names, set `key = "id"` to map jobs by ID.
14
14
  *
15
15
  * ## Example Usage
16
16
  *
@@ -22,9 +22,6 @@ const utilities = require("./utilities");
22
22
  *
23
23
  * export = async () => {
24
24
  * const _this = await databricks.getJobs({});
25
- * const tests = await databricks.getJobs({
26
- * jobNameContains: "test",
27
- * });
28
25
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
29
26
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
30
27
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -44,10 +41,35 @@ const utilities = require("./utilities");
44
41
  * import * as pulumi from "@pulumi/pulumi";
45
42
  * import * as databricks from "@pulumi/databricks";
46
43
  *
47
- * const _this = databricks.getJobs({});
44
+ * const _this = databricks.getJobs({
45
+ * jobNameContains: "test",
46
+ * });
48
47
  * export const x = _this.then(_this => `ID of `x` job is ${_this.ids?.x}`);
49
48
  * ```
50
49
  *
50
+ * Getting IDs of databricks.Job mapped by ID, allowing duplicate job names:
51
+ *
52
+ * ```typescript
53
+ * import * as pulumi from "@pulumi/pulumi";
54
+ * import * as databricks from "@pulumi/databricks";
55
+ *
56
+ * export = async () => {
57
+ * const _this = await databricks.getJobs({
58
+ * key: "id",
59
+ * });
60
+ * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
61
+ * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
62
+ * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
63
+ * jobId: range.value,
64
+ * accessControls: [{
65
+ * groupName: "users",
66
+ * permissionLevel: "CAN_VIEW",
67
+ * }],
68
+ * }));
69
+ * }
70
+ * }
71
+ * ```
72
+ *
51
73
  * ## Related Resources
52
74
  *
53
75
  * The following resources are used in the same context:
@@ -60,6 +82,7 @@ function getJobs(args, opts) {
60
82
  return pulumi.runtime.invoke("databricks:index/getJobs:getJobs", {
61
83
  "ids": args.ids,
62
84
  "jobNameContains": args.jobNameContains,
85
+ "key": args.key,
63
86
  }, opts);
64
87
  }
65
88
  exports.getJobs = getJobs;
@@ -68,7 +91,7 @@ exports.getJobs = getJobs;
68
91
  *
69
92
  * > This data source can only be used with a workspace-level provider!
70
93
  *
71
- * > Data resource will error in case of jobs with duplicate names.
94
+ * > By default, this data resource will error in case of jobs with duplicate names. To support duplicate names, set `key = "id"` to map jobs by ID.
72
95
  *
73
96
  * ## Example Usage
74
97
  *
@@ -80,9 +103,6 @@ exports.getJobs = getJobs;
80
103
  *
81
104
  * export = async () => {
82
105
  * const _this = await databricks.getJobs({});
83
- * const tests = await databricks.getJobs({
84
- * jobNameContains: "test",
85
- * });
86
106
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
87
107
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
88
108
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -102,10 +122,35 @@ exports.getJobs = getJobs;
102
122
  * import * as pulumi from "@pulumi/pulumi";
103
123
  * import * as databricks from "@pulumi/databricks";
104
124
  *
105
- * const _this = databricks.getJobs({});
125
+ * const _this = databricks.getJobs({
126
+ * jobNameContains: "test",
127
+ * });
106
128
  * export const x = _this.then(_this => `ID of `x` job is ${_this.ids?.x}`);
107
129
  * ```
108
130
  *
131
+ * Getting IDs of databricks.Job mapped by ID, allowing duplicate job names:
132
+ *
133
+ * ```typescript
134
+ * import * as pulumi from "@pulumi/pulumi";
135
+ * import * as databricks from "@pulumi/databricks";
136
+ *
137
+ * export = async () => {
138
+ * const _this = await databricks.getJobs({
139
+ * key: "id",
140
+ * });
141
+ * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
142
+ * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
143
+ * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
144
+ * jobId: range.value,
145
+ * accessControls: [{
146
+ * groupName: "users",
147
+ * permissionLevel: "CAN_VIEW",
148
+ * }],
149
+ * }));
150
+ * }
151
+ * }
152
+ * ```
153
+ *
109
154
  * ## Related Resources
110
155
  *
111
156
  * The following resources are used in the same context:
@@ -118,6 +163,7 @@ function getJobsOutput(args, opts) {
118
163
  return pulumi.runtime.invokeOutput("databricks:index/getJobs:getJobs", {
119
164
  "ids": args.ids,
120
165
  "jobNameContains": args.jobNameContains,
166
+ "key": args.key,
121
167
  }, opts);
122
168
  }
123
169
  exports.getJobsOutput = getJobsOutput;
package/getJobs.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getJobs.js","sourceRoot":"","sources":["../getJobs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,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,kCAAkC,EAAE;QAC7D,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,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,kCAAkC,EAAE;QACnE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC"}
1
+ {"version":3,"file":"getJobs.js","sourceRoot":"","sources":["../getJobs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,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,kCAAkC,EAAE;QAC7D,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,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,kCAAkC,EAAE;QACnE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC"}
@@ -0,0 +1,58 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getOnlineStore(args: GetOnlineStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetOnlineStoreResult>;
3
+ /**
4
+ * A collection of arguments for invoking getOnlineStore.
5
+ */
6
+ export interface GetOnlineStoreArgs {
7
+ /**
8
+ * (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
9
+ */
10
+ capacity?: string;
11
+ /**
12
+ * The name of the online store. This is the unique identifier for the online store
13
+ */
14
+ name: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getOnlineStore.
18
+ */
19
+ export interface GetOnlineStoreResult {
20
+ /**
21
+ * (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
22
+ */
23
+ readonly capacity?: string;
24
+ /**
25
+ * (string) - The timestamp when the online store was created
26
+ */
27
+ readonly creationTime: string;
28
+ /**
29
+ * (string) - The email of the creator of the online store
30
+ */
31
+ readonly creator: string;
32
+ /**
33
+ * The provider-assigned unique ID for this managed resource.
34
+ */
35
+ readonly id: string;
36
+ /**
37
+ * (string) - The name of the online store. This is the unique identifier for the online store
38
+ */
39
+ readonly name: string;
40
+ /**
41
+ * (string) - The current state of the online store. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
42
+ */
43
+ readonly state: string;
44
+ }
45
+ export declare function getOnlineStoreOutput(args: GetOnlineStoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOnlineStoreResult>;
46
+ /**
47
+ * A collection of arguments for invoking getOnlineStore.
48
+ */
49
+ export interface GetOnlineStoreOutputArgs {
50
+ /**
51
+ * (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
52
+ */
53
+ capacity?: pulumi.Input<string>;
54
+ /**
55
+ * The name of the online store. This is the unique identifier for the online store
56
+ */
57
+ name: pulumi.Input<string>;
58
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getOnlineStoreOutput = exports.getOnlineStore = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getOnlineStore(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("databricks:index/getOnlineStore:getOnlineStore", {
11
+ "capacity": args.capacity,
12
+ "name": args.name,
13
+ }, opts);
14
+ }
15
+ exports.getOnlineStore = getOnlineStore;
16
+ function getOnlineStoreOutput(args, opts) {
17
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
18
+ return pulumi.runtime.invokeOutput("databricks:index/getOnlineStore:getOnlineStore", {
19
+ "capacity": args.capacity,
20
+ "name": args.name,
21
+ }, opts);
22
+ }
23
+ exports.getOnlineStoreOutput = getOnlineStoreOutput;
24
+ //# sourceMappingURL=getOnlineStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOnlineStore.js","sourceRoot":"","sources":["../getOnlineStore.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA6CD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
@@ -0,0 +1,14 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getOnlineStores(opts?: pulumi.InvokeOptions): Promise<GetOnlineStoresResult>;
4
+ /**
5
+ * A collection of values returned by getOnlineStores.
6
+ */
7
+ export interface GetOnlineStoresResult {
8
+ /**
9
+ * The provider-assigned unique ID for this managed resource.
10
+ */
11
+ readonly id: string;
12
+ readonly onlineStores: outputs.GetOnlineStoresOnlineStore[];
13
+ }
14
+ export declare function getOnlineStoresOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOnlineStoresResult>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getOnlineStoresOutput = exports.getOnlineStores = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getOnlineStores(opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("databricks:index/getOnlineStores:getOnlineStores", {}, opts);
11
+ }
12
+ exports.getOnlineStores = getOnlineStores;
13
+ function getOnlineStoresOutput(opts) {
14
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
15
+ return pulumi.runtime.invokeOutput("databricks:index/getOnlineStores:getOnlineStores", {}, opts);
16
+ }
17
+ exports.getOnlineStoresOutput = getOnlineStoresOutput;
18
+ //# sourceMappingURL=getOnlineStores.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOnlineStores.js","sourceRoot":"","sources":["../getOnlineStores.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AAYD,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
@@ -0,0 +1,95 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * This data source can be used to fetch a quality monitors v2.
5
+ *
6
+ * > **Note** This data source can only be used with an workspace-level provider!
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Referring to a quality monitor by uc object type (currently only support `schema`) and object id:
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as databricks from "@pulumi/databricks";
15
+ *
16
+ * const _this = databricks.getSchema({
17
+ * name: "my_catalog.my_schema",
18
+ * });
19
+ * const thisGetQualityMonitorV2 = _this.then(_this => databricks.getQualityMonitorV2({
20
+ * objectType: "schema",
21
+ * objectId: _this.schemaInfo?.schemaId,
22
+ * }));
23
+ * ```
24
+ */
25
+ export declare function getQualityMonitorV2(args: GetQualityMonitorV2Args, opts?: pulumi.InvokeOptions): Promise<GetQualityMonitorV2Result>;
26
+ /**
27
+ * A collection of arguments for invoking getQualityMonitorV2.
28
+ */
29
+ export interface GetQualityMonitorV2Args {
30
+ /**
31
+ * The uuid of the request object. For example, schema id
32
+ */
33
+ objectId: string;
34
+ /**
35
+ * The type of the monitored object. Can be one of the following: schema
36
+ */
37
+ objectType: string;
38
+ }
39
+ /**
40
+ * A collection of values returned by getQualityMonitorV2.
41
+ */
42
+ export interface GetQualityMonitorV2Result {
43
+ /**
44
+ * (AnomalyDetectionConfig) -
45
+ */
46
+ readonly anomalyDetectionConfig: outputs.GetQualityMonitorV2AnomalyDetectionConfig;
47
+ /**
48
+ * The provider-assigned unique ID for this managed resource.
49
+ */
50
+ readonly id: string;
51
+ /**
52
+ * (string) - The uuid of the request object. For example, schema id
53
+ */
54
+ readonly objectId: string;
55
+ /**
56
+ * (string) - The type of the monitored object. Can be one of the following: schema
57
+ */
58
+ readonly objectType: string;
59
+ }
60
+ /**
61
+ * This data source can be used to fetch a quality monitors v2.
62
+ *
63
+ * > **Note** This data source can only be used with an workspace-level provider!
64
+ *
65
+ * ## Example Usage
66
+ *
67
+ * Referring to a quality monitor by uc object type (currently only support `schema`) and object id:
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as databricks from "@pulumi/databricks";
72
+ *
73
+ * const _this = databricks.getSchema({
74
+ * name: "my_catalog.my_schema",
75
+ * });
76
+ * const thisGetQualityMonitorV2 = _this.then(_this => databricks.getQualityMonitorV2({
77
+ * objectType: "schema",
78
+ * objectId: _this.schemaInfo?.schemaId,
79
+ * }));
80
+ * ```
81
+ */
82
+ export declare function getQualityMonitorV2Output(args: GetQualityMonitorV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQualityMonitorV2Result>;
83
+ /**
84
+ * A collection of arguments for invoking getQualityMonitorV2.
85
+ */
86
+ export interface GetQualityMonitorV2OutputArgs {
87
+ /**
88
+ * The uuid of the request object. For example, schema id
89
+ */
90
+ objectId: pulumi.Input<string>;
91
+ /**
92
+ * The type of the monitored object. Can be one of the following: schema
93
+ */
94
+ objectType: pulumi.Input<string>;
95
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getQualityMonitorV2Output = exports.getQualityMonitorV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source can be used to fetch a quality monitors v2.
10
+ *
11
+ * > **Note** This data source can only be used with an workspace-level provider!
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Referring to a quality monitor by uc object type (currently only support `schema`) and object id:
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const _this = databricks.getSchema({
22
+ * name: "my_catalog.my_schema",
23
+ * });
24
+ * const thisGetQualityMonitorV2 = _this.then(_this => databricks.getQualityMonitorV2({
25
+ * objectType: "schema",
26
+ * objectId: _this.schemaInfo?.schemaId,
27
+ * }));
28
+ * ```
29
+ */
30
+ function getQualityMonitorV2(args, opts) {
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invoke("databricks:index/getQualityMonitorV2:getQualityMonitorV2", {
33
+ "objectId": args.objectId,
34
+ "objectType": args.objectType,
35
+ }, opts);
36
+ }
37
+ exports.getQualityMonitorV2 = getQualityMonitorV2;
38
+ /**
39
+ * This data source can be used to fetch a quality monitors v2.
40
+ *
41
+ * > **Note** This data source can only be used with an workspace-level provider!
42
+ *
43
+ * ## Example Usage
44
+ *
45
+ * Referring to a quality monitor by uc object type (currently only support `schema`) and object id:
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as databricks from "@pulumi/databricks";
50
+ *
51
+ * const _this = databricks.getSchema({
52
+ * name: "my_catalog.my_schema",
53
+ * });
54
+ * const thisGetQualityMonitorV2 = _this.then(_this => databricks.getQualityMonitorV2({
55
+ * objectType: "schema",
56
+ * objectId: _this.schemaInfo?.schemaId,
57
+ * }));
58
+ * ```
59
+ */
60
+ function getQualityMonitorV2Output(args, opts) {
61
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
62
+ return pulumi.runtime.invokeOutput("databricks:index/getQualityMonitorV2:getQualityMonitorV2", {
63
+ "objectId": args.objectId,
64
+ "objectType": args.objectType,
65
+ }, opts);
66
+ }
67
+ exports.getQualityMonitorV2Output = getQualityMonitorV2Output;
68
+ //# sourceMappingURL=getQualityMonitorV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getQualityMonitorV2.js","sourceRoot":"","sources":["../getQualityMonitorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAqCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
@@ -0,0 +1,46 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * This data source can be used to fetch the list of quality monitors v2.
5
+ *
6
+ * > **Note** This data source can only be used with an workspace-level provider!
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Getting a list of all quality monitors:
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as databricks from "@pulumi/databricks";
15
+ *
16
+ * const all = databricks.getQualityMonitorsV2({});
17
+ * ```
18
+ */
19
+ export declare function getQualityMonitorsV2(opts?: pulumi.InvokeOptions): Promise<GetQualityMonitorsV2Result>;
20
+ /**
21
+ * A collection of values returned by getQualityMonitorsV2.
22
+ */
23
+ export interface GetQualityMonitorsV2Result {
24
+ /**
25
+ * The provider-assigned unique ID for this managed resource.
26
+ */
27
+ readonly id: string;
28
+ readonly qualityMonitors: outputs.GetQualityMonitorsV2QualityMonitor[];
29
+ }
30
+ /**
31
+ * This data source can be used to fetch the list of quality monitors v2.
32
+ *
33
+ * > **Note** This data source can only be used with an workspace-level provider!
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * Getting a list of all quality monitors:
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as databricks from "@pulumi/databricks";
42
+ *
43
+ * const all = databricks.getQualityMonitorsV2({});
44
+ * ```
45
+ */
46
+ export declare function getQualityMonitorsV2Output(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQualityMonitorsV2Result>;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getQualityMonitorsV2Output = exports.getQualityMonitorsV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source can be used to fetch the list of quality monitors v2.
10
+ *
11
+ * > **Note** This data source can only be used with an workspace-level provider!
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Getting a list of all quality monitors:
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const all = databricks.getQualityMonitorsV2({});
22
+ * ```
23
+ */
24
+ function getQualityMonitorsV2(opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("databricks:index/getQualityMonitorsV2:getQualityMonitorsV2", {}, opts);
27
+ }
28
+ exports.getQualityMonitorsV2 = getQualityMonitorsV2;
29
+ /**
30
+ * This data source can be used to fetch the list of quality monitors v2.
31
+ *
32
+ * > **Note** This data source can only be used with an workspace-level provider!
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * Getting a list of all quality monitors:
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as databricks from "@pulumi/databricks";
41
+ *
42
+ * const all = databricks.getQualityMonitorsV2({});
43
+ * ```
44
+ */
45
+ function getQualityMonitorsV2Output(opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("databricks:index/getQualityMonitorsV2:getQualityMonitorsV2", {}, opts);
48
+ }
49
+ exports.getQualityMonitorsV2Output = getQualityMonitorsV2Output;
50
+ //# sourceMappingURL=getQualityMonitorsV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getQualityMonitorsV2.js","sourceRoot":"","sources":["../getQualityMonitorsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE,EAC1F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC;AAYD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,0BAA0B,CAAC,IAAiC;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE,EAChG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC"}