@pulumi/databricks 1.105.0 → 1.106.0
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/accountIamDirectGroupMemberV2.d.ts +118 -0
- package/accountIamDirectGroupMemberV2.d.ts.map +1 -0
- package/accountIamDirectGroupMemberV2.js +110 -0
- package/accountIamDirectGroupMemberV2.js.map +1 -0
- package/accountIamGroupV2.d.ts +99 -0
- package/accountIamGroupV2.d.ts.map +1 -0
- package/accountIamGroupV2.js +100 -0
- package/accountIamGroupV2.js.map +1 -0
- package/accountIamServicePrincipalV2.d.ts +129 -0
- package/accountIamServicePrincipalV2.d.ts.map +1 -0
- package/accountIamServicePrincipalV2.js +113 -0
- package/accountIamServicePrincipalV2.js.map +1 -0
- package/accountIamUserV2.d.ts +123 -0
- package/accountIamUserV2.d.ts.map +1 -0
- package/accountIamUserV2.js +120 -0
- package/accountIamUserV2.js.map +1 -0
- package/accountIamWorkspaceAssignmentV2.d.ts +136 -0
- package/accountIamWorkspaceAssignmentV2.d.ts.map +1 -0
- package/accountIamWorkspaceAssignmentV2.js +113 -0
- package/accountIamWorkspaceAssignmentV2.js.map +1 -0
- package/aiGatewayMcpService.d.ts +6 -19
- package/aiGatewayMcpService.d.ts.map +1 -1
- package/aiGatewayMcpService.js +0 -2
- package/aiGatewayMcpService.js.map +1 -1
- package/aiGatewayModelProviderService.d.ts +6 -19
- package/aiGatewayModelProviderService.d.ts.map +1 -1
- package/aiGatewayModelProviderService.js +0 -2
- package/aiGatewayModelProviderService.js.map +1 -1
- package/aiGatewayModelService.d.ts +6 -19
- package/aiGatewayModelService.d.ts.map +1 -1
- package/aiGatewayModelService.js +0 -2
- package/aiGatewayModelService.js.map +1 -1
- package/app.d.ts +20 -0
- package/app.d.ts.map +1 -1
- package/app.js +8 -0
- package/app.js.map +1 -1
- package/budget.d.ts +89 -5
- package/budget.d.ts.map +1 -1
- package/budget.js +80 -5
- package/budget.js.map +1 -1
- package/dataClassificationCatalogConfig.d.ts +1 -1
- package/dataClassificationCatalogConfig.js +1 -1
- package/getAccountIamDirectGroupMemberV2.d.ts +105 -0
- package/getAccountIamDirectGroupMemberV2.d.ts.map +1 -0
- package/getAccountIamDirectGroupMemberV2.js +93 -0
- package/getAccountIamDirectGroupMemberV2.js.map +1 -0
- package/getAccountIamDirectGroupMembersV2.d.ts +88 -0
- package/getAccountIamDirectGroupMembersV2.d.ts.map +1 -0
- package/getAccountIamDirectGroupMembersV2.js +91 -0
- package/getAccountIamDirectGroupMembersV2.js.map +1 -0
- package/getAccountIamGroupV2.d.ts +87 -0
- package/getAccountIamGroupV2.d.ts.map +1 -0
- package/getAccountIamGroupV2.js +89 -0
- package/getAccountIamGroupV2.js.map +1 -0
- package/getAccountIamGroupsV2.d.ts +79 -0
- package/getAccountIamGroupsV2.d.ts.map +1 -0
- package/getAccountIamGroupsV2.js +89 -0
- package/getAccountIamGroupsV2.js.map +1 -0
- package/getAccountIamServicePrincipalV2.d.ts +96 -0
- package/getAccountIamServicePrincipalV2.d.ts.map +1 -0
- package/getAccountIamServicePrincipalV2.js +89 -0
- package/getAccountIamServicePrincipalV2.js.map +1 -0
- package/getAccountIamServicePrincipalsV2.d.ts +79 -0
- package/getAccountIamServicePrincipalsV2.d.ts.map +1 -0
- package/getAccountIamServicePrincipalsV2.js +89 -0
- package/getAccountIamServicePrincipalsV2.js.map +1 -0
- package/getAccountIamUserV2.d.ts +96 -0
- package/getAccountIamUserV2.d.ts.map +1 -0
- package/getAccountIamUserV2.js +89 -0
- package/getAccountIamUserV2.js.map +1 -0
- package/getAccountIamUsersV2.d.ts +79 -0
- package/getAccountIamUsersV2.d.ts.map +1 -0
- package/getAccountIamUsersV2.js +89 -0
- package/getAccountIamUsersV2.js.map +1 -0
- package/getAccountIamWorkspaceAssignmentV2.d.ts +109 -0
- package/getAccountIamWorkspaceAssignmentV2.d.ts.map +1 -0
- package/getAccountIamWorkspaceAssignmentV2.js +93 -0
- package/getAccountIamWorkspaceAssignmentV2.js.map +1 -0
- package/getAccountIamWorkspaceAssignmentsV2.d.ts +56 -0
- package/getAccountIamWorkspaceAssignmentsV2.d.ts.map +1 -0
- package/getAccountIamWorkspaceAssignmentsV2.js +61 -0
- package/getAccountIamWorkspaceAssignmentsV2.js.map +1 -0
- package/getAiGatewayMcpService.d.ts +2 -6
- package/getAiGatewayMcpService.d.ts.map +1 -1
- package/getAiGatewayMcpService.js.map +1 -1
- package/getAiGatewayMcpServices.d.ts +10 -17
- package/getAiGatewayMcpServices.d.ts.map +1 -1
- package/getAiGatewayMcpServices.js +0 -2
- package/getAiGatewayMcpServices.js.map +1 -1
- package/getAiGatewayModelProviderService.d.ts +0 -5
- package/getAiGatewayModelProviderService.d.ts.map +1 -1
- package/getAiGatewayModelProviderService.js.map +1 -1
- package/getAiGatewayModelProviderServices.d.ts +10 -17
- package/getAiGatewayModelProviderServices.d.ts.map +1 -1
- package/getAiGatewayModelProviderServices.js +0 -2
- package/getAiGatewayModelProviderServices.js.map +1 -1
- package/getAiGatewayModelService.d.ts +0 -5
- package/getAiGatewayModelService.d.ts.map +1 -1
- package/getAiGatewayModelService.js.map +1 -1
- package/getAiGatewayModelServices.d.ts +10 -17
- package/getAiGatewayModelServices.d.ts.map +1 -1
- package/getAiGatewayModelServices.js +0 -2
- package/getAiGatewayModelServices.js.map +1 -1
- package/getDataClassificationCatalogConfig.d.ts +2 -2
- package/getDataClassificationCatalogConfig.js +2 -2
- package/getPolicyInfo.d.ts +0 -1
- package/getPolicyInfo.d.ts.map +1 -1
- package/getPolicyInfo.js.map +1 -1
- package/getWorkspaceIamDirectGroupMemberV2.d.ts +118 -0
- package/getWorkspaceIamDirectGroupMemberV2.d.ts.map +1 -0
- package/getWorkspaceIamDirectGroupMemberV2.js +97 -0
- package/getWorkspaceIamDirectGroupMemberV2.js.map +1 -0
- package/getWorkspaceIamDirectGroupMembersV2.d.ts +98 -0
- package/getWorkspaceIamDirectGroupMembersV2.d.ts.map +1 -0
- package/getWorkspaceIamDirectGroupMembersV2.js +93 -0
- package/getWorkspaceIamDirectGroupMembersV2.js.map +1 -0
- package/getWorkspaceIamGroupV2.d.ts +98 -0
- package/getWorkspaceIamGroupV2.d.ts.map +1 -0
- package/getWorkspaceIamGroupV2.js +91 -0
- package/getWorkspaceIamGroupV2.js.map +1 -0
- package/getWorkspaceIamGroupsV2.d.ts +89 -0
- package/getWorkspaceIamGroupsV2.d.ts.map +1 -0
- package/getWorkspaceIamGroupsV2.js +91 -0
- package/getWorkspaceIamGroupsV2.js.map +1 -0
- package/getWorkspaceIamServicePrincipalV2.d.ts +107 -0
- package/getWorkspaceIamServicePrincipalV2.d.ts.map +1 -0
- package/getWorkspaceIamServicePrincipalV2.js +91 -0
- package/getWorkspaceIamServicePrincipalV2.js.map +1 -0
- package/getWorkspaceIamServicePrincipalsV2.d.ts +89 -0
- package/getWorkspaceIamServicePrincipalsV2.d.ts.map +1 -0
- package/getWorkspaceIamServicePrincipalsV2.js +91 -0
- package/getWorkspaceIamServicePrincipalsV2.js.map +1 -0
- package/getWorkspaceIamUserV2.d.ts +106 -0
- package/getWorkspaceIamUserV2.d.ts.map +1 -0
- package/getWorkspaceIamUserV2.js +91 -0
- package/getWorkspaceIamUserV2.js.map +1 -0
- package/getWorkspaceIamUsersV2.d.ts +89 -0
- package/getWorkspaceIamUsersV2.d.ts.map +1 -0
- package/getWorkspaceIamUsersV2.js +91 -0
- package/getWorkspaceIamUsersV2.js.map +1 -0
- package/getWorkspaceIamWorkspaceAssignmentV2.d.ts +112 -0
- package/getWorkspaceIamWorkspaceAssignmentV2.d.ts.map +1 -0
- package/getWorkspaceIamWorkspaceAssignmentV2.js +93 -0
- package/getWorkspaceIamWorkspaceAssignmentV2.js.map +1 -0
- package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts +54 -0
- package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts.map +1 -0
- package/getWorkspaceIamWorkspaceAssignmentsV2.js +63 -0
- package/getWorkspaceIamWorkspaceAssignmentsV2.js.map +1 -0
- package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts +68 -0
- package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -0
- package/getWorkspaceIamWorkspaceIdentityDetailV2.js +61 -0
- package/getWorkspaceIamWorkspaceIdentityDetailV2.js.map +1 -0
- package/index.d.ts +96 -0
- package/index.d.ts.map +1 -1
- package/index.js +129 -10
- package/index.js.map +1 -1
- package/job.d.ts +3 -0
- package/job.d.ts.map +1 -1
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/package.json +2 -2
- package/policyInfo.d.ts +0 -3
- package/policyInfo.d.ts.map +1 -1
- package/policyInfo.js.map +1 -1
- package/secretUc.d.ts.map +1 -1
- package/secretUc.js +3 -1
- package/secretUc.js.map +1 -1
- package/types/input.d.ts +388 -29
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +888 -82
- package/types/output.d.ts.map +1 -1
- package/workspaceIamDirectGroupMemberV2.d.ts +133 -0
- package/workspaceIamDirectGroupMemberV2.d.ts.map +1 -0
- package/workspaceIamDirectGroupMemberV2.js +113 -0
- package/workspaceIamDirectGroupMemberV2.js.map +1 -0
- package/workspaceIamGroupV2.d.ts +113 -0
- package/workspaceIamGroupV2.d.ts.map +1 -0
- package/workspaceIamGroupV2.js +102 -0
- package/workspaceIamGroupV2.js.map +1 -0
- package/workspaceIamServicePrincipalV2.d.ts +143 -0
- package/workspaceIamServicePrincipalV2.d.ts.map +1 -0
- package/workspaceIamServicePrincipalV2.js +115 -0
- package/workspaceIamServicePrincipalV2.js.map +1 -0
- package/workspaceIamUserV2.d.ts +135 -0
- package/workspaceIamUserV2.d.ts.map +1 -0
- package/workspaceIamUserV2.js +122 -0
- package/workspaceIamUserV2.js.map +1 -0
- package/workspaceIamWorkspaceAssignmentV2.d.ts +150 -0
- package/workspaceIamWorkspaceAssignmentV2.d.ts.map +1 -0
- package/workspaceIamWorkspaceAssignmentV2.js +115 -0
- package/workspaceIamWorkspaceAssignmentV2.js.map +1 -0
- package/workspaceIamWorkspaceIdentityDetailV2.d.ts +117 -0
- package/workspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -0
- package/workspaceIamWorkspaceIdentityDetailV2.js +110 -0
- package/workspaceIamWorkspaceIdentityDetailV2.js.map +1 -0
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getWorkspaceIamServicePrincipalsV2Output = exports.getWorkspaceIamServicePrincipalsV2 = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
35
|
+
*
|
|
36
|
+
* Lists the service principals visible to a workspace, using a workspace-scoped provider.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Example usage:
|
|
41
|
+
*
|
|
42
|
+
* List all service principals visible to the workspace, using a workspace-scoped provider.
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const _this = databricks.getWorkspaceIamServicePrincipalsV2({});
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function getWorkspaceIamServicePrincipalsV2(args, opts) {
|
|
52
|
+
args = args || {};
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("databricks:index/getWorkspaceIamServicePrincipalsV2:getWorkspaceIamServicePrincipalsV2", {
|
|
55
|
+
"filter": args.filter,
|
|
56
|
+
"pageSize": args.pageSize,
|
|
57
|
+
"providerConfig": args.providerConfig,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getWorkspaceIamServicePrincipalsV2 = getWorkspaceIamServicePrincipalsV2;
|
|
61
|
+
/**
|
|
62
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
63
|
+
*
|
|
64
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
65
|
+
*
|
|
66
|
+
* Lists the service principals visible to a workspace, using a workspace-scoped provider.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* Example usage:
|
|
71
|
+
*
|
|
72
|
+
* List all service principals visible to the workspace, using a workspace-scoped provider.
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as databricks from "@pulumi/databricks";
|
|
77
|
+
*
|
|
78
|
+
* const _this = databricks.getWorkspaceIamServicePrincipalsV2({});
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
function getWorkspaceIamServicePrincipalsV2Output(args, opts) {
|
|
82
|
+
args = args || {};
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
84
|
+
return pulumi.runtime.invokeOutput("databricks:index/getWorkspaceIamServicePrincipalsV2:getWorkspaceIamServicePrincipalsV2", {
|
|
85
|
+
"filter": args.filter,
|
|
86
|
+
"pageSize": args.pageSize,
|
|
87
|
+
"providerConfig": args.providerConfig,
|
|
88
|
+
}, opts);
|
|
89
|
+
}
|
|
90
|
+
exports.getWorkspaceIamServicePrincipalsV2Output = getWorkspaceIamServicePrincipalsV2Output;
|
|
91
|
+
//# sourceMappingURL=getWorkspaceIamServicePrincipalsV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspaceIamServicePrincipalsV2.js","sourceRoot":"","sources":["../getWorkspaceIamServicePrincipalsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,kCAAkC,CAAC,IAA6C,EAAE,IAA2B;IACzH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wFAAwF,EAAE;QACnH,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gFAQC;AA6BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,wCAAwC,CAAC,IAAmD,EAAE,IAAiC;IAC3I,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wFAAwF,EAAE;QACzH,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4FAQC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*
|
|
7
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
8
|
+
*
|
|
9
|
+
* Reads a single user by its internal ID, using a workspace-scoped provider.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Example usage:
|
|
14
|
+
*
|
|
15
|
+
* Look up a user by its internal ID, using a workspace-scoped provider.
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = databricks.getWorkspaceIamUserV2({
|
|
22
|
+
* userId: "123456789",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function getWorkspaceIamUserV2(args: GetWorkspaceIamUserV2Args, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceIamUserV2Result>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getWorkspaceIamUserV2.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetWorkspaceIamUserV2Args {
|
|
31
|
+
/**
|
|
32
|
+
* Configure the provider for management through account provider.
|
|
33
|
+
*/
|
|
34
|
+
providerConfig?: inputs.GetWorkspaceIamUserV2ProviderConfig;
|
|
35
|
+
/**
|
|
36
|
+
* Internal userId of the user in Databricks
|
|
37
|
+
*/
|
|
38
|
+
userId: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A collection of values returned by getWorkspaceIamUserV2.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetWorkspaceIamUserV2Result {
|
|
44
|
+
/**
|
|
45
|
+
* (string) - The accountId parent of the user in Databricks
|
|
46
|
+
*/
|
|
47
|
+
readonly accountId: string;
|
|
48
|
+
/**
|
|
49
|
+
* (string) - The activity status of a user in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
|
|
50
|
+
*/
|
|
51
|
+
readonly accountUserStatus: string;
|
|
52
|
+
/**
|
|
53
|
+
* (string) - ExternalId of the user in the customer's IdP
|
|
54
|
+
*/
|
|
55
|
+
readonly externalId: string;
|
|
56
|
+
/**
|
|
57
|
+
* (UserFullName)
|
|
58
|
+
*/
|
|
59
|
+
readonly fullName: outputs.GetWorkspaceIamUserV2FullName;
|
|
60
|
+
readonly providerConfig?: outputs.GetWorkspaceIamUserV2ProviderConfig;
|
|
61
|
+
/**
|
|
62
|
+
* (string) - Internal userId of the user in Databricks
|
|
63
|
+
*/
|
|
64
|
+
readonly userId: string;
|
|
65
|
+
/**
|
|
66
|
+
* (string) - Username/email of the user
|
|
67
|
+
*/
|
|
68
|
+
readonly username: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
72
|
+
*
|
|
73
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
74
|
+
*
|
|
75
|
+
* Reads a single user by its internal ID, using a workspace-scoped provider.
|
|
76
|
+
*
|
|
77
|
+
* ## Example Usage
|
|
78
|
+
*
|
|
79
|
+
* Example usage:
|
|
80
|
+
*
|
|
81
|
+
* Look up a user by its internal ID, using a workspace-scoped provider.
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as databricks from "@pulumi/databricks";
|
|
86
|
+
*
|
|
87
|
+
* const _this = databricks.getWorkspaceIamUserV2({
|
|
88
|
+
* userId: "123456789",
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
export declare function getWorkspaceIamUserV2Output(args: GetWorkspaceIamUserV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceIamUserV2Result>;
|
|
93
|
+
/**
|
|
94
|
+
* A collection of arguments for invoking getWorkspaceIamUserV2.
|
|
95
|
+
*/
|
|
96
|
+
export interface GetWorkspaceIamUserV2OutputArgs {
|
|
97
|
+
/**
|
|
98
|
+
* Configure the provider for management through account provider.
|
|
99
|
+
*/
|
|
100
|
+
providerConfig?: pulumi.Input<inputs.GetWorkspaceIamUserV2ProviderConfigArgs | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Internal userId of the user in Databricks
|
|
103
|
+
*/
|
|
104
|
+
userId: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=getWorkspaceIamUserV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspaceIamUserV2.d.ts","sourceRoot":"","sources":["../getWorkspaceIamUserV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAMxI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,mCAAmC,CAAC;IAC5D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,6BAA6B,CAAC;IACzD,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,mCAAmC,CAAC;IACtE;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAMhK;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uCAAuC,GAAG,SAAS,CAAC,CAAC;IAC1F;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getWorkspaceIamUserV2Output = exports.getWorkspaceIamUserV2 = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
35
|
+
*
|
|
36
|
+
* Reads a single user by its internal ID, using a workspace-scoped provider.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Example usage:
|
|
41
|
+
*
|
|
42
|
+
* Look up a user by its internal ID, using a workspace-scoped provider.
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const _this = databricks.getWorkspaceIamUserV2({
|
|
49
|
+
* userId: "123456789",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getWorkspaceIamUserV2(args, opts) {
|
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
55
|
+
return pulumi.runtime.invoke("databricks:index/getWorkspaceIamUserV2:getWorkspaceIamUserV2", {
|
|
56
|
+
"providerConfig": args.providerConfig,
|
|
57
|
+
"userId": args.userId,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getWorkspaceIamUserV2 = getWorkspaceIamUserV2;
|
|
61
|
+
/**
|
|
62
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
63
|
+
*
|
|
64
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
65
|
+
*
|
|
66
|
+
* Reads a single user by its internal ID, using a workspace-scoped provider.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* Example usage:
|
|
71
|
+
*
|
|
72
|
+
* Look up a user by its internal ID, using a workspace-scoped provider.
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as databricks from "@pulumi/databricks";
|
|
77
|
+
*
|
|
78
|
+
* const _this = databricks.getWorkspaceIamUserV2({
|
|
79
|
+
* userId: "123456789",
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
function getWorkspaceIamUserV2Output(args, opts) {
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
85
|
+
return pulumi.runtime.invokeOutput("databricks:index/getWorkspaceIamUserV2:getWorkspaceIamUserV2", {
|
|
86
|
+
"providerConfig": args.providerConfig,
|
|
87
|
+
"userId": args.userId,
|
|
88
|
+
}, opts);
|
|
89
|
+
}
|
|
90
|
+
exports.getWorkspaceIamUserV2Output = getWorkspaceIamUserV2Output;
|
|
91
|
+
//# sourceMappingURL=getWorkspaceIamUserV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspaceIamUserV2.js","sourceRoot":"","sources":["../getWorkspaceIamUserV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA8CD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*
|
|
7
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
8
|
+
*
|
|
9
|
+
* Lists the users visible to a workspace, using a workspace-scoped provider.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Example usage:
|
|
14
|
+
*
|
|
15
|
+
* List all users visible to the workspace, using a workspace-scoped provider.
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = databricks.getWorkspaceIamUsersV2({});
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getWorkspaceIamUsersV2(args?: GetWorkspaceIamUsersV2Args, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceIamUsersV2Result>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getWorkspaceIamUsersV2.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetWorkspaceIamUsersV2Args {
|
|
29
|
+
/**
|
|
30
|
+
* Optional. Allows filtering users by username or external id
|
|
31
|
+
*/
|
|
32
|
+
filter?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The maximum number of users to return. The service may return fewer than this value
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Configure the provider for management through account provider.
|
|
39
|
+
*/
|
|
40
|
+
providerConfig?: inputs.GetWorkspaceIamUsersV2ProviderConfig;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A collection of values returned by getWorkspaceIamUsersV2.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetWorkspaceIamUsersV2Result {
|
|
46
|
+
readonly filter?: string;
|
|
47
|
+
readonly pageSize?: number;
|
|
48
|
+
readonly providerConfig?: outputs.GetWorkspaceIamUsersV2ProviderConfig;
|
|
49
|
+
readonly users: outputs.GetWorkspaceIamUsersV2User[];
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
53
|
+
*
|
|
54
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
55
|
+
*
|
|
56
|
+
* Lists the users visible to a workspace, using a workspace-scoped provider.
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* Example usage:
|
|
61
|
+
*
|
|
62
|
+
* List all users visible to the workspace, using a workspace-scoped provider.
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as databricks from "@pulumi/databricks";
|
|
67
|
+
*
|
|
68
|
+
* const _this = databricks.getWorkspaceIamUsersV2({});
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export declare function getWorkspaceIamUsersV2Output(args?: GetWorkspaceIamUsersV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceIamUsersV2Result>;
|
|
72
|
+
/**
|
|
73
|
+
* A collection of arguments for invoking getWorkspaceIamUsersV2.
|
|
74
|
+
*/
|
|
75
|
+
export interface GetWorkspaceIamUsersV2OutputArgs {
|
|
76
|
+
/**
|
|
77
|
+
* Optional. Allows filtering users by username or external id
|
|
78
|
+
*/
|
|
79
|
+
filter?: pulumi.Input<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* The maximum number of users to return. The service may return fewer than this value
|
|
82
|
+
*/
|
|
83
|
+
pageSize?: pulumi.Input<number | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Configure the provider for management through account provider.
|
|
86
|
+
*/
|
|
87
|
+
providerConfig?: pulumi.Input<inputs.GetWorkspaceIamUsersV2ProviderConfigArgs | undefined>;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=getWorkspaceIamUsersV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspaceIamUsersV2.d.ts","sourceRoot":"","sources":["../getWorkspaceIamUsersV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAQ5I;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,oCAAoC,CAAC;CAChE;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oCAAoC,CAAC;IACvE,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,0BAA0B,EAAE,CAAC;CACxD;AACD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,CAAC,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAQpK;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wCAAwC,GAAG,SAAS,CAAC,CAAC;CAC9F"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getWorkspaceIamUsersV2Output = exports.getWorkspaceIamUsersV2 = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
35
|
+
*
|
|
36
|
+
* Lists the users visible to a workspace, using a workspace-scoped provider.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Example usage:
|
|
41
|
+
*
|
|
42
|
+
* List all users visible to the workspace, using a workspace-scoped provider.
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const _this = databricks.getWorkspaceIamUsersV2({});
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function getWorkspaceIamUsersV2(args, opts) {
|
|
52
|
+
args = args || {};
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("databricks:index/getWorkspaceIamUsersV2:getWorkspaceIamUsersV2", {
|
|
55
|
+
"filter": args.filter,
|
|
56
|
+
"pageSize": args.pageSize,
|
|
57
|
+
"providerConfig": args.providerConfig,
|
|
58
|
+
}, opts);
|
|
59
|
+
}
|
|
60
|
+
exports.getWorkspaceIamUsersV2 = getWorkspaceIamUsersV2;
|
|
61
|
+
/**
|
|
62
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
63
|
+
*
|
|
64
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
65
|
+
*
|
|
66
|
+
* Lists the users visible to a workspace, using a workspace-scoped provider.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* Example usage:
|
|
71
|
+
*
|
|
72
|
+
* List all users visible to the workspace, using a workspace-scoped provider.
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as databricks from "@pulumi/databricks";
|
|
77
|
+
*
|
|
78
|
+
* const _this = databricks.getWorkspaceIamUsersV2({});
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
function getWorkspaceIamUsersV2Output(args, opts) {
|
|
82
|
+
args = args || {};
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
84
|
+
return pulumi.runtime.invokeOutput("databricks:index/getWorkspaceIamUsersV2:getWorkspaceIamUsersV2", {
|
|
85
|
+
"filter": args.filter,
|
|
86
|
+
"pageSize": args.pageSize,
|
|
87
|
+
"providerConfig": args.providerConfig,
|
|
88
|
+
}, opts);
|
|
89
|
+
}
|
|
90
|
+
exports.getWorkspaceIamUsersV2Output = getWorkspaceIamUsersV2Output;
|
|
91
|
+
//# sourceMappingURL=getWorkspaceIamUsersV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspaceIamUsersV2.js","sourceRoot":"","sources":["../getWorkspaceIamUsersV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC;AA6BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAAiC;IACnH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*
|
|
7
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
8
|
+
*
|
|
9
|
+
* Reads a single workspace assignment, scoped to the workspace, identified by principal ID.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Example usage:
|
|
14
|
+
*
|
|
15
|
+
* Look up a single workspace assignment by principal ID, using a workspace-scoped
|
|
16
|
+
* provider (the workspace is taken from the provider context).
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as databricks from "@pulumi/databricks";
|
|
21
|
+
*
|
|
22
|
+
* const _this = databricks.getWorkspaceIamWorkspaceAssignmentV2({
|
|
23
|
+
* principalId: "987654321",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare function getWorkspaceIamWorkspaceAssignmentV2(args: GetWorkspaceIamWorkspaceAssignmentV2Args, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceIamWorkspaceAssignmentV2Result>;
|
|
28
|
+
/**
|
|
29
|
+
* A collection of arguments for invoking getWorkspaceIamWorkspaceAssignmentV2.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetWorkspaceIamWorkspaceAssignmentV2Args {
|
|
32
|
+
/**
|
|
33
|
+
* The internal ID of the principal (user/sp/group) in Databricks
|
|
34
|
+
*/
|
|
35
|
+
principalId: string;
|
|
36
|
+
/**
|
|
37
|
+
* Configure the provider for management through account provider.
|
|
38
|
+
*/
|
|
39
|
+
providerConfig?: inputs.GetWorkspaceIamWorkspaceAssignmentV2ProviderConfig;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A collection of values returned by getWorkspaceIamWorkspaceAssignmentV2.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetWorkspaceIamWorkspaceAssignmentV2Result {
|
|
45
|
+
/**
|
|
46
|
+
* (string) - The account ID parent of the workspace where the principal is assigned
|
|
47
|
+
*/
|
|
48
|
+
readonly accountId: string;
|
|
49
|
+
/**
|
|
50
|
+
* (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through
|
|
51
|
+
* group membership. Get responses populate this field. List responses leave it empty
|
|
52
|
+
*/
|
|
53
|
+
readonly effectiveEntitlements: string[];
|
|
54
|
+
/**
|
|
55
|
+
* (list of string) - Entitlements granted directly to the principal on this workspace. This is the only
|
|
56
|
+
* client-settable field. Create and update manage exactly this set, including entitlements the
|
|
57
|
+
* principal also holds through a group.
|
|
58
|
+
* List responses leave this field empty. Get a single principal to read its entitlements
|
|
59
|
+
*/
|
|
60
|
+
readonly entitlements: string[];
|
|
61
|
+
/**
|
|
62
|
+
* (integer) - The internal ID of the principal (user/sp/group) in Databricks
|
|
63
|
+
*/
|
|
64
|
+
readonly principalId: string;
|
|
65
|
+
/**
|
|
66
|
+
* (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
|
|
67
|
+
*/
|
|
68
|
+
readonly principalType: string;
|
|
69
|
+
readonly providerConfig?: outputs.GetWorkspaceIamWorkspaceAssignmentV2ProviderConfig;
|
|
70
|
+
/**
|
|
71
|
+
* (integer) - The workspace ID where the principal is assigned
|
|
72
|
+
*/
|
|
73
|
+
readonly workspaceId: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
77
|
+
*
|
|
78
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
|
|
79
|
+
*
|
|
80
|
+
* Reads a single workspace assignment, scoped to the workspace, identified by principal ID.
|
|
81
|
+
*
|
|
82
|
+
* ## Example Usage
|
|
83
|
+
*
|
|
84
|
+
* Example usage:
|
|
85
|
+
*
|
|
86
|
+
* Look up a single workspace assignment by principal ID, using a workspace-scoped
|
|
87
|
+
* provider (the workspace is taken from the provider context).
|
|
88
|
+
*
|
|
89
|
+
* ```typescript
|
|
90
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
91
|
+
* import * as databricks from "@pulumi/databricks";
|
|
92
|
+
*
|
|
93
|
+
* const _this = databricks.getWorkspaceIamWorkspaceAssignmentV2({
|
|
94
|
+
* principalId: "987654321",
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export declare function getWorkspaceIamWorkspaceAssignmentV2Output(args: GetWorkspaceIamWorkspaceAssignmentV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceIamWorkspaceAssignmentV2Result>;
|
|
99
|
+
/**
|
|
100
|
+
* A collection of arguments for invoking getWorkspaceIamWorkspaceAssignmentV2.
|
|
101
|
+
*/
|
|
102
|
+
export interface GetWorkspaceIamWorkspaceAssignmentV2OutputArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The internal ID of the principal (user/sp/group) in Databricks
|
|
105
|
+
*/
|
|
106
|
+
principalId: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Configure the provider for management through account provider.
|
|
109
|
+
*/
|
|
110
|
+
providerConfig?: pulumi.Input<inputs.GetWorkspaceIamWorkspaceAssignmentV2ProviderConfigArgs | undefined>;
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=getWorkspaceIamWorkspaceAssignmentV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspaceIamWorkspaceAssignmentV2.d.ts","sourceRoot":"","sources":["../getWorkspaceIamWorkspaceAssignmentV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,wCAAwC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0CAA0C,CAAC,CAMrL;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,kDAAkD,CAAC;CAC9E;AAED;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,qBAAqB,EAAE,MAAM,EAAE,CAAC;IACzC;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,kDAAkD,CAAC;IACrF;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AACD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,8CAA8C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0CAA0C,CAAC,CAM7M;AAED;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sDAAsD,GAAG,SAAS,CAAC,CAAC;CAC5G"}
|