@pulumi/databricks 1.3.0 → 1.4.0-alpha.1666727919
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/cluster.d.ts +2 -1
- package/cluster.js.map +1 -1
- package/entitlements.d.ts +1 -1
- package/entitlements.js +1 -1
- package/getCluster.d.ts +2 -1
- package/getCluster.js.map +1 -1
- package/getDbfsFilePaths.d.ts +1 -1
- package/getDbfsFilePaths.js.map +1 -1
- package/getGroup.d.ts +30 -13
- package/getGroup.js +18 -1
- package/getGroup.js.map +1 -1
- package/getJob.d.ts +2 -1
- package/getJob.js.map +1 -1
- package/getNotebookPaths.d.ts +1 -1
- package/getNotebookPaths.js.map +1 -1
- package/getServicePrincipal.d.ts +20 -1
- package/getServicePrincipal.js +20 -1
- package/getServicePrincipal.js.map +1 -1
- package/getServicePrincipals.d.ts +1 -1
- package/getServicePrincipals.js +1 -1
- package/getSqlWarehouse.d.ts +2 -1
- package/getSqlWarehouse.js.map +1 -1
- package/getUser.d.ts +20 -1
- package/getUser.js +20 -1
- package/getUser.js.map +1 -1
- package/gitCredential.js +3 -1
- package/gitCredential.js.map +1 -1
- package/grants.d.ts +2 -1
- package/grants.js.map +1 -1
- package/group.d.ts +64 -0
- package/group.js +64 -0
- package/group.js.map +1 -1
- package/groupInstanceProfile.d.ts +1 -1
- package/groupInstanceProfile.js +1 -1
- package/groupMember.d.ts +83 -0
- package/groupMember.js +80 -0
- package/groupMember.js.map +1 -0
- package/groupRole.d.ts +1 -1
- package/groupRole.js +1 -1
- package/index.d.ts +265 -88
- package/index.js +270 -229
- package/index.js.map +1 -1
- package/instancePool.d.ts +2 -1
- package/instancePool.js.map +1 -1
- package/job.d.ts +2 -1
- package/job.js.map +1 -1
- package/library.d.ts +2 -1
- package/library.js.map +1 -1
- package/metastoreDataAccess.d.ts +2 -1
- package/metastoreDataAccess.js.map +1 -1
- package/mlflowModel.d.ts +2 -1
- package/mlflowModel.js.map +1 -1
- package/mlflowWebhook.d.ts +2 -1
- package/mlflowWebhook.js.map +1 -1
- package/mount.d.ts +2 -1
- package/mount.js.map +1 -1
- package/mwsCredentials.js +3 -1
- package/mwsCredentials.js.map +1 -1
- package/mwsCustomerManagedKeys.d.ts +2 -1
- package/mwsCustomerManagedKeys.js.map +1 -1
- package/mwsNetworks.d.ts +2 -1
- package/mwsNetworks.js +3 -1
- package/mwsNetworks.js.map +1 -1
- package/mwsStorageConfigurations.d.ts +23 -0
- package/mwsStorageConfigurations.js +26 -1
- package/mwsStorageConfigurations.js.map +1 -1
- package/mwsWorkspaces.d.ts +2 -1
- package/mwsWorkspaces.js +3 -1
- package/mwsWorkspaces.js.map +1 -1
- package/oboToken.js +2 -0
- package/oboToken.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissions.d.ts +2 -1
- package/permissions.js.map +1 -1
- package/pipeline.d.ts +2 -1
- package/pipeline.js.map +1 -1
- package/provider.js +6 -4
- package/provider.js.map +1 -1
- package/recipient.d.ts +2 -1
- package/recipient.js +3 -1
- package/recipient.js.map +1 -1
- package/secret.js +3 -1
- package/secret.js.map +1 -1
- package/secretScope.d.ts +2 -1
- package/secretScope.js.map +1 -1
- package/servicePrincipal.d.ts +75 -1
- package/servicePrincipal.js +75 -1
- package/servicePrincipal.js.map +1 -1
- package/servicePrincipalRole.d.ts +1 -1
- package/servicePrincipalRole.js +1 -1
- package/sqlEndpoint.d.ts +2 -1
- package/sqlEndpoint.js.map +1 -1
- package/sqlPermissions.d.ts +2 -1
- package/sqlPermissions.js.map +1 -1
- package/sqlQuery.d.ts +2 -1
- package/sqlQuery.js.map +1 -1
- package/sqlWidget.d.ts +2 -1
- package/sqlWidget.js.map +1 -1
- package/storageCredential.d.ts +2 -1
- package/storageCredential.js.map +1 -1
- package/table.d.ts +2 -1
- package/table.js.map +1 -1
- package/token.js +2 -0
- package/token.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +1 -1
- package/types/output.d.ts +1 -1
- package/user.d.ts +81 -1
- package/user.js +81 -1
- package/user.js.map +1 -1
- package/userInstanceProfile.d.ts +1 -1
- package/userInstanceProfile.js +1 -1
- package/userRole.d.ts +1 -1
- package/userRole.js +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/group.js
CHANGED
|
@@ -6,6 +6,70 @@ exports.Group = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* Creating some group
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as databricks from "@pulumi/databricks";
|
|
16
|
+
*
|
|
17
|
+
* const thisGroup = new databricks.Group("this", {
|
|
18
|
+
* allowClusterCreate: true,
|
|
19
|
+
* allowInstancePoolCreate: true,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* Adding databricks.User as databricks.GroupMember of some group
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as databricks from "@pulumi/databricks";
|
|
28
|
+
*
|
|
29
|
+
* const thisGroup = new databricks.Group("thisGroup", {
|
|
30
|
+
* allowClusterCreate: true,
|
|
31
|
+
* allowInstancePoolCreate: true,
|
|
32
|
+
* });
|
|
33
|
+
* const thisUser = new databricks.User("thisUser", {userName: "someone@example.com"});
|
|
34
|
+
* const vipMember = new databricks.GroupMember("vipMember", {
|
|
35
|
+
* groupId: thisGroup.id,
|
|
36
|
+
* memberId: thisUser.id,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* Creating group in AWS Databricks account:
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as databricks from "@pulumi/databricks";
|
|
44
|
+
*
|
|
45
|
+
* // initialize provider at account-level
|
|
46
|
+
* const mws = new databricks.Provider("mws", {
|
|
47
|
+
* host: "https://accounts.cloud.databricks.com",
|
|
48
|
+
* accountId: "00000000-0000-0000-0000-000000000000",
|
|
49
|
+
* username: _var.databricks_account_username,
|
|
50
|
+
* password: _var.databricks_account_password,
|
|
51
|
+
* });
|
|
52
|
+
* const _this = new databricks.Group("this", {}, {
|
|
53
|
+
* provider: databricks.mws,
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* Creating group in Azure Databricks account:
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as databricks from "@pulumi/databricks";
|
|
61
|
+
*
|
|
62
|
+
* // initialize provider at Azure account-level
|
|
63
|
+
* const azureAccount = new databricks.Provider("azureAccount", {
|
|
64
|
+
* host: "https://accounts.azuredatabricks.net",
|
|
65
|
+
* accountId: "00000000-0000-0000-0000-000000000000",
|
|
66
|
+
* authType: "azure-cli",
|
|
67
|
+
* });
|
|
68
|
+
* const _this = new databricks.Group("this", {}, {
|
|
69
|
+
* provider: databricks.azure_account,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
9
73
|
* ## Import
|
|
10
74
|
*
|
|
11
75
|
* You can import a `databricks_group` resource with the name `my_group` like the followingbash
|
package/group.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBA0FC;AA5EG,gBAAgB;AACO,kBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
27
27
|
* * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
|
|
28
28
|
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
29
|
-
* *
|
|
29
|
+
* * databricks.GroupMember to attach users and groups as group members.
|
|
30
30
|
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
31
31
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
32
32
|
* * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
|
package/groupInstanceProfile.js
CHANGED
|
@@ -32,7 +32,7 @@ const utilities = require("./utilities");
|
|
|
32
32
|
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
33
33
|
* * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
|
|
34
34
|
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
35
|
-
* *
|
|
35
|
+
* * databricks.GroupMember to attach users and groups as group members.
|
|
36
36
|
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
37
37
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
38
38
|
* * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
|
package/groupMember.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to attach `users`, `service principals`, and `groups` as group members.
|
|
4
|
+
*
|
|
5
|
+
* To attach members to groups in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments.
|
|
6
|
+
*
|
|
7
|
+
* ## Related Resources
|
|
8
|
+
*
|
|
9
|
+
* The following resources are often used in the same context:
|
|
10
|
+
*
|
|
11
|
+
* * End to end workspace management guide.
|
|
12
|
+
* * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
|
|
13
|
+
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
14
|
+
* * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
|
|
15
|
+
* * databricks.IpAccessList to allow access from [predefined IP ranges](https://docs.databricks.com/security/network/ip-access-list.html).
|
|
16
|
+
* * databricks.ServicePrincipal to grant access to a workspace to an automation tool or application.
|
|
17
|
+
* * databricks.User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to databricks.Group within the workspace.
|
|
18
|
+
* * databricks.User data to retrieve information about databricks_user.
|
|
19
|
+
* * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
24
|
+
*/
|
|
25
|
+
export declare class GroupMember extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing GroupMember resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupMemberState, opts?: pulumi.CustomResourceOptions): GroupMember;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of GroupMember. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is GroupMember;
|
|
41
|
+
/**
|
|
42
|
+
* This is the id of the `group` resource.
|
|
43
|
+
*/
|
|
44
|
+
readonly groupId: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* This is the id of the `group`, `service principal`, or `user`.
|
|
47
|
+
*/
|
|
48
|
+
readonly memberId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a GroupMember resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: GroupMemberArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering GroupMember resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface GroupMemberState {
|
|
62
|
+
/**
|
|
63
|
+
* This is the id of the `group` resource.
|
|
64
|
+
*/
|
|
65
|
+
groupId?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* This is the id of the `group`, `service principal`, or `user`.
|
|
68
|
+
*/
|
|
69
|
+
memberId?: pulumi.Input<string>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a GroupMember resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface GroupMemberArgs {
|
|
75
|
+
/**
|
|
76
|
+
* This is the id of the `group` resource.
|
|
77
|
+
*/
|
|
78
|
+
groupId: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* This is the id of the `group`, `service principal`, or `user`.
|
|
81
|
+
*/
|
|
82
|
+
memberId: pulumi.Input<string>;
|
|
83
|
+
}
|
package/groupMember.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
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.GroupMember = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to attach `users`, `service principals`, and `groups` as group members.
|
|
10
|
+
*
|
|
11
|
+
* To attach members to groups in the Databricks account, the provider must be configured with `host = "https://accounts.cloud.databricks.com"` on AWS deployments or `host = "https://accounts.azuredatabricks.net"` and authenticate using AAD tokens on Azure deployments.
|
|
12
|
+
*
|
|
13
|
+
* ## Related Resources
|
|
14
|
+
*
|
|
15
|
+
* The following resources are often used in the same context:
|
|
16
|
+
*
|
|
17
|
+
* * End to end workspace management guide.
|
|
18
|
+
* * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
|
|
19
|
+
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
20
|
+
* * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
|
|
21
|
+
* * databricks.IpAccessList to allow access from [predefined IP ranges](https://docs.databricks.com/security/network/ip-access-list.html).
|
|
22
|
+
* * databricks.ServicePrincipal to grant access to a workspace to an automation tool or application.
|
|
23
|
+
* * databricks.User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to databricks.Group within the workspace.
|
|
24
|
+
* * databricks.User data to retrieve information about databricks_user.
|
|
25
|
+
* * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
30
|
+
*/
|
|
31
|
+
class GroupMember extends pulumi.CustomResource {
|
|
32
|
+
constructor(name, argsOrState, opts) {
|
|
33
|
+
let resourceInputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
if (opts.id) {
|
|
36
|
+
const state = argsOrState;
|
|
37
|
+
resourceInputs["groupId"] = state ? state.groupId : undefined;
|
|
38
|
+
resourceInputs["memberId"] = state ? state.memberId : undefined;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if ((!args || args.groupId === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'groupId'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.memberId === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'memberId'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["groupId"] = args ? args.groupId : undefined;
|
|
49
|
+
resourceInputs["memberId"] = args ? args.memberId : undefined;
|
|
50
|
+
}
|
|
51
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
52
|
+
super(GroupMember.__pulumiType, name, resourceInputs, opts);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing GroupMember resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new GroupMember(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of GroupMember. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === GroupMember.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.GroupMember = GroupMember;
|
|
78
|
+
/** @internal */
|
|
79
|
+
GroupMember.__pulumiType = 'databricks:index/groupMember:GroupMember';
|
|
80
|
+
//# sourceMappingURL=groupMember.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupMember.js","sourceRoot":"","sources":["../groupMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6ClD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAA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,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAkEC;AApDG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/groupRole.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
23
|
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
24
24
|
* * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
|
|
25
25
|
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
26
|
-
* *
|
|
26
|
+
* * databricks.GroupMember to attach users and groups as group members.
|
|
27
27
|
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
28
28
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
29
29
|
* * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
|
package/groupRole.js
CHANGED
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
|
|
30
30
|
* * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
|
|
31
31
|
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
32
|
-
* *
|
|
32
|
+
* * databricks.GroupMember to attach users and groups as group members.
|
|
33
33
|
* * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
34
34
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
35
35
|
* * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
|