@databricks/sdk-scim 0.0.0-dev → 0.1.0-dev.1
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/LICENSE +203 -0
- package/dist/v1/client.d.ts +114 -0
- package/dist/v1/client.d.ts.map +1 -0
- package/dist/v1/client.js +1185 -0
- package/dist/v1/client.js.map +1 -0
- package/dist/v1/index.d.ts +4 -0
- package/dist/v1/index.d.ts.map +1 -0
- package/dist/v1/index.js +4 -0
- package/dist/v1/index.js.map +1 -0
- package/dist/v1/model.d.ts +881 -0
- package/dist/v1/model.d.ts.map +1 -0
- package/dist/v1/model.js +907 -0
- package/dist/v1/model.js.map +1 -0
- package/dist/v1/transport.d.ts +5 -0
- package/dist/v1/transport.d.ts.map +1 -0
- package/dist/v1/transport.js +57 -0
- package/dist/v1/transport.js.map +1 -0
- package/dist/v1/utils.d.ts +22 -0
- package/dist/v1/utils.d.ts.map +1 -0
- package/dist/v1/utils.js +113 -0
- package/dist/v1/utils.js.map +1 -0
- package/package.json +38 -4
- package/src/v1/client.ts +1489 -0
- package/src/v1/index.ts +93 -0
- package/src/v1/model.ts +1809 -0
- package/src/v1/transport.ts +73 -0
- package/src/v1/utils.ts +156 -0
- package/README.md +0 -1
- package/index.js +0 -1
|
@@ -0,0 +1,881 @@
|
|
|
1
|
+
import type { JsonValue } from '@databricks/sdk-core/wkt';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare enum GetSortOrder {
|
|
4
|
+
GET_SORT_ORDER_UNSPECIFIED = "GET_SORT_ORDER_UNSPECIFIED",
|
|
5
|
+
ASCENDING = "ASCENDING",
|
|
6
|
+
DESCENDING = "DESCENDING"
|
|
7
|
+
}
|
|
8
|
+
export declare enum GroupSchema {
|
|
9
|
+
GROUP_SCHEMA_UNSPECIFIED = "GROUP_SCHEMA_UNSPECIFIED",
|
|
10
|
+
URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP = "URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP"
|
|
11
|
+
}
|
|
12
|
+
export declare enum ListResponseSchema {
|
|
13
|
+
LIST_RESPONSE_SCHEMA_UNSPECIFIED = "LIST_RESPONSE_SCHEMA_UNSPECIFIED",
|
|
14
|
+
URN_IETF_PARAMS_SCIM_API_MESSAGES_2_0_LIST_RESPONSE = "URN_IETF_PARAMS_SCIM_API_MESSAGES_2_0_LIST_RESPONSE"
|
|
15
|
+
}
|
|
16
|
+
/** Type of patch operation. */
|
|
17
|
+
export declare enum PatchOp {
|
|
18
|
+
PATCH_OP_UNSPECIFIED = "PATCH_OP_UNSPECIFIED",
|
|
19
|
+
ADD = "ADD",
|
|
20
|
+
REMOVE = "REMOVE",
|
|
21
|
+
REPLACE = "REPLACE"
|
|
22
|
+
}
|
|
23
|
+
export declare enum PatchSchema {
|
|
24
|
+
PATCH_SCHEMA_UNSPECIFIED = "PATCH_SCHEMA_UNSPECIFIED",
|
|
25
|
+
URN_IETF_PARAMS_SCIM_API_MESSAGES_2_0_PATCH_OP = "URN_IETF_PARAMS_SCIM_API_MESSAGES_2_0_PATCH_OP"
|
|
26
|
+
}
|
|
27
|
+
export declare enum ServicePrincipalSchema {
|
|
28
|
+
SERVICE_PRINCIPAL_SCHEMA_UNSPECIFIED = "SERVICE_PRINCIPAL_SCHEMA_UNSPECIFIED",
|
|
29
|
+
URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_SERVICE_PRINCIPAL = "URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_SERVICE_PRINCIPAL"
|
|
30
|
+
}
|
|
31
|
+
export declare enum UserSchema {
|
|
32
|
+
USER_SCHEMA_UNSPECIFIED = "USER_SCHEMA_UNSPECIFIED",
|
|
33
|
+
URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER = "URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER",
|
|
34
|
+
URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER = "URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER"
|
|
35
|
+
}
|
|
36
|
+
export declare enum AccountGetSortOrder_GetSortOrder {
|
|
37
|
+
GET_SORT_ORDER_UNSPECIFIED = "GET_SORT_ORDER_UNSPECIFIED",
|
|
38
|
+
ASCENDING = "ASCENDING",
|
|
39
|
+
DESCENDING = "DESCENDING"
|
|
40
|
+
}
|
|
41
|
+
export declare enum AccountListSort_Order {
|
|
42
|
+
ORDER_UNSPECIFIED = "ORDER_UNSPECIFIED",
|
|
43
|
+
ASCENDING = "ASCENDING",
|
|
44
|
+
DESCENDING = "DESCENDING"
|
|
45
|
+
}
|
|
46
|
+
/** Type of patch operation. */
|
|
47
|
+
export declare enum AccountPatchOp_PatchOp {
|
|
48
|
+
PATCH_OP_UNSPECIFIED = "PATCH_OP_UNSPECIFIED",
|
|
49
|
+
ADD = "ADD",
|
|
50
|
+
REMOVE = "REMOVE",
|
|
51
|
+
REPLACE = "REPLACE"
|
|
52
|
+
}
|
|
53
|
+
export declare enum AccountPatchSchema_PatchSchema {
|
|
54
|
+
PATCH_SCHEMA_UNSPECIFIED = "PATCH_SCHEMA_UNSPECIFIED",
|
|
55
|
+
URN_IETF_PARAMS_SCIM_API_MESSAGES_2_0_PATCH_OP = "URN_IETF_PARAMS_SCIM_API_MESSAGES_2_0_PATCH_OP"
|
|
56
|
+
}
|
|
57
|
+
export declare enum ListSort_Order {
|
|
58
|
+
ORDER_UNSPECIFIED = "ORDER_UNSPECIFIED",
|
|
59
|
+
ASCENDING = "ASCENDING",
|
|
60
|
+
DESCENDING = "DESCENDING"
|
|
61
|
+
}
|
|
62
|
+
/** Permission level */
|
|
63
|
+
export declare enum PasswordPermission_Level {
|
|
64
|
+
LEVEL_UNSPECIFIED = "LEVEL_UNSPECIFIED",
|
|
65
|
+
CAN_USE = "CAN_USE"
|
|
66
|
+
}
|
|
67
|
+
export interface AccountComplexValue {
|
|
68
|
+
display?: string | undefined;
|
|
69
|
+
primary?: boolean | undefined;
|
|
70
|
+
ref?: string | undefined;
|
|
71
|
+
type?: string | undefined;
|
|
72
|
+
value?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface AccountGetSortOrder {
|
|
75
|
+
}
|
|
76
|
+
export interface AccountGroup {
|
|
77
|
+
/** String that represents a human-readable group name */
|
|
78
|
+
displayName?: string | undefined;
|
|
79
|
+
/** external_id should be unique for identifying groups */
|
|
80
|
+
externalId?: string | undefined;
|
|
81
|
+
/** <Databricks> group ID */
|
|
82
|
+
id?: string | undefined;
|
|
83
|
+
members?: AccountComplexValue[] | undefined;
|
|
84
|
+
/** Container for the group identifier. Workspace local versus account. */
|
|
85
|
+
meta?: AccountResourceMeta | undefined;
|
|
86
|
+
/** Indicates if the group has the admin role. */
|
|
87
|
+
roles?: AccountComplexValue[] | undefined;
|
|
88
|
+
/** <Databricks> account ID */
|
|
89
|
+
accountId?: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* ListSortOrder and GetSortOrder share enum values, which is not supported.
|
|
93
|
+
* We use nesting as a workaround.
|
|
94
|
+
*/
|
|
95
|
+
export interface AccountListSort {
|
|
96
|
+
}
|
|
97
|
+
export interface AccountName {
|
|
98
|
+
/** Family name of the <Databricks> user. */
|
|
99
|
+
familyName?: string | undefined;
|
|
100
|
+
/** Given name of the <Databricks> user. */
|
|
101
|
+
givenName?: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface AccountPatch {
|
|
104
|
+
/** Type of patch operation. */
|
|
105
|
+
op?: AccountPatchOp_PatchOp | undefined;
|
|
106
|
+
/** Selection of patch operation */
|
|
107
|
+
path?: string | undefined;
|
|
108
|
+
/** Value to modify */
|
|
109
|
+
value?: JsonValue | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface AccountPatchOp {
|
|
112
|
+
}
|
|
113
|
+
export interface AccountPatchSchema {
|
|
114
|
+
}
|
|
115
|
+
export interface AccountResourceMeta {
|
|
116
|
+
/** Identifier for group type. Can be local workspace group (`WorkspaceGroup`) or account group (`Group`). */
|
|
117
|
+
resourceType?: string | undefined;
|
|
118
|
+
}
|
|
119
|
+
export interface AccountServicePrincipal {
|
|
120
|
+
/** If this user is active */
|
|
121
|
+
active?: boolean | undefined;
|
|
122
|
+
/** UUID relating to the service principal */
|
|
123
|
+
applicationId?: string | undefined;
|
|
124
|
+
/** String that represents a concatenation of given and family names. */
|
|
125
|
+
displayName?: string | undefined;
|
|
126
|
+
externalId?: string | undefined;
|
|
127
|
+
/** <Databricks> service principal ID. */
|
|
128
|
+
id?: string | undefined;
|
|
129
|
+
/** Indicates if the group has the admin role. */
|
|
130
|
+
roles?: AccountComplexValue[] | undefined;
|
|
131
|
+
/** <Databricks> account ID */
|
|
132
|
+
accountId?: string | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface AccountUser {
|
|
135
|
+
/** If this user is active */
|
|
136
|
+
active?: boolean | undefined;
|
|
137
|
+
/** String that represents a concatenation of given and family names. For example `John Smith`. */
|
|
138
|
+
displayName?: string | undefined;
|
|
139
|
+
/** All the emails associated with the <Databricks> user. */
|
|
140
|
+
emails?: AccountComplexValue[] | undefined;
|
|
141
|
+
/** External ID is not currently supported. It is reserved for future use. */
|
|
142
|
+
externalId?: string | undefined;
|
|
143
|
+
/** <Databricks> user ID. */
|
|
144
|
+
id?: string | undefined;
|
|
145
|
+
name?: AccountName | undefined;
|
|
146
|
+
/** Indicates if the group has the admin role. */
|
|
147
|
+
roles?: AccountComplexValue[] | undefined;
|
|
148
|
+
/** Email address of the <Databricks> user. */
|
|
149
|
+
userName?: string | undefined;
|
|
150
|
+
/** <Databricks> account ID */
|
|
151
|
+
accountId?: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface ComplexValue {
|
|
154
|
+
display?: string | undefined;
|
|
155
|
+
primary?: boolean | undefined;
|
|
156
|
+
ref?: string | undefined;
|
|
157
|
+
type?: string | undefined;
|
|
158
|
+
value?: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
export interface CreateAccountGroupRequest {
|
|
161
|
+
/** String that represents a human-readable group name */
|
|
162
|
+
displayName?: string | undefined;
|
|
163
|
+
externalId?: string | undefined;
|
|
164
|
+
/** <Databricks> group ID */
|
|
165
|
+
id?: string | undefined;
|
|
166
|
+
members?: AccountComplexValue[] | undefined;
|
|
167
|
+
/** Container for the group identifier. Workspace local versus account. */
|
|
168
|
+
meta?: AccountResourceMeta | undefined;
|
|
169
|
+
/** Indicates if the group has the admin role. */
|
|
170
|
+
roles?: AccountComplexValue[] | undefined;
|
|
171
|
+
/** <Databricks> account ID */
|
|
172
|
+
accountId?: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
export interface CreateAccountServicePrincipalRequest {
|
|
175
|
+
/** If this user is active */
|
|
176
|
+
active?: boolean | undefined;
|
|
177
|
+
/** UUID relating to the service principal */
|
|
178
|
+
applicationId?: string | undefined;
|
|
179
|
+
/** String that represents a concatenation of given and family names. */
|
|
180
|
+
displayName?: string | undefined;
|
|
181
|
+
externalId?: string | undefined;
|
|
182
|
+
/** <Databricks> service principal ID. */
|
|
183
|
+
id?: string | undefined;
|
|
184
|
+
/** Indicates if the group has the admin role. */
|
|
185
|
+
roles?: AccountComplexValue[] | undefined;
|
|
186
|
+
/** <Databricks> account ID */
|
|
187
|
+
accountId?: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
export interface CreateAccountUserRequest {
|
|
190
|
+
/** If this user is active */
|
|
191
|
+
active?: boolean | undefined;
|
|
192
|
+
/** String that represents a concatenation of given and family names. For example `John Smith`. */
|
|
193
|
+
displayName?: string | undefined;
|
|
194
|
+
/** All the emails associated with the <Databricks> user. */
|
|
195
|
+
emails?: AccountComplexValue[] | undefined;
|
|
196
|
+
/** External ID is not currently supported. It is reserved for future use. */
|
|
197
|
+
externalId?: string | undefined;
|
|
198
|
+
/** <Databricks> user ID. */
|
|
199
|
+
id?: string | undefined;
|
|
200
|
+
name?: AccountName | undefined;
|
|
201
|
+
/** Indicates if the group has the admin role. */
|
|
202
|
+
roles?: AccountComplexValue[] | undefined;
|
|
203
|
+
/** Email address of the <Databricks> user. */
|
|
204
|
+
userName?: string | undefined;
|
|
205
|
+
/** <Databricks> account ID */
|
|
206
|
+
accountId?: string | undefined;
|
|
207
|
+
}
|
|
208
|
+
export interface CreateGroupRequest {
|
|
209
|
+
/** String that represents a human-readable group name */
|
|
210
|
+
displayName?: string | undefined;
|
|
211
|
+
/** Entitlements assigned to the group. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
212
|
+
entitlements?: ComplexValue[] | undefined;
|
|
213
|
+
externalId?: string | undefined;
|
|
214
|
+
groups?: ComplexValue[] | undefined;
|
|
215
|
+
/** <Databricks> group ID */
|
|
216
|
+
id?: string | undefined;
|
|
217
|
+
members?: ComplexValue[] | undefined;
|
|
218
|
+
/** Container for the group identifier. Workspace local versus account. */
|
|
219
|
+
meta?: ResourceMeta | undefined;
|
|
220
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
221
|
+
roles?: ComplexValue[] | undefined;
|
|
222
|
+
/** The schema of the group. */
|
|
223
|
+
schemas?: GroupSchema[] | undefined;
|
|
224
|
+
}
|
|
225
|
+
export interface CreateServicePrincipalRequest {
|
|
226
|
+
/** If this user is active */
|
|
227
|
+
active?: boolean | undefined;
|
|
228
|
+
/** UUID relating to the service principal */
|
|
229
|
+
applicationId?: string | undefined;
|
|
230
|
+
/** String that represents a concatenation of given and family names. */
|
|
231
|
+
displayName?: string | undefined;
|
|
232
|
+
/** Entitlements assigned to the service principal. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
233
|
+
entitlements?: ComplexValue[] | undefined;
|
|
234
|
+
externalId?: string | undefined;
|
|
235
|
+
groups?: ComplexValue[] | undefined;
|
|
236
|
+
/** <Databricks> service principal ID. */
|
|
237
|
+
id?: string | undefined;
|
|
238
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
239
|
+
roles?: ComplexValue[] | undefined;
|
|
240
|
+
/** The schema of the List response. */
|
|
241
|
+
schemas?: ServicePrincipalSchema[] | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface CreateUserRequest {
|
|
244
|
+
/** If this user is active */
|
|
245
|
+
active?: boolean | undefined;
|
|
246
|
+
/** String that represents a concatenation of given and family names. For example `John Smith`. This field cannot be updated through the Workspace SCIM APIs when [identity federation is enabled](https://docs.databricks.com/administration-guide/users-groups/best-practices.html#enable-identity-federation). Use Account SCIM APIs to update `displayName`. */
|
|
247
|
+
displayName?: string | undefined;
|
|
248
|
+
/** All the emails associated with the <Databricks> user. */
|
|
249
|
+
emails?: ComplexValue[] | undefined;
|
|
250
|
+
/** Entitlements assigned to the user. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
251
|
+
entitlements?: ComplexValue[] | undefined;
|
|
252
|
+
/** External ID is not currently supported. It is reserved for future use. */
|
|
253
|
+
externalId?: string | undefined;
|
|
254
|
+
groups?: ComplexValue[] | undefined;
|
|
255
|
+
/** <Databricks> user ID. */
|
|
256
|
+
id?: string | undefined;
|
|
257
|
+
name?: Name | undefined;
|
|
258
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
259
|
+
roles?: ComplexValue[] | undefined;
|
|
260
|
+
/** The schema of the user. */
|
|
261
|
+
schemas?: UserSchema[] | undefined;
|
|
262
|
+
/** Email address of the <Databricks> user. */
|
|
263
|
+
userName?: string | undefined;
|
|
264
|
+
}
|
|
265
|
+
/** Delete a group */
|
|
266
|
+
export interface DeleteAccountGroupRequest {
|
|
267
|
+
/** Unique ID for a group in the <Databricks> account. */
|
|
268
|
+
id?: string | undefined;
|
|
269
|
+
/** <Databricks> account ID */
|
|
270
|
+
accountId?: string | undefined;
|
|
271
|
+
}
|
|
272
|
+
/** Delete a service principal */
|
|
273
|
+
export interface DeleteAccountServicePrincipalRequest {
|
|
274
|
+
/** Unique ID for a service principal in the <Databricks> account. */
|
|
275
|
+
id?: string | undefined;
|
|
276
|
+
/** <Databricks> account ID */
|
|
277
|
+
accountId?: string | undefined;
|
|
278
|
+
}
|
|
279
|
+
/** Delete a user */
|
|
280
|
+
export interface DeleteAccountUserRequest {
|
|
281
|
+
/** Unique ID for a user in the <Databricks> account. */
|
|
282
|
+
id?: string | undefined;
|
|
283
|
+
/** <Databricks> account ID */
|
|
284
|
+
accountId?: string | undefined;
|
|
285
|
+
}
|
|
286
|
+
/** Delete a group */
|
|
287
|
+
export interface DeleteGroupRequest {
|
|
288
|
+
/** Unique ID for a group in the <Databricks> workspace. */
|
|
289
|
+
id?: string | undefined;
|
|
290
|
+
}
|
|
291
|
+
/** Delete a service principal */
|
|
292
|
+
export interface DeleteServicePrincipalRequest {
|
|
293
|
+
/** Unique ID for a service principal in the <Databricks> workspace. */
|
|
294
|
+
id?: string | undefined;
|
|
295
|
+
}
|
|
296
|
+
/** Delete a user */
|
|
297
|
+
export interface DeleteUserRequest {
|
|
298
|
+
/** Unique ID for a user in the <Databricks> workspace. */
|
|
299
|
+
id?: string | undefined;
|
|
300
|
+
}
|
|
301
|
+
/** Get group details */
|
|
302
|
+
export interface GetAccountGroupRequest {
|
|
303
|
+
/** Unique ID for a group in the <Databricks> account. */
|
|
304
|
+
id?: string | undefined;
|
|
305
|
+
/** <Databricks> account ID */
|
|
306
|
+
accountId?: string | undefined;
|
|
307
|
+
}
|
|
308
|
+
/** Get service principal details */
|
|
309
|
+
export interface GetAccountServicePrincipalRequest {
|
|
310
|
+
/** Unique ID for a service principal in the <Databricks> account. */
|
|
311
|
+
id?: string | undefined;
|
|
312
|
+
/** <Databricks> account ID */
|
|
313
|
+
accountId?: string | undefined;
|
|
314
|
+
}
|
|
315
|
+
/** Get user details */
|
|
316
|
+
export interface GetAccountUserRequest {
|
|
317
|
+
/** Comma-separated list of attributes to return in response. */
|
|
318
|
+
attributes?: string | undefined;
|
|
319
|
+
/** Desired number of results per page. Default is 10000. */
|
|
320
|
+
count?: number | undefined;
|
|
321
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
322
|
+
excludedAttributes?: string | undefined;
|
|
323
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
324
|
+
filter?: string | undefined;
|
|
325
|
+
/** Unique ID for a user in the <Databricks> account. */
|
|
326
|
+
id?: string | undefined;
|
|
327
|
+
/** Attribute to sort the results. Multi-part paths are supported. For example, `userName`, `name.givenName`, and `emails`. */
|
|
328
|
+
sortBy?: string | undefined;
|
|
329
|
+
/** The order to sort the results. */
|
|
330
|
+
sortOrder?: AccountGetSortOrder_GetSortOrder | undefined;
|
|
331
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
332
|
+
startIndex?: number | undefined;
|
|
333
|
+
/** <Databricks> account ID */
|
|
334
|
+
accountId?: string | undefined;
|
|
335
|
+
}
|
|
336
|
+
/** Get group details */
|
|
337
|
+
export interface GetGroupRequest {
|
|
338
|
+
/** Unique ID for a group in the <Databricks> workspace. */
|
|
339
|
+
id?: string | undefined;
|
|
340
|
+
}
|
|
341
|
+
/** Get object permission levels */
|
|
342
|
+
export interface GetPasswordPermissionLevelsRequest {
|
|
343
|
+
}
|
|
344
|
+
export interface GetPasswordPermissionLevelsResponse {
|
|
345
|
+
/** Specific permission levels */
|
|
346
|
+
permissionLevels?: PasswordPermissionsDescription[] | undefined;
|
|
347
|
+
}
|
|
348
|
+
export interface GetPasswordPermissionsRequest {
|
|
349
|
+
}
|
|
350
|
+
/** Get service principal details */
|
|
351
|
+
export interface GetServicePrincipalRequest {
|
|
352
|
+
/** Unique ID for a service principal in the <Databricks> workspace. */
|
|
353
|
+
id?: string | undefined;
|
|
354
|
+
}
|
|
355
|
+
/** Get user details */
|
|
356
|
+
export interface GetUserRequest {
|
|
357
|
+
/** Comma-separated list of attributes to return in response. */
|
|
358
|
+
attributes?: string | undefined;
|
|
359
|
+
/** Desired number of results per page. */
|
|
360
|
+
count?: number | undefined;
|
|
361
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
362
|
+
excludedAttributes?: string | undefined;
|
|
363
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
364
|
+
filter?: string | undefined;
|
|
365
|
+
/** Unique ID for a user in the <Databricks> workspace. */
|
|
366
|
+
id?: string | undefined;
|
|
367
|
+
/** Attribute to sort the results. Multi-part paths are supported. For example, `userName`, `name.givenName`, and `emails`. */
|
|
368
|
+
sortBy?: string | undefined;
|
|
369
|
+
/** The order to sort the results. */
|
|
370
|
+
sortOrder?: GetSortOrder | undefined;
|
|
371
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
372
|
+
startIndex?: number | undefined;
|
|
373
|
+
}
|
|
374
|
+
export interface Group {
|
|
375
|
+
/** String that represents a human-readable group name */
|
|
376
|
+
displayName?: string | undefined;
|
|
377
|
+
/** Entitlements assigned to the group. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
378
|
+
entitlements?: ComplexValue[] | undefined;
|
|
379
|
+
/** external_id should be unique for identifying groups */
|
|
380
|
+
externalId?: string | undefined;
|
|
381
|
+
groups?: ComplexValue[] | undefined;
|
|
382
|
+
/** <Databricks> group ID */
|
|
383
|
+
id?: string | undefined;
|
|
384
|
+
members?: ComplexValue[] | undefined;
|
|
385
|
+
/** Container for the group identifier. Workspace local versus account. */
|
|
386
|
+
meta?: ResourceMeta | undefined;
|
|
387
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
388
|
+
roles?: ComplexValue[] | undefined;
|
|
389
|
+
/** The schema of the group. */
|
|
390
|
+
schemas?: GroupSchema[] | undefined;
|
|
391
|
+
}
|
|
392
|
+
/** List group details */
|
|
393
|
+
export interface ListAccountGroupsRequest {
|
|
394
|
+
/** <Databricks> account ID */
|
|
395
|
+
accountId?: string | undefined;
|
|
396
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
397
|
+
filter?: string | undefined;
|
|
398
|
+
/** Comma-separated list of attributes to return in response. */
|
|
399
|
+
attributes?: string | undefined;
|
|
400
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
401
|
+
excludedAttributes?: string | undefined;
|
|
402
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
403
|
+
startIndex?: bigint | undefined;
|
|
404
|
+
/** Desired number of results per page. Default is 10000. */
|
|
405
|
+
count?: bigint | undefined;
|
|
406
|
+
/** Attribute to sort the results. */
|
|
407
|
+
sortBy?: string | undefined;
|
|
408
|
+
/** The order to sort the results. */
|
|
409
|
+
sortOrder?: AccountListSort_Order | undefined;
|
|
410
|
+
}
|
|
411
|
+
export interface ListAccountGroupsResponse {
|
|
412
|
+
/** Total results returned in the response. */
|
|
413
|
+
itemsPerPage?: number | undefined;
|
|
414
|
+
/** User objects returned in the response. */
|
|
415
|
+
resources?: AccountGroup[] | undefined;
|
|
416
|
+
/** Starting index of all the results that matched the request filters. First item is number 1. */
|
|
417
|
+
startIndex?: bigint | undefined;
|
|
418
|
+
/** Total results that match the request filters. */
|
|
419
|
+
totalResults?: number | undefined;
|
|
420
|
+
}
|
|
421
|
+
/** List service principals */
|
|
422
|
+
export interface ListAccountServicePrincipalsRequest {
|
|
423
|
+
/** Comma-separated list of attributes to return in response. */
|
|
424
|
+
attributes?: string | undefined;
|
|
425
|
+
/** Desired number of results per page. Default is 10000. */
|
|
426
|
+
count?: bigint | undefined;
|
|
427
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
428
|
+
excludedAttributes?: string | undefined;
|
|
429
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
430
|
+
filter?: string | undefined;
|
|
431
|
+
/** Attribute to sort the results. */
|
|
432
|
+
sortBy?: string | undefined;
|
|
433
|
+
/** The order to sort the results. */
|
|
434
|
+
sortOrder?: AccountListSort_Order | undefined;
|
|
435
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
436
|
+
startIndex?: bigint | undefined;
|
|
437
|
+
/** <Databricks> account ID */
|
|
438
|
+
accountId?: string | undefined;
|
|
439
|
+
}
|
|
440
|
+
export interface ListAccountServicePrincipalsResponse {
|
|
441
|
+
/** Total results returned in the response. */
|
|
442
|
+
itemsPerPage?: number | undefined;
|
|
443
|
+
/** User objects returned in the response. */
|
|
444
|
+
resources?: AccountServicePrincipal[] | undefined;
|
|
445
|
+
/** Starting index of all the results that matched the request filters. First item is number 1. */
|
|
446
|
+
startIndex?: bigint | undefined;
|
|
447
|
+
/** Total results that match the request filters. */
|
|
448
|
+
totalResults?: number | undefined;
|
|
449
|
+
}
|
|
450
|
+
/** List users */
|
|
451
|
+
export interface ListAccountUsersRequest {
|
|
452
|
+
/** Comma-separated list of attributes to return in response. */
|
|
453
|
+
attributes?: string | undefined;
|
|
454
|
+
/** Desired number of results per page. Default is 10000. */
|
|
455
|
+
count?: bigint | undefined;
|
|
456
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
457
|
+
excludedAttributes?: string | undefined;
|
|
458
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
459
|
+
filter?: string | undefined;
|
|
460
|
+
/** Attribute to sort the results. Multi-part paths are supported. For example, `userName`, `name.givenName`, and `emails`. */
|
|
461
|
+
sortBy?: string | undefined;
|
|
462
|
+
/** The order to sort the results. */
|
|
463
|
+
sortOrder?: AccountListSort_Order | undefined;
|
|
464
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
465
|
+
startIndex?: bigint | undefined;
|
|
466
|
+
/** <Databricks> account ID */
|
|
467
|
+
accountId?: string | undefined;
|
|
468
|
+
}
|
|
469
|
+
export interface ListAccountUsersResponse {
|
|
470
|
+
/** Total results returned in the response. */
|
|
471
|
+
itemsPerPage?: number | undefined;
|
|
472
|
+
/** User objects returned in the response. */
|
|
473
|
+
resources?: AccountUser[] | undefined;
|
|
474
|
+
/** Starting index of all the results that matched the request filters. First item is number 1. */
|
|
475
|
+
startIndex?: bigint | undefined;
|
|
476
|
+
/** Total results that match the request filters. */
|
|
477
|
+
totalResults?: number | undefined;
|
|
478
|
+
}
|
|
479
|
+
/** List group details */
|
|
480
|
+
export interface ListGroupsRequest {
|
|
481
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
482
|
+
filter?: string | undefined;
|
|
483
|
+
/** Comma-separated list of attributes to return in response. */
|
|
484
|
+
attributes?: string | undefined;
|
|
485
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
486
|
+
excludedAttributes?: string | undefined;
|
|
487
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
488
|
+
startIndex?: bigint | undefined;
|
|
489
|
+
/** Desired number of results per page. */
|
|
490
|
+
count?: bigint | undefined;
|
|
491
|
+
/** Attribute to sort the results. */
|
|
492
|
+
sortBy?: string | undefined;
|
|
493
|
+
/** The order to sort the results. */
|
|
494
|
+
sortOrder?: ListSort_Order | undefined;
|
|
495
|
+
}
|
|
496
|
+
export interface ListGroupsResponse {
|
|
497
|
+
/** Total results returned in the response. */
|
|
498
|
+
itemsPerPage?: number | undefined;
|
|
499
|
+
/** User objects returned in the response. */
|
|
500
|
+
resources?: Group[] | undefined;
|
|
501
|
+
/** The schema of the service principal. */
|
|
502
|
+
schemas?: ListResponseSchema[] | undefined;
|
|
503
|
+
/** Starting index of all the results that matched the request filters. First item is number 1. */
|
|
504
|
+
startIndex?: bigint | undefined;
|
|
505
|
+
/** Total results that match the request filters. */
|
|
506
|
+
totalResults?: number | undefined;
|
|
507
|
+
}
|
|
508
|
+
export interface ListServicePrincipalResponse {
|
|
509
|
+
/** Total results returned in the response. */
|
|
510
|
+
itemsPerPage?: number | undefined;
|
|
511
|
+
/** User objects returned in the response. */
|
|
512
|
+
resources?: ServicePrincipal[] | undefined;
|
|
513
|
+
/** The schema of the List response. */
|
|
514
|
+
schemas?: ListResponseSchema[] | undefined;
|
|
515
|
+
/** Starting index of all the results that matched the request filters. First item is number 1. */
|
|
516
|
+
startIndex?: bigint | undefined;
|
|
517
|
+
/** Total results that match the request filters. */
|
|
518
|
+
totalResults?: number | undefined;
|
|
519
|
+
}
|
|
520
|
+
/** List service principals */
|
|
521
|
+
export interface ListServicePrincipalsRequest {
|
|
522
|
+
/** Comma-separated list of attributes to return in response. */
|
|
523
|
+
attributes?: string | undefined;
|
|
524
|
+
/** Desired number of results per page. */
|
|
525
|
+
count?: bigint | undefined;
|
|
526
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
527
|
+
excludedAttributes?: string | undefined;
|
|
528
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
529
|
+
filter?: string | undefined;
|
|
530
|
+
/** Attribute to sort the results. */
|
|
531
|
+
sortBy?: string | undefined;
|
|
532
|
+
/** The order to sort the results. */
|
|
533
|
+
sortOrder?: ListSort_Order | undefined;
|
|
534
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
535
|
+
startIndex?: bigint | undefined;
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* ListSortOrder and GetSortOrder share enum values, which is not supported.
|
|
539
|
+
* We use nesting as a workaround.
|
|
540
|
+
*/
|
|
541
|
+
export interface ListSort {
|
|
542
|
+
}
|
|
543
|
+
/** List users */
|
|
544
|
+
export interface ListUsersRequest {
|
|
545
|
+
/** Comma-separated list of attributes to return in response. */
|
|
546
|
+
attributes?: string | undefined;
|
|
547
|
+
/** Desired number of results per page. */
|
|
548
|
+
count?: bigint | undefined;
|
|
549
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
550
|
+
excludedAttributes?: string | undefined;
|
|
551
|
+
/** Query by which the results have to be filtered. Supported operators are equals(`eq`), contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be formed using logical operators - `and` and `or`. The [SCIM RFC](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) has more details but we currently only support simple expressions. */
|
|
552
|
+
filter?: string | undefined;
|
|
553
|
+
/** Attribute to sort the results. Multi-part paths are supported. For example, `userName`, `name.givenName`, and `emails`. */
|
|
554
|
+
sortBy?: string | undefined;
|
|
555
|
+
/** The order to sort the results. */
|
|
556
|
+
sortOrder?: ListSort_Order | undefined;
|
|
557
|
+
/** Specifies the index of the first result. First item is number 1. */
|
|
558
|
+
startIndex?: bigint | undefined;
|
|
559
|
+
}
|
|
560
|
+
export interface ListUsersResponse {
|
|
561
|
+
/** Total results returned in the response. */
|
|
562
|
+
itemsPerPage?: number | undefined;
|
|
563
|
+
/** User objects returned in the response. */
|
|
564
|
+
resources?: User[] | undefined;
|
|
565
|
+
/** The schema of the List response. */
|
|
566
|
+
schemas?: ListResponseSchema[] | undefined;
|
|
567
|
+
/** Starting index of all the results that matched the request filters. First item is number 1. */
|
|
568
|
+
startIndex?: bigint | undefined;
|
|
569
|
+
/** Total results that match the request filters. */
|
|
570
|
+
totalResults?: number | undefined;
|
|
571
|
+
}
|
|
572
|
+
export interface MeRequest {
|
|
573
|
+
/** Comma-separated list of attributes to return in response. */
|
|
574
|
+
attributes?: string | undefined;
|
|
575
|
+
/** Comma-separated list of attributes to exclude in response. */
|
|
576
|
+
excludedAttributes?: string | undefined;
|
|
577
|
+
}
|
|
578
|
+
export interface Name {
|
|
579
|
+
/** Family name of the <Databricks> user. */
|
|
580
|
+
familyName?: string | undefined;
|
|
581
|
+
/** Given name of the <Databricks> user. */
|
|
582
|
+
givenName?: string | undefined;
|
|
583
|
+
}
|
|
584
|
+
export interface PasswordAccessControlRequest {
|
|
585
|
+
/** name of the group */
|
|
586
|
+
groupName?: string | undefined;
|
|
587
|
+
/** Permission level */
|
|
588
|
+
permissionLevel?: PasswordPermission_Level | undefined;
|
|
589
|
+
/** application ID of a service principal */
|
|
590
|
+
servicePrincipalName?: string | undefined;
|
|
591
|
+
/** name of the user */
|
|
592
|
+
userName?: string | undefined;
|
|
593
|
+
}
|
|
594
|
+
export interface PasswordAccessControlResponse {
|
|
595
|
+
/** All permissions. */
|
|
596
|
+
allPermissions?: PasswordPermission[] | undefined;
|
|
597
|
+
/** Display name of the user or service principal. */
|
|
598
|
+
displayName?: string | undefined;
|
|
599
|
+
/** name of the group */
|
|
600
|
+
groupName?: string | undefined;
|
|
601
|
+
/** Name of the service principal. */
|
|
602
|
+
servicePrincipalName?: string | undefined;
|
|
603
|
+
/** name of the user */
|
|
604
|
+
userName?: string | undefined;
|
|
605
|
+
}
|
|
606
|
+
export interface PasswordPermission {
|
|
607
|
+
inherited?: boolean | undefined;
|
|
608
|
+
inheritedFromObject?: string[] | undefined;
|
|
609
|
+
/** Permission level */
|
|
610
|
+
permissionLevel?: PasswordPermission_Level | undefined;
|
|
611
|
+
}
|
|
612
|
+
export interface PasswordPermissions {
|
|
613
|
+
accessControlList?: PasswordAccessControlResponse[] | undefined;
|
|
614
|
+
objectId?: string | undefined;
|
|
615
|
+
objectType?: string | undefined;
|
|
616
|
+
}
|
|
617
|
+
export interface PasswordPermissionsDescription {
|
|
618
|
+
description?: string | undefined;
|
|
619
|
+
/** Permission level */
|
|
620
|
+
permissionLevel?: PasswordPermission_Level | undefined;
|
|
621
|
+
}
|
|
622
|
+
export interface PasswordPermissionsRequest {
|
|
623
|
+
accessControlList?: PasswordAccessControlRequest[] | undefined;
|
|
624
|
+
}
|
|
625
|
+
export interface Patch {
|
|
626
|
+
/** Type of patch operation. */
|
|
627
|
+
op?: PatchOp | undefined;
|
|
628
|
+
/** Selection of patch operation */
|
|
629
|
+
path?: string | undefined;
|
|
630
|
+
/** Value to modify */
|
|
631
|
+
value?: JsonValue | undefined;
|
|
632
|
+
}
|
|
633
|
+
export interface PatchAccountGroupRequest {
|
|
634
|
+
/** Unique ID in the <Databricks> workspace. */
|
|
635
|
+
id?: string | undefined;
|
|
636
|
+
operations?: AccountPatch[] | undefined;
|
|
637
|
+
/** The schema of the patch request. Must be ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. */
|
|
638
|
+
schemas?: AccountPatchSchema_PatchSchema[] | undefined;
|
|
639
|
+
/** <Databricks> account ID */
|
|
640
|
+
accountId?: string | undefined;
|
|
641
|
+
}
|
|
642
|
+
export interface PatchAccountServicePrincipalRequest {
|
|
643
|
+
/** Unique ID in the <Databricks> workspace. */
|
|
644
|
+
id?: string | undefined;
|
|
645
|
+
operations?: AccountPatch[] | undefined;
|
|
646
|
+
/** The schema of the patch request. Must be ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. */
|
|
647
|
+
schemas?: AccountPatchSchema_PatchSchema[] | undefined;
|
|
648
|
+
/** <Databricks> account ID */
|
|
649
|
+
accountId?: string | undefined;
|
|
650
|
+
}
|
|
651
|
+
export interface PatchAccountUserRequest {
|
|
652
|
+
/** Unique ID in the <Databricks> workspace. */
|
|
653
|
+
id?: string | undefined;
|
|
654
|
+
operations?: AccountPatch[] | undefined;
|
|
655
|
+
/** The schema of the patch request. Must be ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. */
|
|
656
|
+
schemas?: AccountPatchSchema_PatchSchema[] | undefined;
|
|
657
|
+
/** <Databricks> account ID */
|
|
658
|
+
accountId?: string | undefined;
|
|
659
|
+
}
|
|
660
|
+
export interface PatchGroupRequest {
|
|
661
|
+
/** Unique ID in the <Databricks> workspace. */
|
|
662
|
+
id?: string | undefined;
|
|
663
|
+
operations?: Patch[] | undefined;
|
|
664
|
+
/** The schema of the patch request. Must be ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. */
|
|
665
|
+
schemas?: PatchSchema[] | undefined;
|
|
666
|
+
}
|
|
667
|
+
export interface PatchServicePrincipalRequest {
|
|
668
|
+
/** Unique ID in the <Databricks> workspace. */
|
|
669
|
+
id?: string | undefined;
|
|
670
|
+
operations?: Patch[] | undefined;
|
|
671
|
+
/** The schema of the patch request. Must be ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. */
|
|
672
|
+
schemas?: PatchSchema[] | undefined;
|
|
673
|
+
}
|
|
674
|
+
export interface PatchUserRequest {
|
|
675
|
+
/** Unique ID in the <Databricks> workspace. */
|
|
676
|
+
id?: string | undefined;
|
|
677
|
+
operations?: Patch[] | undefined;
|
|
678
|
+
/** The schema of the patch request. Must be ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. */
|
|
679
|
+
schemas?: PatchSchema[] | undefined;
|
|
680
|
+
}
|
|
681
|
+
export interface ResourceMeta {
|
|
682
|
+
/** Identifier for group type. Can be local workspace group (`WorkspaceGroup`) or account group (`Group`). */
|
|
683
|
+
resourceType?: string | undefined;
|
|
684
|
+
}
|
|
685
|
+
export interface ServicePrincipal {
|
|
686
|
+
/** If this user is active */
|
|
687
|
+
active?: boolean | undefined;
|
|
688
|
+
/** UUID relating to the service principal */
|
|
689
|
+
applicationId?: string | undefined;
|
|
690
|
+
/** String that represents a concatenation of given and family names. */
|
|
691
|
+
displayName?: string | undefined;
|
|
692
|
+
/** Entitlements assigned to the service principal. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
693
|
+
entitlements?: ComplexValue[] | undefined;
|
|
694
|
+
externalId?: string | undefined;
|
|
695
|
+
groups?: ComplexValue[] | undefined;
|
|
696
|
+
/** <Databricks> service principal ID. */
|
|
697
|
+
id?: string | undefined;
|
|
698
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
699
|
+
roles?: ComplexValue[] | undefined;
|
|
700
|
+
/** The schema of the List response. */
|
|
701
|
+
schemas?: ServicePrincipalSchema[] | undefined;
|
|
702
|
+
}
|
|
703
|
+
export interface UpdateAccountGroupRequest {
|
|
704
|
+
/** String that represents a human-readable group name */
|
|
705
|
+
displayName?: string | undefined;
|
|
706
|
+
externalId?: string | undefined;
|
|
707
|
+
/** <Databricks> group ID */
|
|
708
|
+
id?: string | undefined;
|
|
709
|
+
members?: AccountComplexValue[] | undefined;
|
|
710
|
+
/** Container for the group identifier. Workspace local versus account. */
|
|
711
|
+
meta?: AccountResourceMeta | undefined;
|
|
712
|
+
/** Indicates if the group has the admin role. */
|
|
713
|
+
roles?: AccountComplexValue[] | undefined;
|
|
714
|
+
/** <Databricks> account ID */
|
|
715
|
+
accountId?: string | undefined;
|
|
716
|
+
}
|
|
717
|
+
export interface UpdateAccountServicePrincipalRequest {
|
|
718
|
+
/** If this user is active */
|
|
719
|
+
active?: boolean | undefined;
|
|
720
|
+
/** UUID relating to the service principal */
|
|
721
|
+
applicationId?: string | undefined;
|
|
722
|
+
/** String that represents a concatenation of given and family names. */
|
|
723
|
+
displayName?: string | undefined;
|
|
724
|
+
externalId?: string | undefined;
|
|
725
|
+
/** <Databricks> service principal ID. */
|
|
726
|
+
id?: string | undefined;
|
|
727
|
+
/** Indicates if the group has the admin role. */
|
|
728
|
+
roles?: AccountComplexValue[] | undefined;
|
|
729
|
+
/** <Databricks> account ID */
|
|
730
|
+
accountId?: string | undefined;
|
|
731
|
+
}
|
|
732
|
+
export interface UpdateAccountUserRequest {
|
|
733
|
+
/** If this user is active */
|
|
734
|
+
active?: boolean | undefined;
|
|
735
|
+
/** String that represents a concatenation of given and family names. For example `John Smith`. */
|
|
736
|
+
displayName?: string | undefined;
|
|
737
|
+
/** All the emails associated with the <Databricks> user. */
|
|
738
|
+
emails?: AccountComplexValue[] | undefined;
|
|
739
|
+
/** External ID is not currently supported. It is reserved for future use. */
|
|
740
|
+
externalId?: string | undefined;
|
|
741
|
+
/** <Databricks> user ID. */
|
|
742
|
+
id?: string | undefined;
|
|
743
|
+
name?: AccountName | undefined;
|
|
744
|
+
/** Indicates if the group has the admin role. */
|
|
745
|
+
roles?: AccountComplexValue[] | undefined;
|
|
746
|
+
/** Email address of the <Databricks> user. */
|
|
747
|
+
userName?: string | undefined;
|
|
748
|
+
/** <Databricks> account ID */
|
|
749
|
+
accountId?: string | undefined;
|
|
750
|
+
}
|
|
751
|
+
export interface UpdateGroupRequest {
|
|
752
|
+
/** String that represents a human-readable group name */
|
|
753
|
+
displayName?: string | undefined;
|
|
754
|
+
/** Entitlements assigned to the group. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
755
|
+
entitlements?: ComplexValue[] | undefined;
|
|
756
|
+
externalId?: string | undefined;
|
|
757
|
+
groups?: ComplexValue[] | undefined;
|
|
758
|
+
/** <Databricks> group ID */
|
|
759
|
+
id?: string | undefined;
|
|
760
|
+
members?: ComplexValue[] | undefined;
|
|
761
|
+
/** Container for the group identifier. Workspace local versus account. */
|
|
762
|
+
meta?: ResourceMeta | undefined;
|
|
763
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
764
|
+
roles?: ComplexValue[] | undefined;
|
|
765
|
+
/** The schema of the group. */
|
|
766
|
+
schemas?: GroupSchema[] | undefined;
|
|
767
|
+
}
|
|
768
|
+
export interface UpdateServicePrincipalRequest {
|
|
769
|
+
/** If this user is active */
|
|
770
|
+
active?: boolean | undefined;
|
|
771
|
+
/** UUID relating to the service principal */
|
|
772
|
+
applicationId?: string | undefined;
|
|
773
|
+
/** String that represents a concatenation of given and family names. */
|
|
774
|
+
displayName?: string | undefined;
|
|
775
|
+
/** Entitlements assigned to the service principal. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
776
|
+
entitlements?: ComplexValue[] | undefined;
|
|
777
|
+
externalId?: string | undefined;
|
|
778
|
+
groups?: ComplexValue[] | undefined;
|
|
779
|
+
/** <Databricks> service principal ID. */
|
|
780
|
+
id?: string | undefined;
|
|
781
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
782
|
+
roles?: ComplexValue[] | undefined;
|
|
783
|
+
/** The schema of the List response. */
|
|
784
|
+
schemas?: ServicePrincipalSchema[] | undefined;
|
|
785
|
+
}
|
|
786
|
+
export interface UpdateUserRequest {
|
|
787
|
+
/** If this user is active */
|
|
788
|
+
active?: boolean | undefined;
|
|
789
|
+
/** String that represents a concatenation of given and family names. For example `John Smith`. This field cannot be updated through the Workspace SCIM APIs when [identity federation is enabled](https://docs.databricks.com/administration-guide/users-groups/best-practices.html#enable-identity-federation). Use Account SCIM APIs to update `displayName`. */
|
|
790
|
+
displayName?: string | undefined;
|
|
791
|
+
/** All the emails associated with the <Databricks> user. */
|
|
792
|
+
emails?: ComplexValue[] | undefined;
|
|
793
|
+
/** Entitlements assigned to the user. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
794
|
+
entitlements?: ComplexValue[] | undefined;
|
|
795
|
+
/** External ID is not currently supported. It is reserved for future use. */
|
|
796
|
+
externalId?: string | undefined;
|
|
797
|
+
groups?: ComplexValue[] | undefined;
|
|
798
|
+
/** <Databricks> user ID. */
|
|
799
|
+
id?: string | undefined;
|
|
800
|
+
name?: Name | undefined;
|
|
801
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
802
|
+
roles?: ComplexValue[] | undefined;
|
|
803
|
+
/** The schema of the user. */
|
|
804
|
+
schemas?: UserSchema[] | undefined;
|
|
805
|
+
/** Email address of the <Databricks> user. */
|
|
806
|
+
userName?: string | undefined;
|
|
807
|
+
}
|
|
808
|
+
export interface User {
|
|
809
|
+
/** If this user is active */
|
|
810
|
+
active?: boolean | undefined;
|
|
811
|
+
/** String that represents a concatenation of given and family names. For example `John Smith`. This field cannot be updated through the Workspace SCIM APIs when [identity federation is enabled](https://docs.databricks.com/administration-guide/users-groups/best-practices.html#enable-identity-federation). Use Account SCIM APIs to update `displayName`. */
|
|
812
|
+
displayName?: string | undefined;
|
|
813
|
+
/** All the emails associated with the <Databricks> user. */
|
|
814
|
+
emails?: ComplexValue[] | undefined;
|
|
815
|
+
/** Entitlements assigned to the user. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values. */
|
|
816
|
+
entitlements?: ComplexValue[] | undefined;
|
|
817
|
+
/** External ID is not currently supported. It is reserved for future use. */
|
|
818
|
+
externalId?: string | undefined;
|
|
819
|
+
groups?: ComplexValue[] | undefined;
|
|
820
|
+
/** <Databricks> user ID. */
|
|
821
|
+
id?: string | undefined;
|
|
822
|
+
name?: Name | undefined;
|
|
823
|
+
/** Corresponds to AWS instance profile/arn role. */
|
|
824
|
+
roles?: ComplexValue[] | undefined;
|
|
825
|
+
/** The schema of the user. */
|
|
826
|
+
schemas?: UserSchema[] | undefined;
|
|
827
|
+
/** Email address of the <Databricks> user. */
|
|
828
|
+
userName?: string | undefined;
|
|
829
|
+
}
|
|
830
|
+
export declare const unmarshalAccountComplexValueSchema: z.ZodType<AccountComplexValue>;
|
|
831
|
+
export declare const unmarshalAccountGroupSchema: z.ZodType<AccountGroup>;
|
|
832
|
+
export declare const unmarshalAccountNameSchema: z.ZodType<AccountName>;
|
|
833
|
+
export declare const unmarshalAccountResourceMetaSchema: z.ZodType<AccountResourceMeta>;
|
|
834
|
+
export declare const unmarshalAccountServicePrincipalSchema: z.ZodType<AccountServicePrincipal>;
|
|
835
|
+
export declare const unmarshalAccountUserSchema: z.ZodType<AccountUser>;
|
|
836
|
+
export declare const unmarshalComplexValueSchema: z.ZodType<ComplexValue>;
|
|
837
|
+
export declare const unmarshalGetPasswordPermissionLevelsResponseSchema: z.ZodType<GetPasswordPermissionLevelsResponse>;
|
|
838
|
+
export declare const unmarshalGroupSchema: z.ZodType<Group>;
|
|
839
|
+
export declare const unmarshalListAccountGroupsResponseSchema: z.ZodType<ListAccountGroupsResponse>;
|
|
840
|
+
export declare const unmarshalListAccountServicePrincipalsResponseSchema: z.ZodType<ListAccountServicePrincipalsResponse>;
|
|
841
|
+
export declare const unmarshalListAccountUsersResponseSchema: z.ZodType<ListAccountUsersResponse>;
|
|
842
|
+
export declare const unmarshalListGroupsResponseSchema: z.ZodType<ListGroupsResponse>;
|
|
843
|
+
export declare const unmarshalListServicePrincipalResponseSchema: z.ZodType<ListServicePrincipalResponse>;
|
|
844
|
+
export declare const unmarshalListUsersResponseSchema: z.ZodType<ListUsersResponse>;
|
|
845
|
+
export declare const unmarshalNameSchema: z.ZodType<Name>;
|
|
846
|
+
export declare const unmarshalPasswordAccessControlResponseSchema: z.ZodType<PasswordAccessControlResponse>;
|
|
847
|
+
export declare const unmarshalPasswordPermissionSchema: z.ZodType<PasswordPermission>;
|
|
848
|
+
export declare const unmarshalPasswordPermissionsSchema: z.ZodType<PasswordPermissions>;
|
|
849
|
+
export declare const unmarshalPasswordPermissionsDescriptionSchema: z.ZodType<PasswordPermissionsDescription>;
|
|
850
|
+
export declare const unmarshalResourceMetaSchema: z.ZodType<ResourceMeta>;
|
|
851
|
+
export declare const unmarshalServicePrincipalSchema: z.ZodType<ServicePrincipal>;
|
|
852
|
+
export declare const unmarshalUserSchema: z.ZodType<User>;
|
|
853
|
+
export declare const marshalAccountComplexValueSchema: z.ZodType;
|
|
854
|
+
export declare const marshalAccountNameSchema: z.ZodType;
|
|
855
|
+
export declare const marshalAccountPatchSchema: z.ZodType;
|
|
856
|
+
export declare const marshalAccountResourceMetaSchema: z.ZodType;
|
|
857
|
+
export declare const marshalComplexValueSchema: z.ZodType;
|
|
858
|
+
export declare const marshalCreateAccountGroupRequestSchema: z.ZodType;
|
|
859
|
+
export declare const marshalCreateAccountServicePrincipalRequestSchema: z.ZodType;
|
|
860
|
+
export declare const marshalCreateAccountUserRequestSchema: z.ZodType;
|
|
861
|
+
export declare const marshalCreateGroupRequestSchema: z.ZodType;
|
|
862
|
+
export declare const marshalCreateServicePrincipalRequestSchema: z.ZodType;
|
|
863
|
+
export declare const marshalCreateUserRequestSchema: z.ZodType;
|
|
864
|
+
export declare const marshalNameSchema: z.ZodType;
|
|
865
|
+
export declare const marshalPasswordAccessControlRequestSchema: z.ZodType;
|
|
866
|
+
export declare const marshalPasswordPermissionsRequestSchema: z.ZodType;
|
|
867
|
+
export declare const marshalPatchSchema: z.ZodType;
|
|
868
|
+
export declare const marshalPatchAccountGroupRequestSchema: z.ZodType;
|
|
869
|
+
export declare const marshalPatchAccountServicePrincipalRequestSchema: z.ZodType;
|
|
870
|
+
export declare const marshalPatchAccountUserRequestSchema: z.ZodType;
|
|
871
|
+
export declare const marshalPatchGroupRequestSchema: z.ZodType;
|
|
872
|
+
export declare const marshalPatchServicePrincipalRequestSchema: z.ZodType;
|
|
873
|
+
export declare const marshalPatchUserRequestSchema: z.ZodType;
|
|
874
|
+
export declare const marshalResourceMetaSchema: z.ZodType;
|
|
875
|
+
export declare const marshalUpdateAccountGroupRequestSchema: z.ZodType;
|
|
876
|
+
export declare const marshalUpdateAccountServicePrincipalRequestSchema: z.ZodType;
|
|
877
|
+
export declare const marshalUpdateAccountUserRequestSchema: z.ZodType;
|
|
878
|
+
export declare const marshalUpdateGroupRequestSchema: z.ZodType;
|
|
879
|
+
export declare const marshalUpdateServicePrincipalRequestSchema: z.ZodType;
|
|
880
|
+
export declare const marshalUpdateUserRequestSchema: z.ZodType;
|
|
881
|
+
//# sourceMappingURL=model.d.ts.map
|