@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.
Files changed (196) hide show
  1. package/accountIamDirectGroupMemberV2.d.ts +118 -0
  2. package/accountIamDirectGroupMemberV2.d.ts.map +1 -0
  3. package/accountIamDirectGroupMemberV2.js +110 -0
  4. package/accountIamDirectGroupMemberV2.js.map +1 -0
  5. package/accountIamGroupV2.d.ts +99 -0
  6. package/accountIamGroupV2.d.ts.map +1 -0
  7. package/accountIamGroupV2.js +100 -0
  8. package/accountIamGroupV2.js.map +1 -0
  9. package/accountIamServicePrincipalV2.d.ts +129 -0
  10. package/accountIamServicePrincipalV2.d.ts.map +1 -0
  11. package/accountIamServicePrincipalV2.js +113 -0
  12. package/accountIamServicePrincipalV2.js.map +1 -0
  13. package/accountIamUserV2.d.ts +123 -0
  14. package/accountIamUserV2.d.ts.map +1 -0
  15. package/accountIamUserV2.js +120 -0
  16. package/accountIamUserV2.js.map +1 -0
  17. package/accountIamWorkspaceAssignmentV2.d.ts +136 -0
  18. package/accountIamWorkspaceAssignmentV2.d.ts.map +1 -0
  19. package/accountIamWorkspaceAssignmentV2.js +113 -0
  20. package/accountIamWorkspaceAssignmentV2.js.map +1 -0
  21. package/aiGatewayMcpService.d.ts +6 -19
  22. package/aiGatewayMcpService.d.ts.map +1 -1
  23. package/aiGatewayMcpService.js +0 -2
  24. package/aiGatewayMcpService.js.map +1 -1
  25. package/aiGatewayModelProviderService.d.ts +6 -19
  26. package/aiGatewayModelProviderService.d.ts.map +1 -1
  27. package/aiGatewayModelProviderService.js +0 -2
  28. package/aiGatewayModelProviderService.js.map +1 -1
  29. package/aiGatewayModelService.d.ts +6 -19
  30. package/aiGatewayModelService.d.ts.map +1 -1
  31. package/aiGatewayModelService.js +0 -2
  32. package/aiGatewayModelService.js.map +1 -1
  33. package/app.d.ts +20 -0
  34. package/app.d.ts.map +1 -1
  35. package/app.js +8 -0
  36. package/app.js.map +1 -1
  37. package/budget.d.ts +89 -5
  38. package/budget.d.ts.map +1 -1
  39. package/budget.js +80 -5
  40. package/budget.js.map +1 -1
  41. package/dataClassificationCatalogConfig.d.ts +1 -1
  42. package/dataClassificationCatalogConfig.js +1 -1
  43. package/getAccountIamDirectGroupMemberV2.d.ts +105 -0
  44. package/getAccountIamDirectGroupMemberV2.d.ts.map +1 -0
  45. package/getAccountIamDirectGroupMemberV2.js +93 -0
  46. package/getAccountIamDirectGroupMemberV2.js.map +1 -0
  47. package/getAccountIamDirectGroupMembersV2.d.ts +88 -0
  48. package/getAccountIamDirectGroupMembersV2.d.ts.map +1 -0
  49. package/getAccountIamDirectGroupMembersV2.js +91 -0
  50. package/getAccountIamDirectGroupMembersV2.js.map +1 -0
  51. package/getAccountIamGroupV2.d.ts +87 -0
  52. package/getAccountIamGroupV2.d.ts.map +1 -0
  53. package/getAccountIamGroupV2.js +89 -0
  54. package/getAccountIamGroupV2.js.map +1 -0
  55. package/getAccountIamGroupsV2.d.ts +79 -0
  56. package/getAccountIamGroupsV2.d.ts.map +1 -0
  57. package/getAccountIamGroupsV2.js +89 -0
  58. package/getAccountIamGroupsV2.js.map +1 -0
  59. package/getAccountIamServicePrincipalV2.d.ts +96 -0
  60. package/getAccountIamServicePrincipalV2.d.ts.map +1 -0
  61. package/getAccountIamServicePrincipalV2.js +89 -0
  62. package/getAccountIamServicePrincipalV2.js.map +1 -0
  63. package/getAccountIamServicePrincipalsV2.d.ts +79 -0
  64. package/getAccountIamServicePrincipalsV2.d.ts.map +1 -0
  65. package/getAccountIamServicePrincipalsV2.js +89 -0
  66. package/getAccountIamServicePrincipalsV2.js.map +1 -0
  67. package/getAccountIamUserV2.d.ts +96 -0
  68. package/getAccountIamUserV2.d.ts.map +1 -0
  69. package/getAccountIamUserV2.js +89 -0
  70. package/getAccountIamUserV2.js.map +1 -0
  71. package/getAccountIamUsersV2.d.ts +79 -0
  72. package/getAccountIamUsersV2.d.ts.map +1 -0
  73. package/getAccountIamUsersV2.js +89 -0
  74. package/getAccountIamUsersV2.js.map +1 -0
  75. package/getAccountIamWorkspaceAssignmentV2.d.ts +109 -0
  76. package/getAccountIamWorkspaceAssignmentV2.d.ts.map +1 -0
  77. package/getAccountIamWorkspaceAssignmentV2.js +93 -0
  78. package/getAccountIamWorkspaceAssignmentV2.js.map +1 -0
  79. package/getAccountIamWorkspaceAssignmentsV2.d.ts +56 -0
  80. package/getAccountIamWorkspaceAssignmentsV2.d.ts.map +1 -0
  81. package/getAccountIamWorkspaceAssignmentsV2.js +61 -0
  82. package/getAccountIamWorkspaceAssignmentsV2.js.map +1 -0
  83. package/getAiGatewayMcpService.d.ts +2 -6
  84. package/getAiGatewayMcpService.d.ts.map +1 -1
  85. package/getAiGatewayMcpService.js.map +1 -1
  86. package/getAiGatewayMcpServices.d.ts +10 -17
  87. package/getAiGatewayMcpServices.d.ts.map +1 -1
  88. package/getAiGatewayMcpServices.js +0 -2
  89. package/getAiGatewayMcpServices.js.map +1 -1
  90. package/getAiGatewayModelProviderService.d.ts +0 -5
  91. package/getAiGatewayModelProviderService.d.ts.map +1 -1
  92. package/getAiGatewayModelProviderService.js.map +1 -1
  93. package/getAiGatewayModelProviderServices.d.ts +10 -17
  94. package/getAiGatewayModelProviderServices.d.ts.map +1 -1
  95. package/getAiGatewayModelProviderServices.js +0 -2
  96. package/getAiGatewayModelProviderServices.js.map +1 -1
  97. package/getAiGatewayModelService.d.ts +0 -5
  98. package/getAiGatewayModelService.d.ts.map +1 -1
  99. package/getAiGatewayModelService.js.map +1 -1
  100. package/getAiGatewayModelServices.d.ts +10 -17
  101. package/getAiGatewayModelServices.d.ts.map +1 -1
  102. package/getAiGatewayModelServices.js +0 -2
  103. package/getAiGatewayModelServices.js.map +1 -1
  104. package/getDataClassificationCatalogConfig.d.ts +2 -2
  105. package/getDataClassificationCatalogConfig.js +2 -2
  106. package/getPolicyInfo.d.ts +0 -1
  107. package/getPolicyInfo.d.ts.map +1 -1
  108. package/getPolicyInfo.js.map +1 -1
  109. package/getWorkspaceIamDirectGroupMemberV2.d.ts +118 -0
  110. package/getWorkspaceIamDirectGroupMemberV2.d.ts.map +1 -0
  111. package/getWorkspaceIamDirectGroupMemberV2.js +97 -0
  112. package/getWorkspaceIamDirectGroupMemberV2.js.map +1 -0
  113. package/getWorkspaceIamDirectGroupMembersV2.d.ts +98 -0
  114. package/getWorkspaceIamDirectGroupMembersV2.d.ts.map +1 -0
  115. package/getWorkspaceIamDirectGroupMembersV2.js +93 -0
  116. package/getWorkspaceIamDirectGroupMembersV2.js.map +1 -0
  117. package/getWorkspaceIamGroupV2.d.ts +98 -0
  118. package/getWorkspaceIamGroupV2.d.ts.map +1 -0
  119. package/getWorkspaceIamGroupV2.js +91 -0
  120. package/getWorkspaceIamGroupV2.js.map +1 -0
  121. package/getWorkspaceIamGroupsV2.d.ts +89 -0
  122. package/getWorkspaceIamGroupsV2.d.ts.map +1 -0
  123. package/getWorkspaceIamGroupsV2.js +91 -0
  124. package/getWorkspaceIamGroupsV2.js.map +1 -0
  125. package/getWorkspaceIamServicePrincipalV2.d.ts +107 -0
  126. package/getWorkspaceIamServicePrincipalV2.d.ts.map +1 -0
  127. package/getWorkspaceIamServicePrincipalV2.js +91 -0
  128. package/getWorkspaceIamServicePrincipalV2.js.map +1 -0
  129. package/getWorkspaceIamServicePrincipalsV2.d.ts +89 -0
  130. package/getWorkspaceIamServicePrincipalsV2.d.ts.map +1 -0
  131. package/getWorkspaceIamServicePrincipalsV2.js +91 -0
  132. package/getWorkspaceIamServicePrincipalsV2.js.map +1 -0
  133. package/getWorkspaceIamUserV2.d.ts +106 -0
  134. package/getWorkspaceIamUserV2.d.ts.map +1 -0
  135. package/getWorkspaceIamUserV2.js +91 -0
  136. package/getWorkspaceIamUserV2.js.map +1 -0
  137. package/getWorkspaceIamUsersV2.d.ts +89 -0
  138. package/getWorkspaceIamUsersV2.d.ts.map +1 -0
  139. package/getWorkspaceIamUsersV2.js +91 -0
  140. package/getWorkspaceIamUsersV2.js.map +1 -0
  141. package/getWorkspaceIamWorkspaceAssignmentV2.d.ts +112 -0
  142. package/getWorkspaceIamWorkspaceAssignmentV2.d.ts.map +1 -0
  143. package/getWorkspaceIamWorkspaceAssignmentV2.js +93 -0
  144. package/getWorkspaceIamWorkspaceAssignmentV2.js.map +1 -0
  145. package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts +54 -0
  146. package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts.map +1 -0
  147. package/getWorkspaceIamWorkspaceAssignmentsV2.js +63 -0
  148. package/getWorkspaceIamWorkspaceAssignmentsV2.js.map +1 -0
  149. package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts +68 -0
  150. package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -0
  151. package/getWorkspaceIamWorkspaceIdentityDetailV2.js +61 -0
  152. package/getWorkspaceIamWorkspaceIdentityDetailV2.js.map +1 -0
  153. package/index.d.ts +96 -0
  154. package/index.d.ts.map +1 -1
  155. package/index.js +129 -10
  156. package/index.js.map +1 -1
  157. package/job.d.ts +3 -0
  158. package/job.d.ts.map +1 -1
  159. package/job.js +2 -0
  160. package/job.js.map +1 -1
  161. package/mwsWorkspaces.d.ts +3 -3
  162. package/package.json +2 -2
  163. package/policyInfo.d.ts +0 -3
  164. package/policyInfo.d.ts.map +1 -1
  165. package/policyInfo.js.map +1 -1
  166. package/secretUc.d.ts.map +1 -1
  167. package/secretUc.js +3 -1
  168. package/secretUc.js.map +1 -1
  169. package/types/input.d.ts +388 -29
  170. package/types/input.d.ts.map +1 -1
  171. package/types/output.d.ts +888 -82
  172. package/types/output.d.ts.map +1 -1
  173. package/workspaceIamDirectGroupMemberV2.d.ts +133 -0
  174. package/workspaceIamDirectGroupMemberV2.d.ts.map +1 -0
  175. package/workspaceIamDirectGroupMemberV2.js +113 -0
  176. package/workspaceIamDirectGroupMemberV2.js.map +1 -0
  177. package/workspaceIamGroupV2.d.ts +113 -0
  178. package/workspaceIamGroupV2.d.ts.map +1 -0
  179. package/workspaceIamGroupV2.js +102 -0
  180. package/workspaceIamGroupV2.js.map +1 -0
  181. package/workspaceIamServicePrincipalV2.d.ts +143 -0
  182. package/workspaceIamServicePrincipalV2.d.ts.map +1 -0
  183. package/workspaceIamServicePrincipalV2.js +115 -0
  184. package/workspaceIamServicePrincipalV2.js.map +1 -0
  185. package/workspaceIamUserV2.d.ts +135 -0
  186. package/workspaceIamUserV2.d.ts.map +1 -0
  187. package/workspaceIamUserV2.js +122 -0
  188. package/workspaceIamUserV2.js.map +1 -0
  189. package/workspaceIamWorkspaceAssignmentV2.d.ts +150 -0
  190. package/workspaceIamWorkspaceAssignmentV2.d.ts.map +1 -0
  191. package/workspaceIamWorkspaceAssignmentV2.js +115 -0
  192. package/workspaceIamWorkspaceAssignmentV2.js.map +1 -0
  193. package/workspaceIamWorkspaceIdentityDetailV2.d.ts +117 -0
  194. package/workspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -0
  195. package/workspaceIamWorkspaceIdentityDetailV2.js +110 -0
  196. package/workspaceIamWorkspaceIdentityDetailV2.js.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceIamWorkspaceAssignmentV2.js","sourceRoot":"","sources":["../workspaceIamWorkspaceAssignmentV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IACxE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8C,EAAE,IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,gBAAgB;IAC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AAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,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,iCAAiC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;;AAhGL,8EAiGC"}
@@ -0,0 +1,117 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
6
+ *
7
+ * [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
8
+ *
9
+ * Manages the workspace-level activity status of a principal already assigned to the workspace. This is a singleton adopted with `pulumi import` (the principal is not created here); once imported, `workspaceIdentityStatus` can be toggled between ACTIVE and INACTIVE.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Example usage:
14
+ *
15
+ * This is a singleton resource: the identity detail already exists for a principal
16
+ * already assigned to the workspace, so `principalId` is read-only and the resource
17
+ * is adopted with `pulumi import` rather than created. Once imported, Pulumi
18
+ * manages `workspaceIdentityStatus` — the only updatable field. Edit it between
19
+ * `ACTIVE` and `INACTIVE` and re-apply to update in place.
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as databricks from "@pulumi/databricks";
24
+ *
25
+ * const _this = new databricks.WorkspaceIamWorkspaceIdentityDetailV2("this", {workspaceIdentityStatus: "ACTIVE"});
26
+ * ```
27
+ *
28
+ * Import the resource by the principal's internal Databricks ID:
29
+ *
30
+ * ```sh
31
+ * terraform import databricks_workspace_iam_workspace_identity_detail_v2.this <principal_id>
32
+ * ```
33
+ */
34
+ export declare class WorkspaceIamWorkspaceIdentityDetailV2 extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing WorkspaceIamWorkspaceIdentityDetailV2 resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceIamWorkspaceIdentityDetailV2State, opts?: pulumi.CustomResourceOptions): WorkspaceIamWorkspaceIdentityDetailV2;
45
+ /**
46
+ * Returns true if the given object is an instance of WorkspaceIamWorkspaceIdentityDetailV2. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is WorkspaceIamWorkspaceIdentityDetailV2;
50
+ /**
51
+ * (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are: `DIRECT`, `INDIRECT`
52
+ */
53
+ readonly assignmentType: pulumi.Output<string>;
54
+ /**
55
+ * (integer) - The internal ID of the principal (user/sp/group) in Databricks
56
+ */
57
+ readonly principalId: pulumi.Output<string>;
58
+ /**
59
+ * (string) - The type of the principal (user/service principal/group). Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
60
+ */
61
+ readonly principalType: pulumi.Output<string>;
62
+ /**
63
+ * Configure the provider for management through account provider.
64
+ */
65
+ readonly providerConfig: pulumi.Output<outputs.WorkspaceIamWorkspaceIdentityDetailV2ProviderConfig>;
66
+ /**
67
+ * The activity status of an identity in a Databricks workspace. Possible values are: `ACTIVE`, `INACTIVE`
68
+ */
69
+ readonly workspaceIdentityStatus: pulumi.Output<string | undefined>;
70
+ /**
71
+ * Create a WorkspaceIamWorkspaceIdentityDetailV2 resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args?: WorkspaceIamWorkspaceIdentityDetailV2Args, opts?: pulumi.CustomResourceOptions);
78
+ }
79
+ /**
80
+ * Input properties used for looking up and filtering WorkspaceIamWorkspaceIdentityDetailV2 resources.
81
+ */
82
+ export interface WorkspaceIamWorkspaceIdentityDetailV2State {
83
+ /**
84
+ * (string) - The type of assignment the principal has to the workspace (direct or indirect). Possible values are: `DIRECT`, `INDIRECT`
85
+ */
86
+ assignmentType?: pulumi.Input<string | undefined>;
87
+ /**
88
+ * (integer) - The internal ID of the principal (user/sp/group) in Databricks
89
+ */
90
+ principalId?: pulumi.Input<string | undefined>;
91
+ /**
92
+ * (string) - The type of the principal (user/service principal/group). Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
93
+ */
94
+ principalType?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * Configure the provider for management through account provider.
97
+ */
98
+ providerConfig?: pulumi.Input<inputs.WorkspaceIamWorkspaceIdentityDetailV2ProviderConfig | undefined>;
99
+ /**
100
+ * The activity status of an identity in a Databricks workspace. Possible values are: `ACTIVE`, `INACTIVE`
101
+ */
102
+ workspaceIdentityStatus?: pulumi.Input<string | undefined>;
103
+ }
104
+ /**
105
+ * The set of arguments for constructing a WorkspaceIamWorkspaceIdentityDetailV2 resource.
106
+ */
107
+ export interface WorkspaceIamWorkspaceIdentityDetailV2Args {
108
+ /**
109
+ * Configure the provider for management through account provider.
110
+ */
111
+ providerConfig?: pulumi.Input<inputs.WorkspaceIamWorkspaceIdentityDetailV2ProviderConfig | undefined>;
112
+ /**
113
+ * The activity status of an identity in a Databricks workspace. Possible values are: `ACTIVE`, `INACTIVE`
114
+ */
115
+ workspaceIdentityStatus?: pulumi.Input<string | undefined>;
116
+ }
117
+ //# sourceMappingURL=workspaceIamWorkspaceIdentityDetailV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceIamWorkspaceIdentityDetailV2.d.ts","sourceRoot":"","sources":["../workspaceIamWorkspaceIdentityDetailV2.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0CAA0C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qCAAqC;IAO5L;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qCAAqC;IAOhF;;OAEG;IACH,SAAgC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtE;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnE;;OAEG;IACH,SAAgC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,mDAAmD,CAAC,CAAC;IACnH;;OAEG;IACH,SAAwB,uBAAuB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEnF;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,yCAAyC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBlH;AAED;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,WAAW,CAAC,EAAE,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,mDAAmD,GAAG,SAAS,CAAC,CAAC;IACtG;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9D;AAED;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mDAAmD,GAAG,SAAS,CAAC,CAAC;IACtG;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9D"}
@@ -0,0 +1,110 @@
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.WorkspaceIamWorkspaceIdentityDetailV2 = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
+ *
34
+ * [API Documentation](https://docs.databricks.com/api/workspace/iamv2)
35
+ *
36
+ * Manages the workspace-level activity status of a principal already assigned to the workspace. This is a singleton adopted with `pulumi import` (the principal is not created here); once imported, `workspaceIdentityStatus` can be toggled between ACTIVE and INACTIVE.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * Example usage:
41
+ *
42
+ * This is a singleton resource: the identity detail already exists for a principal
43
+ * already assigned to the workspace, so `principalId` is read-only and the resource
44
+ * is adopted with `pulumi import` rather than created. Once imported, Pulumi
45
+ * manages `workspaceIdentityStatus` — the only updatable field. Edit it between
46
+ * `ACTIVE` and `INACTIVE` and re-apply to update in place.
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as databricks from "@pulumi/databricks";
51
+ *
52
+ * const _this = new databricks.WorkspaceIamWorkspaceIdentityDetailV2("this", {workspaceIdentityStatus: "ACTIVE"});
53
+ * ```
54
+ *
55
+ * Import the resource by the principal's internal Databricks ID:
56
+ *
57
+ * ```sh
58
+ * terraform import databricks_workspace_iam_workspace_identity_detail_v2.this <principal_id>
59
+ * ```
60
+ */
61
+ class WorkspaceIamWorkspaceIdentityDetailV2 extends pulumi.CustomResource {
62
+ /**
63
+ * Get an existing WorkspaceIamWorkspaceIdentityDetailV2 resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param state Any extra arguments used during the lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name, id, state, opts) {
72
+ return new WorkspaceIamWorkspaceIdentityDetailV2(name, state, { ...opts, id: id });
73
+ }
74
+ /** @internal */
75
+ static __pulumiType = 'databricks:index/workspaceIamWorkspaceIdentityDetailV2:WorkspaceIamWorkspaceIdentityDetailV2';
76
+ /**
77
+ * Returns true if the given object is an instance of WorkspaceIamWorkspaceIdentityDetailV2. This is designed to work even
78
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
79
+ */
80
+ static isInstance(obj) {
81
+ if (obj === undefined || obj === null) {
82
+ return false;
83
+ }
84
+ return obj['__pulumiType'] === WorkspaceIamWorkspaceIdentityDetailV2.__pulumiType;
85
+ }
86
+ constructor(name, argsOrState, opts) {
87
+ let resourceInputs = {};
88
+ opts = opts || {};
89
+ if (opts.id) {
90
+ const state = argsOrState;
91
+ resourceInputs["assignmentType"] = state?.assignmentType;
92
+ resourceInputs["principalId"] = state?.principalId;
93
+ resourceInputs["principalType"] = state?.principalType;
94
+ resourceInputs["providerConfig"] = state?.providerConfig;
95
+ resourceInputs["workspaceIdentityStatus"] = state?.workspaceIdentityStatus;
96
+ }
97
+ else {
98
+ const args = argsOrState;
99
+ resourceInputs["providerConfig"] = args?.providerConfig;
100
+ resourceInputs["workspaceIdentityStatus"] = args?.workspaceIdentityStatus;
101
+ resourceInputs["assignmentType"] = undefined /*out*/;
102
+ resourceInputs["principalId"] = undefined /*out*/;
103
+ resourceInputs["principalType"] = undefined /*out*/;
104
+ }
105
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
106
+ super(WorkspaceIamWorkspaceIdentityDetailV2.__pulumiType, name, resourceInputs, opts);
107
+ }
108
+ }
109
+ exports.WorkspaceIamWorkspaceIdentityDetailV2 = WorkspaceIamWorkspaceIdentityDetailV2;
110
+ //# sourceMappingURL=workspaceIamWorkspaceIdentityDetailV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceIamWorkspaceIdentityDetailV2.js","sourceRoot":"","sources":["../workspaceIamWorkspaceIdentityDetailV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8FAA8F,CAAC;IAErI;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAA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