@pulumi/databricks 1.1.0 → 1.3.0-alpha.1661884586
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/catalog.d.ts +3 -3
- package/cluster.d.ts +12 -0
- package/cluster.js +2 -0
- package/cluster.js.map +1 -1
- package/externalLocation.d.ts +4 -3
- package/externalLocation.js +1 -0
- package/externalLocation.js.map +1 -1
- package/getCurrentUser.d.ts +1 -2
- package/getCurrentUser.js +1 -2
- package/getCurrentUser.js.map +1 -1
- package/getMwsWorkspaces.d.ts +40 -0
- package/getMwsWorkspaces.js +23 -0
- package/getMwsWorkspaces.js.map +1 -0
- package/grants.d.ts +3 -0
- package/grants.js +2 -0
- package/grants.js.map +1 -1
- package/group.d.ts +2 -2
- package/group.js +0 -3
- package/group.js.map +1 -1
- package/groupInstanceProfile.d.ts +1 -1
- package/groupInstanceProfile.js +1 -1
- package/index.d.ts +3 -0
- package/index.js +11 -0
- package/index.js.map +1 -1
- package/metastore.d.ts +3 -3
- package/mwsPermissionAssignment.d.ts +92 -0
- package/mwsPermissionAssignment.js +109 -0
- package/mwsPermissionAssignment.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissionAssignment.d.ts +42 -0
- package/permissionAssignment.js +57 -0
- package/permissionAssignment.js.map +1 -0
- package/schema.d.ts +3 -3
- package/secretAcl.d.ts +1 -1
- package/secretAcl.js +1 -1
- package/storageCredential.d.ts +9 -0
- package/storageCredential.js.map +1 -1
- package/table.d.ts +3 -3
- package/types/input.d.ts +39 -34
- package/types/output.d.ts +5 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* These resources are invoked in the account context. Provider must have `accountId` attribute configured.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* In account context, adding account-level group to a workspace:
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as databricks from "@pulumi/databricks";
|
|
12
|
+
*
|
|
13
|
+
* const dataEng = new databricks.Group("dataEng", {});
|
|
14
|
+
* const addAdminGroup = new databricks.MwsPermissionAssignment("addAdminGroup", {
|
|
15
|
+
* workspaceId: databricks_mws_workspaces["this"].workspace_id,
|
|
16
|
+
* principalId: dataEng.id,
|
|
17
|
+
* permissions: ["ADMIN"],
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* In account context, adding account-level user to a workspace:
|
|
22
|
+
*
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as databricks from "@pulumi/databricks";
|
|
26
|
+
*
|
|
27
|
+
* const me = new databricks.User("me", {userName: "me@example.com"});
|
|
28
|
+
* const addUser = new databricks.MwsPermissionAssignment("addUser", {
|
|
29
|
+
* workspaceId: databricks_mws_workspaces["this"].workspace_id,
|
|
30
|
+
* principalId: me.id,
|
|
31
|
+
* permissions: ["USER"],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* In account context, adding account-level service principal to a workspace:
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as databricks from "@pulumi/databricks";
|
|
40
|
+
*
|
|
41
|
+
* const sp = new databricks.ServicePrincipal("sp", {displayName: "Automation-only SP"});
|
|
42
|
+
* const addAdminSpn = new databricks.MwsPermissionAssignment("addAdminSpn", {
|
|
43
|
+
* workspaceId: databricks_mws_workspaces["this"].workspace_id,
|
|
44
|
+
* principalId: sp.id,
|
|
45
|
+
* permissions: ["ADMIN"],
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare class MwsPermissionAssignment extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing MwsPermissionAssignment 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: string, id: pulumi.Input<pulumi.ID>, state?: MwsPermissionAssignmentState, opts?: pulumi.CustomResourceOptions): MwsPermissionAssignment;
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of MwsPermissionAssignment. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj: any): obj is MwsPermissionAssignment;
|
|
65
|
+
readonly permissions: pulumi.Output<string[]>;
|
|
66
|
+
readonly principalId: pulumi.Output<number>;
|
|
67
|
+
readonly workspaceId: pulumi.Output<number>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a MwsPermissionAssignment resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: MwsPermissionAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering MwsPermissionAssignment resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface MwsPermissionAssignmentState {
|
|
81
|
+
permissions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
82
|
+
principalId?: pulumi.Input<number>;
|
|
83
|
+
workspaceId?: pulumi.Input<number>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a MwsPermissionAssignment resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface MwsPermissionAssignmentArgs {
|
|
89
|
+
permissions: pulumi.Input<pulumi.Input<string>[]>;
|
|
90
|
+
principalId: pulumi.Input<number>;
|
|
91
|
+
workspaceId: pulumi.Input<number>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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.MwsPermissionAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* These resources are invoked in the account context. Provider must have `accountId` attribute configured.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* In account context, adding account-level group to a workspace:
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const dataEng = new databricks.Group("dataEng", {});
|
|
20
|
+
* const addAdminGroup = new databricks.MwsPermissionAssignment("addAdminGroup", {
|
|
21
|
+
* workspaceId: databricks_mws_workspaces["this"].workspace_id,
|
|
22
|
+
* principalId: dataEng.id,
|
|
23
|
+
* permissions: ["ADMIN"],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* In account context, adding account-level user to a workspace:
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as databricks from "@pulumi/databricks";
|
|
32
|
+
*
|
|
33
|
+
* const me = new databricks.User("me", {userName: "me@example.com"});
|
|
34
|
+
* const addUser = new databricks.MwsPermissionAssignment("addUser", {
|
|
35
|
+
* workspaceId: databricks_mws_workspaces["this"].workspace_id,
|
|
36
|
+
* principalId: me.id,
|
|
37
|
+
* permissions: ["USER"],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* In account context, adding account-level service principal to a workspace:
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as databricks from "@pulumi/databricks";
|
|
46
|
+
*
|
|
47
|
+
* const sp = new databricks.ServicePrincipal("sp", {displayName: "Automation-only SP"});
|
|
48
|
+
* const addAdminSpn = new databricks.MwsPermissionAssignment("addAdminSpn", {
|
|
49
|
+
* workspaceId: databricks_mws_workspaces["this"].workspace_id,
|
|
50
|
+
* principalId: sp.id,
|
|
51
|
+
* permissions: ["ADMIN"],
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
class MwsPermissionAssignment extends pulumi.CustomResource {
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["permissions"] = state ? state.permissions : undefined;
|
|
62
|
+
resourceInputs["principalId"] = state ? state.principalId : undefined;
|
|
63
|
+
resourceInputs["workspaceId"] = state ? state.workspaceId : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.permissions === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'permissions'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.principalId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'principalId'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.workspaceId === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'workspaceId'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["permissions"] = args ? args.permissions : undefined;
|
|
77
|
+
resourceInputs["principalId"] = args ? args.principalId : undefined;
|
|
78
|
+
resourceInputs["workspaceId"] = args ? args.workspaceId : undefined;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(MwsPermissionAssignment.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Get an existing MwsPermissionAssignment resource's state with the given name, ID, and optional extra
|
|
85
|
+
* properties used to qualify the lookup.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resulting resource.
|
|
88
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
89
|
+
* @param state Any extra arguments used during the lookup.
|
|
90
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
91
|
+
*/
|
|
92
|
+
static get(name, id, state, opts) {
|
|
93
|
+
return new MwsPermissionAssignment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Returns true if the given object is an instance of MwsPermissionAssignment. This is designed to work even
|
|
97
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
98
|
+
*/
|
|
99
|
+
static isInstance(obj) {
|
|
100
|
+
if (obj === undefined || obj === null) {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
return obj['__pulumiType'] === MwsPermissionAssignment.__pulumiType;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.MwsPermissionAssignment = MwsPermissionAssignment;
|
|
107
|
+
/** @internal */
|
|
108
|
+
MwsPermissionAssignment.__pulumiType = 'databricks:index/mwsPermissionAssignment:MwsPermissionAssignment';
|
|
109
|
+
//# sourceMappingURL=mwsPermissionAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mwsPermissionAssignment.js","sourceRoot":"","sources":["../mwsPermissionAssignment.ts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,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;;AA1BL,0DAkEC;AApDG,gBAAgB;AACO,oCAAY,GAAG,kEAAkE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "v1.
|
|
3
|
+
"version": "v1.3.0-alpha.1661884586+147af8a0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource databricks v1.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource databricks v1.3.0-alpha.1661884586+147af8a0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "v1.
|
|
3
|
+
"version": "v1.3.0-alpha.1661884586+147af8a0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource databricks v1.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource databricks v1.3.0-alpha.1661884586+147af8a0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class PermissionAssignment extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing PermissionAssignment resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PermissionAssignmentState, opts?: pulumi.CustomResourceOptions): PermissionAssignment;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of PermissionAssignment. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is PermissionAssignment;
|
|
18
|
+
readonly permissions: pulumi.Output<string[]>;
|
|
19
|
+
readonly principalId: pulumi.Output<number>;
|
|
20
|
+
/**
|
|
21
|
+
* Create a PermissionAssignment resource with the given unique name, arguments, and options.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resource.
|
|
24
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
25
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
26
|
+
*/
|
|
27
|
+
constructor(name: string, args: PermissionAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Input properties used for looking up and filtering PermissionAssignment resources.
|
|
31
|
+
*/
|
|
32
|
+
export interface PermissionAssignmentState {
|
|
33
|
+
permissions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
34
|
+
principalId?: pulumi.Input<number>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The set of arguments for constructing a PermissionAssignment resource.
|
|
38
|
+
*/
|
|
39
|
+
export interface PermissionAssignmentArgs {
|
|
40
|
+
permissions: pulumi.Input<pulumi.Input<string>[]>;
|
|
41
|
+
principalId: pulumi.Input<number>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.PermissionAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class PermissionAssignment extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["permissions"] = state ? state.permissions : undefined;
|
|
15
|
+
resourceInputs["principalId"] = state ? state.principalId : undefined;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
const args = argsOrState;
|
|
19
|
+
if ((!args || args.permissions === undefined) && !opts.urn) {
|
|
20
|
+
throw new Error("Missing required property 'permissions'");
|
|
21
|
+
}
|
|
22
|
+
if ((!args || args.principalId === undefined) && !opts.urn) {
|
|
23
|
+
throw new Error("Missing required property 'principalId'");
|
|
24
|
+
}
|
|
25
|
+
resourceInputs["permissions"] = args ? args.permissions : undefined;
|
|
26
|
+
resourceInputs["principalId"] = args ? args.principalId : undefined;
|
|
27
|
+
}
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
29
|
+
super(PermissionAssignment.__pulumiType, name, resourceInputs, opts);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing PermissionAssignment resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name, id, state, opts) {
|
|
41
|
+
return new PermissionAssignment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of PermissionAssignment. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === PermissionAssignment.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.PermissionAssignment = PermissionAssignment;
|
|
55
|
+
/** @internal */
|
|
56
|
+
PermissionAssignment.__pulumiType = 'databricks:index/permissionAssignment:PermissionAssignment';
|
|
57
|
+
//# sourceMappingURL=permissionAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionAssignment.js","sourceRoot":"","sources":["../permissionAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAuC3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAy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
|
|
76
|
-
* Username/groupname/sp applicationId schema owner.
|
|
76
|
+
* Username/groupname/sp applicationId of the schema owner.
|
|
77
77
|
*/
|
|
78
78
|
readonly owner: pulumi.Output<string>;
|
|
79
79
|
/**
|
|
@@ -109,7 +109,7 @@ export interface SchemaState {
|
|
|
109
109
|
*/
|
|
110
110
|
name?: pulumi.Input<string>;
|
|
111
111
|
/**
|
|
112
|
-
* Username/groupname/sp applicationId schema owner.
|
|
112
|
+
* Username/groupname/sp applicationId of the schema owner.
|
|
113
113
|
*/
|
|
114
114
|
owner?: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
@@ -137,7 +137,7 @@ export interface SchemaArgs {
|
|
|
137
137
|
*/
|
|
138
138
|
name?: pulumi.Input<string>;
|
|
139
139
|
/**
|
|
140
|
-
* Username/groupname/sp applicationId schema owner.
|
|
140
|
+
* Username/groupname/sp applicationId of the schema owner.
|
|
141
141
|
*/
|
|
142
142
|
owner?: pulumi.Input<string>;
|
|
143
143
|
/**
|
package/secretAcl.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as databricks from "@pulumi/databricks";
|
|
12
12
|
*
|
|
13
|
-
* const ds = new databricks.Group("ds", {
|
|
13
|
+
* const ds = new databricks.Group("ds", {});
|
|
14
14
|
* const app = new databricks.SecretScope("app", {});
|
|
15
15
|
* const mySecretAcl = new databricks.SecretAcl("mySecretAcl", {
|
|
16
16
|
* principal: ds.displayName,
|
package/secretAcl.js
CHANGED
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as databricks from "@pulumi/databricks";
|
|
18
18
|
*
|
|
19
|
-
* const ds = new databricks.Group("ds", {
|
|
19
|
+
* const ds = new databricks.Group("ds", {});
|
|
20
20
|
* const app = new databricks.SecretScope("app", {});
|
|
21
21
|
* const mySecretAcl = new databricks.SecretAcl("mySecretAcl", {
|
|
22
22
|
* principal: ds.displayName,
|
package/storageCredential.d.ts
CHANGED
|
@@ -41,6 +41,9 @@ export declare class StorageCredential extends pulumi.CustomResource {
|
|
|
41
41
|
* Name of Storage Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.
|
|
42
42
|
*/
|
|
43
43
|
readonly name: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Username/groupname/sp applicationId of the storage credential owner.
|
|
46
|
+
*/
|
|
44
47
|
readonly owner: pulumi.Output<string>;
|
|
45
48
|
/**
|
|
46
49
|
* Create a StorageCredential resource with the given unique name, arguments, and options.
|
|
@@ -64,6 +67,9 @@ export interface StorageCredentialState {
|
|
|
64
67
|
* Name of Storage Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.
|
|
65
68
|
*/
|
|
66
69
|
name?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Username/groupname/sp applicationId of the storage credential owner.
|
|
72
|
+
*/
|
|
67
73
|
owner?: pulumi.Input<string>;
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
@@ -79,5 +85,8 @@ export interface StorageCredentialArgs {
|
|
|
79
85
|
* Name of Storage Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.
|
|
80
86
|
*/
|
|
81
87
|
name?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Username/groupname/sp applicationId of the storage credential owner.
|
|
90
|
+
*/
|
|
82
91
|
owner?: pulumi.Input<string>;
|
|
83
92
|
}
|
package/storageCredential.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageCredential.js","sourceRoot":"","sources":["../storageCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
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G,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CA2EC;AA7DG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
package/table.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
105
105
|
*/
|
|
106
106
|
readonly name: pulumi.Output<string>;
|
|
107
107
|
/**
|
|
108
|
-
* Username/groupname/sp applicationId
|
|
108
|
+
* Username/groupname/sp applicationId of the table owner.
|
|
109
109
|
*/
|
|
110
110
|
readonly owner: pulumi.Output<string>;
|
|
111
111
|
/**
|
|
@@ -165,7 +165,7 @@ export interface TableState {
|
|
|
165
165
|
*/
|
|
166
166
|
name?: pulumi.Input<string>;
|
|
167
167
|
/**
|
|
168
|
-
* Username/groupname/sp applicationId
|
|
168
|
+
* Username/groupname/sp applicationId of the table owner.
|
|
169
169
|
*/
|
|
170
170
|
owner?: pulumi.Input<string>;
|
|
171
171
|
/**
|
|
@@ -217,7 +217,7 @@ export interface TableArgs {
|
|
|
217
217
|
*/
|
|
218
218
|
name?: pulumi.Input<string>;
|
|
219
219
|
/**
|
|
220
|
-
* Username/groupname/sp applicationId
|
|
220
|
+
* Username/groupname/sp applicationId of the table owner.
|
|
221
221
|
*/
|
|
222
222
|
owner?: pulumi.Input<string>;
|
|
223
223
|
/**
|
package/types/input.d.ts
CHANGED
|
@@ -382,14 +382,14 @@ export interface GetClusterClusterInfoClusterLogStatusArgs {
|
|
|
382
382
|
lastAttempted?: pulumi.Input<number>;
|
|
383
383
|
lastException?: pulumi.Input<string>;
|
|
384
384
|
}
|
|
385
|
-
export interface GetClusterClusterInfoDockerImageArgs {
|
|
386
|
-
basicAuth?: pulumi.Input<inputs.GetClusterClusterInfoDockerImageBasicAuthArgs>;
|
|
387
|
-
url: pulumi.Input<string>;
|
|
388
|
-
}
|
|
389
385
|
export interface GetClusterClusterInfoDockerImage {
|
|
390
386
|
basicAuth?: inputs.GetClusterClusterInfoDockerImageBasicAuth;
|
|
391
387
|
url: string;
|
|
392
388
|
}
|
|
389
|
+
export interface GetClusterClusterInfoDockerImageArgs {
|
|
390
|
+
basicAuth?: pulumi.Input<inputs.GetClusterClusterInfoDockerImageBasicAuthArgs>;
|
|
391
|
+
url: pulumi.Input<string>;
|
|
392
|
+
}
|
|
393
393
|
export interface GetClusterClusterInfoDockerImageBasicAuth {
|
|
394
394
|
password: string;
|
|
395
395
|
username: string;
|
|
@@ -416,12 +416,12 @@ export interface GetClusterClusterInfoDriverArgs {
|
|
|
416
416
|
publicDns?: pulumi.Input<string>;
|
|
417
417
|
startTimestamp?: pulumi.Input<number>;
|
|
418
418
|
}
|
|
419
|
-
export interface GetClusterClusterInfoDriverNodeAwsAttributes {
|
|
420
|
-
isSpot?: boolean;
|
|
421
|
-
}
|
|
422
419
|
export interface GetClusterClusterInfoDriverNodeAwsAttributesArgs {
|
|
423
420
|
isSpot?: pulumi.Input<boolean>;
|
|
424
421
|
}
|
|
422
|
+
export interface GetClusterClusterInfoDriverNodeAwsAttributes {
|
|
423
|
+
isSpot?: boolean;
|
|
424
|
+
}
|
|
425
425
|
export interface GetClusterClusterInfoExecutor {
|
|
426
426
|
hostPrivateIp?: string;
|
|
427
427
|
instanceId?: string;
|
|
@@ -446,13 +446,6 @@ export interface GetClusterClusterInfoExecutorNodeAwsAttributes {
|
|
|
446
446
|
export interface GetClusterClusterInfoExecutorNodeAwsAttributesArgs {
|
|
447
447
|
isSpot?: pulumi.Input<boolean>;
|
|
448
448
|
}
|
|
449
|
-
export interface GetClusterClusterInfoGcpAttributesArgs {
|
|
450
|
-
availability?: pulumi.Input<string>;
|
|
451
|
-
bootDiskSize?: pulumi.Input<number>;
|
|
452
|
-
googleServiceAccount?: pulumi.Input<string>;
|
|
453
|
-
usePreemptibleExecutors?: pulumi.Input<boolean>;
|
|
454
|
-
zoneId?: pulumi.Input<string>;
|
|
455
|
-
}
|
|
456
449
|
export interface GetClusterClusterInfoGcpAttributes {
|
|
457
450
|
availability?: string;
|
|
458
451
|
bootDiskSize?: number;
|
|
@@ -460,20 +453,27 @@ export interface GetClusterClusterInfoGcpAttributes {
|
|
|
460
453
|
usePreemptibleExecutors?: boolean;
|
|
461
454
|
zoneId?: string;
|
|
462
455
|
}
|
|
463
|
-
export interface
|
|
464
|
-
|
|
465
|
-
|
|
456
|
+
export interface GetClusterClusterInfoGcpAttributesArgs {
|
|
457
|
+
availability?: pulumi.Input<string>;
|
|
458
|
+
bootDiskSize?: pulumi.Input<number>;
|
|
459
|
+
googleServiceAccount?: pulumi.Input<string>;
|
|
460
|
+
usePreemptibleExecutors?: pulumi.Input<boolean>;
|
|
461
|
+
zoneId?: pulumi.Input<string>;
|
|
466
462
|
}
|
|
467
463
|
export interface GetClusterClusterInfoInitScriptArgs {
|
|
468
464
|
dbfs?: pulumi.Input<inputs.GetClusterClusterInfoInitScriptDbfsArgs>;
|
|
469
465
|
s3?: pulumi.Input<inputs.GetClusterClusterInfoInitScriptS3Args>;
|
|
470
466
|
}
|
|
471
|
-
export interface
|
|
472
|
-
|
|
467
|
+
export interface GetClusterClusterInfoInitScript {
|
|
468
|
+
dbfs?: inputs.GetClusterClusterInfoInitScriptDbfs;
|
|
469
|
+
s3?: inputs.GetClusterClusterInfoInitScriptS3;
|
|
473
470
|
}
|
|
474
471
|
export interface GetClusterClusterInfoInitScriptDbfs {
|
|
475
472
|
destination: string;
|
|
476
473
|
}
|
|
474
|
+
export interface GetClusterClusterInfoInitScriptDbfsArgs {
|
|
475
|
+
destination: pulumi.Input<string>;
|
|
476
|
+
}
|
|
477
477
|
export interface GetClusterClusterInfoInitScriptS3 {
|
|
478
478
|
cannedAcl?: string;
|
|
479
479
|
destination: string;
|
|
@@ -506,24 +506,17 @@ export interface GetClusterClusterInfoTerminationReasonArgs {
|
|
|
506
506
|
}>;
|
|
507
507
|
type?: pulumi.Input<string>;
|
|
508
508
|
}
|
|
509
|
-
export interface
|
|
509
|
+
export interface GetSqlWarehouseChannelArgs {
|
|
510
510
|
/**
|
|
511
511
|
* Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`.
|
|
512
512
|
*/
|
|
513
|
-
name?: string
|
|
513
|
+
name?: pulumi.Input<string>;
|
|
514
514
|
}
|
|
515
|
-
export interface
|
|
515
|
+
export interface GetSqlWarehouseChannel {
|
|
516
516
|
/**
|
|
517
517
|
* Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`.
|
|
518
518
|
*/
|
|
519
|
-
name?:
|
|
520
|
-
}
|
|
521
|
-
export interface GetSqlWarehouseOdbcParams {
|
|
522
|
-
host?: string;
|
|
523
|
-
hostname?: string;
|
|
524
|
-
path: string;
|
|
525
|
-
port: number;
|
|
526
|
-
protocol: string;
|
|
519
|
+
name?: string;
|
|
527
520
|
}
|
|
528
521
|
export interface GetSqlWarehouseOdbcParamsArgs {
|
|
529
522
|
host?: pulumi.Input<string>;
|
|
@@ -532,20 +525,27 @@ export interface GetSqlWarehouseOdbcParamsArgs {
|
|
|
532
525
|
port: pulumi.Input<number>;
|
|
533
526
|
protocol: pulumi.Input<string>;
|
|
534
527
|
}
|
|
528
|
+
export interface GetSqlWarehouseOdbcParams {
|
|
529
|
+
host?: string;
|
|
530
|
+
hostname?: string;
|
|
531
|
+
path: string;
|
|
532
|
+
port: number;
|
|
533
|
+
protocol: string;
|
|
534
|
+
}
|
|
535
535
|
export interface GetSqlWarehouseTags {
|
|
536
536
|
customTags: inputs.GetSqlWarehouseTagsCustomTag[];
|
|
537
537
|
}
|
|
538
538
|
export interface GetSqlWarehouseTagsArgs {
|
|
539
539
|
customTags: pulumi.Input<pulumi.Input<inputs.GetSqlWarehouseTagsCustomTagArgs>[]>;
|
|
540
540
|
}
|
|
541
|
-
export interface GetSqlWarehouseTagsCustomTag {
|
|
542
|
-
key: string;
|
|
543
|
-
value: string;
|
|
544
|
-
}
|
|
545
541
|
export interface GetSqlWarehouseTagsCustomTagArgs {
|
|
546
542
|
key: pulumi.Input<string>;
|
|
547
543
|
value: pulumi.Input<string>;
|
|
548
544
|
}
|
|
545
|
+
export interface GetSqlWarehouseTagsCustomTag {
|
|
546
|
+
key: string;
|
|
547
|
+
value: string;
|
|
548
|
+
}
|
|
549
549
|
export interface GrantsGrant {
|
|
550
550
|
principal: pulumi.Input<string>;
|
|
551
551
|
privileges: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -672,6 +672,7 @@ export interface JobJobCluster {
|
|
|
672
672
|
newCluster?: pulumi.Input<inputs.JobJobClusterNewCluster>;
|
|
673
673
|
}
|
|
674
674
|
export interface JobJobClusterNewCluster {
|
|
675
|
+
applyPolicyDefaultValues?: pulumi.Input<boolean>;
|
|
675
676
|
autoscale?: pulumi.Input<inputs.JobJobClusterNewClusterAutoscale>;
|
|
676
677
|
autoterminationMinutes?: pulumi.Input<number>;
|
|
677
678
|
awsAttributes?: pulumi.Input<inputs.JobJobClusterNewClusterAwsAttributes>;
|
|
@@ -812,6 +813,7 @@ export interface JobLibraryPypi {
|
|
|
812
813
|
repo?: pulumi.Input<string>;
|
|
813
814
|
}
|
|
814
815
|
export interface JobNewCluster {
|
|
816
|
+
applyPolicyDefaultValues?: pulumi.Input<boolean>;
|
|
815
817
|
autoscale?: pulumi.Input<inputs.JobNewClusterAutoscale>;
|
|
816
818
|
autoterminationMinutes?: pulumi.Input<number>;
|
|
817
819
|
awsAttributes?: pulumi.Input<inputs.JobNewClusterAwsAttributes>;
|
|
@@ -1107,6 +1109,7 @@ export interface JobTaskLibraryPypi {
|
|
|
1107
1109
|
repo?: pulumi.Input<string>;
|
|
1108
1110
|
}
|
|
1109
1111
|
export interface JobTaskNewCluster {
|
|
1112
|
+
applyPolicyDefaultValues?: pulumi.Input<boolean>;
|
|
1110
1113
|
autoscale?: pulumi.Input<inputs.JobTaskNewClusterAutoscale>;
|
|
1111
1114
|
autoterminationMinutes?: pulumi.Input<number>;
|
|
1112
1115
|
awsAttributes?: pulumi.Input<inputs.JobTaskNewClusterAwsAttributes>;
|
|
@@ -1490,6 +1493,7 @@ export interface PermissionsAccessControl {
|
|
|
1490
1493
|
userName?: pulumi.Input<string>;
|
|
1491
1494
|
}
|
|
1492
1495
|
export interface PipelineCluster {
|
|
1496
|
+
applyPolicyDefaultValues?: pulumi.Input<boolean>;
|
|
1493
1497
|
autoscale?: pulumi.Input<inputs.PipelineClusterAutoscale>;
|
|
1494
1498
|
awsAttributes?: pulumi.Input<inputs.PipelineClusterAwsAttributes>;
|
|
1495
1499
|
clusterLogConf?: pulumi.Input<inputs.PipelineClusterClusterLogConf>;
|
|
@@ -1504,6 +1508,7 @@ export interface PipelineCluster {
|
|
|
1504
1508
|
label?: pulumi.Input<string>;
|
|
1505
1509
|
nodeTypeId?: pulumi.Input<string>;
|
|
1506
1510
|
numWorkers?: pulumi.Input<number>;
|
|
1511
|
+
policyId?: pulumi.Input<string>;
|
|
1507
1512
|
sparkConf?: pulumi.Input<{
|
|
1508
1513
|
[key: string]: any;
|
|
1509
1514
|
}>;
|