@pulumi/databricks 1.72.0-alpha.1750139016 → 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.
- package/accountNetworkPolicy.d.ts +2 -2
- package/accountNetworkPolicy.js +2 -2
- package/alertV2.d.ts +10 -4
- package/alertV2.js +8 -2
- package/alertV2.js.map +1 -1
- package/budgetPolicy.d.ts +2 -2
- package/budgetPolicy.js +2 -2
- package/cluster.d.ts +6 -0
- package/cluster.js +4 -0
- package/cluster.js.map +1 -1
- package/connection.d.ts +24 -29
- package/connection.js +3 -17
- package/connection.js.map +1 -1
- package/databaseInstance.d.ts +33 -31
- package/databaseInstance.js +18 -6
- package/databaseInstance.js.map +1 -1
- package/entitlements.d.ts +3 -3
- package/getAlertV2.d.ts +23 -1
- package/getAlertV2.js +22 -0
- package/getAlertV2.js.map +1 -1
- package/getAlertsV2.d.ts +38 -0
- package/getAlertsV2.js +38 -0
- package/getAlertsV2.js.map +1 -1
- package/getDatabaseInstance.d.ts +42 -28
- package/getDatabaseInstance.js +32 -4
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabaseInstances.d.ts +32 -0
- package/getDatabaseInstances.js +32 -0
- package/getDatabaseInstances.js.map +1 -1
- package/getJobs.d.ts +63 -10
- package/getJobs.js +56 -10
- package/getJobs.js.map +1 -1
- package/getOnlineStore.d.ts +58 -0
- package/getOnlineStore.js +24 -0
- package/getOnlineStore.js.map +1 -0
- package/getOnlineStores.d.ts +14 -0
- package/getOnlineStores.js +18 -0
- package/getOnlineStores.js.map +1 -0
- package/getQualityMonitorV2.d.ts +95 -0
- package/getQualityMonitorV2.js +68 -0
- package/getQualityMonitorV2.js.map +1 -0
- package/getQualityMonitorsV2.d.ts +46 -0
- package/getQualityMonitorsV2.js +50 -0
- package/getQualityMonitorsV2.js.map +1 -0
- package/group.d.ts +3 -3
- package/index.d.ts +18 -0
- package/index.js +26 -4
- package/index.js.map +1 -1
- package/instancePool.d.ts +2 -0
- package/instancePool.js +2 -0
- package/instancePool.js.map +1 -1
- package/mwsNccPrivateEndpointRule.d.ts +91 -5
- package/mwsNccPrivateEndpointRule.js +37 -7
- package/mwsNccPrivateEndpointRule.js.map +1 -1
- package/mwsWorkspaces.d.ts +9 -9
- package/mwsWorkspaces.js +0 -6
- package/mwsWorkspaces.js.map +1 -1
- package/onlineStore.d.ts +105 -0
- package/onlineStore.js +78 -0
- package/onlineStore.js.map +1 -0
- package/package.json +2 -2
- package/pipeline.d.ts +21 -0
- package/pipeline.js +4 -0
- package/pipeline.js.map +1 -1
- package/qualityMonitorV2.d.ts +111 -0
- package/qualityMonitorV2.js +100 -0
- package/qualityMonitorV2.js.map +1 -0
- package/recipientFederationPolicy.d.ts +2 -2
- package/recipientFederationPolicy.js +2 -2
- package/schema.d.ts +8 -0
- package/schema.js +2 -0
- package/schema.js.map +1 -1
- package/servicePrincipal.d.ts +3 -3
- package/servicePrincipalRole.d.ts +19 -3
- package/servicePrincipalRole.js +16 -0
- package/servicePrincipalRole.js.map +1 -1
- package/servicePrincipalSecret.d.ts +29 -3
- package/servicePrincipalSecret.js +16 -0
- package/servicePrincipalSecret.js.map +1 -1
- package/types/input.d.ts +238 -51
- package/types/output.d.ts +284 -70
- package/user.d.ts +3 -3
- package/workspaceNetworkOption.d.ts +2 -2
- package/workspaceNetworkOption.js +2 -2
package/onlineStore.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
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.OnlineStore = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
|
+
*
|
|
13
|
+
* hcl
|
|
14
|
+
*
|
|
15
|
+
* import {
|
|
16
|
+
*
|
|
17
|
+
* id = name
|
|
18
|
+
*
|
|
19
|
+
* to = databricks_online_store.this
|
|
20
|
+
*
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import databricks:index/onlineStore:OnlineStore databricks_online_store name
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class OnlineStore extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing OnlineStore resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name, id, state, opts) {
|
|
40
|
+
return new OnlineStore(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of OnlineStore. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === OnlineStore.__pulumiType;
|
|
51
|
+
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["capacity"] = state ? state.capacity : undefined;
|
|
58
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
59
|
+
resourceInputs["creator"] = state ? state.creator : undefined;
|
|
60
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
61
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const args = argsOrState;
|
|
65
|
+
resourceInputs["capacity"] = args ? args.capacity : undefined;
|
|
66
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
67
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["creator"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(OnlineStore.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.OnlineStore = OnlineStore;
|
|
76
|
+
/** @internal */
|
|
77
|
+
OnlineStore.__pulumiType = 'databricks:index/onlineStore:OnlineStore';
|
|
78
|
+
//# sourceMappingURL=onlineStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onlineStore.js","sourceRoot":"","sources":["../onlineStore.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,G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,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA7EL,kCA8EC;AAhEG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.72.0-alpha.
|
|
3
|
+
"version": "1.72.0-alpha.1752500848",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "databricks",
|
|
27
|
-
"version": "1.72.0-alpha.
|
|
27
|
+
"version": "1.72.0-alpha.1752500848"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/pipeline.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
163
163
|
* optional name of the [product edition](https://docs.databricks.com/aws/en/dlt/configure-pipeline#choose-a-product-edition). Supported values are: `CORE`, `PRO`, `ADVANCED` (default). Not required when `serverless` is set to `true`.
|
|
164
164
|
*/
|
|
165
165
|
readonly edition: pulumi.Output<string | undefined>;
|
|
166
|
+
readonly environment: pulumi.Output<outputs.PipelineEnvironment | undefined>;
|
|
166
167
|
/**
|
|
167
168
|
* an optional block specifying a table where DLT Event Log will be stored. Consists of the following fields:
|
|
168
169
|
*/
|
|
@@ -213,6 +214,12 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
213
214
|
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.* (Conflicts with `catalog`).
|
|
214
215
|
*/
|
|
215
216
|
readonly storage: pulumi.Output<string | undefined>;
|
|
217
|
+
/**
|
|
218
|
+
* A map of tags associated with the pipeline. These are forwarded to the cluster as cluster tags, and are therefore subject to the same limitations. A maximum of 25 tags can be added to the pipeline.
|
|
219
|
+
*/
|
|
220
|
+
readonly tags: pulumi.Output<{
|
|
221
|
+
[key: string]: string;
|
|
222
|
+
} | undefined>;
|
|
216
223
|
/**
|
|
217
224
|
* The name of a database (in either the Hive metastore or in a UC catalog) for persisting pipeline output data. Configuring the target setting allows you to view and query the pipeline output data from the Databricks UI.
|
|
218
225
|
*/
|
|
@@ -280,6 +287,7 @@ export interface PipelineState {
|
|
|
280
287
|
* optional name of the [product edition](https://docs.databricks.com/aws/en/dlt/configure-pipeline#choose-a-product-edition). Supported values are: `CORE`, `PRO`, `ADVANCED` (default). Not required when `serverless` is set to `true`.
|
|
281
288
|
*/
|
|
282
289
|
edition?: pulumi.Input<string>;
|
|
290
|
+
environment?: pulumi.Input<inputs.PipelineEnvironment>;
|
|
283
291
|
/**
|
|
284
292
|
* an optional block specifying a table where DLT Event Log will be stored. Consists of the following fields:
|
|
285
293
|
*/
|
|
@@ -330,6 +338,12 @@ export interface PipelineState {
|
|
|
330
338
|
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.* (Conflicts with `catalog`).
|
|
331
339
|
*/
|
|
332
340
|
storage?: pulumi.Input<string>;
|
|
341
|
+
/**
|
|
342
|
+
* A map of tags associated with the pipeline. These are forwarded to the cluster as cluster tags, and are therefore subject to the same limitations. A maximum of 25 tags can be added to the pipeline.
|
|
343
|
+
*/
|
|
344
|
+
tags?: pulumi.Input<{
|
|
345
|
+
[key: string]: pulumi.Input<string>;
|
|
346
|
+
}>;
|
|
333
347
|
/**
|
|
334
348
|
* The name of a database (in either the Hive metastore or in a UC catalog) for persisting pipeline output data. Configuring the target setting allows you to view and query the pipeline output data from the Databricks UI.
|
|
335
349
|
*/
|
|
@@ -389,6 +403,7 @@ export interface PipelineArgs {
|
|
|
389
403
|
* optional name of the [product edition](https://docs.databricks.com/aws/en/dlt/configure-pipeline#choose-a-product-edition). Supported values are: `CORE`, `PRO`, `ADVANCED` (default). Not required when `serverless` is set to `true`.
|
|
390
404
|
*/
|
|
391
405
|
edition?: pulumi.Input<string>;
|
|
406
|
+
environment?: pulumi.Input<inputs.PipelineEnvironment>;
|
|
392
407
|
/**
|
|
393
408
|
* an optional block specifying a table where DLT Event Log will be stored. Consists of the following fields:
|
|
394
409
|
*/
|
|
@@ -439,6 +454,12 @@ export interface PipelineArgs {
|
|
|
439
454
|
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.* (Conflicts with `catalog`).
|
|
440
455
|
*/
|
|
441
456
|
storage?: pulumi.Input<string>;
|
|
457
|
+
/**
|
|
458
|
+
* A map of tags associated with the pipeline. These are forwarded to the cluster as cluster tags, and are therefore subject to the same limitations. A maximum of 25 tags can be added to the pipeline.
|
|
459
|
+
*/
|
|
460
|
+
tags?: pulumi.Input<{
|
|
461
|
+
[key: string]: pulumi.Input<string>;
|
|
462
|
+
}>;
|
|
442
463
|
/**
|
|
443
464
|
* The name of a database (in either the Hive metastore or in a UC catalog) for persisting pipeline output data. Configuring the target setting allows you to view and query the pipeline output data from the Databricks UI.
|
|
444
465
|
*/
|
package/pipeline.js
CHANGED
|
@@ -147,6 +147,7 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
147
147
|
resourceInputs["deployment"] = state ? state.deployment : undefined;
|
|
148
148
|
resourceInputs["development"] = state ? state.development : undefined;
|
|
149
149
|
resourceInputs["edition"] = state ? state.edition : undefined;
|
|
150
|
+
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
150
151
|
resourceInputs["eventLog"] = state ? state.eventLog : undefined;
|
|
151
152
|
resourceInputs["expectedLastModified"] = state ? state.expectedLastModified : undefined;
|
|
152
153
|
resourceInputs["filters"] = state ? state.filters : undefined;
|
|
@@ -167,6 +168,7 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
167
168
|
resourceInputs["serverless"] = state ? state.serverless : undefined;
|
|
168
169
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
169
170
|
resourceInputs["storage"] = state ? state.storage : undefined;
|
|
171
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
170
172
|
resourceInputs["target"] = state ? state.target : undefined;
|
|
171
173
|
resourceInputs["trigger"] = state ? state.trigger : undefined;
|
|
172
174
|
resourceInputs["url"] = state ? state.url : undefined;
|
|
@@ -186,6 +188,7 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
186
188
|
resourceInputs["deployment"] = args ? args.deployment : undefined;
|
|
187
189
|
resourceInputs["development"] = args ? args.development : undefined;
|
|
188
190
|
resourceInputs["edition"] = args ? args.edition : undefined;
|
|
191
|
+
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
189
192
|
resourceInputs["eventLog"] = args ? args.eventLog : undefined;
|
|
190
193
|
resourceInputs["expectedLastModified"] = args ? args.expectedLastModified : undefined;
|
|
191
194
|
resourceInputs["filters"] = args ? args.filters : undefined;
|
|
@@ -206,6 +209,7 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
206
209
|
resourceInputs["serverless"] = args ? args.serverless : undefined;
|
|
207
210
|
resourceInputs["state"] = args ? args.state : undefined;
|
|
208
211
|
resourceInputs["storage"] = args ? args.storage : undefined;
|
|
212
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
209
213
|
resourceInputs["target"] = args ? args.target : undefined;
|
|
210
214
|
resourceInputs["trigger"] = args ? args.trigger : undefined;
|
|
211
215
|
resourceInputs["url"] = args ? args.url : undefined;
|
package/pipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,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C;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAtOL,4BAuOC;AAzNG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
6
|
+
*
|
|
7
|
+
* > **Note** This resource can only be used with an workspace-level provider!
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as databricks from "@pulumi/databricks";
|
|
14
|
+
*
|
|
15
|
+
* const _this = new databricks.Schema("this", {
|
|
16
|
+
* catalogName: "my_catalog",
|
|
17
|
+
* name: "my_schema",
|
|
18
|
+
* });
|
|
19
|
+
* const thisQualityMonitorV2 = new databricks.QualityMonitorV2("this", {
|
|
20
|
+
* objectType: "schema",
|
|
21
|
+
* objectId: _this.schemaId,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
28
|
+
*
|
|
29
|
+
* hcl
|
|
30
|
+
*
|
|
31
|
+
* import {
|
|
32
|
+
*
|
|
33
|
+
* id = object_type,object_id
|
|
34
|
+
*
|
|
35
|
+
* to = databricks_quality_monitor_v2.this
|
|
36
|
+
*
|
|
37
|
+
* }
|
|
38
|
+
*
|
|
39
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 databricks_quality_monitor_v2 object_type,object_id
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class QualityMonitorV2 extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing QualityMonitorV2 resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QualityMonitorV2State, opts?: pulumi.CustomResourceOptions): QualityMonitorV2;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of QualityMonitorV2. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is QualityMonitorV2;
|
|
61
|
+
/**
|
|
62
|
+
* (AnomalyDetectionConfig) -
|
|
63
|
+
*/
|
|
64
|
+
readonly anomalyDetectionConfig: pulumi.Output<outputs.QualityMonitorV2AnomalyDetectionConfig>;
|
|
65
|
+
/**
|
|
66
|
+
* The uuid of the request object. For example, schema id
|
|
67
|
+
*/
|
|
68
|
+
readonly objectId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The type of the monitored object. Can be one of the following: schema
|
|
71
|
+
*/
|
|
72
|
+
readonly objectType: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a QualityMonitorV2 resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args: QualityMonitorV2Args, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering QualityMonitorV2 resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface QualityMonitorV2State {
|
|
86
|
+
/**
|
|
87
|
+
* (AnomalyDetectionConfig) -
|
|
88
|
+
*/
|
|
89
|
+
anomalyDetectionConfig?: pulumi.Input<inputs.QualityMonitorV2AnomalyDetectionConfig>;
|
|
90
|
+
/**
|
|
91
|
+
* The uuid of the request object. For example, schema id
|
|
92
|
+
*/
|
|
93
|
+
objectId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The type of the monitored object. Can be one of the following: schema
|
|
96
|
+
*/
|
|
97
|
+
objectType?: pulumi.Input<string>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a QualityMonitorV2 resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface QualityMonitorV2Args {
|
|
103
|
+
/**
|
|
104
|
+
* The uuid of the request object. For example, schema id
|
|
105
|
+
*/
|
|
106
|
+
objectId: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The type of the monitored object. Can be one of the following: schema
|
|
109
|
+
*/
|
|
110
|
+
objectType: pulumi.Input<string>;
|
|
111
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.QualityMonitorV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Users with MANAGE Schema can use quality monitor v2 to set up data quality monitoring checks for UC objects, currently support schema.
|
|
10
|
+
*
|
|
11
|
+
* > **Note** This resource can only be used with an workspace-level provider!
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const _this = new databricks.Schema("this", {
|
|
20
|
+
* catalogName: "my_catalog",
|
|
21
|
+
* name: "my_schema",
|
|
22
|
+
* });
|
|
23
|
+
* const thisQualityMonitorV2 = new databricks.QualityMonitorV2("this", {
|
|
24
|
+
* objectType: "schema",
|
|
25
|
+
* objectId: _this.schemaId,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
32
|
+
*
|
|
33
|
+
* hcl
|
|
34
|
+
*
|
|
35
|
+
* import {
|
|
36
|
+
*
|
|
37
|
+
* id = object_type,object_id
|
|
38
|
+
*
|
|
39
|
+
* to = databricks_quality_monitor_v2.this
|
|
40
|
+
*
|
|
41
|
+
* }
|
|
42
|
+
*
|
|
43
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 databricks_quality_monitor_v2 object_type,object_id
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
class QualityMonitorV2 extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing QualityMonitorV2 resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new QualityMonitorV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of QualityMonitorV2. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === QualityMonitorV2.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
constructor(name, argsOrState, opts) {
|
|
73
|
+
let resourceInputs = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
if (opts.id) {
|
|
76
|
+
const state = argsOrState;
|
|
77
|
+
resourceInputs["anomalyDetectionConfig"] = state ? state.anomalyDetectionConfig : undefined;
|
|
78
|
+
resourceInputs["objectId"] = state ? state.objectId : undefined;
|
|
79
|
+
resourceInputs["objectType"] = state ? state.objectType : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.objectId === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'objectId'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.objectType === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'objectType'");
|
|
88
|
+
}
|
|
89
|
+
resourceInputs["objectId"] = args ? args.objectId : undefined;
|
|
90
|
+
resourceInputs["objectType"] = args ? args.objectType : undefined;
|
|
91
|
+
resourceInputs["anomalyDetectionConfig"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(QualityMonitorV2.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.QualityMonitorV2 = QualityMonitorV2;
|
|
98
|
+
/** @internal */
|
|
99
|
+
QualityMonitorV2.__pulumiType = 'databricks:index/qualityMonitorV2:QualityMonitorV2';
|
|
100
|
+
//# sourceMappingURL=qualityMonitorV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualityMonitorV2.js","sourceRoot":"","sources":["../qualityMonitorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAA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AAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvEL,4CAwEC;AA1DG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -4,7 +4,7 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
|
-
* As of
|
|
7
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
8
8
|
*
|
|
9
9
|
* hcl
|
|
10
10
|
*
|
|
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
*
|
|
17
17
|
* }
|
|
18
18
|
*
|
|
19
|
-
* If you are using an older version of
|
|
19
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
20
20
|
*
|
|
21
21
|
* ```sh
|
|
22
22
|
* $ pulumi import databricks:index/recipientFederationPolicy:RecipientFederationPolicy databricks_recipient_federation_policy name
|
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* As of
|
|
11
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
12
|
*
|
|
13
13
|
* hcl
|
|
14
14
|
*
|
|
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* }
|
|
22
22
|
*
|
|
23
|
-
* If you are using an older version of
|
|
23
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
24
|
*
|
|
25
25
|
* ```sh
|
|
26
26
|
* $ pulumi import databricks:index/recipientFederationPolicy:RecipientFederationPolicy databricks_recipient_federation_policy name
|
package/schema.d.ts
CHANGED
|
@@ -106,6 +106,10 @@ export declare class Schema extends pulumi.CustomResource {
|
|
|
106
106
|
readonly properties: pulumi.Output<{
|
|
107
107
|
[key: string]: string;
|
|
108
108
|
} | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* The unique identifier of the schema.
|
|
111
|
+
*/
|
|
112
|
+
readonly schemaId: pulumi.Output<string>;
|
|
109
113
|
/**
|
|
110
114
|
* Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
111
115
|
*/
|
|
@@ -154,6 +158,10 @@ export interface SchemaState {
|
|
|
154
158
|
properties?: pulumi.Input<{
|
|
155
159
|
[key: string]: pulumi.Input<string>;
|
|
156
160
|
}>;
|
|
161
|
+
/**
|
|
162
|
+
* The unique identifier of the schema.
|
|
163
|
+
*/
|
|
164
|
+
schemaId?: pulumi.Input<string>;
|
|
157
165
|
/**
|
|
158
166
|
* Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
|
|
159
167
|
*/
|
package/schema.js
CHANGED
|
@@ -101,6 +101,7 @@ class Schema extends pulumi.CustomResource {
|
|
|
101
101
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
102
102
|
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
103
103
|
resourceInputs["properties"] = state ? state.properties : undefined;
|
|
104
|
+
resourceInputs["schemaId"] = state ? state.schemaId : undefined;
|
|
104
105
|
resourceInputs["storageRoot"] = state ? state.storageRoot : undefined;
|
|
105
106
|
}
|
|
106
107
|
else {
|
|
@@ -117,6 +118,7 @@ class Schema extends pulumi.CustomResource {
|
|
|
117
118
|
resourceInputs["owner"] = args ? args.owner : undefined;
|
|
118
119
|
resourceInputs["properties"] = args ? args.properties : undefined;
|
|
119
120
|
resourceInputs["storageRoot"] = args ? args.storageRoot : undefined;
|
|
121
|
+
resourceInputs["schemaId"] = undefined /*out*/;
|
|
120
122
|
}
|
|
121
123
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
122
124
|
super(Schema.__pulumiType, name, resourceInputs, opts);
|
package/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,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UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3GL,wBA4GC;AA9FG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
|
package/servicePrincipal.d.ts
CHANGED
|
@@ -183,7 +183,7 @@ export declare class ServicePrincipal extends pulumi.CustomResource {
|
|
|
183
183
|
*/
|
|
184
184
|
readonly workspaceAccess: pulumi.Output<boolean | undefined>;
|
|
185
185
|
/**
|
|
186
|
-
* This is a field to allow the service principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI.
|
|
186
|
+
* This is a field to allow the service principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspaceAccess` or `databricksSqlAccess`.
|
|
187
187
|
*/
|
|
188
188
|
readonly workspaceConsume: pulumi.Output<boolean | undefined>;
|
|
189
189
|
/**
|
|
@@ -260,7 +260,7 @@ export interface ServicePrincipalState {
|
|
|
260
260
|
*/
|
|
261
261
|
workspaceAccess?: pulumi.Input<boolean>;
|
|
262
262
|
/**
|
|
263
|
-
* This is a field to allow the service principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI.
|
|
263
|
+
* This is a field to allow the service principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspaceAccess` or `databricksSqlAccess`.
|
|
264
264
|
*/
|
|
265
265
|
workspaceConsume?: pulumi.Input<boolean>;
|
|
266
266
|
}
|
|
@@ -329,7 +329,7 @@ export interface ServicePrincipalArgs {
|
|
|
329
329
|
*/
|
|
330
330
|
workspaceAccess?: pulumi.Input<boolean>;
|
|
331
331
|
/**
|
|
332
|
-
* This is a field to allow the service principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI.
|
|
332
|
+
* This is a field to allow the service principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspaceAccess` or `databricksSqlAccess`.
|
|
333
333
|
*/
|
|
334
334
|
workspaceConsume?: pulumi.Input<boolean>;
|
|
335
335
|
}
|
|
@@ -20,6 +20,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
+
* Granting a service principal the Account Admin role.
|
|
24
|
+
*
|
|
25
|
+
* > This can only be used with an account-level provider.
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as databricks from "@pulumi/databricks";
|
|
30
|
+
*
|
|
31
|
+
* const tfAdmin = new databricks.ServicePrincipal("tf_admin", {displayName: "Pulumi Admin"});
|
|
32
|
+
* const tfAdminAccount = new databricks.ServicePrincipalRole("tf_admin_account", {
|
|
33
|
+
* servicePrincipalId: tfAdmin.id,
|
|
34
|
+
* role: "account_admin",
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
23
38
|
* ## Related Resources
|
|
24
39
|
*
|
|
25
40
|
* The following resources are often used in the same context:
|
|
@@ -29,6 +44,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
44
|
* * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
|
|
30
45
|
* * databricks.GroupMember to attach users and groups as group members.
|
|
31
46
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
47
|
+
* * databricks.AccessControlRuleSet to attach other roles to account level resources.
|
|
32
48
|
*
|
|
33
49
|
* ## Import
|
|
34
50
|
*
|
|
@@ -51,7 +67,7 @@ export declare class ServicePrincipalRole extends pulumi.CustomResource {
|
|
|
51
67
|
*/
|
|
52
68
|
static isInstance(obj: any): obj is ServicePrincipalRole;
|
|
53
69
|
/**
|
|
54
|
-
* This is the
|
|
70
|
+
* This is the role name, role id, or instance profile resource.
|
|
55
71
|
*/
|
|
56
72
|
readonly role: pulumi.Output<string>;
|
|
57
73
|
/**
|
|
@@ -72,7 +88,7 @@ export declare class ServicePrincipalRole extends pulumi.CustomResource {
|
|
|
72
88
|
*/
|
|
73
89
|
export interface ServicePrincipalRoleState {
|
|
74
90
|
/**
|
|
75
|
-
* This is the
|
|
91
|
+
* This is the role name, role id, or instance profile resource.
|
|
76
92
|
*/
|
|
77
93
|
role?: pulumi.Input<string>;
|
|
78
94
|
/**
|
|
@@ -85,7 +101,7 @@ export interface ServicePrincipalRoleState {
|
|
|
85
101
|
*/
|
|
86
102
|
export interface ServicePrincipalRoleArgs {
|
|
87
103
|
/**
|
|
88
|
-
* This is the
|
|
104
|
+
* This is the role name, role id, or instance profile resource.
|
|
89
105
|
*/
|
|
90
106
|
role: pulumi.Input<string>;
|
|
91
107
|
/**
|