@databricks/sdk-uc-metastores 0.34.0 → 0.35.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.
@@ -1,492 +1,485 @@
1
- import { z } from 'zod';
2
- export declare const DeltaSharingScope_Enum: {
3
- /**
4
- * Internal Delta Sharing enabled on metastore.
5
- * This applies to Databricks-managed authentication where both provider and recipient are
6
- * under the same account.
7
- */
8
- readonly INTERNAL: "INTERNAL";
9
- /**
10
- * Internal and External Delta Sharing enabled on metastore.
11
- * This allows all flavors of Delta Sharing.
12
- */
13
- readonly INTERNAL_AND_EXTERNAL: "INTERNAL_AND_EXTERNAL";
1
+ import { z } from "zod";
2
+
3
+ //#region src/v1/model.d.ts
4
+ declare const DeltaSharingScope_Enum: {
5
+ /**
6
+ * Internal Delta Sharing enabled on metastore.
7
+ * This applies to Databricks-managed authentication where both provider and recipient are
8
+ * under the same account.
9
+ */
10
+ readonly INTERNAL: "INTERNAL";
11
+ /**
12
+ * Internal and External Delta Sharing enabled on metastore.
13
+ * This allows all flavors of Delta Sharing.
14
+ */
15
+ readonly INTERNAL_AND_EXTERNAL: "INTERNAL_AND_EXTERNAL";
14
16
  };
15
- export type DeltaSharingScope_Enum = (typeof DeltaSharingScope_Enum)[keyof typeof DeltaSharingScope_Enum] | (string & {});
17
+ type DeltaSharingScope_Enum = (typeof DeltaSharingScope_Enum)[keyof typeof DeltaSharingScope_Enum] | (string & {});
16
18
  /** The mapping from workspace to metastore. */
17
- export interface AccountsCreateMetastoreAssignmentRequest {
18
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
19
- accountId?: string | undefined;
20
- /** Workspace ID. */
21
- workspaceId?: bigint | undefined;
22
- /** Unity Catalog metastore ID */
23
- metastoreId?: string | undefined;
24
- metastoreAssignment?: MetastoreAssignment | undefined;
19
+ interface AccountsCreateMetastoreAssignmentRequest {
20
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
21
+ accountId?: string | undefined;
22
+ /** Workspace ID. */
23
+ workspaceId?: bigint | undefined;
24
+ /** Unity Catalog metastore ID */
25
+ metastoreId?: string | undefined;
26
+ metastoreAssignment?: MetastoreAssignment | undefined;
25
27
  }
26
28
  /** The metastore assignment was successfully created. */
27
- export interface AccountsCreateMetastoreAssignmentResponse {
28
- }
29
+ interface AccountsCreateMetastoreAssignmentResponse {}
29
30
  /** Properties of the new metastore. */
30
- export interface AccountsCreateMetastoreRequest {
31
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
32
- accountId?: string | undefined;
33
- metastoreInfo?: CreateAccountsMetastore | undefined;
31
+ interface AccountsCreateMetastoreRequest {
32
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
33
+ accountId?: string | undefined;
34
+ metastoreInfo?: CreateAccountsMetastore | undefined;
34
35
  }
35
- export interface AccountsCreateMetastoreResponse {
36
- metastoreInfo?: MetastoreInfo | undefined;
36
+ interface AccountsCreateMetastoreResponse {
37
+ metastoreInfo?: MetastoreInfo | undefined;
37
38
  }
38
39
  /** Delete a metastore assignment to a workspace */
39
- export interface AccountsDeleteMetastoreAssignmentRequest {
40
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
41
- accountId?: string | undefined;
42
- /** Workspace ID. */
43
- workspaceId?: bigint | undefined;
44
- /** Unity Catalog metastore ID */
45
- metastoreId?: string | undefined;
40
+ interface AccountsDeleteMetastoreAssignmentRequest {
41
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
42
+ accountId?: string | undefined;
43
+ /** Workspace ID. */
44
+ workspaceId?: bigint | undefined;
45
+ /** Unity Catalog metastore ID */
46
+ metastoreId?: string | undefined;
46
47
  }
47
48
  /** The metastore assignment was successfully deleted. */
48
- export interface AccountsDeleteMetastoreAssignmentResponse {
49
- }
49
+ interface AccountsDeleteMetastoreAssignmentResponse {}
50
50
  /** Delete a metastore for the given account */
51
- export interface AccountsDeleteMetastoreRequest {
52
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
53
- accountId?: string | undefined;
54
- /** Unity Catalog metastore ID */
55
- metastoreId?: string | undefined;
56
- /** Force deletion even if the metastore is not empty. Default is false. */
57
- force?: boolean | undefined;
51
+ interface AccountsDeleteMetastoreRequest {
52
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
53
+ accountId?: string | undefined;
54
+ /** Unity Catalog metastore ID */
55
+ metastoreId?: string | undefined;
56
+ /** Force deletion even if the metastore is not empty. Default is false. */
57
+ force?: boolean | undefined;
58
58
  }
59
59
  /** The metastore was successfully deleted. */
60
- export interface AccountsDeleteMetastoreResponse {
61
- }
60
+ interface AccountsDeleteMetastoreResponse {}
62
61
  /** Retrieves the assignment of which metastore to a given workspace */
63
- export interface AccountsGetMetastoreAssignmentRequest {
64
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
65
- accountId?: string | undefined;
66
- /** Workspace ID. */
67
- workspaceId?: bigint | undefined;
62
+ interface AccountsGetMetastoreAssignmentRequest {
63
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
64
+ accountId?: string | undefined;
65
+ /** Workspace ID. */
66
+ workspaceId?: bigint | undefined;
68
67
  }
69
68
  /** The workspace metastore assignment was successfully returned. */
70
- export interface AccountsGetMetastoreAssignmentResponse {
71
- metastoreAssignment?: MetastoreAssignment | undefined;
69
+ interface AccountsGetMetastoreAssignmentResponse {
70
+ metastoreAssignment?: MetastoreAssignment | undefined;
72
71
  }
73
72
  /** Get a metastore for a given account */
74
- export interface AccountsGetMetastoreRequest {
75
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
76
- accountId?: string | undefined;
77
- /** Unity Catalog metastore ID */
78
- metastoreId?: string | undefined;
73
+ interface AccountsGetMetastoreRequest {
74
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
75
+ accountId?: string | undefined;
76
+ /** Unity Catalog metastore ID */
77
+ metastoreId?: string | undefined;
79
78
  }
80
79
  /** The metastore was successfully returned. */
81
- export interface AccountsGetMetastoreResponse {
82
- metastoreInfo?: MetastoreInfo | undefined;
80
+ interface AccountsGetMetastoreResponse {
81
+ metastoreInfo?: MetastoreInfo | undefined;
83
82
  }
84
83
  /** List the metastores for an account */
85
- export interface AccountsListMetastoresRequest {
86
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
87
- accountId?: string | undefined;
84
+ interface AccountsListMetastoresRequest {
85
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
86
+ accountId?: string | undefined;
88
87
  }
89
88
  /** Metastores were returned successfully. */
90
- export interface AccountsListMetastoresResponse {
91
- /** An array of metastore information objects. */
92
- metastores?: MetastoreInfo[] | undefined;
89
+ interface AccountsListMetastoresResponse {
90
+ /** An array of metastore information objects. */
91
+ metastores?: MetastoreInfo[] | undefined;
93
92
  }
94
93
  /** Lists all workspace IDs for a given metastore */
95
- export interface AccountsListWorkspaceIdsForMetastoreRequest {
96
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
97
- accountId?: string | undefined;
98
- /** Unity Catalog metastore ID */
99
- metastoreId?: string | undefined;
94
+ interface AccountsListWorkspaceIdsForMetastoreRequest {
95
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
96
+ accountId?: string | undefined;
97
+ /** Unity Catalog metastore ID */
98
+ metastoreId?: string | undefined;
100
99
  }
101
100
  /** The metastore assignments were successfully returned. */
102
- export interface AccountsListWorkspaceIdsForMetastoreResponse {
103
- workspaceIds?: bigint[] | undefined;
101
+ interface AccountsListWorkspaceIdsForMetastoreResponse {
102
+ workspaceIds?: bigint[] | undefined;
104
103
  }
105
104
  /** The metastore assignment to update. */
106
- export interface AccountsUpdateMetastoreAssignmentRequest {
107
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
108
- accountId?: string | undefined;
109
- /** Workspace ID. */
110
- workspaceId?: bigint | undefined;
111
- /** Unity Catalog metastore ID */
112
- metastoreId?: string | undefined;
113
- metastoreAssignment?: MetastoreAssignment | undefined;
105
+ interface AccountsUpdateMetastoreAssignmentRequest {
106
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
107
+ accountId?: string | undefined;
108
+ /** Workspace ID. */
109
+ workspaceId?: bigint | undefined;
110
+ /** Unity Catalog metastore ID */
111
+ metastoreId?: string | undefined;
112
+ metastoreAssignment?: MetastoreAssignment | undefined;
114
113
  }
115
114
  /** The metastore assignment was successfully updated. */
116
- export interface AccountsUpdateMetastoreAssignmentResponse {
117
- }
115
+ interface AccountsUpdateMetastoreAssignmentResponse {}
118
116
  /** Properties of the metastore to change. */
119
- export interface AccountsUpdateMetastoreRequest {
120
- /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
121
- accountId?: string | undefined;
122
- /** Unity Catalog metastore ID */
123
- metastoreId?: string | undefined;
124
- /** Properties of the metastore to change. */
125
- metastoreInfo?: UpdateAccountsMetastore | undefined;
117
+ interface AccountsUpdateMetastoreRequest {
118
+ /** <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html) */
119
+ accountId?: string | undefined;
120
+ /** Unity Catalog metastore ID */
121
+ metastoreId?: string | undefined;
122
+ /** Properties of the metastore to change. */
123
+ metastoreInfo?: UpdateAccountsMetastore | undefined;
126
124
  }
127
125
  /** The metastore update request succeeded. */
128
- export interface AccountsUpdateMetastoreResponse {
129
- metastoreInfo?: MetastoreInfo | undefined;
130
- }
131
- export interface CreateAccountsMetastore {
132
- /** The user-specified name of the metastore. */
133
- name?: string | undefined;
134
- /** The storage root URL for metastore */
135
- storageRoot?: string | undefined;
136
- /** Unique identifier of the metastore's (Default) Data Access Configuration. */
137
- defaultDataAccessConfigId?: string | undefined;
138
- /** UUID of storage credential to access the metastore storage_root. */
139
- storageRootCredentialId?: string | undefined;
140
- /** The scope of Delta Sharing enabled for the metastore. */
141
- deltaSharingScope?: DeltaSharingScope_Enum | undefined;
142
- /** The lifetime of delta sharing recipient token in seconds. */
143
- deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
144
- /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
145
- deltaSharingOrganizationName?: string | undefined;
146
- /** The owner of the metastore. */
147
- owner?: string | undefined;
148
- /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
149
- privilegeModelVersion?: string | undefined;
150
- /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
151
- region?: string | undefined;
152
- /** Unique identifier of metastore. */
153
- metastoreId?: string | undefined;
154
- /** Time at which this metastore was created, in epoch milliseconds. */
155
- createdAt?: bigint | undefined;
156
- /** Username of metastore creator. */
157
- createdBy?: string | undefined;
158
- /** Time at which the metastore was last modified, in epoch milliseconds. */
159
- updatedAt?: bigint | undefined;
160
- /** Username of user who last modified the metastore. */
161
- updatedBy?: string | undefined;
162
- /** Name of the storage credential to access the metastore storage_root. */
163
- storageRootCredentialName?: string | undefined;
164
- /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
165
- cloud?: string | undefined;
166
- /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
167
- globalMetastoreId?: string | undefined;
168
- /** Whether to allow non-DBR clients to directly access entities under the metastore. */
169
- externalAccessEnabled?: boolean | undefined;
170
- }
171
- export interface CreateMetastoreAssignmentRequest {
172
- /** A workspace ID. */
173
- workspaceId?: bigint | undefined;
174
- /** The unique ID of the metastore. */
175
- metastoreId?: string | undefined;
176
- /**
177
- * The name of the default catalog in the metastore.
178
- * This field is deprecated. Please use "Default Namespace API" to
179
- * configure the default catalog for a <Databricks> workspace.
180
- */
181
- defaultCatalogName?: string | undefined;
182
- }
183
- export interface CreateMetastoreAssignmentResponse {
184
- }
185
- export interface CreateMetastoreRequest {
186
- /** The user-specified name of the metastore. */
187
- name?: string | undefined;
188
- /** The storage root URL for metastore */
189
- storageRoot?: string | undefined;
190
- /** Unique identifier of the metastore's (Default) Data Access Configuration. */
191
- defaultDataAccessConfigId?: string | undefined;
192
- /** UUID of storage credential to access the metastore storage_root. */
193
- storageRootCredentialId?: string | undefined;
194
- /** The scope of Delta Sharing enabled for the metastore. */
195
- deltaSharingScope?: DeltaSharingScope_Enum | undefined;
196
- /** The lifetime of delta sharing recipient token in seconds. */
197
- deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
198
- /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
199
- deltaSharingOrganizationName?: string | undefined;
200
- /** The owner of the metastore. */
201
- owner?: string | undefined;
202
- /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
203
- privilegeModelVersion?: string | undefined;
204
- /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
205
- region?: string | undefined;
206
- /** Unique identifier of metastore. */
207
- metastoreId?: string | undefined;
208
- /** Time at which this metastore was created, in epoch milliseconds. */
209
- createdAt?: bigint | undefined;
210
- /** Username of metastore creator. */
211
- createdBy?: string | undefined;
212
- /** Time at which the metastore was last modified, in epoch milliseconds. */
213
- updatedAt?: bigint | undefined;
214
- /** Username of user who last modified the metastore. */
215
- updatedBy?: string | undefined;
216
- /** Name of the storage credential to access the metastore storage_root. */
217
- storageRootCredentialName?: string | undefined;
218
- /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
219
- cloud?: string | undefined;
220
- /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
221
- globalMetastoreId?: string | undefined;
222
- /** Whether to allow non-DBR clients to directly access entities under the metastore. */
223
- externalAccessEnabled?: boolean | undefined;
224
- }
225
- export interface DeleteMetastoreAssignmentRequest {
226
- /** A workspace ID. */
227
- workspaceId?: bigint | undefined;
228
- /** Query for the ID of the metastore to delete. */
229
- metastoreId?: string | undefined;
230
- }
231
- export interface DeleteMetastoreAssignmentResponse {
232
- }
233
- export interface DeleteMetastoreRequest {
234
- /** Unique ID of the metastore. */
235
- id?: string | undefined;
236
- /** Force deletion even if the metastore is not empty. Default is false. */
237
- force?: boolean | undefined;
238
- }
239
- export interface DeleteMetastoreResponse {
240
- }
241
- export interface DeltaSharingScope {
242
- }
243
- export interface GetCurrentMetastoreAssignmentRequest {
244
- }
245
- export interface GetMetastoreRequest {
246
- /** Unique ID of the metastore. */
247
- id?: string | undefined;
248
- }
249
- export interface GetMetastoreSummaryRequest {
250
- }
251
- export interface GetMetastoreSummaryResponse {
252
- /** Unique identifier of metastore. */
253
- metastoreId?: string | undefined;
254
- /** The user-specified name of the metastore. */
255
- name?: string | undefined;
256
- /** Unique identifier of the metastore's (Default) Data Access Configuration. */
257
- defaultDataAccessConfigId?: string | undefined;
258
- /** UUID of storage credential to access the metastore storage_root. */
259
- storageRootCredentialId?: string | undefined;
260
- /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
261
- cloud?: string | undefined;
262
- /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
263
- region?: string | undefined;
264
- /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
265
- globalMetastoreId?: string | undefined;
266
- /** Name of the storage credential to access the metastore storage_root. */
267
- storageRootCredentialName?: string | undefined;
268
- /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
269
- privilegeModelVersion?: string | undefined;
270
- /** The scope of Delta Sharing enabled for the metastore. */
271
- deltaSharingScope?: DeltaSharingScope_Enum | undefined;
272
- /** The lifetime of delta sharing recipient token in seconds. */
273
- deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
274
- /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
275
- deltaSharingOrganizationName?: string | undefined;
276
- /** The storage root URL for metastore */
277
- storageRoot?: string | undefined;
278
- /** The owner of the metastore. */
279
- owner?: string | undefined;
280
- /** Time at which this metastore was created, in epoch milliseconds. */
281
- createdAt?: bigint | undefined;
282
- /** Username of metastore creator. */
283
- createdBy?: string | undefined;
284
- /** Time at which the metastore was last modified, in epoch milliseconds. */
285
- updatedAt?: bigint | undefined;
286
- /** Username of user who last modified the metastore. */
287
- updatedBy?: string | undefined;
288
- /** Whether to allow non-DBR clients to directly access entities under the metastore. */
289
- externalAccessEnabled?: boolean | undefined;
290
- }
291
- export interface ListMetastoresRequest {
292
- /**
293
- * Maximum number of metastores to return.
294
- * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
295
- * - when set to 0, the page length is set to a server configured value (recommended);
296
- * - when set to a value less than 0, an invalid parameter error is returned;
297
- * - If not set, all the metastores are returned (not recommended).
298
- * - Note: The number of returned metastores might be less than the specified max_results size, even zero.
299
- * The only definitive indication that no further metastores can be fetched is when the next_page_token is unset from the response.
300
- */
301
- maxResults?: number | undefined;
302
- /** Opaque pagination token to go to next page based on previous query. */
303
- pageToken?: string | undefined;
304
- }
305
- export interface ListMetastoresResponse {
306
- /** An array of metastore information objects. */
307
- metastores?: MetastoreInfo[] | undefined;
308
- /**
309
- * Opaque token to retrieve the next page of results. Absent if there are no more pages.
310
- * __page_token__ should be set to this value for the next request (for the next page of results).
311
- */
312
- nextPageToken?: string | undefined;
313
- }
314
- export interface MetastoreAssignment {
315
- /** The unique ID of the <Databricks> workspace. */
316
- workspaceId?: bigint | undefined;
317
- /** The unique ID of the metastore. */
318
- metastoreId?: string | undefined;
319
- /**
320
- * The name of the default catalog in the metastore. This field is deprecated.
321
- * Please use "Default Namespace API" to configure the default catalog for a <Databricks> workspace.
322
- */
323
- defaultCatalogName?: string | undefined;
324
- }
325
- export interface MetastoreInfo {
326
- /** The user-specified name of the metastore. */
327
- name?: string | undefined;
328
- /** The storage root URL for metastore */
329
- storageRoot?: string | undefined;
330
- /** Unique identifier of the metastore's (Default) Data Access Configuration. */
331
- defaultDataAccessConfigId?: string | undefined;
332
- /** UUID of storage credential to access the metastore storage_root. */
333
- storageRootCredentialId?: string | undefined;
334
- /** The scope of Delta Sharing enabled for the metastore. */
335
- deltaSharingScope?: DeltaSharingScope_Enum | undefined;
336
- /** The lifetime of delta sharing recipient token in seconds. */
337
- deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
338
- /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
339
- deltaSharingOrganizationName?: string | undefined;
340
- /** The owner of the metastore. */
341
- owner?: string | undefined;
342
- /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
343
- privilegeModelVersion?: string | undefined;
344
- /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
345
- region?: string | undefined;
346
- /** Unique identifier of metastore. */
347
- metastoreId?: string | undefined;
348
- /** Time at which this metastore was created, in epoch milliseconds. */
349
- createdAt?: bigint | undefined;
350
- /** Username of metastore creator. */
351
- createdBy?: string | undefined;
352
- /** Time at which the metastore was last modified, in epoch milliseconds. */
353
- updatedAt?: bigint | undefined;
354
- /** Username of user who last modified the metastore. */
355
- updatedBy?: string | undefined;
356
- /** Name of the storage credential to access the metastore storage_root. */
357
- storageRootCredentialName?: string | undefined;
358
- /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
359
- cloud?: string | undefined;
360
- /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
361
- globalMetastoreId?: string | undefined;
362
- /** Whether to allow non-DBR clients to directly access entities under the metastore. */
363
- externalAccessEnabled?: boolean | undefined;
364
- }
365
- export interface UpdateAccountsMetastore {
366
- /** The user-specified name of the metastore. */
367
- name?: string | undefined;
368
- /** The storage root URL for metastore */
369
- storageRoot?: string | undefined;
370
- /** Unique identifier of the metastore's (Default) Data Access Configuration. */
371
- defaultDataAccessConfigId?: string | undefined;
372
- /** UUID of storage credential to access the metastore storage_root. */
373
- storageRootCredentialId?: string | undefined;
374
- /** The scope of Delta Sharing enabled for the metastore. */
375
- deltaSharingScope?: DeltaSharingScope_Enum | undefined;
376
- /** The lifetime of delta sharing recipient token in seconds. */
377
- deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
378
- /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
379
- deltaSharingOrganizationName?: string | undefined;
380
- /** The owner of the metastore. */
381
- owner?: string | undefined;
382
- /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
383
- privilegeModelVersion?: string | undefined;
384
- /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
385
- region?: string | undefined;
386
- /** Unique identifier of metastore. */
387
- metastoreId?: string | undefined;
388
- /** Time at which this metastore was created, in epoch milliseconds. */
389
- createdAt?: bigint | undefined;
390
- /** Username of metastore creator. */
391
- createdBy?: string | undefined;
392
- /** Time at which the metastore was last modified, in epoch milliseconds. */
393
- updatedAt?: bigint | undefined;
394
- /** Username of user who last modified the metastore. */
395
- updatedBy?: string | undefined;
396
- /** Name of the storage credential to access the metastore storage_root. */
397
- storageRootCredentialName?: string | undefined;
398
- /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
399
- cloud?: string | undefined;
400
- /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
401
- globalMetastoreId?: string | undefined;
402
- /** Whether to allow non-DBR clients to directly access entities under the metastore. */
403
- externalAccessEnabled?: boolean | undefined;
404
- }
405
- export interface UpdateMetastoreAssignmentRequest {
406
- /** A workspace ID. */
407
- workspaceId?: bigint | undefined;
408
- /** The unique ID of the metastore. */
409
- metastoreId?: string | undefined;
410
- /**
411
- * The name of the default catalog in the metastore.
412
- * This field is deprecated. Please use "Default Namespace API" to
413
- * configure the default catalog for a <Databricks> workspace.
414
- */
415
- defaultCatalogName?: string | undefined;
416
- }
417
- export interface UpdateMetastoreAssignmentResponse {
418
- }
419
- export interface UpdateMetastoreRequest {
420
- /** Unique ID of the metastore. */
421
- id?: string | undefined;
422
- /** New name for the metastore. */
423
- newName?: string | undefined;
424
- /** The user-specified name of the metastore. */
425
- name?: string | undefined;
426
- /** The storage root URL for metastore */
427
- storageRoot?: string | undefined;
428
- /** Unique identifier of the metastore's (Default) Data Access Configuration. */
429
- defaultDataAccessConfigId?: string | undefined;
430
- /** UUID of storage credential to access the metastore storage_root. */
431
- storageRootCredentialId?: string | undefined;
432
- /** The scope of Delta Sharing enabled for the metastore. */
433
- deltaSharingScope?: DeltaSharingScope_Enum | undefined;
434
- /** The lifetime of delta sharing recipient token in seconds. */
435
- deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
436
- /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
437
- deltaSharingOrganizationName?: string | undefined;
438
- /** The owner of the metastore. */
439
- owner?: string | undefined;
440
- /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
441
- privilegeModelVersion?: string | undefined;
442
- /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
443
- region?: string | undefined;
444
- /** Unique identifier of metastore. */
445
- metastoreId?: string | undefined;
446
- /** Time at which this metastore was created, in epoch milliseconds. */
447
- createdAt?: bigint | undefined;
448
- /** Username of metastore creator. */
449
- createdBy?: string | undefined;
450
- /** Time at which the metastore was last modified, in epoch milliseconds. */
451
- updatedAt?: bigint | undefined;
452
- /** Username of user who last modified the metastore. */
453
- updatedBy?: string | undefined;
454
- /** Name of the storage credential to access the metastore storage_root. */
455
- storageRootCredentialName?: string | undefined;
456
- /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
457
- cloud?: string | undefined;
458
- /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
459
- globalMetastoreId?: string | undefined;
460
- /** Whether to allow non-DBR clients to directly access entities under the metastore. */
461
- externalAccessEnabled?: boolean | undefined;
462
- }
463
- export declare const unmarshalAccountsCreateMetastoreAssignmentResponseSchema: z.ZodType<AccountsCreateMetastoreAssignmentResponse>;
464
- export declare const unmarshalAccountsCreateMetastoreResponseSchema: z.ZodType<AccountsCreateMetastoreResponse>;
465
- export declare const unmarshalAccountsDeleteMetastoreAssignmentResponseSchema: z.ZodType<AccountsDeleteMetastoreAssignmentResponse>;
466
- export declare const unmarshalAccountsDeleteMetastoreResponseSchema: z.ZodType<AccountsDeleteMetastoreResponse>;
467
- export declare const unmarshalAccountsGetMetastoreAssignmentResponseSchema: z.ZodType<AccountsGetMetastoreAssignmentResponse>;
468
- export declare const unmarshalAccountsGetMetastoreResponseSchema: z.ZodType<AccountsGetMetastoreResponse>;
469
- export declare const unmarshalAccountsListMetastoresResponseSchema: z.ZodType<AccountsListMetastoresResponse>;
470
- export declare const unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema: z.ZodType<AccountsListWorkspaceIdsForMetastoreResponse>;
471
- export declare const unmarshalAccountsUpdateMetastoreAssignmentResponseSchema: z.ZodType<AccountsUpdateMetastoreAssignmentResponse>;
472
- export declare const unmarshalAccountsUpdateMetastoreResponseSchema: z.ZodType<AccountsUpdateMetastoreResponse>;
473
- export declare const unmarshalCreateMetastoreAssignmentResponseSchema: z.ZodType<CreateMetastoreAssignmentResponse>;
474
- export declare const unmarshalDeleteMetastoreAssignmentResponseSchema: z.ZodType<DeleteMetastoreAssignmentResponse>;
475
- export declare const unmarshalDeleteMetastoreResponseSchema: z.ZodType<DeleteMetastoreResponse>;
476
- export declare const unmarshalGetMetastoreSummaryResponseSchema: z.ZodType<GetMetastoreSummaryResponse>;
477
- export declare const unmarshalListMetastoresResponseSchema: z.ZodType<ListMetastoresResponse>;
478
- export declare const unmarshalMetastoreAssignmentSchema: z.ZodType<MetastoreAssignment>;
479
- export declare const unmarshalMetastoreInfoSchema: z.ZodType<MetastoreInfo>;
480
- export declare const unmarshalUpdateMetastoreAssignmentResponseSchema: z.ZodType<UpdateMetastoreAssignmentResponse>;
481
- export declare const marshalAccountsCreateMetastoreAssignmentRequestSchema: z.ZodType;
482
- export declare const marshalAccountsCreateMetastoreRequestSchema: z.ZodType;
483
- export declare const marshalAccountsUpdateMetastoreAssignmentRequestSchema: z.ZodType;
484
- export declare const marshalAccountsUpdateMetastoreRequestSchema: z.ZodType;
485
- export declare const marshalCreateAccountsMetastoreSchema: z.ZodType;
486
- export declare const marshalCreateMetastoreAssignmentRequestSchema: z.ZodType;
487
- export declare const marshalCreateMetastoreRequestSchema: z.ZodType;
488
- export declare const marshalMetastoreAssignmentSchema: z.ZodType;
489
- export declare const marshalUpdateAccountsMetastoreSchema: z.ZodType;
490
- export declare const marshalUpdateMetastoreAssignmentRequestSchema: z.ZodType;
491
- export declare const marshalUpdateMetastoreRequestSchema: z.ZodType;
126
+ interface AccountsUpdateMetastoreResponse {
127
+ metastoreInfo?: MetastoreInfo | undefined;
128
+ }
129
+ interface CreateAccountsMetastore {
130
+ /** The user-specified name of the metastore. */
131
+ name?: string | undefined;
132
+ /** The storage root URL for metastore */
133
+ storageRoot?: string | undefined;
134
+ /** Unique identifier of the metastore's (Default) Data Access Configuration. */
135
+ defaultDataAccessConfigId?: string | undefined;
136
+ /** UUID of storage credential to access the metastore storage_root. */
137
+ storageRootCredentialId?: string | undefined;
138
+ /** The scope of Delta Sharing enabled for the metastore. */
139
+ deltaSharingScope?: DeltaSharingScope_Enum | undefined;
140
+ /** The lifetime of delta sharing recipient token in seconds. */
141
+ deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
142
+ /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
143
+ deltaSharingOrganizationName?: string | undefined;
144
+ /** The owner of the metastore. */
145
+ owner?: string | undefined;
146
+ /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
147
+ privilegeModelVersion?: string | undefined;
148
+ /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
149
+ region?: string | undefined;
150
+ /** Unique identifier of metastore. */
151
+ metastoreId?: string | undefined;
152
+ /** Time at which this metastore was created, in epoch milliseconds. */
153
+ createdAt?: bigint | undefined;
154
+ /** Username of metastore creator. */
155
+ createdBy?: string | undefined;
156
+ /** Time at which the metastore was last modified, in epoch milliseconds. */
157
+ updatedAt?: bigint | undefined;
158
+ /** Username of user who last modified the metastore. */
159
+ updatedBy?: string | undefined;
160
+ /** Name of the storage credential to access the metastore storage_root. */
161
+ storageRootCredentialName?: string | undefined;
162
+ /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
163
+ cloud?: string | undefined;
164
+ /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
165
+ globalMetastoreId?: string | undefined;
166
+ /** Whether to allow non-DBR clients to directly access entities under the metastore. */
167
+ externalAccessEnabled?: boolean | undefined;
168
+ }
169
+ interface CreateMetastoreAssignmentRequest {
170
+ /** A workspace ID. */
171
+ workspaceId?: bigint | undefined;
172
+ /** The unique ID of the metastore. */
173
+ metastoreId?: string | undefined;
174
+ /**
175
+ * The name of the default catalog in the metastore.
176
+ * This field is deprecated. Please use "Default Namespace API" to
177
+ * configure the default catalog for a <Databricks> workspace.
178
+ */
179
+ defaultCatalogName?: string | undefined;
180
+ }
181
+ interface CreateMetastoreAssignmentResponse {}
182
+ interface CreateMetastoreRequest {
183
+ /** The user-specified name of the metastore. */
184
+ name?: string | undefined;
185
+ /** The storage root URL for metastore */
186
+ storageRoot?: string | undefined;
187
+ /** Unique identifier of the metastore's (Default) Data Access Configuration. */
188
+ defaultDataAccessConfigId?: string | undefined;
189
+ /** UUID of storage credential to access the metastore storage_root. */
190
+ storageRootCredentialId?: string | undefined;
191
+ /** The scope of Delta Sharing enabled for the metastore. */
192
+ deltaSharingScope?: DeltaSharingScope_Enum | undefined;
193
+ /** The lifetime of delta sharing recipient token in seconds. */
194
+ deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
195
+ /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
196
+ deltaSharingOrganizationName?: string | undefined;
197
+ /** The owner of the metastore. */
198
+ owner?: string | undefined;
199
+ /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
200
+ privilegeModelVersion?: string | undefined;
201
+ /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
202
+ region?: string | undefined;
203
+ /** Unique identifier of metastore. */
204
+ metastoreId?: string | undefined;
205
+ /** Time at which this metastore was created, in epoch milliseconds. */
206
+ createdAt?: bigint | undefined;
207
+ /** Username of metastore creator. */
208
+ createdBy?: string | undefined;
209
+ /** Time at which the metastore was last modified, in epoch milliseconds. */
210
+ updatedAt?: bigint | undefined;
211
+ /** Username of user who last modified the metastore. */
212
+ updatedBy?: string | undefined;
213
+ /** Name of the storage credential to access the metastore storage_root. */
214
+ storageRootCredentialName?: string | undefined;
215
+ /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
216
+ cloud?: string | undefined;
217
+ /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
218
+ globalMetastoreId?: string | undefined;
219
+ /** Whether to allow non-DBR clients to directly access entities under the metastore. */
220
+ externalAccessEnabled?: boolean | undefined;
221
+ }
222
+ interface DeleteMetastoreAssignmentRequest {
223
+ /** A workspace ID. */
224
+ workspaceId?: bigint | undefined;
225
+ /** Query for the ID of the metastore to delete. */
226
+ metastoreId?: string | undefined;
227
+ }
228
+ interface DeleteMetastoreAssignmentResponse {}
229
+ interface DeleteMetastoreRequest {
230
+ /** Unique ID of the metastore. */
231
+ id?: string | undefined;
232
+ /** Force deletion even if the metastore is not empty. Default is false. */
233
+ force?: boolean | undefined;
234
+ }
235
+ interface DeleteMetastoreResponse {}
236
+ interface DeltaSharingScope {}
237
+ interface GetCurrentMetastoreAssignmentRequest {}
238
+ interface GetMetastoreRequest {
239
+ /** Unique ID of the metastore. */
240
+ id?: string | undefined;
241
+ }
242
+ interface GetMetastoreSummaryRequest {}
243
+ interface GetMetastoreSummaryResponse {
244
+ /** Unique identifier of metastore. */
245
+ metastoreId?: string | undefined;
246
+ /** The user-specified name of the metastore. */
247
+ name?: string | undefined;
248
+ /** Unique identifier of the metastore's (Default) Data Access Configuration. */
249
+ defaultDataAccessConfigId?: string | undefined;
250
+ /** UUID of storage credential to access the metastore storage_root. */
251
+ storageRootCredentialId?: string | undefined;
252
+ /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
253
+ cloud?: string | undefined;
254
+ /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
255
+ region?: string | undefined;
256
+ /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
257
+ globalMetastoreId?: string | undefined;
258
+ /** Name of the storage credential to access the metastore storage_root. */
259
+ storageRootCredentialName?: string | undefined;
260
+ /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
261
+ privilegeModelVersion?: string | undefined;
262
+ /** The scope of Delta Sharing enabled for the metastore. */
263
+ deltaSharingScope?: DeltaSharingScope_Enum | undefined;
264
+ /** The lifetime of delta sharing recipient token in seconds. */
265
+ deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
266
+ /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
267
+ deltaSharingOrganizationName?: string | undefined;
268
+ /** The storage root URL for metastore */
269
+ storageRoot?: string | undefined;
270
+ /** The owner of the metastore. */
271
+ owner?: string | undefined;
272
+ /** Time at which this metastore was created, in epoch milliseconds. */
273
+ createdAt?: bigint | undefined;
274
+ /** Username of metastore creator. */
275
+ createdBy?: string | undefined;
276
+ /** Time at which the metastore was last modified, in epoch milliseconds. */
277
+ updatedAt?: bigint | undefined;
278
+ /** Username of user who last modified the metastore. */
279
+ updatedBy?: string | undefined;
280
+ /** Whether to allow non-DBR clients to directly access entities under the metastore. */
281
+ externalAccessEnabled?: boolean | undefined;
282
+ }
283
+ interface ListMetastoresRequest {
284
+ /**
285
+ * Maximum number of metastores to return.
286
+ * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
287
+ * - when set to 0, the page length is set to a server configured value (recommended);
288
+ * - when set to a value less than 0, an invalid parameter error is returned;
289
+ * - If not set, all the metastores are returned (not recommended).
290
+ * - Note: The number of returned metastores might be less than the specified max_results size, even zero.
291
+ * The only definitive indication that no further metastores can be fetched is when the next_page_token is unset from the response.
292
+ */
293
+ maxResults?: number | undefined;
294
+ /** Opaque pagination token to go to next page based on previous query. */
295
+ pageToken?: string | undefined;
296
+ }
297
+ interface ListMetastoresResponse {
298
+ /** An array of metastore information objects. */
299
+ metastores?: MetastoreInfo[] | undefined;
300
+ /**
301
+ * Opaque token to retrieve the next page of results. Absent if there are no more pages.
302
+ * __page_token__ should be set to this value for the next request (for the next page of results).
303
+ */
304
+ nextPageToken?: string | undefined;
305
+ }
306
+ interface MetastoreAssignment {
307
+ /** The unique ID of the <Databricks> workspace. */
308
+ workspaceId?: bigint | undefined;
309
+ /** The unique ID of the metastore. */
310
+ metastoreId?: string | undefined;
311
+ /**
312
+ * The name of the default catalog in the metastore. This field is deprecated.
313
+ * Please use "Default Namespace API" to configure the default catalog for a <Databricks> workspace.
314
+ */
315
+ defaultCatalogName?: string | undefined;
316
+ }
317
+ interface MetastoreInfo {
318
+ /** The user-specified name of the metastore. */
319
+ name?: string | undefined;
320
+ /** The storage root URL for metastore */
321
+ storageRoot?: string | undefined;
322
+ /** Unique identifier of the metastore's (Default) Data Access Configuration. */
323
+ defaultDataAccessConfigId?: string | undefined;
324
+ /** UUID of storage credential to access the metastore storage_root. */
325
+ storageRootCredentialId?: string | undefined;
326
+ /** The scope of Delta Sharing enabled for the metastore. */
327
+ deltaSharingScope?: DeltaSharingScope_Enum | undefined;
328
+ /** The lifetime of delta sharing recipient token in seconds. */
329
+ deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
330
+ /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
331
+ deltaSharingOrganizationName?: string | undefined;
332
+ /** The owner of the metastore. */
333
+ owner?: string | undefined;
334
+ /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
335
+ privilegeModelVersion?: string | undefined;
336
+ /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
337
+ region?: string | undefined;
338
+ /** Unique identifier of metastore. */
339
+ metastoreId?: string | undefined;
340
+ /** Time at which this metastore was created, in epoch milliseconds. */
341
+ createdAt?: bigint | undefined;
342
+ /** Username of metastore creator. */
343
+ createdBy?: string | undefined;
344
+ /** Time at which the metastore was last modified, in epoch milliseconds. */
345
+ updatedAt?: bigint | undefined;
346
+ /** Username of user who last modified the metastore. */
347
+ updatedBy?: string | undefined;
348
+ /** Name of the storage credential to access the metastore storage_root. */
349
+ storageRootCredentialName?: string | undefined;
350
+ /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
351
+ cloud?: string | undefined;
352
+ /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
353
+ globalMetastoreId?: string | undefined;
354
+ /** Whether to allow non-DBR clients to directly access entities under the metastore. */
355
+ externalAccessEnabled?: boolean | undefined;
356
+ }
357
+ interface UpdateAccountsMetastore {
358
+ /** The user-specified name of the metastore. */
359
+ name?: string | undefined;
360
+ /** The storage root URL for metastore */
361
+ storageRoot?: string | undefined;
362
+ /** Unique identifier of the metastore's (Default) Data Access Configuration. */
363
+ defaultDataAccessConfigId?: string | undefined;
364
+ /** UUID of storage credential to access the metastore storage_root. */
365
+ storageRootCredentialId?: string | undefined;
366
+ /** The scope of Delta Sharing enabled for the metastore. */
367
+ deltaSharingScope?: DeltaSharingScope_Enum | undefined;
368
+ /** The lifetime of delta sharing recipient token in seconds. */
369
+ deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
370
+ /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
371
+ deltaSharingOrganizationName?: string | undefined;
372
+ /** The owner of the metastore. */
373
+ owner?: string | undefined;
374
+ /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
375
+ privilegeModelVersion?: string | undefined;
376
+ /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
377
+ region?: string | undefined;
378
+ /** Unique identifier of metastore. */
379
+ metastoreId?: string | undefined;
380
+ /** Time at which this metastore was created, in epoch milliseconds. */
381
+ createdAt?: bigint | undefined;
382
+ /** Username of metastore creator. */
383
+ createdBy?: string | undefined;
384
+ /** Time at which the metastore was last modified, in epoch milliseconds. */
385
+ updatedAt?: bigint | undefined;
386
+ /** Username of user who last modified the metastore. */
387
+ updatedBy?: string | undefined;
388
+ /** Name of the storage credential to access the metastore storage_root. */
389
+ storageRootCredentialName?: string | undefined;
390
+ /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
391
+ cloud?: string | undefined;
392
+ /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
393
+ globalMetastoreId?: string | undefined;
394
+ /** Whether to allow non-DBR clients to directly access entities under the metastore. */
395
+ externalAccessEnabled?: boolean | undefined;
396
+ }
397
+ interface UpdateMetastoreAssignmentRequest {
398
+ /** A workspace ID. */
399
+ workspaceId?: bigint | undefined;
400
+ /** The unique ID of the metastore. */
401
+ metastoreId?: string | undefined;
402
+ /**
403
+ * The name of the default catalog in the metastore.
404
+ * This field is deprecated. Please use "Default Namespace API" to
405
+ * configure the default catalog for a <Databricks> workspace.
406
+ */
407
+ defaultCatalogName?: string | undefined;
408
+ }
409
+ interface UpdateMetastoreAssignmentResponse {}
410
+ interface UpdateMetastoreRequest {
411
+ /** Unique ID of the metastore. */
412
+ id?: string | undefined;
413
+ /** New name for the metastore. */
414
+ newName?: string | undefined;
415
+ /** The user-specified name of the metastore. */
416
+ name?: string | undefined;
417
+ /** The storage root URL for metastore */
418
+ storageRoot?: string | undefined;
419
+ /** Unique identifier of the metastore's (Default) Data Access Configuration. */
420
+ defaultDataAccessConfigId?: string | undefined;
421
+ /** UUID of storage credential to access the metastore storage_root. */
422
+ storageRootCredentialId?: string | undefined;
423
+ /** The scope of Delta Sharing enabled for the metastore. */
424
+ deltaSharingScope?: DeltaSharingScope_Enum | undefined;
425
+ /** The lifetime of delta sharing recipient token in seconds. */
426
+ deltaSharingRecipientTokenLifetimeInSeconds?: bigint | undefined;
427
+ /** The organization name of a Delta Sharing entity, to be used in Databricks-to-Databricks Delta Sharing as the official name. */
428
+ deltaSharingOrganizationName?: string | undefined;
429
+ /** The owner of the metastore. */
430
+ owner?: string | undefined;
431
+ /** Privilege model version of the metastore, of the form `major.minor` (e.g., `1.0`). */
432
+ privilegeModelVersion?: string | undefined;
433
+ /** Cloud region which the metastore serves (e.g., `us-west-2`, `westus`). */
434
+ region?: string | undefined;
435
+ /** Unique identifier of metastore. */
436
+ metastoreId?: string | undefined;
437
+ /** Time at which this metastore was created, in epoch milliseconds. */
438
+ createdAt?: bigint | undefined;
439
+ /** Username of metastore creator. */
440
+ createdBy?: string | undefined;
441
+ /** Time at which the metastore was last modified, in epoch milliseconds. */
442
+ updatedAt?: bigint | undefined;
443
+ /** Username of user who last modified the metastore. */
444
+ updatedBy?: string | undefined;
445
+ /** Name of the storage credential to access the metastore storage_root. */
446
+ storageRootCredentialName?: string | undefined;
447
+ /** Cloud vendor of the metastore home shard (e.g., `aws`, `azure`, `gcp`). */
448
+ cloud?: string | undefined;
449
+ /** Globally unique metastore ID across clouds and regions, of the form `cloud:region:metastore_id`. */
450
+ globalMetastoreId?: string | undefined;
451
+ /** Whether to allow non-DBR clients to directly access entities under the metastore. */
452
+ externalAccessEnabled?: boolean | undefined;
453
+ }
454
+ declare const unmarshalAccountsCreateMetastoreAssignmentResponseSchema: z.ZodType<AccountsCreateMetastoreAssignmentResponse>;
455
+ declare const unmarshalAccountsCreateMetastoreResponseSchema: z.ZodType<AccountsCreateMetastoreResponse>;
456
+ declare const unmarshalAccountsDeleteMetastoreAssignmentResponseSchema: z.ZodType<AccountsDeleteMetastoreAssignmentResponse>;
457
+ declare const unmarshalAccountsDeleteMetastoreResponseSchema: z.ZodType<AccountsDeleteMetastoreResponse>;
458
+ declare const unmarshalAccountsGetMetastoreAssignmentResponseSchema: z.ZodType<AccountsGetMetastoreAssignmentResponse>;
459
+ declare const unmarshalAccountsGetMetastoreResponseSchema: z.ZodType<AccountsGetMetastoreResponse>;
460
+ declare const unmarshalAccountsListMetastoresResponseSchema: z.ZodType<AccountsListMetastoresResponse>;
461
+ declare const unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema: z.ZodType<AccountsListWorkspaceIdsForMetastoreResponse>;
462
+ declare const unmarshalAccountsUpdateMetastoreAssignmentResponseSchema: z.ZodType<AccountsUpdateMetastoreAssignmentResponse>;
463
+ declare const unmarshalAccountsUpdateMetastoreResponseSchema: z.ZodType<AccountsUpdateMetastoreResponse>;
464
+ declare const unmarshalCreateMetastoreAssignmentResponseSchema: z.ZodType<CreateMetastoreAssignmentResponse>;
465
+ declare const unmarshalDeleteMetastoreAssignmentResponseSchema: z.ZodType<DeleteMetastoreAssignmentResponse>;
466
+ declare const unmarshalDeleteMetastoreResponseSchema: z.ZodType<DeleteMetastoreResponse>;
467
+ declare const unmarshalGetMetastoreSummaryResponseSchema: z.ZodType<GetMetastoreSummaryResponse>;
468
+ declare const unmarshalListMetastoresResponseSchema: z.ZodType<ListMetastoresResponse>;
469
+ declare const unmarshalMetastoreAssignmentSchema: z.ZodType<MetastoreAssignment>;
470
+ declare const unmarshalMetastoreInfoSchema: z.ZodType<MetastoreInfo>;
471
+ declare const unmarshalUpdateMetastoreAssignmentResponseSchema: z.ZodType<UpdateMetastoreAssignmentResponse>;
472
+ declare const marshalAccountsCreateMetastoreAssignmentRequestSchema: z.ZodType;
473
+ declare const marshalAccountsCreateMetastoreRequestSchema: z.ZodType;
474
+ declare const marshalAccountsUpdateMetastoreAssignmentRequestSchema: z.ZodType;
475
+ declare const marshalAccountsUpdateMetastoreRequestSchema: z.ZodType;
476
+ declare const marshalCreateAccountsMetastoreSchema: z.ZodType;
477
+ declare const marshalCreateMetastoreAssignmentRequestSchema: z.ZodType;
478
+ declare const marshalCreateMetastoreRequestSchema: z.ZodType;
479
+ declare const marshalMetastoreAssignmentSchema: z.ZodType;
480
+ declare const marshalUpdateAccountsMetastoreSchema: z.ZodType;
481
+ declare const marshalUpdateMetastoreAssignmentRequestSchema: z.ZodType;
482
+ declare const marshalUpdateMetastoreRequestSchema: z.ZodType;
483
+ //#endregion
484
+ export { AccountsCreateMetastoreAssignmentRequest, AccountsCreateMetastoreAssignmentResponse, AccountsCreateMetastoreRequest, AccountsCreateMetastoreResponse, AccountsDeleteMetastoreAssignmentRequest, AccountsDeleteMetastoreAssignmentResponse, AccountsDeleteMetastoreRequest, AccountsDeleteMetastoreResponse, AccountsGetMetastoreAssignmentRequest, AccountsGetMetastoreAssignmentResponse, AccountsGetMetastoreRequest, AccountsGetMetastoreResponse, AccountsListMetastoresRequest, AccountsListMetastoresResponse, AccountsListWorkspaceIdsForMetastoreRequest, AccountsListWorkspaceIdsForMetastoreResponse, AccountsUpdateMetastoreAssignmentRequest, AccountsUpdateMetastoreAssignmentResponse, AccountsUpdateMetastoreRequest, AccountsUpdateMetastoreResponse, CreateAccountsMetastore, CreateMetastoreAssignmentRequest, CreateMetastoreAssignmentResponse, CreateMetastoreRequest, DeleteMetastoreAssignmentRequest, DeleteMetastoreAssignmentResponse, DeleteMetastoreRequest, DeleteMetastoreResponse, DeltaSharingScope, DeltaSharingScope_Enum, GetCurrentMetastoreAssignmentRequest, GetMetastoreRequest, GetMetastoreSummaryRequest, GetMetastoreSummaryResponse, ListMetastoresRequest, ListMetastoresResponse, MetastoreAssignment, MetastoreInfo, UpdateAccountsMetastore, UpdateMetastoreAssignmentRequest, UpdateMetastoreAssignmentResponse, UpdateMetastoreRequest, marshalAccountsCreateMetastoreAssignmentRequestSchema, marshalAccountsCreateMetastoreRequestSchema, marshalAccountsUpdateMetastoreAssignmentRequestSchema, marshalAccountsUpdateMetastoreRequestSchema, marshalCreateAccountsMetastoreSchema, marshalCreateMetastoreAssignmentRequestSchema, marshalCreateMetastoreRequestSchema, marshalMetastoreAssignmentSchema, marshalUpdateAccountsMetastoreSchema, marshalUpdateMetastoreAssignmentRequestSchema, marshalUpdateMetastoreRequestSchema, unmarshalAccountsCreateMetastoreAssignmentResponseSchema, unmarshalAccountsCreateMetastoreResponseSchema, unmarshalAccountsDeleteMetastoreAssignmentResponseSchema, unmarshalAccountsDeleteMetastoreResponseSchema, unmarshalAccountsGetMetastoreAssignmentResponseSchema, unmarshalAccountsGetMetastoreResponseSchema, unmarshalAccountsListMetastoresResponseSchema, unmarshalAccountsListWorkspaceIdsForMetastoreResponseSchema, unmarshalAccountsUpdateMetastoreAssignmentResponseSchema, unmarshalAccountsUpdateMetastoreResponseSchema, unmarshalCreateMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreAssignmentResponseSchema, unmarshalDeleteMetastoreResponseSchema, unmarshalGetMetastoreSummaryResponseSchema, unmarshalListMetastoresResponseSchema, unmarshalMetastoreAssignmentSchema, unmarshalMetastoreInfoSchema, unmarshalUpdateMetastoreAssignmentResponseSchema };
492
485
  //# sourceMappingURL=model.d.ts.map