@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,133 @@
|
|
|
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
|
+
* Manages a direct membership of a principal (user, service principal, or group) in a group, scoped to a workspace. Creating the resource adds the member; deleting it removes the member. Membership is immutable — changing the group or principal replaces the resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Example usage:
|
|
14
|
+
*
|
|
15
|
+
* Adds a principal as a direct member of a group, using a workspace-scoped
|
|
16
|
+
* provider. `groupId` and `principalId` are the internal Databricks IDs of the
|
|
17
|
+
* group and the member. Membership is immutable — changing either field replaces
|
|
18
|
+
* the resource.
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as databricks from "@pulumi/databricks";
|
|
23
|
+
*
|
|
24
|
+
* const _this = new databricks.WorkspaceIamDirectGroupMemberV2("this", {
|
|
25
|
+
* groupId: 123456789,
|
|
26
|
+
* principalId: "987654321",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class WorkspaceIamDirectGroupMemberV2 extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing WorkspaceIamDirectGroupMemberV2 resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceIamDirectGroupMemberV2State, opts?: pulumi.CustomResourceOptions): WorkspaceIamDirectGroupMemberV2;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of WorkspaceIamDirectGroupMemberV2. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is WorkspaceIamDirectGroupMemberV2;
|
|
46
|
+
/**
|
|
47
|
+
* (string) - Display name of the principal
|
|
48
|
+
*/
|
|
49
|
+
readonly displayName: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* (string) - The external ID of the principal in Databricks
|
|
52
|
+
*/
|
|
53
|
+
readonly externalId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* (integer) - The internal ID of the group this member belongs to
|
|
56
|
+
*/
|
|
57
|
+
readonly groupId: pulumi.Output<number>;
|
|
58
|
+
/**
|
|
59
|
+
* (string) - The source of group membership (internal or from identity provider). Possible values are: `IDENTITY_PROVIDER`, `INTERNAL`
|
|
60
|
+
*/
|
|
61
|
+
readonly membershipSource: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Internal ID of the principal in Databricks
|
|
64
|
+
*/
|
|
65
|
+
readonly principalId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* (string) - The type of the principal (user/service principal/group). Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
|
|
68
|
+
*/
|
|
69
|
+
readonly principalType: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Configure the provider for management through account provider.
|
|
72
|
+
*/
|
|
73
|
+
readonly providerConfig: pulumi.Output<outputs.WorkspaceIamDirectGroupMemberV2ProviderConfig>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a WorkspaceIamDirectGroupMemberV2 resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: WorkspaceIamDirectGroupMemberV2Args, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering WorkspaceIamDirectGroupMemberV2 resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface WorkspaceIamDirectGroupMemberV2State {
|
|
87
|
+
/**
|
|
88
|
+
* (string) - Display name of the principal
|
|
89
|
+
*/
|
|
90
|
+
displayName?: pulumi.Input<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* (string) - The external ID of the principal in Databricks
|
|
93
|
+
*/
|
|
94
|
+
externalId?: pulumi.Input<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* (integer) - The internal ID of the group this member belongs to
|
|
97
|
+
*/
|
|
98
|
+
groupId?: pulumi.Input<number | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* (string) - The source of group membership (internal or from identity provider). Possible values are: `IDENTITY_PROVIDER`, `INTERNAL`
|
|
101
|
+
*/
|
|
102
|
+
membershipSource?: pulumi.Input<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Internal ID of the principal in Databricks
|
|
105
|
+
*/
|
|
106
|
+
principalId?: pulumi.Input<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* (string) - The type of the principal (user/service principal/group). Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
|
|
109
|
+
*/
|
|
110
|
+
principalType?: pulumi.Input<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Configure the provider for management through account provider.
|
|
113
|
+
*/
|
|
114
|
+
providerConfig?: pulumi.Input<inputs.WorkspaceIamDirectGroupMemberV2ProviderConfig | undefined>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a WorkspaceIamDirectGroupMemberV2 resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface WorkspaceIamDirectGroupMemberV2Args {
|
|
120
|
+
/**
|
|
121
|
+
* (integer) - The internal ID of the group this member belongs to
|
|
122
|
+
*/
|
|
123
|
+
groupId?: pulumi.Input<number | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* Internal ID of the principal in Databricks
|
|
126
|
+
*/
|
|
127
|
+
principalId: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Configure the provider for management through account provider.
|
|
130
|
+
*/
|
|
131
|
+
providerConfig?: pulumi.Input<inputs.WorkspaceIamDirectGroupMemberV2ProviderConfig | undefined>;
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=workspaceIamDirectGroupMemberV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceIamDirectGroupMemberV2.d.ts","sourceRoot":"","sources":["../workspaceIamDirectGroupMemberV2.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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,q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AAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6CAA6C,GAAG,SAAS,CAAC,CAAC;CACnG;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6CAA6C,GAAG,SAAS,CAAC,CAAC;CACnG"}
|
|
@@ -0,0 +1,113 @@
|
|
|
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.WorkspaceIamDirectGroupMemberV2 = 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
|
+
* Manages a direct membership of a principal (user, service principal, or group) in a group, scoped to a workspace. Creating the resource adds the member; deleting it removes the member. Membership is immutable — changing the group or principal replaces the resource.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* Example usage:
|
|
41
|
+
*
|
|
42
|
+
* Adds a principal as a direct member of a group, using a workspace-scoped
|
|
43
|
+
* provider. `groupId` and `principalId` are the internal Databricks IDs of the
|
|
44
|
+
* group and the member. Membership is immutable — changing either field replaces
|
|
45
|
+
* the resource.
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as databricks from "@pulumi/databricks";
|
|
50
|
+
*
|
|
51
|
+
* const _this = new databricks.WorkspaceIamDirectGroupMemberV2("this", {
|
|
52
|
+
* groupId: 123456789,
|
|
53
|
+
* principalId: "987654321",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class WorkspaceIamDirectGroupMemberV2 extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing WorkspaceIamDirectGroupMemberV2 resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name, id, state, opts) {
|
|
68
|
+
return new WorkspaceIamDirectGroupMemberV2(name, state, { ...opts, id: id });
|
|
69
|
+
}
|
|
70
|
+
/** @internal */
|
|
71
|
+
static __pulumiType = 'databricks:index/workspaceIamDirectGroupMemberV2:WorkspaceIamDirectGroupMemberV2';
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of WorkspaceIamDirectGroupMemberV2. This is designed to work even
|
|
74
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
+
*/
|
|
76
|
+
static isInstance(obj) {
|
|
77
|
+
if (obj === undefined || obj === null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return obj['__pulumiType'] === WorkspaceIamDirectGroupMemberV2.__pulumiType;
|
|
81
|
+
}
|
|
82
|
+
constructor(name, argsOrState, opts) {
|
|
83
|
+
let resourceInputs = {};
|
|
84
|
+
opts = opts || {};
|
|
85
|
+
if (opts.id) {
|
|
86
|
+
const state = argsOrState;
|
|
87
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
88
|
+
resourceInputs["externalId"] = state?.externalId;
|
|
89
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
90
|
+
resourceInputs["membershipSource"] = state?.membershipSource;
|
|
91
|
+
resourceInputs["principalId"] = state?.principalId;
|
|
92
|
+
resourceInputs["principalType"] = state?.principalType;
|
|
93
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
const args = argsOrState;
|
|
97
|
+
if (args?.principalId === undefined && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'principalId'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
101
|
+
resourceInputs["principalId"] = args?.principalId;
|
|
102
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
103
|
+
resourceInputs["displayName"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["externalId"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["membershipSource"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["principalType"] = undefined /*out*/;
|
|
107
|
+
}
|
|
108
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
109
|
+
super(WorkspaceIamDirectGroupMemberV2.__pulumiType, name, resourceInputs, opts);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.WorkspaceIamDirectGroupMemberV2 = WorkspaceIamDirectGroupMemberV2;
|
|
113
|
+
//# sourceMappingURL=workspaceIamDirectGroupMemberV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceIamDirectGroupMemberV2.js","sourceRoot":"","sources":["../workspaceIamDirectGroupMemberV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,gBAAgB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,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA5FL,0EA6FC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
* Manages a group using a workspace-scoped provider. Creating the resource creates the group; deleting it removes the group.
|
|
10
|
+
*
|
|
11
|
+
* When Automatic Identity Management (AIM) is enabled for the account, this resource manages local groups only: a group cannot be created with `externalId` set. Groups that already have an `externalId` can still be read through this resource, but only their `externalId` may be updated — their other fields are sourced from the identity provider.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Example usage:
|
|
16
|
+
*
|
|
17
|
+
* Creates a group using a workspace-scoped provider. When AIM is enabled, the group cannot be created with `externalId` set.
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as databricks from "@pulumi/databricks";
|
|
22
|
+
*
|
|
23
|
+
* const _this = new databricks.WorkspaceIamGroupV2("this", {groupName: "data-engineers"});
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class WorkspaceIamGroupV2 extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing WorkspaceIamGroupV2 resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceIamGroupV2State, opts?: pulumi.CustomResourceOptions): WorkspaceIamGroupV2;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of WorkspaceIamGroupV2. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is WorkspaceIamGroupV2;
|
|
42
|
+
/**
|
|
43
|
+
* (string) - The parent account ID for group in Databricks
|
|
44
|
+
*/
|
|
45
|
+
readonly accountId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* ExternalId of the group in the customer's IdP
|
|
48
|
+
*/
|
|
49
|
+
readonly externalId: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* (string) - Internal group ID of the group in Databricks
|
|
52
|
+
*/
|
|
53
|
+
readonly groupId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Display name of the group
|
|
56
|
+
*/
|
|
57
|
+
readonly groupName: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Configure the provider for management through account provider.
|
|
60
|
+
*/
|
|
61
|
+
readonly providerConfig: pulumi.Output<outputs.WorkspaceIamGroupV2ProviderConfig>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a WorkspaceIamGroupV2 resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args?: WorkspaceIamGroupV2Args, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering WorkspaceIamGroupV2 resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface WorkspaceIamGroupV2State {
|
|
75
|
+
/**
|
|
76
|
+
* (string) - The parent account ID for group in Databricks
|
|
77
|
+
*/
|
|
78
|
+
accountId?: pulumi.Input<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* ExternalId of the group in the customer's IdP
|
|
81
|
+
*/
|
|
82
|
+
externalId?: pulumi.Input<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* (string) - Internal group ID of the group in Databricks
|
|
85
|
+
*/
|
|
86
|
+
groupId?: pulumi.Input<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Display name of the group
|
|
89
|
+
*/
|
|
90
|
+
groupName?: pulumi.Input<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* Configure the provider for management through account provider.
|
|
93
|
+
*/
|
|
94
|
+
providerConfig?: pulumi.Input<inputs.WorkspaceIamGroupV2ProviderConfig | undefined>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a WorkspaceIamGroupV2 resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface WorkspaceIamGroupV2Args {
|
|
100
|
+
/**
|
|
101
|
+
* ExternalId of the group in the customer's IdP
|
|
102
|
+
*/
|
|
103
|
+
externalId?: pulumi.Input<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* Display name of the group
|
|
106
|
+
*/
|
|
107
|
+
groupName?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Configure the provider for management through account provider.
|
|
110
|
+
*/
|
|
111
|
+
providerConfig?: pulumi.Input<inputs.WorkspaceIamGroupV2ProviderConfig | undefined>;
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=workspaceIamGroupV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceIamGroupV2.d.ts","sourceRoot":"","sources":["../workspaceIamGroupV2.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,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAEjG;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBhG;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;CACvF;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;CACvF"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.WorkspaceIamGroupV2 = 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
|
+
* Manages a group using a workspace-scoped provider. Creating the resource creates the group; deleting it removes the group.
|
|
37
|
+
*
|
|
38
|
+
* When Automatic Identity Management (AIM) is enabled for the account, this resource manages local groups only: a group cannot be created with `externalId` set. Groups that already have an `externalId` can still be read through this resource, but only their `externalId` may be updated — their other fields are sourced from the identity provider.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* Example usage:
|
|
43
|
+
*
|
|
44
|
+
* Creates a group using a workspace-scoped provider. When AIM is enabled, the group cannot be created with `externalId` set.
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as databricks from "@pulumi/databricks";
|
|
49
|
+
*
|
|
50
|
+
* const _this = new databricks.WorkspaceIamGroupV2("this", {groupName: "data-engineers"});
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class WorkspaceIamGroupV2 extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing WorkspaceIamGroupV2 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 WorkspaceIamGroupV2(name, state, { ...opts, id: id });
|
|
65
|
+
}
|
|
66
|
+
/** @internal */
|
|
67
|
+
static __pulumiType = 'databricks:index/workspaceIamGroupV2:WorkspaceIamGroupV2';
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of WorkspaceIamGroupV2. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === WorkspaceIamGroupV2.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
constructor(name, argsOrState, opts) {
|
|
79
|
+
let resourceInputs = {};
|
|
80
|
+
opts = opts || {};
|
|
81
|
+
if (opts.id) {
|
|
82
|
+
const state = argsOrState;
|
|
83
|
+
resourceInputs["accountId"] = state?.accountId;
|
|
84
|
+
resourceInputs["externalId"] = state?.externalId;
|
|
85
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
86
|
+
resourceInputs["groupName"] = state?.groupName;
|
|
87
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const args = argsOrState;
|
|
91
|
+
resourceInputs["externalId"] = args?.externalId;
|
|
92
|
+
resourceInputs["groupName"] = args?.groupName;
|
|
93
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
94
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["groupId"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(WorkspaceIamGroupV2.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.WorkspaceIamGroupV2 = WorkspaceIamGroupV2;
|
|
102
|
+
//# sourceMappingURL=workspaceIamGroupV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceIamGroupV2.js","sourceRoot":"","sources":["../workspaceIamGroupV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,E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,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA7EL,kDA8EC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
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
|
+
* Manages a service principal using a workspace-scoped provider. Creating the resource provisions the service principal; deleting it removes the service principal. `applicationId` is immutable — changing it replaces the resource.
|
|
10
|
+
*
|
|
11
|
+
* When Automatic Identity Management (AIM) is enabled for the account, this resource manages local service principals only: a service principal cannot be created with `externalId` set. Service principals that already have an `externalId` can still be read through this resource, but only their `externalId` may be updated — their other fields are sourced from the identity provider.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Example usage:
|
|
16
|
+
*
|
|
17
|
+
* Creates a service principal using a workspace-scoped provider. When AIM is enabled, the service principal cannot be created with `externalId` set.
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as databricks from "@pulumi/databricks";
|
|
22
|
+
*
|
|
23
|
+
* const _this = new databricks.WorkspaceIamServicePrincipalV2("this", {
|
|
24
|
+
* displayName: "ci-runner",
|
|
25
|
+
* accountSpStatus: "ACTIVE",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class WorkspaceIamServicePrincipalV2 extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing WorkspaceIamServicePrincipalV2 resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceIamServicePrincipalV2State, opts?: pulumi.CustomResourceOptions): WorkspaceIamServicePrincipalV2;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of WorkspaceIamServicePrincipalV2. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is WorkspaceIamServicePrincipalV2;
|
|
45
|
+
/**
|
|
46
|
+
* (string) - The parent account ID for the service principal in Databricks
|
|
47
|
+
*/
|
|
48
|
+
readonly accountId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The activity status of a service principal in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
|
|
51
|
+
*/
|
|
52
|
+
readonly accountSpStatus: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* (string) - Application ID of the service principal. Set at creation time and cannot be changed
|
|
55
|
+
* afterwards; when omitted, the server generates one
|
|
56
|
+
*/
|
|
57
|
+
readonly applicationId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Display name of the service principal
|
|
60
|
+
*/
|
|
61
|
+
readonly displayName: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* ExternalId of the service principal in the customer's IdP
|
|
64
|
+
*/
|
|
65
|
+
readonly externalId: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Configure the provider for management through account provider.
|
|
68
|
+
*/
|
|
69
|
+
readonly providerConfig: pulumi.Output<outputs.WorkspaceIamServicePrincipalV2ProviderConfig>;
|
|
70
|
+
/**
|
|
71
|
+
* (string) - Internal service principal ID of the service principal in Databricks
|
|
72
|
+
*/
|
|
73
|
+
readonly servicePrincipalId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a WorkspaceIamServicePrincipalV2 resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: WorkspaceIamServicePrincipalV2Args, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering WorkspaceIamServicePrincipalV2 resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface WorkspaceIamServicePrincipalV2State {
|
|
87
|
+
/**
|
|
88
|
+
* (string) - The parent account ID for the service principal in Databricks
|
|
89
|
+
*/
|
|
90
|
+
accountId?: pulumi.Input<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The activity status of a service principal in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
|
|
93
|
+
*/
|
|
94
|
+
accountSpStatus?: pulumi.Input<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* (string) - Application ID of the service principal. Set at creation time and cannot be changed
|
|
97
|
+
* afterwards; when omitted, the server generates one
|
|
98
|
+
*/
|
|
99
|
+
applicationId?: pulumi.Input<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Display name of the service principal
|
|
102
|
+
*/
|
|
103
|
+
displayName?: pulumi.Input<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* ExternalId of the service principal in the customer's IdP
|
|
106
|
+
*/
|
|
107
|
+
externalId?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Configure the provider for management through account provider.
|
|
110
|
+
*/
|
|
111
|
+
providerConfig?: pulumi.Input<inputs.WorkspaceIamServicePrincipalV2ProviderConfig | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* (string) - Internal service principal ID of the service principal in Databricks
|
|
114
|
+
*/
|
|
115
|
+
servicePrincipalId?: pulumi.Input<string | undefined>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a WorkspaceIamServicePrincipalV2 resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface WorkspaceIamServicePrincipalV2Args {
|
|
121
|
+
/**
|
|
122
|
+
* The activity status of a service principal in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
|
|
123
|
+
*/
|
|
124
|
+
accountSpStatus: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* (string) - Application ID of the service principal. Set at creation time and cannot be changed
|
|
127
|
+
* afterwards; when omitted, the server generates one
|
|
128
|
+
*/
|
|
129
|
+
applicationId?: pulumi.Input<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Display name of the service principal
|
|
132
|
+
*/
|
|
133
|
+
displayName: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* ExternalId of the service principal in the customer's IdP
|
|
136
|
+
*/
|
|
137
|
+
externalId?: pulumi.Input<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* Configure the provider for management through account provider.
|
|
140
|
+
*/
|
|
141
|
+
providerConfig?: pulumi.Input<inputs.WorkspaceIamServicePrincipalV2ProviderConfig | undefined>;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=workspaceIamServicePrincipalV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceIamServicePrincipalV2.d.ts","sourceRoot":"","sources":["../workspaceIamServicePrincipalV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAA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