@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,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
5
|
+
*
|
|
6
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
7
|
+
*
|
|
8
|
+
* Lists the service principals in an account.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* Example usage:
|
|
13
|
+
*
|
|
14
|
+
* List all account service principals.
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as databricks from "@pulumi/databricks";
|
|
19
|
+
*
|
|
20
|
+
* const _this = databricks.getAccountIamServicePrincipalsV2({});
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getAccountIamServicePrincipalsV2(args?: GetAccountIamServicePrincipalsV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamServicePrincipalsV2Result>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getAccountIamServicePrincipalsV2.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetAccountIamServicePrincipalsV2Args {
|
|
28
|
+
/**
|
|
29
|
+
* Optional. Allows filtering service principals by application id or external id
|
|
30
|
+
*/
|
|
31
|
+
filter?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The maximum number of service principals to return. The service may return fewer than this value
|
|
34
|
+
*/
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getAccountIamServicePrincipalsV2.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetAccountIamServicePrincipalsV2Result {
|
|
41
|
+
readonly filter?: string;
|
|
42
|
+
readonly pageSize?: number;
|
|
43
|
+
readonly servicePrincipals: outputs.GetAccountIamServicePrincipalsV2ServicePrincipal[];
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
47
|
+
*
|
|
48
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
49
|
+
*
|
|
50
|
+
* Lists the service principals in an account.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* Example usage:
|
|
55
|
+
*
|
|
56
|
+
* List all account service principals.
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as databricks from "@pulumi/databricks";
|
|
61
|
+
*
|
|
62
|
+
* const _this = databricks.getAccountIamServicePrincipalsV2({});
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function getAccountIamServicePrincipalsV2Output(args?: GetAccountIamServicePrincipalsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamServicePrincipalsV2Result>;
|
|
66
|
+
/**
|
|
67
|
+
* A collection of arguments for invoking getAccountIamServicePrincipalsV2.
|
|
68
|
+
*/
|
|
69
|
+
export interface GetAccountIamServicePrincipalsV2OutputArgs {
|
|
70
|
+
/**
|
|
71
|
+
* Optional. Allows filtering service principals by application id or external id
|
|
72
|
+
*/
|
|
73
|
+
filter?: pulumi.Input<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The maximum number of service principals to return. The service may return fewer than this value
|
|
76
|
+
*/
|
|
77
|
+
pageSize?: pulumi.Input<number | undefined>;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=getAccountIamServicePrincipalsV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountIamServicePrincipalsV2.d.ts","sourceRoot":"","sources":["../getAccountIamServicePrincipalsV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,CAAC,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,sCAAsC,CAAC,CAO1K;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,gDAAgD,EAAE,CAAC;CAC1F;AACD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,sCAAsC,CAAC,IAAI,CAAC,EAAE,0CAA0C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,sCAAsC,CAAC,CAOlM;AAED;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;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;CAC/C"}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.getAccountIamServicePrincipalsV2Output = exports.getAccountIamServicePrincipalsV2 = 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/account/iamv2)
|
|
35
|
+
*
|
|
36
|
+
* Lists the service principals in an account.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Example usage:
|
|
41
|
+
*
|
|
42
|
+
* List all account service principals.
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const _this = databricks.getAccountIamServicePrincipalsV2({});
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function getAccountIamServicePrincipalsV2(args, opts) {
|
|
52
|
+
args = args || {};
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("databricks:index/getAccountIamServicePrincipalsV2:getAccountIamServicePrincipalsV2", {
|
|
55
|
+
"filter": args.filter,
|
|
56
|
+
"pageSize": args.pageSize,
|
|
57
|
+
}, opts);
|
|
58
|
+
}
|
|
59
|
+
exports.getAccountIamServicePrincipalsV2 = getAccountIamServicePrincipalsV2;
|
|
60
|
+
/**
|
|
61
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
62
|
+
*
|
|
63
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
64
|
+
*
|
|
65
|
+
* Lists the service principals in an account.
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* Example usage:
|
|
70
|
+
*
|
|
71
|
+
* List all account service principals.
|
|
72
|
+
*
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as databricks from "@pulumi/databricks";
|
|
76
|
+
*
|
|
77
|
+
* const _this = databricks.getAccountIamServicePrincipalsV2({});
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
function getAccountIamServicePrincipalsV2Output(args, opts) {
|
|
81
|
+
args = args || {};
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
83
|
+
return pulumi.runtime.invokeOutput("databricks:index/getAccountIamServicePrincipalsV2:getAccountIamServicePrincipalsV2", {
|
|
84
|
+
"filter": args.filter,
|
|
85
|
+
"pageSize": args.pageSize,
|
|
86
|
+
}, opts);
|
|
87
|
+
}
|
|
88
|
+
exports.getAccountIamServicePrincipalsV2Output = getAccountIamServicePrincipalsV2Output;
|
|
89
|
+
//# sourceMappingURL=getAccountIamServicePrincipalsV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountIamServicePrincipalsV2.js","sourceRoot":"","sources":["../getAccountIamServicePrincipalsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,gCAAgC,CAAC,IAA2C,EAAE,IAA2B;IACrH,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,oFAAoF,EAAE;QAC/G,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC;AAwBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,sCAAsC,CAAC,IAAiD,EAAE,IAAiC;IACvI,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,oFAAoF,EAAE;QACrH,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wFAOC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
5
|
+
*
|
|
6
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
7
|
+
*
|
|
8
|
+
* Reads a single account user by its internal ID.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* Example usage:
|
|
13
|
+
*
|
|
14
|
+
* Look up an account user by its internal ID.
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as databricks from "@pulumi/databricks";
|
|
19
|
+
*
|
|
20
|
+
* const _this = databricks.getAccountIamUserV2({
|
|
21
|
+
* userId: "123456789",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getAccountIamUserV2(args: GetAccountIamUserV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamUserV2Result>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getAccountIamUserV2.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetAccountIamUserV2Args {
|
|
30
|
+
/**
|
|
31
|
+
* Internal userId of the user in Databricks
|
|
32
|
+
*/
|
|
33
|
+
userId: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getAccountIamUserV2.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetAccountIamUserV2Result {
|
|
39
|
+
/**
|
|
40
|
+
* (string) - The accountId parent of the user in Databricks
|
|
41
|
+
*/
|
|
42
|
+
readonly accountId: string;
|
|
43
|
+
/**
|
|
44
|
+
* (string) - The activity status of a user in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
|
|
45
|
+
*/
|
|
46
|
+
readonly accountUserStatus: string;
|
|
47
|
+
/**
|
|
48
|
+
* (string) - ExternalId of the user in the customer's IdP
|
|
49
|
+
*/
|
|
50
|
+
readonly externalId: string;
|
|
51
|
+
/**
|
|
52
|
+
* (UserFullName)
|
|
53
|
+
*/
|
|
54
|
+
readonly fullName: outputs.GetAccountIamUserV2FullName;
|
|
55
|
+
/**
|
|
56
|
+
* (string) - Internal userId of the user in Databricks
|
|
57
|
+
*/
|
|
58
|
+
readonly userId: string;
|
|
59
|
+
/**
|
|
60
|
+
* (string) - Username/email of the user
|
|
61
|
+
*/
|
|
62
|
+
readonly username: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
66
|
+
*
|
|
67
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
68
|
+
*
|
|
69
|
+
* Reads a single account user by its internal ID.
|
|
70
|
+
*
|
|
71
|
+
* ## Example Usage
|
|
72
|
+
*
|
|
73
|
+
* Example usage:
|
|
74
|
+
*
|
|
75
|
+
* Look up an account user by its internal ID.
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as databricks from "@pulumi/databricks";
|
|
80
|
+
*
|
|
81
|
+
* const _this = databricks.getAccountIamUserV2({
|
|
82
|
+
* userId: "123456789",
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare function getAccountIamUserV2Output(args: GetAccountIamUserV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamUserV2Result>;
|
|
87
|
+
/**
|
|
88
|
+
* A collection of arguments for invoking getAccountIamUserV2.
|
|
89
|
+
*/
|
|
90
|
+
export interface GetAccountIamUserV2OutputArgs {
|
|
91
|
+
/**
|
|
92
|
+
* Internal userId of the user in Databricks
|
|
93
|
+
*/
|
|
94
|
+
userId: pulumi.Input<string>;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=getAccountIamUserV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountIamUserV2.d.ts","sourceRoot":"","sources":["../getAccountIamUserV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAKlI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;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,2BAA2B,CAAC;IACvD;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAK1J;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.getAccountIamUserV2Output = exports.getAccountIamUserV2 = 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/account/iamv2)
|
|
35
|
+
*
|
|
36
|
+
* Reads a single account user by its internal ID.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Example usage:
|
|
41
|
+
*
|
|
42
|
+
* Look up an account user by its internal ID.
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const _this = databricks.getAccountIamUserV2({
|
|
49
|
+
* userId: "123456789",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getAccountIamUserV2(args, opts) {
|
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
55
|
+
return pulumi.runtime.invoke("databricks:index/getAccountIamUserV2:getAccountIamUserV2", {
|
|
56
|
+
"userId": args.userId,
|
|
57
|
+
}, opts);
|
|
58
|
+
}
|
|
59
|
+
exports.getAccountIamUserV2 = getAccountIamUserV2;
|
|
60
|
+
/**
|
|
61
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
62
|
+
*
|
|
63
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
64
|
+
*
|
|
65
|
+
* Reads a single account user by its internal ID.
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* Example usage:
|
|
70
|
+
*
|
|
71
|
+
* Look up an account user by its internal ID.
|
|
72
|
+
*
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as databricks from "@pulumi/databricks";
|
|
76
|
+
*
|
|
77
|
+
* const _this = databricks.getAccountIamUserV2({
|
|
78
|
+
* userId: "123456789",
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
function getAccountIamUserV2Output(args, opts) {
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
84
|
+
return pulumi.runtime.invokeOutput("databricks:index/getAccountIamUserV2:getAccountIamUserV2", {
|
|
85
|
+
"userId": args.userId,
|
|
86
|
+
}, opts);
|
|
87
|
+
}
|
|
88
|
+
exports.getAccountIamUserV2Output = getAccountIamUserV2Output;
|
|
89
|
+
//# sourceMappingURL=getAccountIamUserV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountIamUserV2.js","sourceRoot":"","sources":["../getAccountIamUserV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAyCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
5
|
+
*
|
|
6
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
7
|
+
*
|
|
8
|
+
* Lists the users in an account.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* Example usage:
|
|
13
|
+
*
|
|
14
|
+
* List all account users.
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as databricks from "@pulumi/databricks";
|
|
19
|
+
*
|
|
20
|
+
* const _this = databricks.getAccountIamUsersV2({});
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getAccountIamUsersV2(args?: GetAccountIamUsersV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamUsersV2Result>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getAccountIamUsersV2.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetAccountIamUsersV2Args {
|
|
28
|
+
/**
|
|
29
|
+
* Optional. Allows filtering users by username or external id
|
|
30
|
+
*/
|
|
31
|
+
filter?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The maximum number of users to return. The service may return fewer than this value
|
|
34
|
+
*/
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getAccountIamUsersV2.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetAccountIamUsersV2Result {
|
|
41
|
+
readonly filter?: string;
|
|
42
|
+
readonly pageSize?: number;
|
|
43
|
+
readonly users: outputs.GetAccountIamUsersV2User[];
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
47
|
+
*
|
|
48
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
49
|
+
*
|
|
50
|
+
* Lists the users in an account.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* Example usage:
|
|
55
|
+
*
|
|
56
|
+
* List all account users.
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as databricks from "@pulumi/databricks";
|
|
61
|
+
*
|
|
62
|
+
* const _this = databricks.getAccountIamUsersV2({});
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function getAccountIamUsersV2Output(args?: GetAccountIamUsersV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamUsersV2Result>;
|
|
66
|
+
/**
|
|
67
|
+
* A collection of arguments for invoking getAccountIamUsersV2.
|
|
68
|
+
*/
|
|
69
|
+
export interface GetAccountIamUsersV2OutputArgs {
|
|
70
|
+
/**
|
|
71
|
+
* Optional. Allows filtering users by username or external id
|
|
72
|
+
*/
|
|
73
|
+
filter?: pulumi.Input<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The maximum number of users to return. The service may return fewer than this value
|
|
76
|
+
*/
|
|
77
|
+
pageSize?: pulumi.Input<number | undefined>;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=getAccountIamUsersV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountIamUsersV2.d.ts","sourceRoot":"","sources":["../getAccountIamUsersV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAOtI;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,wBAAwB,EAAE,CAAC;CACtD;AACD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAO9J;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;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;CAC/C"}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.getAccountIamUsersV2Output = exports.getAccountIamUsersV2 = 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/account/iamv2)
|
|
35
|
+
*
|
|
36
|
+
* Lists the users in an account.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Example usage:
|
|
41
|
+
*
|
|
42
|
+
* List all account users.
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const _this = databricks.getAccountIamUsersV2({});
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function getAccountIamUsersV2(args, opts) {
|
|
52
|
+
args = args || {};
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invoke("databricks:index/getAccountIamUsersV2:getAccountIamUsersV2", {
|
|
55
|
+
"filter": args.filter,
|
|
56
|
+
"pageSize": args.pageSize,
|
|
57
|
+
}, opts);
|
|
58
|
+
}
|
|
59
|
+
exports.getAccountIamUsersV2 = getAccountIamUsersV2;
|
|
60
|
+
/**
|
|
61
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
62
|
+
*
|
|
63
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
64
|
+
*
|
|
65
|
+
* Lists the users in an account.
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* Example usage:
|
|
70
|
+
*
|
|
71
|
+
* List all account users.
|
|
72
|
+
*
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as databricks from "@pulumi/databricks";
|
|
76
|
+
*
|
|
77
|
+
* const _this = databricks.getAccountIamUsersV2({});
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
function getAccountIamUsersV2Output(args, opts) {
|
|
81
|
+
args = args || {};
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
83
|
+
return pulumi.runtime.invokeOutput("databricks:index/getAccountIamUsersV2:getAccountIamUsersV2", {
|
|
84
|
+
"filter": args.filter,
|
|
85
|
+
"pageSize": args.pageSize,
|
|
86
|
+
}, opts);
|
|
87
|
+
}
|
|
88
|
+
exports.getAccountIamUsersV2Output = getAccountIamUsersV2Output;
|
|
89
|
+
//# sourceMappingURL=getAccountIamUsersV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountIamUsersV2.js","sourceRoot":"","sources":["../getAccountIamUsersV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,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,4DAA4D,EAAE;QACvF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAwBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAAiC;IAC/G,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,4DAA4D,EAAE;QAC7F,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
4
|
+
*
|
|
5
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
6
|
+
*
|
|
7
|
+
* Reads a single workspace assignment for an account principal, identified by workspace and principal ID.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* Example usage:
|
|
12
|
+
*
|
|
13
|
+
* Look up a single workspace assignment by workspace and principal ID.
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const _this = databricks.getAccountIamWorkspaceAssignmentV2({
|
|
20
|
+
* workspaceId: "123456789",
|
|
21
|
+
* principalId: "987654321",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getAccountIamWorkspaceAssignmentV2(args: GetAccountIamWorkspaceAssignmentV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamWorkspaceAssignmentV2Result>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getAccountIamWorkspaceAssignmentV2.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetAccountIamWorkspaceAssignmentV2Args {
|
|
30
|
+
/**
|
|
31
|
+
* The internal ID of the principal (user/sp/group) in Databricks
|
|
32
|
+
*/
|
|
33
|
+
principalId: string;
|
|
34
|
+
/**
|
|
35
|
+
* The workspace ID where the principal is assigned
|
|
36
|
+
*/
|
|
37
|
+
workspaceId: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getAccountIamWorkspaceAssignmentV2.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetAccountIamWorkspaceAssignmentV2Result {
|
|
43
|
+
/**
|
|
44
|
+
* (string) - The account ID parent of the workspace where the principal is assigned
|
|
45
|
+
*/
|
|
46
|
+
readonly accountId: string;
|
|
47
|
+
/**
|
|
48
|
+
* (list of string) - Every entitlement the principal holds in this workspace, whether granted directly or through
|
|
49
|
+
* group membership. Get responses populate this field. List responses leave it empty
|
|
50
|
+
*/
|
|
51
|
+
readonly effectiveEntitlements: string[];
|
|
52
|
+
/**
|
|
53
|
+
* (list of string) - Entitlements granted directly to the principal on this workspace. This is the only
|
|
54
|
+
* client-settable field. Create and update manage exactly this set, including entitlements the
|
|
55
|
+
* principal also holds through a group.
|
|
56
|
+
* List responses leave this field empty. Get a single principal to read its entitlements
|
|
57
|
+
*/
|
|
58
|
+
readonly entitlements: string[];
|
|
59
|
+
/**
|
|
60
|
+
* (integer) - The internal ID of the principal (user/sp/group) in Databricks
|
|
61
|
+
*/
|
|
62
|
+
readonly principalId: string;
|
|
63
|
+
/**
|
|
64
|
+
* (string) - The type of the principal (user/service principal/group) that is assigned. Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
|
|
65
|
+
*/
|
|
66
|
+
readonly principalType: string;
|
|
67
|
+
/**
|
|
68
|
+
* (integer) - The workspace ID where the principal is assigned
|
|
69
|
+
*/
|
|
70
|
+
readonly workspaceId: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
74
|
+
*
|
|
75
|
+
* [API Documentation](https://docs.databricks.com/api/account/iamv2)
|
|
76
|
+
*
|
|
77
|
+
* Reads a single workspace assignment for an account principal, identified by workspace and principal ID.
|
|
78
|
+
*
|
|
79
|
+
* ## Example Usage
|
|
80
|
+
*
|
|
81
|
+
* Example usage:
|
|
82
|
+
*
|
|
83
|
+
* Look up a single workspace assignment by workspace and principal ID.
|
|
84
|
+
*
|
|
85
|
+
* ```typescript
|
|
86
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
87
|
+
* import * as databricks from "@pulumi/databricks";
|
|
88
|
+
*
|
|
89
|
+
* const _this = databricks.getAccountIamWorkspaceAssignmentV2({
|
|
90
|
+
* workspaceId: "123456789",
|
|
91
|
+
* principalId: "987654321",
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function getAccountIamWorkspaceAssignmentV2Output(args: GetAccountIamWorkspaceAssignmentV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamWorkspaceAssignmentV2Result>;
|
|
96
|
+
/**
|
|
97
|
+
* A collection of arguments for invoking getAccountIamWorkspaceAssignmentV2.
|
|
98
|
+
*/
|
|
99
|
+
export interface GetAccountIamWorkspaceAssignmentV2OutputArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The internal ID of the principal (user/sp/group) in Databricks
|
|
102
|
+
*/
|
|
103
|
+
principalId: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The workspace ID where the principal is assigned
|
|
106
|
+
*/
|
|
107
|
+
workspaceId: pulumi.Input<string>;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=getAccountIamWorkspaceAssignmentV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountIamWorkspaceAssignmentV2.d.ts","sourceRoot":"","sources":["../getAccountIamWorkspaceAssignmentV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAM/K;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;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;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AACD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,4CAA4C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wCAAwC,CAAC,CAMvM;AAED;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
|